text: function ULSgKh(){var a={};a.ULSTeamName="Project Server";a.ULSFileName="PS.js_precrunch";return a}Type.registerNamespace("PS");PS.AccrueAt=function(){};PS.AccrueAt.prototype={notSpecified:0,start:1,end:2,prorated:3};PS.AccrueAt.registerEnum("PS.AccrueAt",false);PS.BookingType=function(){};PS.BookingType.prototype={notSpecified:0,committed:1,proposed:2};PS.BookingType.registerEnum("PS.BookingType",false);PS.CalendarRecurrenceDays=function(){};PS.CalendarRecurrenceDays.prototype={notSpecified:0,sunday:1,monday:2,tuesday:4,wednesday:8,thursday:16,friday:32,saturday:64};PS.CalendarRecurrenceDays.registerEnum("PS.CalendarRecurrenceDays",false);PS.CalendarRecurrenceType=function(){};PS.CalendarRecurrenceType.prototype={daily:0,dailySkip:1,weekly:2,monthly:3,yearly:4};PS.CalendarRecurrenceType.registerEnum("PS.CalendarRecurrenceType",false);PS.CalendarRecurrenceWeek=function(){};PS.CalendarRecurrenceWeek.prototype={notSpecified:0,first:1,second:2,third:3,fourth:4,last:5};PS.CalendarRecurrenceWeek.registerEnum("PS.CalendarRecurrenceWeek",false);PS.CommittedDecisionResult=function(){};PS.CommittedDecisionResult.prototype={notSpecified:0,forcedIn:1,forcedOut:2,committedOut:3,committedIn:4};PS.CommittedDecisionResult.registerEnum("PS.CommittedDecisionResult",false);PS.ConstraintType=function(){};PS.ConstraintType.prototype={notSpecified:0,asSoonAsPossible:1,asLateAsPossible:2,mustStartOn:3,mustFinishOn:4,startNoEarlierThan:5,startNoLaterThan:6,finishNoEarlierThan:7,finishNoLaterThan:8};PS.ConstraintType.registerEnum("PS.ConstraintType",false);PS.CostRateTableName=function(){};PS.CostRateTableName.prototype={a:0,b:1,c:2,d:3,e:4};PS.CostRateTableName.registerEnum("PS.CostRateTableName",false);PS.CurrencySymbolPosition=function(){};PS.CurrencySymbolPosition.prototype={notSpecified:0,before:1,after:2,beforeWithSpace:3,afterWithSpace:4};PS.CurrencySymbolPosition.registerEnum("PS.CurrencySymbolPosition",false);PS.CustomFieldRollupType=function(){};PS.CustomFieldRollupType.prototype={notSpecified:0,max:1,min:2,count:3,sum:4,average:5,averageSublevel:6,countSublevel:7,countNonSummary:8,stdDev:9,formula:10,none:11};PS.CustomFieldRollupType.registerEnum("PS.CustomFieldRollupType",false);PS.CustomFieldType=function(){};PS.CustomFieldType.prototype={COST:9,DATE:4,FINISHDATE:27,DURATION:6,FLAG:17,NUMBER:15,TEXT:21};PS.CustomFieldType.registerEnum("PS.CustomFieldType",false);PS.DependencyType=function(){};PS.DependencyType.prototype={finishFinish:0,finishStart:1,startFinish:2,startStart:3};PS.DependencyType.registerEnum("PS.DependencyType",false);PS.EngagementContourType=function(){};PS.EngagementContourType.prototype={approved:0,proposed:1,draft:2};PS.EngagementContourType.registerEnum("PS.EngagementContourType",false);PS.EngagementStatus=function(){};PS.EngagementStatus.prototype={approved:0,proposed:1,draft:2,rejected:3,reproposed:4};PS.EngagementStatus.registerEnum("PS.EngagementStatus",false);PS.EnterpriseProjectTypeSiteCreationOptions=function(){};PS.EnterpriseProjectTypeSiteCreationOptions.prototype={notSpecified:0,askOnPublish:1,createOnFirstPublish:2,none:3};PS.EnterpriseProjectTypeSiteCreationOptions.registerEnum("PS.EnterpriseProjectTypeSiteCreationOptions",false);PS.EnterpriseResourceType=function(){};PS.EnterpriseResourceType.prototype={notSpecified:0,work:1,material:2,cost:3};PS.EnterpriseResourceType.registerEnum("PS.EnterpriseResourceType",false);PS.FixedCostAccrual=function(){};PS.FixedCostAccrual.prototype={notSpecified:0,start:1,end:2,prorated:3};PS.FixedCostAccrual.registerEnum("PS.FixedCostAccrual",false);PS.JobState=function(){};PS.JobState.prototype={unknown:0,readyForProcessing:1,sendIncomplete:2,processing:3,success:4,failed:5,failedNotBlocking:6,processingDeferred:7,correlationBlocked:8,canceled:9,onHold:10,sleeping:11,readyForLaunch:12,lastState:13};PS.JobState.registerEnum("PS.JobState",false);PS.LookupTableConstants=function(){};PS.LookupTableConstants.prototype={maxSeparatorLength:3,anyLengthSequence:0,minValueLength:1,maxValueLength:255,maxDescriptionLength:255,minLevel:1,maxLevel:255,noSortOrder:0};PS.LookupTableConstants.registerEnum("PS.LookupTableConstants",false);PS.LookupTableMaskSequence=function(){};PS.LookupTableMaskSequence.prototype={numbeR_TEXT:0,UPPERCASE:1,LOWERCASE:2,CHARACTERS:3,DATE:4,COST:5,DURATION:6,numbeR_DECIMAL:7,FLAG:8};PS.LookupTableMaskSequence.registerEnum("PS.LookupTableMaskSequence",false);PS.LookupTableSortOrder=function(){};PS.LookupTableSortOrder.prototype={userDefined:0,ascending:1,descending:2};PS.LookupTableSortOrder.registerEnum("PS.LookupTableSortOrder",false);PS.OvertimeRateFormat=function(){};PS.OvertimeRateFormat.prototype={minute:1,hour:2,day:3,week:4,month:5,year:7,material:8};PS.OvertimeRateFormat.registerEnum("PS.OvertimeRateFormat",false);PS.ProjectDetailPageType=function(){};PS.ProjectDetailPageType.prototype={none:0,projectDefault:1,newProject:2,workflowStatus:3};PS.ProjectDetailPageType.registerEnum("PS.ProjectDetailPageType",false);PS.ProjectType=function(){};PS.ProjectType.prototype={minRequestValue:0,notSpecified:-1,project:0,template:1,global:2,resGlobal:3,lightWeightProject:4,insertedProject:5,masterProject:6,timesheetAdminProject:7,newProject:100,newTemplate:101,newGlobal:102,newResGlobal:103,inactiveProject:1e3,inactiveTemplate:1001,inactiveGlobal:1002,newOffset:100,inactiveOffset:1e3,maxRequestValue:101};PS.ProjectType.registerEnum("PS.ProjectType",false);PS.ProjectUtilizationType=function(){};PS.ProjectUtilizationType.prototype={projectPlan:0,resourceEngagements:1,projectPlanUntil:2};PS.ProjectUtilizationType.registerEnum("PS.ProjectUtilizationType",false);PS.QueueMsgType=function(){};PS.QueueMsgType.prototype={unknown:0,acProjectSave:1,adSyncERP:2,adSyncGroup:3,archiveCategories:4,archiveCustomFields:5,archiveGlobalProject:6,archiveResources:7,archiveSystemSettings:8,archiveViews:9,bumpPriority:10,cbsProjRendezvous:11,cbsRequest:12,cbsTsRendezvous:13,createProposalProject:14,createWssSite:15,deleteWssSite:16,lwpUpgradeToProject:17,notificationMessage:18,projectArchive:19,projectArchiveRetentionDelete:20,projectCheckIn:21,projectCreate:22,projectDelete:23,projectPublish:24,projectRename:25,projectRestore:26,projectReversePublish:27,projectUpdate:28,projectUpdateTeam:29,publishNotifications:30,queueCleanup:31,reportingAttributeCubeSettingsSync:32,reportingBaseCalendarSync:33,reportingCustomFieldMetadataSync:34,reportingEntityUserViewRefresh:35,reportingFiscalPeriodsSync:36,reportingLookupTableSync:37,reportingProjectDelete:38,reportingProjectPublish:39,reportingResourcesCapacityRangeSync:40,reportingResourceSync:41,reportingTimesheetAdjust:42,reportingTimesheetClassSync:43,reportingTimesheetDelete:44,reportingTimesheetPeriodDelete:45,reportingTimesheetPeriodSync:46,reportingTimesheetSave:47,reportingTimesheetStatusSync:48,reportingWSSSync:49,resourcePlanCheckIn:50,resourcePlanDelete:51,resourcePlanPublish:52,resourcePlanSave:53,restoreCategories:54,restoreCustomFields:55,restoreGlobalProject:56,restoreResources:57,restoreSystemSettings:58,restoreViews:59,rulesProcessAll:60,rulesProcessAllAutoForManager:61,rulesProcessAllForManager:62,rulesProcessSingleForManager:63,statusApproval:64,timer1:65,timer10:66,timer2:67,timer3:68,timer4:69,timer5:70,timer6:71,timer7:72,timer8:73,timer9:74,timerMessage:75,timerRzNotify:76,timerRzProj:77,timerRzTS:78,timesheetMessage:79,timesheetDelete:80,timesheetRecall:81,timesheetReview:82,timesheetSubmit:83,timesheetUpdate:84,reportingSyncGlobalData:85,synchronizeMembershipForWssSite:86,synchronizeSingleUserMembershipInWss:87,reportingRefresh:88,updateScheduledProject:89,workflowStartWorkflow:90,analysisDelete:91,analysisCreate:92,analysisUpdate:93,plannerSolutionCreate:94,plannerSolutionDelete:95,optimizerSolutionCreate:96,optimizerSolutionDelete:97,timesheetLineApproval:98,periodicTasks:99,pdpUpdateProjectImpacts:100,exchangeSyncTasks:101,reportingAttributeCubeDepartmentSync:102,reportingTimesheetProjectAggregation:103,reportingTimesheetAssignmentsUpgrade:104,workflowCheckinNotify:105,workflowChangeWorkflow:106,projectPublishSummary:107,reportingOlapDatabaseSettingsSync:108,reportingWorkflowMetadataSync:109,reportWorkflowProjectDataSync:110,reportEptSync:111,reportingSummaryPublish:112,reportingSolutionCommitedDecisionSync:113,workflowCommitNotify:114,reportingTimesheetAssignmentsRefresh:115,updateProjectSitePath:116,addSingleUserMembershipInWss:117,deleteSingleUserMembershipInWss:118,timeSheetUpdateResourceNonWorkingTime:119,syncProjectEnterpriseEntities:120,lastMessage:121,exchangeCalOofSync:122,preparePSPermissionSynchronization:123,psPermissionSynchronizePWASite:124,psPermissionSynchronizeProjectSite:125,preparePSProjectPermissionSynchronization:126,scheduleWebPartSave:127,projectImportTaskList:128,timesheetUpdateSRAForResource:129,activeMonitorCheck:130,managedModeTaskSynchronization:131,resourcePlanMigrate:132,reportingWSSIssueSync:133,reportingWSSRiskSync:134,reportingWSSDocSync:135,reportingWSSDeliverableSync:136,updateSRA:137};PS.QueueMsgType.registerEnum("PS.QueueMsgType",false);PS.ReadyToLeaveProjectStageValue=function(){};PS.ReadyToLeaveProjectStageValue.prototype={ready:0,requiresFieldsAndDrivers:1,requiresDrivers:2,requiresFields:3};PS.ReadyToLeaveProjectStageValue.registerEnum("PS.ReadyToLeaveProjectStageValue",false);PS.ResourceType=function(){};PS.ResourceType.prototype={winProjScratchpadResource:-1,winProjUnknownResource:-2,winProjUnassignedResource:-3,winProjSummaryResource:-4,pureUser:1,workResource:2,caN_LOG_IN_MAXIMUM:20,genericWorkResource:20,materialResource:21,genericMaterialResource:22,costResources:25,genericCostResources:26,iS_NONBUDGET_TYPE_MAXIMUM:50,budgetWorkResource:50,budgetCostResource:51,budgetMaterialResource:52,genericBudgetWorkResource:53,genericBudgetCostResource:54,genericBudgetMaterialResource:55,inactivateD_OFFSET:100};PS.ResourceType.registerEnum("PS.ResourceType",false);PS.StandardRateFormat=function(){};PS.StandardRateFormat.prototype={minute:1,hour:2,day:3,week:4,month:5,year:7,material:8};PS.StandardRateFormat.registerEnum("PS.StandardRateFormat",false);PS.StatusApprovalType=function(){};PS.StatusApprovalType.prototype={none:0,accepted:1,rejected:2};PS.StatusApprovalType.registerEnum("PS.StatusApprovalType",false);PS.StatusTransactionState=function(){};PS.StatusTransactionState.prototype={saved:0,submitted:1,inProcess:2,applySuccessful:3,applyFailed:4};PS.StatusTransactionState.registerEnum("PS.StatusTransactionState",false);PS.StatusUpdateType=function(){};PS.StatusUpdateType.prototype={update:0,decline:1,createTask:2,delegate:3,createAssignment:4,teamDelegate:5,deleteTask:6,deleteAssignment:7};PS.StatusUpdateType.registerEnum("PS.StatusUpdateType",false);PS.StrategicImpactBehavior=function(){};PS.StrategicImpactBehavior.prototype={notSpecified:0,readOnly:1,readWrite:2,required:3};PS.StrategicImpactBehavior.registerEnum("PS.StrategicImpactBehavior",false);PS.TaskType=function(){};PS.TaskType.prototype={fixedUnits:0,fixedDuration:1,fixedWork:2,dummy:1e3};PS.TaskType.registerEnum("PS.TaskType",false);PS.TimeScale=function(){};PS.TimeScale.prototype={days:3,weeks:4,months:5,quarters:6,years:7};PS.TimeScale.registerEnum("PS.TimeScale",false);PS.TimeSheetEntryMode=function(){};PS.TimeSheetEntryMode.prototype={notSpecified:0,daily:1,weekly:2};PS.TimeSheetEntryMode.registerEnum("PS.TimeSheetEntryMode",false);PS.TimeSheetLineClass=function(){};PS.TimeSheetLineClass.prototype={standardLine:0,sickTimeLine:1,vacationLine:2,administrativeLine:3};PS.TimeSheetLineClass.registerEnum("PS.TimeSheetLineClass",false);PS.TimeSheetLineStatus=function(){};PS.TimeSheetLineStatus.prototype={notSpecified:0,pending:1,approved:2,rejected:3,notApplicable:4,pendingApproval:5};PS.TimeSheetLineStatus.registerEnum("PS.TimeSheetLineStatus",false);PS.TimeSheetStatus=function(){};PS.TimeSheetStatus.prototype={notSpecified:0,inProgress:1,submitted:2,acceptable:3,approved:4,rejected:5,pendingSubmit:6};PS.TimeSheetStatus.registerEnum("PS.TimeSheetStatus",false);PS.TimeSheetValidationType=function(){};PS.TimeSheetValidationType.prototype={unverified:0,verified:1,projectLevel:2};PS.TimeSheetValidationType.registerEnum("PS.TimeSheetValidationType",false);PS.TrackingMode=function(){};PS.TrackingMode.prototype={none:0,timePhased:1,percentComplete:2,actualHours:3};PS.TrackingMode.registerEnum("PS.TrackingMode",false);PS.UpdateProjectStageStatusFieldValue=function(){};PS.UpdateProjectStageStatusFieldValue.prototype={none:0,waitingForInput:1,waitingForApproval:2,workflowProcessing:3};PS.UpdateProjectStageStatusFieldValue.registerEnum("PS.UpdateProjectStageStatusFieldValue",false);PS.UtilizationType=function(){};PS.UtilizationType.prototype={fromProjectPlan:0,fromResourcePlan:1,fromProjectPlanThenResourcePlan:2};PS.UtilizationType.registerEnum("PS.UtilizationType",false);PS.WorkContourType=function(){};PS.WorkContourType.prototype={flat:0,backLoaded:1,frontLoaded:2,doublePeak:3,earlyPeak:4,latePeak:5,bell:6,turtle:7,userDefined:8};PS.WorkContourType.registerEnum("PS.WorkContourType",false);PS.WorkFormat=function(){};PS.WorkFormat.prototype={minute:1,hour:2,day:3,week:4,month:5};PS.WorkFormat.registerEnum("PS.WorkFormat",false);PS.ProjectContext=function(a){a:;PS.ProjectContext.initializeBase(this,[a]);this.$4_2=PS.ProjectServer.newObject(this);this.$25_2=PS.ServiceStatus.newObject(this,this.$4_2);this.$24_2=PS.PageSizes.newObject(this,this.$4_2)};PS.ProjectContext.get_current=function(){a:;if(!PS.ProjectContext.$23)if(SP.ClientContext.get_current()){var a=new PS.ProjectContext(SP.ClientContext.get_current().get_url());a.set_isPageUrl(SP.ClientContext.get_current().get_isPageUrl());PS.ProjectContext.$23=a}return PS.ProjectContext.$23};PS.ProjectContext.prototype={$4_2:null,$25_2:null,$24_2:null,get_workflowActivities:function(){a:;return this.$4_2.get_workflowActivities()},get_workflowDesigner:function(){a:;return this.$4_2.get_workflowDesigner()},get_entityTypes:function(){a:;return this.$4_2.get_entityTypes()},get_projects:function(){a:;return this.$4_2.get_projects()},get_customFields:function(){a:;return this.$4_2.get_customFields()},get_lookupTables:function(){a:;return this.$4_2.get_lookupTables()},get_enterpriseProjectTypes:function(){a:;return this.$4_2.get_enterpriseProjectTypes()},get_phases:function(){a:;return this.$4_2.get_phases()},get_stages:function(){a:;return this.$4_2.get_stages()},get_projectDetailPages:function(){a:;return this.$4_2.get_projectDetailPages()},get_enterpriseResources:function(){a:;return this.$4_2.get_enterpriseResources()},get_events:function(){a:;return this.$4_2.get_events()},get_eventHandlers:function(){a:;return this.$4_2.get_eventHandlers()},get_timeSheetPeriods:function(){a:;return this.$4_2.get_timeSheetPeriods()},get_calendars:function(){a:;return this.$4_2.get_calendars()},get_serviceStatus:function(){a:;return this.$25_2},get_pageSizes:function(){a:;return this.$24_2},getDeletedPublishedAssignments:function(a){a:;return this.$4_2.getDeletedPublishedAssignments(a)},waitForQueueAsync:function(d,a,b){a:;var c=new PS.ProjectContext.QueueJobPoll(this,d,a,b);c.run()}};PS.ProjectContext.QueueJobPoll=function(a,b,c,d){this.$$d_$2B_0=Function.createDelegate(this,this.$2B_0);this.$$d_$2C_0=Function.createDelegate(this,this.$2C_0);this.$$d_$2E_0=Function.createDelegate(this,this.$2E_0);this.$S_0=a;this.$L_0=b;this.$T_0=c;this.$R_0=d};PS.ProjectContext.QueueJobPoll.prototype={$S_0:null,$L_0:null,$T_0:0,$R_0:null,run:function(){a:;this.$2B_0()},$2D_0:function(a){a.val=0;if(!this.$L_0.get_serverObjectIsNull()){a.val=this.$L_0.get_jobState();switch(a.val){case 10:case 3:case 7:case 12:case 1:case 2:case 11:case 0:return true}}a.val=4;return false},$2B_0:function(){a:;this.$T_0-=2;this.$S_0.load(this.$L_0);this.$S_0.executeQueryAsync(this.$$d_$2E_0,this.$$d_$2C_0)},$2E_0:function(){var a,b,c;if((c=this.$2D_0(b={val:a}),a=b.val,c)&&this.$T_0>0)window.setTimeout(this.$$d_$2B_0,2e3);else this.$R_0(a)},$2C_0:function(){this.$R_0(0)}};PS.Assignment=function(b,a){a:;PS.Assignment.initializeBase(this,[b,a])};PS.Assignment.prototype={get_actualCostWorkPerformed:function(){a:;this.checkUninitializedProperty("ActualCostWorkPerformed");return this.get_objectData().get_properties()["ActualCostWorkPerformed"]},get_actualOvertimeCost:function(){a:;this.checkUninitializedProperty("ActualOvertimeCost");return this.get_objectData().get_properties()["ActualOvertimeCost"]},get_baselineCost:function(){a:;this.checkUninitializedProperty("BaselineCost");return this.get_objectData().get_properties()["BaselineCost"]},get_baselineCostPerUse:function(){a:;this.checkUninitializedProperty("BaselineCostPerUse");return this.get_objectData().get_properties()["BaselineCostPerUse"]},get_baselineFinish:function(){a:;this.checkUninitializedProperty("BaselineFinish");return this.get_objectData().get_properties()["BaselineFinish"]},get_baselineStart:function(){a:;this.checkUninitializedProperty("BaselineStart");return this.get_objectData().get_properties()["BaselineStart"]},get_baselineWork:function(){a:;this.checkUninitializedProperty("BaselineWork");return this.get_objectData().get_properties()["BaselineWork"]},get_baselineWorkMilliseconds:function(){a:;this.checkUninitializedProperty("BaselineWorkMilliseconds");return this.get_objectData().get_properties()["BaselineWorkMilliseconds"]},get_budgetedCostWorkPerformed:function(){a:;this.checkUninitializedProperty("BudgetedCostWorkPerformed");return this.get_objectData().get_properties()["BudgetedCostWorkPerformed"]},get_budgetedCostWorkScheduled:function(){a:;this.checkUninitializedProperty("BudgetedCostWorkScheduled");return this.get_objectData().get_properties()["BudgetedCostWorkScheduled"]},get_costVariance:function(){a:;this.checkUninitializedProperty("CostVariance");return this.get_objectData().get_properties()["CostVariance"]},get_costVarianceAtCompletion:function(){a:;this.checkUninitializedProperty("CostVarianceAtCompletion");return this.get_objectData().get_properties()["CostVarianceAtCompletion"]},get_created:function(){a:;this.checkUninitializedProperty("Created");return this.get_objectData().get_properties()["Created"]},get_currentCostVariance:function(){a:;this.checkUninitializedProperty("CurrentCostVariance");return this.get_objectData().get_properties()["CurrentCostVariance"]},get_customFields:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["CustomFields"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.CustomFieldCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"CustomFields"));this.get_objectData().get_clientObjectProperties()["CustomFields"]=a}return a},get_finish:function(){a:;this.checkUninitializedProperty("Finish");return this.get_objectData().get_properties()["Finish"]},get_finishVariance:function(){a:;this.checkUninitializedProperty("FinishVariance");return this.get_objectData().get_properties()["FinishVariance"]},get_finishVarianceMilliseconds:function(){a:;this.checkUninitializedProperty("FinishVarianceMilliseconds");return this.get_objectData().get_properties()["FinishVarianceMilliseconds"]},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_isConfirmed:function(){a:;this.checkUninitializedProperty("IsConfirmed");return this.get_objectData().get_properties()["IsConfirmed"]},get_isOverAllocated:function(){a:;this.checkUninitializedProperty("IsOverAllocated");return this.get_objectData().get_properties()["IsOverAllocated"]},get_isPublished:function(){a:;this.checkUninitializedProperty("IsPublished");return this.get_objectData().get_properties()["IsPublished"]},get_isResponsePending:function(){a:;this.checkUninitializedProperty("IsResponsePending");return this.get_objectData().get_properties()["IsResponsePending"]},get_isUpdateNeeded:function(){a:;this.checkUninitializedProperty("IsUpdateNeeded");return this.get_objectData().get_properties()["IsUpdateNeeded"]},get_levelingDelay:function(){a:;this.checkUninitializedProperty("LevelingDelay");return this.get_objectData().get_properties()["LevelingDelay"]},get_levelingDelayMilliseconds:function(){a:;this.checkUninitializedProperty("LevelingDelayMilliseconds");return this.get_objectData().get_properties()["LevelingDelayMilliseconds"]},get_modified:function(){a:;this.checkUninitializedProperty("Modified");return this.get_objectData().get_properties()["Modified"]},get_notes:function(){a:;this.checkUninitializedProperty("Notes");return this.get_objectData().get_properties()["Notes"]},get_overtimeCost:function(){a:;this.checkUninitializedProperty("OvertimeCost");return this.get_objectData().get_properties()["OvertimeCost"]},get_remainingCost:function(){a:;this.checkUninitializedProperty("RemainingCost");return this.get_objectData().get_properties()["RemainingCost"]},get_remainingOvertimeCost:function(){a:;this.checkUninitializedProperty("RemainingOvertimeCost");return this.get_objectData().get_properties()["RemainingOvertimeCost"]},get_resume:function(){a:;this.checkUninitializedProperty("Resume");return this.get_objectData().get_properties()["Resume"]},get_scheduleCostVariance:function(){a:;this.checkUninitializedProperty("ScheduleCostVariance");return this.get_objectData().get_properties()["ScheduleCostVariance"]},get_start:function(){a:;this.checkUninitializedProperty("Start");return this.get_objectData().get_properties()["Start"]},get_startVariance:function(){a:;this.checkUninitializedProperty("StartVariance");return this.get_objectData().get_properties()["StartVariance"]},get_startVarianceMilliseconds:function(){a:;this.checkUninitializedProperty("StartVarianceMilliseconds");return this.get_objectData().get_properties()["StartVarianceMilliseconds"]},get_stop:function(){a:;this.checkUninitializedProperty("Stop");return this.get_objectData().get_properties()["Stop"]},get_workContourType:function(){a:;this.checkUninitializedProperty("WorkContourType");return this.get_objectData().get_properties()["WorkContourType"]},get_workVariance:function(){a:;this.checkUninitializedProperty("WorkVariance");return this.get_objectData().get_properties()["WorkVariance"]},get_workVarianceMilliseconds:function(){a:;this.checkUninitializedProperty("WorkVarianceMilliseconds");return this.get_objectData().get_properties()["WorkVarianceMilliseconds"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ActualCostWorkPerformed;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualCostWorkPerformed"]=a;delete b.ActualCostWorkPerformed}a=b.ActualOvertimeCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualOvertimeCost"]=a;delete b.ActualOvertimeCost}a=b.BaselineCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BaselineCost"]=a;delete b.BaselineCost}a=b.BaselineCostPerUse;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BaselineCostPerUse"]=a;delete b.BaselineCostPerUse}a=b.BaselineFinish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BaselineFinish"]=a;delete b.BaselineFinish}a=b.BaselineStart;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BaselineStart"]=a;delete b.BaselineStart}a=b.BaselineWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BaselineWork"]=a;delete b.BaselineWork}a=b.BaselineWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BaselineWorkMilliseconds"]=a;delete b.BaselineWorkMilliseconds}a=b.BudgetedCostWorkPerformed;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BudgetedCostWorkPerformed"]=a;delete b.BudgetedCostWorkPerformed}a=b.BudgetedCostWorkScheduled;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BudgetedCostWorkScheduled"]=a;delete b.BudgetedCostWorkScheduled}a=b.CostVariance;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CostVariance"]=a;delete b.CostVariance}a=b.CostVarianceAtCompletion;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CostVarianceAtCompletion"]=a;delete b.CostVarianceAtCompletion}a=b.Created;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Created"]=a;delete b.Created}a=b.CurrentCostVariance;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CurrentCostVariance"]=a;delete b.CurrentCostVariance}a=b.CustomFields;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("CustomFields",this.get_customFields(),a);this.get_customFields().fromJson(a);delete b.CustomFields}a=b.Finish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Finish"]=a;delete b.Finish}a=b.FinishVariance;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FinishVariance"]=a;delete b.FinishVariance}a=b.FinishVarianceMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FinishVarianceMilliseconds"]=a;delete b.FinishVarianceMilliseconds}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.IsConfirmed;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsConfirmed"]=a;delete b.IsConfirmed}a=b.IsOverAllocated;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsOverAllocated"]=a;delete b.IsOverAllocated}a=b.IsPublished;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsPublished"]=a;delete b.IsPublished}a=b.IsResponsePending;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsResponsePending"]=a;delete b.IsResponsePending}a=b.IsUpdateNeeded;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsUpdateNeeded"]=a;delete b.IsUpdateNeeded}a=b.LevelingDelay;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["LevelingDelay"]=a;delete b.LevelingDelay}a=b.LevelingDelayMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["LevelingDelayMilliseconds"]=a;delete b.LevelingDelayMilliseconds}a=b.Modified;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Modified"]=a;delete b.Modified}a=b.Notes;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Notes"]=a;delete b.Notes}a=b.OvertimeCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OvertimeCost"]=a;delete b.OvertimeCost}a=b.RemainingCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingCost"]=a;delete b.RemainingCost}a=b.RemainingOvertimeCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingOvertimeCost"]=a;delete b.RemainingOvertimeCost}a=b.Resume;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Resume"]=a;delete b.Resume}a=b.ScheduleCostVariance;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ScheduleCostVariance"]=a;delete b.ScheduleCostVariance}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Start"]=a;delete b.Start}a=b.StartVariance;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["StartVariance"]=a;delete b.StartVariance}a=b.StartVarianceMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["StartVarianceMilliseconds"]=a;delete b.StartVarianceMilliseconds}a=b.Stop;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Stop"]=a;delete b.Stop}a=b.WorkContourType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WorkContourType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.WorkContourType}a=b.WorkVariance;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WorkVariance"]=a;delete b.WorkVariance}a=b.WorkVarianceMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WorkVarianceMilliseconds"]=a;delete b.WorkVarianceMilliseconds}}};PS.AssignmentPropertyNames=function(){};PS.AssignmentObjectPropertyNames=function(){};PS.AssignmentCreationInformation=function(){a:;PS.AssignmentCreationInformation.initializeBase(this)};PS.AssignmentCreationInformation.prototype={$5_1:null,$0_1:null,$8_1:null,$I_1:null,$3_1:null,$1s_1:null,get_finish:function(){a:;return this.$5_1},set_finish:function(a){a:;this.$5_1=a;return a},get_id:function(){a:;return this.$0_1},set_id:function(a){a:;this.$0_1=a;return a},get_notes:function(){a:;return this.$8_1},set_notes:function(a){a:;this.$8_1=a;return a},get_resourceId:function(){a:;return this.$I_1},set_resourceId:function(a){a:;this.$I_1=a;return a},get_start:function(){a:;return this.$3_1},set_start:function(a){a:;this.$3_1=a;return a},get_taskId:function(){a:;return this.$1s_1},set_taskId:function(a){a:;this.$1s_1=a;return a},get_typeId:function(){a:;return "{f9c5fe6f-1a1b-4134-bc78-c145400f9b58}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Finish","Id","Notes","ResourceId","Start","TaskId"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Finish;if(!SP.ScriptUtility.isUndefined(a)){this.$5_1=a;delete b.Finish}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Id}a=b.Notes;if(!SP.ScriptUtility.isUndefined(a)){this.$8_1=a;delete b.Notes}a=b.ResourceId;if(!SP.ScriptUtility.isUndefined(a)){this.$I_1=a;delete b.ResourceId}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.$3_1=a;delete b.Start}a=b.TaskId;if(!SP.ScriptUtility.isUndefined(a)){this.$1s_1=a;delete b.TaskId}}};PS.BaseCalendarException=function(b,a){a:;PS.BaseCalendarException.initializeBase(this,[b,a])};PS.Calendar=function(b,a){a:;PS.Calendar.initializeBase(this,[b,a])};PS.Calendar.prototype={get_baseCalendarExceptions:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["BaseCalendarExceptions"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.CalendarExceptionCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"BaseCalendarExceptions"));this.get_objectData().get_clientObjectProperties()["BaseCalendarExceptions"]=a}return a},get_created:function(){a:;this.checkUninitializedProperty("Created");return this.get_objectData().get_properties()["Created"]},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_isStandardCalendar:function(){a:;this.checkUninitializedProperty("IsStandardCalendar");return this.get_objectData().get_properties()["IsStandardCalendar"]},get_modified:function(){a:;this.checkUninitializedProperty("Modified");return this.get_objectData().get_properties()["Modified"]},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.BaseCalendarExceptions;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("BaseCalendarExceptions",this.get_baseCalendarExceptions(),a);this.get_baseCalendarExceptions().fromJson(a);delete b.BaseCalendarExceptions}a=b.Created;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Created"]=a;delete b.Created}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.IsStandardCalendar;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsStandardCalendar"]=a;delete b.IsStandardCalendar}a=b.Modified;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Modified"]=a;delete b.Modified}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}},copyTo:function(d){a:;var b=this.get_context(),a;a=new PS.Calendar(b,new SP.ObjectPathMethod(b,this.get_path(),"CopyTo",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);return a},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b);this.removeFromParentCollection()}};PS.CalendarPropertyNames=function(){};PS.CalendarObjectPropertyNames=function(){};PS.CalendarCollection=function(b,a){a:;PS.CalendarCollection.initializeBase(this,[b,a])};PS.CalendarCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.Calendar},add:function(d){a:;var b=this.get_context(),a;a=new PS.Calendar(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a},remove:function(b){a:;var c=this.get_context(),a,d=new SP.ClientActionInvokeMethod(this,"Remove",[b]);c.addQuery(d);a=new SP.BooleanResult;c.addQueryIdAndResultObject(d.get_id(),a);this.removeChild(b);return a},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.Calendar(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.Calendar(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a},update:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Update",null);a.addQuery(b)}};PS.CalendarCreationInformation=function(){a:;PS.CalendarCreationInformation.initializeBase(this)};PS.CalendarCreationInformation.prototype={$0_1:null,$1_1:null,$1H_1:null,get_id:function(){a:;return this.$0_1},set_id:function(a){a:;this.$0_1=a;return a},get_name:function(){a:;return this.$1_1},set_name:function(a){a:;this.$1_1=a;return a},get_originalId:function(){a:;return this.$1H_1},set_originalId:function(a){a:;this.$1H_1=a;return a},get_typeId:function(){a:;return "{871aabf6-6ad2-481a-8f7a-0ec5ae4613d3}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Id","Name","OriginalId"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Id}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.$1_1=a;delete b.Name}a=b.OriginalId;if(!SP.ScriptUtility.isUndefined(a)){this.$1H_1=a;delete b.OriginalId}}};PS.CalendarException=function(b,a){a:;PS.CalendarException.initializeBase(this,[b,a])};PS.CalendarException.prototype={get_calendar:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Calendar"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.Calendar(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Calendar"));this.get_objectData().get_clientObjectProperties()["Calendar"]=a}return a},get_finish:function(){a:;this.checkUninitializedProperty("Finish");return this.get_objectData().get_properties()["Finish"]},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},set_id:function(a){a:;this.get_objectData().get_properties()["Id"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Id",a));return a},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},get_recurrenceDays:function(){a:;this.checkUninitializedProperty("RecurrenceDays");return this.get_objectData().get_properties()["RecurrenceDays"]},get_recurrenceFrequency:function(){a:;this.checkUninitializedProperty("RecurrenceFrequency");return this.get_objectData().get_properties()["RecurrenceFrequency"]},get_recurrenceMonth:function(){a:;this.checkUninitializedProperty("RecurrenceMonth");return this.get_objectData().get_properties()["RecurrenceMonth"]},get_recurrenceMonthDay:function(){a:;this.checkUninitializedProperty("RecurrenceMonthDay");return this.get_objectData().get_properties()["RecurrenceMonthDay"]},get_recurrenceType:function(){a:;this.checkUninitializedProperty("RecurrenceType");return this.get_objectData().get_properties()["RecurrenceType"]},get_recurrenceWeek:function(){a:;this.checkUninitializedProperty("RecurrenceWeek");return this.get_objectData().get_properties()["RecurrenceWeek"]},get_shift1Finish:function(){a:;this.checkUninitializedProperty("Shift1Finish");return this.get_objectData().get_properties()["Shift1Finish"]},get_shift1Start:function(){a:;this.checkUninitializedProperty("Shift1Start");return this.get_objectData().get_properties()["Shift1Start"]},get_shift2Finish:function(){a:;this.checkUninitializedProperty("Shift2Finish");return this.get_objectData().get_properties()["Shift2Finish"]},get_shift2Start:function(){a:;this.checkUninitializedProperty("Shift2Start");return this.get_objectData().get_properties()["Shift2Start"]},get_shift3Finish:function(){a:;this.checkUninitializedProperty("Shift3Finish");return this.get_objectData().get_properties()["Shift3Finish"]},get_shift3Start:function(){a:;this.checkUninitializedProperty("Shift3Start");return this.get_objectData().get_properties()["Shift3Start"]},get_shift4Finish:function(){a:;this.checkUninitializedProperty("Shift4Finish");return this.get_objectData().get_properties()["Shift4Finish"]},get_shift4Start:function(){a:;this.checkUninitializedProperty("Shift4Start");return this.get_objectData().get_properties()["Shift4Start"]},get_shift5Finish:function(){a:;this.checkUninitializedProperty("Shift5Finish");return this.get_objectData().get_properties()["Shift5Finish"]},get_shift5Start:function(){a:;this.checkUninitializedProperty("Shift5Start");return this.get_objectData().get_properties()["Shift5Start"]},get_start:function(){a:;this.checkUninitializedProperty("Start");return this.get_objectData().get_properties()["Start"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Calendar;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Calendar",this.get_calendar(),a);this.get_calendar().fromJson(a);delete b.Calendar}a=b.Finish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Finish"]=a;delete b.Finish}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.RecurrenceDays;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RecurrenceDays"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.RecurrenceDays}a=b.RecurrenceFrequency;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RecurrenceFrequency"]=a;delete b.RecurrenceFrequency}a=b.RecurrenceMonth;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RecurrenceMonth"]=a;delete b.RecurrenceMonth}a=b.RecurrenceMonthDay;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RecurrenceMonthDay"]=a;delete b.RecurrenceMonthDay}a=b.RecurrenceType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RecurrenceType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.RecurrenceType}a=b.RecurrenceWeek;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RecurrenceWeek"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.RecurrenceWeek}a=b.Shift1Finish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Shift1Finish"]=a;delete b.Shift1Finish}a=b.Shift1Start;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Shift1Start"]=a;delete b.Shift1Start}a=b.Shift2Finish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Shift2Finish"]=a;delete b.Shift2Finish}a=b.Shift2Start;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Shift2Start"]=a;delete b.Shift2Start}a=b.Shift3Finish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Shift3Finish"]=a;delete b.Shift3Finish}a=b.Shift3Start;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Shift3Start"]=a;delete b.Shift3Start}a=b.Shift4Finish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Shift4Finish"]=a;delete b.Shift4Finish}a=b.Shift4Start;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Shift4Start"]=a;delete b.Shift4Start}a=b.Shift5Finish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Shift5Finish"]=a;delete b.Shift5Finish}a=b.Shift5Start;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Shift5Start"]=a;delete b.Shift5Start}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Start"]=a;delete b.Start}},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b);this.removeFromParentCollection()}};PS.CalendarExceptionPropertyNames=function(){};PS.CalendarExceptionObjectPropertyNames=function(){};PS.CalendarExceptionCollection=function(b,a){a:;PS.CalendarExceptionCollection.initializeBase(this,[b,a])};PS.CalendarExceptionCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.CalendarException},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b=[];this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.CalendarException(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},add:function(c){a:;var b=this.get_context(),a;a=new PS.CalendarException(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[c]));this.addChild(a);return a},remove:function(b){a:;var c=this.get_context(),a,d=new SP.ClientActionInvokeMethod(this,"Remove",[b]);c.addQuery(d);a=new SP.BooleanResult;c.addQueryIdAndResultObject(d.get_id(),a);this.removeChild(b);return a}};PS.CalendarExceptionCreationInformation=function(){a:;PS.CalendarExceptionCreationInformation.initializeBase(this)};PS.CalendarExceptionCreationInformation.prototype={$5_1:null,$1_1:null,$1P_1:0,$1Q_1:0,$1R_1:0,$1S_1:0,$1T_1:0,$1U_1:0,$1Z_1:0,$1a_1:0,$1b_1:0,$1c_1:0,$1d_1:0,$1e_1:0,$1f_1:0,$1g_1:0,$1h_1:0,$1i_1:0,$3_1:null,get_finish:function(){a:;return this.$5_1},set_finish:function(a){a:;this.$5_1=a;return a},get_name:function(){a:;return this.$1_1},set_name:function(a){a:;this.$1_1=a;return a},get_recurrenceDays:function(){a:;return this.$1P_1},set_recurrenceDays:function(a){a:;this.$1P_1=a;return a},get_recurrenceFrequency:function(){a:;return this.$1Q_1},set_recurrenceFrequency:function(a){a:;this.$1Q_1=a;return a},get_recurrenceMonth:function(){a:;return this.$1R_1},set_recurrenceMonth:function(a){a:;this.$1R_1=a;return a},get_recurrenceMonthDay:function(){a:;return this.$1S_1},set_recurrenceMonthDay:function(a){a:;this.$1S_1=a;return a},get_recurrenceType:function(){a:;return this.$1T_1},set_recurrenceType:function(a){a:;this.$1T_1=a;return a},get_recurrenceWeek:function(){a:;return this.$1U_1},set_recurrenceWeek:function(a){a:;this.$1U_1=a;return a},get_shift1Finish:function(){a:;return this.$1Z_1},set_shift1Finish:function(a){a:;this.$1Z_1=a;return a},get_shift1Start:function(){a:;return this.$1a_1},set_shift1Start:function(a){a:;this.$1a_1=a;return a},get_shift2Finish:function(){a:;return this.$1b_1},set_shift2Finish:function(a){a:;this.$1b_1=a;return a},get_shift2Start:function(){a:;return this.$1c_1},set_shift2Start:function(a){a:;this.$1c_1=a;return a},get_shift3Finish:function(){a:;return this.$1d_1},set_shift3Finish:function(a){a:;this.$1d_1=a;return a},get_shift3Start:function(){a:;return this.$1e_1},set_shift3Start:function(a){a:;this.$1e_1=a;return a},get_shift4Finish:function(){a:;return this.$1f_1},set_shift4Finish:function(a){a:;this.$1f_1=a;return a},get_shift4Start:function(){a:;return this.$1g_1},set_shift4Start:function(a){a:;this.$1g_1=a;return a},get_shift5Finish:function(){a:;return this.$1h_1},set_shift5Finish:function(a){a:;this.$1h_1=a;return a},get_shift5Start:function(){a:;return this.$1i_1},set_shift5Start:function(a){a:;this.$1i_1=a;return a},get_start:function(){a:;return this.$3_1},set_start:function(a){a:;this.$3_1=a;return a},get_typeId:function(){a:;return "{15a86477-a9f6-4e4d-9da9-1603b15d95c8}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Finish","Name","RecurrenceDays","RecurrenceFrequency","RecurrenceMonth","RecurrenceMonthDay","RecurrenceType","RecurrenceWeek","Shift1Finish","Shift1Start","Shift2Finish","Shift2Start","Shift3Finish","Shift3Start","Shift4Finish","Shift4Start","Shift5Finish","Shift5Start","Start"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Finish;if(!SP.ScriptUtility.isUndefined(a)){this.$5_1=a;delete b.Finish}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.$1_1=a;delete b.Name}a=b.RecurrenceDays;if(!SP.ScriptUtility.isUndefined(a)){this.$1P_1=SP.DataConvert.fixupType(null,a);delete b.RecurrenceDays}a=b.RecurrenceFrequency;if(!SP.ScriptUtility.isUndefined(a)){this.$1Q_1=a;delete b.RecurrenceFrequency}a=b.RecurrenceMonth;if(!SP.ScriptUtility.isUndefined(a)){this.$1R_1=a;delete b.RecurrenceMonth}a=b.RecurrenceMonthDay;if(!SP.ScriptUtility.isUndefined(a)){this.$1S_1=a;delete b.RecurrenceMonthDay}a=b.RecurrenceType;if(!SP.ScriptUtility.isUndefined(a)){this.$1T_1=SP.DataConvert.fixupType(null,a);delete b.RecurrenceType}a=b.RecurrenceWeek;if(!SP.ScriptUtility.isUndefined(a)){this.$1U_1=SP.DataConvert.fixupType(null,a);delete b.RecurrenceWeek}a=b.Shift1Finish;if(!SP.ScriptUtility.isUndefined(a)){this.$1Z_1=a;delete b.Shift1Finish}a=b.Shift1Start;if(!SP.ScriptUtility.isUndefined(a)){this.$1a_1=a;delete b.Shift1Start}a=b.Shift2Finish;if(!SP.ScriptUtility.isUndefined(a)){this.$1b_1=a;delete b.Shift2Finish}a=b.Shift2Start;if(!SP.ScriptUtility.isUndefined(a)){this.$1c_1=a;delete b.Shift2Start}a=b.Shift3Finish;if(!SP.ScriptUtility.isUndefined(a)){this.$1d_1=a;delete b.Shift3Finish}a=b.Shift3Start;if(!SP.ScriptUtility.isUndefined(a)){this.$1e_1=a;delete b.Shift3Start}a=b.Shift4Finish;if(!SP.ScriptUtility.isUndefined(a)){this.$1f_1=a;delete b.Shift4Finish}a=b.Shift4Start;if(!SP.ScriptUtility.isUndefined(a)){this.$1g_1=a;delete b.Shift4Start}a=b.Shift5Finish;if(!SP.ScriptUtility.isUndefined(a)){this.$1h_1=a;delete b.Shift5Finish}a=b.Shift5Start;if(!SP.ScriptUtility.isUndefined(a)){this.$1i_1=a;delete b.Shift5Start}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.$3_1=a;delete b.Start}}};PS.CostRateCreationInformation=function(){a:;PS.CostRateCreationInformation.initializeBase(this)};PS.CostRateCreationInformation.prototype={$d_1:0,$i_1:null,$1I_1:0,$1o_1:0,get_costPerUse:function(){a:;return this.$d_1},set_costPerUse:function(a){a:;this.$d_1=a;return a},get_effectiveDate:function(){a:;return this.$i_1},set_effectiveDate:function(a){a:;this.$i_1=a;return a},get_overtimeRate:function(){a:;return this.$1I_1},set_overtimeRate:function(a){a:;this.$1I_1=a;return a},get_standardRate:function(){a:;return this.$1o_1},set_standardRate:function(a){a:;this.$1o_1=a;return a},get_typeId:function(){a:;return "{bc115e20-54ef-46e2-aabc-c67615dc9c93}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["CostPerUse","EffectiveDate","OvertimeRate","StandardRate"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.CostPerUse;if(!SP.ScriptUtility.isUndefined(a)){this.$d_1=a;delete b.CostPerUse}a=b.EffectiveDate;if(!SP.ScriptUtility.isUndefined(a)){this.$i_1=a;delete b.EffectiveDate}a=b.OvertimeRate;if(!SP.ScriptUtility.isUndefined(a)){this.$1I_1=a;delete b.OvertimeRate}a=b.StandardRate;if(!SP.ScriptUtility.isUndefined(a)){this.$1o_1=a;delete b.StandardRate}}};PS.CustomField=function(b,a){a:;PS.CustomField.initializeBase(this,[b,a])};PS.CustomField.prototype={get_appAlternateId:function(){a:;this.checkUninitializedProperty("AppAlternateId");return this.get_objectData().get_properties()["AppAlternateId"]},get_departmentId:function(){a:;this.checkUninitializedProperty("DepartmentId");return this.get_objectData().get_properties()["DepartmentId"]},get_description:function(){a:;this.checkUninitializedProperty("Description");return this.get_objectData().get_properties()["Description"]},set_description:function(a){a:;this.get_objectData().get_properties()["Description"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Description",a));return a},get_entityType:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["EntityType"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.EntityType(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"EntityType"));this.get_objectData().get_clientObjectProperties()["EntityType"]=a}return a},get_fieldType:function(){a:;this.checkUninitializedProperty("FieldType");return this.get_objectData().get_properties()["FieldType"]},get_formula:function(){a:;this.checkUninitializedProperty("Formula");return this.get_objectData().get_properties()["Formula"]},set_formula:function(a){a:;this.get_objectData().get_properties()["Formula"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Formula",a));return a},get_graphicalIndicatorNonSummary:function(){a:;this.checkUninitializedProperty("GraphicalIndicatorNonSummary");return this.get_objectData().get_properties()["GraphicalIndicatorNonSummary"]},set_graphicalIndicatorNonSummary:function(a){a:;this.get_objectData().get_properties()["GraphicalIndicatorNonSummary"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"GraphicalIndicatorNonSummary",a));return a},get_graphicalIndicatorProjectSummary:function(){a:;this.checkUninitializedProperty("GraphicalIndicatorProjectSummary");return this.get_objectData().get_properties()["GraphicalIndicatorProjectSummary"]},set_graphicalIndicatorProjectSummary:function(a){a:;this.get_objectData().get_properties()["GraphicalIndicatorProjectSummary"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"GraphicalIndicatorProjectSummary",a));return a},get_graphicalIndicatorSummary:function(){a:;this.checkUninitializedProperty("GraphicalIndicatorSummary");return this.get_objectData().get_properties()["GraphicalIndicatorSummary"]},set_graphicalIndicatorSummary:function(a){a:;this.get_objectData().get_properties()["GraphicalIndicatorSummary"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"GraphicalIndicatorSummary",a));return a},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_internalName:function(){a:;this.checkUninitializedProperty("InternalName");return this.get_objectData().get_properties()["InternalName"]},get_isEditableInVisibility:function(){a:;this.checkUninitializedProperty("IsEditableInVisibility");return this.get_objectData().get_properties()["IsEditableInVisibility"]},set_isEditableInVisibility:function(a){a:;this.get_objectData().get_properties()["IsEditableInVisibility"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsEditableInVisibility",a));return a},get_isLeafOnly:function(){a:;this.checkUninitializedProperty("IsLeafOnly");return this.get_objectData().get_properties()["IsLeafOnly"]},set_isLeafOnly:function(a){a:;this.get_objectData().get_properties()["IsLeafOnly"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsLeafOnly",a));return a},get_isMultilineText:function(){a:;this.checkUninitializedProperty("IsMultilineText");return this.get_objectData().get_properties()["IsMultilineText"]},set_isMultilineText:function(a){a:;this.get_objectData().get_properties()["IsMultilineText"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsMultilineText",a));return a},get_isRequired:function(){a:;this.checkUninitializedProperty("IsRequired");return this.get_objectData().get_properties()["IsRequired"]},set_isRequired:function(a){a:;this.get_objectData().get_properties()["IsRequired"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsRequired",a));return a},get_isWorkflowControlled:function(){a:;this.checkUninitializedProperty("IsWorkflowControlled");return this.get_objectData().get_properties()["IsWorkflowControlled"]},set_isWorkflowControlled:function(a){a:;this.get_objectData().get_properties()["IsWorkflowControlled"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsWorkflowControlled",a));return a},get_lookupAllowMultiSelect:function(){a:;this.checkUninitializedProperty("LookupAllowMultiSelect");return this.get_objectData().get_properties()["LookupAllowMultiSelect"]},set_lookupAllowMultiSelect:function(a){a:;this.get_objectData().get_properties()["LookupAllowMultiSelect"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"LookupAllowMultiSelect",a));return a},get_lookupDefaultValue:function(){a:;this.checkUninitializedProperty("LookupDefaultValue");return this.get_objectData().get_properties()["LookupDefaultValue"]},set_lookupDefaultValue:function(a){a:;this.get_objectData().get_properties()["LookupDefaultValue"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"LookupDefaultValue",a));return a},get_lookupEntries:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["LookupEntries"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.LookupEntryCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"LookupEntries"));this.get_objectData().get_clientObjectProperties()["LookupEntries"]=a}return a},get_lookupTable:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["LookupTable"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.LookupTable(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"LookupTable"));this.get_objectData().get_clientObjectProperties()["LookupTable"]=a}return a},set_lookupTable:function(a){a:;this.get_objectData().get_clientObjectProperties()["LookupTable"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"LookupTable",a));return a},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},set_name:function(a){a:;this.get_objectData().get_properties()["Name"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Name",a));return a},get_rollsDownToAssignments:function(){a:;this.checkUninitializedProperty("RollsDownToAssignments");return this.get_objectData().get_properties()["RollsDownToAssignments"]},set_rollsDownToAssignments:function(a){a:;this.get_objectData().get_properties()["RollsDownToAssignments"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RollsDownToAssignments",a));return a},get_rollupType:function(){a:;this.checkUninitializedProperty("RollupType");return this.get_objectData().get_properties()["RollupType"]},set_rollupType:function(a){a:;this.get_objectData().get_properties()["RollupType"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RollupType",a));return a},get_showToolTip:function(){a:;this.checkUninitializedProperty("ShowToolTip");return this.get_objectData().get_properties()["ShowToolTip"]},set_showToolTip:function(a){a:;this.get_objectData().get_properties()["ShowToolTip"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ShowToolTip",a));return a},get_useFieldForMatching:function(){a:;this.checkUninitializedProperty("UseFieldForMatching");return this.get_objectData().get_properties()["UseFieldForMatching"]},set_useFieldForMatching:function(a){a:;this.get_objectData().get_properties()["UseFieldForMatching"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"UseFieldForMatching",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AppAlternateId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["AppAlternateId"]=a;delete b.AppAlternateId}a=b.DepartmentId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DepartmentId"]=a;delete b.DepartmentId}a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Description"]=a;delete b.Description}a=b.EntityType;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("EntityType",this.get_entityType(),a);this.get_entityType().fromJson(a);delete b.EntityType}a=b.FieldType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FieldType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.FieldType}a=b.Formula;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Formula"]=a;delete b.Formula}a=b.GraphicalIndicatorNonSummary;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["GraphicalIndicatorNonSummary"]=a;delete b.GraphicalIndicatorNonSummary}a=b.GraphicalIndicatorProjectSummary;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["GraphicalIndicatorProjectSummary"]=a;delete b.GraphicalIndicatorProjectSummary}a=b.GraphicalIndicatorSummary;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["GraphicalIndicatorSummary"]=a;delete b.GraphicalIndicatorSummary}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.InternalName;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["InternalName"]=a;delete b.InternalName}a=b.IsEditableInVisibility;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsEditableInVisibility"]=a;delete b.IsEditableInVisibility}a=b.IsLeafOnly;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsLeafOnly"]=a;delete b.IsLeafOnly}a=b.IsMultilineText;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsMultilineText"]=a;delete b.IsMultilineText}a=b.IsRequired;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsRequired"]=a;delete b.IsRequired}a=b.IsWorkflowControlled;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsWorkflowControlled"]=a;delete b.IsWorkflowControlled}a=b.LookupAllowMultiSelect;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["LookupAllowMultiSelect"]=a;delete b.LookupAllowMultiSelect}a=b.LookupDefaultValue;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["LookupDefaultValue"]=a;delete b.LookupDefaultValue}a=b.LookupEntries;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("LookupEntries",this.get_lookupEntries(),a);this.get_lookupEntries().fromJson(a);delete b.LookupEntries}a=b.LookupTable;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("LookupTable",this.get_lookupTable(),a);this.get_lookupTable().fromJson(a);delete b.LookupTable}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.RollsDownToAssignments;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RollsDownToAssignments"]=a;delete b.RollsDownToAssignments}a=b.RollupType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RollupType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.RollupType}a=b.ShowToolTip;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ShowToolTip"]=a;delete b.ShowToolTip}a=b.UseFieldForMatching;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["UseFieldForMatching"]=a;delete b.UseFieldForMatching}},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b);this.removeFromParentCollection()}};PS.CustomFieldPropertyNames=function(){};PS.CustomFieldObjectPropertyNames=function(){};PS.CustomFieldCollection=function(b,a){a:;PS.CustomFieldCollection.initializeBase(this,[b,a])};PS.CustomFieldCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.CustomField},add:function(d){a:;var b=this.get_context(),a;a=new PS.CustomField(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a},remove:function(b){a:;var c=this.get_context(),a,d=new SP.ClientActionInvokeMethod(this,"Remove",[b]);c.addQuery(d);a=new SP.BooleanResult;c.addQueryIdAndResultObject(d.get_id(),a);this.removeChild(b);return a},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.CustomField(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.CustomField(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a},getByAppAlternateId:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByAppAlternateId"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByAppAlternateId"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.CustomField(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByAppAlternateId",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},update:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Update",null);a.addQuery(b)}};PS.CustomFieldCreationInformation=function(){a:;PS.CustomFieldCreationInformation.initializeBase(this)};PS.CustomFieldCreationInformation.prototype={$2_1:null,$26_1:null,$o_1:0,$p_1:null,$q_1:null,$r_1:null,$s_1:null,$0_1:null,$10_1:false,$13_1:false,$16_1:false,$17_1:false,$18_1:false,$1B_1:false,$1C_1:null,$27_1:null,$1_1:null,$1j_1:false,$1w_1:false,get_description:function(){a:;return this.$2_1},set_description:function(a){a:;this.$2_1=a;return a},get_entityType:function(){a:;return this.$26_1},set_entityType:function(a){a:;this.$26_1=a;return a},get_fieldType:function(){a:;return this.$o_1},set_fieldType:function(a){a:;this.$o_1=a;return a},get_formula:function(){a:;return this.$p_1},set_formula:function(a){a:;this.$p_1=a;return a},get_graphicalIndicatorNonSummary:function(){a:;return this.$q_1},set_graphicalIndicatorNonSummary:function(a){a:;this.$q_1=a;return a},get_graphicalIndicatorProjectSummary:function(){a:;return this.$r_1},set_graphicalIndicatorProjectSummary:function(a){a:;this.$r_1=a;return a},get_graphicalIndicatorSummary:function(){a:;return this.$s_1},set_graphicalIndicatorSummary:function(a){a:;this.$s_1=a;return a},get_id:function(){a:;return this.$0_1},set_id:function(a){a:;this.$0_1=a;return a},get_isEditableInVisibility:function(){a:;return this.$10_1},set_isEditableInVisibility:function(a){a:;this.$10_1=a;return a},get_isLeafOnly:function(){a:;return this.$13_1},set_isLeafOnly:function(a){a:;this.$13_1=a;return a},get_isMultilineText:function(){a:;return this.$16_1},set_isMultilineText:function(a){a:;this.$16_1=a;return a},get_isRequired:function(){a:;return this.$17_1},set_isRequired:function(a){a:;this.$17_1=a;return a},get_isWorkflowControlled:function(){a:;return this.$18_1},set_isWorkflowControlled:function(a){a:;this.$18_1=a;return a},get_lookupAllowMultiSelect:function(){a:;return this.$1B_1},set_lookupAllowMultiSelect:function(a){a:;this.$1B_1=a;return a},get_lookupDefaultValue:function(){a:;return this.$1C_1},set_lookupDefaultValue:function(a){a:;this.$1C_1=a;return a},get_lookupTable:function(){a:;return this.$27_1},set_lookupTable:function(a){a:;this.$27_1=a;return a},get_name:function(){a:;return this.$1_1},set_name:function(a){a:;this.$1_1=a;return a},get_showToolTip:function(){a:;return this.$1j_1},set_showToolTip:function(a){a:;this.$1j_1=a;return a},get_useFieldForMatching:function(){a:;return this.$1w_1},set_useFieldForMatching:function(a){a:;this.$1w_1=a;return a},get_typeId:function(){a:;return "{e98c4be3-a6b6-4801-ba6a-9394a5c25177}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Description","EntityType","FieldType","Formula","GraphicalIndicatorNonSummary","GraphicalIndicatorProjectSummary","GraphicalIndicatorSummary","Id","IsEditableInVisibility","IsLeafOnly","IsMultilineText","IsRequired","IsWorkflowControlled","LookupAllowMultiSelect","LookupDefaultValue","LookupTable","Name","ShowToolTip","UseFieldForMatching"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.$2_1=a;delete b.Description}a=b.EntityType;if(!SP.ScriptUtility.isUndefined(a))delete b.EntityType;a=b.FieldType;if(!SP.ScriptUtility.isUndefined(a)){this.$o_1=SP.DataConvert.fixupType(null,a);delete b.FieldType}a=b.Formula;if(!SP.ScriptUtility.isUndefined(a)){this.$p_1=a;delete b.Formula}a=b.GraphicalIndicatorNonSummary;if(!SP.ScriptUtility.isUndefined(a)){this.$q_1=a;delete b.GraphicalIndicatorNonSummary}a=b.GraphicalIndicatorProjectSummary;if(!SP.ScriptUtility.isUndefined(a)){this.$r_1=a;delete b.GraphicalIndicatorProjectSummary}a=b.GraphicalIndicatorSummary;if(!SP.ScriptUtility.isUndefined(a)){this.$s_1=a;delete b.GraphicalIndicatorSummary}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Id}a=b.IsEditableInVisibility;if(!SP.ScriptUtility.isUndefined(a)){this.$10_1=a;delete b.IsEditableInVisibility}a=b.IsLeafOnly;if(!SP.ScriptUtility.isUndefined(a)){this.$13_1=a;delete b.IsLeafOnly}a=b.IsMultilineText;if(!SP.ScriptUtility.isUndefined(a)){this.$16_1=a;delete b.IsMultilineText}a=b.IsRequired;if(!SP.ScriptUtility.isUndefined(a)){this.$17_1=a;delete b.IsRequired}a=b.IsWorkflowControlled;if(!SP.ScriptUtility.isUndefined(a)){this.$18_1=a;delete b.IsWorkflowControlled}a=b.LookupAllowMultiSelect;if(!SP.ScriptUtility.isUndefined(a)){this.$1B_1=a;delete b.LookupAllowMultiSelect}a=b.LookupDefaultValue;if(!SP.ScriptUtility.isUndefined(a)){this.$1C_1=a;delete b.LookupDefaultValue}a=b.LookupTable;if(!SP.ScriptUtility.isUndefined(a))delete b.LookupTable;a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.$1_1=a;delete b.Name}a=b.ShowToolTip;if(!SP.ScriptUtility.isUndefined(a)){this.$1j_1=a;delete b.ShowToolTip}a=b.UseFieldForMatching;if(!SP.ScriptUtility.isUndefined(a)){this.$1w_1=a;delete b.UseFieldForMatching}}};PS.DeletedPublishedAssignment=function(b,a){a:;PS.DeletedPublishedAssignment.initializeBase(this,[b,a])};PS.DeletedPublishedAssignment.prototype={get_deletedDate:function(){a:;this.checkUninitializedProperty("DeletedDate");return this.get_objectData().get_properties()["DeletedDate"]},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_projectId:function(){a:;this.checkUninitializedProperty("ProjectId");return this.get_objectData().get_properties()["ProjectId"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.DeletedDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DeletedDate"]=a;delete b.DeletedDate}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.ProjectId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ProjectId"]=a;delete b.ProjectId}}};PS.DeletedPublishedAssignmentPropertyNames=function(){};PS.DeletedPublishedAssignmentCollection=function(b,a){a:;PS.DeletedPublishedAssignmentCollection.initializeBase(this,[b,a])};PS.DeletedPublishedAssignmentCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.DeletedPublishedAssignment}};PS.DraftAssignment=function(b,a){a:;PS.DraftAssignment.initializeBase(this,[b,a])};PS.DraftAssignment.prototype={get_fieldValues:function(){a:;var a=this.get_objectData().get_methodReturnObjects()["$m_dict"];if(SP.ScriptUtility.isNullOrUndefined(a)){a={};this.get_objectData().get_methodReturnObjects()["$m_dict"]=a}return a},get_item:function(a){a:;return this.$6_2(a)},set_item:function(b,a){a:;this.$K_2(b,a);return a},get_actualCost:function(){a:;this.checkUninitializedProperty("ActualCost");return this.get_objectData().get_properties()["ActualCost"]},set_actualCost:function(a){a:;this.get_objectData().get_properties()["ActualCost"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ActualCost",a));return a},get_actualFinish:function(){a:;this.checkUninitializedProperty("ActualFinish");return this.get_objectData().get_properties()["ActualFinish"]},set_actualFinish:function(a){a:;this.get_objectData().get_properties()["ActualFinish"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ActualFinish",a));return a},get_actualOvertimeWork:function(){a:;this.checkUninitializedProperty("ActualOvertimeWork");return this.get_objectData().get_properties()["ActualOvertimeWork"]},set_actualOvertimeWork:function(a){a:;this.get_objectData().get_properties()["ActualOvertimeWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ActualOvertimeWork",a));return a},get_actualOvertimeWorkMilliseconds:function(){a:;this.checkUninitializedProperty("ActualOvertimeWorkMilliseconds");return this.get_objectData().get_properties()["ActualOvertimeWorkMilliseconds"]},set_actualOvertimeWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["ActualOvertimeWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ActualOvertimeWorkMilliseconds",a));return a},get_actualStart:function(){a:;this.checkUninitializedProperty("ActualStart");return this.get_objectData().get_properties()["ActualStart"]},set_actualStart:function(a){a:;this.get_objectData().get_properties()["ActualStart"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ActualStart",a));return a},get_actualWork:function(){a:;this.checkUninitializedProperty("ActualWork");return this.get_objectData().get_properties()["ActualWork"]},set_actualWork:function(a){a:;this.get_objectData().get_properties()["ActualWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ActualWork",a));return a},get_actualWorkMilliseconds:function(){a:;this.checkUninitializedProperty("ActualWorkMilliseconds");return this.get_objectData().get_properties()["ActualWorkMilliseconds"]},set_actualWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["ActualWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ActualWorkMilliseconds",a));return a},get_budgetedCost:function(){a:;this.checkUninitializedProperty("BudgetedCost");return this.get_objectData().get_properties()["BudgetedCost"]},set_budgetedCost:function(a){a:;this.get_objectData().get_properties()["BudgetedCost"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"BudgetedCost",a));return a},get_budgetedWork:function(){a:;this.checkUninitializedProperty("BudgetedWork");return this.get_objectData().get_properties()["BudgetedWork"]},set_budgetedWork:function(a){a:;this.get_objectData().get_properties()["BudgetedWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"BudgetedWork",a));return a},get_budgetedWorkMilliseconds:function(){a:;this.checkUninitializedProperty("BudgetedWorkMilliseconds");return this.get_objectData().get_properties()["BudgetedWorkMilliseconds"]},set_budgetedWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["BudgetedWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"BudgetedWorkMilliseconds",a));return a},get_cost:function(){a:;this.checkUninitializedProperty("Cost");return this.get_objectData().get_properties()["Cost"]},set_cost:function(a){a:;this.get_objectData().get_properties()["Cost"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Cost",a));return a},get_costRateTable:function(){a:;this.checkUninitializedProperty("CostRateTable");return this.get_objectData().get_properties()["CostRateTable"]},set_costRateTable:function(a){a:;this.get_objectData().get_properties()["CostRateTable"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CostRateTable",a));return a},get_defaultBookingType:function(){a:;this.checkUninitializedProperty("DefaultBookingType");return this.get_objectData().get_properties()["DefaultBookingType"]},set_defaultBookingType:function(a){a:;this.get_objectData().get_properties()["DefaultBookingType"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DefaultBookingType",a));return a},get_delay:function(){a:;this.checkUninitializedProperty("Delay");return this.get_objectData().get_properties()["Delay"]},set_delay:function(a){a:;this.get_objectData().get_properties()["Delay"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Delay",a));return a},get_delayMilliseconds:function(){a:;this.checkUninitializedProperty("DelayMilliseconds");return this.get_objectData().get_properties()["DelayMilliseconds"]},set_delayMilliseconds:function(a){a:;this.get_objectData().get_properties()["DelayMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DelayMilliseconds",a));return a},get_isLockedByManager:function(){a:;this.checkUninitializedProperty("IsLockedByManager");return this.get_objectData().get_properties()["IsLockedByManager"]},set_isLockedByManager:function(a){a:;this.get_objectData().get_properties()["IsLockedByManager"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsLockedByManager",a));return a},get_isWorkResource:function(){a:;this.checkUninitializedProperty("IsWorkResource");return this.get_objectData().get_properties()["IsWorkResource"]},set_isWorkResource:function(a){a:;this.get_objectData().get_properties()["IsWorkResource"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsWorkResource",a));return a},get_overtimeWork:function(){a:;this.checkUninitializedProperty("OvertimeWork");return this.get_objectData().get_properties()["OvertimeWork"]},set_overtimeWork:function(a){a:;this.get_objectData().get_properties()["OvertimeWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"OvertimeWork",a));return a},get_overtimeWorkMilliseconds:function(){a:;this.checkUninitializedProperty("OvertimeWorkMilliseconds");return this.get_objectData().get_properties()["OvertimeWorkMilliseconds"]},set_overtimeWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["OvertimeWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"OvertimeWorkMilliseconds",a));return a},get_owner:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Owner"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Owner"));this.get_objectData().get_clientObjectProperties()["Owner"]=a}return a},set_owner:function(a){a:;this.get_objectData().get_clientObjectProperties()["Owner"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Owner",a));return a},get_parent:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Parent"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.DraftAssignment(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Parent"));this.get_objectData().get_clientObjectProperties()["Parent"]=a}return a},get_percentWorkComplete:function(){a:;this.checkUninitializedProperty("PercentWorkComplete");return this.get_objectData().get_properties()["PercentWorkComplete"]},set_percentWorkComplete:function(a){a:;this.get_objectData().get_properties()["PercentWorkComplete"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"PercentWorkComplete",a));return a},get_regularWork:function(){a:;this.checkUninitializedProperty("RegularWork");return this.get_objectData().get_properties()["RegularWork"]},set_regularWork:function(a){a:;this.get_objectData().get_properties()["RegularWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RegularWork",a));return a},get_regularWorkMilliseconds:function(){a:;this.checkUninitializedProperty("RegularWorkMilliseconds");return this.get_objectData().get_properties()["RegularWorkMilliseconds"]},set_regularWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["RegularWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RegularWorkMilliseconds",a));return a},get_remainingOvertimeWork:function(){a:;this.checkUninitializedProperty("RemainingOvertimeWork");return this.get_objectData().get_properties()["RemainingOvertimeWork"]},set_remainingOvertimeWork:function(a){a:;this.get_objectData().get_properties()["RemainingOvertimeWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RemainingOvertimeWork",a));return a},get_remainingOvertimeWorkMilliseconds:function(){a:;this.checkUninitializedProperty("RemainingOvertimeWorkMilliseconds");return this.get_objectData().get_properties()["RemainingOvertimeWorkMilliseconds"]},set_remainingOvertimeWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["RemainingOvertimeWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RemainingOvertimeWorkMilliseconds",a));return a},get_remainingWork:function(){a:;this.checkUninitializedProperty("RemainingWork");return this.get_objectData().get_properties()["RemainingWork"]},set_remainingWork:function(a){a:;this.get_objectData().get_properties()["RemainingWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RemainingWork",a));return a},get_remainingWorkMilliseconds:function(){a:;this.checkUninitializedProperty("RemainingWorkMilliseconds");return this.get_objectData().get_properties()["RemainingWorkMilliseconds"]},set_remainingWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["RemainingWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RemainingWorkMilliseconds",a));return a},get_resource:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Resource"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.DraftProjectResource(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Resource"));this.get_objectData().get_clientObjectProperties()["Resource"]=a}return a},get_resourceCapacity:function(){a:;this.checkUninitializedProperty("ResourceCapacity");return this.get_objectData().get_properties()["ResourceCapacity"]},set_resourceCapacity:function(a){a:;this.get_objectData().get_properties()["ResourceCapacity"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ResourceCapacity",a));return a},get_task:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Task"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.DraftTask(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Task"));this.get_objectData().get_clientObjectProperties()["Task"]=a}return a},get_work:function(){a:;this.checkUninitializedProperty("Work");return this.get_objectData().get_properties()["Work"]},set_work:function(a){a:;this.get_objectData().get_properties()["Work"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Work",a));return a},get_workMilliseconds:function(){a:;this.checkUninitializedProperty("WorkMilliseconds");return this.get_objectData().get_properties()["WorkMilliseconds"]},set_workMilliseconds:function(a){a:;this.get_objectData().get_properties()["WorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"WorkMilliseconds",a));return a},initNonPropertiesFromJson:function(a){a:;SP.DataConvert.populateDictionaryFromObject(this.get_fieldValues(),a);SP.DataConvert.fixupTypes(this.get_context(),this.get_fieldValues())},initPropertiesFromJson:function(b){a:;PS.Assignment.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ActualCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualCost"]=a;delete b.ActualCost}a=b.ActualFinish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualFinish"]=a;delete b.ActualFinish}a=b.ActualOvertimeWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualOvertimeWork"]=a;delete b.ActualOvertimeWork}a=b.ActualOvertimeWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualOvertimeWorkMilliseconds"]=a;delete b.ActualOvertimeWorkMilliseconds}a=b.ActualStart;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualStart"]=a;delete b.ActualStart}a=b.ActualWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualWork"]=a;delete b.ActualWork}a=b.ActualWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualWorkMilliseconds"]=a;delete b.ActualWorkMilliseconds}a=b.BudgetedCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BudgetedCost"]=a;delete b.BudgetedCost}a=b.BudgetedWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BudgetedWork"]=a;delete b.BudgetedWork}a=b.BudgetedWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BudgetedWorkMilliseconds"]=a;delete b.BudgetedWorkMilliseconds}a=b.Cost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Cost"]=a;delete b.Cost}a=b.CostRateTable;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CostRateTable"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.CostRateTable}a=b.DefaultBookingType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultBookingType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.DefaultBookingType}a=b.Delay;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Delay"]=a;delete b.Delay}a=b.DelayMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DelayMilliseconds"]=a;delete b.DelayMilliseconds}a=b.IsLockedByManager;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsLockedByManager"]=a;delete b.IsLockedByManager}a=b.IsWorkResource;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsWorkResource"]=a;delete b.IsWorkResource}a=b.OvertimeWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OvertimeWork"]=a;delete b.OvertimeWork}a=b.OvertimeWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OvertimeWorkMilliseconds"]=a;delete b.OvertimeWorkMilliseconds}a=b.Owner;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Owner",this.get_owner(),a);this.get_owner().fromJson(a);delete b.Owner}a=b.Parent;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Parent",this.get_parent(),a);this.get_parent().fromJson(a);delete b.Parent}a=b.PercentWorkComplete;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PercentWorkComplete"]=a;delete b.PercentWorkComplete}a=b.RegularWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RegularWork"]=a;delete b.RegularWork}a=b.RegularWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RegularWorkMilliseconds"]=a;delete b.RegularWorkMilliseconds}a=b.RemainingOvertimeWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingOvertimeWork"]=a;delete b.RemainingOvertimeWork}a=b.RemainingOvertimeWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingOvertimeWorkMilliseconds"]=a;delete b.RemainingOvertimeWorkMilliseconds}a=b.RemainingWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingWork"]=a;delete b.RemainingWork}a=b.RemainingWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingWorkMilliseconds"]=a;delete b.RemainingWorkMilliseconds}a=b.Resource;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Resource",this.get_resource(),a);this.get_resource().fromJson(a);delete b.Resource}a=b.ResourceCapacity;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ResourceCapacity"]=a;delete b.ResourceCapacity}a=b.Task;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Task",this.get_task(),a);this.get_task().fromJson(a);delete b.Task}a=b.Work;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Work"]=a;delete b.Work}a=b.WorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WorkMilliseconds"]=a;delete b.WorkMilliseconds}},$6_2:function(b){var a=this.get_fieldValues()[b];if(SP.ScriptUtility.isUndefined(a))throw Error.create(SP.ResResources.getString("PropertyHasNotBeenInitialized"));return a},refreshLoad:function(){a:;SP.ClientObject.prototype.refreshLoad.call(this);this.loadExpandoFields()},loadExpandoFields:function(){a:;var a=this.get_fieldValues();for(var b in a){var c={key:b,value:a[b]};this.retrieve(c.key)}},$K_2:function(b,c){var a=this.get_context();this.get_fieldValues()[b]=c;var d=new SP.ClientActionInvokeMethod(this,"SetCustomFieldValue",[b,c]);a&&a.addQuery(d)},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b);this.removeFromParentCollection()}};PS.DraftAssignmentPropertyNames=function(){};PS.DraftAssignmentObjectPropertyNames=function(){};PS.DraftAssignmentCollection=function(b,a){a:;PS.DraftAssignmentCollection.initializeBase(this,[b,a])};PS.DraftAssignmentCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.DraftAssignment},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.DraftAssignment(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.DraftAssignment(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a},add:function(d){a:;var b=this.get_context(),a;a=new PS.DraftAssignment(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a},remove:function(b){a:;var c=this.get_context(),a,d=new SP.ClientActionInvokeMethod(this,"Remove",[b]);c.addQuery(d);a=new SP.BooleanResult;c.addQueryIdAndResultObject(d.get_id(),a);this.removeChild(b);return a}};PS.DraftProject=function(b,a){a:;PS.DraftProject.initializeBase(this,[b,a])};PS.DraftProject.prototype={get_fieldValues:function(){a:;var a=this.get_objectData().get_methodReturnObjects()["$m_dict"];if(SP.ScriptUtility.isNullOrUndefined(a)){a={};this.get_objectData().get_methodReturnObjects()["$m_dict"]=a}return a},get_item:function(a){a:;return this.$6_2(a)},set_item:function(b,a){a:;this.setCustomFieldValue(b,a);return a},get_assignments:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Assignments"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.DraftAssignmentCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Assignments"));this.get_objectData().get_clientObjectProperties()["Assignments"]=a}return a},get_calendar:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Calendar"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.Calendar(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Calendar"));this.get_objectData().get_clientObjectProperties()["Calendar"]=a}return a},set_calendar:function(a){a:;this.get_objectData().get_clientObjectProperties()["Calendar"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Calendar",a));return a},get_currencyCode:function(){a:;this.checkUninitializedProperty("CurrencyCode");return this.get_objectData().get_properties()["CurrencyCode"]},set_currencyCode:function(a){a:;this.get_objectData().get_properties()["CurrencyCode"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CurrencyCode",a));return a},get_currencyDigits:function(){a:;this.checkUninitializedProperty("CurrencyDigits");return this.get_objectData().get_properties()["CurrencyDigits"]},set_currencyDigits:function(a){a:;this.get_objectData().get_properties()["CurrencyDigits"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CurrencyDigits",a));return a},get_currencyPosition:function(){a:;this.checkUninitializedProperty("CurrencyPosition");return this.get_objectData().get_properties()["CurrencyPosition"]},set_currencyPosition:function(a){a:;this.get_objectData().get_properties()["CurrencyPosition"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CurrencyPosition",a));return a},get_currencySymbol:function(){a:;this.checkUninitializedProperty("CurrencySymbol");return this.get_objectData().get_properties()["CurrencySymbol"]},set_currencySymbol:function(a){a:;this.get_objectData().get_properties()["CurrencySymbol"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CurrencySymbol",a));return a},get_currentDate:function(){a:;this.checkUninitializedProperty("CurrentDate");return this.get_objectData().get_properties()["CurrentDate"]},set_currentDate:function(a){a:;this.get_objectData().get_properties()["CurrentDate"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CurrentDate",a));return a},get_daysPerMonth:function(){a:;this.checkUninitializedProperty("DaysPerMonth");return this.get_objectData().get_properties()["DaysPerMonth"]},set_daysPerMonth:function(a){a:;this.get_objectData().get_properties()["DaysPerMonth"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DaysPerMonth",a));return a},get_defaultEffortDriven:function(){a:;this.checkUninitializedProperty("DefaultEffortDriven");return this.get_objectData().get_properties()["DefaultEffortDriven"]},set_defaultEffortDriven:function(a){a:;this.get_objectData().get_properties()["DefaultEffortDriven"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DefaultEffortDriven",a));return a},get_defaultEstimatedDuration:function(){a:;this.checkUninitializedProperty("DefaultEstimatedDuration");return this.get_objectData().get_properties()["DefaultEstimatedDuration"]},set_defaultEstimatedDuration:function(a){a:;this.get_objectData().get_properties()["DefaultEstimatedDuration"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DefaultEstimatedDuration",a));return a},get_defaultFixedCostAccrual:function(){a:;this.checkUninitializedProperty("DefaultFixedCostAccrual");return this.get_objectData().get_properties()["DefaultFixedCostAccrual"]},set_defaultFixedCostAccrual:function(a){a:;this.get_objectData().get_properties()["DefaultFixedCostAccrual"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DefaultFixedCostAccrual",a));return a},get_defaultOvertimeRate:function(){a:;this.checkUninitializedProperty("DefaultOvertimeRate");return this.get_objectData().get_properties()["DefaultOvertimeRate"]},set_defaultOvertimeRate:function(a){a:;this.get_objectData().get_properties()["DefaultOvertimeRate"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DefaultOvertimeRate",a));return a},get_defaultStandardRate:function(){a:;this.checkUninitializedProperty("DefaultStandardRate");return this.get_objectData().get_properties()["DefaultStandardRate"]},set_defaultStandardRate:function(a){a:;this.get_objectData().get_properties()["DefaultStandardRate"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DefaultStandardRate",a));return a},get_defaultTaskType:function(){a:;this.checkUninitializedProperty("DefaultTaskType");return this.get_objectData().get_properties()["DefaultTaskType"]},set_defaultTaskType:function(a){a:;this.get_objectData().get_properties()["DefaultTaskType"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DefaultTaskType",a));return a},get_defaultWorkFormat:function(){a:;this.checkUninitializedProperty("DefaultWorkFormat");return this.get_objectData().get_properties()["DefaultWorkFormat"]},set_defaultWorkFormat:function(a){a:;this.get_objectData().get_properties()["DefaultWorkFormat"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DefaultWorkFormat",a));return a},get_description:function(){a:;this.checkUninitializedProperty("Description");return this.get_objectData().get_properties()["Description"]},set_description:function(a){a:;this.get_objectData().get_properties()["Description"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Description",a));return a},get_finishDate:function(){a:;this.checkUninitializedProperty("FinishDate");return this.get_objectData().get_properties()["FinishDate"]},set_finishDate:function(a){a:;this.get_objectData().get_properties()["FinishDate"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"FinishDate",a));return a},get_fiscalYearStartMonth:function(){a:;this.checkUninitializedProperty("FiscalYearStartMonth");return this.get_objectData().get_properties()["FiscalYearStartMonth"]},set_fiscalYearStartMonth:function(a){a:;this.get_objectData().get_properties()["FiscalYearStartMonth"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"FiscalYearStartMonth",a));return a},get_includeCustomFields:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["IncludeCustomFields"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.DraftProject(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"IncludeCustomFields"));this.get_objectData().get_clientObjectProperties()["IncludeCustomFields"]=a}return a},get_minutesPerDay:function(){a:;this.checkUninitializedProperty("MinutesPerDay");return this.get_objectData().get_properties()["MinutesPerDay"]},set_minutesPerDay:function(a){a:;this.get_objectData().get_properties()["MinutesPerDay"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"MinutesPerDay",a));return a},get_minutesPerWeek:function(){a:;this.checkUninitializedProperty("MinutesPerWeek");return this.get_objectData().get_properties()["MinutesPerWeek"]},set_minutesPerWeek:function(a){a:;this.get_objectData().get_properties()["MinutesPerWeek"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"MinutesPerWeek",a));return a},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},set_name:function(a){a:;this.get_objectData().get_properties()["Name"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Name",a));return a},get_newTasksAreManual:function(){a:;this.checkUninitializedProperty("NewTasksAreManual");return this.get_objectData().get_properties()["NewTasksAreManual"]},set_newTasksAreManual:function(a){a:;this.get_objectData().get_properties()["NewTasksAreManual"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"NewTasksAreManual",a));return a},get_numberFiscalYearFromStart:function(){a:;this.checkUninitializedProperty("NumberFiscalYearFromStart");return this.get_objectData().get_properties()["NumberFiscalYearFromStart"]},set_numberFiscalYearFromStart:function(a){a:;this.get_objectData().get_properties()["NumberFiscalYearFromStart"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"NumberFiscalYearFromStart",a));return a},get_owner:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Owner"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Owner"));this.get_objectData().get_clientObjectProperties()["Owner"]=a}return a},set_owner:function(a){a:;this.get_objectData().get_clientObjectProperties()["Owner"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Owner",a));return a},get_projectIdentifier:function(){a:;this.checkUninitializedProperty("ProjectIdentifier");return this.get_objectData().get_properties()["ProjectIdentifier"]},set_projectIdentifier:function(a){a:;this.get_objectData().get_properties()["ProjectIdentifier"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ProjectIdentifier",a));return a},get_projectResources:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["ProjectResources"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.DraftProjectResourceCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"ProjectResources"));this.get_objectData().get_clientObjectProperties()["ProjectResources"]=a}return a},get_protectedActualsSynch:function(){a:;this.checkUninitializedProperty("ProtectedActualsSynch");return this.get_objectData().get_properties()["ProtectedActualsSynch"]},set_protectedActualsSynch:function(a){a:;this.get_objectData().get_properties()["ProtectedActualsSynch"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ProtectedActualsSynch",a));return a},get_scheduledFromStart:function(){a:;this.checkUninitializedProperty("ScheduledFromStart");return this.get_objectData().get_properties()["ScheduledFromStart"]},set_scheduledFromStart:function(a){a:;this.get_objectData().get_properties()["ScheduledFromStart"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ScheduledFromStart",a));return a},get_showEstimatedDurations:function(){a:;this.checkUninitializedProperty("ShowEstimatedDurations");return this.get_objectData().get_properties()["ShowEstimatedDurations"]},set_showEstimatedDurations:function(a){a:;this.get_objectData().get_properties()["ShowEstimatedDurations"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ShowEstimatedDurations",a));return a},get_startDate:function(){a:;this.checkUninitializedProperty("StartDate");return this.get_objectData().get_properties()["StartDate"]},set_startDate:function(a){a:;this.get_objectData().get_properties()["StartDate"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"StartDate",a));return a},get_statusDate:function(){a:;this.checkUninitializedProperty("StatusDate");return this.get_objectData().get_properties()["StatusDate"]},set_statusDate:function(a){a:;this.get_objectData().get_properties()["StatusDate"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"StatusDate",a));return a},get_taskLinks:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["TaskLinks"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.DraftTaskLinkCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"TaskLinks"));this.get_objectData().get_clientObjectProperties()["TaskLinks"]=a}return a},get_tasks:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Tasks"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.DraftTaskCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Tasks"));this.get_objectData().get_clientObjectProperties()["Tasks"]=a}return a},get_trackingMode:function(){a:;this.checkUninitializedProperty("TrackingMode");return this.get_objectData().get_properties()["TrackingMode"]},set_trackingMode:function(a){a:;this.get_objectData().get_properties()["TrackingMode"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TrackingMode",a));return a},get_utilizationDate:function(){a:;this.checkUninitializedProperty("UtilizationDate");return this.get_objectData().get_properties()["UtilizationDate"]},set_utilizationDate:function(a){a:;this.get_objectData().get_properties()["UtilizationDate"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"UtilizationDate",a));return a},get_utilizationType:function(){a:;this.checkUninitializedProperty("UtilizationType");return this.get_objectData().get_properties()["UtilizationType"]},set_utilizationType:function(a){a:;this.get_objectData().get_properties()["UtilizationType"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"UtilizationType",a));return a},get_weekStartDay:function(){a:;this.checkUninitializedProperty("WeekStartDay");return this.get_objectData().get_properties()["WeekStartDay"]},set_weekStartDay:function(a){a:;this.get_objectData().get_properties()["WeekStartDay"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"WeekStartDay",a));return a},get_winprojVersion:function(){a:;this.checkUninitializedProperty("WinprojVersion");return this.get_objectData().get_properties()["WinprojVersion"]},set_winprojVersion:function(a){a:;this.get_objectData().get_properties()["WinprojVersion"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"WinprojVersion",a));return a},initNonPropertiesFromJson:function(a){a:;SP.DataConvert.populateDictionaryFromObject(this.get_fieldValues(),a);SP.DataConvert.fixupTypes(this.get_context(),this.get_fieldValues())},initPropertiesFromJson:function(b){a:;PS.Project.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Assignments;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Assignments",this.get_assignments(),a);this.get_assignments().fromJson(a);delete b.Assignments}a=b.Calendar;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Calendar",this.get_calendar(),a);this.get_calendar().fromJson(a);delete b.Calendar}a=b.CurrencyCode;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CurrencyCode"]=a;delete b.CurrencyCode}a=b.CurrencyDigits;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CurrencyDigits"]=a;delete b.CurrencyDigits}a=b.CurrencyPosition;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CurrencyPosition"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.CurrencyPosition}a=b.CurrencySymbol;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CurrencySymbol"]=a;delete b.CurrencySymbol}a=b.CurrentDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CurrentDate"]=a;delete b.CurrentDate}a=b.DaysPerMonth;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DaysPerMonth"]=a;delete b.DaysPerMonth}a=b.DefaultEffortDriven;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultEffortDriven"]=a;delete b.DefaultEffortDriven}a=b.DefaultEstimatedDuration;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultEstimatedDuration"]=a;delete b.DefaultEstimatedDuration}a=b.DefaultFixedCostAccrual;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultFixedCostAccrual"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.DefaultFixedCostAccrual}a=b.DefaultOvertimeRate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultOvertimeRate"]=a;delete b.DefaultOvertimeRate}a=b.DefaultStandardRate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultStandardRate"]=a;delete b.DefaultStandardRate}a=b.DefaultTaskType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultTaskType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.DefaultTaskType}a=b.DefaultWorkFormat;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultWorkFormat"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.DefaultWorkFormat}a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Description"]=a;delete b.Description}a=b.FinishDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FinishDate"]=a;delete b.FinishDate}a=b.FiscalYearStartMonth;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FiscalYearStartMonth"]=a;delete b.FiscalYearStartMonth}a=b.IncludeCustomFields;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("IncludeCustomFields",this.get_includeCustomFields(),a);this.get_includeCustomFields().fromJson(a);delete b.IncludeCustomFields}a=b.MinutesPerDay;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["MinutesPerDay"]=a;delete b.MinutesPerDay}a=b.MinutesPerWeek;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["MinutesPerWeek"]=a;delete b.MinutesPerWeek}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.NewTasksAreManual;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["NewTasksAreManual"]=a;delete b.NewTasksAreManual}a=b.NumberFiscalYearFromStart;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["NumberFiscalYearFromStart"]=a;delete b.NumberFiscalYearFromStart}a=b.Owner;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Owner",this.get_owner(),a);this.get_owner().fromJson(a);delete b.Owner}a=b.ProjectIdentifier;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ProjectIdentifier"]=a;delete b.ProjectIdentifier}a=b.ProjectResources;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("ProjectResources",this.get_projectResources(),a);this.get_projectResources().fromJson(a);delete b.ProjectResources}a=b.ProtectedActualsSynch;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ProtectedActualsSynch"]=a;delete b.ProtectedActualsSynch}a=b.ScheduledFromStart;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ScheduledFromStart"]=a;delete b.ScheduledFromStart}a=b.ShowEstimatedDurations;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ShowEstimatedDurations"]=a;delete b.ShowEstimatedDurations}a=b.StartDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["StartDate"]=a;delete b.StartDate}a=b.StatusDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["StatusDate"]=a;delete b.StatusDate}a=b.TaskLinks;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("TaskLinks",this.get_taskLinks(),a);this.get_taskLinks().fromJson(a);delete b.TaskLinks}a=b.Tasks;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Tasks",this.get_tasks(),a);this.get_tasks().fromJson(a);delete b.Tasks}a=b.TrackingMode;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TrackingMode"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.TrackingMode}a=b.UtilizationDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["UtilizationDate"]=a;delete b.UtilizationDate}a=b.UtilizationType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["UtilizationType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.UtilizationType}a=b.WeekStartDay;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WeekStartDay"]=a;delete b.WeekStartDay}a=b.WinprojVersion;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WinprojVersion"]=a;delete b.WinprojVersion}},$6_2:function(b){var a=this.get_fieldValues()[b];if(SP.ScriptUtility.isUndefined(a))throw Error.create(SP.ResResources.getString("PropertyHasNotBeenInitialized"));return a},refreshLoad:function(){a:;SP.ClientObject.prototype.refreshLoad.call(this);this.loadExpandoFields()},loadExpandoFields:function(){a:;var a=this.get_fieldValues();for(var b in a){var c={key:b,value:a[b]};this.retrieve(c.key)}},validate:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Validate",null);a.addQuery(b)},update:function(){a:;var a=this.get_context(),b;b=new PS.QueueJob(a,new SP.ObjectPathMethod(a,this.get_path(),"Update",null));return b},publish:function(d){a:;var a=this.get_context(),b;b=new PS.QueueJob(a,new SP.ObjectPathMethod(a,this.get_path(),"Publish",[d]));var c=new SP.ObjectIdentityQuery(this.get_path());this.get_context().addQueryIdAndResultObject(c.get_id(),this);this.get_context().addQuery(c);return b},checkIn:function(d){a:;var a=this.get_context(),b;b=new PS.QueueJob(a,new SP.ObjectPathMethod(a,this.get_path(),"CheckIn",[d]));var c=new SP.ObjectIdentityQuery(this.get_path());this.get_context().addQueryIdAndResultObject(c.get_id(),this);this.get_context().addQuery(c);return b}};PS.DraftProjectPropertyNames=function(){};PS.DraftProjectObjectPropertyNames=function(){};PS.DraftProjectResource=function(b,a){a:;PS.DraftProjectResource.initializeBase(this,[b,a])};PS.DraftProjectResource.prototype={get_fieldValues:function(){a:;var a=this.get_objectData().get_methodReturnObjects()["$m_dict"];if(SP.ScriptUtility.isNullOrUndefined(a)){a={};this.get_objectData().get_methodReturnObjects()["$m_dict"]=a}return a},get_item:function(a){a:;return this.$6_2(a)},set_item:function(b,a){a:;this.$K_2(b,a);return a},get_assignments:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Assignments"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.DraftAssignmentCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Assignments"));this.get_objectData().get_clientObjectProperties()["Assignments"]=a}return a},get_canLevel:function(){a:;this.checkUninitializedProperty("CanLevel");return this.get_objectData().get_properties()["CanLevel"]},set_canLevel:function(a){a:;this.get_objectData().get_properties()["CanLevel"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CanLevel",a));return a},get_code:function(){a:;this.checkUninitializedProperty("Code");return this.get_objectData().get_properties()["Code"]},set_code:function(a){a:;this.get_objectData().get_properties()["Code"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Code",a));return a},get_costAccrual:function(){a:;this.checkUninitializedProperty("CostAccrual");return this.get_objectData().get_properties()["CostAccrual"]},set_costAccrual:function(a){a:;this.get_objectData().get_properties()["CostAccrual"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CostAccrual",a));return a},get_costCenter:function(){a:;this.checkUninitializedProperty("CostCenter");return this.get_objectData().get_properties()["CostCenter"]},set_costCenter:function(a){a:;this.get_objectData().get_properties()["CostCenter"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CostCenter",a));return a},get_costPerUse:function(){a:;this.checkUninitializedProperty("CostPerUse");return this.get_objectData().get_properties()["CostPerUse"]},set_costPerUse:function(a){a:;this.get_objectData().get_properties()["CostPerUse"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CostPerUse",a));return a},get_defaultAssignmentOwner:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["DefaultAssignmentOwner"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"DefaultAssignmentOwner"));this.get_objectData().get_clientObjectProperties()["DefaultAssignmentOwner"]=a}return a},set_defaultAssignmentOwner:function(a){a:;this.get_objectData().get_clientObjectProperties()["DefaultAssignmentOwner"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DefaultAssignmentOwner",a));return a},get_defaultBookingType:function(){a:;this.checkUninitializedProperty("DefaultBookingType");return this.get_objectData().get_properties()["DefaultBookingType"]},set_defaultBookingType:function(a){a:;this.get_objectData().get_properties()["DefaultBookingType"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DefaultBookingType",a));return a},get_email:function(){a:;this.checkUninitializedProperty("Email");return this.get_objectData().get_properties()["Email"]},set_email:function(a){a:;this.get_objectData().get_properties()["Email"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Email",a));return a},get_group:function(){a:;this.checkUninitializedProperty("Group");return this.get_objectData().get_properties()["Group"]},set_group:function(a){a:;this.get_objectData().get_properties()["Group"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Group",a));return a},get_initials:function(){a:;this.checkUninitializedProperty("Initials");return this.get_objectData().get_properties()["Initials"]},set_initials:function(a){a:;this.get_objectData().get_properties()["Initials"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Initials",a));return a},get_materialLabel:function(){a:;this.checkUninitializedProperty("MaterialLabel");return this.get_objectData().get_properties()["MaterialLabel"]},set_materialLabel:function(a){a:;this.get_objectData().get_properties()["MaterialLabel"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"MaterialLabel",a));return a},get_maximumCapacity:function(){a:;this.checkUninitializedProperty("MaximumCapacity");return this.get_objectData().get_properties()["MaximumCapacity"]},set_maximumCapacity:function(a){a:;this.get_objectData().get_properties()["MaximumCapacity"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"MaximumCapacity",a));return a},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},set_name:function(a){a:;this.get_objectData().get_properties()["Name"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Name",a));return a},get_overtimeRate:function(){a:;this.checkUninitializedProperty("OvertimeRate");return this.get_objectData().get_properties()["OvertimeRate"]},set_overtimeRate:function(a){a:;this.get_objectData().get_properties()["OvertimeRate"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"OvertimeRate",a));return a},get_overtimeRateUnits:function(){a:;this.checkUninitializedProperty("OvertimeRateUnits");return this.get_objectData().get_properties()["OvertimeRateUnits"]},set_overtimeRateUnits:function(a){a:;this.get_objectData().get_properties()["OvertimeRateUnits"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"OvertimeRateUnits",a));return a},get_phonetics:function(){a:;this.checkUninitializedProperty("Phonetics");return this.get_objectData().get_properties()["Phonetics"]},set_phonetics:function(a){a:;this.get_objectData().get_properties()["Phonetics"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Phonetics",a));return a},get_standardRate:function(){a:;this.checkUninitializedProperty("StandardRate");return this.get_objectData().get_properties()["StandardRate"]},set_standardRate:function(a){a:;this.get_objectData().get_properties()["StandardRate"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"StandardRate",a));return a},get_standardRateUnits:function(){a:;this.checkUninitializedProperty("StandardRateUnits");return this.get_objectData().get_properties()["StandardRateUnits"]},set_standardRateUnits:function(a){a:;this.get_objectData().get_properties()["StandardRateUnits"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"StandardRateUnits",a));return a},initNonPropertiesFromJson:function(a){a:;SP.DataConvert.populateDictionaryFromObject(this.get_fieldValues(),a);SP.DataConvert.fixupTypes(this.get_context(),this.get_fieldValues())},initPropertiesFromJson:function(b){a:;PS.ProjectResource.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Assignments;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Assignments",this.get_assignments(),a);this.get_assignments().fromJson(a);delete b.Assignments}a=b.CanLevel;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CanLevel"]=a;delete b.CanLevel}a=b.Code;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Code"]=a;delete b.Code}a=b.CostAccrual;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CostAccrual"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.CostAccrual}a=b.CostCenter;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CostCenter"]=a;delete b.CostCenter}a=b.CostPerUse;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CostPerUse"]=a;delete b.CostPerUse}a=b.DefaultAssignmentOwner;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("DefaultAssignmentOwner",this.get_defaultAssignmentOwner(),a);this.get_defaultAssignmentOwner().fromJson(a);delete b.DefaultAssignmentOwner}a=b.DefaultBookingType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultBookingType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.DefaultBookingType}a=b.Email;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Email"]=a;delete b.Email}a=b.Group;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Group"]=a;delete b.Group}a=b.Initials;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Initials"]=a;delete b.Initials}a=b.MaterialLabel;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["MaterialLabel"]=a;delete b.MaterialLabel}a=b.MaximumCapacity;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["MaximumCapacity"]=a;delete b.MaximumCapacity}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.OvertimeRate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OvertimeRate"]=a;delete b.OvertimeRate}a=b.OvertimeRateUnits;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OvertimeRateUnits"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.OvertimeRateUnits}a=b.Phonetics;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Phonetics"]=a;delete b.Phonetics}a=b.StandardRate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["StandardRate"]=a;delete b.StandardRate}a=b.StandardRateUnits;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["StandardRateUnits"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.StandardRateUnits}},$6_2:function(b){var a=this.get_fieldValues()[b];if(SP.ScriptUtility.isUndefined(a))throw Error.create(SP.ResResources.getString("PropertyHasNotBeenInitialized"));return a},refreshLoad:function(){a:;SP.ClientObject.prototype.refreshLoad.call(this);this.loadExpandoFields()},loadExpandoFields:function(){a:;var a=this.get_fieldValues();for(var b in a){var c={key:b,value:a[b]};this.retrieve(c.key)}},$K_2:function(b,c){var a=this.get_context();this.get_fieldValues()[b]=c;var d=new SP.ClientActionInvokeMethod(this,"SetCustomFieldValue",[b,c]);a&&a.addQuery(d)},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b);this.removeFromParentCollection()}};PS.DraftProjectResourcePropertyNames=function(){};PS.DraftProjectResourceObjectPropertyNames=function(){};PS.DraftProjectResourceCollection=function(b,a){a:;PS.DraftProjectResourceCollection.initializeBase(this,[b,a])};PS.DraftProjectResourceCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.DraftProjectResource},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.DraftProjectResource(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.DraftProjectResource(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a},add:function(d){a:;var b=this.get_context(),a;a=new PS.DraftProjectResource(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a},addEnterpriseResource:function(d){a:;var b=this.get_context(),a;a=new PS.DraftProjectResource(b,new SP.ObjectPathMethod(b,this.get_path(),"AddEnterpriseResource",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a},remove:function(b){a:;var c=this.get_context(),a,d=new SP.ClientActionInvokeMethod(this,"Remove",[b]);c.addQuery(d);a=new SP.BooleanResult;c.addQueryIdAndResultObject(d.get_id(),a);this.removeChild(b);return a}};PS.DraftTask=function(b,a){a:;PS.DraftTask.initializeBase(this,[b,a])};PS.DraftTask.prototype={get_fieldValues:function(){a:;var a=this.get_objectData().get_methodReturnObjects()["$m_dict"];if(SP.ScriptUtility.isNullOrUndefined(a)){a={};this.get_objectData().get_methodReturnObjects()["$m_dict"]=a}return a},get_item:function(a){a:;return this.$6_2(a)},set_item:function(b,a){a:;this.$K_2(b,a);return a},get_actualCost:function(){a:;this.checkUninitializedProperty("ActualCost");return this.get_objectData().get_properties()["ActualCost"]},set_actualCost:function(a){a:;this.get_objectData().get_properties()["ActualCost"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ActualCost",a));return a},get_actualFinish:function(){a:;this.checkUninitializedProperty("ActualFinish");return this.get_objectData().get_properties()["ActualFinish"]},set_actualFinish:function(a){a:;this.get_objectData().get_properties()["ActualFinish"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ActualFinish",a));return a},get_actualStart:function(){a:;this.checkUninitializedProperty("ActualStart");return this.get_objectData().get_properties()["ActualStart"]},set_actualStart:function(a){a:;this.get_objectData().get_properties()["ActualStart"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ActualStart",a));return a},get_actualWork:function(){a:;this.checkUninitializedProperty("ActualWork");return this.get_objectData().get_properties()["ActualWork"]},set_actualWork:function(a){a:;this.get_objectData().get_properties()["ActualWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ActualWork",a));return a},get_actualWorkMilliseconds:function(){a:;this.checkUninitializedProperty("ActualWorkMilliseconds");return this.get_objectData().get_properties()["ActualWorkMilliseconds"]},set_actualWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["ActualWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ActualWorkMilliseconds",a));return a},get_assignments:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Assignments"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.DraftAssignmentCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Assignments"));this.get_objectData().get_clientObjectProperties()["Assignments"]=a}return a},get_budgetWork:function(){a:;this.checkUninitializedProperty("BudgetWork");return this.get_objectData().get_properties()["BudgetWork"]},set_budgetWork:function(a){a:;this.get_objectData().get_properties()["BudgetWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"BudgetWork",a));return a},get_budgetWorkMilliseconds:function(){a:;this.checkUninitializedProperty("BudgetWorkMilliseconds");return this.get_objectData().get_properties()["BudgetWorkMilliseconds"]},set_budgetWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["BudgetWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"BudgetWorkMilliseconds",a));return a},get_calendar:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Calendar"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.Calendar(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Calendar"));this.get_objectData().get_clientObjectProperties()["Calendar"]=a}return a},set_calendar:function(a){a:;this.get_objectData().get_clientObjectProperties()["Calendar"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Calendar",a));return a},get_completion:function(){a:;this.checkUninitializedProperty("Completion");return this.get_objectData().get_properties()["Completion"]},set_completion:function(a){a:;this.get_objectData().get_properties()["Completion"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Completion",a));return a},get_constraintStartEnd:function(){a:;this.checkUninitializedProperty("ConstraintStartEnd");return this.get_objectData().get_properties()["ConstraintStartEnd"]},set_constraintStartEnd:function(a){a:;this.get_objectData().get_properties()["ConstraintStartEnd"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ConstraintStartEnd",a));return a},get_constraintType:function(){a:;this.checkUninitializedProperty("ConstraintType");return this.get_objectData().get_properties()["ConstraintType"]},set_constraintType:function(a){a:;this.get_objectData().get_properties()["ConstraintType"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ConstraintType",a));return a},get_cost:function(){a:;this.checkUninitializedProperty("Cost");return this.get_objectData().get_properties()["Cost"]},set_cost:function(a){a:;this.get_objectData().get_properties()["Cost"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Cost",a));return a},get_deadline:function(){a:;this.checkUninitializedProperty("Deadline");return this.get_objectData().get_properties()["Deadline"]},set_deadline:function(a){a:;this.get_objectData().get_properties()["Deadline"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Deadline",a));return a},get_duration:function(){a:;this.checkUninitializedProperty("Duration");return this.get_objectData().get_properties()["Duration"]},set_duration:function(a){a:;this.get_objectData().get_properties()["Duration"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Duration",a));return a},get_durationMilliseconds:function(){a:;this.checkUninitializedProperty("DurationMilliseconds");return this.get_objectData().get_properties()["DurationMilliseconds"]},set_durationMilliseconds:function(a){a:;this.get_objectData().get_properties()["DurationMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DurationMilliseconds",a));return a},get_finish:function(){a:;this.checkUninitializedProperty("Finish");return this.get_objectData().get_properties()["Finish"]},set_finish:function(a){a:;this.get_objectData().get_properties()["Finish"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Finish",a));return a},get_finishText:function(){a:;this.checkUninitializedProperty("FinishText");return this.get_objectData().get_properties()["FinishText"]},set_finishText:function(a){a:;this.get_objectData().get_properties()["FinishText"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"FinishText",a));return a},get_fixedCost:function(){a:;this.checkUninitializedProperty("FixedCost");return this.get_objectData().get_properties()["FixedCost"]},set_fixedCost:function(a){a:;this.get_objectData().get_properties()["FixedCost"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"FixedCost",a));return a},get_isActive:function(){a:;this.checkUninitializedProperty("IsActive");return this.get_objectData().get_properties()["IsActive"]},set_isActive:function(a){a:;this.get_objectData().get_properties()["IsActive"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsActive",a));return a},get_isEffortDriven:function(){a:;this.checkUninitializedProperty("IsEffortDriven");return this.get_objectData().get_properties()["IsEffortDriven"]},set_isEffortDriven:function(a){a:;this.get_objectData().get_properties()["IsEffortDriven"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsEffortDriven",a));return a},get_isLockedByManager:function(){a:;this.checkUninitializedProperty("IsLockedByManager");return this.get_objectData().get_properties()["IsLockedByManager"]},set_isLockedByManager:function(a){a:;this.get_objectData().get_properties()["IsLockedByManager"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsLockedByManager",a));return a},get_isManual:function(){a:;this.checkUninitializedProperty("IsManual");return this.get_objectData().get_properties()["IsManual"]},set_isManual:function(a){a:;this.get_objectData().get_properties()["IsManual"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsManual",a));return a},get_isMarked:function(){a:;this.checkUninitializedProperty("IsMarked");return this.get_objectData().get_properties()["IsMarked"]},set_isMarked:function(a){a:;this.get_objectData().get_properties()["IsMarked"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsMarked",a));return a},get_isMilestone:function(){a:;this.checkUninitializedProperty("IsMilestone");return this.get_objectData().get_properties()["IsMilestone"]},set_isMilestone:function(a){a:;this.get_objectData().get_properties()["IsMilestone"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsMilestone",a));return a},get_levelingAdjustsAssignments:function(){a:;this.checkUninitializedProperty("LevelingAdjustsAssignments");return this.get_objectData().get_properties()["LevelingAdjustsAssignments"]},set_levelingAdjustsAssignments:function(a){a:;this.get_objectData().get_properties()["LevelingAdjustsAssignments"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"LevelingAdjustsAssignments",a));return a},get_levelingCanSplit:function(){a:;this.checkUninitializedProperty("LevelingCanSplit");return this.get_objectData().get_properties()["LevelingCanSplit"]},set_levelingCanSplit:function(a){a:;this.get_objectData().get_properties()["LevelingCanSplit"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"LevelingCanSplit",a));return a},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},set_name:function(a){a:;this.get_objectData().get_properties()["Name"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Name",a));return a},get_outlineLevel:function(){a:;this.checkUninitializedProperty("OutlineLevel");return this.get_objectData().get_properties()["OutlineLevel"]},set_outlineLevel:function(a){a:;this.get_objectData().get_properties()["OutlineLevel"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"OutlineLevel",a));return a},get_parent:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Parent"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.DraftTask(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Parent"));this.get_objectData().get_clientObjectProperties()["Parent"]=a}return a},get_percentComplete:function(){a:;this.checkUninitializedProperty("PercentComplete");return this.get_objectData().get_properties()["PercentComplete"]},set_percentComplete:function(a){a:;this.get_objectData().get_properties()["PercentComplete"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"PercentComplete",a));return a},get_percentPhysicalWorkComplete:function(){a:;this.checkUninitializedProperty("PercentPhysicalWorkComplete");return this.get_objectData().get_properties()["PercentPhysicalWorkComplete"]},set_percentPhysicalWorkComplete:function(a){a:;this.get_objectData().get_properties()["PercentPhysicalWorkComplete"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"PercentPhysicalWorkComplete",a));return a},get_predecessors:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Predecessors"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.DraftTaskLinkCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Predecessors"));this.get_objectData().get_clientObjectProperties()["Predecessors"]=a}return a},get_priority:function(){a:;this.checkUninitializedProperty("Priority");return this.get_objectData().get_properties()["Priority"]},set_priority:function(a){a:;this.get_objectData().get_properties()["Priority"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Priority",a));return a},get_remainingDuration:function(){a:;this.checkUninitializedProperty("RemainingDuration");return this.get_objectData().get_properties()["RemainingDuration"]},set_remainingDuration:function(a){a:;this.get_objectData().get_properties()["RemainingDuration"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RemainingDuration",a));return a},get_remainingDurationMilliseconds:function(){a:;this.checkUninitializedProperty("RemainingDurationMilliseconds");return this.get_objectData().get_properties()["RemainingDurationMilliseconds"]},set_remainingDurationMilliseconds:function(a){a:;this.get_objectData().get_properties()["RemainingDurationMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RemainingDurationMilliseconds",a));return a},get_start:function(){a:;this.checkUninitializedProperty("Start");return this.get_objectData().get_properties()["Start"]},set_start:function(a){a:;this.get_objectData().get_properties()["Start"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Start",a));return a},get_startText:function(){a:;this.checkUninitializedProperty("StartText");return this.get_objectData().get_properties()["StartText"]},set_startText:function(a){a:;this.get_objectData().get_properties()["StartText"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"StartText",a));return a},get_statusManager:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["StatusManager"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"StatusManager"));this.get_objectData().get_clientObjectProperties()["StatusManager"]=a}return a},set_statusManager:function(a){a:;this.get_objectData().get_clientObjectProperties()["StatusManager"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"StatusManager",a));return a},get_successors:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Successors"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.DraftTaskLinkCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Successors"));this.get_objectData().get_clientObjectProperties()["Successors"]=a}return a},get_taskType:function(){a:;this.checkUninitializedProperty("TaskType");return this.get_objectData().get_properties()["TaskType"]},set_taskType:function(a){a:;this.get_objectData().get_properties()["TaskType"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TaskType",a));return a},get_usePercentPhysicalWorkComplete:function(){a:;this.checkUninitializedProperty("UsePercentPhysicalWorkComplete");return this.get_objectData().get_properties()["UsePercentPhysicalWorkComplete"]},set_usePercentPhysicalWorkComplete:function(a){a:;this.get_objectData().get_properties()["UsePercentPhysicalWorkComplete"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"UsePercentPhysicalWorkComplete",a));return a},get_work:function(){a:;this.checkUninitializedProperty("Work");return this.get_objectData().get_properties()["Work"]},set_work:function(a){a:;this.get_objectData().get_properties()["Work"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Work",a));return a},get_workMilliseconds:function(){a:;this.checkUninitializedProperty("WorkMilliseconds");return this.get_objectData().get_properties()["WorkMilliseconds"]},set_workMilliseconds:function(a){a:;this.get_objectData().get_properties()["WorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"WorkMilliseconds",a));return a},initNonPropertiesFromJson:function(a){a:;SP.DataConvert.populateDictionaryFromObject(this.get_fieldValues(),a);SP.DataConvert.fixupTypes(this.get_context(),this.get_fieldValues())},initPropertiesFromJson:function(b){a:;PS.Task.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ActualCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualCost"]=a;delete b.ActualCost}a=b.ActualFinish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualFinish"]=a;delete b.ActualFinish}a=b.ActualStart;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualStart"]=a;delete b.ActualStart}a=b.ActualWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualWork"]=a;delete b.ActualWork}a=b.ActualWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualWorkMilliseconds"]=a;delete b.ActualWorkMilliseconds}a=b.Assignments;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Assignments",this.get_assignments(),a);this.get_assignments().fromJson(a);delete b.Assignments}a=b.BudgetWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BudgetWork"]=a;delete b.BudgetWork}a=b.BudgetWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BudgetWorkMilliseconds"]=a;delete b.BudgetWorkMilliseconds}a=b.Calendar;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Calendar",this.get_calendar(),a);this.get_calendar().fromJson(a);delete b.Calendar}a=b.Completion;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Completion"]=a;delete b.Completion}a=b.ConstraintStartEnd;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ConstraintStartEnd"]=a;delete b.ConstraintStartEnd}a=b.ConstraintType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ConstraintType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.ConstraintType}a=b.Cost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Cost"]=a;delete b.Cost}a=b.Deadline;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Deadline"]=a;delete b.Deadline}a=b.Duration;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Duration"]=a;delete b.Duration}a=b.DurationMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DurationMilliseconds"]=a;delete b.DurationMilliseconds}a=b.Finish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Finish"]=a;delete b.Finish}a=b.FinishText;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FinishText"]=a;delete b.FinishText}a=b.FixedCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FixedCost"]=a;delete b.FixedCost}a=b.IsActive;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsActive"]=a;delete b.IsActive}a=b.IsEffortDriven;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsEffortDriven"]=a;delete b.IsEffortDriven}a=b.IsLockedByManager;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsLockedByManager"]=a;delete b.IsLockedByManager}a=b.IsManual;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsManual"]=a;delete b.IsManual}a=b.IsMarked;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsMarked"]=a;delete b.IsMarked}a=b.IsMilestone;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsMilestone"]=a;delete b.IsMilestone}a=b.LevelingAdjustsAssignments;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["LevelingAdjustsAssignments"]=a;delete b.LevelingAdjustsAssignments}a=b.LevelingCanSplit;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["LevelingCanSplit"]=a;delete b.LevelingCanSplit}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.OutlineLevel;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OutlineLevel"]=a;delete b.OutlineLevel}a=b.Parent;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Parent",this.get_parent(),a);this.get_parent().fromJson(a);delete b.Parent}a=b.PercentComplete;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PercentComplete"]=a;delete b.PercentComplete}a=b.PercentPhysicalWorkComplete;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PercentPhysicalWorkComplete"]=a;delete b.PercentPhysicalWorkComplete}a=b.Predecessors;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Predecessors",this.get_predecessors(),a);this.get_predecessors().fromJson(a);delete b.Predecessors}a=b.Priority;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Priority"]=a;delete b.Priority}a=b.RemainingDuration;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingDuration"]=a;delete b.RemainingDuration}a=b.RemainingDurationMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingDurationMilliseconds"]=a;delete b.RemainingDurationMilliseconds}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Start"]=a;delete b.Start}a=b.StartText;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["StartText"]=a;delete b.StartText}a=b.StatusManager;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("StatusManager",this.get_statusManager(),a);this.get_statusManager().fromJson(a);delete b.StatusManager}a=b.Successors;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Successors",this.get_successors(),a);this.get_successors().fromJson(a);delete b.Successors}a=b.TaskType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TaskType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.TaskType}a=b.UsePercentPhysicalWorkComplete;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["UsePercentPhysicalWorkComplete"]=a;delete b.UsePercentPhysicalWorkComplete}a=b.Work;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Work"]=a;delete b.Work}a=b.WorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WorkMilliseconds"]=a;delete b.WorkMilliseconds}},$6_2:function(b){var a=this.get_fieldValues()[b];if(SP.ScriptUtility.isUndefined(a))throw Error.create(SP.ResResources.getString("PropertyHasNotBeenInitialized"));return a},refreshLoad:function(){a:;SP.ClientObject.prototype.refreshLoad.call(this);this.loadExpandoFields()},loadExpandoFields:function(){a:;var a=this.get_fieldValues();for(var b in a){var c={key:b,value:a[b]};this.retrieve(c.key)}},$K_2:function(b,c){var a=this.get_context();this.get_fieldValues()[b]=c;var d=new SP.ClientActionInvokeMethod(this,"SetCustomFieldValue",[b,c]);a&&a.addQuery(d)},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b);this.removeFromParentCollection()}};PS.DraftTaskPropertyNames=function(){};PS.DraftTaskObjectPropertyNames=function(){};PS.DraftTaskCollection=function(b,a){a:;PS.DraftTaskCollection.initializeBase(this,[b,a])};PS.DraftTaskCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.DraftTask},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.DraftTask(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.DraftTask(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a},add:function(d){a:;var b=this.get_context(),a;a=new PS.DraftTask(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a},remove:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"Remove",[d]);b.addQuery(c);a=new SP.BooleanResult;b.addQueryIdAndResultObject(c.get_id(),a);this.removeChild(d);return a}};PS.DraftTaskLink=function(b,a){a:;PS.DraftTaskLink.initializeBase(this,[b,a])};PS.DraftTaskLink.prototype={get_dependencyType:function(){a:;this.checkUninitializedProperty("DependencyType");return this.get_objectData().get_properties()["DependencyType"]},set_dependencyType:function(a){a:;this.get_objectData().get_properties()["DependencyType"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DependencyType",a));return a},get_end:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["End"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.DraftTask(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"End"));this.get_objectData().get_clientObjectProperties()["End"]=a}return a},get_start:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Start"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.DraftTask(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Start"));this.get_objectData().get_clientObjectProperties()["Start"]=a}return a},initPropertiesFromJson:function(b){a:;PS.TaskLink.prototype.initPropertiesFromJson.call(this,b);var a;a=b.DependencyType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DependencyType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.DependencyType}a=b.End;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("End",this.get_end(),a);this.get_end().fromJson(a);delete b.End}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Start",this.get_start(),a);this.get_start().fromJson(a);delete b.Start}},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b);this.removeFromParentCollection()}};PS.DraftTaskLinkPropertyNames=function(){};PS.DraftTaskLinkObjectPropertyNames=function(){};PS.DraftTaskLinkCollection=function(b,a){a:;PS.DraftTaskLinkCollection.initializeBase(this,[b,a])};PS.DraftTaskLinkCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.DraftTaskLink},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.DraftTaskLink(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.DraftTaskLink(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a},add:function(d){a:;var b=this.get_context(),a;a=new PS.DraftTaskLink(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a},remove:function(b){a:;var c=this.get_context(),a,d=new SP.ClientActionInvokeMethod(this,"Remove",[b]);c.addQuery(d);a=new SP.BooleanResult;c.addQueryIdAndResultObject(d.get_id(),a);this.removeChild(b);return a}};PS.Engagement=function(b,a){a:;PS.Engagement.initializeBase(this,[b,a])};PS.Engagement.prototype={get_comments:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Comments"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.EngagementCommentCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Comments"));this.get_objectData().get_clientObjectProperties()["Comments"]=a}return a},get_createdDate:function(){a:;this.checkUninitializedProperty("CreatedDate");return this.get_objectData().get_properties()["CreatedDate"]},get_description:function(){a:;this.checkUninitializedProperty("Description");return this.get_objectData().get_properties()["Description"]},set_description:function(a){a:;this.get_objectData().get_properties()["Description"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Description",a));return a},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_modified:function(){a:;this.checkUninitializedProperty("Modified");return this.get_objectData().get_properties()["Modified"]},get_modifiedBy:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["ModifiedBy"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"ModifiedBy"));this.get_objectData().get_clientObjectProperties()["ModifiedBy"]=a}return a},get_project:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Project"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.Project(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Project"));this.get_objectData().get_clientObjectProperties()["Project"]=a}return a},get_resource:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Resource"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.EnterpriseResource(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Resource"));this.get_objectData().get_clientObjectProperties()["Resource"]=a}return a},set_resource:function(a){a:;this.get_objectData().get_clientObjectProperties()["Resource"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Resource",a));return a},get_reviewedBy:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["ReviewedBy"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"ReviewedBy"));this.get_objectData().get_clientObjectProperties()["ReviewedBy"]=a}return a},get_reviewedDate:function(){a:;this.checkUninitializedProperty("ReviewedDate");return this.get_objectData().get_properties()["ReviewedDate"]},get_status:function(){a:;this.checkUninitializedProperty("Status");return this.get_objectData().get_properties()["Status"]},set_status:function(a){a:;this.get_objectData().get_properties()["Status"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Status",a));return a},get_submittedBy:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["SubmittedBy"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"SubmittedBy"));this.get_objectData().get_clientObjectProperties()["SubmittedBy"]=a}return a},get_submittedDate:function(){a:;this.checkUninitializedProperty("SubmittedDate");return this.get_objectData().get_properties()["SubmittedDate"]},get_timephasedEditsOnly:function(){a:;this.checkUninitializedProperty("TimephasedEditsOnly");return this.get_objectData().get_properties()["TimephasedEditsOnly"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Comments;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Comments",this.get_comments(),a);this.get_comments().fromJson(a);delete b.Comments}a=b.CreatedDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CreatedDate"]=a;delete b.CreatedDate}a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Description"]=a;delete b.Description}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.Modified;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Modified"]=a;delete b.Modified}a=b.ModifiedBy;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("ModifiedBy",this.get_modifiedBy(),a);this.get_modifiedBy().fromJson(a);delete b.ModifiedBy}a=b.Project;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Project",this.get_project(),a);this.get_project().fromJson(a);delete b.Project}a=b.Resource;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Resource",this.get_resource(),a);this.get_resource().fromJson(a);delete b.Resource}a=b.ReviewedBy;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("ReviewedBy",this.get_reviewedBy(),a);this.get_reviewedBy().fromJson(a);delete b.ReviewedBy}a=b.ReviewedDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ReviewedDate"]=a;delete b.ReviewedDate}a=b.Status;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Status"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.Status}a=b.SubmittedBy;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("SubmittedBy",this.get_submittedBy(),a);this.get_submittedBy().fromJson(a);delete b.SubmittedBy}a=b.SubmittedDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["SubmittedDate"]=a;delete b.SubmittedDate}a=b.TimephasedEditsOnly;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TimephasedEditsOnly"]=a;delete b.TimephasedEditsOnly}}};PS.EngagementPropertyNames=function(){};PS.EngagementObjectPropertyNames=function(){};PS.EngagementComment=function(b,a){a:;PS.EngagementComment.initializeBase(this,[b,a])};PS.EngagementComment.prototype={get_author:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Author"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Author"));this.get_objectData().get_clientObjectProperties()["Author"]=a}return a},get_created:function(){a:;this.checkUninitializedProperty("Created");return this.get_objectData().get_properties()["Created"]},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_message:function(){a:;this.checkUninitializedProperty("Message");return this.get_objectData().get_properties()["Message"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Author;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Author",this.get_author(),a);this.get_author().fromJson(a);delete b.Author}a=b.Created;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Created"]=a;delete b.Created}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.Message;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Message"]=a;delete b.Message}}};PS.EngagementCommentPropertyNames=function(){};PS.EngagementCommentObjectPropertyNames=function(){};PS.EngagementCommentCollection=function(b,a){a:;PS.EngagementCommentCollection.initializeBase(this,[b,a])};PS.EngagementCommentCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.EngagementComment},add:function(c){a:;var a=this.get_context(),b;b=new PS.EngagementComment(a,new SP.ObjectPathMethod(a,this.get_path(),"Add",[c]));return b}};PS.EngagementCreationInformation=function(){a:;PS.EngagementCreationInformation.initializeBase(this)};PS.EngagementCreationInformation.prototype={$2_1:null,$5_1:null,$0_1:null,$E_1:0,$3_1:null,$Q_1:null,$A_1:null,$J_1:0,get_description:function(){a:;return this.$2_1},set_description:function(a){a:;this.$2_1=a;return a},get_finish:function(){a:;return this.$5_1},set_finish:function(a){a:;this.$5_1=a;return a},get_id:function(){a:;return this.$0_1},set_id:function(a){a:;this.$0_1=a;return a},get_maxUnits:function(){a:;return this.$E_1},set_maxUnits:function(a){a:;this.$E_1=a;return a},get_start:function(){a:;return this.$3_1},set_start:function(a){a:;this.$3_1=a;return a},get_timephasedPeriodData:function(){a:;return this.$Q_1},set_timephasedPeriodData:function(a){a:;this.$Q_1=a;return a},get_work:function(){a:;return this.$A_1},set_work:function(a){a:;this.$A_1=a;return a},get_workMilliseconds:function(){a:;return this.$J_1},set_workMilliseconds:function(a){a:;this.$J_1=a;return a},get_typeId:function(){a:;return "{52253f4e-712f-40c2-a9a3-a4f429affdf0}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Description","Finish","Id","MaxUnits","Start","TimephasedPeriodData","Work","WorkMilliseconds"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.$2_1=a;delete b.Description}a=b.Finish;if(!SP.ScriptUtility.isUndefined(a)){this.$5_1=a;delete b.Finish}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Id}a=b.MaxUnits;if(!SP.ScriptUtility.isUndefined(a)){this.$E_1=a;delete b.MaxUnits}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.$3_1=a;delete b.Start}a=b.TimephasedPeriodData;if(!SP.ScriptUtility.isUndefined(a)){this.$Q_1=[];SP.DataConvert.populateArray(null,this.$Q_1,a);delete b.TimephasedPeriodData}a=b.Work;if(!SP.ScriptUtility.isUndefined(a)){this.$A_1=a;delete b.Work}a=b.WorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.$J_1=a;delete b.WorkMilliseconds}}};PS.EngagementSaveConflictException=function(){a:;PS.EngagementSaveConflictException.initializeBase(this)};PS.EngagementSaveConflictException.prototype={get_typeId:function(){a:;return "{33d7a6a8-1b61-42ea-92b7-33f5c069d7c0}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");SP.ClientValueObject.prototype.writeToXml.call(this,b,a)}};PS.EngagementTimephasedPeriod=function(b,a){a:;PS.EngagementTimephasedPeriod.initializeBase(this,[b,a])};PS.EngagementTimephasedPeriod.prototype={get_end:function(){a:;this.checkUninitializedProperty("End");return this.get_objectData().get_properties()["End"]},get_maxUnits:function(){a:;this.checkUninitializedProperty("MaxUnits");return this.get_objectData().get_properties()["MaxUnits"]},set_maxUnits:function(a){a:;this.get_objectData().get_properties()["MaxUnits"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"MaxUnits",a));return a},get_start:function(){a:;this.checkUninitializedProperty("Start");return this.get_objectData().get_properties()["Start"]},get_work:function(){a:;this.checkUninitializedProperty("Work");return this.get_objectData().get_properties()["Work"]},set_work:function(a){a:;this.get_objectData().get_properties()["Work"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Work",a));return a},get_workMilliseconds:function(){a:;this.checkUninitializedProperty("WorkMilliseconds");return this.get_objectData().get_properties()["WorkMilliseconds"]},set_workMilliseconds:function(a){a:;this.get_objectData().get_properties()["WorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"WorkMilliseconds",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.End;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["End"]=a;delete b.End}a=b.MaxUnits;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["MaxUnits"]=a;delete b.MaxUnits}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Start"]=a;delete b.Start}a=b.Work;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Work"]=a;delete b.Work}a=b.WorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WorkMilliseconds"]=a;delete b.WorkMilliseconds}}};PS.EngagementTimephasedPeriodPropertyNames=function(){};PS.EngagementTimephasedPeriodCreationInformation=function(){a:;PS.EngagementTimephasedPeriodCreationInformation.initializeBase(this)};PS.EngagementTimephasedPeriodCreationInformation.prototype={$D_1:null,$E_1:0,$3_1:null,$A_1:null,$J_1:0,get_end:function(){a:;return this.$D_1},set_end:function(a){a:;this.$D_1=a;return a},get_maxUnits:function(){a:;return this.$E_1},set_maxUnits:function(a){a:;this.$E_1=a;return a},get_start:function(){a:;return this.$3_1},set_start:function(a){a:;this.$3_1=a;return a},get_work:function(){a:;return this.$A_1},set_work:function(a){a:;this.$A_1=a;return a},get_workMilliseconds:function(){a:;return this.$J_1},set_workMilliseconds:function(a){a:;this.$J_1=a;return a},get_typeId:function(){a:;return "{af0665d0-6c93-4a50-bbaa-0e970a188754}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["End","MaxUnits","Start","Work","WorkMilliseconds"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.End;if(!SP.ScriptUtility.isUndefined(a)){this.$D_1=a;delete b.End}a=b.MaxUnits;if(!SP.ScriptUtility.isUndefined(a)){this.$E_1=a;delete b.MaxUnits}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.$3_1=a;delete b.Start}a=b.Work;if(!SP.ScriptUtility.isUndefined(a)){this.$A_1=a;delete b.Work}a=b.WorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.$J_1=a;delete b.WorkMilliseconds}}};PS.EnterpriseProjectType=function(b,a){a:;PS.EnterpriseProjectType.initializeBase(this,[b,a])};PS.EnterpriseProjectType.prototype={get_departments:function(){a:;this.checkUninitializedProperty("Departments");return this.get_objectData().get_properties()["Departments"]},get_description:function(){a:;this.checkUninitializedProperty("Description");return this.get_objectData().get_properties()["Description"]},set_description:function(a){a:;this.get_objectData().get_properties()["Description"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Description",a));return a},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_imageUrl:function(){a:;this.checkUninitializedProperty("ImageUrl");return this.get_objectData().get_properties()["ImageUrl"]},set_imageUrl:function(a){a:;this.get_objectData().get_properties()["ImageUrl"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ImageUrl",a));return a},get_isDefault:function(){a:;this.checkUninitializedProperty("IsDefault");return this.get_objectData().get_properties()["IsDefault"]},set_isDefault:function(a){a:;this.get_objectData().get_properties()["IsDefault"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsDefault",a));return a},get_isManaged:function(){a:;this.checkUninitializedProperty("IsManaged");return this.get_objectData().get_properties()["IsManaged"]},set_isManaged:function(a){a:;this.get_objectData().get_properties()["IsManaged"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsManaged",a));return a},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},set_name:function(a){a:;this.get_objectData().get_properties()["Name"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Name",a));return a},get_order:function(){a:;this.checkUninitializedProperty("Order");return this.get_objectData().get_properties()["Order"]},set_order:function(a){a:;this.get_objectData().get_properties()["Order"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Order",a));return a},get_permissionSyncEnable:function(){a:;this.checkUninitializedProperty("PermissionSyncEnable");return this.get_objectData().get_properties()["PermissionSyncEnable"]},set_permissionSyncEnable:function(a){a:;this.get_objectData().get_properties()["PermissionSyncEnable"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"PermissionSyncEnable",a));return a},get_projectDetailPages:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["ProjectDetailPages"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.ProjectDetailPageCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"ProjectDetailPages"));this.get_objectData().get_clientObjectProperties()["ProjectDetailPages"]=a}return a},get_projectPlanTemplateId:function(){a:;this.checkUninitializedProperty("ProjectPlanTemplateId");return this.get_objectData().get_properties()["ProjectPlanTemplateId"]},set_projectPlanTemplateId:function(a){a:;this.get_objectData().get_properties()["ProjectPlanTemplateId"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ProjectPlanTemplateId",a));return a},get_siteCreationOption:function(){a:;this.checkUninitializedProperty("SiteCreationOption");return this.get_objectData().get_properties()["SiteCreationOption"]},set_siteCreationOption:function(a){a:;this.get_objectData().get_properties()["SiteCreationOption"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"SiteCreationOption",a));return a},get_siteCreationURL:function(){a:;this.checkUninitializedProperty("SiteCreationURL");return this.get_objectData().get_properties()["SiteCreationURL"]},set_siteCreationURL:function(a){a:;this.get_objectData().get_properties()["SiteCreationURL"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"SiteCreationURL",a));return a},get_taskListSyncEnable:function(){a:;this.checkUninitializedProperty("TaskListSyncEnable");return this.get_objectData().get_properties()["TaskListSyncEnable"]},set_taskListSyncEnable:function(a){a:;this.get_objectData().get_properties()["TaskListSyncEnable"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TaskListSyncEnable",a));return a},get_workflowAssociationId:function(){a:;this.checkUninitializedProperty("WorkflowAssociationId");return this.get_objectData().get_properties()["WorkflowAssociationId"]},set_workflowAssociationId:function(a){a:;this.get_objectData().get_properties()["WorkflowAssociationId"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"WorkflowAssociationId",a));return a},get_workflowAssociationName:function(){a:;this.checkUninitializedProperty("WorkflowAssociationName");return this.get_objectData().get_properties()["WorkflowAssociationName"]},set_workflowAssociationName:function(a){a:;this.get_objectData().get_properties()["WorkflowAssociationName"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"WorkflowAssociationName",a));return a},get_workspaceTemplateLCID:function(){a:;this.checkUninitializedProperty("WorkspaceTemplateLCID");return this.get_objectData().get_properties()["WorkspaceTemplateLCID"]},set_workspaceTemplateLCID:function(a){a:;this.get_objectData().get_properties()["WorkspaceTemplateLCID"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"WorkspaceTemplateLCID",a));return a},get_workspaceTemplateName:function(){a:;this.checkUninitializedProperty("WorkspaceTemplateName");return this.get_objectData().get_properties()["WorkspaceTemplateName"]},set_workspaceTemplateName:function(a){a:;this.get_objectData().get_properties()["WorkspaceTemplateName"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"WorkspaceTemplateName",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Departments;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Departments"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.Departments}a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Description"]=a;delete b.Description}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.ImageUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ImageUrl"]=a;delete b.ImageUrl}a=b.IsDefault;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsDefault"]=a;delete b.IsDefault}a=b.IsManaged;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsManaged"]=a;delete b.IsManaged}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.Order;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Order"]=a;delete b.Order}a=b.PermissionSyncEnable;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PermissionSyncEnable"]=a;delete b.PermissionSyncEnable}a=b.ProjectDetailPages;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("ProjectDetailPages",this.get_projectDetailPages(),a);this.get_projectDetailPages().fromJson(a);delete b.ProjectDetailPages}a=b.ProjectPlanTemplateId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ProjectPlanTemplateId"]=a;delete b.ProjectPlanTemplateId}a=b.SiteCreationOption;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["SiteCreationOption"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.SiteCreationOption}a=b.SiteCreationURL;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["SiteCreationURL"]=a;delete b.SiteCreationURL}a=b.TaskListSyncEnable;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TaskListSyncEnable"]=a;delete b.TaskListSyncEnable}a=b.WorkflowAssociationId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WorkflowAssociationId"]=a;delete b.WorkflowAssociationId}a=b.WorkflowAssociationName;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WorkflowAssociationName"]=a;delete b.WorkflowAssociationName}a=b.WorkspaceTemplateLCID;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WorkspaceTemplateLCID"]=a;delete b.WorkspaceTemplateLCID}a=b.WorkspaceTemplateName;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WorkspaceTemplateName"]=a;delete b.WorkspaceTemplateName}},addDepartment:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"AddDepartment",[a]);b.addQuery(c)},removeDepartment:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"RemoveDepartment",[a]);b.addQuery(c)},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b);this.removeFromParentCollection()},updateCreatePDP:function(c){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"UpdateCreatePDP",[c]);a.addQuery(b)}};PS.EnterpriseProjectTypePropertyNames=function(){};PS.EnterpriseProjectTypeObjectPropertyNames=function(){};PS.EnterpriseProjectTypeCollection=function(b,a){a:;PS.EnterpriseProjectTypeCollection.initializeBase(this,[b,a])};PS.EnterpriseProjectTypeCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.EnterpriseProjectType},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.EnterpriseProjectType(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.EnterpriseProjectType(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a},update:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Update",null);a.addQuery(b)},add:function(d){a:;var b=this.get_context(),a;a=new PS.EnterpriseProjectType(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a},remove:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"Remove",[d]);b.addQuery(c);a=new SP.BooleanResult;b.addQueryIdAndResultObject(c.get_id(),a);this.removeChild(d);return a}};PS.EnterpriseProjectTypeCreationInformation=function(){a:;PS.EnterpriseProjectTypeCreationInformation.initializeBase(this)};PS.EnterpriseProjectTypeCreationInformation.prototype={$f_1:null,$2_1:null,$0_1:null,$v_1:null,$z_1:false,$14_1:false,$1_1:null,$F_1:0,$1K_1:false,$B_1:null,$1N_1:null,$1k_1:0,$1l_1:null,$1t_1:false,$1y_1:null,$1z_1:null,$21_1:0,$22_1:null,get_departmentIds:function(){a:;return this.$f_1},set_departmentIds:function(a){a:;this.$f_1=a;return a},get_description:function(){a:;return this.$2_1},set_description:function(a){a:;this.$2_1=a;return a},get_id:function(){a:;return this.$0_1},set_id:function(a){a:;this.$0_1=a;return a},get_imageUrl:function(){a:;return this.$v_1},set_imageUrl:function(a){a:;this.$v_1=a;return a},get_isDefault:function(){a:;return this.$z_1},set_isDefault:function(a){a:;this.$z_1=a;return a},get_isManaged:function(){a:;return this.$14_1},set_isManaged:function(a){a:;this.$14_1=a;return a},get_name:function(){a:;return this.$1_1},set_name:function(a){a:;this.$1_1=a;return a},get_order:function(){a:;return this.$F_1},set_order:function(a){a:;this.$F_1=a;return a},get_permissionSyncEnable:function(){a:;return this.$1K_1},set_permissionSyncEnable:function(a){a:;this.$1K_1=a;return a},get_projectDetailPages:function(){a:;return this.$B_1},set_projectDetailPages:function(a){a:;this.$B_1=a;return a},get_projectPlanTemplateId:function(){a:;return this.$1N_1},set_projectPlanTemplateId:function(a){a:;this.$1N_1=a;return a},get_siteCreationOption:function(){a:;return this.$1k_1},set_siteCreationOption:function(a){a:;this.$1k_1=a;return a},get_siteCreationURL:function(){a:;return this.$1l_1},set_siteCreationURL:function(a){a:;this.$1l_1=a;return a},get_taskListSyncEnable:function(){a:;return this.$1t_1},set_taskListSyncEnable:function(a){a:;this.$1t_1=a;return a},get_workflowAssociationId:function(){a:;return this.$1y_1},set_workflowAssociationId:function(a){a:;this.$1y_1=a;return a},get_workflowAssociationName:function(){a:;return this.$1z_1},set_workflowAssociationName:function(a){a:;this.$1z_1=a;return a},get_workspaceTemplateLCID:function(){a:;return this.$21_1},set_workspaceTemplateLCID:function(a){a:;this.$21_1=a;return a},get_workspaceTemplateName:function(){a:;return this.$22_1},set_workspaceTemplateName:function(a){a:;this.$22_1=a;return a},get_typeId:function(){a:;return "{a6ab19cb-851d-4daf-b22c-dcbd221860bf}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["DepartmentIds","Description","Id","ImageUrl","IsDefault","IsManaged","Name","Order","PermissionSyncEnable","ProjectDetailPages","ProjectPlanTemplateId","SiteCreationOption","SiteCreationURL","TaskListSyncEnable","WorkflowAssociationId","WorkflowAssociationName","WorkspaceTemplateLCID","WorkspaceTemplateName"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.DepartmentIds;if(!SP.ScriptUtility.isUndefined(a)){this.$f_1=SP.DataConvert.fixupType(null,a);delete b.DepartmentIds}a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.$2_1=a;delete b.Description}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Id}a=b.ImageUrl;if(!SP.ScriptUtility.isUndefined(a)){this.$v_1=a;delete b.ImageUrl}a=b.IsDefault;if(!SP.ScriptUtility.isUndefined(a)){this.$z_1=a;delete b.IsDefault}a=b.IsManaged;if(!SP.ScriptUtility.isUndefined(a)){this.$14_1=a;delete b.IsManaged}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.$1_1=a;delete b.Name}a=b.Order;if(!SP.ScriptUtility.isUndefined(a)){this.$F_1=a;delete b.Order}a=b.PermissionSyncEnable;if(!SP.ScriptUtility.isUndefined(a)){this.$1K_1=a;delete b.PermissionSyncEnable}a=b.ProjectDetailPages;if(!SP.ScriptUtility.isUndefined(a)){this.$B_1=[];SP.DataConvert.populateArray(null,this.$B_1,a);delete b.ProjectDetailPages}a=b.ProjectPlanTemplateId;if(!SP.ScriptUtility.isUndefined(a)){this.$1N_1=a;delete b.ProjectPlanTemplateId}a=b.SiteCreationOption;if(!SP.ScriptUtility.isUndefined(a)){this.$1k_1=SP.DataConvert.fixupType(null,a);delete b.SiteCreationOption}a=b.SiteCreationURL;if(!SP.ScriptUtility.isUndefined(a)){this.$1l_1=a;delete b.SiteCreationURL}a=b.TaskListSyncEnable;if(!SP.ScriptUtility.isUndefined(a)){this.$1t_1=a;delete b.TaskListSyncEnable}a=b.WorkflowAssociationId;if(!SP.ScriptUtility.isUndefined(a)){this.$1y_1=a;delete b.WorkflowAssociationId}a=b.WorkflowAssociationName;if(!SP.ScriptUtility.isUndefined(a)){this.$1z_1=a;delete b.WorkflowAssociationName}a=b.WorkspaceTemplateLCID;if(!SP.ScriptUtility.isUndefined(a)){this.$21_1=a;delete b.WorkspaceTemplateLCID}a=b.WorkspaceTemplateName;if(!SP.ScriptUtility.isUndefined(a)){this.$22_1=a;delete b.WorkspaceTemplateName}}};PS.EnterpriseResource=function(b,a){a:;PS.EnterpriseResource.initializeBase(this,[b,a])};PS.EnterpriseResource.getSelf=function(a){a:;var b=a.get_staticObjects()["Microsoft$ProjectServer$EnterpriseResource$Self"];if(!b){b=new PS.EnterpriseResource(a,new SP.ObjectPathStaticProperty(a,"{f6167b82-e04e-4ce2-8631-09ce14f6277e}","Self"));a.get_staticObjects()["Microsoft$ProjectServer$EnterpriseResource$Self"]=b}return b};PS.EnterpriseResource.prototype={get_fieldValues:function(){a:;var a=this.get_objectData().get_methodReturnObjects()["$m_dict"];if(SP.ScriptUtility.isNullOrUndefined(a)){a={};this.get_objectData().get_methodReturnObjects()["$m_dict"]=a}return a},get_item:function(a){a:;return this.$6_1(a)},set_item:function(b,a){a:;this.$K_1(b,a);return a},get_assignments:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Assignments"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.StatusAssignmentCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Assignments"));this.get_objectData().get_clientObjectProperties()["Assignments"]=a}return a},get_baseCalendar:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["BaseCalendar"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.Calendar(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"BaseCalendar"));this.get_objectData().get_clientObjectProperties()["BaseCalendar"]=a}return a},set_baseCalendar:function(a){a:;this.get_objectData().get_clientObjectProperties()["BaseCalendar"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"BaseCalendar",a));return a},get_canLevel:function(){a:;this.checkUninitializedProperty("CanLevel");return this.get_objectData().get_properties()["CanLevel"]},set_canLevel:function(a){a:;this.get_objectData().get_properties()["CanLevel"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CanLevel",a));return a},get_code:function(){a:;this.checkUninitializedProperty("Code");return this.get_objectData().get_properties()["Code"]},set_code:function(a){a:;this.get_objectData().get_properties()["Code"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Code",a));return a},get_costAccrual:function(){a:;this.checkUninitializedProperty("CostAccrual");return this.get_objectData().get_properties()["CostAccrual"]},set_costAccrual:function(a){a:;this.get_objectData().get_properties()["CostAccrual"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CostAccrual",a));return a},get_costCenter:function(){a:;this.checkUninitializedProperty("CostCenter");return this.get_objectData().get_properties()["CostCenter"]},set_costCenter:function(a){a:;this.get_objectData().get_properties()["CostCenter"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CostCenter",a));return a},get_costRateTables:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["CostRateTables"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.EnterpriseResourceCostRateTableCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"CostRateTables"));this.get_objectData().get_clientObjectProperties()["CostRateTables"]=a}return a},get_created:function(){a:;this.checkUninitializedProperty("Created");return this.get_objectData().get_properties()["Created"]},get_customFields:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["CustomFields"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.CustomFieldCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"CustomFields"));this.get_objectData().get_clientObjectProperties()["CustomFields"]=a}return a},get_defaultAssignmentOwner:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["DefaultAssignmentOwner"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"DefaultAssignmentOwner"));this.get_objectData().get_clientObjectProperties()["DefaultAssignmentOwner"]=a}return a},set_defaultAssignmentOwner:function(a){a:;this.get_objectData().get_clientObjectProperties()["DefaultAssignmentOwner"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DefaultAssignmentOwner",a));return a},get_defaultBookingType:function(){a:;this.checkUninitializedProperty("DefaultBookingType");return this.get_objectData().get_properties()["DefaultBookingType"]},set_defaultBookingType:function(a){a:;this.get_objectData().get_properties()["DefaultBookingType"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DefaultBookingType",a));return a},get_email:function(){a:;this.checkUninitializedProperty("Email");return this.get_objectData().get_properties()["Email"]},set_email:function(a){a:;this.get_objectData().get_properties()["Email"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Email",a));return a},get_engagements:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Engagements"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.ResourceEngagementCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Engagements"));this.get_objectData().get_clientObjectProperties()["Engagements"]=a}return a},get_externalId:function(){a:;this.checkUninitializedProperty("ExternalId");return this.get_objectData().get_properties()["ExternalId"]},set_externalId:function(a){a:;this.get_objectData().get_properties()["ExternalId"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ExternalId",a));return a},get_group:function(){a:;this.checkUninitializedProperty("Group");return this.get_objectData().get_properties()["Group"]},set_group:function(a){a:;this.get_objectData().get_properties()["Group"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Group",a));return a},get_hireDate:function(){a:;this.checkUninitializedProperty("HireDate");return this.get_objectData().get_properties()["HireDate"]},set_hireDate:function(a){a:;this.get_objectData().get_properties()["HireDate"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"HireDate",a));return a},get_hyperlinkName:function(){a:;this.checkUninitializedProperty("HyperlinkName");return this.get_objectData().get_properties()["HyperlinkName"]},set_hyperlinkName:function(a){a:;this.get_objectData().get_properties()["HyperlinkName"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"HyperlinkName",a));return a},get_hyperlinkUrl:function(){a:;this.checkUninitializedProperty("HyperlinkUrl");return this.get_objectData().get_properties()["HyperlinkUrl"]},set_hyperlinkUrl:function(a){a:;this.get_objectData().get_properties()["HyperlinkUrl"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"HyperlinkUrl",a));return a},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_initials:function(){a:;this.checkUninitializedProperty("Initials");return this.get_objectData().get_properties()["Initials"]},set_initials:function(a){a:;this.get_objectData().get_properties()["Initials"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Initials",a));return a},get_isActive:function(){a:;this.checkUninitializedProperty("IsActive");return this.get_objectData().get_properties()["IsActive"]},set_isActive:function(a){a:;this.get_objectData().get_properties()["IsActive"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsActive",a));return a},get_isBudget:function(){a:;this.checkUninitializedProperty("IsBudget");return this.get_objectData().get_properties()["IsBudget"]},get_isCheckedOut:function(){a:;this.checkUninitializedProperty("IsCheckedOut");return this.get_objectData().get_properties()["IsCheckedOut"]},get_isGeneric:function(){a:;this.checkUninitializedProperty("IsGeneric");return this.get_objectData().get_properties()["IsGeneric"]},get_isTeam:function(){a:;this.checkUninitializedProperty("IsTeam");return this.get_objectData().get_properties()["IsTeam"]},get_materialLabel:function(){a:;this.checkUninitializedProperty("MaterialLabel");return this.get_objectData().get_properties()["MaterialLabel"]},set_materialLabel:function(a){a:;this.get_objectData().get_properties()["MaterialLabel"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"MaterialLabel",a));return a},get_modified:function(){a:;this.checkUninitializedProperty("Modified");return this.get_objectData().get_properties()["Modified"]},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},set_name:function(a){a:;this.get_objectData().get_properties()["Name"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Name",a));return a},get_phonetics:function(){a:;this.checkUninitializedProperty("Phonetics");return this.get_objectData().get_properties()["Phonetics"]},set_phonetics:function(a){a:;this.get_objectData().get_properties()["Phonetics"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Phonetics",a));return a},get_requiresEngagements:function(){a:;this.checkUninitializedProperty("RequiresEngagements");return this.get_objectData().get_properties()["RequiresEngagements"]},set_requiresEngagements:function(a){a:;this.get_objectData().get_properties()["RequiresEngagements"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RequiresEngagements",a));return a},get_resourceCalendarExceptions:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["ResourceCalendarExceptions"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.CalendarExceptionCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"ResourceCalendarExceptions"));this.get_objectData().get_clientObjectProperties()["ResourceCalendarExceptions"]=a}return a},get_resourceIdentifier:function(){a:;this.checkUninitializedProperty("ResourceIdentifier");return this.get_objectData().get_properties()["ResourceIdentifier"]},get_resourceType:function(){a:;this.checkUninitializedProperty("ResourceType");return this.get_objectData().get_properties()["ResourceType"]},get_terminationDate:function(){a:;this.checkUninitializedProperty("TerminationDate");return this.get_objectData().get_properties()["TerminationDate"]},set_terminationDate:function(a){a:;this.get_objectData().get_properties()["TerminationDate"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TerminationDate",a));return a},get_timesheetManager:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["TimesheetManager"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"TimesheetManager"));this.get_objectData().get_clientObjectProperties()["TimesheetManager"]=a}return a},set_timesheetManager:function(a){a:;this.get_objectData().get_clientObjectProperties()["TimesheetManager"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TimesheetManager",a));return a},get_user:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["User"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"User"));this.get_objectData().get_clientObjectProperties()["User"]=a}return a},set_user:function(a){a:;this.get_objectData().get_clientObjectProperties()["User"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"User",a));return a},initNonPropertiesFromJson:function(a){a:;SP.DataConvert.populateDictionaryFromObject(this.get_fieldValues(),a);SP.DataConvert.fixupTypes(this.get_context(),this.get_fieldValues())},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Assignments;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Assignments",this.get_assignments(),a);this.get_assignments().fromJson(a);delete b.Assignments}a=b.BaseCalendar;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("BaseCalendar",this.get_baseCalendar(),a);this.get_baseCalendar().fromJson(a);delete b.BaseCalendar}a=b.CanLevel;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CanLevel"]=a;delete b.CanLevel}a=b.Code;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Code"]=a;delete b.Code}a=b.CostAccrual;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CostAccrual"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.CostAccrual}a=b.CostCenter;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CostCenter"]=a;delete b.CostCenter}a=b.CostRateTables;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("CostRateTables",this.get_costRateTables(),a);this.get_costRateTables().fromJson(a);delete b.CostRateTables}a=b.Created;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Created"]=a;delete b.Created}a=b.CustomFields;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("CustomFields",this.get_customFields(),a);this.get_customFields().fromJson(a);delete b.CustomFields}a=b.DefaultAssignmentOwner;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("DefaultAssignmentOwner",this.get_defaultAssignmentOwner(),a);this.get_defaultAssignmentOwner().fromJson(a);delete b.DefaultAssignmentOwner}a=b.DefaultBookingType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultBookingType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.DefaultBookingType}a=b.Email;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Email"]=a;delete b.Email}a=b.Engagements;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Engagements",this.get_engagements(),a);this.get_engagements().fromJson(a);delete b.Engagements}a=b.ExternalId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ExternalId"]=a;delete b.ExternalId}a=b.Group;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Group"]=a;delete b.Group}a=b.HireDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["HireDate"]=a;delete b.HireDate}a=b.HyperlinkName;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["HyperlinkName"]=a;delete b.HyperlinkName}a=b.HyperlinkUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["HyperlinkUrl"]=a;delete b.HyperlinkUrl}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.Initials;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Initials"]=a;delete b.Initials}a=b.IsActive;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsActive"]=a;delete b.IsActive}a=b.IsBudget;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsBudget"]=a;delete b.IsBudget}a=b.IsCheckedOut;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsCheckedOut"]=a;delete b.IsCheckedOut}a=b.IsGeneric;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsGeneric"]=a;delete b.IsGeneric}a=b.IsTeam;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsTeam"]=a;delete b.IsTeam}a=b.MaterialLabel;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["MaterialLabel"]=a;delete b.MaterialLabel}a=b.Modified;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Modified"]=a;delete b.Modified}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.Phonetics;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Phonetics"]=a;delete b.Phonetics}a=b.RequiresEngagements;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RequiresEngagements"]=a;delete b.RequiresEngagements}a=b.ResourceCalendarExceptions;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("ResourceCalendarExceptions",this.get_resourceCalendarExceptions(),a);this.get_resourceCalendarExceptions().fromJson(a);delete b.ResourceCalendarExceptions}a=b.ResourceIdentifier;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ResourceIdentifier"]=a;delete b.ResourceIdentifier}a=b.ResourceType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ResourceType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.ResourceType}a=b.TerminationDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TerminationDate"]=a;delete b.TerminationDate}a=b.TimesheetManager;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("TimesheetManager",this.get_timesheetManager(),a);this.get_timesheetManager().fromJson(a);delete b.TimesheetManager}a=b.User;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("User",this.get_user(),a);this.get_user().fromJson(a);delete b.User}},$6_1:function(b){var a=this.get_fieldValues()[b];if(SP.ScriptUtility.isUndefined(a))throw Error.create(SP.ResResources.getString("PropertyHasNotBeenInitialized"));return a},refreshLoad:function(){a:;SP.ClientObject.prototype.refreshLoad.call(this);this.loadExpandoFields()},loadExpandoFields:function(){a:;var a=this.get_fieldValues();for(var b in a){var c={key:b,value:a[b]};this.retrieve(c.key)}},updateClaimsAccount:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"UpdateClaimsAccount",[a]);b.addQuery(c)},$K_1:function(b,c){var a=this.get_context();this.get_fieldValues()[b]=c;var d=new SP.ClientActionInvokeMethod(this,"SetCustomFieldValue",[b,c]);a&&a.addQuery(d)},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b);this.removeFromParentCollection()},forceCheckIn:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"ForceCheckIn",null);a.addQuery(b)}};PS.EnterpriseResourcePropertyNames=function(){};PS.EnterpriseResourceObjectPropertyNames=function(){};PS.EnterpriseResourceCollection=function(b,a){a:;PS.EnterpriseResourceCollection.initializeBase(this,[b,a])};PS.EnterpriseResourceCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.EnterpriseResource},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.EnterpriseResource(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.EnterpriseResource(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a},getByUser:function(c){a:;var a=this.get_context(),b;b=new PS.EnterpriseResource(a,new SP.ObjectPathMethod(a,this.get_path(),"GetByUser",[c]));return b},add:function(d){a:;var b=this.get_context(),a;a=new PS.EnterpriseResource(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a},remove:function(b){a:;var c=this.get_context(),a,d=new SP.ClientActionInvokeMethod(this,"Remove",[b]);c.addQuery(d);a=new SP.BooleanResult;c.addQueryIdAndResultObject(d.get_id(),a);this.removeChild(b);return a},update:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Update",null);a.addQuery(b)}};PS.EnterpriseResourceCostRate=function(b,a){a:;PS.EnterpriseResourceCostRate.initializeBase(this,[b,a])};PS.EnterpriseResourceCostRate.prototype={get_costPerUse:function(){a:;this.checkUninitializedProperty("CostPerUse");return this.get_objectData().get_properties()["CostPerUse"]},set_costPerUse:function(a){a:;this.get_objectData().get_properties()["CostPerUse"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CostPerUse",a));return a},get_effectiveStarting:function(){a:;this.checkUninitializedProperty("EffectiveStarting");return this.get_objectData().get_properties()["EffectiveStarting"]},get_effectiveUntil:function(){a:;this.checkUninitializedProperty("EffectiveUntil");return this.get_objectData().get_properties()["EffectiveUntil"]},get_overtimeRate:function(){a:;this.checkUninitializedProperty("OvertimeRate");return this.get_objectData().get_properties()["OvertimeRate"]},set_overtimeRate:function(a){a:;this.get_objectData().get_properties()["OvertimeRate"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"OvertimeRate",a));return a},get_standardRate:function(){a:;this.checkUninitializedProperty("StandardRate");return this.get_objectData().get_properties()["StandardRate"]},set_standardRate:function(a){a:;this.get_objectData().get_properties()["StandardRate"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"StandardRate",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.CostPerUse;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CostPerUse"]=a;delete b.CostPerUse}a=b.EffectiveStarting;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["EffectiveStarting"]=a;delete b.EffectiveStarting}a=b.EffectiveUntil;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["EffectiveUntil"]=a;delete b.EffectiveUntil}a=b.OvertimeRate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OvertimeRate"]=a;delete b.OvertimeRate}a=b.StandardRate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["StandardRate"]=a;delete b.StandardRate}},deleteObject:function(){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);b.addQuery(c);a=new SP.BooleanResult;b.addQueryIdAndResultObject(c.get_id(),a);return a}};PS.EnterpriseResourceCostRatePropertyNames=function(){};PS.EnterpriseResourceCostRateCollection=function(b,a){a:;PS.EnterpriseResourceCostRateCollection.initializeBase(this,[b,a])};PS.EnterpriseResourceCostRateCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.EnterpriseResourceCostRate},add:function(c){a:;var a=this.get_context(),b;b=new PS.EnterpriseResourceCostRate(a,new SP.ObjectPathMethod(a,this.get_path(),"Add",[c]));return b},remove:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"Remove",[d]);b.addQuery(c);a=new SP.BooleanResult;b.addQueryIdAndResultObject(c.get_id(),a);return a}};PS.EnterpriseResourceCostRateTable=function(b,a){a:;PS.EnterpriseResourceCostRateTable.initializeBase(this,[b,a])};PS.EnterpriseResourceCostRateTable.prototype={get_costRates:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["CostRates"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.EnterpriseResourceCostRateCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"CostRates"));this.get_objectData().get_clientObjectProperties()["CostRates"]=a}return a},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.CostRates;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("CostRates",this.get_costRates(),a);this.get_costRates().fromJson(a);delete b.CostRates}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.Name}}};PS.EnterpriseResourceCostRateTablePropertyNames=function(){};PS.EnterpriseResourceCostRateTableObjectPropertyNames=function(){};PS.EnterpriseResourceCostRateTableCollection=function(b,a){a:;PS.EnterpriseResourceCostRateTableCollection.initializeBase(this,[b,a])};PS.EnterpriseResourceCostRateTableCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.EnterpriseResourceCostRateTable},getByName:function(c){a:;var a=this.get_context(),b;b=new PS.EnterpriseResourceCostRateTable(a,new SP.ObjectPathMethod(a,this.get_path(),"GetByName",[c]));return b}};PS.EnterpriseResourceCreationInformation=function(){a:;PS.EnterpriseResourceCreationInformation.initializeBase(this)};PS.EnterpriseResourceCreationInformation.prototype={$t_1:null,$u_1:null,$0_1:null,$x_1:false,$11_1:false,$12_1:false,$1_1:null,$1X_1:0,get_hyperlinkName:function(){a:;return this.$t_1},set_hyperlinkName:function(a){a:;this.$t_1=a;return a},get_hyperlinkUrl:function(){a:;return this.$u_1},set_hyperlinkUrl:function(a){a:;this.$u_1=a;return a},get_id:function(){a:;return this.$0_1},set_id:function(a){a:;this.$0_1=a;return a},get_isBudget:function(){a:;return this.$x_1},set_isBudget:function(a){a:;this.$x_1=a;return a},get_isGeneric:function(){a:;return this.$11_1},set_isGeneric:function(a){a:;this.$11_1=a;return a},get_isInactive:function(){a:;return this.$12_1},set_isInactive:function(a){a:;this.$12_1=a;return a},get_name:function(){a:;return this.$1_1},set_name:function(a){a:;this.$1_1=a;return a},get_resourceType:function(){a:;return this.$1X_1},set_resourceType:function(a){a:;this.$1X_1=a;return a},get_typeId:function(){a:;return "{4a670666-e25a-42a5-aaf1-f517d9fdae9a}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["HyperlinkName","HyperlinkUrl","Id","IsBudget","IsGeneric","IsInactive","Name","ResourceType"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.HyperlinkName;if(!SP.ScriptUtility.isUndefined(a)){this.$t_1=a;delete b.HyperlinkName}a=b.HyperlinkUrl;if(!SP.ScriptUtility.isUndefined(a)){this.$u_1=a;delete b.HyperlinkUrl}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Id}a=b.IsBudget;if(!SP.ScriptUtility.isUndefined(a)){this.$x_1=a;delete b.IsBudget}a=b.IsGeneric;if(!SP.ScriptUtility.isUndefined(a)){this.$11_1=a;delete b.IsGeneric}a=b.IsInactive;if(!SP.ScriptUtility.isUndefined(a)){this.$12_1=a;delete b.IsInactive}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.$1_1=a;delete b.Name}a=b.ResourceType;if(!SP.ScriptUtility.isUndefined(a)){this.$1X_1=SP.DataConvert.fixupType(null,a);delete b.ResourceType}}};PS.EntityType=function(b,a){a:;PS.EntityType.initializeBase(this,[b,a])};PS.EntityType.prototype={get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},get_id:function(){a:;this.checkUninitializedProperty("ID");return this.get_objectData().get_properties()["ID"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.ID;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ID"]=a;delete b.ID}}};PS.EntityTypePropertyNames=function(){};PS.EntityTypes=function(b,a){a:;PS.EntityTypes.initializeBase(this,[b,a])};PS.EntityTypes.prototype={get_assignmentEntity:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["AssignmentEntity"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.EntityType(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"AssignmentEntity"));this.get_objectData().get_clientObjectProperties()["AssignmentEntity"]=a}return a},get_projectEntity:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["ProjectEntity"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.EntityType(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"ProjectEntity"));this.get_objectData().get_clientObjectProperties()["ProjectEntity"]=a}return a},get_resourceEntity:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["ResourceEntity"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.EntityType(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"ResourceEntity"));this.get_objectData().get_clientObjectProperties()["ResourceEntity"]=a}return a},get_taskEntity:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["TaskEntity"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.EntityType(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"TaskEntity"));this.get_objectData().get_clientObjectProperties()["TaskEntity"]=a}return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AssignmentEntity;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("AssignmentEntity",this.get_assignmentEntity(),a);this.get_assignmentEntity().fromJson(a);delete b.AssignmentEntity}a=b.ProjectEntity;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("ProjectEntity",this.get_projectEntity(),a);this.get_projectEntity().fromJson(a);delete b.ProjectEntity}a=b.ResourceEntity;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("ResourceEntity",this.get_resourceEntity(),a);this.get_resourceEntity().fromJson(a);delete b.ResourceEntity}a=b.TaskEntity;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("TaskEntity",this.get_taskEntity(),a);this.get_taskEntity().fromJson(a);delete b.TaskEntity}}};PS.EntityTypesObjectPropertyNames=function(){};PS.Event=function(b,a){a:;PS.Event.initializeBase(this,[b,a])};PS.Event.prototype={get_eventName:function(){a:;this.checkUninitializedProperty("EventName");return this.get_objectData().get_properties()["EventName"]},set_eventName:function(a){a:;this.get_objectData().get_properties()["EventName"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"EventName",a));return a},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_sourceName:function(){a:;this.checkUninitializedProperty("SourceName");return this.get_objectData().get_properties()["SourceName"]},set_sourceName:function(a){a:;this.get_objectData().get_properties()["SourceName"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"SourceName",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.EventName;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["EventName"]=a;delete b.EventName}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.SourceName;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["SourceName"]=a;delete b.SourceName}}};PS.EventPropertyNames=function(){};PS.EventCollection=function(b,a){a:;PS.EventCollection.initializeBase(this,[b,a])};PS.EventCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.Event},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.Event(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByInt:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByInt"];if(SP.ScriptUtility.isNullOrUndefined(b)){b=[];this.get_objectData().get_methodReturnObjects()["GetByInt"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.Event(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByInt",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a}};PS.EventHandler=function(b,a){a:;PS.EventHandler.initializeBase(this,[b,a])};PS.EventHandler.prototype={get_assemblyName:function(){a:;this.checkUninitializedProperty("AssemblyName");return this.get_objectData().get_properties()["AssemblyName"]},set_assemblyName:function(a){a:;this.get_objectData().get_properties()["AssemblyName"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"AssemblyName",a));return a},get_className:function(){a:;this.checkUninitializedProperty("ClassName");return this.get_objectData().get_properties()["ClassName"]},set_className:function(a){a:;this.get_objectData().get_properties()["ClassName"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ClassName",a));return a},get_description:function(){a:;this.checkUninitializedProperty("Description");return this.get_objectData().get_properties()["Description"]},set_description:function(a){a:;this.get_objectData().get_properties()["Description"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Description",a));return a},get_endpointUrl:function(){a:;this.checkUninitializedProperty("EndpointUrl");return this.get_objectData().get_properties()["EndpointUrl"]},set_endpointUrl:function(a){a:;this.get_objectData().get_properties()["EndpointUrl"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"EndpointUrl",a));return a},get_event:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Event"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.Event(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Event"));this.get_objectData().get_clientObjectProperties()["Event"]=a}return a},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},set_name:function(a){a:;this.get_objectData().get_properties()["Name"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Name",a));return a},get_order:function(){a:;this.checkUninitializedProperty("Order");return this.get_objectData().get_properties()["Order"]},set_order:function(a){a:;this.get_objectData().get_properties()["Order"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Order",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AssemblyName;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["AssemblyName"]=a;delete b.AssemblyName}a=b.ClassName;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ClassName"]=a;delete b.ClassName}a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Description"]=a;delete b.Description}a=b.EndpointUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["EndpointUrl"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.EndpointUrl}a=b.Event;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Event",this.get_event(),a);this.get_event().fromJson(a);delete b.Event}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.Order;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Order"]=a;delete b.Order}},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b);this.removeFromParentCollection()}};PS.EventHandlerPropertyNames=function(){};PS.EventHandlerObjectPropertyNames=function(){};PS.EventHandlerCollection=function(b,a){a:;PS.EventHandlerCollection.initializeBase(this,[b,a])};PS.EventHandlerCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.EventHandler},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.EventHandler(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.EventHandler(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a},add:function(d){a:;var b=this.get_context(),a;a=new PS.EventHandler(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a},remove:function(b){a:;var c=this.get_context(),a,d=new SP.ClientActionInvokeMethod(this,"Remove",[b]);c.addQuery(d);a=new SP.BooleanResult;c.addQueryIdAndResultObject(d.get_id(),a);this.removeChild(b);return a},update:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Update",null);a.addQuery(b)}};PS.EventHandlerCreationInformation=function(){a:;PS.EventHandlerCreationInformation.initializeBase(this)};PS.EventHandlerCreationInformation.prototype={$X_1:null,$c_1:null,$2_1:null,$l_1:null,$n_1:0,$0_1:null,$1_1:null,$F_1:0,get_assemblyName:function(){a:;return this.$X_1},set_assemblyName:function(a){a:;this.$X_1=a;return a},get_className:function(){a:;return this.$c_1},set_className:function(a){a:;this.$c_1=a;return a},get_description:function(){a:;return this.$2_1},set_description:function(a){a:;this.$2_1=a;return a},get_endpointUrl:function(){a:;return this.$l_1},set_endpointUrl:function(a){a:;this.$l_1=a;return a},get_eventId:function(){a:;return this.$n_1},set_eventId:function(a){a:;this.$n_1=a;return a},get_id:function(){a:;return this.$0_1},set_id:function(a){a:;this.$0_1=a;return a},get_name:function(){a:;return this.$1_1},set_name:function(a){a:;this.$1_1=a;return a},get_order:function(){a:;return this.$F_1},set_order:function(a){a:;this.$F_1=a;return a},get_typeId:function(){a:;return "{5e2b3370-c655-4803-acd8-b3705905e433}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["AssemblyName","ClassName","Description","EndpointUrl","EventId","Id","Name","Order"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AssemblyName;if(!SP.ScriptUtility.isUndefined(a)){this.$X_1=a;delete b.AssemblyName}a=b.ClassName;if(!SP.ScriptUtility.isUndefined(a)){this.$c_1=a;delete b.ClassName}a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.$2_1=a;delete b.Description}a=b.EndpointUrl;if(!SP.ScriptUtility.isUndefined(a)){this.$l_1=SP.DataConvert.fixupType(null,a);delete b.EndpointUrl}a=b.EventId;if(!SP.ScriptUtility.isUndefined(a)){this.$n_1=a;delete b.EventId}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Id}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.$1_1=a;delete b.Name}a=b.Order;if(!SP.ScriptUtility.isUndefined(a)){this.$F_1=a;delete b.Order}}};PS.LookupCost=function(b,a){a:;PS.LookupCost.initializeBase(this,[b,a])};PS.LookupCost.prototype={get_value:function(){a:;this.checkUninitializedProperty("Value");return this.get_objectData().get_properties()["Value"]},set_value:function(a){a:;this.get_objectData().get_properties()["Value"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Value",a));return a},initPropertiesFromJson:function(a){a:;PS.LookupEntry.prototype.initPropertiesFromJson.call(this,a);var b;b=a.Value;if(!SP.ScriptUtility.isUndefined(b)){this.get_objectData().get_properties()["Value"]=b;delete a.Value}}};PS.LookupCostPropertyNames=function(){};PS.LookupDate=function(b,a){a:;PS.LookupDate.initializeBase(this,[b,a])};PS.LookupDate.prototype={get_value:function(){a:;this.checkUninitializedProperty("Value");return this.get_objectData().get_properties()["Value"]},set_value:function(a){a:;this.get_objectData().get_properties()["Value"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Value",a));return a},initPropertiesFromJson:function(a){a:;PS.LookupEntry.prototype.initPropertiesFromJson.call(this,a);var b;b=a.Value;if(!SP.ScriptUtility.isUndefined(b)){this.get_objectData().get_properties()["Value"]=b;delete a.Value}}};PS.LookupDatePropertyNames=function(){};PS.LookupDuration=function(b,a){a:;PS.LookupDuration.initializeBase(this,[b,a])};PS.LookupDuration.prototype={get_value:function(){a:;this.checkUninitializedProperty("Value");return this.get_objectData().get_properties()["Value"]},set_value:function(a){a:;this.get_objectData().get_properties()["Value"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Value",a));return a},get_valueMilliseconds:function(){a:;this.checkUninitializedProperty("ValueMilliseconds");return this.get_objectData().get_properties()["ValueMilliseconds"]},set_valueMilliseconds:function(a){a:;this.get_objectData().get_properties()["ValueMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ValueMilliseconds",a));return a},initPropertiesFromJson:function(b){a:;PS.LookupEntry.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Value;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Value"]=a;delete b.Value}a=b.ValueMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ValueMilliseconds"]=a;delete b.ValueMilliseconds}}};PS.LookupDurationPropertyNames=function(){};PS.LookupEntry=function(b,a){a:;PS.LookupEntry.initializeBase(this,[b,a])};PS.LookupEntry.prototype={get_appAlternateId:function(){a:;this.checkUninitializedProperty("AppAlternateId");return this.get_objectData().get_properties()["AppAlternateId"]},get_description:function(){a:;this.checkUninitializedProperty("Description");return this.get_objectData().get_properties()["Description"]},set_description:function(a){a:;this.get_objectData().get_properties()["Description"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Description",a));return a},get_fullValue:function(){a:;this.checkUninitializedProperty("FullValue");return this.get_objectData().get_properties()["FullValue"]},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_internalName:function(){a:;this.checkUninitializedProperty("InternalName");return this.get_objectData().get_properties()["InternalName"]},get_sortIndex:function(){a:;this.checkUninitializedProperty("SortIndex");return this.get_objectData().get_properties()["SortIndex"]},set_sortIndex:function(a){a:;this.get_objectData().get_properties()["SortIndex"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"SortIndex",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AppAlternateId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["AppAlternateId"]=a;delete b.AppAlternateId}a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Description"]=a;delete b.Description}a=b.FullValue;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FullValue"]=a;delete b.FullValue}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.InternalName;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["InternalName"]=a;delete b.InternalName}a=b.SortIndex;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["SortIndex"]=a;delete b.SortIndex}},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b);this.removeFromParentCollection()}};PS.LookupEntryPropertyNames=function(){};PS.LookupEntryCollection=function(b,a){a:;PS.LookupEntryCollection.initializeBase(this,[b,a])};PS.LookupEntryCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.LookupEntry},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.LookupEntry(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByAppAlternateId:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByAppAlternateId"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByAppAlternateId"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.LookupEntry(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByAppAlternateId",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.LookupEntry(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a},add:function(d){a:;var b=this.get_context(),a;a=new PS.LookupEntry(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a},remove:function(b){a:;var c=this.get_context(),a,d=new SP.ClientActionInvokeMethod(this,"Remove",[b]);c.addQuery(d);a=new SP.BooleanResult;c.addQueryIdAndResultObject(d.get_id(),a);this.removeChild(b);return a}};PS.LookupEntryCreationInformation=function(){a:;PS.LookupEntryCreationInformation.initializeBase(this)};PS.LookupEntryCreationInformation.prototype={$2_1:null,$0_1:null,$9_1:null,$1m_1:null,$1x_1:null,get_description:function(){a:;return this.$2_1},set_description:function(a){a:;this.$2_1=a;return a},get_id:function(){a:;return this.$0_1},set_id:function(a){a:;this.$0_1=a;return a},get_parentId:function(){a:;return this.$9_1},set_parentId:function(a){a:;this.$9_1=a;return a},get_sortIndex:function(){a:;return this.$1m_1},set_sortIndex:function(a){a:;this.$1m_1=a;return a},get_value:function(){a:;return this.$1x_1},set_value:function(a){a:;this.$1x_1=a;return a},get_typeId:function(){a:;return "{94b03b0e-e73f-42f2-907e-bfa010beb957}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Description","Id","ParentId","SortIndex","Value"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.$2_1=a;delete b.Description}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Id}a=b.ParentId;if(!SP.ScriptUtility.isUndefined(a)){this.$9_1=a;delete b.ParentId}a=b.SortIndex;if(!SP.ScriptUtility.isUndefined(a)){this.$1m_1=a;delete b.SortIndex}a=b.Value;if(!SP.ScriptUtility.isUndefined(a)){this.$1x_1=SP.DataConvert.fixupType(null,a);delete b.Value}}};PS.LookupEntryValue=function(){a:;PS.LookupEntryValue.initializeBase(this)};PS.LookupEntryValue.prototype={$e_1:null,$h_1:null,$1G_1:null,$1v_1:null,get_dateValue:function(){a:;return this.$e_1},set_dateValue:function(a){a:;this.$e_1=a;return a},get_durationValue:function(){a:;return this.$h_1},set_durationValue:function(a){a:;this.$h_1=a;return a},get_numberValue:function(){a:;return this.$1G_1},set_numberValue:function(a){a:;this.$1G_1=a;return a},get_textValue:function(){a:;return this.$1v_1},set_textValue:function(a){a:;this.$1v_1=a;return a},get_typeId:function(){a:;return "{25dbc933-6b0b-4efe-8e18-a64de9149266}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["DateValue","DurationValue","NumberValue","TextValue"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.DateValue;if(!SP.ScriptUtility.isUndefined(a)){this.$e_1=a;delete b.DateValue}a=b.DurationValue;if(!SP.ScriptUtility.isUndefined(a)){this.$h_1=a;delete b.DurationValue}a=b.NumberValue;if(!SP.ScriptUtility.isUndefined(a)){this.$1G_1=a;delete b.NumberValue}a=b.TextValue;if(!SP.ScriptUtility.isUndefined(a)){this.$1v_1=a;delete b.TextValue}}};PS.LookupMask=function(){a:;PS.LookupMask.initializeBase(this)};PS.LookupMask.prototype={$19_1:0,$1D_1:0,$1Y_1:null,get_length:function(){a:;return this.$19_1},set_length:function(a){a:;this.$19_1=a;return a},get_maskType:function(){a:;return this.$1D_1},set_maskType:function(a){a:;this.$1D_1=a;return a},get_separator:function(){a:;return this.$1Y_1},set_separator:function(a){a:;this.$1Y_1=a;return a},get_typeId:function(){a:;return "{2aeb3d46-6e78-4035-b908-9e0a55f5c56d}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Length","MaskType","Separator"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Length;if(!SP.ScriptUtility.isUndefined(a)){this.$19_1=a;delete b.Length}a=b.MaskType;if(!SP.ScriptUtility.isUndefined(a)){this.$1D_1=SP.DataConvert.fixupType(null,a);delete b.MaskType}a=b.Separator;if(!SP.ScriptUtility.isUndefined(a)){this.$1Y_1=a;delete b.Separator}}};PS.LookupNumber=function(b,a){a:;PS.LookupNumber.initializeBase(this,[b,a])};PS.LookupNumber.prototype={get_value:function(){a:;this.checkUninitializedProperty("Value");return this.get_objectData().get_properties()["Value"]},set_value:function(a){a:;this.get_objectData().get_properties()["Value"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Value",a));return a},initPropertiesFromJson:function(a){a:;PS.LookupEntry.prototype.initPropertiesFromJson.call(this,a);var b;b=a.Value;if(!SP.ScriptUtility.isUndefined(b)){this.get_objectData().get_properties()["Value"]=b;delete a.Value}}};PS.LookupNumberPropertyNames=function(){};PS.LookupTable=function(b,a){a:;PS.LookupTable.initializeBase(this,[b,a])};PS.LookupTable.prototype={get_appAlternateId:function(){a:;this.checkUninitializedProperty("AppAlternateId");return this.get_objectData().get_properties()["AppAlternateId"]},get_entries:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Entries"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.LookupEntryCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Entries"));this.get_objectData().get_clientObjectProperties()["Entries"]=a}return a},get_fieldType:function(){a:;this.checkUninitializedProperty("FieldType");return this.get_objectData().get_properties()["FieldType"]},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_masks:function(){a:;this.checkUninitializedProperty("Masks");return this.get_objectData().get_properties()["Masks"]},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},set_name:function(a){a:;this.get_objectData().get_properties()["Name"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Name",a));return a},get_sortOrder:function(){a:;this.checkUninitializedProperty("SortOrder");return this.get_objectData().get_properties()["SortOrder"]},set_sortOrder:function(a){a:;this.get_objectData().get_properties()["SortOrder"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"SortOrder",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AppAlternateId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["AppAlternateId"]=a;delete b.AppAlternateId}a=b.Entries;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Entries",this.get_entries(),a);this.get_entries().fromJson(a);delete b.Entries}a=b.FieldType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FieldType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.FieldType}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.Masks;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Masks"]=[];SP.DataConvert.populateArray(this.get_context(),this.get_objectData().get_properties()["Masks"],a);delete b.Masks}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.SortOrder;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["SortOrder"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.SortOrder}},addMask:function(c){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"AddMask",[c]);a.addQuery(b)},updateMask:function(d,a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"UpdateMask",[d,a]);b.addQuery(c)},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b);this.removeFromParentCollection()}};PS.LookupTablePropertyNames=function(){};PS.LookupTableObjectPropertyNames=function(){};PS.LookupTableCollection=function(b,a){a:;PS.LookupTableCollection.initializeBase(this,[b,a])};PS.LookupTableCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.LookupTable},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.LookupTable(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.LookupTable(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a},getByAppAlternateId:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByAppAlternateId"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByAppAlternateId"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.LookupTable(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByAppAlternateId",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},add:function(d){a:;var b=this.get_context(),a;a=new PS.LookupTable(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a},remove:function(b){a:;var c=this.get_context(),a,d=new SP.ClientActionInvokeMethod(this,"Remove",[b]);c.addQuery(d);a=new SP.BooleanResult;c.addQueryIdAndResultObject(d.get_id(),a);this.removeChild(b);return a},update:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Update",null);a.addQuery(b)}};PS.LookupTableCreationInformation=function(){a:;PS.LookupTableCreationInformation.initializeBase(this)};PS.LookupTableCreationInformation.prototype={$N_1:null,$0_1:null,$P_1:null,$1_1:null,$1n_1:0,get_entries:function(){a:;return this.$N_1},set_entries:function(a){a:;this.$N_1=a;return a},get_id:function(){a:;return this.$0_1},set_id:function(a){a:;this.$0_1=a;return a},get_masks:function(){a:;return this.$P_1},set_masks:function(a){a:;this.$P_1=a;return a},get_name:function(){a:;return this.$1_1},set_name:function(a){a:;this.$1_1=a;return a},get_sortOrder:function(){a:;return this.$1n_1},set_sortOrder:function(a){a:;this.$1n_1=a;return a},get_typeId:function(){a:;return "{65b9287a-3a7e-4477-a18b-f116bf2716f1}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Entries","Id","Masks","Name","SortOrder"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Entries;if(!SP.ScriptUtility.isUndefined(a)){this.$N_1=[];SP.DataConvert.populateArray(null,this.$N_1,a);delete b.Entries}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Id}a=b.Masks;if(!SP.ScriptUtility.isUndefined(a)){this.$P_1=[];SP.DataConvert.populateArray(null,this.$P_1,a);delete b.Masks}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.$1_1=a;delete b.Name}a=b.SortOrder;if(!SP.ScriptUtility.isUndefined(a)){this.$1n_1=SP.DataConvert.fixupType(null,a);delete b.SortOrder}}};PS.LookupTables=function(b,a){a:;PS.LookupTables.initializeBase(this,[b,a])};PS.LookupTables.invalidNameCharacters=function(a){a:;if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{17d4153d-a3d7-4c5e-9282-23e76d25197d}","InvalidNameCharacters",null);a.addQuery(c);b=[];a.addQueryIdAndResultObject(c.get_id(),b);return b};PS.LookupText=function(b,a){a:;PS.LookupText.initializeBase(this,[b,a])};PS.LookupText.prototype={get_hasChildren:function(){a:;this.checkUninitializedProperty("HasChildren");return this.get_objectData().get_properties()["HasChildren"]},get_mask:function(){a:;this.checkUninitializedProperty("Mask");return this.get_objectData().get_properties()["Mask"]},get_parent:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Parent"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.LookupText(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Parent"));this.get_objectData().get_clientObjectProperties()["Parent"]=a}return a},set_parent:function(a){a:;this.get_objectData().get_clientObjectProperties()["Parent"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Parent",a));return a},get_value:function(){a:;this.checkUninitializedProperty("Value");return this.get_objectData().get_properties()["Value"]},set_value:function(a){a:;this.get_objectData().get_properties()["Value"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Value",a));return a},initPropertiesFromJson:function(b){a:;PS.LookupEntry.prototype.initPropertiesFromJson.call(this,b);var a;a=b.HasChildren;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["HasChildren"]=a;delete b.HasChildren}a=b.Mask;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Mask"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.Mask}a=b.Parent;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Parent",this.get_parent(),a);this.get_parent().fromJson(a);delete b.Parent}a=b.Value;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Value"]=a;delete b.Value}}};PS.LookupTextPropertyNames=function(){};PS.LookupTextObjectPropertyNames=function(){};PS.PageSizes=function(a){a:;PS.PageSizes.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{154360b4-899f-4237-b0ed-3e35f014c748}",arguments)])};PS.PageSizes.newObject=function(a,b){a:;return new PS.PageSizes(a,new SP.ObjectPathConstructor(a,"{154360b4-899f-4237-b0ed-3e35f014c748}",[b]))};PS.PageSizes.prototype={get_engagementsTimephased:function(){a:;this.checkUninitializedProperty("EngagementsTimephased");return this.get_objectData().get_properties()["EngagementsTimephased"]},get_enterpriseResources:function(){a:;this.checkUninitializedProperty("EnterpriseResources");return this.get_objectData().get_properties()["EnterpriseResources"]},get_projects:function(){a:;this.checkUninitializedProperty("Projects");return this.get_objectData().get_properties()["Projects"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.EngagementsTimephased;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["EngagementsTimephased"]=a;delete b.EngagementsTimephased}a=b.EnterpriseResources;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["EnterpriseResources"]=a;delete b.EnterpriseResources}a=b.Projects;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Projects"]=a;delete b.Projects}}};PS.PageSizesPropertyNames=function(){};PS.Phase=function(b,a){a:;PS.Phase.initializeBase(this,[b,a])};PS.Phase.prototype={get_description:function(){a:;this.checkUninitializedProperty("Description");return this.get_objectData().get_properties()["Description"]},set_description:function(a){a:;this.get_objectData().get_properties()["Description"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Description",a));return a},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},set_name:function(a){a:;this.get_objectData().get_properties()["Name"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Name",a));return a},get_stages:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Stages"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.StageCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Stages"));this.get_objectData().get_clientObjectProperties()["Stages"]=a}return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Description"]=a;delete b.Description}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.Stages;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Stages",this.get_stages(),a);this.get_stages().fromJson(a);delete b.Stages}},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b);this.removeFromParentCollection()}};PS.PhasePropertyNames=function(){};PS.PhaseObjectPropertyNames=function(){};PS.PhaseCollection=function(b,a){a:;PS.PhaseCollection.initializeBase(this,[b,a])};PS.PhaseCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.Phase},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.Phase(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.Phase(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a},update:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Update",null);a.addQuery(b)},add:function(d){a:;var b=this.get_context(),a;a=new PS.Phase(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a},remove:function(b){a:;var c=this.get_context(),a,d=new SP.ClientActionInvokeMethod(this,"Remove",[b]);c.addQuery(d);a=new SP.BooleanResult;c.addQueryIdAndResultObject(d.get_id(),a);this.removeChild(b);return a}};PS.PhaseCreationInformation=function(){a:;PS.PhaseCreationInformation.initializeBase(this)};PS.PhaseCreationInformation.prototype={$2_1:null,$0_1:null,$1_1:null,get_description:function(){a:;return this.$2_1},set_description:function(a){a:;this.$2_1=a;return a},get_id:function(){a:;return this.$0_1},set_id:function(a){a:;this.$0_1=a;return a},get_name:function(){a:;return this.$1_1},set_name:function(a){a:;this.$1_1=a;return a},get_typeId:function(){a:;return "{0f8b15a8-98aa-4751-ade9-9be047406427}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Description","Id","Name"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.$2_1=a;delete b.Description}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Id}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.$1_1=a;delete b.Name}}};PS.PlanAssignment=function(b,a){a:;PS.PlanAssignment.initializeBase(this,[b,a])};PS.PlanAssignment.prototype={get_fieldValues:function(){a:;var a=this.get_objectData().get_methodReturnObjects()["$m_dict"];if(SP.ScriptUtility.isNullOrUndefined(a)){a={};this.get_objectData().get_methodReturnObjects()["$m_dict"]=a}return a},get_item:function(a){a:;return this.$6_1(a)},set_item:function(b,a){a:;this.$K_1(b,a);return a},get_bookingType:function(){a:;this.checkUninitializedProperty("BookingType");return this.get_objectData().get_properties()["BookingType"]},set_bookingType:function(a){a:;this.get_objectData().get_properties()["BookingType"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"BookingType",a));return a},get_canLevel:function(){a:;this.checkUninitializedProperty("CanLevel");return this.get_objectData().get_properties()["CanLevel"]},get_code:function(){a:;this.checkUninitializedProperty("Code");return this.get_objectData().get_properties()["Code"]},get_costCenter:function(){a:;this.checkUninitializedProperty("CostCenter");return this.get_objectData().get_properties()["CostCenter"]},get_customFields:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["CustomFields"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.CustomFieldCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"CustomFields"));this.get_objectData().get_clientObjectProperties()["CustomFields"]=a}return a},get_email:function(){a:;this.checkUninitializedProperty("Email");return this.get_objectData().get_properties()["Email"]},get_group:function(){a:;this.checkUninitializedProperty("Group");return this.get_objectData().get_properties()["Group"]},get_hireDate:function(){a:;this.checkUninitializedProperty("HireDate");return this.get_objectData().get_properties()["HireDate"]},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_intervals:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Intervals"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.PlanAssignmentIntervalCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Intervals"));this.get_objectData().get_clientObjectProperties()["Intervals"]=a}return a},get_isTeam:function(){a:;this.checkUninitializedProperty("IsTeam");return this.get_objectData().get_properties()["IsTeam"]},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},get_phonetics:function(){a:;this.checkUninitializedProperty("Phonetics");return this.get_objectData().get_properties()["Phonetics"]},get_resource:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Resource"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.EnterpriseResource(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Resource"));this.get_objectData().get_clientObjectProperties()["Resource"]=a}return a},get_resourceType:function(){a:;this.checkUninitializedProperty("ResourceType");return this.get_objectData().get_properties()["ResourceType"]},get_terminationDate:function(){a:;this.checkUninitializedProperty("TerminationDate");return this.get_objectData().get_properties()["TerminationDate"]},initNonPropertiesFromJson:function(a){a:;SP.DataConvert.populateDictionaryFromObject(this.get_fieldValues(),a);SP.DataConvert.fixupTypes(this.get_context(),this.get_fieldValues())},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.BookingType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BookingType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.BookingType}a=b.CanLevel;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CanLevel"]=a;delete b.CanLevel}a=b.Code;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Code"]=a;delete b.Code}a=b.CostCenter;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CostCenter"]=a;delete b.CostCenter}a=b.CustomFields;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("CustomFields",this.get_customFields(),a);this.get_customFields().fromJson(a);delete b.CustomFields}a=b.Email;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Email"]=a;delete b.Email}a=b.Group;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Group"]=a;delete b.Group}a=b.HireDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["HireDate"]=a;delete b.HireDate}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.Intervals;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Intervals",this.get_intervals(),a);this.get_intervals().fromJson(a);delete b.Intervals}a=b.IsTeam;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsTeam"]=a;delete b.IsTeam}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.Phonetics;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Phonetics"]=a;delete b.Phonetics}a=b.Resource;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Resource",this.get_resource(),a);this.get_resource().fromJson(a);delete b.Resource}a=b.ResourceType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ResourceType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.ResourceType}a=b.TerminationDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TerminationDate"]=a;delete b.TerminationDate}},$6_1:function(b){var a=this.get_fieldValues()[b];if(SP.ScriptUtility.isUndefined(a))throw Error.create(SP.ResResources.getString("PropertyHasNotBeenInitialized"));return a},refreshLoad:function(){a:;SP.ClientObject.prototype.refreshLoad.call(this);this.loadExpandoFields()},loadExpandoFields:function(){a:;var a=this.get_fieldValues();for(var b in a){var c={key:b,value:a[b]};this.retrieve(c.key)}},$K_1:function(b,c){var a=this.get_context();this.get_fieldValues()[b]=c;var d=new SP.ClientActionInvokeMethod(this,"SetCustomFieldValue",[b,c]);a&&a.addQuery(d)},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b);this.removeFromParentCollection()}};PS.PlanAssignmentPropertyNames=function(){};PS.PlanAssignmentObjectPropertyNames=function(){};PS.PlanAssignmentCollection=function(b,a){a:;PS.PlanAssignmentCollection.initializeBase(this,[b,a])};PS.PlanAssignmentCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.PlanAssignment},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.PlanAssignment(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.PlanAssignment(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a},add:function(d){a:;var b=this.get_context(),a;a=new PS.PlanAssignment(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a},remove:function(b){a:;var c=this.get_context(),a,d=new SP.ClientActionInvokeMethod(this,"Remove",[b]);c.addQuery(d);a=new SP.BooleanResult;c.addQueryIdAndResultObject(d.get_id(),a);this.removeChild(b);return a}};PS.PlanAssignmentCreationInformation=function(){a:;PS.PlanAssignmentCreationInformation.initializeBase(this)};PS.PlanAssignmentCreationInformation.prototype={$a_1:0,$0_1:null,$O_1:null,$I_1:null,get_bookingType:function(){a:;return this.$a_1},set_bookingType:function(a){a:;this.$a_1=a;return a},get_id:function(){a:;return this.$0_1},set_id:function(a){a:;this.$0_1=a;return a},get_intervals:function(){a:;return this.$O_1},set_intervals:function(a){a:;this.$O_1=a;return a},get_resourceId:function(){a:;return this.$I_1},set_resourceId:function(a){a:;this.$I_1=a;return a},get_typeId:function(){a:;return "{defe6814-d00e-4ebf-b8ba-61b42701fba4}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["BookingType","Id","Intervals","ResourceId"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.BookingType;if(!SP.ScriptUtility.isUndefined(a)){this.$a_1=SP.DataConvert.fixupType(null,a);delete b.BookingType}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Id}a=b.Intervals;if(!SP.ScriptUtility.isUndefined(a)){this.$O_1=[];SP.DataConvert.populateArray(null,this.$O_1,a);delete b.Intervals}a=b.ResourceId;if(!SP.ScriptUtility.isUndefined(a)){this.$I_1=a;delete b.ResourceId}}};PS.PlanAssignmentInterval=function(b,a){a:;PS.PlanAssignmentInterval.initializeBase(this,[b,a])};PS.PlanAssignmentInterval.prototype={get_duration:function(){a:;this.checkUninitializedProperty("Duration");return this.get_objectData().get_properties()["Duration"]},set_duration:function(a){a:;this.get_objectData().get_properties()["Duration"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Duration",a));return a},get_durationMilliseconds:function(){a:;this.checkUninitializedProperty("DurationMilliseconds");return this.get_objectData().get_properties()["DurationMilliseconds"]},set_durationMilliseconds:function(a){a:;this.get_objectData().get_properties()["DurationMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DurationMilliseconds",a));return a},get_end:function(){a:;this.checkUninitializedProperty("End");return this.get_objectData().get_properties()["End"]},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},get_start:function(){a:;this.checkUninitializedProperty("Start");return this.get_objectData().get_properties()["Start"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Duration;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Duration"]=a;delete b.Duration}a=b.DurationMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DurationMilliseconds"]=a;delete b.DurationMilliseconds}a=b.End;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["End"]=a;delete b.End}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Start"]=a;delete b.Start}}};PS.PlanAssignmentIntervalPropertyNames=function(){};PS.PlanAssignmentIntervalCollection=function(b,a){a:;PS.PlanAssignmentIntervalCollection.initializeBase(this,[b,a])};PS.PlanAssignmentIntervalCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.PlanAssignmentInterval},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.PlanAssignmentInterval(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByStart:function(c){a:;var a=this.get_context(),b;b=new PS.PlanAssignmentInterval(a,new SP.ObjectPathMethod(a,this.get_path(),"GetByStart",[c]));return b}};PS.PlanAssignmentIntervalCreationInformation=function(){a:;PS.PlanAssignmentIntervalCreationInformation.initializeBase(this)};PS.PlanAssignmentIntervalCreationInformation.prototype={$C_1:null,$w_1:null,get_duration:function(){a:;return this.$C_1},set_duration:function(a){a:;this.$C_1=a;return a},get_interval:function(){a:;return this.$w_1},set_interval:function(a){a:;this.$w_1=a;return a},get_typeId:function(){a:;return "{0937cc31-9893-4f00-a3d8-d072304a785a}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Duration","Interval"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Duration;if(!SP.ScriptUtility.isUndefined(a)){this.$C_1=a;delete b.Duration}a=b.Interval;if(!SP.ScriptUtility.isUndefined(a)){this.$w_1=a;delete b.Interval}}};PS.Project=function(b,a){a:;PS.Project.initializeBase(this,[b,a])};PS.Project.prototype={get_approvedEnd:function(){a:;this.checkUninitializedProperty("ApprovedEnd");return this.get_objectData().get_properties()["ApprovedEnd"]},get_approvedStart:function(){a:;this.checkUninitializedProperty("ApprovedStart");return this.get_objectData().get_properties()["ApprovedStart"]},get_calculateActualCosts:function(){a:;this.checkUninitializedProperty("CalculateActualCosts");return this.get_objectData().get_properties()["CalculateActualCosts"]},get_calculatesActualCosts:function(){a:;this.checkUninitializedProperty("CalculatesActualCosts");return this.get_objectData().get_properties()["CalculatesActualCosts"]},get_checkedOutBy:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["CheckedOutBy"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"CheckedOutBy"));this.get_objectData().get_clientObjectProperties()["CheckedOutBy"]=a}return a},get_checkedOutDate:function(){a:;this.checkUninitializedProperty("CheckedOutDate");return this.get_objectData().get_properties()["CheckedOutDate"]},get_checkOutDescription:function(){a:;this.checkUninitializedProperty("CheckOutDescription");return this.get_objectData().get_properties()["CheckOutDescription"]},get_checkOutId:function(){a:;this.checkUninitializedProperty("CheckOutId");return this.get_objectData().get_properties()["CheckOutId"]},get_createdDate:function(){a:;this.checkUninitializedProperty("CreatedDate");return this.get_objectData().get_properties()["CreatedDate"]},get_criticalSlackLimit:function(){a:;this.checkUninitializedProperty("CriticalSlackLimit");return this.get_objectData().get_properties()["CriticalSlackLimit"]},get_customFields:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["CustomFields"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.CustomFieldCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"CustomFields"));this.get_objectData().get_clientObjectProperties()["CustomFields"]=a}return a},get_defaultFinishTime:function(){a:;this.checkUninitializedProperty("DefaultFinishTime");return this.get_objectData().get_properties()["DefaultFinishTime"]},get_defaultOvertimeRateUnits:function(){a:;this.checkUninitializedProperty("DefaultOvertimeRateUnits");return this.get_objectData().get_properties()["DefaultOvertimeRateUnits"]},get_defaultStandardRateUnits:function(){a:;this.checkUninitializedProperty("DefaultStandardRateUnits");return this.get_objectData().get_properties()["DefaultStandardRateUnits"]},get_defaultStartTime:function(){a:;this.checkUninitializedProperty("DefaultStartTime");return this.get_objectData().get_properties()["DefaultStartTime"]},get_engagements:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Engagements"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.ProjectEngagementCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Engagements"));this.get_objectData().get_clientObjectProperties()["Engagements"]=a}return a},get_enterpriseProjectType:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["EnterpriseProjectType"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.EnterpriseProjectType(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"EnterpriseProjectType"));this.get_objectData().get_clientObjectProperties()["EnterpriseProjectType"]=a}return a},get_hasMppPendingImport:function(){a:;this.checkUninitializedProperty("HasMppPendingImport");return this.get_objectData().get_properties()["HasMppPendingImport"]},get_honorConstraints:function(){a:;this.checkUninitializedProperty("HonorConstraints");return this.get_objectData().get_properties()["HonorConstraints"]},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_isCheckedOut:function(){a:;this.checkUninitializedProperty("IsCheckedOut");return this.get_objectData().get_properties()["IsCheckedOut"]},get_lastPublishedDate:function(){a:;this.checkUninitializedProperty("LastPublishedDate");return this.get_objectData().get_properties()["LastPublishedDate"]},get_lastSavedDate:function(){a:;this.checkUninitializedProperty("LastSavedDate");return this.get_objectData().get_properties()["LastSavedDate"]},get_moveActualIfLater:function(){a:;this.checkUninitializedProperty("MoveActualIfLater");return this.get_objectData().get_properties()["MoveActualIfLater"]},get_moveActualToStatus:function(){a:;this.checkUninitializedProperty("MoveActualToStatus");return this.get_objectData().get_properties()["MoveActualToStatus"]},get_moveRemainingIfEarlier:function(){a:;this.checkUninitializedProperty("MoveRemainingIfEarlier");return this.get_objectData().get_properties()["MoveRemainingIfEarlier"]},get_moveRemainingToStatus:function(){a:;this.checkUninitializedProperty("MoveRemainingToStatus");return this.get_objectData().get_properties()["MoveRemainingToStatus"]},get_multipleCriticalPaths:function(){a:;this.checkUninitializedProperty("MultipleCriticalPaths");return this.get_objectData().get_properties()["MultipleCriticalPaths"]},get_optimizerDecision:function(){a:;this.checkUninitializedProperty("OptimizerDecision");return this.get_objectData().get_properties()["OptimizerDecision"]},get_percentComplete:function(){a:;this.checkUninitializedProperty("PercentComplete");return this.get_objectData().get_properties()["PercentComplete"]},get_phase:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Phase"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.Phase(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Phase"));this.get_objectData().get_clientObjectProperties()["Phase"]=a}return a},get_plannerDecision:function(){a:;this.checkUninitializedProperty("PlannerDecision");return this.get_objectData().get_properties()["PlannerDecision"]},get_projectSiteUrl:function(){a:;this.checkUninitializedProperty("ProjectSiteUrl");return this.get_objectData().get_properties()["ProjectSiteUrl"]},get_projectSummaryTask:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["ProjectSummaryTask"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.ProjectSummaryTask(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"ProjectSummaryTask"));this.get_objectData().get_clientObjectProperties()["ProjectSummaryTask"]=a}return a},get_projectType:function(){a:;this.checkUninitializedProperty("ProjectType");return this.get_objectData().get_properties()["ProjectType"]},get_queueJobs:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["QueueJobs"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.QueueJobCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"QueueJobs"));this.get_objectData().get_clientObjectProperties()["QueueJobs"]=a}return a},get_splitInProgress:function(){a:;this.checkUninitializedProperty("SplitInProgress");return this.get_objectData().get_properties()["SplitInProgress"]},get_spreadActualCostsToStatus:function(){a:;this.checkUninitializedProperty("SpreadActualCostsToStatus");return this.get_objectData().get_properties()["SpreadActualCostsToStatus"]},get_spreadPercentCompleteToStatus:function(){a:;this.checkUninitializedProperty("SpreadPercentCompleteToStatus");return this.get_objectData().get_properties()["SpreadPercentCompleteToStatus"]},get_stage:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Stage"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.Stage(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Stage"));this.get_objectData().get_clientObjectProperties()["Stage"]=a}return a},get_summaryTaskId:function(){a:;this.checkUninitializedProperty("SummaryTaskId");return this.get_objectData().get_properties()["SummaryTaskId"]},get_taskListId:function(){a:;this.checkUninitializedProperty("TaskListId");return this.get_objectData().get_properties()["TaskListId"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ApprovedEnd;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ApprovedEnd"]=a;delete b.ApprovedEnd}a=b.ApprovedStart;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ApprovedStart"]=a;delete b.ApprovedStart}a=b.CalculateActualCosts;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CalculateActualCosts"]=a;delete b.CalculateActualCosts}a=b.CalculatesActualCosts;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CalculatesActualCosts"]=a;delete b.CalculatesActualCosts}a=b.CheckedOutBy;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("CheckedOutBy",this.get_checkedOutBy(),a);this.get_checkedOutBy().fromJson(a);delete b.CheckedOutBy}a=b.CheckedOutDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CheckedOutDate"]=a;delete b.CheckedOutDate}a=b.CheckOutDescription;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CheckOutDescription"]=a;delete b.CheckOutDescription}a=b.CheckOutId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CheckOutId"]=a;delete b.CheckOutId}a=b.CreatedDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CreatedDate"]=a;delete b.CreatedDate}a=b.CriticalSlackLimit;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CriticalSlackLimit"]=a;delete b.CriticalSlackLimit}a=b.CustomFields;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("CustomFields",this.get_customFields(),a);this.get_customFields().fromJson(a);delete b.CustomFields}a=b.DefaultFinishTime;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultFinishTime"]=a;delete b.DefaultFinishTime}a=b.DefaultOvertimeRateUnits;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultOvertimeRateUnits"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.DefaultOvertimeRateUnits}a=b.DefaultStandardRateUnits;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultStandardRateUnits"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.DefaultStandardRateUnits}a=b.DefaultStartTime;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultStartTime"]=a;delete b.DefaultStartTime}a=b.Engagements;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Engagements",this.get_engagements(),a);this.get_engagements().fromJson(a);delete b.Engagements}a=b.EnterpriseProjectType;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("EnterpriseProjectType",this.get_enterpriseProjectType(),a);this.get_enterpriseProjectType().fromJson(a);delete b.EnterpriseProjectType}a=b.HasMppPendingImport;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["HasMppPendingImport"]=a;delete b.HasMppPendingImport}a=b.HonorConstraints;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["HonorConstraints"]=a;delete b.HonorConstraints}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.IsCheckedOut;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsCheckedOut"]=a;delete b.IsCheckedOut}a=b.LastPublishedDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["LastPublishedDate"]=a;delete b.LastPublishedDate}a=b.LastSavedDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["LastSavedDate"]=a;delete b.LastSavedDate}a=b.MoveActualIfLater;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["MoveActualIfLater"]=a;delete b.MoveActualIfLater}a=b.MoveActualToStatus;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["MoveActualToStatus"]=a;delete b.MoveActualToStatus}a=b.MoveRemainingIfEarlier;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["MoveRemainingIfEarlier"]=a;delete b.MoveRemainingIfEarlier}a=b.MoveRemainingToStatus;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["MoveRemainingToStatus"]=a;delete b.MoveRemainingToStatus}a=b.MultipleCriticalPaths;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["MultipleCriticalPaths"]=a;delete b.MultipleCriticalPaths}a=b.OptimizerDecision;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OptimizerDecision"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.OptimizerDecision}a=b.PercentComplete;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PercentComplete"]=a;delete b.PercentComplete}a=b.Phase;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Phase",this.get_phase(),a);this.get_phase().fromJson(a);delete b.Phase}a=b.PlannerDecision;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PlannerDecision"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.PlannerDecision}a=b.ProjectSiteUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ProjectSiteUrl"]=a;delete b.ProjectSiteUrl}a=b.ProjectSummaryTask;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("ProjectSummaryTask",this.get_projectSummaryTask(),a);this.get_projectSummaryTask().fromJson(a);delete b.ProjectSummaryTask}a=b.ProjectType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ProjectType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.ProjectType}a=b.QueueJobs;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("QueueJobs",this.get_queueJobs(),a);this.get_queueJobs().fromJson(a);delete b.QueueJobs}a=b.SplitInProgress;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["SplitInProgress"]=a;delete b.SplitInProgress}a=b.SpreadActualCostsToStatus;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["SpreadActualCostsToStatus"]=a;delete b.SpreadActualCostsToStatus}a=b.SpreadPercentCompleteToStatus;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["SpreadPercentCompleteToStatus"]=a;delete b.SpreadPercentCompleteToStatus}a=b.Stage;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Stage",this.get_stage(),a);this.get_stage().fromJson(a);delete b.Stage}a=b.SummaryTaskId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["SummaryTaskId"]=a;delete b.SummaryTaskId}a=b.TaskListId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TaskListId"]=a;delete b.TaskListId}},setCustomFieldValue:function(a,b){a:;var c=this.get_context(),d=new SP.ClientActionInvokeMethod(this,"SetCustomFieldValue",[a,b]);c.addQuery(d)},updateIdeaListItemStatus:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"UpdateIdeaListItemStatus",[a]);b.addQuery(c)},updateProjectStageStatus:function(d,a,b,c){a:;var e=this.get_context(),f=new SP.ClientActionInvokeMethod(this,"UpdateProjectStageStatus",[d,a,b,c]);e.addQuery(f)},enterProjectStage:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"EnterProjectStage",[a]);b.addQuery(c)},leaveProjectStage:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"LeaveProjectStage",null);a.addQuery(b)},readyToLeaveProjectStage:function(){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"ReadyToLeaveProjectStage",null);b.addQuery(c);a=new SP.IntResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},getResourcePlan:function(d,e,c){a:;var a=this.get_context(),b;b=new PS.ResourcePlan(a,new SP.ObjectPathMethod(a,this.get_path(),"GetResourcePlan",[d,e,c]));return b}};PS.ProjectPropertyNames=function(){};PS.ProjectObjectPropertyNames=function(){};PS.ProjectCollection=function(b,a){a:;PS.ProjectCollection.initializeBase(this,[b,a])};PS.ProjectCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.PublishedProject},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.PublishedProject(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.PublishedProject(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a},add:function(d){a:;var b=this.get_context(),a;a=new PS.PublishedProject(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a},remove:function(b){a:;var c=this.get_context(),a,d=new SP.ClientActionInvokeMethod(this,"Remove",[b]);c.addQuery(d);a=new SP.BooleanResult;c.addQueryIdAndResultObject(d.get_id(),a);this.removeChild(b);return a},validate:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Validate",null);a.addQuery(b)},update:function(){a:;var a=this.get_context(),b;b=new PS.QueueJob(a,new SP.ObjectPathMethod(a,this.get_path(),"Update",null));return b}};PS.ProjectCreationInformation=function(){a:;PS.ProjectCreationInformation.initializeBase(this)};PS.ProjectCreationInformation.prototype={$2_1:null,$m_1:null,$0_1:null,$1_1:null,$3_1:null,$2A_1:null,get_description:function(){a:;return this.$2_1},set_description:function(a){a:;this.$2_1=a;return a},get_enterpriseProjectTypeId:function(){a:;return this.$m_1},set_enterpriseProjectTypeId:function(a){a:;this.$m_1=a;return a},get_id:function(){a:;return this.$0_1},set_id:function(a){a:;this.$0_1=a;return a},get_name:function(){a:;return this.$1_1},set_name:function(a){a:;this.$1_1=a;return a},get_start:function(){a:;return this.$3_1},set_start:function(a){a:;this.$3_1=a;return a},get_taskList:function(){a:;return this.$2A_1},set_taskList:function(a){a:;this.$2A_1=a;return a},get_typeId:function(){a:;return "{1e88d96b-47f5-44ca-b0d2-7e8309cd03a8}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Description","EnterpriseProjectTypeId","Id","Name","Start","TaskList"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.$2_1=a;delete b.Description}a=b.EnterpriseProjectTypeId;if(!SP.ScriptUtility.isUndefined(a)){this.$m_1=a;delete b.EnterpriseProjectTypeId}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Id}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.$1_1=a;delete b.Name}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.$3_1=a;delete b.Start}a=b.TaskList;if(!SP.ScriptUtility.isUndefined(a))delete b.TaskList}};PS.ProjectDetailPage=function(b,a){a:;PS.ProjectDetailPage.initializeBase(this,[b,a])};PS.ProjectDetailPage.prototype={get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_item:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Item"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.ListItem(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Item"));this.get_objectData().get_clientObjectProperties()["Item"]=a}return a},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},get_pageType:function(){a:;this.checkUninitializedProperty("PageType");return this.get_objectData().get_properties()["PageType"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.Item;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Item",this.get_item(),a);this.get_item().fromJson(a);delete b.Item}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.PageType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PageType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.PageType}}};PS.ProjectDetailPagePropertyNames=function(){};PS.ProjectDetailPageObjectPropertyNames=function(){};PS.ProjectDetailPageCollection=function(b,a){a:;PS.ProjectDetailPageCollection.initializeBase(this,[b,a])};PS.ProjectDetailPageCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.ProjectDetailPage},get_list:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["List"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.List(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"List"));this.get_objectData().get_clientObjectProperties()["List"]=a}return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.List;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("List",this.get_list(),a);this.get_list().fromJson(a);delete b.List}},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.ProjectDetailPage(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.ProjectDetailPage(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a}};PS.ProjectDetailPageCollectionObjectPropertyNames=function(){};PS.ProjectDetailPageCreationInformation=function(){a:;PS.ProjectDetailPageCreationInformation.initializeBase(this)};PS.ProjectDetailPageCreationInformation.prototype={$0_1:null,$y_1:false,$G_1:0,get_id:function(){a:;return this.$0_1},set_id:function(a){a:;this.$0_1=a;return a},get_isCreate:function(){a:;return this.$y_1},set_isCreate:function(a){a:;this.$y_1=a;return a},get_position:function(){a:;return this.$G_1},set_position:function(a){a:;this.$G_1=a;return a},get_typeId:function(){a:;return "{6abc7861-5ad4-4354-94fb-3dda8cd47ae4}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Id","IsCreate","Position"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Id}a=b.IsCreate;if(!SP.ScriptUtility.isUndefined(a)){this.$y_1=a;delete b.IsCreate}a=b.Position;if(!SP.ScriptUtility.isUndefined(a)){this.$G_1=a;delete b.Position}}};PS.ProjectEngagement=function(b,a){a:;PS.ProjectEngagement.initializeBase(this,[b,a])};PS.ProjectEngagement.prototype={get_approvedFinish:function(){a:;this.checkUninitializedProperty("ApprovedFinish");return this.get_objectData().get_properties()["ApprovedFinish"]},get_approvedMaxUnits:function(){a:;this.checkUninitializedProperty("ApprovedMaxUnits");return this.get_objectData().get_properties()["ApprovedMaxUnits"]},get_approvedStart:function(){a:;this.checkUninitializedProperty("ApprovedStart");return this.get_objectData().get_properties()["ApprovedStart"]},get_approvedWork:function(){a:;this.checkUninitializedProperty("ApprovedWork");return this.get_objectData().get_properties()["ApprovedWork"]},get_approvedWorkMilliseconds:function(){a:;this.checkUninitializedProperty("ApprovedWorkMilliseconds");return this.get_objectData().get_properties()["ApprovedWorkMilliseconds"]},get_hasUnsubmittedChanges:function(){a:;this.checkUninitializedProperty("HasUnsubmittedChanges");return this.get_objectData().get_properties()["HasUnsubmittedChanges"]},get_requestedFinish:function(){a:;this.checkUninitializedProperty("RequestedFinish");return this.get_objectData().get_properties()["RequestedFinish"]},set_requestedFinish:function(a){a:;this.get_objectData().get_properties()["RequestedFinish"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RequestedFinish",a));return a},get_requestedMaxUnits:function(){a:;this.checkUninitializedProperty("RequestedMaxUnits");return this.get_objectData().get_properties()["RequestedMaxUnits"]},set_requestedMaxUnits:function(a){a:;this.get_objectData().get_properties()["RequestedMaxUnits"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RequestedMaxUnits",a));return a},get_requestedStart:function(){a:;this.checkUninitializedProperty("RequestedStart");return this.get_objectData().get_properties()["RequestedStart"]},set_requestedStart:function(a){a:;this.get_objectData().get_properties()["RequestedStart"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RequestedStart",a));return a},get_requestedWork:function(){a:;this.checkUninitializedProperty("RequestedWork");return this.get_objectData().get_properties()["RequestedWork"]},set_requestedWork:function(a){a:;this.get_objectData().get_properties()["RequestedWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RequestedWork",a));return a},get_requestedWorkMilliseconds:function(){a:;this.checkUninitializedProperty("RequestedWorkMilliseconds");return this.get_objectData().get_properties()["RequestedWorkMilliseconds"]},set_requestedWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["RequestedWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RequestedWorkMilliseconds",a));return a},initPropertiesFromJson:function(b){a:;PS.Engagement.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ApprovedFinish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ApprovedFinish"]=a;delete b.ApprovedFinish}a=b.ApprovedMaxUnits;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ApprovedMaxUnits"]=a;delete b.ApprovedMaxUnits}a=b.ApprovedStart;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ApprovedStart"]=a;delete b.ApprovedStart}a=b.ApprovedWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ApprovedWork"]=a;delete b.ApprovedWork}a=b.ApprovedWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ApprovedWorkMilliseconds"]=a;delete b.ApprovedWorkMilliseconds}a=b.HasUnsubmittedChanges;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["HasUnsubmittedChanges"]=a;delete b.HasUnsubmittedChanges}a=b.RequestedFinish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RequestedFinish"]=a;delete b.RequestedFinish}a=b.RequestedMaxUnits;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RequestedMaxUnits"]=a;delete b.RequestedMaxUnits}a=b.RequestedStart;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RequestedStart"]=a;delete b.RequestedStart}a=b.RequestedWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RequestedWork"]=a;delete b.RequestedWork}a=b.RequestedWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RequestedWorkMilliseconds"]=a;delete b.RequestedWorkMilliseconds}},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b)},getTimephased:function(e,f,d,c){a:;var a=this.get_context(),b;b=new PS.ProjectEngagementTimephasedCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetTimephased",[e,f,d,c]));return b}};PS.ProjectEngagementPropertyNames=function(){};PS.ProjectEngagementCollection=function(b,a){a:;PS.ProjectEngagementCollection.initializeBase(this,[b,a])};PS.ProjectEngagementCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.ProjectEngagement},add:function(d){a:;var b=this.get_context(),a;a=new PS.ProjectEngagement(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a},remove:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"Remove",[d]);b.addQuery(c);a=new SP.BooleanResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},update:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Update",null);a.addQuery(b)},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.ProjectEngagement(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.ProjectEngagement(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a}};PS.ProjectEngagementComment=function(b,a){a:;PS.ProjectEngagementComment.initializeBase(this,[b,a])};PS.ProjectEngagementCreationInformation=function(){a:;PS.ProjectEngagementCreationInformation.initializeBase(this)};PS.ProjectEngagementCreationInformation.prototype={$28_2:null,get_resource:function(){a:;return this.$28_2},set_resource:function(a){a:;this.$28_2=a;return a},get_typeId:function(){a:;return "{f16468f3-36d1-4840-9ead-b271168a7870}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Resource"];SP.DataConvert.writePropertiesToXml(b,this,c,a);PS.EngagementCreationInformation.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(a){a:;PS.EngagementCreationInformation.prototype.initPropertiesFromJson.call(this,a);var b;b=a.Resource;if(!SP.ScriptUtility.isUndefined(b))delete a.Resource}};PS.ProjectEngagementTimephasedCollection=function(b,a){a:;PS.ProjectEngagementTimephasedCollection.initializeBase(this,[b,a])};PS.ProjectEngagementTimephasedCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.ProjectEngagementTimephasedPeriod},getByStart:function(c){a:;var a=this.get_context(),b;b=new PS.ProjectEngagementTimephasedPeriod(a,new SP.ObjectPathMethod(a,this.get_path(),"GetByStart",[c]));return b}};PS.ProjectEngagementTimephasedPeriod=function(b,a){a:;PS.ProjectEngagementTimephasedPeriod.initializeBase(this,[b,a])};PS.ProjectResource=function(b,a){a:;PS.ProjectResource.initializeBase(this,[b,a])};PS.ProjectResource.prototype={get_actualCost:function(){a:;this.checkUninitializedProperty("ActualCost");return this.get_objectData().get_properties()["ActualCost"]},get_actualCostWorkPerformed:function(){a:;this.checkUninitializedProperty("ActualCostWorkPerformed");return this.get_objectData().get_properties()["ActualCostWorkPerformed"]},get_actualCostWorkPerformedMilliseconds:function(){a:;this.checkUninitializedProperty("ActualCostWorkPerformedMilliseconds");return this.get_objectData().get_properties()["ActualCostWorkPerformedMilliseconds"]},get_actualOvertimeCost:function(){a:;this.checkUninitializedProperty("ActualOvertimeCost");return this.get_objectData().get_properties()["ActualOvertimeCost"]},get_actualOvertimeWork:function(){a:;this.checkUninitializedProperty("ActualOvertimeWork");return this.get_objectData().get_properties()["ActualOvertimeWork"]},get_actualOvertimeWorkMilliseconds:function(){a:;this.checkUninitializedProperty("ActualOvertimeWorkMilliseconds");return this.get_objectData().get_properties()["ActualOvertimeWorkMilliseconds"]},get_actualWork:function(){a:;this.checkUninitializedProperty("ActualWork");return this.get_objectData().get_properties()["ActualWork"]},get_actualWorkMilliseconds:function(){a:;this.checkUninitializedProperty("ActualWorkMilliseconds");return this.get_objectData().get_properties()["ActualWorkMilliseconds"]},get_availableFrom:function(){a:;this.checkUninitializedProperty("AvailableFrom");return this.get_objectData().get_properties()["AvailableFrom"]},get_availableTo:function(){a:;this.checkUninitializedProperty("AvailableTo");return this.get_objectData().get_properties()["AvailableTo"]},get_baselineCost:function(){a:;this.checkUninitializedProperty("BaselineCost");return this.get_objectData().get_properties()["BaselineCost"]},get_baselineWork:function(){a:;this.checkUninitializedProperty("BaselineWork");return this.get_objectData().get_properties()["BaselineWork"]},get_baselineWorkMilliseconds:function(){a:;this.checkUninitializedProperty("BaselineWorkMilliseconds");return this.get_objectData().get_properties()["BaselineWorkMilliseconds"]},get_budetCostWorkPerformed:function(){a:;this.checkUninitializedProperty("BudetCostWorkPerformed");return this.get_objectData().get_properties()["BudetCostWorkPerformed"]},get_budgetedCost:function(){a:;this.checkUninitializedProperty("BudgetedCost");return this.get_objectData().get_properties()["BudgetedCost"]},get_budgetedCostWorkScheduled:function(){a:;this.checkUninitializedProperty("BudgetedCostWorkScheduled");return this.get_objectData().get_properties()["BudgetedCostWorkScheduled"]},get_budgetedWork:function(){a:;this.checkUninitializedProperty("BudgetedWork");return this.get_objectData().get_properties()["BudgetedWork"]},get_budgetedWorkMilliseconds:function(){a:;this.checkUninitializedProperty("BudgetedWorkMilliseconds");return this.get_objectData().get_properties()["BudgetedWorkMilliseconds"]},get_cost:function(){a:;this.checkUninitializedProperty("Cost");return this.get_objectData().get_properties()["Cost"]},get_costVariance:function(){a:;this.checkUninitializedProperty("CostVariance");return this.get_objectData().get_properties()["CostVariance"]},get_costVarianceAtCompletion:function(){a:;this.checkUninitializedProperty("CostVarianceAtCompletion");return this.get_objectData().get_properties()["CostVarianceAtCompletion"]},get_created:function(){a:;this.checkUninitializedProperty("Created");return this.get_objectData().get_properties()["Created"]},get_currentCostVariance:function(){a:;this.checkUninitializedProperty("CurrentCostVariance");return this.get_objectData().get_properties()["CurrentCostVariance"]},get_customFields:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["CustomFields"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.CustomFieldCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"CustomFields"));this.get_objectData().get_clientObjectProperties()["CustomFields"]=a}return a},get_enterpriseResource:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["EnterpriseResource"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.EnterpriseResource(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"EnterpriseResource"));this.get_objectData().get_clientObjectProperties()["EnterpriseResource"]=a}return a},get_finish:function(){a:;this.checkUninitializedProperty("Finish");return this.get_objectData().get_properties()["Finish"]},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_isBudgeted:function(){a:;this.checkUninitializedProperty("IsBudgeted");return this.get_objectData().get_properties()["IsBudgeted"]},get_isGenericResource:function(){a:;this.checkUninitializedProperty("IsGenericResource");return this.get_objectData().get_properties()["IsGenericResource"]},get_isOverAllocated:function(){a:;this.checkUninitializedProperty("IsOverAllocated");return this.get_objectData().get_properties()["IsOverAllocated"]},get_modified:function(){a:;this.checkUninitializedProperty("Modified");return this.get_objectData().get_properties()["Modified"]},get_notes:function(){a:;this.checkUninitializedProperty("Notes");return this.get_objectData().get_properties()["Notes"]},get_overtimeCost:function(){a:;this.checkUninitializedProperty("OvertimeCost");return this.get_objectData().get_properties()["OvertimeCost"]},get_overtimeWork:function(){a:;this.checkUninitializedProperty("OvertimeWork");return this.get_objectData().get_properties()["OvertimeWork"]},get_overtimeWorkMilliseconds:function(){a:;this.checkUninitializedProperty("OvertimeWorkMilliseconds");return this.get_objectData().get_properties()["OvertimeWorkMilliseconds"]},get_peakWork:function(){a:;this.checkUninitializedProperty("PeakWork");return this.get_objectData().get_properties()["PeakWork"]},get_peakWorkMilliseconds:function(){a:;this.checkUninitializedProperty("PeakWorkMilliseconds");return this.get_objectData().get_properties()["PeakWorkMilliseconds"]},get_percentWorkComplete:function(){a:;this.checkUninitializedProperty("PercentWorkComplete");return this.get_objectData().get_properties()["PercentWorkComplete"]},get_regularWork:function(){a:;this.checkUninitializedProperty("RegularWork");return this.get_objectData().get_properties()["RegularWork"]},get_regularWorkMilliseconds:function(){a:;this.checkUninitializedProperty("RegularWorkMilliseconds");return this.get_objectData().get_properties()["RegularWorkMilliseconds"]},get_remainingCost:function(){a:;this.checkUninitializedProperty("RemainingCost");return this.get_objectData().get_properties()["RemainingCost"]},get_remainingOvertimeCost:function(){a:;this.checkUninitializedProperty("RemainingOvertimeCost");return this.get_objectData().get_properties()["RemainingOvertimeCost"]},get_remainingOvertimeWork:function(){a:;this.checkUninitializedProperty("RemainingOvertimeWork");return this.get_objectData().get_properties()["RemainingOvertimeWork"]},get_remainingOvertimeWorkMilliseconds:function(){a:;this.checkUninitializedProperty("RemainingOvertimeWorkMilliseconds");return this.get_objectData().get_properties()["RemainingOvertimeWorkMilliseconds"]},get_remainingWork:function(){a:;this.checkUninitializedProperty("RemainingWork");return this.get_objectData().get_properties()["RemainingWork"]},get_remainingWorkMilliseconds:function(){a:;this.checkUninitializedProperty("RemainingWorkMilliseconds");return this.get_objectData().get_properties()["RemainingWorkMilliseconds"]},get_scheduleCostVariance:function(){a:;this.checkUninitializedProperty("ScheduleCostVariance");return this.get_objectData().get_properties()["ScheduleCostVariance"]},get_start:function(){a:;this.checkUninitializedProperty("Start");return this.get_objectData().get_properties()["Start"]},get_work:function(){a:;this.checkUninitializedProperty("Work");return this.get_objectData().get_properties()["Work"]},get_workMilliseconds:function(){a:;this.checkUninitializedProperty("WorkMilliseconds");return this.get_objectData().get_properties()["WorkMilliseconds"]},get_workVariance:function(){a:;this.checkUninitializedProperty("WorkVariance");return this.get_objectData().get_properties()["WorkVariance"]},get_workVarianceMilliseconds:function(){a:;this.checkUninitializedProperty("WorkVarianceMilliseconds");return this.get_objectData().get_properties()["WorkVarianceMilliseconds"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ActualCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualCost"]=a;delete b.ActualCost}a=b.ActualCostWorkPerformed;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualCostWorkPerformed"]=a;delete b.ActualCostWorkPerformed}a=b.ActualCostWorkPerformedMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualCostWorkPerformedMilliseconds"]=a;delete b.ActualCostWorkPerformedMilliseconds}a=b.ActualOvertimeCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualOvertimeCost"]=a;delete b.ActualOvertimeCost}a=b.ActualOvertimeWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualOvertimeWork"]=a;delete b.ActualOvertimeWork}a=b.ActualOvertimeWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualOvertimeWorkMilliseconds"]=a;delete b.ActualOvertimeWorkMilliseconds}a=b.ActualWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualWork"]=a;delete b.ActualWork}a=b.ActualWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualWorkMilliseconds"]=a;delete b.ActualWorkMilliseconds}a=b.AvailableFrom;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["AvailableFrom"]=a;delete b.AvailableFrom}a=b.AvailableTo;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["AvailableTo"]=a;delete b.AvailableTo}a=b.BaselineCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BaselineCost"]=a;delete b.BaselineCost}a=b.BaselineWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BaselineWork"]=a;delete b.BaselineWork}a=b.BaselineWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BaselineWorkMilliseconds"]=a;delete b.BaselineWorkMilliseconds}a=b.BudetCostWorkPerformed;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BudetCostWorkPerformed"]=a;delete b.BudetCostWorkPerformed}a=b.BudgetedCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BudgetedCost"]=a;delete b.BudgetedCost}a=b.BudgetedCostWorkScheduled;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BudgetedCostWorkScheduled"]=a;delete b.BudgetedCostWorkScheduled}a=b.BudgetedWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BudgetedWork"]=a;delete b.BudgetedWork}a=b.BudgetedWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BudgetedWorkMilliseconds"]=a;delete b.BudgetedWorkMilliseconds}a=b.Cost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Cost"]=a;delete b.Cost}a=b.CostVariance;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CostVariance"]=a;delete b.CostVariance}a=b.CostVarianceAtCompletion;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CostVarianceAtCompletion"]=a;delete b.CostVarianceAtCompletion}a=b.Created;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Created"]=a;delete b.Created}a=b.CurrentCostVariance;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CurrentCostVariance"]=a;delete b.CurrentCostVariance}a=b.CustomFields;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("CustomFields",this.get_customFields(),a);this.get_customFields().fromJson(a);delete b.CustomFields}a=b.EnterpriseResource;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("EnterpriseResource",this.get_enterpriseResource(),a);this.get_enterpriseResource().fromJson(a);delete b.EnterpriseResource}a=b.Finish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Finish"]=a;delete b.Finish}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.IsBudgeted;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsBudgeted"]=a;delete b.IsBudgeted}a=b.IsGenericResource;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsGenericResource"]=a;delete b.IsGenericResource}a=b.IsOverAllocated;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsOverAllocated"]=a;delete b.IsOverAllocated}a=b.Modified;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Modified"]=a;delete b.Modified}a=b.Notes;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Notes"]=a;delete b.Notes}a=b.OvertimeCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OvertimeCost"]=a;delete b.OvertimeCost}a=b.OvertimeWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OvertimeWork"]=a;delete b.OvertimeWork}a=b.OvertimeWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OvertimeWorkMilliseconds"]=a;delete b.OvertimeWorkMilliseconds}a=b.PeakWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PeakWork"]=a;delete b.PeakWork}a=b.PeakWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PeakWorkMilliseconds"]=a;delete b.PeakWorkMilliseconds}a=b.PercentWorkComplete;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PercentWorkComplete"]=a;delete b.PercentWorkComplete}a=b.RegularWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RegularWork"]=a;delete b.RegularWork}a=b.RegularWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RegularWorkMilliseconds"]=a;delete b.RegularWorkMilliseconds}a=b.RemainingCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingCost"]=a;delete b.RemainingCost}a=b.RemainingOvertimeCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingOvertimeCost"]=a;delete b.RemainingOvertimeCost}a=b.RemainingOvertimeWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingOvertimeWork"]=a;delete b.RemainingOvertimeWork}a=b.RemainingOvertimeWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingOvertimeWorkMilliseconds"]=a;delete b.RemainingOvertimeWorkMilliseconds}a=b.RemainingWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingWork"]=a;delete b.RemainingWork}a=b.RemainingWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingWorkMilliseconds"]=a;delete b.RemainingWorkMilliseconds}a=b.ScheduleCostVariance;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ScheduleCostVariance"]=a;delete b.ScheduleCostVariance}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Start"]=a;delete b.Start}a=b.Work;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Work"]=a;delete b.Work}a=b.WorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WorkMilliseconds"]=a;delete b.WorkMilliseconds}a=b.WorkVariance;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WorkVariance"]=a;delete b.WorkVariance}a=b.WorkVarianceMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WorkVarianceMilliseconds"]=a;delete b.WorkVarianceMilliseconds}}};PS.ProjectResourcePropertyNames=function(){};PS.ProjectResourceObjectPropertyNames=function(){};PS.ProjectResourceCreationInformation=function(){a:;PS.ProjectResourceCreationInformation.initializeBase(this)};PS.ProjectResourceCreationInformation.prototype={$U_1:null,$j_1:null,$0_1:null,$1_1:null,$8_1:null,get_account:function(){a:;return this.$U_1},set_account:function(a){a:;this.$U_1=a;return a},get_email:function(){a:;return this.$j_1},set_email:function(a){a:;this.$j_1=a;return a},get_id:function(){a:;return this.$0_1},set_id:function(a){a:;this.$0_1=a;return a},get_name:function(){a:;return this.$1_1},set_name:function(a){a:;this.$1_1=a;return a},get_notes:function(){a:;return this.$8_1},set_notes:function(a){a:;this.$8_1=a;return a},get_typeId:function(){a:;return "{69b89190-b8dc-4025-b0d1-a81e4cbd605c}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Account","Email","Id","Name","Notes"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Account;if(!SP.ScriptUtility.isUndefined(a)){this.$U_1=a;delete b.Account}a=b.Email;if(!SP.ScriptUtility.isUndefined(a)){this.$j_1=a;delete b.Email}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Id}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.$1_1=a;delete b.Name}a=b.Notes;if(!SP.ScriptUtility.isUndefined(a)){this.$8_1=a;delete b.Notes}}};PS.ProjectServer=function(a){a:;PS.ProjectServer.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{3a609e5f-e2a1-497c-87a2-e5e8a781c096}",arguments)])};PS.ProjectServer.newObject=function(a){a:;return new PS.ProjectServer(a,new SP.ObjectPathConstructor(a,"{3a609e5f-e2a1-497c-87a2-e5e8a781c096}",null))};PS.ProjectServer.prototype={get_calendars:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Calendars"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.CalendarCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Calendars"));this.get_objectData().get_clientObjectProperties()["Calendars"]=a}return a},get_customFields:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["CustomFields"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.CustomFieldCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"CustomFields"));this.get_objectData().get_clientObjectProperties()["CustomFields"]=a}return a},get_engagementsTimephasedPageSize:function(){a:;this.checkUninitializedProperty("EngagementsTimephasedPageSize");return this.get_objectData().get_properties()["EngagementsTimephasedPageSize"]},get_enterpriseProjectTypes:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["EnterpriseProjectTypes"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.EnterpriseProjectTypeCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"EnterpriseProjectTypes"));this.get_objectData().get_clientObjectProperties()["EnterpriseProjectTypes"]=a}return a},get_enterpriseResources:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["EnterpriseResources"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.EnterpriseResourceCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"EnterpriseResources"));this.get_objectData().get_clientObjectProperties()["EnterpriseResources"]=a}return a},get_enterpriseResourcesPageSize:function(){a:;this.checkUninitializedProperty("EnterpriseResourcesPageSize");return this.get_objectData().get_properties()["EnterpriseResourcesPageSize"]},get_entityTypes:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["EntityTypes"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.EntityTypes(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"EntityTypes"));this.get_objectData().get_clientObjectProperties()["EntityTypes"]=a}return a},get_eventHandlers:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["EventHandlers"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.EventHandlerCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"EventHandlers"));this.get_objectData().get_clientObjectProperties()["EventHandlers"]=a}return a},get_events:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Events"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.EventCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Events"));this.get_objectData().get_clientObjectProperties()["Events"]=a}return a},get_isDelegate:function(){a:;this.checkUninitializedProperty("IsDelegate");return this.get_objectData().get_properties()["IsDelegate"]},get_isReadOnly:function(){a:;this.checkUninitializedProperty("IsReadOnly");return this.get_objectData().get_properties()["IsReadOnly"]},get_lookupTables:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["LookupTables"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.LookupTableCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"LookupTables"));this.get_objectData().get_clientObjectProperties()["LookupTables"]=a}return a},get_phases:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Phases"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.PhaseCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Phases"));this.get_objectData().get_clientObjectProperties()["Phases"]=a}return a},get_projectDetailPages:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["ProjectDetailPages"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.ProjectDetailPageCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"ProjectDetailPages"));this.get_objectData().get_clientObjectProperties()["ProjectDetailPages"]=a}return a},get_projects:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Projects"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.ProjectCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Projects"));this.get_objectData().get_clientObjectProperties()["Projects"]=a}return a},get_projectsPageSize:function(){a:;this.checkUninitializedProperty("ProjectsPageSize");return this.get_objectData().get_properties()["ProjectsPageSize"]},get_stages:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Stages"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.StageCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Stages"));this.get_objectData().get_clientObjectProperties()["Stages"]=a}return a},get_timeSheetPeriods:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["TimeSheetPeriods"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.TimeSheetPeriodCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"TimeSheetPeriods"));this.get_objectData().get_clientObjectProperties()["TimeSheetPeriods"]=a}return a},get_workflowActivities:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["WorkflowActivities"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.WorkflowActivities(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"WorkflowActivities"));this.get_objectData().get_clientObjectProperties()["WorkflowActivities"]=a}return a},get_workflowDesigner:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["WorkflowDesigner"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.WorkflowDesigner(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"WorkflowDesigner"));this.get_objectData().get_clientObjectProperties()["WorkflowDesigner"]=a}return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Calendars;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Calendars",this.get_calendars(),a);this.get_calendars().fromJson(a);delete b.Calendars}a=b.CustomFields;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("CustomFields",this.get_customFields(),a);this.get_customFields().fromJson(a);delete b.CustomFields}a=b.EngagementsTimephasedPageSize;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["EngagementsTimephasedPageSize"]=a;delete b.EngagementsTimephasedPageSize}a=b.EnterpriseProjectTypes;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("EnterpriseProjectTypes",this.get_enterpriseProjectTypes(),a);this.get_enterpriseProjectTypes().fromJson(a);delete b.EnterpriseProjectTypes}a=b.EnterpriseResources;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("EnterpriseResources",this.get_enterpriseResources(),a);this.get_enterpriseResources().fromJson(a);delete b.EnterpriseResources}a=b.EnterpriseResourcesPageSize;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["EnterpriseResourcesPageSize"]=a;delete b.EnterpriseResourcesPageSize}a=b.EntityTypes;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("EntityTypes",this.get_entityTypes(),a);this.get_entityTypes().fromJson(a);delete b.EntityTypes}a=b.EventHandlers;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("EventHandlers",this.get_eventHandlers(),a);this.get_eventHandlers().fromJson(a);delete b.EventHandlers}a=b.Events;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Events",this.get_events(),a);this.get_events().fromJson(a);delete b.Events}a=b.IsDelegate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsDelegate"]=a;delete b.IsDelegate}a=b.IsReadOnly;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsReadOnly"]=a;delete b.IsReadOnly}a=b.LookupTables;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("LookupTables",this.get_lookupTables(),a);this.get_lookupTables().fromJson(a);delete b.LookupTables}a=b.Phases;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Phases",this.get_phases(),a);this.get_phases().fromJson(a);delete b.Phases}a=b.ProjectDetailPages;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("ProjectDetailPages",this.get_projectDetailPages(),a);this.get_projectDetailPages().fromJson(a);delete b.ProjectDetailPages}a=b.Projects;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Projects",this.get_projects(),a);this.get_projects().fromJson(a);delete b.Projects}a=b.ProjectsPageSize;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ProjectsPageSize"]=a;delete b.ProjectsPageSize}a=b.Stages;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Stages",this.get_stages(),a);this.get_stages().fromJson(a);delete b.Stages}a=b.TimeSheetPeriods;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("TimeSheetPeriods",this.get_timeSheetPeriods(),a);this.get_timeSheetPeriods().fromJson(a);delete b.TimeSheetPeriods}a=b.WorkflowActivities;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("WorkflowActivities",this.get_workflowActivities(),a);this.get_workflowActivities().fromJson(a);delete b.WorkflowActivities}a=b.WorkflowDesigner;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("WorkflowDesigner",this.get_workflowDesigner(),a);this.get_workflowDesigner().fromJson(a);delete b.WorkflowDesigner}},stopDelegation:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"StopDelegation",null);a.addQuery(b)},getDeletedPublishedAssignments:function(c){a:;var a=this.get_context(),b;b=new PS.DeletedPublishedAssignmentCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetDeletedPublishedAssignments",[c]));return b}};PS.ProjectServerPropertyNames=function(){};PS.ProjectServerObjectPropertyNames=function(){};PS.ProjectServerData=function(a){a:;PS.ProjectServerData.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{377f41e2-2956-409e-a261-08e6826ac4bf}",arguments)])};PS.ProjectServerData.newObject=function(a){a:;return new PS.ProjectServerData(a,new SP.ObjectPathConstructor(a,"{377f41e2-2956-409e-a261-08e6826ac4bf}",null))};PS.ProjectSummaryTask=function(b,a){a:;PS.ProjectSummaryTask.initializeBase(this,[b,a])};PS.ProjectSummaryTask.prototype={get_fieldValues:function(){a:;var a=this.get_objectData().get_methodReturnObjects()["$m_dict"];if(SP.ScriptUtility.isNullOrUndefined(a)){a={};this.get_objectData().get_methodReturnObjects()["$m_dict"]=a}return a},get_item:function(a){a:;return this.$6_2(a)},get_actualCost:function(){a:;this.checkUninitializedProperty("ActualCost");return this.get_objectData().get_properties()["ActualCost"]},get_actualWork:function(){a:;this.checkUninitializedProperty("ActualWork");return this.get_objectData().get_properties()["ActualWork"]},get_actualWorkMilliseconds:function(){a:;this.checkUninitializedProperty("ActualWorkMilliseconds");return this.get_objectData().get_properties()["ActualWorkMilliseconds"]},get_budgetWork:function(){a:;this.checkUninitializedProperty("BudgetWork");return this.get_objectData().get_properties()["BudgetWork"]},get_budgetWorkMilliseconds:function(){a:;this.checkUninitializedProperty("BudgetWorkMilliseconds");return this.get_objectData().get_properties()["BudgetWorkMilliseconds"]},get_cost:function(){a:;this.checkUninitializedProperty("Cost");return this.get_objectData().get_properties()["Cost"]},get_duration:function(){a:;this.checkUninitializedProperty("Duration");return this.get_objectData().get_properties()["Duration"]},get_durationMilliseconds:function(){a:;this.checkUninitializedProperty("DurationMilliseconds");return this.get_objectData().get_properties()["DurationMilliseconds"]},get_finish:function(){a:;this.checkUninitializedProperty("Finish");return this.get_objectData().get_properties()["Finish"]},get_finishText:function(){a:;this.checkUninitializedProperty("FinishText");return this.get_objectData().get_properties()["FinishText"]},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},get_percentComplete:function(){a:;this.checkUninitializedProperty("PercentComplete");return this.get_objectData().get_properties()["PercentComplete"]},get_priority:function(){a:;this.checkUninitializedProperty("Priority");return this.get_objectData().get_properties()["Priority"]},get_start:function(){a:;this.checkUninitializedProperty("Start");return this.get_objectData().get_properties()["Start"]},get_startText:function(){a:;this.checkUninitializedProperty("StartText");return this.get_objectData().get_properties()["StartText"]},get_work:function(){a:;this.checkUninitializedProperty("Work");return this.get_objectData().get_properties()["Work"]},get_workMilliseconds:function(){a:;this.checkUninitializedProperty("WorkMilliseconds");return this.get_objectData().get_properties()["WorkMilliseconds"]},initNonPropertiesFromJson:function(a){a:;SP.DataConvert.populateDictionaryFromObject(this.get_fieldValues(),a);SP.DataConvert.fixupTypes(this.get_context(),this.get_fieldValues())},initPropertiesFromJson:function(b){a:;PS.Task.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ActualCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualCost"]=a;delete b.ActualCost}a=b.ActualWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualWork"]=a;delete b.ActualWork}a=b.ActualWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualWorkMilliseconds"]=a;delete b.ActualWorkMilliseconds}a=b.BudgetWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BudgetWork"]=a;delete b.BudgetWork}a=b.BudgetWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BudgetWorkMilliseconds"]=a;delete b.BudgetWorkMilliseconds}a=b.Cost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Cost"]=a;delete b.Cost}a=b.Duration;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Duration"]=a;delete b.Duration}a=b.DurationMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DurationMilliseconds"]=a;delete b.DurationMilliseconds}a=b.Finish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Finish"]=a;delete b.Finish}a=b.FinishText;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FinishText"]=a;delete b.FinishText}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.PercentComplete;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PercentComplete"]=a;delete b.PercentComplete}a=b.Priority;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Priority"]=a;delete b.Priority}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Start"]=a;delete b.Start}a=b.StartText;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["StartText"]=a;delete b.StartText}a=b.Work;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Work"]=a;delete b.Work}a=b.WorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WorkMilliseconds"]=a;delete b.WorkMilliseconds}},$6_2:function(b){var a=this.get_fieldValues()[b];if(SP.ScriptUtility.isUndefined(a))throw Error.create(SP.ResResources.getString("PropertyHasNotBeenInitialized"));return a},refreshLoad:function(){a:;SP.ClientObject.prototype.refreshLoad.call(this);this.loadExpandoFields()},loadExpandoFields:function(){a:;var a=this.get_fieldValues();for(var b in a){var c={key:b,value:a[b]};this.retrieve(c.key)}}};PS.ProjectSummaryTaskPropertyNames=function(){};PS.PublishedAssignment=function(b,a){a:;PS.PublishedAssignment.initializeBase(this,[b,a])};PS.PublishedAssignment.prototype={get_fieldValues:function(){a:;var a=this.get_objectData().get_methodReturnObjects()["$m_dict"];if(SP.ScriptUtility.isNullOrUndefined(a)){a={};this.get_objectData().get_methodReturnObjects()["$m_dict"]=a}return a},get_item:function(a){a:;return this.$6_2(a)},get_actualCost:function(){a:;this.checkUninitializedProperty("ActualCost");return this.get_objectData().get_properties()["ActualCost"]},get_actualFinish:function(){a:;this.checkUninitializedProperty("ActualFinish");return this.get_objectData().get_properties()["ActualFinish"]},get_actualOvertimeWork:function(){a:;this.checkUninitializedProperty("ActualOvertimeWork");return this.get_objectData().get_properties()["ActualOvertimeWork"]},get_actualOvertimeWorkMilliseconds:function(){a:;this.checkUninitializedProperty("ActualOvertimeWorkMilliseconds");return this.get_objectData().get_properties()["ActualOvertimeWorkMilliseconds"]},get_actualStart:function(){a:;this.checkUninitializedProperty("ActualStart");return this.get_objectData().get_properties()["ActualStart"]},get_actualWork:function(){a:;this.checkUninitializedProperty("ActualWork");return this.get_objectData().get_properties()["ActualWork"]},get_actualWorkMilliseconds:function(){a:;this.checkUninitializedProperty("ActualWorkMilliseconds");return this.get_objectData().get_properties()["ActualWorkMilliseconds"]},get_budgetedCost:function(){a:;this.checkUninitializedProperty("BudgetedCost");return this.get_objectData().get_properties()["BudgetedCost"]},get_budgetedWork:function(){a:;this.checkUninitializedProperty("BudgetedWork");return this.get_objectData().get_properties()["BudgetedWork"]},get_budgetedWorkMilliseconds:function(){a:;this.checkUninitializedProperty("BudgetedWorkMilliseconds");return this.get_objectData().get_properties()["BudgetedWorkMilliseconds"]},get_cost:function(){a:;this.checkUninitializedProperty("Cost");return this.get_objectData().get_properties()["Cost"]},get_costRateTable:function(){a:;this.checkUninitializedProperty("CostRateTable");return this.get_objectData().get_properties()["CostRateTable"]},get_defaultBookingType:function(){a:;this.checkUninitializedProperty("DefaultBookingType");return this.get_objectData().get_properties()["DefaultBookingType"]},get_delay:function(){a:;this.checkUninitializedProperty("Delay");return this.get_objectData().get_properties()["Delay"]},get_delayMilliseconds:function(){a:;this.checkUninitializedProperty("DelayMilliseconds");return this.get_objectData().get_properties()["DelayMilliseconds"]},get_isLockedByManager:function(){a:;this.checkUninitializedProperty("IsLockedByManager");return this.get_objectData().get_properties()["IsLockedByManager"]},get_isWorkResource:function(){a:;this.checkUninitializedProperty("IsWorkResource");return this.get_objectData().get_properties()["IsWorkResource"]},get_overtimeWork:function(){a:;this.checkUninitializedProperty("OvertimeWork");return this.get_objectData().get_properties()["OvertimeWork"]},get_overtimeWorkMilliseconds:function(){a:;this.checkUninitializedProperty("OvertimeWorkMilliseconds");return this.get_objectData().get_properties()["OvertimeWorkMilliseconds"]},get_owner:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Owner"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Owner"));this.get_objectData().get_clientObjectProperties()["Owner"]=a}return a},get_parent:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Parent"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.PublishedAssignment(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Parent"));this.get_objectData().get_clientObjectProperties()["Parent"]=a}return a},get_percentWorkComplete:function(){a:;this.checkUninitializedProperty("PercentWorkComplete");return this.get_objectData().get_properties()["PercentWorkComplete"]},get_regularWork:function(){a:;this.checkUninitializedProperty("RegularWork");return this.get_objectData().get_properties()["RegularWork"]},get_regularWorkMilliseconds:function(){a:;this.checkUninitializedProperty("RegularWorkMilliseconds");return this.get_objectData().get_properties()["RegularWorkMilliseconds"]},get_remainingOvertimeWork:function(){a:;this.checkUninitializedProperty("RemainingOvertimeWork");return this.get_objectData().get_properties()["RemainingOvertimeWork"]},get_remainingOvertimeWorkMilliseconds:function(){a:;this.checkUninitializedProperty("RemainingOvertimeWorkMilliseconds");return this.get_objectData().get_properties()["RemainingOvertimeWorkMilliseconds"]},get_remainingWork:function(){a:;this.checkUninitializedProperty("RemainingWork");return this.get_objectData().get_properties()["RemainingWork"]},get_remainingWorkMilliseconds:function(){a:;this.checkUninitializedProperty("RemainingWorkMilliseconds");return this.get_objectData().get_properties()["RemainingWorkMilliseconds"]},get_resource:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Resource"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.PublishedProjectResource(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Resource"));this.get_objectData().get_clientObjectProperties()["Resource"]=a}return a},get_resourceCapacity:function(){a:;this.checkUninitializedProperty("ResourceCapacity");return this.get_objectData().get_properties()["ResourceCapacity"]},get_task:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Task"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.PublishedTask(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Task"));this.get_objectData().get_clientObjectProperties()["Task"]=a}return a},get_work:function(){a:;this.checkUninitializedProperty("Work");return this.get_objectData().get_properties()["Work"]},get_workMilliseconds:function(){a:;this.checkUninitializedProperty("WorkMilliseconds");return this.get_objectData().get_properties()["WorkMilliseconds"]},initNonPropertiesFromJson:function(a){a:;SP.DataConvert.populateDictionaryFromObject(this.get_fieldValues(),a);SP.DataConvert.fixupTypes(this.get_context(),this.get_fieldValues())},initPropertiesFromJson:function(b){a:;PS.Assignment.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ActualCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualCost"]=a;delete b.ActualCost}a=b.ActualFinish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualFinish"]=a;delete b.ActualFinish}a=b.ActualOvertimeWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualOvertimeWork"]=a;delete b.ActualOvertimeWork}a=b.ActualOvertimeWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualOvertimeWorkMilliseconds"]=a;delete b.ActualOvertimeWorkMilliseconds}a=b.ActualStart;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualStart"]=a;delete b.ActualStart}a=b.ActualWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualWork"]=a;delete b.ActualWork}a=b.ActualWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualWorkMilliseconds"]=a;delete b.ActualWorkMilliseconds}a=b.BudgetedCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BudgetedCost"]=a;delete b.BudgetedCost}a=b.BudgetedWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BudgetedWork"]=a;delete b.BudgetedWork}a=b.BudgetedWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BudgetedWorkMilliseconds"]=a;delete b.BudgetedWorkMilliseconds}a=b.Cost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Cost"]=a;delete b.Cost}a=b.CostRateTable;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CostRateTable"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.CostRateTable}a=b.DefaultBookingType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultBookingType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.DefaultBookingType}a=b.Delay;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Delay"]=a;delete b.Delay}a=b.DelayMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DelayMilliseconds"]=a;delete b.DelayMilliseconds}a=b.IsLockedByManager;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsLockedByManager"]=a;delete b.IsLockedByManager}a=b.IsWorkResource;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsWorkResource"]=a;delete b.IsWorkResource}a=b.OvertimeWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OvertimeWork"]=a;delete b.OvertimeWork}a=b.OvertimeWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OvertimeWorkMilliseconds"]=a;delete b.OvertimeWorkMilliseconds}a=b.Owner;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Owner",this.get_owner(),a);this.get_owner().fromJson(a);delete b.Owner}a=b.Parent;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Parent",this.get_parent(),a);this.get_parent().fromJson(a);delete b.Parent}a=b.PercentWorkComplete;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PercentWorkComplete"]=a;delete b.PercentWorkComplete}a=b.RegularWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RegularWork"]=a;delete b.RegularWork}a=b.RegularWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RegularWorkMilliseconds"]=a;delete b.RegularWorkMilliseconds}a=b.RemainingOvertimeWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingOvertimeWork"]=a;delete b.RemainingOvertimeWork}a=b.RemainingOvertimeWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingOvertimeWorkMilliseconds"]=a;delete b.RemainingOvertimeWorkMilliseconds}a=b.RemainingWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingWork"]=a;delete b.RemainingWork}a=b.RemainingWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingWorkMilliseconds"]=a;delete b.RemainingWorkMilliseconds}a=b.Resource;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Resource",this.get_resource(),a);this.get_resource().fromJson(a);delete b.Resource}a=b.ResourceCapacity;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ResourceCapacity"]=a;delete b.ResourceCapacity}a=b.Task;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Task",this.get_task(),a);this.get_task().fromJson(a);delete b.Task}a=b.Work;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Work"]=a;delete b.Work}a=b.WorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WorkMilliseconds"]=a;delete b.WorkMilliseconds}},$6_2:function(b){var a=this.get_fieldValues()[b];if(SP.ScriptUtility.isUndefined(a))throw Error.create(SP.ResResources.getString("PropertyHasNotBeenInitialized"));return a},refreshLoad:function(){a:;SP.ClientObject.prototype.refreshLoad.call(this);this.loadExpandoFields()},loadExpandoFields:function(){a:;var a=this.get_fieldValues();for(var b in a){var c={key:b,value:a[b]};this.retrieve(c.key)}}};PS.PublishedAssignmentPropertyNames=function(){};PS.PublishedAssignmentObjectPropertyNames=function(){};PS.PublishedAssignmentCollection=function(b,a){a:;PS.PublishedAssignmentCollection.initializeBase(this,[b,a])};PS.PublishedAssignmentCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.PublishedAssignment},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.PublishedAssignment(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.PublishedAssignment(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a}};PS.PublishedProject=function(b,a){a:;PS.PublishedProject.initializeBase(this,[b,a])};PS.PublishedProject.prototype={get_fieldValues:function(){a:;var a=this.get_objectData().get_methodReturnObjects()["$m_dict"];if(SP.ScriptUtility.isNullOrUndefined(a)){a={};this.get_objectData().get_methodReturnObjects()["$m_dict"]=a}return a},get_item:function(a){a:;return this.$6_2(a)},set_item:function(b,a){a:;this.setCustomFieldValue(b,a);return a},get_assignments:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Assignments"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.PublishedAssignmentCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Assignments"));this.get_objectData().get_clientObjectProperties()["Assignments"]=a}return a},get_calendar:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Calendar"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.Calendar(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Calendar"));this.get_objectData().get_clientObjectProperties()["Calendar"]=a}return a},get_currencyCode:function(){a:;this.checkUninitializedProperty("CurrencyCode");return this.get_objectData().get_properties()["CurrencyCode"]},get_currencyDigits:function(){a:;this.checkUninitializedProperty("CurrencyDigits");return this.get_objectData().get_properties()["CurrencyDigits"]},get_currencyPosition:function(){a:;this.checkUninitializedProperty("CurrencyPosition");return this.get_objectData().get_properties()["CurrencyPosition"]},get_currencySymbol:function(){a:;this.checkUninitializedProperty("CurrencySymbol");return this.get_objectData().get_properties()["CurrencySymbol"]},get_currentDate:function(){a:;this.checkUninitializedProperty("CurrentDate");return this.get_objectData().get_properties()["CurrentDate"]},get_daysPerMonth:function(){a:;this.checkUninitializedProperty("DaysPerMonth");return this.get_objectData().get_properties()["DaysPerMonth"]},get_defaultEffortDriven:function(){a:;this.checkUninitializedProperty("DefaultEffortDriven");return this.get_objectData().get_properties()["DefaultEffortDriven"]},get_defaultEstimatedDuration:function(){a:;this.checkUninitializedProperty("DefaultEstimatedDuration");return this.get_objectData().get_properties()["DefaultEstimatedDuration"]},get_defaultFixedCostAccrual:function(){a:;this.checkUninitializedProperty("DefaultFixedCostAccrual");return this.get_objectData().get_properties()["DefaultFixedCostAccrual"]},get_defaultOvertimeRate:function(){a:;this.checkUninitializedProperty("DefaultOvertimeRate");return this.get_objectData().get_properties()["DefaultOvertimeRate"]},get_defaultStandardRate:function(){a:;this.checkUninitializedProperty("DefaultStandardRate");return this.get_objectData().get_properties()["DefaultStandardRate"]},get_defaultTaskType:function(){a:;this.checkUninitializedProperty("DefaultTaskType");return this.get_objectData().get_properties()["DefaultTaskType"]},get_defaultWorkFormat:function(){a:;this.checkUninitializedProperty("DefaultWorkFormat");return this.get_objectData().get_properties()["DefaultWorkFormat"]},get_description:function(){a:;this.checkUninitializedProperty("Description");return this.get_objectData().get_properties()["Description"]},get_draft:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Draft"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.DraftProject(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Draft"));this.get_objectData().get_clientObjectProperties()["Draft"]=a}return a},get_finishDate:function(){a:;this.checkUninitializedProperty("FinishDate");return this.get_objectData().get_properties()["FinishDate"]},get_fiscalYearStartMonth:function(){a:;this.checkUninitializedProperty("FiscalYearStartMonth");return this.get_objectData().get_properties()["FiscalYearStartMonth"]},get_includeCustomFields:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["IncludeCustomFields"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.PublishedProject(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"IncludeCustomFields"));this.get_objectData().get_clientObjectProperties()["IncludeCustomFields"]=a}return a},get_isEnterpriseProject:function(){a:;this.checkUninitializedProperty("IsEnterpriseProject");return this.get_objectData().get_properties()["IsEnterpriseProject"]},set_isEnterpriseProject:function(a){a:;this.get_objectData().get_properties()["IsEnterpriseProject"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsEnterpriseProject",a));return a},get_minutesPerDay:function(){a:;this.checkUninitializedProperty("MinutesPerDay");return this.get_objectData().get_properties()["MinutesPerDay"]},get_minutesPerWeek:function(){a:;this.checkUninitializedProperty("MinutesPerWeek");return this.get_objectData().get_properties()["MinutesPerWeek"]},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},get_newTasksAreManual:function(){a:;this.checkUninitializedProperty("NewTasksAreManual");return this.get_objectData().get_properties()["NewTasksAreManual"]},get_numberFiscalYearFromStart:function(){a:;this.checkUninitializedProperty("NumberFiscalYearFromStart");return this.get_objectData().get_properties()["NumberFiscalYearFromStart"]},get_owner:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Owner"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Owner"));this.get_objectData().get_clientObjectProperties()["Owner"]=a}return a},set_owner:function(a){a:;this.get_objectData().get_clientObjectProperties()["Owner"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Owner",a));return a},get_projectIdentifier:function(){a:;this.checkUninitializedProperty("ProjectIdentifier");return this.get_objectData().get_properties()["ProjectIdentifier"]},get_projectResources:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["ProjectResources"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.PublishedProjectResourceCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"ProjectResources"));this.get_objectData().get_clientObjectProperties()["ProjectResources"]=a}return a},get_protectedActualsSynch:function(){a:;this.checkUninitializedProperty("ProtectedActualsSynch");return this.get_objectData().get_properties()["ProtectedActualsSynch"]},get_scheduledFromStart:function(){a:;this.checkUninitializedProperty("ScheduledFromStart");return this.get_objectData().get_properties()["ScheduledFromStart"]},get_showEstimatedDurations:function(){a:;this.checkUninitializedProperty("ShowEstimatedDurations");return this.get_objectData().get_properties()["ShowEstimatedDurations"]},get_startDate:function(){a:;this.checkUninitializedProperty("StartDate");return this.get_objectData().get_properties()["StartDate"]},get_statusDate:function(){a:;this.checkUninitializedProperty("StatusDate");return this.get_objectData().get_properties()["StatusDate"]},get_taskLinks:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["TaskLinks"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.PublishedTaskLinkCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"TaskLinks"));this.get_objectData().get_clientObjectProperties()["TaskLinks"]=a}return a},get_tasks:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Tasks"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.PublishedTaskCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Tasks"));this.get_objectData().get_clientObjectProperties()["Tasks"]=a}return a},get_trackingMode:function(){a:;this.checkUninitializedProperty("TrackingMode");return this.get_objectData().get_properties()["TrackingMode"]},get_utilizationDate:function(){a:;this.checkUninitializedProperty("UtilizationDate");return this.get_objectData().get_properties()["UtilizationDate"]},get_utilizationType:function(){a:;this.checkUninitializedProperty("UtilizationType");return this.get_objectData().get_properties()["UtilizationType"]},get_weekStartDay:function(){a:;this.checkUninitializedProperty("WeekStartDay");return this.get_objectData().get_properties()["WeekStartDay"]},get_winprojVersion:function(){a:;this.checkUninitializedProperty("WinprojVersion");return this.get_objectData().get_properties()["WinprojVersion"]},initNonPropertiesFromJson:function(a){a:;SP.DataConvert.populateDictionaryFromObject(this.get_fieldValues(),a);SP.DataConvert.fixupTypes(this.get_context(),this.get_fieldValues())},initPropertiesFromJson:function(b){a:;PS.Project.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Assignments;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Assignments",this.get_assignments(),a);this.get_assignments().fromJson(a);delete b.Assignments}a=b.Calendar;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Calendar",this.get_calendar(),a);this.get_calendar().fromJson(a);delete b.Calendar}a=b.CurrencyCode;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CurrencyCode"]=a;delete b.CurrencyCode}a=b.CurrencyDigits;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CurrencyDigits"]=a;delete b.CurrencyDigits}a=b.CurrencyPosition;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CurrencyPosition"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.CurrencyPosition}a=b.CurrencySymbol;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CurrencySymbol"]=a;delete b.CurrencySymbol}a=b.CurrentDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CurrentDate"]=a;delete b.CurrentDate}a=b.DaysPerMonth;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DaysPerMonth"]=a;delete b.DaysPerMonth}a=b.DefaultEffortDriven;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultEffortDriven"]=a;delete b.DefaultEffortDriven}a=b.DefaultEstimatedDuration;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultEstimatedDuration"]=a;delete b.DefaultEstimatedDuration}a=b.DefaultFixedCostAccrual;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultFixedCostAccrual"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.DefaultFixedCostAccrual}a=b.DefaultOvertimeRate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultOvertimeRate"]=a;delete b.DefaultOvertimeRate}a=b.DefaultStandardRate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultStandardRate"]=a;delete b.DefaultStandardRate}a=b.DefaultTaskType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultTaskType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.DefaultTaskType}a=b.DefaultWorkFormat;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultWorkFormat"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.DefaultWorkFormat}a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Description"]=a;delete b.Description}a=b.Draft;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Draft",this.get_draft(),a);this.get_draft().fromJson(a);delete b.Draft}a=b.FinishDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FinishDate"]=a;delete b.FinishDate}a=b.FiscalYearStartMonth;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FiscalYearStartMonth"]=a;delete b.FiscalYearStartMonth}a=b.IncludeCustomFields;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("IncludeCustomFields",this.get_includeCustomFields(),a);this.get_includeCustomFields().fromJson(a);delete b.IncludeCustomFields}a=b.IsEnterpriseProject;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsEnterpriseProject"]=a;delete b.IsEnterpriseProject}a=b.MinutesPerDay;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["MinutesPerDay"]=a;delete b.MinutesPerDay}a=b.MinutesPerWeek;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["MinutesPerWeek"]=a;delete b.MinutesPerWeek}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.NewTasksAreManual;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["NewTasksAreManual"]=a;delete b.NewTasksAreManual}a=b.NumberFiscalYearFromStart;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["NumberFiscalYearFromStart"]=a;delete b.NumberFiscalYearFromStart}a=b.Owner;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Owner",this.get_owner(),a);this.get_owner().fromJson(a);delete b.Owner}a=b.ProjectIdentifier;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ProjectIdentifier"]=a;delete b.ProjectIdentifier}a=b.ProjectResources;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("ProjectResources",this.get_projectResources(),a);this.get_projectResources().fromJson(a);delete b.ProjectResources}a=b.ProtectedActualsSynch;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ProtectedActualsSynch"]=a;delete b.ProtectedActualsSynch}a=b.ScheduledFromStart;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ScheduledFromStart"]=a;delete b.ScheduledFromStart}a=b.ShowEstimatedDurations;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ShowEstimatedDurations"]=a;delete b.ShowEstimatedDurations}a=b.StartDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["StartDate"]=a;delete b.StartDate}a=b.StatusDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["StatusDate"]=a;delete b.StatusDate}a=b.TaskLinks;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("TaskLinks",this.get_taskLinks(),a);this.get_taskLinks().fromJson(a);delete b.TaskLinks}a=b.Tasks;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Tasks",this.get_tasks(),a);this.get_tasks().fromJson(a);delete b.Tasks}a=b.TrackingMode;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TrackingMode"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.TrackingMode}a=b.UtilizationDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["UtilizationDate"]=a;delete b.UtilizationDate}a=b.UtilizationType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["UtilizationType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.UtilizationType}a=b.WeekStartDay;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WeekStartDay"]=a;delete b.WeekStartDay}a=b.WinprojVersion;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WinprojVersion"]=a;delete b.WinprojVersion}},$6_2:function(b){var a=this.get_fieldValues()[b];if(SP.ScriptUtility.isUndefined(a))throw Error.create(SP.ResResources.getString("PropertyHasNotBeenInitialized"));return a},refreshLoad:function(){a:;SP.ClientObject.prototype.refreshLoad.call(this);this.loadExpandoFields()},loadExpandoFields:function(){a:;var a=this.get_fieldValues();for(var b in a){var c={key:b,value:a[b]};this.retrieve(c.key)}},checkOut:function(){a:;var b=this.get_context(),a;a=new PS.DraftProject(b,new SP.ObjectPathMethod(b,this.get_path(),"CheckOut",null));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);var d=new SP.ObjectIdentityQuery(this.get_path());this.get_context().addQueryIdAndResultObject(d.get_id(),this);this.get_context().addQuery(d);return a},submitToWorkflow:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"SubmitToWorkflow",null);a.addQuery(b)},deleteObject:function(){a:;var a=this.get_context(),b;b=new PS.QueueJob(a,new SP.ObjectPathMethod(a,this.get_path(),"DeleteObject",null));this.removeFromParentCollection();return b},unlinkProjectSite:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"UnlinkProjectSite",null);a.addQuery(b)},updateVisibilityCustomFields:function(){a:;var a=this.get_context(),b;b=new PS.QueueJob(a,new SP.ObjectPathMethod(a,this.get_path(),"UpdateVisibilityCustomFields",null));return b},createProjectSite:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"CreateProjectSite",[a]);b.addQuery(c)}};PS.PublishedProjectPropertyNames=function(){};PS.PublishedProjectObjectPropertyNames=function(){};PS.PublishedProjectResource=function(b,a){a:;PS.PublishedProjectResource.initializeBase(this,[b,a])};PS.PublishedProjectResource.prototype={get_fieldValues:function(){a:;var a=this.get_objectData().get_methodReturnObjects()["$m_dict"];if(SP.ScriptUtility.isNullOrUndefined(a)){a={};this.get_objectData().get_methodReturnObjects()["$m_dict"]=a}return a},get_item:function(a){a:;return this.$6_2(a)},get_assignments:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Assignments"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.PublishedAssignmentCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Assignments"));this.get_objectData().get_clientObjectProperties()["Assignments"]=a}return a},get_canLevel:function(){a:;this.checkUninitializedProperty("CanLevel");return this.get_objectData().get_properties()["CanLevel"]},get_code:function(){a:;this.checkUninitializedProperty("Code");return this.get_objectData().get_properties()["Code"]},get_costAccrual:function(){a:;this.checkUninitializedProperty("CostAccrual");return this.get_objectData().get_properties()["CostAccrual"]},get_costCenter:function(){a:;this.checkUninitializedProperty("CostCenter");return this.get_objectData().get_properties()["CostCenter"]},get_costPerUse:function(){a:;this.checkUninitializedProperty("CostPerUse");return this.get_objectData().get_properties()["CostPerUse"]},get_defaultAssignmentOwner:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["DefaultAssignmentOwner"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"DefaultAssignmentOwner"));this.get_objectData().get_clientObjectProperties()["DefaultAssignmentOwner"]=a}return a},get_defaultBookingType:function(){a:;this.checkUninitializedProperty("DefaultBookingType");return this.get_objectData().get_properties()["DefaultBookingType"]},get_email:function(){a:;this.checkUninitializedProperty("Email");return this.get_objectData().get_properties()["Email"]},get_group:function(){a:;this.checkUninitializedProperty("Group");return this.get_objectData().get_properties()["Group"]},get_initials:function(){a:;this.checkUninitializedProperty("Initials");return this.get_objectData().get_properties()["Initials"]},get_materialLabel:function(){a:;this.checkUninitializedProperty("MaterialLabel");return this.get_objectData().get_properties()["MaterialLabel"]},get_maximumCapacity:function(){a:;this.checkUninitializedProperty("MaximumCapacity");return this.get_objectData().get_properties()["MaximumCapacity"]},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},get_overtimeRate:function(){a:;this.checkUninitializedProperty("OvertimeRate");return this.get_objectData().get_properties()["OvertimeRate"]},get_overtimeRateUnits:function(){a:;this.checkUninitializedProperty("OvertimeRateUnits");return this.get_objectData().get_properties()["OvertimeRateUnits"]},get_phonetics:function(){a:;this.checkUninitializedProperty("Phonetics");return this.get_objectData().get_properties()["Phonetics"]},get_standardRate:function(){a:;this.checkUninitializedProperty("StandardRate");return this.get_objectData().get_properties()["StandardRate"]},get_standardRateUnits:function(){a:;this.checkUninitializedProperty("StandardRateUnits");return this.get_objectData().get_properties()["StandardRateUnits"]},initNonPropertiesFromJson:function(a){a:;SP.DataConvert.populateDictionaryFromObject(this.get_fieldValues(),a);SP.DataConvert.fixupTypes(this.get_context(),this.get_fieldValues())},initPropertiesFromJson:function(b){a:;PS.ProjectResource.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Assignments;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Assignments",this.get_assignments(),a);this.get_assignments().fromJson(a);delete b.Assignments}a=b.CanLevel;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CanLevel"]=a;delete b.CanLevel}a=b.Code;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Code"]=a;delete b.Code}a=b.CostAccrual;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CostAccrual"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.CostAccrual}a=b.CostCenter;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CostCenter"]=a;delete b.CostCenter}a=b.CostPerUse;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CostPerUse"]=a;delete b.CostPerUse}a=b.DefaultAssignmentOwner;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("DefaultAssignmentOwner",this.get_defaultAssignmentOwner(),a);this.get_defaultAssignmentOwner().fromJson(a);delete b.DefaultAssignmentOwner}a=b.DefaultBookingType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultBookingType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.DefaultBookingType}a=b.Email;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Email"]=a;delete b.Email}a=b.Group;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Group"]=a;delete b.Group}a=b.Initials;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Initials"]=a;delete b.Initials}a=b.MaterialLabel;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["MaterialLabel"]=a;delete b.MaterialLabel}a=b.MaximumCapacity;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["MaximumCapacity"]=a;delete b.MaximumCapacity}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.OvertimeRate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OvertimeRate"]=a;delete b.OvertimeRate}a=b.OvertimeRateUnits;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OvertimeRateUnits"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.OvertimeRateUnits}a=b.Phonetics;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Phonetics"]=a;delete b.Phonetics}a=b.StandardRate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["StandardRate"]=a;delete b.StandardRate}a=b.StandardRateUnits;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["StandardRateUnits"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.StandardRateUnits}},$6_2:function(b){var a=this.get_fieldValues()[b];if(SP.ScriptUtility.isUndefined(a))throw Error.create(SP.ResResources.getString("PropertyHasNotBeenInitialized"));return a},refreshLoad:function(){a:;SP.ClientObject.prototype.refreshLoad.call(this);this.loadExpandoFields()},loadExpandoFields:function(){a:;var a=this.get_fieldValues();for(var b in a){var c={key:b,value:a[b]};this.retrieve(c.key)}}};PS.PublishedProjectResourcePropertyNames=function(){};PS.PublishedProjectResourceObjectPropertyNames=function(){};PS.PublishedProjectResourceCollection=function(b,a){a:;PS.PublishedProjectResourceCollection.initializeBase(this,[b,a])};PS.PublishedProjectResourceCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.PublishedProjectResource},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.PublishedProjectResource(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.PublishedProjectResource(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a}};PS.PublishedTask=function(b,a){a:;PS.PublishedTask.initializeBase(this,[b,a])};PS.PublishedTask.prototype={get_fieldValues:function(){a:;var a=this.get_objectData().get_methodReturnObjects()["$m_dict"];if(SP.ScriptUtility.isNullOrUndefined(a)){a={};this.get_objectData().get_methodReturnObjects()["$m_dict"]=a}return a},get_item:function(a){a:;return this.$6_2(a)},get_actualCost:function(){a:;this.checkUninitializedProperty("ActualCost");return this.get_objectData().get_properties()["ActualCost"]},get_actualFinish:function(){a:;this.checkUninitializedProperty("ActualFinish");return this.get_objectData().get_properties()["ActualFinish"]},get_actualStart:function(){a:;this.checkUninitializedProperty("ActualStart");return this.get_objectData().get_properties()["ActualStart"]},get_actualWork:function(){a:;this.checkUninitializedProperty("ActualWork");return this.get_objectData().get_properties()["ActualWork"]},get_actualWorkMilliseconds:function(){a:;this.checkUninitializedProperty("ActualWorkMilliseconds");return this.get_objectData().get_properties()["ActualWorkMilliseconds"]},get_assignments:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Assignments"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.PublishedAssignmentCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Assignments"));this.get_objectData().get_clientObjectProperties()["Assignments"]=a}return a},get_budgetWork:function(){a:;this.checkUninitializedProperty("BudgetWork");return this.get_objectData().get_properties()["BudgetWork"]},get_budgetWorkMilliseconds:function(){a:;this.checkUninitializedProperty("BudgetWorkMilliseconds");return this.get_objectData().get_properties()["BudgetWorkMilliseconds"]},get_calendar:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Calendar"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.Calendar(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Calendar"));this.get_objectData().get_clientObjectProperties()["Calendar"]=a}return a},get_completion:function(){a:;this.checkUninitializedProperty("Completion");return this.get_objectData().get_properties()["Completion"]},get_constraintStartEnd:function(){a:;this.checkUninitializedProperty("ConstraintStartEnd");return this.get_objectData().get_properties()["ConstraintStartEnd"]},get_constraintType:function(){a:;this.checkUninitializedProperty("ConstraintType");return this.get_objectData().get_properties()["ConstraintType"]},get_cost:function(){a:;this.checkUninitializedProperty("Cost");return this.get_objectData().get_properties()["Cost"]},get_deadline:function(){a:;this.checkUninitializedProperty("Deadline");return this.get_objectData().get_properties()["Deadline"]},get_duration:function(){a:;this.checkUninitializedProperty("Duration");return this.get_objectData().get_properties()["Duration"]},get_durationMilliseconds:function(){a:;this.checkUninitializedProperty("DurationMilliseconds");return this.get_objectData().get_properties()["DurationMilliseconds"]},get_finish:function(){a:;this.checkUninitializedProperty("Finish");return this.get_objectData().get_properties()["Finish"]},get_finishText:function(){a:;this.checkUninitializedProperty("FinishText");return this.get_objectData().get_properties()["FinishText"]},get_fixedCost:function(){a:;this.checkUninitializedProperty("FixedCost");return this.get_objectData().get_properties()["FixedCost"]},get_isActive:function(){a:;this.checkUninitializedProperty("IsActive");return this.get_objectData().get_properties()["IsActive"]},get_isEffortDriven:function(){a:;this.checkUninitializedProperty("IsEffortDriven");return this.get_objectData().get_properties()["IsEffortDriven"]},get_isLockedByManager:function(){a:;this.checkUninitializedProperty("IsLockedByManager");return this.get_objectData().get_properties()["IsLockedByManager"]},get_isManual:function(){a:;this.checkUninitializedProperty("IsManual");return this.get_objectData().get_properties()["IsManual"]},get_isMarked:function(){a:;this.checkUninitializedProperty("IsMarked");return this.get_objectData().get_properties()["IsMarked"]},get_isMilestone:function(){a:;this.checkUninitializedProperty("IsMilestone");return this.get_objectData().get_properties()["IsMilestone"]},get_levelingAdjustsAssignments:function(){a:;this.checkUninitializedProperty("LevelingAdjustsAssignments");return this.get_objectData().get_properties()["LevelingAdjustsAssignments"]},get_levelingCanSplit:function(){a:;this.checkUninitializedProperty("LevelingCanSplit");return this.get_objectData().get_properties()["LevelingCanSplit"]},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},get_outlineLevel:function(){a:;this.checkUninitializedProperty("OutlineLevel");return this.get_objectData().get_properties()["OutlineLevel"]},get_parent:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Parent"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.PublishedTask(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Parent"));this.get_objectData().get_clientObjectProperties()["Parent"]=a}return a},get_percentComplete:function(){a:;this.checkUninitializedProperty("PercentComplete");return this.get_objectData().get_properties()["PercentComplete"]},get_percentPhysicalWorkComplete:function(){a:;this.checkUninitializedProperty("PercentPhysicalWorkComplete");return this.get_objectData().get_properties()["PercentPhysicalWorkComplete"]},get_predecessors:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Predecessors"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.PublishedTaskLinkCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Predecessors"));this.get_objectData().get_clientObjectProperties()["Predecessors"]=a}return a},get_priority:function(){a:;this.checkUninitializedProperty("Priority");return this.get_objectData().get_properties()["Priority"]},get_remainingDuration:function(){a:;this.checkUninitializedProperty("RemainingDuration");return this.get_objectData().get_properties()["RemainingDuration"]},get_remainingDurationMilliseconds:function(){a:;this.checkUninitializedProperty("RemainingDurationMilliseconds");return this.get_objectData().get_properties()["RemainingDurationMilliseconds"]},get_start:function(){a:;this.checkUninitializedProperty("Start");return this.get_objectData().get_properties()["Start"]},get_startText:function(){a:;this.checkUninitializedProperty("StartText");return this.get_objectData().get_properties()["StartText"]},get_statusManager:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["StatusManager"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"StatusManager"));this.get_objectData().get_clientObjectProperties()["StatusManager"]=a}return a},get_successors:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Successors"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.PublishedTaskLinkCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Successors"));this.get_objectData().get_clientObjectProperties()["Successors"]=a}return a},get_taskType:function(){a:;this.checkUninitializedProperty("TaskType");return this.get_objectData().get_properties()["TaskType"]},get_usePercentPhysicalWorkComplete:function(){a:;this.checkUninitializedProperty("UsePercentPhysicalWorkComplete");return this.get_objectData().get_properties()["UsePercentPhysicalWorkComplete"]},get_work:function(){a:;this.checkUninitializedProperty("Work");return this.get_objectData().get_properties()["Work"]},get_workMilliseconds:function(){a:;this.checkUninitializedProperty("WorkMilliseconds");return this.get_objectData().get_properties()["WorkMilliseconds"]},initNonPropertiesFromJson:function(a){a:;SP.DataConvert.populateDictionaryFromObject(this.get_fieldValues(),a);SP.DataConvert.fixupTypes(this.get_context(),this.get_fieldValues())},initPropertiesFromJson:function(b){a:;PS.Task.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ActualCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualCost"]=a;delete b.ActualCost}a=b.ActualFinish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualFinish"]=a;delete b.ActualFinish}a=b.ActualStart;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualStart"]=a;delete b.ActualStart}a=b.ActualWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualWork"]=a;delete b.ActualWork}a=b.ActualWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualWorkMilliseconds"]=a;delete b.ActualWorkMilliseconds}a=b.Assignments;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Assignments",this.get_assignments(),a);this.get_assignments().fromJson(a);delete b.Assignments}a=b.BudgetWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BudgetWork"]=a;delete b.BudgetWork}a=b.BudgetWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BudgetWorkMilliseconds"]=a;delete b.BudgetWorkMilliseconds}a=b.Calendar;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Calendar",this.get_calendar(),a);this.get_calendar().fromJson(a);delete b.Calendar}a=b.Completion;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Completion"]=a;delete b.Completion}a=b.ConstraintStartEnd;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ConstraintStartEnd"]=a;delete b.ConstraintStartEnd}a=b.ConstraintType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ConstraintType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.ConstraintType}a=b.Cost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Cost"]=a;delete b.Cost}a=b.Deadline;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Deadline"]=a;delete b.Deadline}a=b.Duration;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Duration"]=a;delete b.Duration}a=b.DurationMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DurationMilliseconds"]=a;delete b.DurationMilliseconds}a=b.Finish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Finish"]=a;delete b.Finish}a=b.FinishText;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FinishText"]=a;delete b.FinishText}a=b.FixedCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FixedCost"]=a;delete b.FixedCost}a=b.IsActive;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsActive"]=a;delete b.IsActive}a=b.IsEffortDriven;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsEffortDriven"]=a;delete b.IsEffortDriven}a=b.IsLockedByManager;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsLockedByManager"]=a;delete b.IsLockedByManager}a=b.IsManual;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsManual"]=a;delete b.IsManual}a=b.IsMarked;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsMarked"]=a;delete b.IsMarked}a=b.IsMilestone;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsMilestone"]=a;delete b.IsMilestone}a=b.LevelingAdjustsAssignments;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["LevelingAdjustsAssignments"]=a;delete b.LevelingAdjustsAssignments}a=b.LevelingCanSplit;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["LevelingCanSplit"]=a;delete b.LevelingCanSplit}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.OutlineLevel;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OutlineLevel"]=a;delete b.OutlineLevel}a=b.Parent;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Parent",this.get_parent(),a);this.get_parent().fromJson(a);delete b.Parent}a=b.PercentComplete;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PercentComplete"]=a;delete b.PercentComplete}a=b.PercentPhysicalWorkComplete;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PercentPhysicalWorkComplete"]=a;delete b.PercentPhysicalWorkComplete}a=b.Predecessors;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Predecessors",this.get_predecessors(),a);this.get_predecessors().fromJson(a);delete b.Predecessors}a=b.Priority;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Priority"]=a;delete b.Priority}a=b.RemainingDuration;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingDuration"]=a;delete b.RemainingDuration}a=b.RemainingDurationMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingDurationMilliseconds"]=a;delete b.RemainingDurationMilliseconds}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Start"]=a;delete b.Start}a=b.StartText;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["StartText"]=a;delete b.StartText}a=b.StatusManager;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("StatusManager",this.get_statusManager(),a);this.get_statusManager().fromJson(a);delete b.StatusManager}a=b.Successors;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Successors",this.get_successors(),a);this.get_successors().fromJson(a);delete b.Successors}a=b.TaskType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TaskType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.TaskType}a=b.UsePercentPhysicalWorkComplete;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["UsePercentPhysicalWorkComplete"]=a;delete b.UsePercentPhysicalWorkComplete}a=b.Work;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Work"]=a;delete b.Work}a=b.WorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WorkMilliseconds"]=a;delete b.WorkMilliseconds}},$6_2:function(b){var a=this.get_fieldValues()[b];if(SP.ScriptUtility.isUndefined(a))throw Error.create(SP.ResResources.getString("PropertyHasNotBeenInitialized"));return a},refreshLoad:function(){a:;SP.ClientObject.prototype.refreshLoad.call(this);this.loadExpandoFields()},loadExpandoFields:function(){a:;var a=this.get_fieldValues();for(var b in a){var c={key:b,value:a[b]};this.retrieve(c.key)}}};PS.PublishedTaskPropertyNames=function(){};PS.PublishedTaskObjectPropertyNames=function(){};PS.PublishedTaskCollection=function(b,a){a:;PS.PublishedTaskCollection.initializeBase(this,[b,a])};PS.PublishedTaskCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.PublishedTask},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.PublishedTask(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.PublishedTask(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a}};PS.PublishedTaskLink=function(b,a){a:;PS.PublishedTaskLink.initializeBase(this,[b,a])};PS.PublishedTaskLink.prototype={get_dependencyType:function(){a:;this.checkUninitializedProperty("DependencyType");return this.get_objectData().get_properties()["DependencyType"]},get_end:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["End"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.PublishedTask(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"End"));this.get_objectData().get_clientObjectProperties()["End"]=a}return a},get_linkLag:function(){a:;this.checkUninitializedProperty("LinkLag");return this.get_objectData().get_properties()["LinkLag"]},get_linkLagFmt:function(){a:;this.checkUninitializedProperty("LinkLagFmt");return this.get_objectData().get_properties()["LinkLagFmt"]},get_projUid:function(){a:;this.checkUninitializedProperty("ProjUid");return this.get_objectData().get_properties()["ProjUid"]},get_start:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Start"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.PublishedTask(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Start"));this.get_objectData().get_clientObjectProperties()["Start"]=a}return a},initPropertiesFromJson:function(b){a:;PS.TaskLink.prototype.initPropertiesFromJson.call(this,b);var a;a=b.DependencyType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DependencyType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.DependencyType}a=b.End;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("End",this.get_end(),a);this.get_end().fromJson(a);delete b.End}a=b.LinkLag;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["LinkLag"]=a;delete b.LinkLag}a=b.LinkLagFmt;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["LinkLagFmt"]=a;delete b.LinkLagFmt}a=b.ProjUid;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ProjUid"]=a;delete b.ProjUid}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Start",this.get_start(),a);this.get_start().fromJson(a);delete b.Start}}};PS.PublishedTaskLinkPropertyNames=function(){};PS.PublishedTaskLinkObjectPropertyNames=function(){};PS.PublishedTaskLinkCollection=function(b,a){a:;PS.PublishedTaskLinkCollection.initializeBase(this,[b,a])};PS.PublishedTaskLinkCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.PublishedTaskLink},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.PublishedTaskLink(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.PublishedTaskLink(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a}};PS.QueueJob=function(b,a){a:;PS.QueueJob.initializeBase(this,[b,a])};PS.QueueJob.prototype={get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_jobState:function(){a:;this.checkUninitializedProperty("JobState");return this.get_objectData().get_properties()["JobState"]},get_messageType:function(){a:;this.checkUninitializedProperty("MessageType");return this.get_objectData().get_properties()["MessageType"]},get_percentComplete:function(){a:;this.checkUninitializedProperty("PercentComplete");return this.get_objectData().get_properties()["PercentComplete"]},get_project:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Project"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.Project(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Project"));this.get_objectData().get_clientObjectProperties()["Project"]=a}return a},get_submitter:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Submitter"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Submitter"));this.get_objectData().get_clientObjectProperties()["Submitter"]=a}return a},get_waitMilliseconds:function(){a:;this.checkUninitializedProperty("WaitMilliseconds");return this.get_objectData().get_properties()["WaitMilliseconds"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.JobState;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["JobState"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.JobState}a=b.MessageType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["MessageType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.MessageType}a=b.PercentComplete;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PercentComplete"]=a;delete b.PercentComplete}a=b.Project;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Project",this.get_project(),a);this.get_project().fromJson(a);delete b.Project}a=b.Submitter;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Submitter",this.get_submitter(),a);this.get_submitter().fromJson(a);delete b.Submitter}a=b.WaitMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WaitMilliseconds"]=a;delete b.WaitMilliseconds}},cancel:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Cancel",null);a.addQuery(b)}};PS.QueueJobPropertyNames=function(){};PS.QueueJobObjectPropertyNames=function(){};PS.QueueJobCollection=function(b,a){a:;PS.QueueJobCollection.initializeBase(this,[b,a])};PS.QueueJobCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.QueueJob},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.QueueJob(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.QueueJob(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a}};PS.ResourceCalendarException=function(b,a){a:;PS.ResourceCalendarException.initializeBase(this,[b,a])};PS.ResourceEngagement=function(b,a){a:;PS.ResourceEngagement.initializeBase(this,[b,a])};PS.ResourceEngagement.prototype={get_approvedFinish:function(){a:;this.checkUninitializedProperty("ApprovedFinish");return this.get_objectData().get_properties()["ApprovedFinish"]},set_approvedFinish:function(a){a:;this.get_objectData().get_properties()["ApprovedFinish"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ApprovedFinish",a));return a},get_approvedMaxUnits:function(){a:;this.checkUninitializedProperty("ApprovedMaxUnits");return this.get_objectData().get_properties()["ApprovedMaxUnits"]},set_approvedMaxUnits:function(a){a:;this.get_objectData().get_properties()["ApprovedMaxUnits"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ApprovedMaxUnits",a));return a},get_approvedStart:function(){a:;this.checkUninitializedProperty("ApprovedStart");return this.get_objectData().get_properties()["ApprovedStart"]},set_approvedStart:function(a){a:;this.get_objectData().get_properties()["ApprovedStart"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ApprovedStart",a));return a},get_approvedWork:function(){a:;this.checkUninitializedProperty("ApprovedWork");return this.get_objectData().get_properties()["ApprovedWork"]},set_approvedWork:function(a){a:;this.get_objectData().get_properties()["ApprovedWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ApprovedWork",a));return a},get_approvedWorkMilliseconds:function(){a:;this.checkUninitializedProperty("ApprovedWorkMilliseconds");return this.get_objectData().get_properties()["ApprovedWorkMilliseconds"]},set_approvedWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["ApprovedWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ApprovedWorkMilliseconds",a));return a},get_requestedFinish:function(){a:;this.checkUninitializedProperty("RequestedFinish");return this.get_objectData().get_properties()["RequestedFinish"]},get_requestedMaxUnits:function(){a:;this.checkUninitializedProperty("RequestedMaxUnits");return this.get_objectData().get_properties()["RequestedMaxUnits"]},get_requestedStart:function(){a:;this.checkUninitializedProperty("RequestedStart");return this.get_objectData().get_properties()["RequestedStart"]},get_requestedWork:function(){a:;this.checkUninitializedProperty("RequestedWork");return this.get_objectData().get_properties()["RequestedWork"]},get_requestedWorkMilliseconds:function(){a:;this.checkUninitializedProperty("RequestedWorkMilliseconds");return this.get_objectData().get_properties()["RequestedWorkMilliseconds"]},initPropertiesFromJson:function(b){a:;PS.Engagement.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ApprovedFinish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ApprovedFinish"]=a;delete b.ApprovedFinish}a=b.ApprovedMaxUnits;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ApprovedMaxUnits"]=a;delete b.ApprovedMaxUnits}a=b.ApprovedStart;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ApprovedStart"]=a;delete b.ApprovedStart}a=b.ApprovedWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ApprovedWork"]=a;delete b.ApprovedWork}a=b.ApprovedWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ApprovedWorkMilliseconds"]=a;delete b.ApprovedWorkMilliseconds}a=b.RequestedFinish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RequestedFinish"]=a;delete b.RequestedFinish}a=b.RequestedMaxUnits;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RequestedMaxUnits"]=a;delete b.RequestedMaxUnits}a=b.RequestedStart;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RequestedStart"]=a;delete b.RequestedStart}a=b.RequestedWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RequestedWork"]=a;delete b.RequestedWork}a=b.RequestedWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RequestedWorkMilliseconds"]=a;delete b.RequestedWorkMilliseconds}},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b)},getTimephased:function(e,f,d,c){a:;var a=this.get_context(),b;b=new PS.ResourceEngagementTimephasedCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetTimephased",[e,f,d,c]));return b}};PS.ResourceEngagementPropertyNames=function(){};PS.ResourceEngagementCollection=function(b,a){a:;PS.ResourceEngagementCollection.initializeBase(this,[b,a])};PS.ResourceEngagementCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.ResourceEngagement},remove:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"Remove",[d]);b.addQuery(c);a=new SP.BooleanResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},update:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Update",null);a.addQuery(b)},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.ResourceEngagement(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.ResourceEngagement(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a}};PS.ResourceEngagementComment=function(b,a){a:;PS.ResourceEngagementComment.initializeBase(this,[b,a])};PS.ResourceEngagementTimephasedCollection=function(b,a){a:;PS.ResourceEngagementTimephasedCollection.initializeBase(this,[b,a])};PS.ResourceEngagementTimephasedCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.ResourceEngagementTimephasedPeriod},getByStart:function(c){a:;var a=this.get_context(),b;b=new PS.ResourceEngagementTimephasedPeriod(a,new SP.ObjectPathMethod(a,this.get_path(),"GetByStart",[c]));return b}};PS.ResourceEngagementTimephasedPeriod=function(b,a){a:;PS.ResourceEngagementTimephasedPeriod.initializeBase(this,[b,a])};PS.ResourcePlan=function(b,a){a:;PS.ResourcePlan.initializeBase(this,[b,a])};PS.ResourcePlan.prototype={get_assignments:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Assignments"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.PlanAssignmentCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Assignments"));this.get_objectData().get_clientObjectProperties()["Assignments"]=a}return a},get_finish:function(){a:;this.checkUninitializedProperty("Finish");return this.get_objectData().get_properties()["Finish"]},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_start:function(){a:;this.checkUninitializedProperty("Start");return this.get_objectData().get_properties()["Start"]},get_utilizationDate:function(){a:;this.checkUninitializedProperty("UtilizationDate");return this.get_objectData().get_properties()["UtilizationDate"]},set_utilizationDate:function(a){a:;this.get_objectData().get_properties()["UtilizationDate"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"UtilizationDate",a));return a},get_utilizationType:function(){a:;this.checkUninitializedProperty("UtilizationType");return this.get_objectData().get_properties()["UtilizationType"]},set_utilizationType:function(a){a:;this.get_objectData().get_properties()["UtilizationType"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"UtilizationType",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Assignments;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Assignments",this.get_assignments(),a);this.get_assignments().fromJson(a);delete b.Assignments}a=b.Finish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Finish"]=a;delete b.Finish}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Start"]=a;delete b.Start}a=b.UtilizationDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["UtilizationDate"]=a;delete b.UtilizationDate}a=b.UtilizationType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["UtilizationType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.UtilizationType}},update:function(){a:;var a=this.get_context(),b;b=new PS.QueueJob(a,new SP.ObjectPathMethod(a,this.get_path(),"Update",null));return b},publish:function(){a:;var a=this.get_context(),b;b=new PS.QueueJob(a,new SP.ObjectPathMethod(a,this.get_path(),"Publish",null));return b},forceCheckIn:function(){a:;var a=this.get_context(),b;b=new PS.QueueJob(a,new SP.ObjectPathMethod(a,this.get_path(),"ForceCheckIn",null));return b},deleteObject:function(){a:;var a=this.get_context(),b;b=new PS.QueueJob(a,new SP.ObjectPathMethod(a,this.get_path(),"DeleteObject",null));return b}};PS.ResourcePlanPropertyNames=function(){};PS.ResourcePlanObjectPropertyNames=function(){};PS.ServiceStatus=function(a){a:;PS.ServiceStatus.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{f256f605-bb33-4d62-b206-72a06a765075}",arguments)])};PS.ServiceStatus.newObject=function(a,b){a:;return new PS.ServiceStatus(a,new SP.ObjectPathConstructor(a,"{f256f605-bb33-4d62-b206-72a06a765075}",[b]))};PS.ServiceStatus.prototype={get_isDelegate:function(){a:;this.checkUninitializedProperty("IsDelegate");return this.get_objectData().get_properties()["IsDelegate"]},get_isReadOnly:function(){a:;this.checkUninitializedProperty("IsReadOnly");return this.get_objectData().get_properties()["IsReadOnly"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.IsDelegate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsDelegate"]=a;delete b.IsDelegate}a=b.IsReadOnly;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsReadOnly"]=a;delete b.IsReadOnly}},stopDelegation:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"StopDelegation",null);a.addQuery(b)}};PS.ServiceStatusPropertyNames=function(){};PS.Stage=function(b,a){a:;PS.Stage.initializeBase(this,[b,a])};PS.Stage.prototype={get_behavior:function(){a:;this.checkUninitializedProperty("Behavior");return this.get_objectData().get_properties()["Behavior"]},set_behavior:function(a){a:;this.get_objectData().get_properties()["Behavior"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Behavior",a));return a},get_checkInRequired:function(){a:;this.checkUninitializedProperty("CheckInRequired");return this.get_objectData().get_properties()["CheckInRequired"]},set_checkInRequired:function(a){a:;this.get_objectData().get_properties()["CheckInRequired"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CheckInRequired",a));return a},get_customFields:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["CustomFields"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.StageCustomFieldCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"CustomFields"));this.get_objectData().get_clientObjectProperties()["CustomFields"]=a}return a},get_description:function(){a:;this.checkUninitializedProperty("Description");return this.get_objectData().get_properties()["Description"]},set_description:function(a){a:;this.get_objectData().get_properties()["Description"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Description",a));return a},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},set_name:function(a){a:;this.get_objectData().get_properties()["Name"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Name",a));return a},get_phase:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Phase"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.Phase(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Phase"));this.get_objectData().get_clientObjectProperties()["Phase"]=a}return a},set_phase:function(a){a:;this.get_objectData().get_clientObjectProperties()["Phase"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Phase",a));return a},get_projectDetailPages:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["ProjectDetailPages"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.StageDetailPageCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"ProjectDetailPages"));this.get_objectData().get_clientObjectProperties()["ProjectDetailPages"]=a}return a},get_submitDescription:function(){a:;this.checkUninitializedProperty("SubmitDescription");return this.get_objectData().get_properties()["SubmitDescription"]},set_submitDescription:function(a){a:;this.get_objectData().get_properties()["SubmitDescription"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"SubmitDescription",a));return a},get_workflowStatusPage:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["WorkflowStatusPage"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.ProjectDetailPage(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"WorkflowStatusPage"));this.get_objectData().get_clientObjectProperties()["WorkflowStatusPage"]=a}return a},set_workflowStatusPage:function(a){a:;this.get_objectData().get_clientObjectProperties()["WorkflowStatusPage"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"WorkflowStatusPage",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Behavior;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Behavior"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.Behavior}a=b.CheckInRequired;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CheckInRequired"]=a;delete b.CheckInRequired}a=b.CustomFields;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("CustomFields",this.get_customFields(),a);this.get_customFields().fromJson(a);delete b.CustomFields}a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Description"]=a;delete b.Description}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.Phase;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Phase",this.get_phase(),a);this.get_phase().fromJson(a);delete b.Phase}a=b.ProjectDetailPages;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("ProjectDetailPages",this.get_projectDetailPages(),a);this.get_projectDetailPages().fromJson(a);delete b.ProjectDetailPages}a=b.SubmitDescription;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["SubmitDescription"]=a;delete b.SubmitDescription}a=b.WorkflowStatusPage;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("WorkflowStatusPage",this.get_workflowStatusPage(),a);this.get_workflowStatusPage().fromJson(a);delete b.WorkflowStatusPage}},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b);this.removeFromParentCollection()}};PS.StagePropertyNames=function(){};PS.StageObjectPropertyNames=function(){};PS.StageCollection=function(b,a){a:;PS.StageCollection.initializeBase(this,[b,a])};PS.StageCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.Stage},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.Stage(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.Stage(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a},update:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Update",null);a.addQuery(b)},add:function(d){a:;var b=this.get_context(),a;a=new PS.Stage(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a},remove:function(b){a:;var c=this.get_context(),a,d=new SP.ClientActionInvokeMethod(this,"Remove",[b]);c.addQuery(d);a=new SP.BooleanResult;c.addQueryIdAndResultObject(d.get_id(),a);this.removeChild(b);return a}};PS.StageCreationInformation=function(){a:;PS.StageCreationInformation.initializeBase(this)};PS.StageCreationInformation.prototype={$Z_1:0,$b_1:false,$M_1:null,$2_1:null,$0_1:null,$1_1:null,$1L_1:null,$B_1:null,$1q_1:null,$20_1:null,get_behavior:function(){a:;return this.$Z_1},set_behavior:function(a){a:;this.$Z_1=a;return a},get_checkInRequired:function(){a:;return this.$b_1},set_checkInRequired:function(a){a:;this.$b_1=a;return a},get_customFields:function(){a:;return this.$M_1},set_customFields:function(a){a:;this.$M_1=a;return a},get_description:function(){a:;return this.$2_1},set_description:function(a){a:;this.$2_1=a;return a},get_id:function(){a:;return this.$0_1},set_id:function(a){a:;this.$0_1=a;return a},get_name:function(){a:;return this.$1_1},set_name:function(a){a:;this.$1_1=a;return a},get_phaseId:function(){a:;return this.$1L_1},set_phaseId:function(a){a:;this.$1L_1=a;return a},get_projectDetailPages:function(){a:;return this.$B_1},set_projectDetailPages:function(a){a:;this.$B_1=a;return a},get_submitDescription:function(){a:;return this.$1q_1},set_submitDescription:function(a){a:;this.$1q_1=a;return a},get_workflowStatusPageId:function(){a:;return this.$20_1},set_workflowStatusPageId:function(a){a:;this.$20_1=a;return a},get_typeId:function(){a:;return "{9f32eaa1-0131-41fe-bf60-7063fdd7c288}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Behavior","CheckInRequired","CustomFields","Description","Id","Name","PhaseId","ProjectDetailPages","SubmitDescription","WorkflowStatusPageId"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Behavior;if(!SP.ScriptUtility.isUndefined(a)){this.$Z_1=SP.DataConvert.fixupType(null,a);delete b.Behavior}a=b.CheckInRequired;if(!SP.ScriptUtility.isUndefined(a)){this.$b_1=a;delete b.CheckInRequired}a=b.CustomFields;if(!SP.ScriptUtility.isUndefined(a)){this.$M_1=[];SP.DataConvert.populateArray(null,this.$M_1,a);delete b.CustomFields}a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.$2_1=a;delete b.Description}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Id}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.$1_1=a;delete b.Name}a=b.PhaseId;if(!SP.ScriptUtility.isUndefined(a)){this.$1L_1=a;delete b.PhaseId}a=b.ProjectDetailPages;if(!SP.ScriptUtility.isUndefined(a)){this.$B_1=[];SP.DataConvert.populateArray(null,this.$B_1,a);delete b.ProjectDetailPages}a=b.SubmitDescription;if(!SP.ScriptUtility.isUndefined(a)){this.$1q_1=a;delete b.SubmitDescription}a=b.WorkflowStatusPageId;if(!SP.ScriptUtility.isUndefined(a)){this.$20_1=a;delete b.WorkflowStatusPageId}}};PS.StageCustomField=function(b,a){a:;PS.StageCustomField.initializeBase(this,[b,a])};PS.StageCustomField.prototype={get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},get_readOnly:function(){a:;this.checkUninitializedProperty("ReadOnly");return this.get_objectData().get_properties()["ReadOnly"]},get_required:function(){a:;this.checkUninitializedProperty("Required");return this.get_objectData().get_properties()["Required"]},get_stage:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Stage"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.Stage(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Stage"));this.get_objectData().get_clientObjectProperties()["Stage"]=a}return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.ReadOnly;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ReadOnly"]=a;delete b.ReadOnly}a=b.Required;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Required"]=a;delete b.Required}a=b.Stage;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Stage",this.get_stage(),a);this.get_stage().fromJson(a);delete b.Stage}},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b);this.removeFromParentCollection()}};PS.StageCustomFieldPropertyNames=function(){};PS.StageCustomFieldObjectPropertyNames=function(){};PS.StageCustomFieldCollection=function(b,a){a:;PS.StageCustomFieldCollection.initializeBase(this,[b,a])};PS.StageCustomFieldCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.StageCustomField},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.StageCustomField(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.StageCustomField(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a},add:function(d){a:;var b=this.get_context(),a;a=new PS.StageCustomField(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a},remove:function(b){a:;var c=this.get_context(),a,d=new SP.ClientActionInvokeMethod(this,"Remove",[b]);c.addQuery(d);a=new SP.BooleanResult;c.addQueryIdAndResultObject(d.get_id(),a);this.removeChild(b);return a}};PS.StageCustomFieldCreationInformation=function(){a:;PS.StageCustomFieldCreationInformation.initializeBase(this)};PS.StageCustomFieldCreationInformation.prototype={$0_1:null,$1O_1:false,$1V_1:false,get_id:function(){a:;return this.$0_1},set_id:function(a){a:;this.$0_1=a;return a},get_readOnly:function(){a:;return this.$1O_1},set_readOnly:function(a){a:;this.$1O_1=a;return a},get_required:function(){a:;return this.$1V_1},set_required:function(a){a:;this.$1V_1=a;return a},get_typeId:function(){a:;return "{ee2262c3-3fff-414e-98b2-44f850fef529}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Id","ReadOnly","Required"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Id}a=b.ReadOnly;if(!SP.ScriptUtility.isUndefined(a)){this.$1O_1=a;delete b.ReadOnly}a=b.Required;if(!SP.ScriptUtility.isUndefined(a)){this.$1V_1=a;delete b.Required}}};PS.StageDetailPage=function(b,a){a:;PS.StageDetailPage.initializeBase(this,[b,a])};PS.StageDetailPage.prototype={get_description:function(){a:;this.checkUninitializedProperty("Description");return this.get_objectData().get_properties()["Description"]},set_description:function(a){a:;this.get_objectData().get_properties()["Description"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Description",a));return a},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_page:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Page"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.ProjectDetailPage(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Page"));this.get_objectData().get_clientObjectProperties()["Page"]=a}return a},set_page:function(a){a:;this.get_objectData().get_clientObjectProperties()["Page"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Page",a));return a},get_position:function(){a:;this.checkUninitializedProperty("Position");return this.get_objectData().get_properties()["Position"]},set_position:function(a){a:;this.get_objectData().get_properties()["Position"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Position",a));return a},get_requiresAttention:function(){a:;this.checkUninitializedProperty("RequiresAttention");return this.get_objectData().get_properties()["RequiresAttention"]},set_requiresAttention:function(a){a:;this.get_objectData().get_properties()["RequiresAttention"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RequiresAttention",a));return a},get_stage:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Stage"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.Stage(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Stage"));this.get_objectData().get_clientObjectProperties()["Stage"]=a}return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Description"]=a;delete b.Description}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.Page;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Page",this.get_page(),a);this.get_page().fromJson(a);delete b.Page}a=b.Position;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Position"]=a;delete b.Position}a=b.RequiresAttention;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RequiresAttention"]=a;delete b.RequiresAttention}a=b.Stage;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Stage",this.get_stage(),a);this.get_stage().fromJson(a);delete b.Stage}},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b);this.removeFromParentCollection()}};PS.StageDetailPagePropertyNames=function(){};PS.StageDetailPageObjectPropertyNames=function(){};PS.StageDetailPageCollection=function(b,a){a:;PS.StageDetailPageCollection.initializeBase(this,[b,a])};PS.StageDetailPageCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.StageDetailPage},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.StageDetailPage(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.StageDetailPage(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a},add:function(d){a:;var b=this.get_context(),a;a=new PS.StageDetailPage(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a},remove:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"Remove",[d]);b.addQuery(c);a=new SP.BooleanResult;b.addQueryIdAndResultObject(c.get_id(),a);this.removeChild(d);return a}};PS.StageDetailPageCreationInformation=function(){a:;PS.StageDetailPageCreationInformation.initializeBase(this)};PS.StageDetailPageCreationInformation.prototype={$2_1:null,$0_1:null,$G_1:0,$1W_1:false,get_description:function(){a:;return this.$2_1},set_description:function(a){a:;this.$2_1=a;return a},get_id:function(){a:;return this.$0_1},set_id:function(a){a:;this.$0_1=a;return a},get_position:function(){a:;return this.$G_1},set_position:function(a){a:;this.$G_1=a;return a},get_requiresAttention:function(){a:;return this.$1W_1},set_requiresAttention:function(a){a:;this.$1W_1=a;return a},get_typeId:function(){a:;return "{04c2bf02-2097-4e62-a46d-37b135f55a18}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Description","Id","Position","RequiresAttention"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.$2_1=a;delete b.Description}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Id}a=b.Position;if(!SP.ScriptUtility.isUndefined(a)){this.$G_1=a;delete b.Position}a=b.RequiresAttention;if(!SP.ScriptUtility.isUndefined(a)){this.$1W_1=a;delete b.RequiresAttention}}};PS.StatusAssignment=function(b,a){a:;PS.StatusAssignment.initializeBase(this,[b,a])};PS.StatusAssignment.prototype={get_fieldValues:function(){a:;var a=this.get_objectData().get_methodReturnObjects()["$m_dict"];if(SP.ScriptUtility.isNullOrUndefined(a)){a={};this.get_objectData().get_methodReturnObjects()["$m_dict"]=a}return a},get_item:function(a){a:;return this.$6_1(a)},set_item:function(b,a){a:;this.$K_1(b,a);return a},get_actualFinish:function(){a:;this.checkUninitializedProperty("ActualFinish");return this.get_objectData().get_properties()["ActualFinish"]},set_actualFinish:function(a){a:;this.get_objectData().get_properties()["ActualFinish"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ActualFinish",a));return a},get_actualOvertime:function(){a:;this.checkUninitializedProperty("ActualOvertime");return this.get_objectData().get_properties()["ActualOvertime"]},set_actualOvertime:function(a){a:;this.get_objectData().get_properties()["ActualOvertime"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ActualOvertime",a));return a},get_actualOvertimeMilliseconds:function(){a:;this.checkUninitializedProperty("ActualOvertimeMilliseconds");return this.get_objectData().get_properties()["ActualOvertimeMilliseconds"]},set_actualOvertimeMilliseconds:function(a){a:;this.get_objectData().get_properties()["ActualOvertimeMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ActualOvertimeMilliseconds",a));return a},get_actualStart:function(){a:;this.checkUninitializedProperty("ActualStart");return this.get_objectData().get_properties()["ActualStart"]},set_actualStart:function(a){a:;this.get_objectData().get_properties()["ActualStart"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ActualStart",a));return a},get_actualWork:function(){a:;this.checkUninitializedProperty("ActualWork");return this.get_objectData().get_properties()["ActualWork"]},set_actualWork:function(a){a:;this.get_objectData().get_properties()["ActualWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ActualWork",a));return a},get_actualWorkMilliseconds:function(){a:;this.checkUninitializedProperty("ActualWorkMilliseconds");return this.get_objectData().get_properties()["ActualWorkMilliseconds"]},set_actualWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["ActualWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ActualWorkMilliseconds",a));return a},get_approvalStatus:function(){a:;this.checkUninitializedProperty("ApprovalStatus");return this.get_objectData().get_properties()["ApprovalStatus"]},get_comments:function(){a:;this.checkUninitializedProperty("Comments");return this.get_objectData().get_properties()["Comments"]},set_comments:function(a){a:;this.get_objectData().get_properties()["Comments"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Comments",a));return a},get_customFields:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["CustomFields"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.CustomFieldCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"CustomFields"));this.get_objectData().get_clientObjectProperties()["CustomFields"]=a}return a},get_finish:function(){a:;this.checkUninitializedProperty("Finish");return this.get_objectData().get_properties()["Finish"]},set_finish:function(a){a:;this.get_objectData().get_properties()["Finish"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Finish",a));return a},get_history:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["History"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.StatusAssignmentHistoryLineCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"History"));this.get_objectData().get_clientObjectProperties()["History"]=a}return a},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_isConfirmed:function(){a:;this.checkUninitializedProperty("IsConfirmed");return this.get_objectData().get_properties()["IsConfirmed"]},set_isConfirmed:function(a){a:;this.get_objectData().get_properties()["IsConfirmed"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsConfirmed",a));return a},get_modified:function(){a:;this.checkUninitializedProperty("Modified");return this.get_objectData().get_properties()["Modified"]},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},set_name:function(a){a:;this.get_objectData().get_properties()["Name"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Name",a));return a},get_overtime:function(){a:;this.checkUninitializedProperty("Overtime");return this.get_objectData().get_properties()["Overtime"]},set_overtime:function(a){a:;this.get_objectData().get_properties()["Overtime"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Overtime",a));return a},get_overtimeMilliseconds:function(){a:;this.checkUninitializedProperty("OvertimeMilliseconds");return this.get_objectData().get_properties()["OvertimeMilliseconds"]},set_overtimeMilliseconds:function(a){a:;this.get_objectData().get_properties()["OvertimeMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"OvertimeMilliseconds",a));return a},get_percentComplete:function(){a:;this.checkUninitializedProperty("PercentComplete");return this.get_objectData().get_properties()["PercentComplete"]},set_percentComplete:function(a){a:;this.get_objectData().get_properties()["PercentComplete"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"PercentComplete",a));return a},get_project:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Project"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.PublishedProject(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Project"));this.get_objectData().get_clientObjectProperties()["Project"]=a}return a},get_regularWork:function(){a:;this.checkUninitializedProperty("RegularWork");return this.get_objectData().get_properties()["RegularWork"]},set_regularWork:function(a){a:;this.get_objectData().get_properties()["RegularWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RegularWork",a));return a},get_regularWorkMilliseconds:function(){a:;this.checkUninitializedProperty("RegularWorkMilliseconds");return this.get_objectData().get_properties()["RegularWorkMilliseconds"]},set_regularWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["RegularWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RegularWorkMilliseconds",a));return a},get_remainingOvertime:function(){a:;this.checkUninitializedProperty("RemainingOvertime");return this.get_objectData().get_properties()["RemainingOvertime"]},set_remainingOvertime:function(a){a:;this.get_objectData().get_properties()["RemainingOvertime"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RemainingOvertime",a));return a},get_remainingOvertimeMilliseconds:function(){a:;this.checkUninitializedProperty("RemainingOvertimeMilliseconds");return this.get_objectData().get_properties()["RemainingOvertimeMilliseconds"]},set_remainingOvertimeMilliseconds:function(a){a:;this.get_objectData().get_properties()["RemainingOvertimeMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RemainingOvertimeMilliseconds",a));return a},get_remainingWork:function(){a:;this.checkUninitializedProperty("RemainingWork");return this.get_objectData().get_properties()["RemainingWork"]},set_remainingWork:function(a){a:;this.get_objectData().get_properties()["RemainingWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RemainingWork",a));return a},get_remainingWorkMilliseconds:function(){a:;this.checkUninitializedProperty("RemainingWorkMilliseconds");return this.get_objectData().get_properties()["RemainingWorkMilliseconds"]},set_remainingWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["RemainingWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RemainingWorkMilliseconds",a));return a},get_resource:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Resource"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.EnterpriseResource(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Resource"));this.get_objectData().get_clientObjectProperties()["Resource"]=a}return a},get_start:function(){a:;this.checkUninitializedProperty("Start");return this.get_objectData().get_properties()["Start"]},set_start:function(a){a:;this.get_objectData().get_properties()["Start"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Start",a));return a},get_task:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Task"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.StatusTask(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Task"));this.get_objectData().get_clientObjectProperties()["Task"]=a}return a},get_work:function(){a:;this.checkUninitializedProperty("Work");return this.get_objectData().get_properties()["Work"]},set_work:function(a){a:;this.get_objectData().get_properties()["Work"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Work",a));return a},get_workMilliseconds:function(){a:;this.checkUninitializedProperty("WorkMilliseconds");return this.get_objectData().get_properties()["WorkMilliseconds"]},set_workMilliseconds:function(a){a:;this.get_objectData().get_properties()["WorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"WorkMilliseconds",a));return a},initNonPropertiesFromJson:function(a){a:;SP.DataConvert.populateDictionaryFromObject(this.get_fieldValues(),a);SP.DataConvert.fixupTypes(this.get_context(),this.get_fieldValues())},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ActualFinish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualFinish"]=a;delete b.ActualFinish}a=b.ActualOvertime;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualOvertime"]=a;delete b.ActualOvertime}a=b.ActualOvertimeMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualOvertimeMilliseconds"]=a;delete b.ActualOvertimeMilliseconds}a=b.ActualStart;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualStart"]=a;delete b.ActualStart}a=b.ActualWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualWork"]=a;delete b.ActualWork}a=b.ActualWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualWorkMilliseconds"]=a;delete b.ActualWorkMilliseconds}a=b.ApprovalStatus;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ApprovalStatus"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.ApprovalStatus}a=b.Comments;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Comments"]=a;delete b.Comments}a=b.CustomFields;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("CustomFields",this.get_customFields(),a);this.get_customFields().fromJson(a);delete b.CustomFields}a=b.Finish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Finish"]=a;delete b.Finish}a=b.History;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("History",this.get_history(),a);this.get_history().fromJson(a);delete b.History}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.IsConfirmed;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsConfirmed"]=a;delete b.IsConfirmed}a=b.Modified;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Modified"]=a;delete b.Modified}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.Overtime;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Overtime"]=a;delete b.Overtime}a=b.OvertimeMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OvertimeMilliseconds"]=a;delete b.OvertimeMilliseconds}a=b.PercentComplete;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PercentComplete"]=a;delete b.PercentComplete}a=b.Project;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Project",this.get_project(),a);this.get_project().fromJson(a);delete b.Project}a=b.RegularWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RegularWork"]=a;delete b.RegularWork}a=b.RegularWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RegularWorkMilliseconds"]=a;delete b.RegularWorkMilliseconds}a=b.RemainingOvertime;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingOvertime"]=a;delete b.RemainingOvertime}a=b.RemainingOvertimeMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingOvertimeMilliseconds"]=a;delete b.RemainingOvertimeMilliseconds}a=b.RemainingWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingWork"]=a;delete b.RemainingWork}a=b.RemainingWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingWorkMilliseconds"]=a;delete b.RemainingWorkMilliseconds}a=b.Resource;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Resource",this.get_resource(),a);this.get_resource().fromJson(a);delete b.Resource}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Start"]=a;delete b.Start}a=b.Task;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Task",this.get_task(),a);this.get_task().fromJson(a);delete b.Task}a=b.Work;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Work"]=a;delete b.Work}a=b.WorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WorkMilliseconds"]=a;delete b.WorkMilliseconds}},$6_1:function(b){var a=this.get_fieldValues()[b];if(SP.ScriptUtility.isUndefined(a))throw Error.create(SP.ResResources.getString("PropertyHasNotBeenInitialized"));return a},refreshLoad:function(){a:;SP.ClientObject.prototype.refreshLoad.call(this);this.loadExpandoFields()},loadExpandoFields:function(){a:;var a=this.get_fieldValues();for(var b in a){var c={key:b,value:a[b]};this.retrieve(c.key)}},$K_1:function(b,c){var a=this.get_context();this.get_fieldValues()[b]=c;var d=new SP.ClientActionInvokeMethod(this,"SetCustomFieldValue",[b,c]);a&&a.addQuery(d)},submitStatusUpdates:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"SubmitStatusUpdates",[a]);b.addQuery(c)},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b);this.removeFromParentCollection()}};PS.StatusAssignmentPropertyNames=function(){};PS.StatusAssignmentObjectPropertyNames=function(){};PS.StatusAssignmentCollection=function(b,a){a:;PS.StatusAssignmentCollection.initializeBase(this,[b,a])};PS.StatusAssignmentCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.StatusAssignment},getTimePhase:function(c,d){a:;var a=this.get_context(),b;b=new PS.TimePhase(a,new SP.ObjectPathMethod(a,this.get_path(),"GetTimePhase",[c,d]));return b},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.StatusAssignment(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.StatusAssignment(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a},add:function(d){a:;var b=this.get_context(),a;a=new PS.StatusAssignment(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a},remove:function(b){a:;var c=this.get_context(),a,d=new SP.ClientActionInvokeMethod(this,"Remove",[b]);c.addQuery(d);a=new SP.BooleanResult;c.addQueryIdAndResultObject(d.get_id(),a);this.removeChild(b);return a},update:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Update",null);a.addQuery(b)},submitAllStatusUpdates:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"SubmitAllStatusUpdates",[a]);b.addQuery(c)}};PS.StatusAssignmentCreationInformation=function(){a:;PS.StatusAssignmentCreationInformation.initializeBase(this)};PS.StatusAssignmentCreationInformation.prototype={$7_1:null,$0_1:null,$H_1:null,$1r_1:null,get_comment:function(){a:;return this.$7_1},set_comment:function(a){a:;this.$7_1=a;return a},get_id:function(){a:;return this.$0_1},set_id:function(a){a:;this.$0_1=a;return a},get_projectId:function(){a:;return this.$H_1},set_projectId:function(a){a:;this.$H_1=a;return a},get_task:function(){a:;return this.$1r_1},set_task:function(a){a:;this.$1r_1=a;return a},get_typeId:function(){a:;return "{2b7abc77-4aea-4a63-9eec-ef34a21c8ba1}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Comment","Id","ProjectId","Task"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Comment;if(!SP.ScriptUtility.isUndefined(a)){this.$7_1=a;delete b.Comment}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Id}a=b.ProjectId;if(!SP.ScriptUtility.isUndefined(a)){this.$H_1=a;delete b.ProjectId}a=b.Task;if(!SP.ScriptUtility.isUndefined(a)){this.$1r_1=SP.DataConvert.fixupType(null,a);delete b.Task}}};PS.StatusAssignmentHistoryLine=function(b,a){a:;PS.StatusAssignmentHistoryLine.initializeBase(this,[b,a])};PS.StatusAssignmentHistoryLine.prototype={get_approverId:function(){a:;this.checkUninitializedProperty("ApproverId");return this.get_objectData().get_properties()["ApproverId"]},get_author:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Author"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Author"));this.get_objectData().get_clientObjectProperties()["Author"]=a}return a},get_comment:function(){a:;this.checkUninitializedProperty("Comment");return this.get_objectData().get_properties()["Comment"]},get_decision:function(){a:;this.checkUninitializedProperty("Decision");return this.get_objectData().get_properties()["Decision"]},get_decisionDate:function(){a:;this.checkUninitializedProperty("DecisionDate");return this.get_objectData().get_properties()["DecisionDate"]},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_reassignedResourceId:function(){a:;this.checkUninitializedProperty("ReassignedResourceId");return this.get_objectData().get_properties()["ReassignedResourceId"]},get_reassignmentDate:function(){a:;this.checkUninitializedProperty("ReassignmentDate");return this.get_objectData().get_properties()["ReassignmentDate"]},get_state:function(){a:;this.checkUninitializedProperty("State");return this.get_objectData().get_properties()["State"]},get_submitted:function(){a:;this.checkUninitializedProperty("Submitted");return this.get_objectData().get_properties()["Submitted"]},get_submitterId:function(){a:;this.checkUninitializedProperty("SubmitterId");return this.get_objectData().get_properties()["SubmitterId"]},get_updateType:function(){a:;this.checkUninitializedProperty("UpdateType");return this.get_objectData().get_properties()["UpdateType"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ApproverId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ApproverId"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.ApproverId}a=b.Author;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Author",this.get_author(),a);this.get_author().fromJson(a);delete b.Author}a=b.Comment;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Comment"]=a;delete b.Comment}a=b.Decision;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Decision"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.Decision}a=b.DecisionDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DecisionDate"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.DecisionDate}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.ReassignedResourceId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ReassignedResourceId"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.ReassignedResourceId}a=b.ReassignmentDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ReassignmentDate"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.ReassignmentDate}a=b.State;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["State"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.State}a=b.Submitted;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Submitted"]=a;delete b.Submitted}a=b.SubmitterId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["SubmitterId"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.SubmitterId}a=b.UpdateType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["UpdateType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.UpdateType}}};PS.StatusAssignmentHistoryLinePropertyNames=function(){};PS.StatusAssignmentHistoryLineObjectPropertyNames=function(){};PS.StatusAssignmentHistoryLineCollection=function(b,a){a:;PS.StatusAssignmentHistoryLineCollection.initializeBase(this,[b,a])};PS.StatusAssignmentHistoryLineCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.StatusAssignmentHistoryLine},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.StatusAssignmentHistoryLine(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a}};PS.StatusTask=function(b,a){a:;PS.StatusTask.initializeBase(this,[b,a])};PS.StatusTask.prototype={get_fieldValues:function(){a:;var a=this.get_objectData().get_methodReturnObjects()["$m_dict"];if(SP.ScriptUtility.isNullOrUndefined(a)){a={};this.get_objectData().get_methodReturnObjects()["$m_dict"]=a}return a},get_item:function(a){a:;return this.$6_1(a)},get_actualWork:function(){a:;this.checkUninitializedProperty("ActualWork");return this.get_objectData().get_properties()["ActualWork"]},set_actualWork:function(a){a:;this.get_objectData().get_properties()["ActualWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ActualWork",a));return a},get_actualWorkMilliseconds:function(){a:;this.checkUninitializedProperty("ActualWorkMilliseconds");return this.get_objectData().get_properties()["ActualWorkMilliseconds"]},set_actualWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["ActualWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ActualWorkMilliseconds",a));return a},get_customFields:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["CustomFields"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.CustomFieldCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"CustomFields"));this.get_objectData().get_clientObjectProperties()["CustomFields"]=a}return a},get_deadline:function(){a:;this.checkUninitializedProperty("Deadline");return this.get_objectData().get_properties()["Deadline"]},set_deadline:function(a){a:;this.get_objectData().get_properties()["Deadline"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Deadline",a));return a},get_duration:function(){a:;this.checkUninitializedProperty("Duration");return this.get_objectData().get_properties()["Duration"]},set_duration:function(a){a:;this.get_objectData().get_properties()["Duration"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Duration",a));return a},get_durationMilliseconds:function(){a:;this.checkUninitializedProperty("DurationMilliseconds");return this.get_objectData().get_properties()["DurationMilliseconds"]},set_durationMilliseconds:function(a){a:;this.get_objectData().get_properties()["DurationMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DurationMilliseconds",a));return a},get_finish:function(){a:;this.checkUninitializedProperty("Finish");return this.get_objectData().get_properties()["Finish"]},set_finish:function(a){a:;this.get_objectData().get_properties()["Finish"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Finish",a));return a},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},set_name:function(a){a:;this.get_objectData().get_properties()["Name"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Name",a));return a},get_overtime:function(){a:;this.checkUninitializedProperty("Overtime");return this.get_objectData().get_properties()["Overtime"]},set_overtime:function(a){a:;this.get_objectData().get_properties()["Overtime"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Overtime",a));return a},get_overtimeMilliseconds:function(){a:;this.checkUninitializedProperty("OvertimeMilliseconds");return this.get_objectData().get_properties()["OvertimeMilliseconds"]},set_overtimeMilliseconds:function(a){a:;this.get_objectData().get_properties()["OvertimeMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"OvertimeMilliseconds",a));return a},get_percentComplete:function(){a:;this.checkUninitializedProperty("PercentComplete");return this.get_objectData().get_properties()["PercentComplete"]},set_percentComplete:function(a){a:;this.get_objectData().get_properties()["PercentComplete"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"PercentComplete",a));return a},get_percentWorkComplete:function(){a:;this.checkUninitializedProperty("PercentWorkComplete");return this.get_objectData().get_properties()["PercentWorkComplete"]},set_percentWorkComplete:function(a){a:;this.get_objectData().get_properties()["PercentWorkComplete"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"PercentWorkComplete",a));return a},get_physicalPercentComplete:function(){a:;this.checkUninitializedProperty("PhysicalPercentComplete");return this.get_objectData().get_properties()["PhysicalPercentComplete"]},set_physicalPercentComplete:function(a){a:;this.get_objectData().get_properties()["PhysicalPercentComplete"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"PhysicalPercentComplete",a));return a},get_projectTaskId:function(){a:;this.checkUninitializedProperty("ProjectTaskId");return this.get_objectData().get_properties()["ProjectTaskId"]},get_regularWork:function(){a:;this.checkUninitializedProperty("RegularWork");return this.get_objectData().get_properties()["RegularWork"]},set_regularWork:function(a){a:;this.get_objectData().get_properties()["RegularWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RegularWork",a));return a},get_regularWorkMilliseconds:function(){a:;this.checkUninitializedProperty("RegularWorkMilliseconds");return this.get_objectData().get_properties()["RegularWorkMilliseconds"]},set_regularWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["RegularWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RegularWorkMilliseconds",a));return a},get_remainingDuration:function(){a:;this.checkUninitializedProperty("RemainingDuration");return this.get_objectData().get_properties()["RemainingDuration"]},set_remainingDuration:function(a){a:;this.get_objectData().get_properties()["RemainingDuration"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RemainingDuration",a));return a},get_remainingDurationMilliseconds:function(){a:;this.checkUninitializedProperty("RemainingDurationMilliseconds");return this.get_objectData().get_properties()["RemainingDurationMilliseconds"]},set_remainingDurationMilliseconds:function(a){a:;this.get_objectData().get_properties()["RemainingDurationMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RemainingDurationMilliseconds",a));return a},get_remainingOvertime:function(){a:;this.checkUninitializedProperty("RemainingOvertime");return this.get_objectData().get_properties()["RemainingOvertime"]},set_remainingOvertime:function(a){a:;this.get_objectData().get_properties()["RemainingOvertime"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RemainingOvertime",a));return a},get_remainingOvertimeMilliseconds:function(){a:;this.checkUninitializedProperty("RemainingOvertimeMilliseconds");return this.get_objectData().get_properties()["RemainingOvertimeMilliseconds"]},set_remainingOvertimeMilliseconds:function(a){a:;this.get_objectData().get_properties()["RemainingOvertimeMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RemainingOvertimeMilliseconds",a));return a},get_remainingWork:function(){a:;this.checkUninitializedProperty("RemainingWork");return this.get_objectData().get_properties()["RemainingWork"]},set_remainingWork:function(a){a:;this.get_objectData().get_properties()["RemainingWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RemainingWork",a));return a},get_remainingWorkMilliseconds:function(){a:;this.checkUninitializedProperty("RemainingWorkMilliseconds");return this.get_objectData().get_properties()["RemainingWorkMilliseconds"]},set_remainingWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["RemainingWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RemainingWorkMilliseconds",a));return a},get_resume:function(){a:;this.checkUninitializedProperty("Resume");return this.get_objectData().get_properties()["Resume"]},set_resume:function(a){a:;this.get_objectData().get_properties()["Resume"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Resume",a));return a},get_start:function(){a:;this.checkUninitializedProperty("Start");return this.get_objectData().get_properties()["Start"]},set_start:function(a){a:;this.get_objectData().get_properties()["Start"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Start",a));return a},get_statusManager:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["StatusManager"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"StatusManager"));this.get_objectData().get_clientObjectProperties()["StatusManager"]=a}return a},get_work:function(){a:;this.checkUninitializedProperty("Work");return this.get_objectData().get_properties()["Work"]},set_work:function(a){a:;this.get_objectData().get_properties()["Work"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Work",a));return a},get_workMilliseconds:function(){a:;this.checkUninitializedProperty("WorkMilliseconds");return this.get_objectData().get_properties()["WorkMilliseconds"]},set_workMilliseconds:function(a){a:;this.get_objectData().get_properties()["WorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"WorkMilliseconds",a));return a},initNonPropertiesFromJson:function(a){a:;SP.DataConvert.populateDictionaryFromObject(this.get_fieldValues(),a);SP.DataConvert.fixupTypes(this.get_context(),this.get_fieldValues())},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ActualWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualWork"]=a;delete b.ActualWork}a=b.ActualWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualWorkMilliseconds"]=a;delete b.ActualWorkMilliseconds}a=b.CustomFields;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("CustomFields",this.get_customFields(),a);this.get_customFields().fromJson(a);delete b.CustomFields}a=b.Deadline;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Deadline"]=a;delete b.Deadline}a=b.Duration;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Duration"]=a;delete b.Duration}a=b.DurationMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DurationMilliseconds"]=a;delete b.DurationMilliseconds}a=b.Finish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Finish"]=a;delete b.Finish}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.Overtime;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Overtime"]=a;delete b.Overtime}a=b.OvertimeMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OvertimeMilliseconds"]=a;delete b.OvertimeMilliseconds}a=b.PercentComplete;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PercentComplete"]=a;delete b.PercentComplete}a=b.PercentWorkComplete;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PercentWorkComplete"]=a;delete b.PercentWorkComplete}a=b.PhysicalPercentComplete;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PhysicalPercentComplete"]=a;delete b.PhysicalPercentComplete}a=b.ProjectTaskId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ProjectTaskId"]=a;delete b.ProjectTaskId}a=b.RegularWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RegularWork"]=a;delete b.RegularWork}a=b.RegularWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RegularWorkMilliseconds"]=a;delete b.RegularWorkMilliseconds}a=b.RemainingDuration;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingDuration"]=a;delete b.RemainingDuration}a=b.RemainingDurationMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingDurationMilliseconds"]=a;delete b.RemainingDurationMilliseconds}a=b.RemainingOvertime;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingOvertime"]=a;delete b.RemainingOvertime}a=b.RemainingOvertimeMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingOvertimeMilliseconds"]=a;delete b.RemainingOvertimeMilliseconds}a=b.RemainingWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingWork"]=a;delete b.RemainingWork}a=b.RemainingWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingWorkMilliseconds"]=a;delete b.RemainingWorkMilliseconds}a=b.Resume;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Resume"]=a;delete b.Resume}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Start"]=a;delete b.Start}a=b.StatusManager;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("StatusManager",this.get_statusManager(),a);this.get_statusManager().fromJson(a);delete b.StatusManager}a=b.Work;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Work"]=a;delete b.Work}a=b.WorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WorkMilliseconds"]=a;delete b.WorkMilliseconds}},$6_1:function(b){var a=this.get_fieldValues()[b];if(SP.ScriptUtility.isUndefined(a))throw Error.create(SP.ResResources.getString("PropertyHasNotBeenInitialized"));return a},refreshLoad:function(){a:;SP.ClientObject.prototype.refreshLoad.call(this);this.loadExpandoFields()},loadExpandoFields:function(){a:;var a=this.get_fieldValues();for(var b in a){var c={key:b,value:a[b]};this.retrieve(c.key)}}};PS.StatusTaskPropertyNames=function(){};PS.StatusTaskObjectPropertyNames=function(){};PS.StatusTaskCreationInformation=function(){a:;PS.StatusTaskCreationInformation.initializeBase(this)};PS.StatusTaskCreationInformation.prototype={$5_1:null,$0_1:null,$1_1:null,$9_1:null,$3_1:null,$A_1:null,get_finish:function(){a:;return this.$5_1},set_finish:function(a){a:;this.$5_1=a;return a},get_id:function(){a:;return this.$0_1},set_id:function(a){a:;this.$0_1=a;return a},get_name:function(){a:;return this.$1_1},set_name:function(a){a:;this.$1_1=a;return a},get_parentId:function(){a:;return this.$9_1},set_parentId:function(a){a:;this.$9_1=a;return a},get_start:function(){a:;return this.$3_1},set_start:function(a){a:;this.$3_1=a;return a},get_work:function(){a:;return this.$A_1},set_work:function(a){a:;this.$A_1=a;return a},get_typeId:function(){a:;return "{46b2e157-f944-44fc-84e9-292b0595c1de}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Finish","Id","Name","ParentId","Start","Work"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Finish;if(!SP.ScriptUtility.isUndefined(a)){this.$5_1=a;delete b.Finish}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Id}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.$1_1=a;delete b.Name}a=b.ParentId;if(!SP.ScriptUtility.isUndefined(a)){this.$9_1=a;delete b.ParentId}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.$3_1=a;delete b.Start}a=b.Work;if(!SP.ScriptUtility.isUndefined(a)){this.$A_1=a;delete b.Work}}};PS.Task=function(b,a){a:;PS.Task.initializeBase(this,[b,a])};PS.Task.prototype={get_actualCostWorkPerformed:function(){a:;this.checkUninitializedProperty("ActualCostWorkPerformed");return this.get_objectData().get_properties()["ActualCostWorkPerformed"]},get_actualDuration:function(){a:;this.checkUninitializedProperty("ActualDuration");return this.get_objectData().get_properties()["ActualDuration"]},get_actualDurationMilliseconds:function(){a:;this.checkUninitializedProperty("ActualDurationMilliseconds");return this.get_objectData().get_properties()["ActualDurationMilliseconds"]},get_actualOvertimeCost:function(){a:;this.checkUninitializedProperty("ActualOvertimeCost");return this.get_objectData().get_properties()["ActualOvertimeCost"]},get_actualOvertimeWork:function(){a:;this.checkUninitializedProperty("ActualOvertimeWork");return this.get_objectData().get_properties()["ActualOvertimeWork"]},get_actualOvertimeWorkMilliseconds:function(){a:;this.checkUninitializedProperty("ActualOvertimeWorkMilliseconds");return this.get_objectData().get_properties()["ActualOvertimeWorkMilliseconds"]},get_baselineCost:function(){a:;this.checkUninitializedProperty("BaselineCost");return this.get_objectData().get_properties()["BaselineCost"]},get_baselineDuration:function(){a:;this.checkUninitializedProperty("BaselineDuration");return this.get_objectData().get_properties()["BaselineDuration"]},get_baselineDurationMilliseconds:function(){a:;this.checkUninitializedProperty("BaselineDurationMilliseconds");return this.get_objectData().get_properties()["BaselineDurationMilliseconds"]},get_baselineFinish:function(){a:;this.checkUninitializedProperty("BaselineFinish");return this.get_objectData().get_properties()["BaselineFinish"]},get_baselineStart:function(){a:;this.checkUninitializedProperty("BaselineStart");return this.get_objectData().get_properties()["BaselineStart"]},get_baselineWork:function(){a:;this.checkUninitializedProperty("BaselineWork");return this.get_objectData().get_properties()["BaselineWork"]},get_baselineWorkMilliseconds:function(){a:;this.checkUninitializedProperty("BaselineWorkMilliseconds");return this.get_objectData().get_properties()["BaselineWorkMilliseconds"]},get_budgetCost:function(){a:;this.checkUninitializedProperty("BudgetCost");return this.get_objectData().get_properties()["BudgetCost"]},get_budgetedCostWorkPerformed:function(){a:;this.checkUninitializedProperty("BudgetedCostWorkPerformed");return this.get_objectData().get_properties()["BudgetedCostWorkPerformed"]},get_budgetedCostWorkScheduled:function(){a:;this.checkUninitializedProperty("BudgetedCostWorkScheduled");return this.get_objectData().get_properties()["BudgetedCostWorkScheduled"]},get_contact:function(){a:;this.checkUninitializedProperty("Contact");return this.get_objectData().get_properties()["Contact"]},get_costPerformanceIndex:function(){a:;this.checkUninitializedProperty("CostPerformanceIndex");return this.get_objectData().get_properties()["CostPerformanceIndex"]},get_costVariance:function(){a:;this.checkUninitializedProperty("CostVariance");return this.get_objectData().get_properties()["CostVariance"]},get_costVarianceAtCompletion:function(){a:;this.checkUninitializedProperty("CostVarianceAtCompletion");return this.get_objectData().get_properties()["CostVarianceAtCompletion"]},get_costVariancePercentage:function(){a:;this.checkUninitializedProperty("CostVariancePercentage");return this.get_objectData().get_properties()["CostVariancePercentage"]},get_created:function(){a:;this.checkUninitializedProperty("Created");return this.get_objectData().get_properties()["Created"]},get_currentCostVariance:function(){a:;this.checkUninitializedProperty("CurrentCostVariance");return this.get_objectData().get_properties()["CurrentCostVariance"]},get_customFields:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["CustomFields"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.CustomFieldCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"CustomFields"));this.get_objectData().get_clientObjectProperties()["CustomFields"]=a}return a},get_durationVariance:function(){a:;this.checkUninitializedProperty("DurationVariance");return this.get_objectData().get_properties()["DurationVariance"]},get_durationVarianceMilliseconds:function(){a:;this.checkUninitializedProperty("DurationVarianceMilliseconds");return this.get_objectData().get_properties()["DurationVarianceMilliseconds"]},get_earliestFinish:function(){a:;this.checkUninitializedProperty("EarliestFinish");return this.get_objectData().get_properties()["EarliestFinish"]},get_earliestStart:function(){a:;this.checkUninitializedProperty("EarliestStart");return this.get_objectData().get_properties()["EarliestStart"]},get_estimateAtCompletion:function(){a:;this.checkUninitializedProperty("EstimateAtCompletion");return this.get_objectData().get_properties()["EstimateAtCompletion"]},get_finishSlack:function(){a:;this.checkUninitializedProperty("FinishSlack");return this.get_objectData().get_properties()["FinishSlack"]},get_finishSlackMilliseconds:function(){a:;this.checkUninitializedProperty("FinishSlackMilliseconds");return this.get_objectData().get_properties()["FinishSlackMilliseconds"]},get_finishVariance:function(){a:;this.checkUninitializedProperty("FinishVariance");return this.get_objectData().get_properties()["FinishVariance"]},get_finishVarianceMilliseconds:function(){a:;this.checkUninitializedProperty("FinishVarianceMilliseconds");return this.get_objectData().get_properties()["FinishVarianceMilliseconds"]},get_fixedCostAccrual:function(){a:;this.checkUninitializedProperty("FixedCostAccrual");return this.get_objectData().get_properties()["FixedCostAccrual"]},get_freeSlack:function(){a:;this.checkUninitializedProperty("FreeSlack");return this.get_objectData().get_properties()["FreeSlack"]},get_freeSlackMilliseconds:function(){a:;this.checkUninitializedProperty("FreeSlackMilliseconds");return this.get_objectData().get_properties()["FreeSlackMilliseconds"]},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_ignoreResourceCalendar:function(){a:;this.checkUninitializedProperty("IgnoreResourceCalendar");return this.get_objectData().get_properties()["IgnoreResourceCalendar"]},get_isCritical:function(){a:;this.checkUninitializedProperty("IsCritical");return this.get_objectData().get_properties()["IsCritical"]},get_isDurationEstimate:function(){a:;this.checkUninitializedProperty("IsDurationEstimate");return this.get_objectData().get_properties()["IsDurationEstimate"]},get_isExternalTask:function(){a:;this.checkUninitializedProperty("IsExternalTask");return this.get_objectData().get_properties()["IsExternalTask"]},get_isOverAllocated:function(){a:;this.checkUninitializedProperty("IsOverAllocated");return this.get_objectData().get_properties()["IsOverAllocated"]},get_isRecurring:function(){a:;this.checkUninitializedProperty("IsRecurring");return this.get_objectData().get_properties()["IsRecurring"]},get_isRecurringSummary:function(){a:;this.checkUninitializedProperty("IsRecurringSummary");return this.get_objectData().get_properties()["IsRecurringSummary"]},get_isRolledUp:function(){a:;this.checkUninitializedProperty("IsRolledUp");return this.get_objectData().get_properties()["IsRolledUp"]},get_isSubProject:function(){a:;this.checkUninitializedProperty("IsSubProject");return this.get_objectData().get_properties()["IsSubProject"]},get_isSubProjectReadOnly:function(){a:;this.checkUninitializedProperty("IsSubProjectReadOnly");return this.get_objectData().get_properties()["IsSubProjectReadOnly"]},get_isSubProjectScheduledFromFinish:function(){a:;this.checkUninitializedProperty("IsSubProjectScheduledFromFinish");return this.get_objectData().get_properties()["IsSubProjectScheduledFromFinish"]},get_isSummary:function(){a:;this.checkUninitializedProperty("IsSummary");return this.get_objectData().get_properties()["IsSummary"]},get_latestFinish:function(){a:;this.checkUninitializedProperty("LatestFinish");return this.get_objectData().get_properties()["LatestFinish"]},get_latestStart:function(){a:;this.checkUninitializedProperty("LatestStart");return this.get_objectData().get_properties()["LatestStart"]},get_levelingDelay:function(){a:;this.checkUninitializedProperty("LevelingDelay");return this.get_objectData().get_properties()["LevelingDelay"]},get_levelingDelayMilliseconds:function(){a:;this.checkUninitializedProperty("LevelingDelayMilliseconds");return this.get_objectData().get_properties()["LevelingDelayMilliseconds"]},get_modified:function(){a:;this.checkUninitializedProperty("Modified");return this.get_objectData().get_properties()["Modified"]},get_notes:function(){a:;this.checkUninitializedProperty("Notes");return this.get_objectData().get_properties()["Notes"]},get_outlinePosition:function(){a:;this.checkUninitializedProperty("OutlinePosition");return this.get_objectData().get_properties()["OutlinePosition"]},get_overtimeCost:function(){a:;this.checkUninitializedProperty("OvertimeCost");return this.get_objectData().get_properties()["OvertimeCost"]},get_overtimeWork:function(){a:;this.checkUninitializedProperty("OvertimeWork");return this.get_objectData().get_properties()["OvertimeWork"]},get_overtimeWorkMilliseconds:function(){a:;this.checkUninitializedProperty("OvertimeWorkMilliseconds");return this.get_objectData().get_properties()["OvertimeWorkMilliseconds"]},get_percentWorkComplete:function(){a:;this.checkUninitializedProperty("PercentWorkComplete");return this.get_objectData().get_properties()["PercentWorkComplete"]},get_preLevelingFinish:function(){a:;this.checkUninitializedProperty("PreLevelingFinish");return this.get_objectData().get_properties()["PreLevelingFinish"]},get_preLevelingStart:function(){a:;this.checkUninitializedProperty("PreLevelingStart");return this.get_objectData().get_properties()["PreLevelingStart"]},get_regularWork:function(){a:;this.checkUninitializedProperty("RegularWork");return this.get_objectData().get_properties()["RegularWork"]},get_regularWorkMilliseconds:function(){a:;this.checkUninitializedProperty("RegularWorkMilliseconds");return this.get_objectData().get_properties()["RegularWorkMilliseconds"]},get_remainingCost:function(){a:;this.checkUninitializedProperty("RemainingCost");return this.get_objectData().get_properties()["RemainingCost"]},get_remainingOvertimeCost:function(){a:;this.checkUninitializedProperty("RemainingOvertimeCost");return this.get_objectData().get_properties()["RemainingOvertimeCost"]},get_remainingOvertimeWork:function(){a:;this.checkUninitializedProperty("RemainingOvertimeWork");return this.get_objectData().get_properties()["RemainingOvertimeWork"]},get_remainingOvertimeWorkMilliseconds:function(){a:;this.checkUninitializedProperty("RemainingOvertimeWorkMilliseconds");return this.get_objectData().get_properties()["RemainingOvertimeWorkMilliseconds"]},get_remainingWork:function(){a:;this.checkUninitializedProperty("RemainingWork");return this.get_objectData().get_properties()["RemainingWork"]},get_remainingWorkMilliseconds:function(){a:;this.checkUninitializedProperty("RemainingWorkMilliseconds");return this.get_objectData().get_properties()["RemainingWorkMilliseconds"]},get_resume:function(){a:;this.checkUninitializedProperty("Resume");return this.get_objectData().get_properties()["Resume"]},get_scheduleCostVariance:function(){a:;this.checkUninitializedProperty("ScheduleCostVariance");return this.get_objectData().get_properties()["ScheduleCostVariance"]},get_scheduledDuration:function(){a:;this.checkUninitializedProperty("ScheduledDuration");return this.get_objectData().get_properties()["ScheduledDuration"]},get_scheduledDurationMilliseconds:function(){a:;this.checkUninitializedProperty("ScheduledDurationMilliseconds");return this.get_objectData().get_properties()["ScheduledDurationMilliseconds"]},get_scheduledFinish:function(){a:;this.checkUninitializedProperty("ScheduledFinish");return this.get_objectData().get_properties()["ScheduledFinish"]},get_scheduledStart:function(){a:;this.checkUninitializedProperty("ScheduledStart");return this.get_objectData().get_properties()["ScheduledStart"]},get_schedulePerformanceIndex:function(){a:;this.checkUninitializedProperty("SchedulePerformanceIndex");return this.get_objectData().get_properties()["SchedulePerformanceIndex"]},get_scheduleVariancePercentage:function(){a:;this.checkUninitializedProperty("ScheduleVariancePercentage");return this.get_objectData().get_properties()["ScheduleVariancePercentage"]},get_startSlack:function(){a:;this.checkUninitializedProperty("StartSlack");return this.get_objectData().get_properties()["StartSlack"]},get_startSlackMilliseconds:function(){a:;this.checkUninitializedProperty("StartSlackMilliseconds");return this.get_objectData().get_properties()["StartSlackMilliseconds"]},get_startVariance:function(){a:;this.checkUninitializedProperty("StartVariance");return this.get_objectData().get_properties()["StartVariance"]},get_startVarianceMilliseconds:function(){a:;this.checkUninitializedProperty("StartVarianceMilliseconds");return this.get_objectData().get_properties()["StartVarianceMilliseconds"]},get_stop:function(){a:;this.checkUninitializedProperty("Stop");return this.get_objectData().get_properties()["Stop"]},get_subProject:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["SubProject"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.PublishedProject(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"SubProject"));this.get_objectData().get_clientObjectProperties()["SubProject"]=a}return a},get_toCompletePerformanceIndex:function(){a:;this.checkUninitializedProperty("ToCompletePerformanceIndex");return this.get_objectData().get_properties()["ToCompletePerformanceIndex"]},get_totalSlack:function(){a:;this.checkUninitializedProperty("TotalSlack");return this.get_objectData().get_properties()["TotalSlack"]},get_totalSlackMilliseconds:function(){a:;this.checkUninitializedProperty("TotalSlackMilliseconds");return this.get_objectData().get_properties()["TotalSlackMilliseconds"]},get_workBreakdownStructure:function(){a:;this.checkUninitializedProperty("WorkBreakdownStructure");return this.get_objectData().get_properties()["WorkBreakdownStructure"]},get_workVariance:function(){a:;this.checkUninitializedProperty("WorkVariance");return this.get_objectData().get_properties()["WorkVariance"]},get_workVarianceMilliseconds:function(){a:;this.checkUninitializedProperty("WorkVarianceMilliseconds");return this.get_objectData().get_properties()["WorkVarianceMilliseconds"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ActualCostWorkPerformed;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualCostWorkPerformed"]=a;delete b.ActualCostWorkPerformed}a=b.ActualDuration;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualDuration"]=a;delete b.ActualDuration}a=b.ActualDurationMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualDurationMilliseconds"]=a;delete b.ActualDurationMilliseconds}a=b.ActualOvertimeCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualOvertimeCost"]=a;delete b.ActualOvertimeCost}a=b.ActualOvertimeWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualOvertimeWork"]=a;delete b.ActualOvertimeWork}a=b.ActualOvertimeWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualOvertimeWorkMilliseconds"]=a;delete b.ActualOvertimeWorkMilliseconds}a=b.BaselineCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BaselineCost"]=a;delete b.BaselineCost}a=b.BaselineDuration;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BaselineDuration"]=a;delete b.BaselineDuration}a=b.BaselineDurationMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BaselineDurationMilliseconds"]=a;delete b.BaselineDurationMilliseconds}a=b.BaselineFinish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BaselineFinish"]=a;delete b.BaselineFinish}a=b.BaselineStart;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BaselineStart"]=a;delete b.BaselineStart}a=b.BaselineWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BaselineWork"]=a;delete b.BaselineWork}a=b.BaselineWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BaselineWorkMilliseconds"]=a;delete b.BaselineWorkMilliseconds}a=b.BudgetCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BudgetCost"]=a;delete b.BudgetCost}a=b.BudgetedCostWorkPerformed;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BudgetedCostWorkPerformed"]=a;delete b.BudgetedCostWorkPerformed}a=b.BudgetedCostWorkScheduled;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BudgetedCostWorkScheduled"]=a;delete b.BudgetedCostWorkScheduled}a=b.Contact;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Contact"]=a;delete b.Contact}a=b.CostPerformanceIndex;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CostPerformanceIndex"]=a;delete b.CostPerformanceIndex}a=b.CostVariance;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CostVariance"]=a;delete b.CostVariance}a=b.CostVarianceAtCompletion;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CostVarianceAtCompletion"]=a;delete b.CostVarianceAtCompletion}a=b.CostVariancePercentage;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CostVariancePercentage"]=a;delete b.CostVariancePercentage}a=b.Created;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Created"]=a;delete b.Created}a=b.CurrentCostVariance;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CurrentCostVariance"]=a;delete b.CurrentCostVariance}a=b.CustomFields;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("CustomFields",this.get_customFields(),a);this.get_customFields().fromJson(a);delete b.CustomFields}a=b.DurationVariance;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DurationVariance"]=a;delete b.DurationVariance}a=b.DurationVarianceMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DurationVarianceMilliseconds"]=a;delete b.DurationVarianceMilliseconds}a=b.EarliestFinish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["EarliestFinish"]=a;delete b.EarliestFinish}a=b.EarliestStart;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["EarliestStart"]=a;delete b.EarliestStart}a=b.EstimateAtCompletion;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["EstimateAtCompletion"]=a;delete b.EstimateAtCompletion}a=b.FinishSlack;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FinishSlack"]=a;delete b.FinishSlack}a=b.FinishSlackMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FinishSlackMilliseconds"]=a;delete b.FinishSlackMilliseconds}a=b.FinishVariance;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FinishVariance"]=a;delete b.FinishVariance}a=b.FinishVarianceMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FinishVarianceMilliseconds"]=a;delete b.FinishVarianceMilliseconds}a=b.FixedCostAccrual;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FixedCostAccrual"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.FixedCostAccrual}a=b.FreeSlack;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FreeSlack"]=a;delete b.FreeSlack}a=b.FreeSlackMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FreeSlackMilliseconds"]=a;delete b.FreeSlackMilliseconds}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.IgnoreResourceCalendar;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IgnoreResourceCalendar"]=a;delete b.IgnoreResourceCalendar}a=b.IsCritical;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsCritical"]=a;delete b.IsCritical}a=b.IsDurationEstimate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsDurationEstimate"]=a;delete b.IsDurationEstimate}a=b.IsExternalTask;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsExternalTask"]=a;delete b.IsExternalTask}a=b.IsOverAllocated;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsOverAllocated"]=a;delete b.IsOverAllocated}a=b.IsRecurring;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsRecurring"]=a;delete b.IsRecurring}a=b.IsRecurringSummary;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsRecurringSummary"]=a;delete b.IsRecurringSummary}a=b.IsRolledUp;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsRolledUp"]=a;delete b.IsRolledUp}a=b.IsSubProject;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsSubProject"]=a;delete b.IsSubProject}a=b.IsSubProjectReadOnly;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsSubProjectReadOnly"]=a;delete b.IsSubProjectReadOnly}a=b.IsSubProjectScheduledFromFinish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsSubProjectScheduledFromFinish"]=a;delete b.IsSubProjectScheduledFromFinish}a=b.IsSummary;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsSummary"]=a;delete b.IsSummary}a=b.LatestFinish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["LatestFinish"]=a;delete b.LatestFinish}a=b.LatestStart;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["LatestStart"]=a;delete b.LatestStart}a=b.LevelingDelay;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["LevelingDelay"]=a;delete b.LevelingDelay}a=b.LevelingDelayMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["LevelingDelayMilliseconds"]=a;delete b.LevelingDelayMilliseconds}a=b.Modified;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Modified"]=a;delete b.Modified}a=b.Notes;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Notes"]=a;delete b.Notes}a=b.OutlinePosition;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OutlinePosition"]=a;delete b.OutlinePosition}a=b.OvertimeCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OvertimeCost"]=a;delete b.OvertimeCost}a=b.OvertimeWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OvertimeWork"]=a;delete b.OvertimeWork}a=b.OvertimeWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OvertimeWorkMilliseconds"]=a;delete b.OvertimeWorkMilliseconds}a=b.PercentWorkComplete;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PercentWorkComplete"]=a;delete b.PercentWorkComplete}a=b.PreLevelingFinish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PreLevelingFinish"]=a;delete b.PreLevelingFinish}a=b.PreLevelingStart;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PreLevelingStart"]=a;delete b.PreLevelingStart}a=b.RegularWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RegularWork"]=a;delete b.RegularWork}a=b.RegularWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RegularWorkMilliseconds"]=a;delete b.RegularWorkMilliseconds}a=b.RemainingCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingCost"]=a;delete b.RemainingCost}a=b.RemainingOvertimeCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingOvertimeCost"]=a;delete b.RemainingOvertimeCost}a=b.RemainingOvertimeWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingOvertimeWork"]=a;delete b.RemainingOvertimeWork}a=b.RemainingOvertimeWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingOvertimeWorkMilliseconds"]=a;delete b.RemainingOvertimeWorkMilliseconds}a=b.RemainingWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingWork"]=a;delete b.RemainingWork}a=b.RemainingWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingWorkMilliseconds"]=a;delete b.RemainingWorkMilliseconds}a=b.Resume;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Resume"]=a;delete b.Resume}a=b.ScheduleCostVariance;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ScheduleCostVariance"]=a;delete b.ScheduleCostVariance}a=b.ScheduledDuration;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ScheduledDuration"]=a;delete b.ScheduledDuration}a=b.ScheduledDurationMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ScheduledDurationMilliseconds"]=a;delete b.ScheduledDurationMilliseconds}a=b.ScheduledFinish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ScheduledFinish"]=a;delete b.ScheduledFinish}a=b.ScheduledStart;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ScheduledStart"]=a;delete b.ScheduledStart}a=b.SchedulePerformanceIndex;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["SchedulePerformanceIndex"]=a;delete b.SchedulePerformanceIndex}a=b.ScheduleVariancePercentage;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ScheduleVariancePercentage"]=a;delete b.ScheduleVariancePercentage}a=b.StartSlack;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["StartSlack"]=a;delete b.StartSlack}a=b.StartSlackMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["StartSlackMilliseconds"]=a;delete b.StartSlackMilliseconds}a=b.StartVariance;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["StartVariance"]=a;delete b.StartVariance}a=b.StartVarianceMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["StartVarianceMilliseconds"]=a;delete b.StartVarianceMilliseconds}a=b.Stop;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Stop"]=a;delete b.Stop}a=b.SubProject;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("SubProject",this.get_subProject(),a);this.get_subProject().fromJson(a);delete b.SubProject}a=b.ToCompletePerformanceIndex;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ToCompletePerformanceIndex"]=a;delete b.ToCompletePerformanceIndex}a=b.TotalSlack;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TotalSlack"]=a;delete b.TotalSlack}a=b.TotalSlackMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TotalSlackMilliseconds"]=a;delete b.TotalSlackMilliseconds}a=b.WorkBreakdownStructure;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WorkBreakdownStructure"]=a;delete b.WorkBreakdownStructure}a=b.WorkVariance;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WorkVariance"]=a;delete b.WorkVariance}a=b.WorkVarianceMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WorkVarianceMilliseconds"]=a;delete b.WorkVarianceMilliseconds}}};PS.TaskPropertyNames=function(){};PS.TaskObjectPropertyNames=function(){};PS.TaskCreationInformation=function(){a:;PS.TaskCreationInformation.initializeBase(this)};PS.TaskCreationInformation.prototype={$W_1:null,$C_1:null,$5_1:null,$0_1:null,$15_1:false,$1_1:null,$8_1:null,$9_1:null,$3_1:null,$29_1:null,get_addAfterId:function(){a:;return this.$W_1},set_addAfterId:function(a){a:;this.$W_1=a;return a},get_duration:function(){a:;return this.$C_1},set_duration:function(a){a:;this.$C_1=a;return a},get_finish:function(){a:;return this.$5_1},set_finish:function(a){a:;this.$5_1=a;return a},get_id:function(){a:;return this.$0_1},set_id:function(a){a:;this.$0_1=a;return a},get_isManual:function(){a:;return this.$15_1},set_isManual:function(a){a:;this.$15_1=a;return a},get_name:function(){a:;return this.$1_1},set_name:function(a){a:;this.$1_1=a;return a},get_notes:function(){a:;return this.$8_1},set_notes:function(a){a:;this.$8_1=a;return a},get_parentId:function(){a:;return this.$9_1},set_parentId:function(a){a:;this.$9_1=a;return a},get_start:function(){a:;return this.$3_1},set_start:function(a){a:;this.$3_1=a;return a},get_statusManager:function(){a:;return this.$29_1},set_statusManager:function(a){a:;this.$29_1=a;return a},get_typeId:function(){a:;return "{d9571758-4216-4b89-815f-68540fafd74a}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["AddAfterId","Duration","Finish","Id","IsManual","Name","Notes","ParentId","Start","StatusManager"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AddAfterId;if(!SP.ScriptUtility.isUndefined(a)){this.$W_1=a;delete b.AddAfterId}a=b.Duration;if(!SP.ScriptUtility.isUndefined(a)){this.$C_1=a;delete b.Duration}a=b.Finish;if(!SP.ScriptUtility.isUndefined(a)){this.$5_1=a;delete b.Finish}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Id}a=b.IsManual;if(!SP.ScriptUtility.isUndefined(a)){this.$15_1=a;delete b.IsManual}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.$1_1=a;delete b.Name}a=b.Notes;if(!SP.ScriptUtility.isUndefined(a)){this.$8_1=a;delete b.Notes}a=b.ParentId;if(!SP.ScriptUtility.isUndefined(a)){this.$9_1=a;delete b.ParentId}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.$3_1=a;delete b.Start}a=b.StatusManager;if(!SP.ScriptUtility.isUndefined(a))delete b.StatusManager}};PS.TaskLink=function(b,a){a:;PS.TaskLink.initializeBase(this,[b,a])};PS.TaskLink.prototype={get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},initPropertiesFromJson:function(a){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,a);var b;b=a.Id;if(!SP.ScriptUtility.isUndefined(b)){this.get_objectData().get_properties()["Id"]=b;delete a.Id}}};PS.TaskLinkPropertyNames=function(){};PS.TaskLinkCreationInformation=function(){a:;PS.TaskLinkCreationInformation.initializeBase(this)};PS.TaskLinkCreationInformation.prototype={$g_1:0,$k_1:null,$0_1:null,$1p_1:null,get_dependencyType:function(){a:;return this.$g_1},set_dependencyType:function(a){a:;this.$g_1=a;return a},get_endId:function(){a:;return this.$k_1},set_endId:function(a){a:;this.$k_1=a;return a},get_id:function(){a:;return this.$0_1},set_id:function(a){a:;this.$0_1=a;return a},get_startId:function(){a:;return this.$1p_1},set_startId:function(a){a:;this.$1p_1=a;return a},get_typeId:function(){a:;return "{735b458f-32e6-4629-a7a5-ecc8451e2fe1}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["DependencyType","EndId","Id","StartId"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.DependencyType;if(!SP.ScriptUtility.isUndefined(a)){this.$g_1=SP.DataConvert.fixupType(null,a);delete b.DependencyType}a=b.EndId;if(!SP.ScriptUtility.isUndefined(a)){this.$k_1=a;delete b.EndId}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Id}a=b.StartId;if(!SP.ScriptUtility.isUndefined(a)){this.$1p_1=a;delete b.StartId}}};PS.TimePhase=function(b,a){a:;PS.TimePhase.initializeBase(this,[b,a])};PS.TimePhase.prototype={get_assignments:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Assignments"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.StatusAssignmentCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Assignments"));this.get_objectData().get_clientObjectProperties()["Assignments"]=a}return a},get_end:function(){a:;this.checkUninitializedProperty("End");return this.get_objectData().get_properties()["End"]},get_start:function(){a:;this.checkUninitializedProperty("Start");return this.get_objectData().get_properties()["Start"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Assignments;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Assignments",this.get_assignments(),a);this.get_assignments().fromJson(a);delete b.Assignments}a=b.End;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["End"]=a;delete b.End}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Start"]=a;delete b.Start}}};PS.TimePhasePropertyNames=function(){};PS.TimePhaseObjectPropertyNames=function(){};PS.TimeSheet=function(b,a){a:;PS.TimeSheet.initializeBase(this,[b,a])};PS.TimeSheet.prototype={get_comments:function(){a:;this.checkUninitializedProperty("Comments");return this.get_objectData().get_properties()["Comments"]},get_creator:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Creator"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Creator"));this.get_objectData().get_clientObjectProperties()["Creator"]=a}return a},get_entryMode:function(){a:;this.checkUninitializedProperty("EntryMode");return this.get_objectData().get_properties()["EntryMode"]},set_entryMode:function(a){a:;this.get_objectData().get_properties()["EntryMode"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"EntryMode",a));return a},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_isControlledByOwner:function(){a:;this.checkUninitializedProperty("IsControlledByOwner");return this.get_objectData().get_properties()["IsControlledByOwner"]},set_isControlledByOwner:function(a){a:;this.get_objectData().get_properties()["IsControlledByOwner"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsControlledByOwner",a));return a},get_isProcessed:function(){a:;this.checkUninitializedProperty("IsProcessed");return this.get_objectData().get_properties()["IsProcessed"]},set_isProcessed:function(a){a:;this.get_objectData().get_properties()["IsProcessed"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsProcessed",a));return a},get_lines:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Lines"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.TimeSheetLineCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Lines"));this.get_objectData().get_clientObjectProperties()["Lines"]=a}return a},get_manager:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Manager"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Manager"));this.get_objectData().get_clientObjectProperties()["Manager"]=a}return a},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},set_name:function(a){a:;this.get_objectData().get_properties()["Name"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Name",a));return a},get_period:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Period"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.TimeSheetPeriod(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Period"));this.get_objectData().get_clientObjectProperties()["Period"]=a}return a},get_status:function(){a:;this.checkUninitializedProperty("Status");return this.get_objectData().get_properties()["Status"]},set_status:function(a){a:;this.get_objectData().get_properties()["Status"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Status",a));return a},get_totalActualWork:function(){a:;this.checkUninitializedProperty("TotalActualWork");return this.get_objectData().get_properties()["TotalActualWork"]},set_totalActualWork:function(a){a:;this.get_objectData().get_properties()["TotalActualWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TotalActualWork",a));return a},get_totalActualWorkMilliseconds:function(){a:;this.checkUninitializedProperty("TotalActualWorkMilliseconds");return this.get_objectData().get_properties()["TotalActualWorkMilliseconds"]},set_totalActualWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["TotalActualWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TotalActualWorkMilliseconds",a));return a},get_totalNonBillableOvertimeWork:function(){a:;this.checkUninitializedProperty("TotalNonBillableOvertimeWork");return this.get_objectData().get_properties()["TotalNonBillableOvertimeWork"]},set_totalNonBillableOvertimeWork:function(a){a:;this.get_objectData().get_properties()["TotalNonBillableOvertimeWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TotalNonBillableOvertimeWork",a));return a},get_totalNonBillableOvertimeWorkMilliseconds:function(){a:;this.checkUninitializedProperty("TotalNonBillableOvertimeWorkMilliseconds");return this.get_objectData().get_properties()["TotalNonBillableOvertimeWorkMilliseconds"]},set_totalNonBillableOvertimeWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["TotalNonBillableOvertimeWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TotalNonBillableOvertimeWorkMilliseconds",a));return a},get_totalNonBillableWork:function(){a:;this.checkUninitializedProperty("TotalNonBillableWork");return this.get_objectData().get_properties()["TotalNonBillableWork"]},set_totalNonBillableWork:function(a){a:;this.get_objectData().get_properties()["TotalNonBillableWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TotalNonBillableWork",a));return a},get_totalNonBillableWorkMilliseconds:function(){a:;this.checkUninitializedProperty("TotalNonBillableWorkMilliseconds");return this.get_objectData().get_properties()["TotalNonBillableWorkMilliseconds"]},set_totalNonBillableWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["TotalNonBillableWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TotalNonBillableWorkMilliseconds",a));return a},get_totalOvertimeWork:function(){a:;this.checkUninitializedProperty("TotalOvertimeWork");return this.get_objectData().get_properties()["TotalOvertimeWork"]},set_totalOvertimeWork:function(a){a:;this.get_objectData().get_properties()["TotalOvertimeWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TotalOvertimeWork",a));return a},get_totalOvertimeWorkMilliseconds:function(){a:;this.checkUninitializedProperty("TotalOvertimeWorkMilliseconds");return this.get_objectData().get_properties()["TotalOvertimeWorkMilliseconds"]},set_totalOvertimeWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["TotalOvertimeWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TotalOvertimeWorkMilliseconds",a));return a},get_totalWork:function(){a:;this.checkUninitializedProperty("TotalWork");return this.get_objectData().get_properties()["TotalWork"]},set_totalWork:function(a){a:;this.get_objectData().get_properties()["TotalWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TotalWork",a));return a},get_totalWorkMilliseconds:function(){a:;this.checkUninitializedProperty("TotalWorkMilliseconds");return this.get_objectData().get_properties()["TotalWorkMilliseconds"]},set_totalWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["TotalWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TotalWorkMilliseconds",a));return a},get_weekStartsOn:function(){a:;this.checkUninitializedProperty("WeekStartsOn");return this.get_objectData().get_properties()["WeekStartsOn"]},set_weekStartsOn:function(a){a:;this.get_objectData().get_properties()["WeekStartsOn"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"WeekStartsOn",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Comments;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Comments"]=a;delete b.Comments}a=b.Creator;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Creator",this.get_creator(),a);this.get_creator().fromJson(a);delete b.Creator}a=b.EntryMode;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["EntryMode"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.EntryMode}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.IsControlledByOwner;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsControlledByOwner"]=a;delete b.IsControlledByOwner}a=b.IsProcessed;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsProcessed"]=a;delete b.IsProcessed}a=b.Lines;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Lines",this.get_lines(),a);this.get_lines().fromJson(a);delete b.Lines}a=b.Manager;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Manager",this.get_manager(),a);this.get_manager().fromJson(a);delete b.Manager}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.Period;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Period",this.get_period(),a);this.get_period().fromJson(a);delete b.Period}a=b.Status;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Status"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.Status}a=b.TotalActualWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TotalActualWork"]=a;delete b.TotalActualWork}a=b.TotalActualWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TotalActualWorkMilliseconds"]=a;delete b.TotalActualWorkMilliseconds}a=b.TotalNonBillableOvertimeWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TotalNonBillableOvertimeWork"]=a;delete b.TotalNonBillableOvertimeWork}a=b.TotalNonBillableOvertimeWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TotalNonBillableOvertimeWorkMilliseconds"]=a;delete b.TotalNonBillableOvertimeWorkMilliseconds}a=b.TotalNonBillableWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TotalNonBillableWork"]=a;delete b.TotalNonBillableWork}a=b.TotalNonBillableWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TotalNonBillableWorkMilliseconds"]=a;delete b.TotalNonBillableWorkMilliseconds}a=b.TotalOvertimeWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TotalOvertimeWork"]=a;delete b.TotalOvertimeWork}a=b.TotalOvertimeWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TotalOvertimeWorkMilliseconds"]=a;delete b.TotalOvertimeWorkMilliseconds}a=b.TotalWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TotalWork"]=a;delete b.TotalWork}a=b.TotalWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TotalWorkMilliseconds"]=a;delete b.TotalWorkMilliseconds}a=b.WeekStartsOn;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WeekStartsOn"]=a;delete b.WeekStartsOn}},update:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Update",null);a.addQuery(b);this.refreshLoad()},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b)},submit:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"Submit",[a]);b.addQuery(c)},recall:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Recall",null);a.addQuery(b)}};PS.TimeSheetPropertyNames=function(){};PS.TimeSheetObjectPropertyNames=function(){};PS.TimeSheetLine=function(b,a){a:;PS.TimeSheetLine.initializeBase(this,[b,a])};PS.TimeSheetLine.prototype={get_assignment:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Assignment"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.PublishedAssignment(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Assignment"));this.get_objectData().get_clientObjectProperties()["Assignment"]=a}return a},get_comment:function(){a:;this.checkUninitializedProperty("Comment");return this.get_objectData().get_properties()["Comment"]},set_comment:function(a){a:;this.get_objectData().get_properties()["Comment"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Comment",a));return a},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_lineClass:function(){a:;this.checkUninitializedProperty("LineClass");return this.get_objectData().get_properties()["LineClass"]},set_lineClass:function(a){a:;this.get_objectData().get_properties()["LineClass"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"LineClass",a));return a},get_projectName:function(){a:;this.checkUninitializedProperty("ProjectName");return this.get_objectData().get_properties()["ProjectName"]},get_status:function(){a:;this.checkUninitializedProperty("Status");return this.get_objectData().get_properties()["Status"]},set_status:function(a){a:;this.get_objectData().get_properties()["Status"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Status",a));return a},get_taskName:function(){a:;this.checkUninitializedProperty("TaskName");return this.get_objectData().get_properties()["TaskName"]},get_timeSheet:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["TimeSheet"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.TimeSheet(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"TimeSheet"));this.get_objectData().get_clientObjectProperties()["TimeSheet"]=a}return a},get_totalWork:function(){a:;this.checkUninitializedProperty("TotalWork");return this.get_objectData().get_properties()["TotalWork"]},get_totalWorkMilliseconds:function(){a:;this.checkUninitializedProperty("TotalWorkMilliseconds");return this.get_objectData().get_properties()["TotalWorkMilliseconds"]},get_validationType:function(){a:;this.checkUninitializedProperty("ValidationType");return this.get_objectData().get_properties()["ValidationType"]},get_work:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Work"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.TimeSheetWorkCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Work"));this.get_objectData().get_clientObjectProperties()["Work"]=a}return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Assignment;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Assignment",this.get_assignment(),a);this.get_assignment().fromJson(a);delete b.Assignment}a=b.Comment;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Comment"]=a;delete b.Comment}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.LineClass;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["LineClass"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.LineClass}a=b.ProjectName;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ProjectName"]=a;delete b.ProjectName}a=b.Status;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Status"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.Status}a=b.TaskName;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TaskName"]=a;delete b.TaskName}a=b.TimeSheet;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("TimeSheet",this.get_timeSheet(),a);this.get_timeSheet().fromJson(a);delete b.TimeSheet}a=b.TotalWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TotalWork"]=a;delete b.TotalWork}a=b.TotalWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TotalWorkMilliseconds"]=a;delete b.TotalWorkMilliseconds}a=b.ValidationType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ValidationType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.ValidationType}a=b.Work;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Work",this.get_work(),a);this.get_work().fromJson(a);delete b.Work}},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b);this.removeFromParentCollection()},submit:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"Submit",[a]);b.addQuery(c)}};PS.TimeSheetLinePropertyNames=function(){};PS.TimeSheetLineObjectPropertyNames=function(){};PS.TimeSheetLineCollection=function(b,a){a:;PS.TimeSheetLineCollection.initializeBase(this,[b,a])};PS.TimeSheetLineCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.TimeSheetLine},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.TimeSheetLine(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.TimeSheetLine(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a},add:function(d){a:;var b=this.get_context(),a;a=new PS.TimeSheetLine(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a},remove:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"Remove",[d]);b.addQuery(c);a=new SP.BooleanResult;b.addQueryIdAndResultObject(c.get_id(),a);this.removeChild(d);return a}};PS.TimeSheetLineCreationInformation=function(){a:;PS.TimeSheetLineCreationInformation.initializeBase(this)};PS.TimeSheetLineCreationInformation.prototype={$Y_1:null,$7_1:null,$0_1:null,$1A_1:0,$H_1:null,$1u_1:null,get_assignmentId:function(){a:;return this.$Y_1},set_assignmentId:function(a){a:;this.$Y_1=a;return a},get_comment:function(){a:;return this.$7_1},set_comment:function(a){a:;this.$7_1=a;return a},get_id:function(){a:;return this.$0_1},set_id:function(a){a:;this.$0_1=a;return a},get_lineClass:function(){a:;return this.$1A_1},set_lineClass:function(a){a:;this.$1A_1=a;return a},get_projectId:function(){a:;return this.$H_1},set_projectId:function(a){a:;this.$H_1=a;return a},get_taskName:function(){a:;return this.$1u_1},set_taskName:function(a){a:;this.$1u_1=a;return a},get_typeId:function(){a:;return "{dbbd87af-f81d-413f-9899-957de504618a}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["AssignmentId","Comment","Id","LineClass","ProjectId","TaskName"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AssignmentId;if(!SP.ScriptUtility.isUndefined(a)){this.$Y_1=a;delete b.AssignmentId}a=b.Comment;if(!SP.ScriptUtility.isUndefined(a)){this.$7_1=a;delete b.Comment}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Id}a=b.LineClass;if(!SP.ScriptUtility.isUndefined(a)){this.$1A_1=SP.DataConvert.fixupType(null,a);delete b.LineClass}a=b.ProjectId;if(!SP.ScriptUtility.isUndefined(a)){this.$H_1=a;delete b.ProjectId}a=b.TaskName;if(!SP.ScriptUtility.isUndefined(a)){this.$1u_1=a;delete b.TaskName}}};PS.TimeSheetPeriod=function(b,a){a:;PS.TimeSheetPeriod.initializeBase(this,[b,a])};PS.TimeSheetPeriod.prototype={get_end:function(){a:;this.checkUninitializedProperty("End");return this.get_objectData().get_properties()["End"]},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},get_start:function(){a:;this.checkUninitializedProperty("Start");return this.get_objectData().get_properties()["Start"]},get_timeSheet:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["TimeSheet"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.TimeSheet(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"TimeSheet"));this.get_objectData().get_clientObjectProperties()["TimeSheet"]=a}return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.End;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["End"]=a;delete b.End}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Start"]=a;delete b.Start}a=b.TimeSheet;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("TimeSheet",this.get_timeSheet(),a);this.get_timeSheet().fromJson(a);delete b.TimeSheet}},createTimeSheet:function(){a:;var a=this.get_context(),b;b=new PS.TimeSheet(a,new SP.ObjectPathMethod(a,this.get_path(),"CreateTimeSheet",null));return b}};PS.TimeSheetPeriodPropertyNames=function(){};PS.TimeSheetPeriodObjectPropertyNames=function(){};PS.TimeSheetPeriodCollection=function(b,a){a:;PS.TimeSheetPeriodCollection.initializeBase(this,[b,a])};PS.TimeSheetPeriodCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.TimeSheetPeriod},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.TimeSheetPeriod(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.TimeSheetPeriod(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a}};PS.TimeSheetWork=function(b,a){a:;PS.TimeSheetWork.initializeBase(this,[b,a])};PS.TimeSheetWork.prototype={get_actualWork:function(){a:;this.checkUninitializedProperty("ActualWork");return this.get_objectData().get_properties()["ActualWork"]},set_actualWork:function(a){a:;this.get_objectData().get_properties()["ActualWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ActualWork",a));return a},get_actualWorkMilliseconds:function(){a:;this.checkUninitializedProperty("ActualWorkMilliseconds");return this.get_objectData().get_properties()["ActualWorkMilliseconds"]},set_actualWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["ActualWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ActualWorkMilliseconds",a));return a},get_comment:function(){a:;this.checkUninitializedProperty("Comment");return this.get_objectData().get_properties()["Comment"]},set_comment:function(a){a:;this.get_objectData().get_properties()["Comment"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Comment",a));return a},get_end:function(){a:;this.checkUninitializedProperty("End");return this.get_objectData().get_properties()["End"]},set_end:function(a){a:;this.get_objectData().get_properties()["End"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"End",a));return a},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_nonBillableOvertimeWork:function(){a:;this.checkUninitializedProperty("NonBillableOvertimeWork");return this.get_objectData().get_properties()["NonBillableOvertimeWork"]},set_nonBillableOvertimeWork:function(a){a:;this.get_objectData().get_properties()["NonBillableOvertimeWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"NonBillableOvertimeWork",a));return a},get_nonBillableOvertimeWorkMilliseconds:function(){a:;this.checkUninitializedProperty("NonBillableOvertimeWorkMilliseconds");return this.get_objectData().get_properties()["NonBillableOvertimeWorkMilliseconds"]},set_nonBillableOvertimeWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["NonBillableOvertimeWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"NonBillableOvertimeWorkMilliseconds",a));return a},get_nonBillableWork:function(){a:;this.checkUninitializedProperty("NonBillableWork");return this.get_objectData().get_properties()["NonBillableWork"]},set_nonBillableWork:function(a){a:;this.get_objectData().get_properties()["NonBillableWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"NonBillableWork",a));return a},get_nonBillableWorkMilliseconds:function(){a:;this.checkUninitializedProperty("NonBillableWorkMilliseconds");return this.get_objectData().get_properties()["NonBillableWorkMilliseconds"]},set_nonBillableWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["NonBillableWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"NonBillableWorkMilliseconds",a));return a},get_overtimeWork:function(){a:;this.checkUninitializedProperty("OvertimeWork");return this.get_objectData().get_properties()["OvertimeWork"]},set_overtimeWork:function(a){a:;this.get_objectData().get_properties()["OvertimeWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"OvertimeWork",a));return a},get_overtimeWorkMilliseconds:function(){a:;this.checkUninitializedProperty("OvertimeWorkMilliseconds");return this.get_objectData().get_properties()["OvertimeWorkMilliseconds"]},set_overtimeWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["OvertimeWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"OvertimeWorkMilliseconds",a));return a},get_plannedWork:function(){a:;this.checkUninitializedProperty("PlannedWork");return this.get_objectData().get_properties()["PlannedWork"]},set_plannedWork:function(a){a:;this.get_objectData().get_properties()["PlannedWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"PlannedWork",a));return a},get_plannedWorkMilliseconds:function(){a:;this.checkUninitializedProperty("PlannedWorkMilliseconds");return this.get_objectData().get_properties()["PlannedWorkMilliseconds"]},set_plannedWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["PlannedWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"PlannedWorkMilliseconds",a));return a},get_start:function(){a:;this.checkUninitializedProperty("Start");return this.get_objectData().get_properties()["Start"]},set_start:function(a){a:;this.get_objectData().get_properties()["Start"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Start",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ActualWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualWork"]=a;delete b.ActualWork}a=b.ActualWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualWorkMilliseconds"]=a;delete b.ActualWorkMilliseconds}a=b.Comment;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Comment"]=a;delete b.Comment}a=b.End;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["End"]=a;delete b.End}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.NonBillableOvertimeWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["NonBillableOvertimeWork"]=a;delete b.NonBillableOvertimeWork}a=b.NonBillableOvertimeWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["NonBillableOvertimeWorkMilliseconds"]=a;delete b.NonBillableOvertimeWorkMilliseconds}a=b.NonBillableWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["NonBillableWork"]=a;delete b.NonBillableWork}a=b.NonBillableWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["NonBillableWorkMilliseconds"]=a;delete b.NonBillableWorkMilliseconds}a=b.OvertimeWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OvertimeWork"]=a;delete b.OvertimeWork}a=b.OvertimeWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OvertimeWorkMilliseconds"]=a;delete b.OvertimeWorkMilliseconds}a=b.PlannedWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PlannedWork"]=a;delete b.PlannedWork}a=b.PlannedWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PlannedWorkMilliseconds"]=a;delete b.PlannedWorkMilliseconds}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Start"]=a;delete b.Start}},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b);this.removeFromParentCollection()}};PS.TimeSheetWorkPropertyNames=function(){};PS.TimeSheetWorkCollection=function(b,a){a:;PS.TimeSheetWorkCollection.initializeBase(this,[b,a])};PS.TimeSheetWorkCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.TimeSheetWork},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.TimeSheetWork(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByStartDate:function(c){a:;var a=this.get_context(),b;b=new PS.TimeSheetWork(a,new SP.ObjectPathMethod(a,this.get_path(),"GetByStartDate",[c]));return b},add:function(d){a:;var b=this.get_context(),a;a=new PS.TimeSheetWork(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a},remove:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"Remove",[d]);b.addQuery(c);a=new SP.BooleanResult;b.addQueryIdAndResultObject(c.get_id(),a);this.removeChild(d);return a}};PS.TimeSheetWorkCreationInformation=function(){a:;PS.TimeSheetWorkCreationInformation.initializeBase(this)};PS.TimeSheetWorkCreationInformation.prototype={$V_1:null,$7_1:null,$D_1:null,$1E_1:null,$1F_1:null,$1J_1:null,$1M_1:null,$3_1:null,get_actualWork:function(){a:;return this.$V_1},set_actualWork:function(a){a:;this.$V_1=a;return a},get_comment:function(){a:;return this.$7_1},set_comment:function(a){a:;this.$7_1=a;return a},get_end:function(){a:;return this.$D_1},set_end:function(a){a:;this.$D_1=a;return a},get_nonBillableOvertimeWork:function(){a:;return this.$1E_1},set_nonBillableOvertimeWork:function(a){a:;this.$1E_1=a;return a},get_nonBillableWork:function(){a:;return this.$1F_1},set_nonBillableWork:function(a){a:;this.$1F_1=a;return a},get_overtimeWork:function(){a:;return this.$1J_1},set_overtimeWork:function(a){a:;this.$1J_1=a;return a},get_plannedWork:function(){a:;return this.$1M_1},set_plannedWork:function(a){a:;this.$1M_1=a;return a},get_start:function(){a:;return this.$3_1},set_start:function(a){a:;this.$3_1=a;return a},get_typeId:function(){a:;return "{af30dddc-cd0d-4c2f-a6cd-9b725e6d70d2}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["ActualWork","Comment","End","NonBillableOvertimeWork","NonBillableWork","OvertimeWork","PlannedWork","Start"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ActualWork;if(!SP.ScriptUtility.isUndefined(a)){this.$V_1=a;delete b.ActualWork}a=b.Comment;if(!SP.ScriptUtility.isUndefined(a)){this.$7_1=a;delete b.Comment}a=b.End;if(!SP.ScriptUtility.isUndefined(a)){this.$D_1=a;delete b.End}a=b.NonBillableOvertimeWork;if(!SP.ScriptUtility.isUndefined(a)){this.$1E_1=a;delete b.NonBillableOvertimeWork}a=b.NonBillableWork;if(!SP.ScriptUtility.isUndefined(a)){this.$1F_1=a;delete b.NonBillableWork}a=b.OvertimeWork;if(!SP.ScriptUtility.isUndefined(a)){this.$1J_1=a;delete b.OvertimeWork}a=b.PlannedWork;if(!SP.ScriptUtility.isUndefined(a)){this.$1M_1=a;delete b.PlannedWork}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.$3_1=a;delete b.Start}}};PS.WorkflowActivities=function(b,a){a:;PS.WorkflowActivities.initializeBase(this,[b,a])};PS.WorkflowActivities.prototype={createProjectFromListItem:function(g,e,d,f){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"CreateProjectFromListItem",[g,e,d,f]);b.addQuery(c);a=new SP.GuidResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},updateIdeaListItemStatus:function(a,b){a:;var c=this.get_context(),d=new SP.ClientActionInvokeMethod(this,"UpdateIdeaListItemStatus",[a,b]);c.addQuery(d)},readCurrencyProperty:function(e,d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"ReadCurrencyProperty",[e,d]);b.addQuery(c);a=new SP.DoubleResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},readDateTimeProperty:function(e,d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"ReadDateTimeProperty",[e,d]);b.addQuery(c);a=new SP.DateTimeResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},readIntegerProperty:function(e,d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"ReadIntegerProperty",[e,d]);b.addQuery(c);a=new SP.IntResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},readBooleanProperty:function(e,d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"ReadBooleanProperty",[e,d]);b.addQuery(c);a=new SP.BooleanResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},readNumberProperty:function(e,d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"ReadNumberProperty",[e,d]);b.addQuery(c);a=new SP.DoubleResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},readTextProperty:function(e,d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"ReadTextProperty",[e,d]);b.addQuery(c);a=new SP.StringResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},readGuidProperty:function(e,d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"ReadGuidProperty",[e,d]);b.addQuery(c);a=new SP.GuidResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},readProjectProperty:function(e,d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"ReadProjectProperty",[e,d]);b.addQuery(c);a=new SP.StringResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},updateCurrencyProperty:function(b,a,c){a:;var d=this.get_context(),e=new SP.ClientActionInvokeMethod(this,"UpdateCurrencyProperty",[b,a,c]);d.addQuery(e)},updateDateTimeProperty:function(b,a,c){a:;var d=this.get_context(),e=new SP.ClientActionInvokeMethod(this,"UpdateDateTimeProperty",[b,a,c]);d.addQuery(e)},updateIntegerProperty:function(b,a,c){a:;var d=this.get_context(),e=new SP.ClientActionInvokeMethod(this,"UpdateIntegerProperty",[b,a,c]);d.addQuery(e)},updateBooleanProperty:function(b,a,c){a:;var d=this.get_context(),e=new SP.ClientActionInvokeMethod(this,"UpdateBooleanProperty",[b,a,c]);d.addQuery(e)},updateNumberProperty:function(b,a,c){a:;var d=this.get_context(),e=new SP.ClientActionInvokeMethod(this,"UpdateNumberProperty",[b,a,c]);d.addQuery(e)},updateTextProperty:function(b,a,c){a:;var d=this.get_context(),e=new SP.ClientActionInvokeMethod(this,"UpdateTextProperty",[b,a,c]);d.addQuery(e)},updateGuidProperty:function(b,a,c){a:;var d=this.get_context(),e=new SP.ClientActionInvokeMethod(this,"UpdateGuidProperty",[b,a,c]);d.addQuery(e)},updateProjectStageStatus:function(c,d,a,b,e){a:;var f=this.get_context(),g=new SP.ClientActionInvokeMethod(this,"UpdateProjectStageStatus",[c,d,a,b,e]);f.addQuery(g)},enterProjectStage:function(a,b){a:;var c=this.get_context(),d=new SP.ClientActionInvokeMethod(this,"EnterProjectStage",[a,b]);c.addQuery(d)},readyToLeaveProjectStage:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"ReadyToLeaveProjectStage",[d]);b.addQuery(c);a=new SP.IntResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},leaveProjectStage:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"LeaveProjectStage",[a]);b.addQuery(c)}};PS.WorkflowDesigner=function(b,a){a:;PS.WorkflowDesigner.initializeBase(this,[b,a])};PS.WorkflowDesigner.prototype={get_fields:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Fields"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.WorkflowDesignerFieldCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Fields"));this.get_objectData().get_clientObjectProperties()["Fields"]=a}return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Fields;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Fields",this.get_fields(),a);this.get_fields().fromJson(a);delete b.Fields}}};PS.WorkflowDesignerObjectPropertyNames=function(){};PS.WorkflowDesignerField=function(b,a){a:;PS.WorkflowDesignerField.initializeBase(this,[b,a])};PS.WorkflowDesignerField.prototype={get_displayName:function(){a:;this.checkUninitializedProperty("DisplayName");return this.get_objectData().get_properties()["DisplayName"]},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_isLookupField:function(){a:;this.checkUninitializedProperty("IsLookupField");return this.get_objectData().get_properties()["IsLookupField"]},get_isReadOnly:function(){a:;this.checkUninitializedProperty("IsReadOnly");return this.get_objectData().get_properties()["IsReadOnly"]},get_lookupEntries:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["LookupEntries"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.LookupEntryCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"LookupEntries"));this.get_objectData().get_clientObjectProperties()["LookupEntries"]=a}return a},get_spFieldType:function(){a:;this.checkUninitializedProperty("SPFieldType");return this.get_objectData().get_properties()["SPFieldType"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.DisplayName;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DisplayName"]=a;delete b.DisplayName}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.IsLookupField;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsLookupField"]=a;delete b.IsLookupField}a=b.IsReadOnly;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsReadOnly"]=a;delete b.IsReadOnly}a=b.LookupEntries;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("LookupEntries",this.get_lookupEntries(),a);this.get_lookupEntries().fromJson(a);delete b.LookupEntries}a=b.SPFieldType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["SPFieldType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.SPFieldType}}};PS.WorkflowDesignerFieldPropertyNames=function(){};PS.WorkflowDesignerFieldObjectPropertyNames=function(){};PS.WorkflowDesignerFieldCollection=function(b,a){a:;PS.WorkflowDesignerFieldCollection.initializeBase(this,[b,a])};PS.WorkflowDesignerFieldCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.WorkflowDesignerField},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.WorkflowDesignerField(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a}};PS.ProjectContext.registerClass("PS.ProjectContext",SP.ClientContext);PS.ProjectContext.QueueJobPoll.registerClass("PS.ProjectContext.QueueJobPoll");PS.Assignment.registerClass("PS.Assignment",SP.ClientObject);PS.AssignmentPropertyNames.registerClass("PS.AssignmentPropertyNames");PS.AssignmentObjectPropertyNames.registerClass("PS.AssignmentObjectPropertyNames");PS.AssignmentCreationInformation.registerClass("PS.AssignmentCreationInformation",SP.ClientValueObject);PS.CalendarException.registerClass("PS.CalendarException",SP.ClientObject);PS.BaseCalendarException.registerClass("PS.BaseCalendarException",PS.CalendarException);PS.Calendar.registerClass("PS.Calendar",SP.ClientObject);PS.CalendarPropertyNames.registerClass("PS.CalendarPropertyNames");PS.CalendarObjectPropertyNames.registerClass("PS.CalendarObjectPropertyNames");PS.CalendarCollection.registerClass("PS.CalendarCollection",SP.ClientObjectCollection);PS.CalendarCreationInformation.registerClass("PS.CalendarCreationInformation",SP.ClientValueObject);PS.CalendarExceptionPropertyNames.registerClass("PS.CalendarExceptionPropertyNames");PS.CalendarExceptionObjectPropertyNames.registerClass("PS.CalendarExceptionObjectPropertyNames");PS.CalendarExceptionCollection.registerClass("PS.CalendarExceptionCollection",SP.ClientObjectCollection);PS.CalendarExceptionCreationInformation.registerClass("PS.CalendarExceptionCreationInformation",SP.ClientValueObject);PS.CostRateCreationInformation.registerClass("PS.CostRateCreationInformation",SP.ClientValueObject);PS.CustomField.registerClass("PS.CustomField",SP.ClientObject);PS.CustomFieldPropertyNames.registerClass("PS.CustomFieldPropertyNames");PS.CustomFieldObjectPropertyNames.registerClass("PS.CustomFieldObjectPropertyNames");PS.CustomFieldCollection.registerClass("PS.CustomFieldCollection",SP.ClientObjectCollection);PS.CustomFieldCreationInformation.registerClass("PS.CustomFieldCreationInformation",SP.ClientValueObject);PS.DeletedPublishedAssignment.registerClass("PS.DeletedPublishedAssignment",SP.ClientObject);PS.DeletedPublishedAssignmentPropertyNames.registerClass("PS.DeletedPublishedAssignmentPropertyNames");PS.DeletedPublishedAssignmentCollection.registerClass("PS.DeletedPublishedAssignmentCollection",SP.ClientObjectCollection);PS.DraftAssignment.registerClass("PS.DraftAssignment",PS.Assignment);PS.DraftAssignmentPropertyNames.registerClass("PS.DraftAssignmentPropertyNames");PS.DraftAssignmentObjectPropertyNames.registerClass("PS.DraftAssignmentObjectPropertyNames");PS.DraftAssignmentCollection.registerClass("PS.DraftAssignmentCollection",SP.ClientObjectCollection);PS.Project.registerClass("PS.Project",SP.ClientObject);PS.DraftProject.registerClass("PS.DraftProject",PS.Project);PS.DraftProjectPropertyNames.registerClass("PS.DraftProjectPropertyNames");PS.DraftProjectObjectPropertyNames.registerClass("PS.DraftProjectObjectPropertyNames");PS.ProjectResource.registerClass("PS.ProjectResource",SP.ClientObject);PS.DraftProjectResource.registerClass("PS.DraftProjectResource",PS.ProjectResource);PS.DraftProjectResourcePropertyNames.registerClass("PS.DraftProjectResourcePropertyNames");PS.DraftProjectResourceObjectPropertyNames.registerClass("PS.DraftProjectResourceObjectPropertyNames");PS.DraftProjectResourceCollection.registerClass("PS.DraftProjectResourceCollection",SP.ClientObjectCollection);PS.Task.registerClass("PS.Task",SP.ClientObject);PS.DraftTask.registerClass("PS.DraftTask",PS.Task);PS.DraftTaskPropertyNames.registerClass("PS.DraftTaskPropertyNames");PS.DraftTaskObjectPropertyNames.registerClass("PS.DraftTaskObjectPropertyNames");PS.DraftTaskCollection.registerClass("PS.DraftTaskCollection",SP.ClientObjectCollection);PS.TaskLink.registerClass("PS.TaskLink",SP.ClientObject);PS.DraftTaskLink.registerClass("PS.DraftTaskLink",PS.TaskLink);PS.DraftTaskLinkPropertyNames.registerClass("PS.DraftTaskLinkPropertyNames");PS.DraftTaskLinkObjectPropertyNames.registerClass("PS.DraftTaskLinkObjectPropertyNames");PS.DraftTaskLinkCollection.registerClass("PS.DraftTaskLinkCollection",SP.ClientObjectCollection);PS.Engagement.registerClass("PS.Engagement",SP.ClientObject);PS.EngagementPropertyNames.registerClass("PS.EngagementPropertyNames");PS.EngagementObjectPropertyNames.registerClass("PS.EngagementObjectPropertyNames");PS.EngagementComment.registerClass("PS.EngagementComment",SP.ClientObject);PS.EngagementCommentPropertyNames.registerClass("PS.EngagementCommentPropertyNames");PS.EngagementCommentObjectPropertyNames.registerClass("PS.EngagementCommentObjectPropertyNames");PS.EngagementCommentCollection.registerClass("PS.EngagementCommentCollection",SP.ClientObjectCollection);PS.EngagementCreationInformation.registerClass("PS.EngagementCreationInformation",SP.ClientValueObject);PS.EngagementSaveConflictException.registerClass("PS.EngagementSaveConflictException",SP.ClientValueObject);PS.EngagementTimephasedPeriod.registerClass("PS.EngagementTimephasedPeriod",SP.ClientObject);PS.EngagementTimephasedPeriodPropertyNames.registerClass("PS.EngagementTimephasedPeriodPropertyNames");PS.EngagementTimephasedPeriodCreationInformation.registerClass("PS.EngagementTimephasedPeriodCreationInformation",SP.ClientValueObject);PS.EnterpriseProjectType.registerClass("PS.EnterpriseProjectType",SP.ClientObject);PS.EnterpriseProjectTypePropertyNames.registerClass("PS.EnterpriseProjectTypePropertyNames");PS.EnterpriseProjectTypeObjectPropertyNames.registerClass("PS.EnterpriseProjectTypeObjectPropertyNames");PS.EnterpriseProjectTypeCollection.registerClass("PS.EnterpriseProjectTypeCollection",SP.ClientObjectCollection);PS.EnterpriseProjectTypeCreationInformation.registerClass("PS.EnterpriseProjectTypeCreationInformation",SP.ClientValueObject);PS.EnterpriseResource.registerClass("PS.EnterpriseResource",SP.ClientObject);PS.EnterpriseResourcePropertyNames.registerClass("PS.EnterpriseResourcePropertyNames");PS.EnterpriseResourceObjectPropertyNames.registerClass("PS.EnterpriseResourceObjectPropertyNames");PS.EnterpriseResourceCollection.registerClass("PS.EnterpriseResourceCollection",SP.ClientObjectCollection);PS.EnterpriseResourceCostRate.registerClass("PS.EnterpriseResourceCostRate",SP.ClientObject);PS.EnterpriseResourceCostRatePropertyNames.registerClass("PS.EnterpriseResourceCostRatePropertyNames");PS.EnterpriseResourceCostRateCollection.registerClass("PS.EnterpriseResourceCostRateCollection",SP.ClientObjectCollection);PS.EnterpriseResourceCostRateTable.registerClass("PS.EnterpriseResourceCostRateTable",SP.ClientObject);PS.EnterpriseResourceCostRateTablePropertyNames.registerClass("PS.EnterpriseResourceCostRateTablePropertyNames");PS.EnterpriseResourceCostRateTableObjectPropertyNames.registerClass("PS.EnterpriseResourceCostRateTableObjectPropertyNames");PS.EnterpriseResourceCostRateTableCollection.registerClass("PS.EnterpriseResourceCostRateTableCollection",SP.ClientObjectCollection);PS.EnterpriseResourceCreationInformation.registerClass("PS.EnterpriseResourceCreationInformation",SP.ClientValueObject);PS.EntityType.registerClass("PS.EntityType",SP.ClientObject);PS.EntityTypePropertyNames.registerClass("PS.EntityTypePropertyNames");PS.EntityTypes.registerClass("PS.EntityTypes",SP.ClientObject);PS.EntityTypesObjectPropertyNames.registerClass("PS.EntityTypesObjectPropertyNames");PS.Event.registerClass("PS.Event",SP.ClientObject);PS.EventPropertyNames.registerClass("PS.EventPropertyNames");PS.EventCollection.registerClass("PS.EventCollection",SP.ClientObjectCollection);PS.EventHandler.registerClass("PS.EventHandler",SP.ClientObject);PS.EventHandlerPropertyNames.registerClass("PS.EventHandlerPropertyNames");PS.EventHandlerObjectPropertyNames.registerClass("PS.EventHandlerObjectPropertyNames");PS.EventHandlerCollection.registerClass("PS.EventHandlerCollection",SP.ClientObjectCollection);PS.EventHandlerCreationInformation.registerClass("PS.EventHandlerCreationInformation",SP.ClientValueObject);PS.LookupEntry.registerClass("PS.LookupEntry",SP.ClientObject);PS.LookupCost.registerClass("PS.LookupCost",PS.LookupEntry);PS.LookupCostPropertyNames.registerClass("PS.LookupCostPropertyNames");PS.LookupDate.registerClass("PS.LookupDate",PS.LookupEntry);PS.LookupDatePropertyNames.registerClass("PS.LookupDatePropertyNames");PS.LookupDuration.registerClass("PS.LookupDuration",PS.LookupEntry);PS.LookupDurationPropertyNames.registerClass("PS.LookupDurationPropertyNames");PS.LookupEntryPropertyNames.registerClass("PS.LookupEntryPropertyNames");PS.LookupEntryCollection.registerClass("PS.LookupEntryCollection",SP.ClientObjectCollection);PS.LookupEntryCreationInformation.registerClass("PS.LookupEntryCreationInformation",SP.ClientValueObject);PS.LookupEntryValue.registerClass("PS.LookupEntryValue",SP.ClientValueObject);PS.LookupMask.registerClass("PS.LookupMask",SP.ClientValueObject);PS.LookupNumber.registerClass("PS.LookupNumber",PS.LookupEntry);PS.LookupNumberPropertyNames.registerClass("PS.LookupNumberPropertyNames");PS.LookupTable.registerClass("PS.LookupTable",SP.ClientObject);PS.LookupTablePropertyNames.registerClass("PS.LookupTablePropertyNames");PS.LookupTableObjectPropertyNames.registerClass("PS.LookupTableObjectPropertyNames");PS.LookupTableCollection.registerClass("PS.LookupTableCollection",SP.ClientObjectCollection);PS.LookupTableCreationInformation.registerClass("PS.LookupTableCreationInformation",SP.ClientValueObject);PS.LookupTables.registerClass("PS.LookupTables",SP.ClientObject);PS.LookupText.registerClass("PS.LookupText",PS.LookupEntry);PS.LookupTextPropertyNames.registerClass("PS.LookupTextPropertyNames");PS.LookupTextObjectPropertyNames.registerClass("PS.LookupTextObjectPropertyNames");PS.PageSizes.registerClass("PS.PageSizes",SP.ClientObject);PS.PageSizesPropertyNames.registerClass("PS.PageSizesPropertyNames");PS.Phase.registerClass("PS.Phase",SP.ClientObject);PS.PhasePropertyNames.registerClass("PS.PhasePropertyNames");PS.PhaseObjectPropertyNames.registerClass("PS.PhaseObjectPropertyNames");PS.PhaseCollection.registerClass("PS.PhaseCollection",SP.ClientObjectCollection);PS.PhaseCreationInformation.registerClass("PS.PhaseCreationInformation",SP.ClientValueObject);PS.PlanAssignment.registerClass("PS.PlanAssignment",SP.ClientObject);PS.PlanAssignmentPropertyNames.registerClass("PS.PlanAssignmentPropertyNames");PS.PlanAssignmentObjectPropertyNames.registerClass("PS.PlanAssignmentObjectPropertyNames");PS.PlanAssignmentCollection.registerClass("PS.PlanAssignmentCollection",SP.ClientObjectCollection);PS.PlanAssignmentCreationInformation.registerClass("PS.PlanAssignmentCreationInformation",SP.ClientValueObject);PS.PlanAssignmentInterval.registerClass("PS.PlanAssignmentInterval",SP.ClientObject);PS.PlanAssignmentIntervalPropertyNames.registerClass("PS.PlanAssignmentIntervalPropertyNames");PS.PlanAssignmentIntervalCollection.registerClass("PS.PlanAssignmentIntervalCollection",SP.ClientObjectCollection);PS.PlanAssignmentIntervalCreationInformation.registerClass("PS.PlanAssignmentIntervalCreationInformation",SP.ClientValueObject);PS.ProjectPropertyNames.registerClass("PS.ProjectPropertyNames");PS.ProjectObjectPropertyNames.registerClass("PS.ProjectObjectPropertyNames");PS.ProjectCollection.registerClass("PS.ProjectCollection",SP.ClientObjectCollection);PS.ProjectCreationInformation.registerClass("PS.ProjectCreationInformation",SP.ClientValueObject);PS.ProjectDetailPage.registerClass("PS.ProjectDetailPage",SP.ClientObject);PS.ProjectDetailPagePropertyNames.registerClass("PS.ProjectDetailPagePropertyNames");PS.ProjectDetailPageObjectPropertyNames.registerClass("PS.ProjectDetailPageObjectPropertyNames");PS.ProjectDetailPageCollection.registerClass("PS.ProjectDetailPageCollection",SP.ClientObjectCollection);PS.ProjectDetailPageCollectionObjectPropertyNames.registerClass("PS.ProjectDetailPageCollectionObjectPropertyNames");PS.ProjectDetailPageCreationInformation.registerClass("PS.ProjectDetailPageCreationInformation",SP.ClientValueObject);PS.ProjectEngagement.registerClass("PS.ProjectEngagement",PS.Engagement);PS.ProjectEngagementPropertyNames.registerClass("PS.ProjectEngagementPropertyNames");PS.ProjectEngagementCollection.registerClass("PS.ProjectEngagementCollection",SP.ClientObjectCollection);PS.ProjectEngagementComment.registerClass("PS.ProjectEngagementComment",PS.EngagementComment);PS.ProjectEngagementCreationInformation.registerClass("PS.ProjectEngagementCreationInformation",PS.EngagementCreationInformation);PS.ProjectEngagementTimephasedCollection.registerClass("PS.ProjectEngagementTimephasedCollection",SP.ClientObjectCollection);PS.ProjectEngagementTimephasedPeriod.registerClass("PS.ProjectEngagementTimephasedPeriod",PS.EngagementTimephasedPeriod);PS.ProjectResourcePropertyNames.registerClass("PS.ProjectResourcePropertyNames");PS.ProjectResourceObjectPropertyNames.registerClass("PS.ProjectResourceObjectPropertyNames");PS.ProjectResourceCreationInformation.registerClass("PS.ProjectResourceCreationInformation",SP.ClientValueObject);PS.ProjectServer.registerClass("PS.ProjectServer",SP.ClientObject);PS.ProjectServerPropertyNames.registerClass("PS.ProjectServerPropertyNames");PS.ProjectServerObjectPropertyNames.registerClass("PS.ProjectServerObjectPropertyNames");PS.ProjectServerData.registerClass("PS.ProjectServerData",SP.ClientObject);PS.ProjectSummaryTask.registerClass("PS.ProjectSummaryTask",PS.Task);PS.ProjectSummaryTaskPropertyNames.registerClass("PS.ProjectSummaryTaskPropertyNames");PS.PublishedAssignment.registerClass("PS.PublishedAssignment",PS.Assignment);PS.PublishedAssignmentPropertyNames.registerClass("PS.PublishedAssignmentPropertyNames");PS.PublishedAssignmentObjectPropertyNames.registerClass("PS.PublishedAssignmentObjectPropertyNames");PS.PublishedAssignmentCollection.registerClass("PS.PublishedAssignmentCollection",SP.ClientObjectCollection);PS.PublishedProject.registerClass("PS.PublishedProject",PS.Project);PS.PublishedProjectPropertyNames.registerClass("PS.PublishedProjectPropertyNames");PS.PublishedProjectObjectPropertyNames.registerClass("PS.PublishedProjectObjectPropertyNames");PS.PublishedProjectResource.registerClass("PS.PublishedProjectResource",PS.ProjectResource);PS.PublishedProjectResourcePropertyNames.registerClass("PS.PublishedProjectResourcePropertyNames");PS.PublishedProjectResourceObjectPropertyNames.registerClass("PS.PublishedProjectResourceObjectPropertyNames");PS.PublishedProjectResourceCollection.registerClass("PS.PublishedProjectResourceCollection",SP.ClientObjectCollection);PS.PublishedTask.registerClass("PS.PublishedTask",PS.Task);PS.PublishedTaskPropertyNames.registerClass("PS.PublishedTaskPropertyNames");PS.PublishedTaskObjectPropertyNames.registerClass("PS.PublishedTaskObjectPropertyNames");PS.PublishedTaskCollection.registerClass("PS.PublishedTaskCollection",SP.ClientObjectCollection);PS.PublishedTaskLink.registerClass("PS.PublishedTaskLink",PS.TaskLink);PS.PublishedTaskLinkPropertyNames.registerClass("PS.PublishedTaskLinkPropertyNames");PS.PublishedTaskLinkObjectPropertyNames.registerClass("PS.PublishedTaskLinkObjectPropertyNames");PS.PublishedTaskLinkCollection.registerClass("PS.PublishedTaskLinkCollection",SP.ClientObjectCollection);PS.QueueJob.registerClass("PS.QueueJob",SP.ClientObject);PS.QueueJobPropertyNames.registerClass("PS.QueueJobPropertyNames");PS.QueueJobObjectPropertyNames.registerClass("PS.QueueJobObjectPropertyNames");PS.QueueJobCollection.registerClass("PS.QueueJobCollection",SP.ClientObjectCollection);PS.ResourceCalendarException.registerClass("PS.ResourceCalendarException",PS.CalendarException);PS.ResourceEngagement.registerClass("PS.ResourceEngagement",PS.Engagement);PS.ResourceEngagementPropertyNames.registerClass("PS.ResourceEngagementPropertyNames");PS.ResourceEngagementCollection.registerClass("PS.ResourceEngagementCollection",SP.ClientObjectCollection);PS.ResourceEngagementComment.registerClass("PS.ResourceEngagementComment",PS.EngagementComment);PS.ResourceEngagementTimephasedCollection.registerClass("PS.ResourceEngagementTimephasedCollection",SP.ClientObjectCollection);PS.ResourceEngagementTimephasedPeriod.registerClass("PS.ResourceEngagementTimephasedPeriod",PS.EngagementTimephasedPeriod);PS.ResourcePlan.registerClass("PS.ResourcePlan",SP.ClientObject);PS.ResourcePlanPropertyNames.registerClass("PS.ResourcePlanPropertyNames");PS.ResourcePlanObjectPropertyNames.registerClass("PS.ResourcePlanObjectPropertyNames");PS.ServiceStatus.registerClass("PS.ServiceStatus",SP.ClientObject);PS.ServiceStatusPropertyNames.registerClass("PS.ServiceStatusPropertyNames");PS.Stage.registerClass("PS.Stage",SP.ClientObject);PS.StagePropertyNames.registerClass("PS.StagePropertyNames");PS.StageObjectPropertyNames.registerClass("PS.StageObjectPropertyNames");PS.StageCollection.registerClass("PS.StageCollection",SP.ClientObjectCollection);PS.StageCreationInformation.registerClass("PS.StageCreationInformation",SP.ClientValueObject);PS.StageCustomField.registerClass("PS.StageCustomField",SP.ClientObject);PS.StageCustomFieldPropertyNames.registerClass("PS.StageCustomFieldPropertyNames");PS.StageCustomFieldObjectPropertyNames.registerClass("PS.StageCustomFieldObjectPropertyNames");PS.StageCustomFieldCollection.registerClass("PS.StageCustomFieldCollection",SP.ClientObjectCollection);PS.StageCustomFieldCreationInformation.registerClass("PS.StageCustomFieldCreationInformation",SP.ClientValueObject);PS.StageDetailPage.registerClass("PS.StageDetailPage",SP.ClientObject);PS.StageDetailPagePropertyNames.registerClass("PS.StageDetailPagePropertyNames");PS.StageDetailPageObjectPropertyNames.registerClass("PS.StageDetailPageObjectPropertyNames");PS.StageDetailPageCollection.registerClass("PS.StageDetailPageCollection",SP.ClientObjectCollection);PS.StageDetailPageCreationInformation.registerClass("PS.StageDetailPageCreationInformation",SP.ClientValueObject);PS.StatusAssignment.registerClass("PS.StatusAssignment",SP.ClientObject);PS.StatusAssignmentPropertyNames.registerClass("PS.StatusAssignmentPropertyNames");PS.StatusAssignmentObjectPropertyNames.registerClass("PS.StatusAssignmentObjectPropertyNames");PS.StatusAssignmentCollection.registerClass("PS.StatusAssignmentCollection",SP.ClientObjectCollection);PS.StatusAssignmentCreationInformation.registerClass("PS.StatusAssignmentCreationInformation",SP.ClientValueObject);PS.StatusAssignmentHistoryLine.registerClass("PS.StatusAssignmentHistoryLine",SP.ClientObject);PS.StatusAssignmentHistoryLinePropertyNames.registerClass("PS.StatusAssignmentHistoryLinePropertyNames");PS.StatusAssignmentHistoryLineObjectPropertyNames.registerClass("PS.StatusAssignmentHistoryLineObjectPropertyNames");PS.StatusAssignmentHistoryLineCollection.registerClass("PS.StatusAssignmentHistoryLineCollection",SP.ClientObjectCollection);PS.StatusTask.registerClass("PS.StatusTask",SP.ClientObject);PS.StatusTaskPropertyNames.registerClass("PS.StatusTaskPropertyNames");PS.StatusTaskObjectPropertyNames.registerClass("PS.StatusTaskObjectPropertyNames");PS.StatusTaskCreationInformation.registerClass("PS.StatusTaskCreationInformation",SP.ClientValueObject);PS.TaskPropertyNames.registerClass("PS.TaskPropertyNames");PS.TaskObjectPropertyNames.registerClass("PS.TaskObjectPropertyNames");PS.TaskCreationInformation.registerClass("PS.TaskCreationInformation",SP.ClientValueObject);PS.TaskLinkPropertyNames.registerClass("PS.TaskLinkPropertyNames");PS.TaskLinkCreationInformation.registerClass("PS.TaskLinkCreationInformation",SP.ClientValueObject);PS.TimePhase.registerClass("PS.TimePhase",SP.ClientObject);PS.TimePhasePropertyNames.registerClass("PS.TimePhasePropertyNames");PS.TimePhaseObjectPropertyNames.registerClass("PS.TimePhaseObjectPropertyNames");PS.TimeSheet.registerClass("PS.TimeSheet",SP.ClientObject);PS.TimeSheetPropertyNames.registerClass("PS.TimeSheetPropertyNames");PS.TimeSheetObjectPropertyNames.registerClass("PS.TimeSheetObjectPropertyNames");PS.TimeSheetLine.registerClass("PS.TimeSheetLine",SP.ClientObject);PS.TimeSheetLinePropertyNames.registerClass("PS.TimeSheetLinePropertyNames");PS.TimeSheetLineObjectPropertyNames.registerClass("PS.TimeSheetLineObjectPropertyNames");PS.TimeSheetLineCollection.registerClass("PS.TimeSheetLineCollection",SP.ClientObjectCollection);PS.TimeSheetLineCreationInformation.registerClass("PS.TimeSheetLineCreationInformation",SP.ClientValueObject);PS.TimeSheetPeriod.registerClass("PS.TimeSheetPeriod",SP.ClientObject);PS.TimeSheetPeriodPropertyNames.registerClass("PS.TimeSheetPeriodPropertyNames");PS.TimeSheetPeriodObjectPropertyNames.registerClass("PS.TimeSheetPeriodObjectPropertyNames");PS.TimeSheetPeriodCollection.registerClass("PS.TimeSheetPeriodCollection",SP.ClientObjectCollection);PS.TimeSheetWork.registerClass("PS.TimeSheetWork",SP.ClientObject);PS.TimeSheetWorkPropertyNames.registerClass("PS.TimeSheetWorkPropertyNames");PS.TimeSheetWorkCollection.registerClass("PS.TimeSheetWorkCollection",SP.ClientObjectCollection);PS.TimeSheetWorkCreationInformation.registerClass("PS.TimeSheetWorkCreationInformation",SP.ClientValueObject);PS.WorkflowActivities.registerClass("PS.WorkflowActivities",SP.ClientObject);PS.WorkflowDesigner.registerClass("PS.WorkflowDesigner",SP.ClientObject);PS.WorkflowDesignerObjectPropertyNames.registerClass("PS.WorkflowDesignerObjectPropertyNames");PS.WorkflowDesignerField.registerClass("PS.WorkflowDesignerField",SP.ClientObject);PS.WorkflowDesignerFieldPropertyNames.registerClass("PS.WorkflowDesignerFieldPropertyNames");PS.WorkflowDesignerFieldObjectPropertyNames.registerClass("PS.WorkflowDesignerFieldObjectPropertyNames");PS.WorkflowDesignerFieldCollection.registerClass("PS.WorkflowDesignerFieldCollection",SP.ClientObjectCollection);PS.ProjectContext.$23=null;PS.AssignmentPropertyNames.actualCostWorkPerformed="ActualCostWorkPerformed";PS.AssignmentPropertyNames.actualOvertimeCost="ActualOvertimeCost";PS.AssignmentPropertyNames.baselineCost="BaselineCost";PS.AssignmentPropertyNames.baselineCostPerUse="BaselineCostPerUse";PS.AssignmentPropertyNames.baselineFinish="BaselineFinish";PS.AssignmentPropertyNames.baselineStart="BaselineStart";PS.AssignmentPropertyNames.baselineWork="BaselineWork";PS.AssignmentPropertyNames.baselineWorkMilliseconds="BaselineWorkMilliseconds";PS.AssignmentPropertyNames.budgetedCostWorkPerformed="BudgetedCostWorkPerformed";PS.AssignmentPropertyNames.budgetedCostWorkScheduled="BudgetedCostWorkScheduled";PS.AssignmentPropertyNames.costVariance="CostVariance";PS.AssignmentPropertyNames.costVarianceAtCompletion="CostVarianceAtCompletion";PS.AssignmentPropertyNames.created="Created";PS.AssignmentPropertyNames.currentCostVariance="CurrentCostVariance";PS.AssignmentPropertyNames.finish="Finish";PS.AssignmentPropertyNames.finishVariance="FinishVariance";PS.AssignmentPropertyNames.finishVarianceMilliseconds="FinishVarianceMilliseconds";PS.AssignmentPropertyNames.id="Id";PS.AssignmentPropertyNames.isConfirmed="IsConfirmed";PS.AssignmentPropertyNames.isOverAllocated="IsOverAllocated";PS.AssignmentPropertyNames.isPublished="IsPublished";PS.AssignmentPropertyNames.isResponsePending="IsResponsePending";PS.AssignmentPropertyNames.isUpdateNeeded="IsUpdateNeeded";PS.AssignmentPropertyNames.levelingDelay="LevelingDelay";PS.AssignmentPropertyNames.levelingDelayMilliseconds="LevelingDelayMilliseconds";PS.AssignmentPropertyNames.modified="Modified";PS.AssignmentPropertyNames.notes="Notes";PS.AssignmentPropertyNames.overtimeCost="OvertimeCost";PS.AssignmentPropertyNames.remainingCost="RemainingCost";PS.AssignmentPropertyNames.remainingOvertimeCost="RemainingOvertimeCost";PS.AssignmentPropertyNames.resume="Resume";PS.AssignmentPropertyNames.scheduleCostVariance="ScheduleCostVariance";PS.AssignmentPropertyNames.start="Start";PS.AssignmentPropertyNames.startVariance="StartVariance";PS.AssignmentPropertyNames.startVarianceMilliseconds="StartVarianceMilliseconds";PS.AssignmentPropertyNames.stop="Stop";PS.AssignmentPropertyNames.workContourType="WorkContourType";PS.AssignmentPropertyNames.workVariance="WorkVariance";PS.AssignmentPropertyNames.workVarianceMilliseconds="WorkVarianceMilliseconds";PS.AssignmentObjectPropertyNames.customFields="CustomFields";PS.CalendarPropertyNames.created="Created";PS.CalendarPropertyNames.id="Id";PS.CalendarPropertyNames.isStandardCalendar="IsStandardCalendar";PS.CalendarPropertyNames.modified="Modified";PS.CalendarPropertyNames.name="Name";PS.CalendarObjectPropertyNames.baseCalendarExceptions="BaseCalendarExceptions";PS.CalendarExceptionPropertyNames.finish="Finish";PS.CalendarExceptionPropertyNames.id="Id";PS.CalendarExceptionPropertyNames.name="Name";PS.CalendarExceptionPropertyNames.recurrenceDays="RecurrenceDays";PS.CalendarExceptionPropertyNames.recurrenceFrequency="RecurrenceFrequency";PS.CalendarExceptionPropertyNames.recurrenceMonth="RecurrenceMonth";PS.CalendarExceptionPropertyNames.recurrenceMonthDay="RecurrenceMonthDay";PS.CalendarExceptionPropertyNames.recurrenceType="RecurrenceType";PS.CalendarExceptionPropertyNames.recurrenceWeek="RecurrenceWeek";PS.CalendarExceptionPropertyNames.shift1Finish="Shift1Finish";PS.CalendarExceptionPropertyNames.shift1Start="Shift1Start";PS.CalendarExceptionPropertyNames.shift2Finish="Shift2Finish";PS.CalendarExceptionPropertyNames.shift2Start="Shift2Start";PS.CalendarExceptionPropertyNames.shift3Finish="Shift3Finish";PS.CalendarExceptionPropertyNames.shift3Start="Shift3Start";PS.CalendarExceptionPropertyNames.shift4Finish="Shift4Finish";PS.CalendarExceptionPropertyNames.shift4Start="Shift4Start";PS.CalendarExceptionPropertyNames.shift5Finish="Shift5Finish";PS.CalendarExceptionPropertyNames.shift5Start="Shift5Start";PS.CalendarExceptionPropertyNames.start="Start";PS.CalendarExceptionObjectPropertyNames.calendar="Calendar";PS.CustomFieldPropertyNames.appAlternateId="AppAlternateId";PS.CustomFieldPropertyNames.departmentId="DepartmentId";PS.CustomFieldPropertyNames.description="Description";PS.CustomFieldPropertyNames.fieldType="FieldType";PS.CustomFieldPropertyNames.formula="Formula";PS.CustomFieldPropertyNames.graphicalIndicatorNonSummary="GraphicalIndicatorNonSummary";PS.CustomFieldPropertyNames.graphicalIndicatorProjectSummary="GraphicalIndicatorProjectSummary";PS.CustomFieldPropertyNames.graphicalIndicatorSummary="GraphicalIndicatorSummary";PS.CustomFieldPropertyNames.id="Id";PS.CustomFieldPropertyNames.internalName="InternalName";PS.CustomFieldPropertyNames.isEditableInVisibility="IsEditableInVisibility";PS.CustomFieldPropertyNames.isLeafOnly="IsLeafOnly";PS.CustomFieldPropertyNames.isMultilineText="IsMultilineText";PS.CustomFieldPropertyNames.isRequired="IsRequired";PS.CustomFieldPropertyNames.isWorkflowControlled="IsWorkflowControlled";PS.CustomFieldPropertyNames.lookupAllowMultiSelect="LookupAllowMultiSelect";PS.CustomFieldPropertyNames.lookupDefaultValue="LookupDefaultValue";PS.CustomFieldPropertyNames.name="Name";PS.CustomFieldPropertyNames.rollsDownToAssignments="RollsDownToAssignments";PS.CustomFieldPropertyNames.rollupType="RollupType";PS.CustomFieldPropertyNames.showToolTip="ShowToolTip";PS.CustomFieldPropertyNames.useFieldForMatching="UseFieldForMatching";PS.CustomFieldObjectPropertyNames.entityType="EntityType";PS.CustomFieldObjectPropertyNames.lookupEntries="LookupEntries";PS.CustomFieldObjectPropertyNames.lookupTable="LookupTable";PS.DeletedPublishedAssignmentPropertyNames.deletedDate="DeletedDate";PS.DeletedPublishedAssignmentPropertyNames.id="Id";PS.DeletedPublishedAssignmentPropertyNames.projectId="ProjectId";PS.DraftAssignmentPropertyNames.actualCost="ActualCost";PS.DraftAssignmentPropertyNames.actualFinish="ActualFinish";PS.DraftAssignmentPropertyNames.actualOvertimeWork="ActualOvertimeWork";PS.DraftAssignmentPropertyNames.actualOvertimeWorkMilliseconds="ActualOvertimeWorkMilliseconds";PS.DraftAssignmentPropertyNames.actualStart="ActualStart";PS.DraftAssignmentPropertyNames.actualWork="ActualWork";PS.DraftAssignmentPropertyNames.actualWorkMilliseconds="ActualWorkMilliseconds";PS.DraftAssignmentPropertyNames.budgetedCost="BudgetedCost";PS.DraftAssignmentPropertyNames.budgetedWork="BudgetedWork";PS.DraftAssignmentPropertyNames.budgetedWorkMilliseconds="BudgetedWorkMilliseconds";PS.DraftAssignmentPropertyNames.cost="Cost";PS.DraftAssignmentPropertyNames.costRateTable="CostRateTable";PS.DraftAssignmentPropertyNames.defaultBookingType="DefaultBookingType";PS.DraftAssignmentPropertyNames.delay="Delay";PS.DraftAssignmentPropertyNames.delayMilliseconds="DelayMilliseconds";PS.DraftAssignmentPropertyNames.isLockedByManager="IsLockedByManager";PS.DraftAssignmentPropertyNames.isWorkResource="IsWorkResource";PS.DraftAssignmentPropertyNames.overtimeWork="OvertimeWork";PS.DraftAssignmentPropertyNames.overtimeWorkMilliseconds="OvertimeWorkMilliseconds";PS.DraftAssignmentPropertyNames.percentWorkComplete="PercentWorkComplete";PS.DraftAssignmentPropertyNames.regularWork="RegularWork";PS.DraftAssignmentPropertyNames.regularWorkMilliseconds="RegularWorkMilliseconds";PS.DraftAssignmentPropertyNames.remainingOvertimeWork="RemainingOvertimeWork";PS.DraftAssignmentPropertyNames.remainingOvertimeWorkMilliseconds="RemainingOvertimeWorkMilliseconds";PS.DraftAssignmentPropertyNames.remainingWork="RemainingWork";PS.DraftAssignmentPropertyNames.remainingWorkMilliseconds="RemainingWorkMilliseconds";PS.DraftAssignmentPropertyNames.resourceCapacity="ResourceCapacity";PS.DraftAssignmentPropertyNames.work="Work";PS.DraftAssignmentPropertyNames.workMilliseconds="WorkMilliseconds";PS.DraftAssignmentObjectPropertyNames.owner="Owner";PS.DraftAssignmentObjectPropertyNames.parent="Parent";PS.DraftAssignmentObjectPropertyNames.resource="Resource";PS.DraftAssignmentObjectPropertyNames.task="Task";PS.DraftProjectPropertyNames.currencyCode="CurrencyCode";PS.DraftProjectPropertyNames.currencyDigits="CurrencyDigits";PS.DraftProjectPropertyNames.currencyPosition="CurrencyPosition";PS.DraftProjectPropertyNames.currencySymbol="CurrencySymbol";PS.DraftProjectPropertyNames.currentDate="CurrentDate";PS.DraftProjectPropertyNames.daysPerMonth="DaysPerMonth";PS.DraftProjectPropertyNames.defaultEffortDriven="DefaultEffortDriven";PS.DraftProjectPropertyNames.defaultEstimatedDuration="DefaultEstimatedDuration";PS.DraftProjectPropertyNames.defaultFixedCostAccrual="DefaultFixedCostAccrual";PS.DraftProjectPropertyNames.defaultOvertimeRate="DefaultOvertimeRate";PS.DraftProjectPropertyNames.defaultStandardRate="DefaultStandardRate";PS.DraftProjectPropertyNames.defaultTaskType="DefaultTaskType";PS.DraftProjectPropertyNames.defaultWorkFormat="DefaultWorkFormat";PS.DraftProjectPropertyNames.description="Description";PS.DraftProjectPropertyNames.finishDate="FinishDate";PS.DraftProjectPropertyNames.fiscalYearStartMonth="FiscalYearStartMonth";PS.DraftProjectPropertyNames.minutesPerDay="MinutesPerDay";PS.DraftProjectPropertyNames.minutesPerWeek="MinutesPerWeek";PS.DraftProjectPropertyNames.name="Name";PS.DraftProjectPropertyNames.newTasksAreManual="NewTasksAreManual";PS.DraftProjectPropertyNames.numberFiscalYearFromStart="NumberFiscalYearFromStart";PS.DraftProjectPropertyNames.projectIdentifier="ProjectIdentifier";PS.DraftProjectPropertyNames.protectedActualsSynch="ProtectedActualsSynch";PS.DraftProjectPropertyNames.scheduledFromStart="ScheduledFromStart";PS.DraftProjectPropertyNames.showEstimatedDurations="ShowEstimatedDurations";PS.DraftProjectPropertyNames.startDate="StartDate";PS.DraftProjectPropertyNames.statusDate="StatusDate";PS.DraftProjectPropertyNames.trackingMode="TrackingMode";PS.DraftProjectPropertyNames.utilizationDate="UtilizationDate";PS.DraftProjectPropertyNames.utilizationType="UtilizationType";PS.DraftProjectPropertyNames.weekStartDay="WeekStartDay";PS.DraftProjectPropertyNames.winprojVersion="WinprojVersion";PS.DraftProjectObjectPropertyNames.assignments="Assignments";PS.DraftProjectObjectPropertyNames.calendar="Calendar";PS.DraftProjectObjectPropertyNames.includeCustomFields="IncludeCustomFields";PS.DraftProjectObjectPropertyNames.owner="Owner";PS.DraftProjectObjectPropertyNames.projectResources="ProjectResources";PS.DraftProjectObjectPropertyNames.taskLinks="TaskLinks";PS.DraftProjectObjectPropertyNames.tasks="Tasks";PS.DraftProjectResourcePropertyNames.canLevel="CanLevel";PS.DraftProjectResourcePropertyNames.code="Code";PS.DraftProjectResourcePropertyNames.costAccrual="CostAccrual";PS.DraftProjectResourcePropertyNames.costCenter="CostCenter";PS.DraftProjectResourcePropertyNames.costPerUse="CostPerUse";PS.DraftProjectResourcePropertyNames.defaultBookingType="DefaultBookingType";PS.DraftProjectResourcePropertyNames.email="Email";PS.DraftProjectResourcePropertyNames.group="Group";PS.DraftProjectResourcePropertyNames.initials="Initials";PS.DraftProjectResourcePropertyNames.materialLabel="MaterialLabel";PS.DraftProjectResourcePropertyNames.maximumCapacity="MaximumCapacity";PS.DraftProjectResourcePropertyNames.name="Name";PS.DraftProjectResourcePropertyNames.overtimeRate="OvertimeRate";PS.DraftProjectResourcePropertyNames.overtimeRateUnits="OvertimeRateUnits";PS.DraftProjectResourcePropertyNames.phonetics="Phonetics";PS.DraftProjectResourcePropertyNames.standardRate="StandardRate";PS.DraftProjectResourcePropertyNames.standardRateUnits="StandardRateUnits";PS.DraftProjectResourceObjectPropertyNames.assignments="Assignments";PS.DraftProjectResourceObjectPropertyNames.defaultAssignmentOwner="DefaultAssignmentOwner";PS.DraftTaskPropertyNames.actualCost="ActualCost";PS.DraftTaskPropertyNames.actualFinish="ActualFinish";PS.DraftTaskPropertyNames.actualStart="ActualStart";PS.DraftTaskPropertyNames.actualWork="ActualWork";PS.DraftTaskPropertyNames.actualWorkMilliseconds="ActualWorkMilliseconds";PS.DraftTaskPropertyNames.budgetWork="BudgetWork";PS.DraftTaskPropertyNames.budgetWorkMilliseconds="BudgetWorkMilliseconds";PS.DraftTaskPropertyNames.completion="Completion";PS.DraftTaskPropertyNames.constraintStartEnd="ConstraintStartEnd";PS.DraftTaskPropertyNames.constraintType="ConstraintType";PS.DraftTaskPropertyNames.cost="Cost";PS.DraftTaskPropertyNames.deadline="Deadline";PS.DraftTaskPropertyNames.duration="Duration";PS.DraftTaskPropertyNames.durationMilliseconds="DurationMilliseconds";PS.DraftTaskPropertyNames.finish="Finish";PS.DraftTaskPropertyNames.finishText="FinishText";PS.DraftTaskPropertyNames.fixedCost="FixedCost";PS.DraftTaskPropertyNames.isActive="IsActive";PS.DraftTaskPropertyNames.isEffortDriven="IsEffortDriven";PS.DraftTaskPropertyNames.isLockedByManager="IsLockedByManager";PS.DraftTaskPropertyNames.isManual="IsManual";PS.DraftTaskPropertyNames.isMarked="IsMarked";PS.DraftTaskPropertyNames.isMilestone="IsMilestone";PS.DraftTaskPropertyNames.levelingAdjustsAssignments="LevelingAdjustsAssignments";PS.DraftTaskPropertyNames.levelingCanSplit="LevelingCanSplit";PS.DraftTaskPropertyNames.name="Name";PS.DraftTaskPropertyNames.outlineLevel="OutlineLevel";PS.DraftTaskPropertyNames.percentComplete="PercentComplete";PS.DraftTaskPropertyNames.percentPhysicalWorkComplete="PercentPhysicalWorkComplete";PS.DraftTaskPropertyNames.priority="Priority";PS.DraftTaskPropertyNames.remainingDuration="RemainingDuration";PS.DraftTaskPropertyNames.remainingDurationMilliseconds="RemainingDurationMilliseconds";PS.DraftTaskPropertyNames.start="Start";PS.DraftTaskPropertyNames.startText="StartText";PS.DraftTaskPropertyNames.taskType="TaskType";PS.DraftTaskPropertyNames.usePercentPhysicalWorkComplete="UsePercentPhysicalWorkComplete";PS.DraftTaskPropertyNames.work="Work";PS.DraftTaskPropertyNames.workMilliseconds="WorkMilliseconds";PS.DraftTaskObjectPropertyNames.assignments="Assignments";PS.DraftTaskObjectPropertyNames.calendar="Calendar";PS.DraftTaskObjectPropertyNames.parent="Parent";PS.DraftTaskObjectPropertyNames.predecessors="Predecessors";PS.DraftTaskObjectPropertyNames.statusManager="StatusManager";PS.DraftTaskObjectPropertyNames.successors="Successors";PS.DraftTaskLinkPropertyNames.dependencyType="DependencyType";PS.DraftTaskLinkObjectPropertyNames.end="End";PS.DraftTaskLinkObjectPropertyNames.start="Start";PS.EngagementPropertyNames.createdDate="CreatedDate";PS.EngagementPropertyNames.description="Description";PS.EngagementPropertyNames.id="Id";PS.EngagementPropertyNames.modified="Modified";PS.EngagementPropertyNames.reviewedDate="ReviewedDate";PS.EngagementPropertyNames.status="Status";PS.EngagementPropertyNames.submittedDate="SubmittedDate";PS.EngagementPropertyNames.timephasedEditsOnly="TimephasedEditsOnly";PS.EngagementObjectPropertyNames.comments="Comments";PS.EngagementObjectPropertyNames.modifiedBy="ModifiedBy";PS.EngagementObjectPropertyNames.project="Project";PS.EngagementObjectPropertyNames.resource="Resource";PS.EngagementObjectPropertyNames.reviewedBy="ReviewedBy";PS.EngagementObjectPropertyNames.submittedBy="SubmittedBy";PS.EngagementCommentPropertyNames.created="Created";PS.EngagementCommentPropertyNames.id="Id";PS.EngagementCommentPropertyNames.message="Message";PS.EngagementCommentObjectPropertyNames.author="Author";PS.EngagementTimephasedPeriodPropertyNames.end="End";PS.EngagementTimephasedPeriodPropertyNames.maxUnits="MaxUnits";PS.EngagementTimephasedPeriodPropertyNames.start="Start";PS.EngagementTimephasedPeriodPropertyNames.work="Work";PS.EngagementTimephasedPeriodPropertyNames.workMilliseconds="WorkMilliseconds";PS.EnterpriseProjectTypePropertyNames.departments="Departments";PS.EnterpriseProjectTypePropertyNames.description="Description";PS.EnterpriseProjectTypePropertyNames.id="Id";PS.EnterpriseProjectTypePropertyNames.imageUrl="ImageUrl";PS.EnterpriseProjectTypePropertyNames.isDefault="IsDefault";PS.EnterpriseProjectTypePropertyNames.isManaged="IsManaged";PS.EnterpriseProjectTypePropertyNames.name="Name";PS.EnterpriseProjectTypePropertyNames.order="Order";PS.EnterpriseProjectTypePropertyNames.permissionSyncEnable="PermissionSyncEnable";PS.EnterpriseProjectTypePropertyNames.projectPlanTemplateId="ProjectPlanTemplateId";PS.EnterpriseProjectTypePropertyNames.siteCreationOption="SiteCreationOption";PS.EnterpriseProjectTypePropertyNames.siteCreationURL="SiteCreationURL";PS.EnterpriseProjectTypePropertyNames.taskListSyncEnable="TaskListSyncEnable";PS.EnterpriseProjectTypePropertyNames.workflowAssociationId="WorkflowAssociationId";PS.EnterpriseProjectTypePropertyNames.workflowAssociationName="WorkflowAssociationName";PS.EnterpriseProjectTypePropertyNames.workspaceTemplateLCID="WorkspaceTemplateLCID";PS.EnterpriseProjectTypePropertyNames.workspaceTemplateName="WorkspaceTemplateName";PS.EnterpriseProjectTypeObjectPropertyNames.projectDetailPages="ProjectDetailPages";PS.EnterpriseResourcePropertyNames.canLevel="CanLevel";PS.EnterpriseResourcePropertyNames.code="Code";PS.EnterpriseResourcePropertyNames.costAccrual="CostAccrual";PS.EnterpriseResourcePropertyNames.costCenter="CostCenter";PS.EnterpriseResourcePropertyNames.created="Created";PS.EnterpriseResourcePropertyNames.defaultBookingType="DefaultBookingType";PS.EnterpriseResourcePropertyNames.email="Email";PS.EnterpriseResourcePropertyNames.externalId="ExternalId";PS.EnterpriseResourcePropertyNames.group="Group";PS.EnterpriseResourcePropertyNames.hireDate="HireDate";PS.EnterpriseResourcePropertyNames.hyperlinkName="HyperlinkName";PS.EnterpriseResourcePropertyNames.hyperlinkUrl="HyperlinkUrl";PS.EnterpriseResourcePropertyNames.id="Id";PS.EnterpriseResourcePropertyNames.initials="Initials";PS.EnterpriseResourcePropertyNames.isActive="IsActive";PS.EnterpriseResourcePropertyNames.isBudget="IsBudget";PS.EnterpriseResourcePropertyNames.isCheckedOut="IsCheckedOut";PS.EnterpriseResourcePropertyNames.isGeneric="IsGeneric";PS.EnterpriseResourcePropertyNames.isTeam="IsTeam";PS.EnterpriseResourcePropertyNames.materialLabel="MaterialLabel";PS.EnterpriseResourcePropertyNames.modified="Modified";PS.EnterpriseResourcePropertyNames.name="Name";PS.EnterpriseResourcePropertyNames.phonetics="Phonetics";PS.EnterpriseResourcePropertyNames.requiresEngagements="RequiresEngagements";PS.EnterpriseResourcePropertyNames.resourceIdentifier="ResourceIdentifier";PS.EnterpriseResourcePropertyNames.resourceType="ResourceType";PS.EnterpriseResourcePropertyNames.terminationDate="TerminationDate";PS.EnterpriseResourceObjectPropertyNames.assignments="Assignments";PS.EnterpriseResourceObjectPropertyNames.baseCalendar="BaseCalendar";PS.EnterpriseResourceObjectPropertyNames.costRateTables="CostRateTables";PS.EnterpriseResourceObjectPropertyNames.customFields="CustomFields";PS.EnterpriseResourceObjectPropertyNames.defaultAssignmentOwner="DefaultAssignmentOwner";PS.EnterpriseResourceObjectPropertyNames.engagements="Engagements";PS.EnterpriseResourceObjectPropertyNames.resourceCalendarExceptions="ResourceCalendarExceptions";PS.EnterpriseResourceObjectPropertyNames.timesheetManager="TimesheetManager";PS.EnterpriseResourceObjectPropertyNames.user="User";PS.EnterpriseResourceCostRatePropertyNames.costPerUse="CostPerUse";PS.EnterpriseResourceCostRatePropertyNames.effectiveStarting="EffectiveStarting";PS.EnterpriseResourceCostRatePropertyNames.effectiveUntil="EffectiveUntil";PS.EnterpriseResourceCostRatePropertyNames.overtimeRate="OvertimeRate";PS.EnterpriseResourceCostRatePropertyNames.standardRate="StandardRate";PS.EnterpriseResourceCostRateTablePropertyNames.name="Name";PS.EnterpriseResourceCostRateTableObjectPropertyNames.costRates="CostRates";PS.EntityTypePropertyNames.name="Name";PS.EntityTypePropertyNames.id="ID";PS.EntityTypesObjectPropertyNames.assignmentEntity="AssignmentEntity";PS.EntityTypesObjectPropertyNames.projectEntity="ProjectEntity";PS.EntityTypesObjectPropertyNames.resourceEntity="ResourceEntity";PS.EntityTypesObjectPropertyNames.taskEntity="TaskEntity";PS.EventPropertyNames.eventName="EventName";PS.EventPropertyNames.id="Id";PS.EventPropertyNames.sourceName="SourceName";PS.EventHandlerPropertyNames.assemblyName="AssemblyName";PS.EventHandlerPropertyNames.className="ClassName";PS.EventHandlerPropertyNames.description="Description";PS.EventHandlerPropertyNames.endpointUrl="EndpointUrl";PS.EventHandlerPropertyNames.id="Id";PS.EventHandlerPropertyNames.name="Name";PS.EventHandlerPropertyNames.order="Order";PS.EventHandlerObjectPropertyNames.event="Event";PS.LookupCostPropertyNames.value="Value";PS.LookupDatePropertyNames.value="Value";PS.LookupDurationPropertyNames.value="Value";PS.LookupDurationPropertyNames.valueMilliseconds="ValueMilliseconds";PS.LookupEntryPropertyNames.appAlternateId="AppAlternateId";PS.LookupEntryPropertyNames.description="Description";PS.LookupEntryPropertyNames.fullValue="FullValue";PS.LookupEntryPropertyNames.id="Id";PS.LookupEntryPropertyNames.internalName="InternalName";PS.LookupEntryPropertyNames.sortIndex="SortIndex";PS.LookupNumberPropertyNames.value="Value";PS.LookupTablePropertyNames.appAlternateId="AppAlternateId";PS.LookupTablePropertyNames.fieldType="FieldType";PS.LookupTablePropertyNames.id="Id";PS.LookupTablePropertyNames.masks="Masks";PS.LookupTablePropertyNames.name="Name";PS.LookupTablePropertyNames.sortOrder="SortOrder";PS.LookupTableObjectPropertyNames.entries="Entries";PS.LookupTextPropertyNames.hasChildren="HasChildren";PS.LookupTextPropertyNames.mask="Mask";PS.LookupTextPropertyNames.value="Value";PS.LookupTextObjectPropertyNames.parent="Parent";PS.PageSizesPropertyNames.engagementsTimephased="EngagementsTimephased";PS.PageSizesPropertyNames.enterpriseResources="EnterpriseResources";PS.PageSizesPropertyNames.projects="Projects";PS.PhasePropertyNames.description="Description";PS.PhasePropertyNames.id="Id";PS.PhasePropertyNames.name="Name";PS.PhaseObjectPropertyNames.stages="Stages";PS.PlanAssignmentPropertyNames.bookingType="BookingType";PS.PlanAssignmentPropertyNames.canLevel="CanLevel";PS.PlanAssignmentPropertyNames.code="Code";PS.PlanAssignmentPropertyNames.costCenter="CostCenter";PS.PlanAssignmentPropertyNames.email="Email";PS.PlanAssignmentPropertyNames.group="Group";PS.PlanAssignmentPropertyNames.hireDate="HireDate";PS.PlanAssignmentPropertyNames.id="Id";PS.PlanAssignmentPropertyNames.isTeam="IsTeam";PS.PlanAssignmentPropertyNames.name="Name";PS.PlanAssignmentPropertyNames.phonetics="Phonetics";PS.PlanAssignmentPropertyNames.resourceType="ResourceType";PS.PlanAssignmentPropertyNames.terminationDate="TerminationDate";PS.PlanAssignmentObjectPropertyNames.customFields="CustomFields";PS.PlanAssignmentObjectPropertyNames.intervals="Intervals";PS.PlanAssignmentObjectPropertyNames.resource="Resource";PS.PlanAssignmentIntervalPropertyNames.duration="Duration";PS.PlanAssignmentIntervalPropertyNames.durationMilliseconds="DurationMilliseconds";PS.PlanAssignmentIntervalPropertyNames.end="End";PS.PlanAssignmentIntervalPropertyNames.name="Name";PS.PlanAssignmentIntervalPropertyNames.start="Start";PS.ProjectPropertyNames.approvedEnd="ApprovedEnd";PS.ProjectPropertyNames.approvedStart="ApprovedStart";PS.ProjectPropertyNames.calculateActualCosts="CalculateActualCosts";PS.ProjectPropertyNames.calculatesActualCosts="CalculatesActualCosts";PS.ProjectPropertyNames.checkedOutDate="CheckedOutDate";PS.ProjectPropertyNames.checkOutDescription="CheckOutDescription";PS.ProjectPropertyNames.checkOutId="CheckOutId";PS.ProjectPropertyNames.createdDate="CreatedDate";PS.ProjectPropertyNames.criticalSlackLimit="CriticalSlackLimit";PS.ProjectPropertyNames.defaultFinishTime="DefaultFinishTime";PS.ProjectPropertyNames.defaultOvertimeRateUnits="DefaultOvertimeRateUnits";PS.ProjectPropertyNames.defaultStandardRateUnits="DefaultStandardRateUnits";PS.ProjectPropertyNames.defaultStartTime="DefaultStartTime";PS.ProjectPropertyNames.hasMppPendingImport="HasMppPendingImport";PS.ProjectPropertyNames.honorConstraints="HonorConstraints";PS.ProjectPropertyNames.id="Id";PS.ProjectPropertyNames.isCheckedOut="IsCheckedOut";PS.ProjectPropertyNames.lastPublishedDate="LastPublishedDate";PS.ProjectPropertyNames.lastSavedDate="LastSavedDate";PS.ProjectPropertyNames.moveActualIfLater="MoveActualIfLater";PS.ProjectPropertyNames.moveActualToStatus="MoveActualToStatus";PS.ProjectPropertyNames.moveRemainingIfEarlier="MoveRemainingIfEarlier";PS.ProjectPropertyNames.moveRemainingToStatus="MoveRemainingToStatus";PS.ProjectPropertyNames.multipleCriticalPaths="MultipleCriticalPaths";PS.ProjectPropertyNames.optimizerDecision="OptimizerDecision";PS.ProjectPropertyNames.percentComplete="PercentComplete";PS.ProjectPropertyNames.plannerDecision="PlannerDecision";PS.ProjectPropertyNames.projectSiteUrl="ProjectSiteUrl";PS.ProjectPropertyNames.projectType="ProjectType";PS.ProjectPropertyNames.splitInProgress="SplitInProgress";PS.ProjectPropertyNames.spreadActualCostsToStatus="SpreadActualCostsToStatus";PS.ProjectPropertyNames.spreadPercentCompleteToStatus="SpreadPercentCompleteToStatus";PS.ProjectPropertyNames.summaryTaskId="SummaryTaskId";PS.ProjectPropertyNames.taskListId="TaskListId";PS.ProjectObjectPropertyNames.checkedOutBy="CheckedOutBy";PS.ProjectObjectPropertyNames.customFields="CustomFields";PS.ProjectObjectPropertyNames.engagements="Engagements";PS.ProjectObjectPropertyNames.enterpriseProjectType="EnterpriseProjectType";PS.ProjectObjectPropertyNames.phase="Phase";PS.ProjectObjectPropertyNames.projectSummaryTask="ProjectSummaryTask";PS.ProjectObjectPropertyNames.queueJobs="QueueJobs";PS.ProjectObjectPropertyNames.stage="Stage";PS.ProjectDetailPagePropertyNames.id="Id";PS.ProjectDetailPagePropertyNames.name="Name";PS.ProjectDetailPagePropertyNames.pageType="PageType";PS.ProjectDetailPageObjectPropertyNames.item="Item";PS.ProjectDetailPageCollectionObjectPropertyNames.list="List";PS.ProjectEngagementPropertyNames.approvedFinish="ApprovedFinish";PS.ProjectEngagementPropertyNames.approvedMaxUnits="ApprovedMaxUnits";PS.ProjectEngagementPropertyNames.approvedStart="ApprovedStart";PS.ProjectEngagementPropertyNames.approvedWork="ApprovedWork";PS.ProjectEngagementPropertyNames.approvedWorkMilliseconds="ApprovedWorkMilliseconds";PS.ProjectEngagementPropertyNames.hasUnsubmittedChanges="HasUnsubmittedChanges";PS.ProjectEngagementPropertyNames.requestedFinish="RequestedFinish";PS.ProjectEngagementPropertyNames.requestedMaxUnits="RequestedMaxUnits";PS.ProjectEngagementPropertyNames.requestedStart="RequestedStart";PS.ProjectEngagementPropertyNames.requestedWork="RequestedWork";PS.ProjectEngagementPropertyNames.requestedWorkMilliseconds="RequestedWorkMilliseconds";PS.ProjectResourcePropertyNames.actualCost="ActualCost";PS.ProjectResourcePropertyNames.actualCostWorkPerformed="ActualCostWorkPerformed";PS.ProjectResourcePropertyNames.actualCostWorkPerformedMilliseconds="ActualCostWorkPerformedMilliseconds";PS.ProjectResourcePropertyNames.actualOvertimeCost="ActualOvertimeCost";PS.ProjectResourcePropertyNames.actualOvertimeWork="ActualOvertimeWork";PS.ProjectResourcePropertyNames.actualOvertimeWorkMilliseconds="ActualOvertimeWorkMilliseconds";PS.ProjectResourcePropertyNames.actualWork="ActualWork";PS.ProjectResourcePropertyNames.actualWorkMilliseconds="ActualWorkMilliseconds";PS.ProjectResourcePropertyNames.availableFrom="AvailableFrom";PS.ProjectResourcePropertyNames.availableTo="AvailableTo";PS.ProjectResourcePropertyNames.baselineCost="BaselineCost";PS.ProjectResourcePropertyNames.baselineWork="BaselineWork";PS.ProjectResourcePropertyNames.baselineWorkMilliseconds="BaselineWorkMilliseconds";PS.ProjectResourcePropertyNames.budetCostWorkPerformed="BudetCostWorkPerformed";PS.ProjectResourcePropertyNames.budgetedCost="BudgetedCost";PS.ProjectResourcePropertyNames.budgetedCostWorkScheduled="BudgetedCostWorkScheduled";PS.ProjectResourcePropertyNames.budgetedWork="BudgetedWork";PS.ProjectResourcePropertyNames.budgetedWorkMilliseconds="BudgetedWorkMilliseconds";PS.ProjectResourcePropertyNames.cost="Cost";PS.ProjectResourcePropertyNames.costVariance="CostVariance";PS.ProjectResourcePropertyNames.costVarianceAtCompletion="CostVarianceAtCompletion";PS.ProjectResourcePropertyNames.created="Created";PS.ProjectResourcePropertyNames.currentCostVariance="CurrentCostVariance";PS.ProjectResourcePropertyNames.finish="Finish";PS.ProjectResourcePropertyNames.id="Id";PS.ProjectResourcePropertyNames.isBudgeted="IsBudgeted";PS.ProjectResourcePropertyNames.isGenericResource="IsGenericResource";PS.ProjectResourcePropertyNames.isOverAllocated="IsOverAllocated";PS.ProjectResourcePropertyNames.modified="Modified";PS.ProjectResourcePropertyNames.notes="Notes";PS.ProjectResourcePropertyNames.overtimeCost="OvertimeCost";PS.ProjectResourcePropertyNames.overtimeWork="OvertimeWork";PS.ProjectResourcePropertyNames.overtimeWorkMilliseconds="OvertimeWorkMilliseconds";PS.ProjectResourcePropertyNames.peakWork="PeakWork";PS.ProjectResourcePropertyNames.peakWorkMilliseconds="PeakWorkMilliseconds";PS.ProjectResourcePropertyNames.percentWorkComplete="PercentWorkComplete";PS.ProjectResourcePropertyNames.regularWork="RegularWork";PS.ProjectResourcePropertyNames.regularWorkMilliseconds="RegularWorkMilliseconds";PS.ProjectResourcePropertyNames.remainingCost="RemainingCost";PS.ProjectResourcePropertyNames.remainingOvertimeCost="RemainingOvertimeCost";PS.ProjectResourcePropertyNames.remainingOvertimeWork="RemainingOvertimeWork";PS.ProjectResourcePropertyNames.remainingOvertimeWorkMilliseconds="RemainingOvertimeWorkMilliseconds";PS.ProjectResourcePropertyNames.remainingWork="RemainingWork";PS.ProjectResourcePropertyNames.remainingWorkMilliseconds="RemainingWorkMilliseconds";PS.ProjectResourcePropertyNames.scheduleCostVariance="ScheduleCostVariance";PS.ProjectResourcePropertyNames.start="Start";PS.ProjectResourcePropertyNames.work="Work";PS.ProjectResourcePropertyNames.workMilliseconds="WorkMilliseconds";PS.ProjectResourcePropertyNames.workVariance="WorkVariance";PS.ProjectResourcePropertyNames.workVarianceMilliseconds="WorkVarianceMilliseconds";PS.ProjectResourceObjectPropertyNames.customFields="CustomFields";PS.ProjectResourceObjectPropertyNames.enterpriseResource="EnterpriseResource";PS.ProjectServerPropertyNames.engagementsTimephasedPageSize="EngagementsTimephasedPageSize";PS.ProjectServerPropertyNames.enterpriseResourcesPageSize="EnterpriseResourcesPageSize";PS.ProjectServerPropertyNames.isDelegate="IsDelegate";PS.ProjectServerPropertyNames.isReadOnly="IsReadOnly";PS.ProjectServerPropertyNames.projectsPageSize="ProjectsPageSize";PS.ProjectServerObjectPropertyNames.calendars="Calendars";PS.ProjectServerObjectPropertyNames.customFields="CustomFields";PS.ProjectServerObjectPropertyNames.enterpriseProjectTypes="EnterpriseProjectTypes";PS.ProjectServerObjectPropertyNames.enterpriseResources="EnterpriseResources";PS.ProjectServerObjectPropertyNames.entityTypes="EntityTypes";PS.ProjectServerObjectPropertyNames.eventHandlers="EventHandlers";PS.ProjectServerObjectPropertyNames.events="Events";PS.ProjectServerObjectPropertyNames.lookupTables="LookupTables";PS.ProjectServerObjectPropertyNames.phases="Phases";PS.ProjectServerObjectPropertyNames.projectDetailPages="ProjectDetailPages";PS.ProjectServerObjectPropertyNames.projects="Projects";PS.ProjectServerObjectPropertyNames.stages="Stages";PS.ProjectServerObjectPropertyNames.timeSheetPeriods="TimeSheetPeriods";PS.ProjectServerObjectPropertyNames.workflowActivities="WorkflowActivities";PS.ProjectServerObjectPropertyNames.workflowDesigner="WorkflowDesigner";PS.ProjectSummaryTaskPropertyNames.actualCost="ActualCost";PS.ProjectSummaryTaskPropertyNames.actualWork="ActualWork";PS.ProjectSummaryTaskPropertyNames.actualWorkMilliseconds="ActualWorkMilliseconds";PS.ProjectSummaryTaskPropertyNames.budgetWork="BudgetWork";PS.ProjectSummaryTaskPropertyNames.budgetWorkMilliseconds="BudgetWorkMilliseconds";PS.ProjectSummaryTaskPropertyNames.cost="Cost";PS.ProjectSummaryTaskPropertyNames.duration="Duration";PS.ProjectSummaryTaskPropertyNames.durationMilliseconds="DurationMilliseconds";PS.ProjectSummaryTaskPropertyNames.finish="Finish";PS.ProjectSummaryTaskPropertyNames.finishText="FinishText";PS.ProjectSummaryTaskPropertyNames.name="Name";PS.ProjectSummaryTaskPropertyNames.percentComplete="PercentComplete";PS.ProjectSummaryTaskPropertyNames.priority="Priority";PS.ProjectSummaryTaskPropertyNames.start="Start";PS.ProjectSummaryTaskPropertyNames.startText="StartText";PS.ProjectSummaryTaskPropertyNames.work="Work";PS.ProjectSummaryTaskPropertyNames.workMilliseconds="WorkMilliseconds";PS.PublishedAssignmentPropertyNames.actualCost="ActualCost";PS.PublishedAssignmentPropertyNames.actualFinish="ActualFinish";PS.PublishedAssignmentPropertyNames.actualOvertimeWork="ActualOvertimeWork";PS.PublishedAssignmentPropertyNames.actualOvertimeWorkMilliseconds="ActualOvertimeWorkMilliseconds";PS.PublishedAssignmentPropertyNames.actualStart="ActualStart";PS.PublishedAssignmentPropertyNames.actualWork="ActualWork";PS.PublishedAssignmentPropertyNames.actualWorkMilliseconds="ActualWorkMilliseconds";PS.PublishedAssignmentPropertyNames.budgetedCost="BudgetedCost";PS.PublishedAssignmentPropertyNames.budgetedWork="BudgetedWork";PS.PublishedAssignmentPropertyNames.budgetedWorkMilliseconds="BudgetedWorkMilliseconds";PS.PublishedAssignmentPropertyNames.cost="Cost";PS.PublishedAssignmentPropertyNames.costRateTable="CostRateTable";PS.PublishedAssignmentPropertyNames.defaultBookingType="DefaultBookingType";PS.PublishedAssignmentPropertyNames.delay="Delay";PS.PublishedAssignmentPropertyNames.delayMilliseconds="DelayMilliseconds";PS.PublishedAssignmentPropertyNames.isLockedByManager="IsLockedByManager";PS.PublishedAssignmentPropertyNames.isWorkResource="IsWorkResource";PS.PublishedAssignmentPropertyNames.overtimeWork="OvertimeWork";PS.PublishedAssignmentPropertyNames.overtimeWorkMilliseconds="OvertimeWorkMilliseconds";PS.PublishedAssignmentPropertyNames.percentWorkComplete="PercentWorkComplete";PS.PublishedAssignmentPropertyNames.regularWork="RegularWork";PS.PublishedAssignmentPropertyNames.regularWorkMilliseconds="RegularWorkMilliseconds";PS.PublishedAssignmentPropertyNames.remainingOvertimeWork="RemainingOvertimeWork";PS.PublishedAssignmentPropertyNames.remainingOvertimeWorkMilliseconds="RemainingOvertimeWorkMilliseconds";PS.PublishedAssignmentPropertyNames.remainingWork="RemainingWork";PS.PublishedAssignmentPropertyNames.remainingWorkMilliseconds="RemainingWorkMilliseconds";PS.PublishedAssignmentPropertyNames.resourceCapacity="ResourceCapacity";PS.PublishedAssignmentPropertyNames.work="Work";PS.PublishedAssignmentPropertyNames.workMilliseconds="WorkMilliseconds";PS.PublishedAssignmentObjectPropertyNames.owner="Owner";PS.PublishedAssignmentObjectPropertyNames.parent="Parent";PS.PublishedAssignmentObjectPropertyNames.resource="Resource";PS.PublishedAssignmentObjectPropertyNames.task="Task";PS.PublishedProjectPropertyNames.currencyCode="CurrencyCode";PS.PublishedProjectPropertyNames.currencyDigits="CurrencyDigits";PS.PublishedProjectPropertyNames.currencyPosition="CurrencyPosition";PS.PublishedProjectPropertyNames.currencySymbol="CurrencySymbol";PS.PublishedProjectPropertyNames.currentDate="CurrentDate";PS.PublishedProjectPropertyNames.daysPerMonth="DaysPerMonth";PS.PublishedProjectPropertyNames.defaultEffortDriven="DefaultEffortDriven";PS.PublishedProjectPropertyNames.defaultEstimatedDuration="DefaultEstimatedDuration";PS.PublishedProjectPropertyNames.defaultFixedCostAccrual="DefaultFixedCostAccrual";PS.PublishedProjectPropertyNames.defaultOvertimeRate="DefaultOvertimeRate";PS.PublishedProjectPropertyNames.defaultStandardRate="DefaultStandardRate";PS.PublishedProjectPropertyNames.defaultTaskType="DefaultTaskType";PS.PublishedProjectPropertyNames.defaultWorkFormat="DefaultWorkFormat";PS.PublishedProjectPropertyNames.description="Description";PS.PublishedProjectPropertyNames.finishDate="FinishDate";PS.PublishedProjectPropertyNames.fiscalYearStartMonth="FiscalYearStartMonth";PS.PublishedProjectPropertyNames.isEnterpriseProject="IsEnterpriseProject";PS.PublishedProjectPropertyNames.minutesPerDay="MinutesPerDay";PS.PublishedProjectPropertyNames.minutesPerWeek="MinutesPerWeek";PS.PublishedProjectPropertyNames.name="Name";PS.PublishedProjectPropertyNames.newTasksAreManual="NewTasksAreManual";PS.PublishedProjectPropertyNames.numberFiscalYearFromStart="NumberFiscalYearFromStart";PS.PublishedProjectPropertyNames.projectIdentifier="ProjectIdentifier";PS.PublishedProjectPropertyNames.protectedActualsSynch="ProtectedActualsSynch";PS.PublishedProjectPropertyNames.scheduledFromStart="ScheduledFromStart";PS.PublishedProjectPropertyNames.showEstimatedDurations="ShowEstimatedDurations";PS.PublishedProjectPropertyNames.startDate="StartDate";PS.PublishedProjectPropertyNames.statusDate="StatusDate";PS.PublishedProjectPropertyNames.trackingMode="TrackingMode";PS.PublishedProjectPropertyNames.utilizationDate="UtilizationDate";PS.PublishedProjectPropertyNames.utilizationType="UtilizationType";PS.PublishedProjectPropertyNames.weekStartDay="WeekStartDay";PS.PublishedProjectPropertyNames.winprojVersion="WinprojVersion";PS.PublishedProjectObjectPropertyNames.assignments="Assignments";PS.PublishedProjectObjectPropertyNames.calendar="Calendar";PS.PublishedProjectObjectPropertyNames.draft="Draft";PS.PublishedProjectObjectPropertyNames.includeCustomFields="IncludeCustomFields";PS.PublishedProjectObjectPropertyNames.owner="Owner";PS.PublishedProjectObjectPropertyNames.projectResources="ProjectResources";PS.PublishedProjectObjectPropertyNames.taskLinks="TaskLinks";PS.PublishedProjectObjectPropertyNames.tasks="Tasks";PS.PublishedProjectResourcePropertyNames.canLevel="CanLevel";PS.PublishedProjectResourcePropertyNames.code="Code";PS.PublishedProjectResourcePropertyNames.costAccrual="CostAccrual";PS.PublishedProjectResourcePropertyNames.costCenter="CostCenter";PS.PublishedProjectResourcePropertyNames.costPerUse="CostPerUse";PS.PublishedProjectResourcePropertyNames.defaultBookingType="DefaultBookingType";PS.PublishedProjectResourcePropertyNames.email="Email";PS.PublishedProjectResourcePropertyNames.group="Group";PS.PublishedProjectResourcePropertyNames.initials="Initials";PS.PublishedProjectResourcePropertyNames.materialLabel="MaterialLabel";PS.PublishedProjectResourcePropertyNames.maximumCapacity="MaximumCapacity";PS.PublishedProjectResourcePropertyNames.name="Name";PS.PublishedProjectResourcePropertyNames.overtimeRate="OvertimeRate";PS.PublishedProjectResourcePropertyNames.overtimeRateUnits="OvertimeRateUnits";PS.PublishedProjectResourcePropertyNames.phonetics="Phonetics";PS.PublishedProjectResourcePropertyNames.standardRate="StandardRate";PS.PublishedProjectResourcePropertyNames.standardRateUnits="StandardRateUnits";PS.PublishedProjectResourceObjectPropertyNames.assignments="Assignments";PS.PublishedProjectResourceObjectPropertyNames.defaultAssignmentOwner="DefaultAssignmentOwner";PS.PublishedTaskPropertyNames.actualCost="ActualCost";PS.PublishedTaskPropertyNames.actualFinish="ActualFinish";PS.PublishedTaskPropertyNames.actualStart="ActualStart";PS.PublishedTaskPropertyNames.actualWork="ActualWork";PS.PublishedTaskPropertyNames.actualWorkMilliseconds="ActualWorkMilliseconds";PS.PublishedTaskPropertyNames.budgetWork="BudgetWork";PS.PublishedTaskPropertyNames.budgetWorkMilliseconds="BudgetWorkMilliseconds";PS.PublishedTaskPropertyNames.completion="Completion";PS.PublishedTaskPropertyNames.constraintStartEnd="ConstraintStartEnd";PS.PublishedTaskPropertyNames.constraintType="ConstraintType";PS.PublishedTaskPropertyNames.cost="Cost";PS.PublishedTaskPropertyNames.deadline="Deadline";PS.PublishedTaskPropertyNames.duration="Duration";PS.PublishedTaskPropertyNames.durationMilliseconds="DurationMilliseconds";PS.PublishedTaskPropertyNames.finish="Finish";PS.PublishedTaskPropertyNames.finishText="FinishText";PS.PublishedTaskPropertyNames.fixedCost="FixedCost";PS.PublishedTaskPropertyNames.isActive="IsActive";PS.PublishedTaskPropertyNames.isEffortDriven="IsEffortDriven";PS.PublishedTaskPropertyNames.isLockedByManager="IsLockedByManager";PS.PublishedTaskPropertyNames.isManual="IsManual";PS.PublishedTaskPropertyNames.isMarked="IsMarked";PS.PublishedTaskPropertyNames.isMilestone="IsMilestone";PS.PublishedTaskPropertyNames.levelingAdjustsAssignments="LevelingAdjustsAssignments";PS.PublishedTaskPropertyNames.levelingCanSplit="LevelingCanSplit";PS.PublishedTaskPropertyNames.name="Name";PS.PublishedTaskPropertyNames.outlineLevel="OutlineLevel";PS.PublishedTaskPropertyNames.percentComplete="PercentComplete";PS.PublishedTaskPropertyNames.percentPhysicalWorkComplete="PercentPhysicalWorkComplete";PS.PublishedTaskPropertyNames.priority="Priority";PS.PublishedTaskPropertyNames.remainingDuration="RemainingDuration";PS.PublishedTaskPropertyNames.remainingDurationMilliseconds="RemainingDurationMilliseconds";PS.PublishedTaskPropertyNames.start="Start";PS.PublishedTaskPropertyNames.startText="StartText";PS.PublishedTaskPropertyNames.taskType="TaskType";PS.PublishedTaskPropertyNames.usePercentPhysicalWorkComplete="UsePercentPhysicalWorkComplete";PS.PublishedTaskPropertyNames.work="Work";PS.PublishedTaskPropertyNames.workMilliseconds="WorkMilliseconds";PS.PublishedTaskObjectPropertyNames.assignments="Assignments";PS.PublishedTaskObjectPropertyNames.calendar="Calendar";PS.PublishedTaskObjectPropertyNames.parent="Parent";PS.PublishedTaskObjectPropertyNames.predecessors="Predecessors";PS.PublishedTaskObjectPropertyNames.statusManager="StatusManager";PS.PublishedTaskObjectPropertyNames.successors="Successors";PS.PublishedTaskLinkPropertyNames.dependencyType="DependencyType";PS.PublishedTaskLinkPropertyNames.linkLag="LinkLag";PS.PublishedTaskLinkPropertyNames.linkLagFmt="LinkLagFmt";PS.PublishedTaskLinkPropertyNames.projUid="ProjUid";PS.PublishedTaskLinkObjectPropertyNames.end="End";PS.PublishedTaskLinkObjectPropertyNames.start="Start";PS.QueueJobPropertyNames.id="Id";PS.QueueJobPropertyNames.jobState="JobState";PS.QueueJobPropertyNames.messageType="MessageType";PS.QueueJobPropertyNames.percentComplete="PercentComplete";PS.QueueJobPropertyNames.waitMilliseconds="WaitMilliseconds";PS.QueueJobObjectPropertyNames.project="Project";PS.QueueJobObjectPropertyNames.submitter="Submitter";PS.ResourceEngagementPropertyNames.approvedFinish="ApprovedFinish";PS.ResourceEngagementPropertyNames.approvedMaxUnits="ApprovedMaxUnits";PS.ResourceEngagementPropertyNames.approvedStart="ApprovedStart";PS.ResourceEngagementPropertyNames.approvedWork="ApprovedWork";PS.ResourceEngagementPropertyNames.approvedWorkMilliseconds="ApprovedWorkMilliseconds";PS.ResourceEngagementPropertyNames.requestedFinish="RequestedFinish";PS.ResourceEngagementPropertyNames.requestedMaxUnits="RequestedMaxUnits";PS.ResourceEngagementPropertyNames.requestedStart="RequestedStart";PS.ResourceEngagementPropertyNames.requestedWork="RequestedWork";PS.ResourceEngagementPropertyNames.requestedWorkMilliseconds="RequestedWorkMilliseconds";PS.ResourcePlanPropertyNames.finish="Finish";PS.ResourcePlanPropertyNames.id="Id";PS.ResourcePlanPropertyNames.start="Start";PS.ResourcePlanPropertyNames.utilizationDate="UtilizationDate";PS.ResourcePlanPropertyNames.utilizationType="UtilizationType";PS.ResourcePlanObjectPropertyNames.assignments="Assignments";PS.ServiceStatusPropertyNames.isDelegate="IsDelegate";PS.ServiceStatusPropertyNames.isReadOnly="IsReadOnly";PS.StagePropertyNames.behavior="Behavior";PS.StagePropertyNames.checkInRequired="CheckInRequired";PS.StagePropertyNames.description="Description";PS.StagePropertyNames.id="Id";PS.StagePropertyNames.name="Name";PS.StagePropertyNames.submitDescription="SubmitDescription";PS.StageObjectPropertyNames.customFields="CustomFields";PS.StageObjectPropertyNames.phase="Phase";PS.StageObjectPropertyNames.projectDetailPages="ProjectDetailPages";PS.StageObjectPropertyNames.workflowStatusPage="WorkflowStatusPage";PS.StageCustomFieldPropertyNames.id="Id";PS.StageCustomFieldPropertyNames.name="Name";PS.StageCustomFieldPropertyNames.readOnly="ReadOnly";PS.StageCustomFieldPropertyNames.required="Required";PS.StageCustomFieldObjectPropertyNames.stage="Stage";PS.StageDetailPagePropertyNames.description="Description";PS.StageDetailPagePropertyNames.id="Id";PS.StageDetailPagePropertyNames.position="Position";PS.StageDetailPagePropertyNames.requiresAttention="RequiresAttention";PS.StageDetailPageObjectPropertyNames.page="Page";PS.StageDetailPageObjectPropertyNames.stage="Stage";PS.StatusAssignmentPropertyNames.actualFinish="ActualFinish";PS.StatusAssignmentPropertyNames.actualOvertime="ActualOvertime";PS.StatusAssignmentPropertyNames.actualOvertimeMilliseconds="ActualOvertimeMilliseconds";PS.StatusAssignmentPropertyNames.actualStart="ActualStart";PS.StatusAssignmentPropertyNames.actualWork="ActualWork";PS.StatusAssignmentPropertyNames.actualWorkMilliseconds="ActualWorkMilliseconds";PS.StatusAssignmentPropertyNames.approvalStatus="ApprovalStatus";PS.StatusAssignmentPropertyNames.comments="Comments";PS.StatusAssignmentPropertyNames.finish="Finish";PS.StatusAssignmentPropertyNames.id="Id";PS.StatusAssignmentPropertyNames.isConfirmed="IsConfirmed";PS.StatusAssignmentPropertyNames.modified="Modified";PS.StatusAssignmentPropertyNames.name="Name";PS.StatusAssignmentPropertyNames.overtime="Overtime";PS.StatusAssignmentPropertyNames.overtimeMilliseconds="OvertimeMilliseconds";PS.StatusAssignmentPropertyNames.percentComplete="PercentComplete";PS.StatusAssignmentPropertyNames.regularWork="RegularWork";PS.StatusAssignmentPropertyNames.regularWorkMilliseconds="RegularWorkMilliseconds";PS.StatusAssignmentPropertyNames.remainingOvertime="RemainingOvertime";PS.StatusAssignmentPropertyNames.remainingOvertimeMilliseconds="RemainingOvertimeMilliseconds";PS.StatusAssignmentPropertyNames.remainingWork="RemainingWork";PS.StatusAssignmentPropertyNames.remainingWorkMilliseconds="RemainingWorkMilliseconds";PS.StatusAssignmentPropertyNames.start="Start";PS.StatusAssignmentPropertyNames.work="Work";PS.StatusAssignmentPropertyNames.workMilliseconds="WorkMilliseconds";PS.StatusAssignmentObjectPropertyNames.customFields="CustomFields";PS.StatusAssignmentObjectPropertyNames.history="History";PS.StatusAssignmentObjectPropertyNames.project="Project";PS.StatusAssignmentObjectPropertyNames.resource="Resource";PS.StatusAssignmentObjectPropertyNames.task="Task";PS.StatusAssignmentHistoryLinePropertyNames.approverId="ApproverId";PS.StatusAssignmentHistoryLinePropertyNames.comment="Comment";PS.StatusAssignmentHistoryLinePropertyNames.decision="Decision";PS.StatusAssignmentHistoryLinePropertyNames.decisionDate="DecisionDate";PS.StatusAssignmentHistoryLinePropertyNames.id="Id";PS.StatusAssignmentHistoryLinePropertyNames.reassignedResourceId="ReassignedResourceId";PS.StatusAssignmentHistoryLinePropertyNames.reassignmentDate="ReassignmentDate";PS.StatusAssignmentHistoryLinePropertyNames.state="State";PS.StatusAssignmentHistoryLinePropertyNames.submitted="Submitted";PS.StatusAssignmentHistoryLinePropertyNames.submitterId="SubmitterId";PS.StatusAssignmentHistoryLinePropertyNames.updateType="UpdateType";PS.StatusAssignmentHistoryLineObjectPropertyNames.author="Author";PS.StatusTaskPropertyNames.actualWork="ActualWork";PS.StatusTaskPropertyNames.actualWorkMilliseconds="ActualWorkMilliseconds";PS.StatusTaskPropertyNames.deadline="Deadline";PS.StatusTaskPropertyNames.duration="Duration";PS.StatusTaskPropertyNames.durationMilliseconds="DurationMilliseconds";PS.StatusTaskPropertyNames.finish="Finish";PS.StatusTaskPropertyNames.id="Id";PS.StatusTaskPropertyNames.name="Name";PS.StatusTaskPropertyNames.overtime="Overtime";PS.StatusTaskPropertyNames.overtimeMilliseconds="OvertimeMilliseconds";PS.StatusTaskPropertyNames.percentComplete="PercentComplete";PS.StatusTaskPropertyNames.percentWorkComplete="PercentWorkComplete";PS.StatusTaskPropertyNames.physicalPercentComplete="PhysicalPercentComplete";PS.StatusTaskPropertyNames.projectTaskId="ProjectTaskId";PS.StatusTaskPropertyNames.regularWork="RegularWork";PS.StatusTaskPropertyNames.regularWorkMilliseconds="RegularWorkMilliseconds";PS.StatusTaskPropertyNames.remainingDuration="RemainingDuration";PS.StatusTaskPropertyNames.remainingDurationMilliseconds="RemainingDurationMilliseconds";PS.StatusTaskPropertyNames.remainingOvertime="RemainingOvertime";PS.StatusTaskPropertyNames.remainingOvertimeMilliseconds="RemainingOvertimeMilliseconds";PS.StatusTaskPropertyNames.remainingWork="RemainingWork";PS.StatusTaskPropertyNames.remainingWorkMilliseconds="RemainingWorkMilliseconds";PS.StatusTaskPropertyNames.resume="Resume";PS.StatusTaskPropertyNames.start="Start";PS.StatusTaskPropertyNames.work="Work";PS.StatusTaskPropertyNames.workMilliseconds="WorkMilliseconds";PS.StatusTaskObjectPropertyNames.customFields="CustomFields";PS.StatusTaskObjectPropertyNames.statusManager="StatusManager";PS.TaskPropertyNames.actualCostWorkPerformed="ActualCostWorkPerformed";PS.TaskPropertyNames.actualDuration="ActualDuration";PS.TaskPropertyNames.actualDurationMilliseconds="ActualDurationMilliseconds";PS.TaskPropertyNames.actualOvertimeCost="ActualOvertimeCost";PS.TaskPropertyNames.actualOvertimeWork="ActualOvertimeWork";PS.TaskPropertyNames.actualOvertimeWorkMilliseconds="ActualOvertimeWorkMilliseconds";PS.TaskPropertyNames.baselineCost="BaselineCost";PS.TaskPropertyNames.baselineDuration="BaselineDuration";PS.TaskPropertyNames.baselineDurationMilliseconds="BaselineDurationMilliseconds";PS.TaskPropertyNames.baselineFinish="BaselineFinish";PS.TaskPropertyNames.baselineStart="BaselineStart";PS.TaskPropertyNames.baselineWork="BaselineWork";PS.TaskPropertyNames.baselineWorkMilliseconds="BaselineWorkMilliseconds";PS.TaskPropertyNames.budgetCost="BudgetCost";PS.TaskPropertyNames.budgetedCostWorkPerformed="BudgetedCostWorkPerformed";PS.TaskPropertyNames.budgetedCostWorkScheduled="BudgetedCostWorkScheduled";PS.TaskPropertyNames.contact="Contact";PS.TaskPropertyNames.costPerformanceIndex="CostPerformanceIndex";PS.TaskPropertyNames.costVariance="CostVariance";PS.TaskPropertyNames.costVarianceAtCompletion="CostVarianceAtCompletion";PS.TaskPropertyNames.costVariancePercentage="CostVariancePercentage";PS.TaskPropertyNames.created="Created";PS.TaskPropertyNames.currentCostVariance="CurrentCostVariance";PS.TaskPropertyNames.durationVariance="DurationVariance";PS.TaskPropertyNames.durationVarianceMilliseconds="DurationVarianceMilliseconds";PS.TaskPropertyNames.earliestFinish="EarliestFinish";PS.TaskPropertyNames.earliestStart="EarliestStart";PS.TaskPropertyNames.estimateAtCompletion="EstimateAtCompletion";PS.TaskPropertyNames.finishSlack="FinishSlack";PS.TaskPropertyNames.finishSlackMilliseconds="FinishSlackMilliseconds";PS.TaskPropertyNames.finishVariance="FinishVariance";PS.TaskPropertyNames.finishVarianceMilliseconds="FinishVarianceMilliseconds";PS.TaskPropertyNames.fixedCostAccrual="FixedCostAccrual";PS.TaskPropertyNames.freeSlack="FreeSlack";PS.TaskPropertyNames.freeSlackMilliseconds="FreeSlackMilliseconds";PS.TaskPropertyNames.id="Id";PS.TaskPropertyNames.ignoreResourceCalendar="IgnoreResourceCalendar";PS.TaskPropertyNames.isCritical="IsCritical";PS.TaskPropertyNames.isDurationEstimate="IsDurationEstimate";PS.TaskPropertyNames.isExternalTask="IsExternalTask";PS.TaskPropertyNames.isOverAllocated="IsOverAllocated";PS.TaskPropertyNames.isRecurring="IsRecurring";PS.TaskPropertyNames.isRecurringSummary="IsRecurringSummary";PS.TaskPropertyNames.isRolledUp="IsRolledUp";PS.TaskPropertyNames.isSubProject="IsSubProject";PS.TaskPropertyNames.isSubProjectReadOnly="IsSubProjectReadOnly";PS.TaskPropertyNames.isSubProjectScheduledFromFinish="IsSubProjectScheduledFromFinish";PS.TaskPropertyNames.isSummary="IsSummary";PS.TaskPropertyNames.latestFinish="LatestFinish";PS.TaskPropertyNames.latestStart="LatestStart";PS.TaskPropertyNames.levelingDelay="LevelingDelay";PS.TaskPropertyNames.levelingDelayMilliseconds="LevelingDelayMilliseconds";PS.TaskPropertyNames.modified="Modified";PS.TaskPropertyNames.notes="Notes";PS.TaskPropertyNames.outlinePosition="OutlinePosition";PS.TaskPropertyNames.overtimeCost="OvertimeCost";PS.TaskPropertyNames.overtimeWork="OvertimeWork";PS.TaskPropertyNames.overtimeWorkMilliseconds="OvertimeWorkMilliseconds";PS.TaskPropertyNames.percentWorkComplete="PercentWorkComplete";PS.TaskPropertyNames.preLevelingFinish="PreLevelingFinish";PS.TaskPropertyNames.preLevelingStart="PreLevelingStart";PS.TaskPropertyNames.regularWork="RegularWork";PS.TaskPropertyNames.regularWorkMilliseconds="RegularWorkMilliseconds";PS.TaskPropertyNames.remainingCost="RemainingCost";PS.TaskPropertyNames.remainingOvertimeCost="RemainingOvertimeCost";PS.TaskPropertyNames.remainingOvertimeWork="RemainingOvertimeWork";PS.TaskPropertyNames.remainingOvertimeWorkMilliseconds="RemainingOvertimeWorkMilliseconds";PS.TaskPropertyNames.remainingWork="RemainingWork";PS.TaskPropertyNames.remainingWorkMilliseconds="RemainingWorkMilliseconds";PS.TaskPropertyNames.resume="Resume";PS.TaskPropertyNames.scheduleCostVariance="ScheduleCostVariance";PS.TaskPropertyNames.scheduledDuration="ScheduledDuration";PS.TaskPropertyNames.scheduledDurationMilliseconds="ScheduledDurationMilliseconds";PS.TaskPropertyNames.scheduledFinish="ScheduledFinish";PS.TaskPropertyNames.scheduledStart="ScheduledStart";PS.TaskPropertyNames.schedulePerformanceIndex="SchedulePerformanceIndex";PS.TaskPropertyNames.scheduleVariancePercentage="ScheduleVariancePercentage";PS.TaskPropertyNames.startSlack="StartSlack";PS.TaskPropertyNames.startSlackMilliseconds="StartSlackMilliseconds";PS.TaskPropertyNames.startVariance="StartVariance";PS.TaskPropertyNames.startVarianceMilliseconds="StartVarianceMilliseconds";PS.TaskPropertyNames.stop="Stop";PS.TaskPropertyNames.toCompletePerformanceIndex="ToCompletePerformanceIndex";PS.TaskPropertyNames.totalSlack="TotalSlack";PS.TaskPropertyNames.totalSlackMilliseconds="TotalSlackMilliseconds";PS.TaskPropertyNames.workBreakdownStructure="WorkBreakdownStructure";PS.TaskPropertyNames.workVariance="WorkVariance";PS.TaskPropertyNames.workVarianceMilliseconds="WorkVarianceMilliseconds";PS.TaskObjectPropertyNames.customFields="CustomFields";PS.TaskObjectPropertyNames.subProject="SubProject";PS.TaskLinkPropertyNames.id="Id";PS.TimePhasePropertyNames.end="End";PS.TimePhasePropertyNames.start="Start";PS.TimePhaseObjectPropertyNames.assignments="Assignments";PS.TimeSheetPropertyNames.comments="Comments";PS.TimeSheetPropertyNames.entryMode="EntryMode";PS.TimeSheetPropertyNames.id="Id";PS.TimeSheetPropertyNames.isControlledByOwner="IsControlledByOwner";PS.TimeSheetPropertyNames.isProcessed="IsProcessed";PS.TimeSheetPropertyNames.name="Name";PS.TimeSheetPropertyNames.status="Status";PS.TimeSheetPropertyNames.totalActualWork="TotalActualWork";PS.TimeSheetPropertyNames.totalActualWorkMilliseconds="TotalActualWorkMilliseconds";PS.TimeSheetPropertyNames.totalNonBillableOvertimeWork="TotalNonBillableOvertimeWork";PS.TimeSheetPropertyNames.totalNonBillableOvertimeWorkMilliseconds="TotalNonBillableOvertimeWorkMilliseconds";PS.TimeSheetPropertyNames.totalNonBillableWork="TotalNonBillableWork";PS.TimeSheetPropertyNames.totalNonBillableWorkMilliseconds="TotalNonBillableWorkMilliseconds";PS.TimeSheetPropertyNames.totalOvertimeWork="TotalOvertimeWork";PS.TimeSheetPropertyNames.totalOvertimeWorkMilliseconds="TotalOvertimeWorkMilliseconds";PS.TimeSheetPropertyNames.totalWork="TotalWork";PS.TimeSheetPropertyNames.totalWorkMilliseconds="TotalWorkMilliseconds";PS.TimeSheetPropertyNames.weekStartsOn="WeekStartsOn";PS.TimeSheetObjectPropertyNames.creator="Creator";PS.TimeSheetObjectPropertyNames.lines="Lines";PS.TimeSheetObjectPropertyNames.manager="Manager";PS.TimeSheetObjectPropertyNames.period="Period";PS.TimeSheetLinePropertyNames.comment="Comment";PS.TimeSheetLinePropertyNames.id="Id";PS.TimeSheetLinePropertyNames.lineClass="LineClass";PS.TimeSheetLinePropertyNames.projectName="ProjectName";PS.TimeSheetLinePropertyNames.status="Status";PS.TimeSheetLinePropertyNames.taskName="TaskName";PS.TimeSheetLinePropertyNames.totalWork="TotalWork";PS.TimeSheetLinePropertyNames.totalWorkMilliseconds="TotalWorkMilliseconds";PS.TimeSheetLinePropertyNames.validationType="ValidationType";PS.TimeSheetLineObjectPropertyNames.assignment="Assignment";PS.TimeSheetLineObjectPropertyNames.timeSheet="TimeSheet";PS.TimeSheetLineObjectPropertyNames.work="Work";PS.TimeSheetPeriodPropertyNames.end="End";PS.TimeSheetPeriodPropertyNames.id="Id";PS.TimeSheetPeriodPropertyNames.name="Name";PS.TimeSheetPeriodPropertyNames.start="Start";PS.TimeSheetPeriodObjectPropertyNames.timeSheet="TimeSheet";PS.TimeSheetWorkPropertyNames.actualWork="ActualWork";PS.TimeSheetWorkPropertyNames.actualWorkMilliseconds="ActualWorkMilliseconds";PS.TimeSheetWorkPropertyNames.comment="Comment";PS.TimeSheetWorkPropertyNames.end="End";PS.TimeSheetWorkPropertyNames.id="Id";PS.TimeSheetWorkPropertyNames.nonBillableOvertimeWork="NonBillableOvertimeWork";PS.TimeSheetWorkPropertyNames.nonBillableOvertimeWorkMilliseconds="NonBillableOvertimeWorkMilliseconds";PS.TimeSheetWorkPropertyNames.nonBillableWork="NonBillableWork";PS.TimeSheetWorkPropertyNames.nonBillableWorkMilliseconds="NonBillableWorkMilliseconds";PS.TimeSheetWorkPropertyNames.overtimeWork="OvertimeWork";PS.TimeSheetWorkPropertyNames.overtimeWorkMilliseconds="OvertimeWorkMilliseconds";PS.TimeSheetWorkPropertyNames.plannedWork="PlannedWork";PS.TimeSheetWorkPropertyNames.plannedWorkMilliseconds="PlannedWorkMilliseconds";PS.TimeSheetWorkPropertyNames.start="Start";PS.WorkflowDesignerObjectPropertyNames.fields="Fields";PS.WorkflowDesignerFieldPropertyNames.displayName="DisplayName";PS.WorkflowDesignerFieldPropertyNames.id="Id";PS.WorkflowDesignerFieldPropertyNames.isLookupField="IsLookupField";PS.WorkflowDesignerFieldPropertyNames.isReadOnly="IsReadOnly";PS.WorkflowDesignerFieldPropertyNames.spFieldType="SPFieldType";PS.WorkflowDesignerFieldObjectPropertyNames.lookupEntries="LookupEntries";typeof Sys!="undefined"&&Sys&&Sys.Application&&Sys.Application.notifyScriptLoaded();ExecuteOrDelayUntilScriptLoaded(function(){a:;NotifyScriptLoadedAndExecuteWaitingJobs("ps.js")},"sp.js");