@microsoft/office-js
Version:
Office JavaScript Library ESM Module for Excel/Word/PowerPoint/Outlook
7 lines • 192 kB
JavaScript
import{OfficeCore,OfficeExtension}from"./officebase.js";var PowerPoint,__extends=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();!function(t){var e="PowerPoint",n="PowerPointApi",r=OfficeExtension.BatchApiHelper.createPropertyObject,i=OfficeExtension.BatchApiHelper.createMethodObject,o=OfficeExtension.BatchApiHelper.createIndexerObject,l=(OfficeExtension.BatchApiHelper.createRootServiceObject,OfficeExtension.BatchApiHelper.createTopLevelServiceObject),s=OfficeExtension.BatchApiHelper.createChildItemObject,u=OfficeExtension.BatchApiHelper.invokeMethod,a=OfficeExtension.BatchApiHelper.invokeEnsureUnchanged,c=OfficeExtension.BatchApiHelper.invokeSetProperty,p=OfficeExtension.Utility.isNullOrUndefined,h=OfficeExtension.Utility.isUndefined,f=OfficeExtension.Utility.throwIfNotLoaded,y=OfficeExtension.Utility.throwIfApiNotSupported,d=OfficeExtension.Utility.load,g=OfficeExtension.Utility.retrieve,b=OfficeExtension.Utility.toJson,m=OfficeExtension.Utility.fixObjectPathIfNecessary,_=OfficeExtension.Utility._handleNavigationPropertyResults,C=OfficeExtension.Utility.adjustToDateTime,O=OfficeExtension.Utility.processRetrieveResult,S=OfficeExtension.Utility.setMockData,P=(OfficeExtension.CommonUtility.calculateApiFlags,function(r){function i(){return null!==r&&r.apply(this,arguments)||this}return __extends(i,r),Object.defineProperty(i.prototype,"_className",{get:function(){return"Application"},enumerable:!0,configurable:!0}),i.prototype.insertHyperLink=function(t,r){y("Application.insertHyperLink",n,"1.1",e),u(this,"InsertHyperLink",0,[t,r],1,0)},i.prototype.insertSlideFromContent=function(t){return y("Application.insertSlideFromContent",n,"1.1",e),u(this,"InsertSlideFromContent",0,[t],1,0)},i.prototype._handleResult=function(t){(r.prototype._handleResult.call(this,t),p(t))||m(this,t)},i.prototype._handleRetrieveResult=function(t,e){r.prototype._handleRetrieveResult.call(this,t,e),O(this,t,e)},i.newObject=function(e){return l(t.Application,e,"Microsoft.Office.PowerPoint.Application",!1,4)},i.prototype.toJSON=function(){return b(this,{},{})},i}(OfficeExtension.ClientObject));t.Application=P;var R="SensitivityLabelsCatalog",j=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return __extends(n,e),Object.defineProperty(n.prototype,"_className",{get:function(){return"SensitivityLabelsCatalog"},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_scalarPropertyNames",{get:function(){return["getLabelingCapability","getLabelingCapabilities"]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_scalarPropertyOriginalNames",{get:function(){return["GetLabelingCapability","GetLabelingCapabilities"]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"getLabelingCapabilities",{get:function(){return f("getLabelingCapabilities",this._G,R,this._isNull),this._G},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"getLabelingCapability",{get:function(){return f("getLabelingCapability",this._Ge,R,this._isNull),this._Ge},enumerable:!0,configurable:!0}),n.prototype.getAttributes=function(){return u(this,"GetAttributes",1,[],4,0)},n.prototype.getLabels=function(){return i(t.SensitivityLabelDetailsCollection,this,"GetLabels",1,[],!0,!1,null,4)},n.prototype._handleResult=function(t){if(e.prototype._handleResult.call(this,t),!p(t)){var n=t;m(this,n),h(n.GetLabelingCapabilities)||(this._G=n.GetLabelingCapabilities),h(n.GetLabelingCapability)||(this._Ge=n.GetLabelingCapability)}},n.prototype.load=function(t){return d(this,t)},n.prototype.retrieve=function(t){return g(this,t)},n.prototype._handleRetrieveResult=function(t,n){e.prototype._handleRetrieveResult.call(this,t,n),O(this,t,n)},n.newObject=function(e){return l(t.SensitivityLabelsCatalog,e,"Microsoft.Office.PowerPoint.SensitivityLabelsCatalog",!1,4)},n.prototype.toJSON=function(){return b(this,{},{})},n.prototype.setMockData=function(t){S(this,t)},n.prototype.ensureUnchanged=function(t){a(this,t)},n}(OfficeExtension.ClientObject);t.SensitivityLabelsCatalog=j;var v="Presentation",A=function(o){function l(){return null!==o&&o.apply(this,arguments)||this}return __extends(l,o),Object.defineProperty(l.prototype,"_className",{get:function(){return"Presentation"},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"_scalarPropertyNames",{get:function(){return["title","id"]},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"_scalarPropertyOriginalNames",{get:function(){return["Title","Id"]},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"_navigationPropertyNames",{get:function(){return["slides","slideMasters","tags","bindings","customXmlParts","properties","pageSetup","sensitivityLabel","experiment"]},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"bindings",{get:function(){return y("Presentation.bindings",n,"1.8",e),this._B||(this._B=r(t.BindingCollection,this,"Bindings",!0,4)),this._B},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"customXmlParts",{get:function(){return y("Presentation.customXmlParts",n,"1.7",e),this._C||(this._C=r(t.CustomXmlPartCollection,this,"CustomXmlParts",!0,4)),this._C},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"experiment",{get:function(){return y("Presentation.experiment",n,"99.9",e),this._E||(this._E=r(t.Experiment,this,"Experiment",!1,5)),this._E},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"pageSetup",{get:function(){return y("Presentation.pageSetup",n,"1.10",e),this._P||(this._P=r(t.PageSetup,this,"PageSetup",!1,4)),this._P},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"properties",{get:function(){return y("Presentation.properties",n,"1.7",e),this._Pr||(this._Pr=r(t.DocumentProperties,this,"Properties",!1,4)),this._Pr},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"sensitivityLabel",{get:function(){return y("Presentation.sensitivityLabel",n,"1.11",e),this._S||(this._S=r(t.SensitivityLabel,this,"SensitivityLabel",!1,4)),this._S},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"slideMasters",{get:function(){return y("Presentation.slideMasters",n,"1.3",e),this._Sl||(this._Sl=r(t.SlideMasterCollection,this,"SlideMasters",!0,4)),this._Sl},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"slides",{get:function(){return y("Presentation.slides",n,"1.2",e),this._Sli||(this._Sli=r(t.SlideCollection,this,"Slides",!0,4)),this._Sli},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"tags",{get:function(){return y("Presentation.tags",n,"1.3",e),this._T||(this._T=r(t.TagCollection,this,"Tags",!0,4)),this._T},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"id",{get:function(){return f("id",this._I,v,this._isNull),y("Presentation.id",n,"1.5",e),this._I},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"title",{get:function(){return f("title",this._Ti,v,this._isNull),this._Ti},enumerable:!0,configurable:!0}),l.prototype.applyJOfcCommands=function(t,n){return y("Presentation.applyJOfcCommands","PptCopilotActionApi","1.0",e),u(this,"ApplyJOfcCommands",0,[t,n],1,0)},l.prototype.applyJOfcCommandsAsync=function(t,n){return y("Presentation.applyJOfcCommandsAsync","PptCopilotActionApi","1.0",e),u(this,"ApplyJOfcCommandsAsync",0,[t,n],1,0)},l.prototype.autorunEventCompleted=function(t){y("Presentation.autorunEventCompleted",n,"99.9",e),u(this,"AutorunEventCompleted",0,[t],0,0)},l.prototype.copilotAction=function(t,n){return y("Presentation.copilotAction","PptCopilotActionApi","1.1",e),u(this,"CopilotAction",0,[t,n],1,0)},l.prototype.copilotActionAsync=function(t,n){return y("Presentation.copilotActionAsync","PptCopilotActionApi","1.1",e),u(this,"CopilotActionAsync",0,[t,n],1,0)},l.prototype.getActiveSlideOrNullObject=function(){return y("Presentation.getActiveSlideOrNullObject",n,"1.11",e),i(t.Slide,this,"GetActiveSlideOrNullObject",0,[],!1,!1,null,0)},l.prototype.getSelectedShapes=function(){return y("Presentation.getSelectedShapes",n,"1.5",e),i(t.ShapeScopedCollection,this,"GetSelectedShapes",0,[],!0,!1,null,0)},l.prototype.getSelectedSlides=function(){return y("Presentation.getSelectedSlides",n,"1.5",e),i(t.SlideScopedCollection,this,"GetSelectedSlides",0,[],!0,!1,null,0)},l.prototype.getSelectedTextRange=function(){return y("Presentation.getSelectedTextRange",n,"1.5",e),i(t.TextRange,this,"GetSelectedTextRange",0,[],!1,!1,null,0)},l.prototype.getSelectedTextRangeOrNullObject=function(){return y("Presentation.getSelectedTextRangeOrNullObject",n,"1.5",e),i(t.TextRange,this,"GetSelectedTextRangeOrNullObject",0,[],!1,!1,null,0)},l.prototype.insertSlidesFromBase64=function(t,r){y("Presentation.insertSlidesFromBase64",n,"1.2",e),u(this,"InsertSlidesFromBase64",0,[t,r],0,0)},l.prototype.setSelectedSlides=function(t){y("Presentation.setSelectedSlides",n,"1.5",e),u(this,"SetSelectedSlides",0,[t],0,0)},l.prototype._RegisterEvent=function(t,e){u(this,"_RegisterEvent",1,[t,e],4,0)},l.prototype._RegisterEventApplyJOfcCommandsCompleted=function(){y("Presentation._RegisterEventApplyJOfcCommandsCompleted","PptCopilotActionApi","1.0",e),u(this,"_RegisterEventApplyJOfcCommandsCompleted",0,[],0,0)},l.prototype._RegisterEventCopilotActionCompleted=function(){y("Presentation._RegisterEventCopilotActionCompleted","PptCopilotActionApi","1.1",e),u(this,"_RegisterEventCopilotActionCompleted",0,[],0,0)},l.prototype._RegisterEventShapeSelectionChanged=function(){y("Presentation._RegisterEventShapeSelectionChanged",n,"99.9",e),u(this,"_RegisterEventShapeSelectionChanged",0,[],0,0)},l.prototype._RegisterEventSlideSelectionChanged=function(){y("Presentation._RegisterEventSlideSelectionChanged",n,"1.11",e),u(this,"_RegisterEventSlideSelectionChanged",0,[],0,0)},l.prototype._UnregisterEvent=function(t,e){u(this,"_UnregisterEvent",1,[t,e],4,0)},l.prototype._UnregisterEventApplyJOfcCommandsCompleted=function(){y("Presentation._UnregisterEventApplyJOfcCommandsCompleted","PptCopilotActionApi","1.0",e),u(this,"_UnregisterEventApplyJOfcCommandsCompleted",0,[],0,0)},l.prototype._UnregisterEventCopilotActionCompleted=function(){y("Presentation._UnregisterEventCopilotActionCompleted","PptCopilotActionApi","1.1",e),u(this,"_UnregisterEventCopilotActionCompleted",0,[],0,0)},l.prototype._UnregisterEventShapeSelectionChanged=function(){y("Presentation._UnregisterEventShapeSelectionChanged",n,"99.9",e),u(this,"_UnregisterEventShapeSelectionChanged",0,[],0,0)},l.prototype._UnregisterEventSlideSelectionChanged=function(){y("Presentation._UnregisterEventSlideSelectionChanged",n,"1.11",e),u(this,"_UnregisterEventSlideSelectionChanged",0,[],0,0)},l.prototype._handleResult=function(t){if(o.prototype._handleResult.call(this,t),!p(t)){var e=t;m(this,e),h(e.Id)||(this._I=e.Id),h(e.Title)||(this._Ti=e.Title),_(this,e,["bindings","Bindings","customXmlParts","CustomXmlParts","experiment","Experiment","pageSetup","PageSetup","properties","Properties","sensitivityLabel","SensitivityLabel","slideMasters","SlideMasters","slides","Slides","tags","Tags"])}},l.prototype.load=function(t){return d(this,t)},l.prototype.retrieve=function(t){return g(this,t)},l.prototype._handleIdResult=function(t){o.prototype._handleIdResult.call(this,t),p(t)||h(t.Id)||(this._I=t.Id)},l.prototype._handleRetrieveResult=function(t,e){o.prototype._handleRetrieveResult.call(this,t,e),O(this,t,e)},Object.defineProperty(l.prototype,"onApplyJOfcCommandsCompleted",{get:function(){var t=this;return y("Presentation.onApplyJOfcCommandsCompleted","PptCopilotActionApi","1.0",e),this.m_applyJOfcCommandsCompleted||(this.m_applyJOfcCommandsCompleted=new OfficeExtension.GenericEventHandlers(this.context,this,"ApplyJOfcCommandsCompleted",{eventType:1,registerFunc:function(){return t._RegisterEventApplyJOfcCommandsCompleted()},unregisterFunc:function(){return t._UnregisterEventApplyJOfcCommandsCompleted()},getTargetIdFunc:function(){return t.id},eventArgsTransformFunc:function(t){var e={requestId:t.requestId,result:t.result};return OfficeExtension.Utility._createPromiseFromResult(e)}})),this.m_applyJOfcCommandsCompleted},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"onCopilotActionCompleted",{get:function(){var t=this;return y("Presentation.onCopilotActionCompleted","PptCopilotActionApi","1.1",e),this.m_copilotActionCompleted||(this.m_copilotActionCompleted=new OfficeExtension.GenericEventHandlers(this.context,this,"CopilotActionCompleted",{eventType:2,registerFunc:function(){return t._RegisterEventCopilotActionCompleted()},unregisterFunc:function(){return t._UnregisterEventCopilotActionCompleted()},getTargetIdFunc:function(){return t.id},eventArgsTransformFunc:function(t){var e={requestId:t.requestId,result:t.result};return OfficeExtension.Utility._createPromiseFromResult(e)}})),this.m_copilotActionCompleted},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"onShapeSelectionChanged",{get:function(){var t=this;return y("Presentation.onShapeSelectionChanged",n,"99.9",e),this.m_shapeSelectionChanged||(this.m_shapeSelectionChanged=new OfficeExtension.GenericEventHandlers(this.context,this,"ShapeSelectionChanged",{eventType:4,registerFunc:function(){return t._RegisterEventShapeSelectionChanged()},unregisterFunc:function(){return t._UnregisterEventShapeSelectionChanged()},getTargetIdFunc:function(){return t.id},eventArgsTransformFunc:function(t){var e={shapeIds:t.shapeIds,slideId:t.slideId};return OfficeExtension.Utility._createPromiseFromResult(e)}})),this.m_shapeSelectionChanged},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"onSlideSelectionChanged",{get:function(){var t=this;return y("Presentation.onSlideSelectionChanged",n,"1.11",e),this.m_slideSelectionChanged||(this.m_slideSelectionChanged=new OfficeExtension.GenericEventHandlers(this.context,this,"SlideSelectionChanged",{eventType:3,registerFunc:function(){return t._RegisterEventSlideSelectionChanged()},unregisterFunc:function(){return t._UnregisterEventSlideSelectionChanged()},getTargetIdFunc:function(){return t.id},eventArgsTransformFunc:function(t){var e={slideIds:t.slideIds};return OfficeExtension.Utility._createPromiseFromResult(e)}})),this.m_slideSelectionChanged},enumerable:!0,configurable:!0}),l.prototype.toJSON=function(){return b(this,{title:this._Ti},{})},l.prototype.setMockData=function(t){S(this,t)},l.prototype.ensureUnchanged=function(t){a(this,t)},l}(OfficeExtension.ClientObject);t.Presentation=A;var T=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),Object.defineProperty(e.prototype,"_className",{get:function(){return"Adjustments"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyNames",{get:function(){return["count"]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyOriginalNames",{get:function(){return["Count"]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"count",{get:function(){return f("count",this._C,"Adjustments",this._isNull),this._C},enumerable:!0,configurable:!0}),e.prototype.get=function(t){return u(this,"Get",1,[t],4,0)},e.prototype.set=function(t,e){u(this,"Set",0,[t,e],0,0)},e.prototype._handleResult=function(e){if(t.prototype._handleResult.call(this,e),!p(e)){var n=e;m(this,n),h(n.Count)||(this._C=n.Count)}},e.prototype.load=function(t){return d(this,t)},e.prototype.retrieve=function(t){return g(this,t)},e.prototype._handleRetrieveResult=function(e,n){t.prototype._handleRetrieveResult.call(this,e,n),O(this,e,n)},e.prototype.toJSON=function(){return b(this,{},{})},e.prototype.setMockData=function(t){S(this,t)},e.prototype.ensureUnchanged=function(t){a(this,t)},e}(OfficeExtension.ClientObject);t.Adjustments=T,function(t){t.unknown="Unknown",t.onDocumentSave="OnDocumentSave",t.onDocumentSaveAs="OnDocumentSaveAs"}(t.AutorunEventType||(t.AutorunEventType={})),function(t){t.shape="Shape"}(t.BindingType||(t.BindingType={}));var N="CustomXmlPart",x=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),Object.defineProperty(e.prototype,"_className",{get:function(){return"CustomXmlPart"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyNames",{get:function(){return["id","namespaceUri"]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyOriginalNames",{get:function(){return["Id","NamespaceUri"]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return f("id",this._I,N,this._isNull),this._I},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"namespaceUri",{get:function(){return f("namespaceUri",this._N,N,this._isNull),this._N},enumerable:!0,configurable:!0}),e.prototype.delete=function(){u(this,"Delete",0,[],0,0)},e.prototype.getXml=function(){return u(this,"GetXml",1,[],4,0)},e.prototype.setXml=function(t){u(this,"SetXml",0,[t],0,0)},e.prototype._handleResult=function(e){if(t.prototype._handleResult.call(this,e),!p(e)){var n=e;m(this,n),h(n.Id)||(this._I=n.Id),h(n.NamespaceUri)||(this._N=n.NamespaceUri)}},e.prototype.load=function(t){return d(this,t)},e.prototype.retrieve=function(t){return g(this,t)},e.prototype._handleIdResult=function(e){t.prototype._handleIdResult.call(this,e),p(e)||h(e.Id)||(this._I=e.Id)},e.prototype._handleRetrieveResult=function(e,n){t.prototype._handleRetrieveResult.call(this,e,n),O(this,e,n)},e.prototype.toJSON=function(){return b(this,{},{})},e.prototype.setMockData=function(t){S(this,t)},e.prototype.ensureUnchanged=function(t){a(this,t)},e}(OfficeExtension.ClientObject);t.CustomXmlPart=x;var I=function(r){function l(){return null!==r&&r.apply(this,arguments)||this}return __extends(l,r),Object.defineProperty(l.prototype,"_className",{get:function(){return"CustomXmlPartScopedCollection"},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"_isCollection",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"items",{get:function(){return f("items",this.m__items,"CustomXmlPartScopedCollection",this._isNull),this.m__items},enumerable:!0,configurable:!0}),l.prototype.getCount=function(){return u(this,"GetCount",1,[],4,0)},l.prototype.getItem=function(e){return o(t.CustomXmlPart,this,[e])},l.prototype.getItemAt=function(r){return y("CustomXmlPartScopedCollection.getItemAt",n,"1.10",e),i(t.CustomXmlPart,this,"GetItemAt",1,[r],!1,!1,null,4)},l.prototype.getItemOrNullObject=function(e){return i(t.CustomXmlPart,this,"GetItemOrNullObject",1,[e],!1,!1,null,4)},l.prototype.getOnlyItem=function(){return i(t.CustomXmlPart,this,"GetOnlyItem",1,[],!1,!1,null,4)},l.prototype.getOnlyItemOrNullObject=function(){return i(t.CustomXmlPart,this,"GetOnlyItemOrNullObject",1,[],!1,!1,null,4)},l.prototype._handleResult=function(e){if(r.prototype._handleResult.call(this,e),!p(e)){var n=e;if(m(this,n),!p(n[OfficeExtension.Constants.items])){this.m__items=[];for(var i=n[OfficeExtension.Constants.items],o=0;o<i.length;o++){var l=s(t.CustomXmlPart,!0,this,i[o],o);l._handleResult(i[o]),this.m__items.push(l)}}}},l.prototype.load=function(t){return d(this,t)},l.prototype.retrieve=function(t){return g(this,t)},l.prototype._handleRetrieveResult=function(e,n){var i=this;r.prototype._handleRetrieveResult.call(this,e,n),O(this,e,n,(function(e,n){return s(t.CustomXmlPart,!0,i,e,n)}))},l.prototype.toJSON=function(){return b(this,{},{},this.m__items)},l.prototype.setMockData=function(e){var n=this;S(this,e,(function(e,r){return s(t.CustomXmlPart,!0,n,e,r)}),(function(t){return n.m__items=t}))},l}(OfficeExtension.ClientObject);t.CustomXmlPartScopedCollection=I;var D=function(r){function l(){return null!==r&&r.apply(this,arguments)||this}return __extends(l,r),Object.defineProperty(l.prototype,"_className",{get:function(){return"CustomXmlPartCollection"},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"_isCollection",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"items",{get:function(){return f("items",this.m__items,"CustomXmlPartCollection",this._isNull),this.m__items},enumerable:!0,configurable:!0}),l.prototype.add=function(e){return i(t.CustomXmlPart,this,"Add",0,[e],!1,!0,null,0)},l.prototype.getByNamespace=function(e){return i(t.CustomXmlPartScopedCollection,this,"GetByNamespace",1,[e],!0,!1,null,4)},l.prototype.getCount=function(){return u(this,"GetCount",1,[],4,0)},l.prototype.getItem=function(e){return o(t.CustomXmlPart,this,[e])},l.prototype.getItemAt=function(r){return y("CustomXmlPartCollection.getItemAt",n,"1.10",e),i(t.CustomXmlPart,this,"GetItemAt",1,[r],!1,!1,null,4)},l.prototype.getItemOrNullObject=function(e){return i(t.CustomXmlPart,this,"GetItemOrNullObject",1,[e],!1,!1,null,4)},l.prototype._handleResult=function(e){if(r.prototype._handleResult.call(this,e),!p(e)){var n=e;if(m(this,n),!p(n[OfficeExtension.Constants.items])){this.m__items=[];for(var i=n[OfficeExtension.Constants.items],o=0;o<i.length;o++){var l=s(t.CustomXmlPart,!0,this,i[o],o);l._handleResult(i[o]),this.m__items.push(l)}}}},l.prototype.load=function(t){return d(this,t)},l.prototype.retrieve=function(t){return g(this,t)},l.prototype._handleRetrieveResult=function(e,n){var i=this;r.prototype._handleRetrieveResult.call(this,e,n),O(this,e,n,(function(e,n){return s(t.CustomXmlPart,!0,i,e,n)}))},l.prototype.toJSON=function(){return b(this,{},{},this.m__items)},l.prototype.setMockData=function(e){var n=this;S(this,e,(function(e,r){return s(t.CustomXmlPart,!0,n,e,r)}),(function(t){return n.m__items=t}))},l}(OfficeExtension.ClientObject);t.CustomXmlPartCollection=D;var k=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return __extends(n,e),Object.defineProperty(n.prototype,"_className",{get:function(){return"Graphic"},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_navigationPropertyNames",{get:function(){return["shape"]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"shape",{get:function(){return this._S||(this._S=r(t.Shape,this,"Shape",!1,4)),this._S},enumerable:!0,configurable:!0}),n.prototype.convertToShape=function(){return i(t.ShapeScopedCollection,this,"ConvertToShape",0,[],!0,!1,null,0)},n.prototype._handleResult=function(t){if(e.prototype._handleResult.call(this,t),!p(t)){var n=t;m(this,n),_(this,n,["shape","Shape"])}},n.prototype.load=function(t){return d(this,t)},n.prototype.retrieve=function(t){return g(this,t)},n.prototype._handleRetrieveResult=function(t,n){e.prototype._handleRetrieveResult.call(this,t,n),O(this,t,n)},n.prototype.toJSON=function(){return b(this,{},{})},n.prototype.setMockData=function(t){S(this,t)},n.prototype.ensureUnchanged=function(t){a(this,t)},n}(OfficeExtension.ClientObject);t.Graphic=k;var w=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return __extends(n,e),Object.defineProperty(n.prototype,"_className",{get:function(){return"HyperlinkScopedCollection"},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_isCollection",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"items",{get:function(){return f("items",this.m__items,"HyperlinkScopedCollection",this._isNull),this.m__items},enumerable:!0,configurable:!0}),n.prototype.getCount=function(){return u(this,"GetCount",1,[],4,0)},n.prototype.getItemAt=function(e){return i(t.Hyperlink,this,"GetItemAt",1,[e],!1,!1,null,4)},n.prototype._handleResult=function(n){if(e.prototype._handleResult.call(this,n),!p(n)){var r=n;if(m(this,r),!p(r[OfficeExtension.Constants.items])){this.m__items=[];for(var i=r[OfficeExtension.Constants.items],o=0;o<i.length;o++){var l=s(t.Hyperlink,!1,this,i[o],o);l._handleResult(i[o]),this.m__items.push(l)}}}},n.prototype.load=function(t){return d(this,t)},n.prototype.retrieve=function(t){return g(this,t)},n.prototype._handleRetrieveResult=function(n,r){var i=this;e.prototype._handleRetrieveResult.call(this,n,r),O(this,n,r,(function(e,n){return s(t.Hyperlink,!1,i,e,n)}))},n.prototype.toJSON=function(){return b(this,{},{},this.m__items)},n.prototype.setMockData=function(e){var n=this;S(this,e,(function(e,r){return s(t.Hyperlink,!1,n,e,r)}),(function(t){return n.m__items=t}))},n}(OfficeExtension.ClientObject);t.HyperlinkScopedCollection=w,function(t){t.left="Left",t.center="Center",t.right="Right",t.justify="Justify",t.justifyLow="JustifyLow",t.distributed="Distributed",t.thaiDistributed="ThaiDistributed"}(t.ParagraphHorizontalAlignment||(t.ParagraphHorizontalAlignment={})),function(t){t.unsupported="Unsupported",t.alphabetLowercasePeriod="AlphabetLowercasePeriod",t.alphabetUppercasePeriod="AlphabetUppercasePeriod",t.arabicNumeralParenthesisRight="ArabicNumeralParenthesisRight",t.arabicNumeralPeriod="ArabicNumeralPeriod",t.romanLowercaseParenthesesBoth="RomanLowercaseParenthesesBoth",t.romanLowercaseParenthesisRight="RomanLowercaseParenthesisRight",t.romanLowercasePeriod="RomanLowercasePeriod",t.romanUppercasePeriod="RomanUppercasePeriod",t.alphabetLowercaseParenthesesBoth="AlphabetLowercaseParenthesesBoth",t.alphabetLowercaseParenthesisRight="AlphabetLowercaseParenthesisRight",t.alphabetUppercaseParenthesesBoth="AlphabetUppercaseParenthesesBoth",t.alphabetUppercaseParenthesisRight="AlphabetUppercaseParenthesisRight",t.arabicNumeralParenthesesBoth="ArabicNumeralParenthesesBoth",t.arabicNumeralPlain="ArabicNumeralPlain",t.romanUppercaseParenthesesBoth="RomanUppercaseParenthesesBoth",t.romanUppercaseParenthesisRight="RomanUppercaseParenthesisRight",t.simplifiedChinesePlain="SimplifiedChinesePlain",t.simplifiedChinesePeriod="SimplifiedChinesePeriod",t.circleNumberDoubleBytePlain="CircleNumberDoubleBytePlain",t.circleNumberWideDoubleByteWhitePlain="CircleNumberWideDoubleByteWhitePlain",t.circleNumberWideDoubleByteBlackPlain="CircleNumberWideDoubleByteBlackPlain",t.traditionalChinesePlain="TraditionalChinesePlain",t.traditionalChinesePeriod="TraditionalChinesePeriod",t.arabicAlphabetDash="ArabicAlphabetDash",t.arabicAbjadDash="ArabicAbjadDash",t.hebrewAlphabetDash="HebrewAlphabetDash",t.kanjiKoreanPlain="KanjiKoreanPlain",t.kanjiKoreanPeriod="KanjiKoreanPeriod",t.arabicDoubleBytePlain="ArabicDoubleBytePlain",t.arabicDoubleBytePeriod="ArabicDoubleBytePeriod",t.thaiAlphabetPeriod="ThaiAlphabetPeriod",t.thaiAlphabetParenthesisRight="ThaiAlphabetParenthesisRight",t.thaiAlphabetParenthesesBoth="ThaiAlphabetParenthesesBoth",t.thaiNumeralPeriod="ThaiNumeralPeriod",t.thaiNumeralParenthesisRight="ThaiNumeralParenthesisRight",t.thaiNumeralParenthesesBoth="ThaiNumeralParenthesesBoth",t.hindiAlphabetPeriod="HindiAlphabetPeriod",t.hindiNumeralPeriod="HindiNumeralPeriod",t.kanjiSimplifiedChineseDoubleBytePeriod="KanjiSimplifiedChineseDoubleBytePeriod",t.hindiNumeralParenthesisRight="HindiNumeralParenthesisRight",t.hindiAlphabet1Period="HindiAlphabet1Period"}(t.BulletStyle||(t.BulletStyle={})),function(t){t.unsupported="Unsupported",t.none="None",t.numbered="Numbered",t.unnumbered="Unnumbered"}(t.BulletType||(t.BulletType={}));var B="BulletFormat",F=function(t){function r(){return null!==t&&t.apply(this,arguments)||this}return __extends(r,t),Object.defineProperty(r.prototype,"_className",{get:function(){return"BulletFormat"},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"_scalarPropertyNames",{get:function(){return["visible","style","type"]},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"_scalarPropertyOriginalNames",{get:function(){return["Visible","Style","Type"]},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"_scalarPropertyUpdateable",{get:function(){return[!0,!0,!0]},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"style",{get:function(){return f("style",this._S,B,this._isNull),y("BulletFormat.style",n,"1.10",e),this._S},set:function(t){this._S=t,c(this,"Style",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"type",{get:function(){return f("type",this._T,B,this._isNull),y("BulletFormat.type",n,"1.10",e),this._T},set:function(t){this._T=t,c(this,"Type",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"visible",{get:function(){return f("visible",this._V,B,this._isNull),this._V},set:function(t){this._V=t,c(this,"Visible",t,0)},enumerable:!0,configurable:!0}),r.prototype._handleResult=function(e){if(t.prototype._handleResult.call(this,e),!p(e)){var n=e;m(this,n),h(n.Style)||(this._S=n.Style),h(n.Type)||(this._T=n.Type),h(n.Visible)||(this._V=n.Visible)}},r.prototype.load=function(t){return d(this,t)},r.prototype.retrieve=function(t){return g(this,t)},r.prototype._handleRetrieveResult=function(e,n){t.prototype._handleRetrieveResult.call(this,e,n),O(this,e,n)},r.prototype.toJSON=function(){return b(this,{},{})},r.prototype.setMockData=function(t){S(this,t)},r.prototype.ensureUnchanged=function(t){a(this,t)},r}(OfficeExtension.ClientObject);t.BulletFormat=F;var L="ParagraphFormat",M=function(i){function o(){return null!==i&&i.apply(this,arguments)||this}return __extends(o,i),Object.defineProperty(o.prototype,"_className",{get:function(){return"ParagraphFormat"},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"_scalarPropertyNames",{get:function(){return["horizontalAlignment","indentLevel"]},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"_scalarPropertyOriginalNames",{get:function(){return["HorizontalAlignment","IndentLevel"]},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"_scalarPropertyUpdateable",{get:function(){return[!0,!0]},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"_navigationPropertyNames",{get:function(){return["bulletFormat"]},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"bulletFormat",{get:function(){return this._B||(this._B=r(t.BulletFormat,this,"BulletFormat",!1,4)),this._B},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"horizontalAlignment",{get:function(){return f("horizontalAlignment",this._H,L,this._isNull),this._H},set:function(t){this._H=t,c(this,"HorizontalAlignment",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"indentLevel",{get:function(){return f("indentLevel",this._I,L,this._isNull),y("ParagraphFormat.indentLevel",n,"1.10",e),this._I},set:function(t){this._I=t,c(this,"IndentLevel",t,0)},enumerable:!0,configurable:!0}),o.prototype._handleResult=function(t){if(i.prototype._handleResult.call(this,t),!p(t)){var e=t;m(this,e),h(e.HorizontalAlignment)||(this._H=e.HorizontalAlignment),h(e.IndentLevel)||(this._I=e.IndentLevel),_(this,e,["bulletFormat","BulletFormat"])}},o.prototype.load=function(t){return d(this,t)},o.prototype.retrieve=function(t){return g(this,t)},o.prototype._handleRetrieveResult=function(t,e){i.prototype._handleRetrieveResult.call(this,t,e),O(this,t,e)},o.prototype.toJSON=function(){return b(this,{},{})},o.prototype.setMockData=function(t){S(this,t)},o.prototype.ensureUnchanged=function(t){a(this,t)},o}(OfficeExtension.ClientObject);t.ParagraphFormat=M,function(t){t.none="None",t.single="Single",t.double="Double",t.heavy="Heavy",t.dotted="Dotted",t.dottedHeavy="DottedHeavy",t.dash="Dash",t.dashHeavy="DashHeavy",t.dashLong="DashLong",t.dashLongHeavy="DashLongHeavy",t.dotDash="DotDash",t.dotDashHeavy="DotDashHeavy",t.dotDotDash="DotDotDash",t.dotDotDashHeavy="DotDotDashHeavy",t.wavy="Wavy",t.wavyHeavy="WavyHeavy",t.wavyDouble="WavyDouble"}(t.ShapeFontUnderlineStyle||(t.ShapeFontUnderlineStyle={}));var E="ShapeFont",G=function(t){function r(){return null!==t&&t.apply(this,arguments)||this}return __extends(r,t),Object.defineProperty(r.prototype,"_className",{get:function(){return"ShapeFont"},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"_scalarPropertyNames",{get:function(){return["bold","color","italic","name","size","underline","allCaps","doubleStrikethrough","smallCaps","strikethrough","subscript","superscript"]},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"_scalarPropertyOriginalNames",{get:function(){return["Bold","Color","Italic","Name","Size","Underline","AllCaps","DoubleStrikethrough","SmallCaps","Strikethrough","Subscript","Superscript"]},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"_scalarPropertyUpdateable",{get:function(){return[!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0]},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"allCaps",{get:function(){return f("allCaps",this._A,E,this._isNull),y("ShapeFont.allCaps",n,"1.8",e),this._A},set:function(t){this._A=t,c(this,"AllCaps",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"bold",{get:function(){return f("bold",this._B,E,this._isNull),this._B},set:function(t){this._B=t,c(this,"Bold",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"color",{get:function(){return f("color",this._C,E,this._isNull),this._C},set:function(t){this._C=t,c(this,"Color",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"doubleStrikethrough",{get:function(){return f("doubleStrikethrough",this._D,E,this._isNull),y("ShapeFont.doubleStrikethrough",n,"1.8",e),this._D},set:function(t){this._D=t,c(this,"DoubleStrikethrough",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"italic",{get:function(){return f("italic",this._I,E,this._isNull),this._I},set:function(t){this._I=t,c(this,"Italic",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"name",{get:function(){return f("name",this._N,E,this._isNull),this._N},set:function(t){this._N=t,c(this,"Name",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"size",{get:function(){return f("size",this._S,E,this._isNull),this._S},set:function(t){this._S=t,c(this,"Size",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"smallCaps",{get:function(){return f("smallCaps",this._Sm,E,this._isNull),y("ShapeFont.smallCaps",n,"1.8",e),this._Sm},set:function(t){this._Sm=t,c(this,"SmallCaps",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"strikethrough",{get:function(){return f("strikethrough",this._St,E,this._isNull),y("ShapeFont.strikethrough",n,"1.8",e),this._St},set:function(t){this._St=t,c(this,"Strikethrough",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"subscript",{get:function(){return f("subscript",this._Su,E,this._isNull),y("ShapeFont.subscript",n,"1.8",e),this._Su},set:function(t){this._Su=t,c(this,"Subscript",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"superscript",{get:function(){return f("superscript",this._Sup,E,this._isNull),y("ShapeFont.superscript",n,"1.8",e),this._Sup},set:function(t){this._Sup=t,c(this,"Superscript",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"underline",{get:function(){return f("underline",this._U,E,this._isNull),this._U},set:function(t){this._U=t,c(this,"Underline",t,0)},enumerable:!0,configurable:!0}),r.prototype._handleResult=function(e){if(t.prototype._handleResult.call(this,e),!p(e)){var n=e;m(this,n),h(n.AllCaps)||(this._A=n.AllCaps),h(n.Bold)||(this._B=n.Bold),h(n.Color)||(this._C=n.Color),h(n.DoubleStrikethrough)||(this._D=n.DoubleStrikethrough),h(n.Italic)||(this._I=n.Italic),h(n.Name)||(this._N=n.Name),h(n.Size)||(this._S=n.Size),h(n.SmallCaps)||(this._Sm=n.SmallCaps),h(n.Strikethrough)||(this._St=n.Strikethrough),h(n.Subscript)||(this._Su=n.Subscript),h(n.Superscript)||(this._Sup=n.Superscript),h(n.Underline)||(this._U=n.Underline)}},r.prototype.load=function(t){return d(this,t)},r.prototype.retrieve=function(t){return g(this,t)},r.prototype._handleRetrieveResult=function(e,n){t.prototype._handleRetrieveResult.call(this,e,n),O(this,e,n)},r.prototype.toJSON=function(){return b(this,{},{})},r.prototype.setMockData=function(t){S(this,t)},r.prototype.ensureUnchanged=function(t){a(this,t)},r}(OfficeExtension.ClientObject);t.ShapeFont=G,function(t){t.autoSizeNone="AutoSizeNone",t.autoSizeTextToFitShape="AutoSizeTextToFitShape",t.autoSizeShapeToFitText="AutoSizeShapeToFitText",t.autoSizeMixed="AutoSizeMixed"}(t.ShapeAutoSize||(t.ShapeAutoSize={})),function(t){t.top="Top",t.middle="Middle",t.bottom="Bottom",t.topCentered="TopCentered",t.middleCentered="MiddleCentered",t.bottomCentered="BottomCentered"}(t.TextVerticalAlignment||(t.TextVerticalAlignment={}));var U="TextFrame",H=function(o){function l(){return null!==o&&o.apply(this,arguments)||this}return __extends(l,o),Object.defineProperty(l.prototype,"_className",{get:function(){return"TextFrame"},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"_scalarPropertyNames",{get:function(){return["autoSizeSetting","bottomMargin","hasText","leftMargin","rightMargin","topMargin","verticalAlignment","wordWrap"]},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"_scalarPropertyOriginalNames",{get:function(){return["AutoSizeSetting","BottomMargin","HasText","LeftMargin","RightMargin","TopMargin","VerticalAlignment","WordWrap"]},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"_scalarPropertyUpdateable",{get:function(){return[!0,!0,!1,!0,!0,!0,!0,!0]},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"_navigationPropertyNames",{get:function(){return["textRange"]},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"textRange",{get:function(){return this._T||(this._T=r(t.TextRange,this,"TextRange",!1,4)),this._T},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"autoSizeSetting",{get:function(){return f("autoSizeSetting",this._A,U,this._isNull),this._A},set:function(t){this._A=t,c(this,"AutoSizeSetting",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"bottomMargin",{get:function(){return f("bottomMargin",this._B,U,this._isNull),this._B},set:function(t){this._B=t,c(this,"BottomMargin",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"hasText",{get:function(){return f("hasText",this._H,U,this._isNull),this._H},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"leftMargin",{get:function(){return f("leftMargin",this._L,U,this._isNull),this._L},set:function(t){this._L=t,c(this,"LeftMargin",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"rightMargin",{get:function(){return f("rightMargin",this._R,U,this._isNull),this._R},set:function(t){this._R=t,c(this,"RightMargin",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"topMargin",{get:function(){return f("topMargin",this._To,U,this._isNull),this._To},set:function(t){this._To=t,c(this,"TopMargin",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"verticalAlignment",{get:function(){return f("verticalAlignment",this._V,U,this._isNull),this._V},set:function(t){this._V=t,c(this,"VerticalAlignment",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"wordWrap",{get:function(){return f("wordWrap",this._W,U,this._isNull),this._W},set:function(t){this._W=t,c(this,"WordWrap",t,0)},enumerable:!0,configurable:!0}),l.prototype.deleteText=function(){u(this,"DeleteText",0,[],0,0)},l.prototype.getParentShape=function(){return y("TextFrame.getParentShape",n,"1.5",e),i(t.Shape,this,"GetParentShape",0,[],!1,!1,null,0)},l.prototype._handleResult=function(t){if(o.prototype._handleResult.call(this,t),!p(t)){var e=t;m(this,e),h(e.AutoSizeSetting)||(this._A=e.AutoSizeSetting),h(e.BottomMargin)||(this._B=e.BottomMargin),h(e.HasText)||(this._H=e.HasText),h(e.LeftMargin)||(this._L=e.LeftMargin),h(e.RightMargin)||(this._R=e.RightMargin),h(e.TopMargin)||(this._To=e.TopMargin),h(e.VerticalAlignment)||(this._V=e.VerticalAlignment),h(e.WordWrap)||(this._W=e.WordWrap),_(this,e,["textRange","TextRange"])}},l.prototype.load=function(t){return d(this,t)},l.prototype.retrieve=function(t){return g(this,t)},l.prototype._handleRetrieveResult=function(t,e){o.prototype._handleRetrieveResult.call(this,t,e),O(this,t,e)},l.prototype.toJSON=function(){return b(this,{},{})},l.prototype.setMockData=function(t){S(this,t)},l.prototype.ensureUnchanged=function(t){a(this,t)},l}(OfficeExtension.ClientObject);t.TextFrame=H;var V="TextRange",J=function(o){function l(){return null!==o&&o.apply(this,arguments)||this}return __extends(l,o),Object.defineProperty(l.prototype,"_className",{get:function(){return"TextRange"},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"_scalarPropertyNames",{get:function(){return["text","length","start"]},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"_scalarPropertyOriginalNames",{get:function(){return["Text","Length","Start"]},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"_scalarPropertyUpdateable",{get:function(){return[!0,!0,!0]},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"_navigationPropertyNames",{get:function(){return["font","paragraphFormat","hyperlinks"]},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"font",{get:function(){return this._F||(this._F=r(t.ShapeFont,this,"Font",!1,4)),this._F},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"hyperlinks",{get:function(){return y("TextRange.hyperlinks",n,"1.10",e),this._H||(this._H=r(t.HyperlinkScopedCollection,this,"Hyperlinks",!0,4)),this._H},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"paragraphFormat",{get:function(){return this._P||(this._P=r(t.ParagraphFormat,this,"ParagraphFormat",!1,4)),this._P},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"length",{get:function(){return f("length",this._L,V,this._isNull),y("TextRange.length",n,"1.5",e),this._L},set:function(t){this._L=t,c(this,"Length",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"start",{get:function(){return f("start",this._S,V,this._isNull),y("TextRange.start",n,"1.5",e),this._S},set:function(t){this._S=t,c(this,"Start",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"text",{get:function(){return f("text",this._T,V,this._isNull),this._T},set:function(t){this._T=t,c(this,"Text",t,0)},enumerable:!0,configurable:!0}),l.prototype.getParentTextFrame=function(){return y("TextRange.getParentTextFrame",n,"1.5",e),i(t.TextFrame,this,"GetParentTextFrame",0,[],!1,!1,null,0)},l.prototype.getSubstring=function(e,n){return i(t.TextRange,this,"GetSubstring",0,[e,n],!1,!1,null,0)},l.prototype.setHyperlink=function(r){return y("TextRange.setHyperlink",n,"1.10",e),i(t.Hyperlink,this,"SetHyperlink",0,[r],!1,!1,null,0)},l.prototype.setSelected=function(){y("TextRange.setSelected",n,"1.5",e),u(this,"SetSelected",0,[],0,0)},l.prototype._handleResult=function(t){if(o.prototype._handleResult.call(this,t),!p(t)){var e=t;m(this,e),h(e.Length)||(this._L=e.Length),h(e.Start)||(this._S=e.Start),h(e.Text)||(this._T=e.Text),_(this,e,["font","Font","hyperlinks","Hyperlinks","paragraphFormat","ParagraphFormat"])}},l.prototype.load=function(t){return d(this,t)},l.prototype.retrieve=function(t){return g(this,t)},l.prototype._handleRetrieveResult=function(t,e){o.prototype._handleRetrieveResult.call(this,t,e),O(this,t,e)},l.prototype.toJSON=function(){return b(this,{},{})},l.prototype.setMockData=function(t){S(this,t)},l.prototype.ensureUnchanged=function(t){a(this,t)},l}(OfficeExtension.ClientObject);t.TextRange=J,function(t){t.textRange="TextRange",t.shape="Shape"}(t.HyperlinkType||(t.HyperlinkType={}));var W="Hyperlink",z=function(r){function o(){return null!==r&&r.apply(this,arguments)||this}return __extends(o,r),Object.defineProperty(o.prototype,"_className",{get:function(){return"Hyperlink"},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"_scalarPropertyNames",{get:function(){return["address","screenTip","type"]},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"_scalarPropertyOriginalNames",{get:function(){return["Address","ScreenTip","Type"]},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"_scalarPropertyUpdateable",{get:function(){return[!0,!0,!1]},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"address",{get:function(){return f("address",this._A,W,this._isNull),this._A},set:function(t){this._A=t,c(this,"Address",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"screenTip",{get:function(){return f("screenTip",this._S,W,this._isNull),this._S},set:function(t){this._S=t,c(this,"ScreenTip",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"type",{get:function(){return f("type",this._T,W,this._isNull),y("Hyperlink.type",n,"1.10",e),this._T},enumerable:!0,configurable:!0}),o.prototype.delete=function(){y("Hyperlink.delete",n,"1.10",e),u(this,"Delete",0,[],0,0)},o.prototype.getLinkedShapeOrNullObject=function(){return y("Hyperlink.getLinkedShapeOrNullObject",n,"1.10",e),i(t.Shape,this,"GetLinkedShapeOrNullObject",0,[],!1,!1,null,0)},o.prototype.getLinkedTextRangeOrNullObject=function(){return y("Hyperlink.getLinkedTextRangeOrNullObject",n,"1.10",e),i(t.TextRange,this,"GetLinkedTextRangeOrNullObject",0,[],!1,!1,null,0)},o.prototype._handleResult=function(t){if(r.prototype._handleResult.call(this,t),!p(t)){var e=t;m(this,e),h(e.Address)||(this._A=e.Address),h(e.ScreenTip)||(this._S=e.ScreenTip),h(e.Type)||(this._T=e.Type)}},o.prototype.load=function(t){return d(this,t)},o.prototype.retrieve=function(t){return g(this,t)},o.prototype._handleRetrieveResult=function(t,e){r.prototype._handleRetrieveResult.call(this,t,e),O(this,t,e)},o.prototype.toJSON=function(){return b(this,{},{})},o.prototype.setMockData=function(t){S(this,t)},o.prototype.ensureUnchanged=function(t){a(this,t)},o}(OfficeExtension.ClientObject);t.Hyperlink=z,function(t){t.unsupported="Unsupported",t.date="Date",t.slideNumber="SlideNumber",t.footer="Footer",t.header="Header",t.title="Title",t.body="Body",t.centerTitle="CenterTitle",t.subtitle="Subtitle",t.verticalTitle="VerticalTitle",t.verticalBody="VerticalBody",t.content="Content",t.chart="Chart",t.table="Table",t.onlinePicture="OnlinePicture",t.smartArt="SmartArt",t.media="Media",t.verticalContent="VerticalContent",t.picture="Picture",t.cameo="Cameo"}(t.PlaceholderType||(t.PlaceholderType={})),function(t){t.unsupported="Unsupported",t.image="Image",t.geometricShape="GeometricShape",t.group="Group",t.line="Line",t.table="Table",t.callout="Callout",t.chart="Chart",t.contentApp="ContentApp",t.diagram="Diagram",t.freeform="Freeform",t.graphic="Graphic",t.ink="Ink",t.media="Media",t.model3D="Model3D",t.ole="Ole",t.placeholder="Placeholder",t.smartArt="SmartArt",t.textBox="TextBox"}(t.ShapeType||(t.ShapeType={}));var X="PlaceholderFormat",q=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),Object.defineProperty(e.prototype,"_className",{get:function(){return"PlaceholderFormat"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyNames",{get:function(){return["containedType","type"]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyOriginalNames",{get:function(){return["ContainedType","Type"]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"containedType",{get:function(){return f("containedType",this._C,X,this._isNull),this._C},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return f("type",this._T,X,this._isNull),this._T},enumerable:!0,configurable:!0}),e.prototype._handleResult=function(e){if(t.prototype._handleResult.call(this,e),!p(e)){var n=e;m(this,n),h(n.ContainedType)||(this._C=n.ContainedType),h(n.Type)||(this._T=n.Type)}},e.prototype.load=function(t){return d(this,t)},e.prototype.retrieve=function(t){return g(this,t)},e.prototype._handleRetrieveResult=function(e,n){t.prototype._handleRetrieveResult.call(this,e,n),O(this,e,n)},e.prototype.toJSON=function(){return b(this,{},{})},e.prototype.setMockData=function(t){S(this,t)},e.prototype.ensureUnchanged=function(t){a(this,t)},e}(OfficeExtension.ClientObject);t.PlaceholderFormat=q,function(t){t.unsupported="Unsupported",t.slide="Slide",t.shape="Shape",t.textRange="TextRange"}(t.CommentAnchorType||(t.CommentAnchorType={})),function(t){t.plain="Plain",t.mention="Mention"}(t.CommentContentType||(t.CommentContentType={}));var K="DocumentTask",Z=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return __extends(n,e),Object.defineProperty(n.prototype,"_className",{get:function(){return"DocumentTask"},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_scalarPropertyNames",{get:function(){return["assignees","completedBy","completedDateTime","createdBy","createdDateTime","title"]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_scalarPropertyOriginalNames",{get:function(){return["Assignees","CompletedBy","CompletedDateTime","CreatedBy","CreatedDateTime","Title"]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_scalarPropertyUpdateable",{get:function(){return[!1,!1,!1,!1,!1,!0]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_navigationPropertyNames",{get:function(){return["comment"]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"comment",{get:function(){return this._C||(this._C=r(t.Comment,this,"Comment",!1,4)),this._C},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"assignees",{get:function(){return f("assignees",this._A,K,this._isNull),this._A},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"completedBy",{get:function(){return f("completedBy",this._Co,K,this._isNull),this._Co},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"completedDateTime",{get:function(){return f("completedDateTime",this._Com,K,this._isNull),this._Com},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"createdBy",{get:function(){return f("createdBy",this._Cr,K,this._isNull),this._Cr},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"createdDateTime",{get:function(){return f("createdDateTime",this._Cre,K,this._isNull),this._Cre},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"title",{get:function(){return f("title",this._T,K,this._isNull),this._T},set:function(t){this._T=t,c(this,"Title",t,0)},enumerable:!0,configurable:!0}),n.prototype.assign=function(t){u(this,"Assign",0,[t],1,0)},n.prototype.unassign=function(t){u(this,"Unassign",0,[t],1,0)},n.prototype.unassignAll=function(){u(this,"UnassignAll",0,[],1,0)},n.prototype._handleResult=function(t){if(e.prototype._handleResult.call(this,t),!p(t)){var n=t;m(this,n),h(n.Assignees)||(this._A=n.Assignees),h(n.CompletedBy)||(this._Co=n.CompletedBy),h(n.CompletedDateTime)||(this._Com=n.CompletedDateTime),h(n.CreatedBy)||(this._Cr=n.CreatedBy),h(n.CreatedDateTime)||(this._Cre=n.CreatedDateTime),h(n.Title)||(this._T=n.Title),_(this,n,["comment","Comment"])}},n.prototype.load=function(t){return d(this,t)},n.prototype.retrieve=function(t){return g(this,t)},n.prototype._handleRetrieveResult=function(t,n){e.prototype._handleRetrieveResult.call(this,t,n),O(this,t,n)},n.prototype.toJSON=function(){return b(this,{},{})},n.prototype.setMockData=function(t){S(this,t)},n.prototype.ensureUnchanged=function(t){a(this,t)},n}(OfficeExtension.ClientObject);t.DocumentTask=Z;var Q="CommentReply",Y=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return __extends(n,e),Object.defineProperty(n.prototype,"_className",{get:function(){return"CommentReply"},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_scalarPropertyNames",{get:function(){return["author","content","contentType","creationDate","id","mentions","resolved","richContent"]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_scalarPropertyOriginalNames",{get:function(){return["Author","Content","ContentType","CreationDate","Id","Mentions","Resolved","RichContent"]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_scalarPropertyUpdateable",{get:function(){return[!1,!0,!1,!1,!1,!1,!0,!1]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"author",{get:function(){return f("author",this._A,Q,this._isNull),this._A},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"content",{get:function(){return f("content",this._C,Q,this._isNull),this._C},set:function(t){this._C=t,c(this,"Content",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"contentType",{get:function(){return f("contentType",this._Co,Q,this._isNull),this._Co},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"creationDate",{get:function(){return f("creationDate",this._Cr,Q,this._isNull),this._Cr},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"id",{get:function(){return f("id",this._I,Q,this._isNull),this._I},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"mentions",{get:function(){return f("mentions",this._M,Q,this._isNull),this._M},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"resolved",{get:function(){return f("resolved",this._R,Q,this._isNull),this._R},set:function(t){this._R=t,c(this,"Resolved",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"richContent",{get:function(){return f("richContent",this._Ri,Q,this._isNull),this._Ri},enumerable:!0,configurable:!0}),n.prototype.assignTask=function(e){return i(t.DocumentTask,this,"AssignTask",0,[e],!1,!1,null,1)},n.prototype.delete=function(){u(this,"Delete",0,[],1,0)},n.prototype.getParentComment=function(){return i(t.Comment,this,"GetParentComment",1,[],!1,!1,null,5)},n.prototype.getTask=function(){return i(t.DocumentTask,this,"GetTask",1,[],!1,!1,null,5)},n.prototype.getTaskOrNullObject=function(){return i(t.DocumentTask,this,"GetTaskOrNullObject",1,[],!1,!1,null,5)},n.prototype.updateMentions=function(t){u(this,"UpdateMentions",0,[t],1,0)},n.prototype._handleResult=function(t){if(e.prototype._handleResult.call(this,t),!p(t)){var n=t;m(this,n),h(n.Author)||(this._A=n.Author),h(n.Content)||(this._C=n.Content),h(n.ContentType)||(this._Co=n.ContentType),h(n.CreationDate)||(this._Cr=C(n.CreationDate)),h(n.Id)||(this._I=n.Id),h(n.Mentions)||(this._M=n.Mentions),h(n.Resolved)||(this._R=n.Resolved),h(n.RichContent)||(this._Ri=n.RichContent)}},n.prototype.load=function(t){return d(this,t)},n.prototype.retrieve=function(t){return g(this,t)},n.prototype._handleIdResult=function(t){e.prototype._handleIdResult.call(this,t),p(t)||h(t.Id)||(this._I=t.Id)},n.prototype._handleRetrieveResult=function(t,n){if(e.prototype._handleRetrieveResult.call(this,t,n),!p(t)){var r=t;h(r.CreationDate)||(r.creationDate=C(r.creationDate)),O(this,t,n)}},n.prototype.toJSON=function(){return b(this,{},{})},n.prototype.setMockData=function(t){S(this,t)},n.prototype.ensureUnchanged=function(t){a(this,t)},n}(OfficeExtension.ClientObject);t.CommentReply=Y;var $=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return __extends(n,e),Object.defineProperty(n.prototype,"_className",{get:function(){return"CommentReplyCollection"},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_isCollection",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"items",{get:function(){return f("items",this.m__items,"CommentReplyCollection",this._isNull),this.m__items},enumerable:!0,configurable:!0}),n.prototype.add=function(e){return i(t.CommentReply,this,"Add",0,[e],!1,!0,null,1)},n.prototype.getCount=function(){return u(this,"GetCount",1,[],5,0)},n.prototype.getItem=function(e){return o(t.CommentReply,this,[e])},n.prototype.getItemAt=function(e){return i(t.CommentReply,this,"GetItemAt",1,[e],!1,!1,null,5)},n.prototype.getItemOrNullObject=function(e){return i(t.CommentReply,this,"GetItemOrNullObject",1,[e],!1,!1,null,5)},n.prototype._handleResult=function(n){if(e.prototype._handleResult.call(this,n),!p(n)){var r=n;if(m(this,r),!p(r[OfficeExtension.Constants.items])){this.m__items=[];for(var i=r[OfficeExtension.Constants.items],o=0;o<i.length;o++){var l=s(t.CommentReply,!0,this,i[o],o);l._handleResult(i[o]),this.m__items.push(l)}}}},n.prototype.load=function(t){return d(this,t)},n.prototype.retrieve=function(t){return g(this,t)},n.prototype._handleRetrieveResult=function(n,r){var i=this;e.prototype._handleRetrieveResult.call(this,n,r),O(this,n,r,(function(e,n){return s(t.CommentReply,!0,i,e,n)}))},n.prototype.toJSON=function(){return b(this,{},{},this.m__items)},n.prototype.setMockData=function(e){var n=this;S(this,e,(function(e,r){return s(t.CommentReply,!0,n,e,r)}),(function(t){return n.m__items=t}))},n}(OfficeExtension.ClientObject);t.CommentReplyCollection=$;var tt="Comment",et=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return __extends(n,e),Object.defineProperty(n.prototype,"_className",{get:function(){return"Comment"},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_scalarPropertyNames",{get:function(){return["anchorType","author","content","contentType","creationDate","id","mentions","resolved","richContent"]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_scalarPropertyOriginalNames",{get:function(){return["AnchorType","Author","Content","ContentType","CreationDate","Id","Mentions","Resolved","RichContent"]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_scalarPropertyUpdateable",{get:function(){return[!1,!1,!0,!1,!1,!1,!1,!0,!1]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_navigationPropertyNames",{get:function(){return["replies"]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"replies",{get:function(){return this._R||(this._R=r(t.CommentReplyCollection,this,"Replies",!0,5)),this._R},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"anchorType",{get:function(){return f("anchorType",this._A,tt,this._isNull),this._A},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"author",{get:function(){return f("author",this._Au,tt,this._isNull),this._Au},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"content",{get:function(){return f("content",this._C,tt,this._isNull),this._C},set:function(t){this._C=t,c(this,"Content",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"contentType",{get:function(){return f("contentType",this._Co,tt,this._isNull),this._Co},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"creationDate",{get:function(){return f("creationDate",this._Cr,tt,this._isNull),this._Cr},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"id",{get:function(){return f("id",this._I,tt,this._isNull),this._I},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"mentions",{get:function(){return f("mentions",this._M,tt,this._isNull),this._M},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"resolved",{get:function(){return f("resolved",this._Re,tt,this._isNull),this._Re},set:function(t){this._Re=t,c(this,"Resolved",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"richContent",{get:function(){return f("richContent",this._Ri,tt,this._isNull),this._Ri},enumerable:!0,configurable:!0}),n.prototype.addReply=function(e){return i(t.CommentReply,this,"AddReply",0,[e],!1,!1,null,1)},n.prototype.assignTask=function(e){return i(t.DocumentTask,this,"AssignTask",0,[e],!1,!1,null,1)},n.prototype.delete=function(){u(this,"Delete",0,[],1,0)},n.prototype.getShapeAnchorOrNullObject=function(){return i(t.Shape,this,"GetShapeAnchorOrNullObject",1,[],!1,!1,null,5)},n.prototype.getSlideAnchorOrNullObject=function(){return i(t.Slide,this,"GetSlideAnchorOrNullObject",1,[],!1,!1,null,5)},n.prototype.getTask=function(){return i(t.DocumentTask,this,"GetTask",1,[],!1,!1,null,5)},n.prototype.getTaskOrNullObject=function(){return i(t.DocumentTask,this,"GetTaskOrNullObject",1,[],!1,!1,null,5)},n.prototype.getTextRangeAnchorOrNullObject=function(){return i(t.TextRange,this,"GetTextRangeAnchorOrNullObject",1,[],!1,!1,null,5)},n.prototype.updateMentions=function(t){u(this,"UpdateMentions",0,[t],1,0)},n.prototype._handleResult=function(t){if(e.prototype._handleResult.call(this,t),!p(t)){var n=t;m(this,n),h(n.AnchorType)||(this._A=n.AnchorType),h(n.Author)||(this._Au=n.Author),h(n.Content)||(this._C=n.Content),h(n.ContentType)||(this._Co=n.ContentType),h(n.CreationDate)||(this._Cr=C(n.CreationDate)),h(n.Id)||(this._I=n.Id),h(n.Mentions)||(this._M=n.Mentions),h(n.Resolved)||(this._Re=n.Resolved),h(n.RichContent)||(this._Ri=n.RichContent),_(this,n,["replies","Replies"])}},n.prototype.load=function(t){return d(this,t)},n.prototype.retrieve=function(t){return g(this,t)},n.prototype._handleIdResult=function(t){e.prototype._handleIdResult.call(this,t),p(t)||h(t.Id)||(this._I=t.Id)},n.prototype._handleRetrieveResult=function(t,n){if(e.prototype._handleRetrieveResult.call(this,t,n),!p(t)){var r=t;h(r.CreationDate)||(r.creationDate=C(r.creationDate)),O(this,t,n)}},n.prototype.toJSON=function(){return b(this,{},{})},n.prototype.setMockData=function(t){S(this,t)},n.prototype.ensureUnchanged=function(t){a(this,t)},n}(OfficeExtension.ClientObject);t.Comment=et;var nt=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return __extends(n,e),Object.defineProperty(n.prototype,"_className",{get:function(){return"CommentCollection"},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_isCollection",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"items",{get:function(){return f("items",this.m__items,"CommentCollection",this._isNull),this.m__items},enumerable:!0,configurable:!0}),n.prototype.add=function(e,n){return i(t.Comment,this,"Add",0,[e,n],!1,!0,null,1)},n.prototype.getCount=function(){return u(this,"GetCount",1,[],5,0)},n.prototype.getItem=function(e){return o(t.Comment,this,[e])},n.prototype.getItemAt=function(e){return i(t.Comment,this,"GetItemAt",1,[e],!1,!1,null,5)},n.prototype.getItemOrNullObject=function(e){return i(t.Comment,this,"GetItemOrNullObject",1,[e],!1,!1,null,5)},n.prototype._handleResult=function(n){if(e.prototype._handleResult.call(this,n),!p(n)){var r=n;if(m(this,r),!p(r[OfficeExtension.Constants.items])){this.m__items=[];for(var i=r[OfficeExtension.Constants.items],o=0;o<i.length;o++){var l=s(t.Comment,!0,this,i[o],o);l._handleResult(i[o]),this.m__items.push(l)}}}},n.prototype.load=function(t){return d(this,t)},n.prototype.retrieve=function(t){return g(this,t)},n.prototype._handleRetrieveResult=function(n,r){var i=this;e.prototype._handleRetrieveResult.call(this,n,r),O(this,n,r,(function(e,n){return s(t.Comment,!0,i,e,n)}))},n.prototype.toJSON=function(){return b(this,{},{},this.m__items)},n.prototype.setMockData=function(e){var n=this;S(this,e,(function(e,r){return s(t.Comment,!0,n,e,r)}),(function(t){return n.m__items=t}))},n}(OfficeExtension.ClientObject);t.CommentCollection=nt;var rt=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return __extends(n,e),Object.defineProperty(n.prototype,"_className",{get:function(){return"DocumentTaskCollection"},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_isCollection",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"items",{get:function(){return f("items",this.m__items,"DocumentTaskCollection",this._isNull),this.m__items},enumerable:!0,configurable:!0}),n.prototype.getCount=function(){return u(this,"GetCount",1,[],5,0)},n.prototype.getItemAt=function(e){return i(t.DocumentTask,this,"GetItemAt",1,[e],!1,!1,null,5)},n.prototype._handleResult=function(n){if(e.prototype._handleResult.call(this,n),!p(n)){var r=n;if(m(this,r),!p(r[OfficeExtension.Constants.items])){this.m__items=[];for(var i=r[OfficeExtension.Constants.items],o=0;o<i.length;o++){var l=s(t.DocumentTask,!1,this,i[o],o);l._handleResult(i[o]),this.m__items.push(l)}}}},n.prototype.load=function(t){return d(this,t)},n.prototype.retrieve=function(t){return g(this,t)},n.prototype._handleRetrieveResult=function(n,r){var i=this;e.prototype._handleRetrieveResult.call(this,n,r),O(this,n,r,(function(e,n){return s(t.DocumentTask,!1,i,e,n)}))},n.prototype.toJSON=function(){return b(this,{},{},this.m__items)},n.prototype.setMockData=function(e){var n=this;S(this,e,(function(e,r){return s(t.DocumentTask,!1,n,e,r)}),(function(t){return n.m__items=t}))},n}(OfficeExtension.ClientObject);t.DocumentTaskCollection=rt;var it=function(r){function o(){return null!==r&&r.apply(this,arguments)||this}return __extends(o,r),Object.defineProperty(o.prototype,"_className",{get:function(){return"HyperlinkCollection"},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"_isCollection",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"items",{get:function(){return f("items",this.m__items,"HyperlinkCollection",this._isNull),this.m__items},enumerable:!0,configurable:!0}),o.prototype.add=function(r,o){return y("HyperlinkCollection.add",n,"1.10",e),i(t.Hyperlink,this,"Add",0,[r,o],!1,!0,null,0)},o.prototype.getCount=function(){return u(this,"GetCount",1,[],4,0)},o.prototype.getItemAt=function(e){return i(t.Hyperlink,this,"GetItemAt",1,[e],!1,!1,null,4)},o.prototype._handleResult=function(e){if(r.prototype._handleResult.call(this,e),!p(e)){var n=e;if(m(this,n),!p(n[OfficeExtension.Constants.items])){this.m__items=[];for(var i=n[OfficeExtension.Constants.items],o=0;o<i.length;o++){var l=s(t.Hyperlink,!1,this,i[o],o);l._handleResult(i[o]),this.m__items.push(l)}}}},o.prototype.load=function(t){return d(this,t)},o.prototype.retrieve=function(t){return g(this,t)},o.prototype._handleRetrieveResult=function(e,n){var i=this;r.prototype._handleRetrieveResult.call(this,e,n),O(this,e,n,(function(e,n){return s(t.Hyperlink,!1,i,e,n)}))},o.prototype.toJSON=function(){return b(this,{},{},this.m__items)},o.prototype.setMockData=function(e){var n=this;S(this,e,(function(e,r){return s(t.Hyperlink,!1,n,e,r)}),(function(t){return n.m__items=t}))},o}(OfficeExtension.ClientObject);t.HyperlinkCollection=it,function(t){t.straight="Straight",t.elbow="Elbow",t.curve="Curve"}(t.ConnectorType||(t.ConnectorType={})),function(t){t.lineInverse="LineInverse",t.triangle="Triangle",t.rightTriangle="RightTriangle",t.rectangle="Rectangle",t.diamond="Diamond",t.parallelogram="Parallelogram",t.trapezoid="Trapezoid",t.nonIsoscelesTrapezoid="NonIsoscelesTrapezoid",t.pentagon="Pentagon",t.hexagon="Hexagon",t.heptagon="Heptagon",t.octagon="Octagon",t.decagon="Decagon",t.dodecagon="Dodecagon",t.star4="Star4",t.star5="Star5",t.star6="Star6",t.star7="Star7",t.star8="Star8",t.star10="Star10",t.star12="Star12",t.star16="Star16",t.star24="Star24",t.star32="Star32",t.roundRectangle="RoundRectangle",t.round1Rectangle="Round1Rectangle",t.round2SameRectangle="Round2SameRectangle",t.round2DiagonalRectangle="Round2DiagonalRectangle",t.snipRoundRectangle="SnipRoundRectangle",t.snip1Rectangle="Snip1Rectangle",t.snip2SameRectangle="Snip2SameRectangle",t.snip2DiagonalRectangle="Snip2DiagonalRectangle",t.plaque="Plaque",t.ellipse="Ellipse",t.teardrop="Teardrop",t.homePlate="HomePlate",t.chevron="Chevron",t.pieWedge="PieWedge",t.pie="Pie",t.blockArc="BlockArc",t.donut="Donut",t.noSmoking="NoSmoking",t.rightArrow="RightArrow",t.leftArrow="LeftArrow",t.upArrow="UpArrow",t.downArrow="DownArrow",t.stripedRightArrow="StripedRightArrow",t.notchedRightArrow="NotchedRightArrow",t.bentUpArrow="BentUpArrow",t.leftRightArrow="LeftRightArrow",t.upDownArrow="UpDownArrow",t.leftUpArrow="LeftUpArrow",t.leftRightUpArrow="LeftRightUpArrow",t.quadArrow="QuadArrow",t.leftArrowCallout="LeftArrowCallout",t.rightArrowCallout="RightArrowCallout",t.upArrowCallout="UpArrowCallout",t.downArrowCallout="DownArrowCallout",t.leftRightArrowCallout="LeftRightArrowCallout",t.upDownArrowCallout="UpDownArrowCallout",t.quadArrowCallout="QuadArrowCallout",t.bentArrow="BentArrow",t.uturnArrow="UturnArrow",t.circularArrow="CircularArrow",t.leftCircularArrow="LeftCircularArrow",t.leftRightCircularArrow="LeftRightCircularArrow",t.curvedRightArrow="CurvedRightArrow",t.curvedLeftArrow="CurvedLeftArrow",t.curvedUpArrow="CurvedUpArrow",t.curvedDownArrow="CurvedDownArrow",t.swooshArrow="SwooshArrow",t.cube="Cube",t.can="Can",t.lightningBolt="LightningBolt",t.heart="Heart",t.sun="Sun",t.moon="Moon",t.smileyFace="SmileyFace",t.irregularSeal1="IrregularSeal1",t.irregularSeal2="IrregularSeal2",t.foldedCorner="FoldedCorner",t.bevel="Bevel",t.frame="Frame",t.halfFrame="HalfFrame",t.corner="Corner",t.diagonalStripe="DiagonalStripe",t.chord="Chord",t.arc="Arc",t.leftBracket="LeftBracket",t.rightBracket="RightBracket",t.leftBrace="LeftBrace",t.rightBrace="RightBrace",t.bracketPair="BracketPair",t.bracePair="BracePair",t.callout1="Callout1",t.callout2="Callout2",t.callout3="Callout3",t.accentCallout1="AccentCallout1",t.accentCallout2="AccentCallout2",t.accentCallout3="AccentCallout3",t.borderCallout1="BorderCallout1",t.borderCallout2="BorderCallout2",t.borderCallout3="BorderCallout3",t.accentBorderCallout1="AccentBorderCallout1",t.accentBorderCallout2="AccentBorderCallout2",t.accentBorderCallout3="AccentBorderCallout3",t.wedgeRectCallout="WedgeRectCallout",t.wedgeRRectCallout="WedgeRRectCallout",t.wedgeEllipseCallout="WedgeEllipseCallout",t.cloudCallout="CloudCallout",t.cloud="Cloud",t.ribbon="Ribbon",t.ribbon2="Ribbon2",t.ellipseRibbon="EllipseRibbon",t.ellipseRibbon2="EllipseRibbon2",t.leftRightRibbon="LeftRightRibbon",t.verticalScroll="VerticalScroll",t.horizontalScroll="HorizontalScroll",t.wave="Wave",t.doubleWave="DoubleWave",t.plus="Plus",t.flowChartProcess="FlowChartProcess",t.flowChartDecision="FlowChartDecision",t.flowChartInputOutput="FlowChartInputOutput",t.flowChartPredefinedProcess="FlowChartPredefinedProcess",t.flowChartInternalStorage="FlowChartInternalStorage",t.flowChartDocument="FlowChartDocument",t.flowChartMultidocument="FlowChartMultidocument",t.flowChartTerminator="FlowChartTerminator",t.flowChartPreparation="FlowChartPreparation",t.flowChartManualInput="FlowChartManualInput",t.flowChartManualOperation="FlowChartManualOperation",t.flowChartConnector="FlowChartConnector",t.flowChartPunchedCard="FlowChartPunchedCard",t.flowChartPunchedTape="FlowChartPunchedTape",t.flowChartSummingJunction="FlowChartSummingJunction",t.flowChartOr="FlowChartOr",t.flowChartCollate="FlowChartCollate",t.flowChartSort="FlowChartSort",t.flowChartExtract="FlowChartExtract",t.flowChartMerge="FlowChartMerge",t.flowChartOfflineStorage="FlowChartOfflineStorage",t.flowChartOnlineStorage="FlowChartOnlineStorage",t.flowChartMagneticTape="FlowChartMagneticTape",t.flowChartMagneticDisk="FlowChartMagneticDisk",t.flowChartMagneticDrum="FlowChartMagneticDrum",t.flowChartDisplay="FlowChartDisplay",t.flowChartDelay="FlowChartDelay",t.flowChartAlternateProcess="FlowChartAlternateProcess",t.flowChartOffpageConnector="FlowChartOffpageConnector",t.actionButtonBlank="ActionButtonBlank",t.actionButtonHome="ActionButtonHome",t.actionButtonHelp="ActionButtonHelp",t.actionButtonInformation="ActionButtonInformation",t.actionButtonForwardNext="ActionButtonForwardNext",t.actionButtonBackPrevious="ActionButtonBackPrevious",t.actionButtonEnd="ActionButtonEnd",t.actionButtonBeginning="ActionButtonBeginning",t.actionButtonReturn="ActionButtonReturn",t.actionButtonDocument="ActionButtonDocument",t.actionButtonSound="ActionButtonSound",t.actionButtonMovie="ActionButtonMovie",t.gear6="Gear6",t.gear9="Gear9",t.funnel="Funnel",t.mathPlus="MathPlus",t.mathMinus="MathMinus",t.mathMultiply="MathMultiply",t.mathDivide="MathDivide",t.mathEqual="MathEqual",t.mathNotEqual="MathNotEqual",t.cornerTabs="CornerTabs",t.squareTabs="SquareTabs",t.plaqueTabs="PlaqueTabs",t.chartX="ChartX",t.chartStar="ChartStar",t.chartPlus="ChartPlus"}(t.GeometricShapeType||(t.GeometricShapeType={}));var ot=function(r){function l(){return null!==r&&r.apply(this,arguments)||this}return __extends(l,r),Object.defineProperty(l.prototype,"_className",{get:function(){return"ShapeScopedCollection"},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"_isCollection",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"items",{get:function(){return f("items",this.m__items,"ShapeScopedCollection",this._isNull),this.m__items},enumerable:!0,configurable:!0}),l.prototype.getCount=function(){return u(this,"GetCount",1,[],4,0)},l.prototype.getItem=function(e){return o(t.Shape,this,[e])},l.prototype.getItemAt=function(e){return i(t.Shape,this,"GetItemAt",1,[e],!1,!1,null,4)},l.prototype.getItemOrNullObject=function(e){return i(t.Shape,this,"GetItemOrNullObject",0,[e],!1,!1,null,0)},l.prototype.group=function(){return y("ShapeScopedCollection.group",n,"1.8",e),i(t.Shape,this,"Group",0,[],!1,!1,null,0)},l.prototype._handleResult=function(e){if(r.prototype._handleResult.call(this,e),!p(e)){var n=e;if(m(this,n),!p(n[OfficeExtension.Constants.items])){this.m__items=[];for(var i=n[OfficeExtension.Constants.items],o=0;o<i.length;o++){var l=s(t.Shape,!0,this,i[o],o);l._handleResult(i[o]),this.m__items.push(l)}}}},l.prototype.load=function(t){return d(this,t)},l.prototype.retrieve=function(t){return g(this,t)},l.prototype._handleRetrieveResult=function(e,n){var i=this;r.prototype._handleRetrieveResult.call(this,e,n),O(this,e,n,(function(e,n){return s(t.Shape,!0,i,e,n)}))},l.prototype.toJSON=function(){return b(this,{},{},this.m__items)},l.prototype.setMockData=function(e){var n=this;S(this,e,(function(e,r){return s(t.Shape,!0,n,e,r)}),(function(t){return n.m__items=t}))},l}(OfficeExtension.ClientObject);t.ShapeScopedCollection=ot,function(t){t.dash="Dash",t.dashDot="DashDot",t.dashDotDot="DashDotDot",t.longDash="LongDash",t.longDashDot="LongDashDot",t.roundDot="RoundDot",t.solid="Solid",t.squareDot="SquareDot",t.longDashDotDot="LongDashDotDot",t.systemDash="SystemDash",t.systemDot="SystemDot",t.systemDashDot="SystemDashDot"}(t.ShapeLineDashStyle||(t.ShapeLineDashStyle={}));var lt="Border",st=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),Object.defineProperty(e.prototype,"_className",{get:function(){return"Border"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyNames",{get:function(){return["color","dashStyle","transparency","weight"]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyOriginalNames",{get:function(){return["Color","DashStyle","Transparency","Weight"]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyUpdateable",{get:function(){return[!0,!0,!0,!0]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"color",{get:function(){return f("color",this._C,lt,this._isNull),this._C},set:function(t){this._C=t,c(this,"Color",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dashStyle",{get:function(){return f("dashStyle",this._D,lt,this._isNull),this._D},set:function(t){this._D=t,c(this,"DashStyle",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"transparency",{get:function(){return f("transparency",this._T,lt,this._isNull),this._T},set:function(t){this._T=t,c(this,"Transparency",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"weight",{get:function(){return f("weight",this._W,lt,this._isNull),this._W},set:function(t){this._W=t,c(this,"Weight",t,0)},enumerable:!0,configurable:!0}),e.prototype._handleResult=function(e){if(t.prototype._handleResult.call(this,e),!p(e)){var n=e;m(this,n),h(n.Color)||(this._C=n.Color),h(n.DashStyle)||(this._D=n.DashStyle),h(n.Transparency)||(this._T=n.Transparency),h(n.Weight)||(this._W=n.Weight)}},e.prototype.load=function(t){return d(this,t)},e.prototype.retrieve=function(t){return g(this,t)},e.prototype._handleRetrieveResult=function(e,n){t.prototype._handleRetrieveResult.call(this,e,n),O(this,e,n)},e.prototype.toJSON=function(){return b(this,{},{})},e.prototype.setMockData=function(t){S(this,t)},e.prototype.ensureUnchanged=function(t){a(this,t)},e}(OfficeExtension.ClientObject);t.Border=st;var ut=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return __extends(n,e),Object.defineProperty(n.prototype,"_className",{get:function(){return"Borders"},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_navigationPropertyNames",{get:function(){return["bottom","diagonalDown","diagonalUp","left","right","top"]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"bottom",{get:function(){return this._B||(this._B=r(t.Border,this,"Bottom",!1,4)),this._B},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"diagonalDown",{get:function(){return this._D||(this._D=r(t.Border,this,"DiagonalDown",!1,4)),this._D},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"diagonalUp",{get:function(){return this._Di||(this._Di=r(t.Border,this,"DiagonalUp",!1,4)),this._Di},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"left",{get:function(){return this._L||(this._L=r(t.Border,this,"Left",!1,4)),this._L},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"right",{get:function(){return this._R||(this._R=r(t.Border,this,"Right",!1,4)),this._R},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"top",{get:function(){return this._T||(this._T=r(t.Border,this,"Top",!1,4)),this._T},enumerable:!0,configurable:!0}),n.prototype._handleResult=function(t){if(e.prototype._handleResult.call(this,t),!p(t)){var n=t;m(this,n),_(this,n,["bottom","Bottom","diagonalDown","DiagonalDown","diagonalUp","DiagonalUp","left","Left","right","Right","top","Top"])}},n.prototype.load=function(t){return d(this,t)},n.prototype.retrieve=function(t){return g(this,t)},n.prototype._handleRetrieveResult=function(t,n){e.prototype._handleRetrieveResult.call(this,t,n),O(this,t,n)},n.prototype.toJSON=function(){return b(this,{},{})},n.prototype.setMockData=function(t){S(this,t)},n.prototype.ensureUnchanged=function(t){a(this,t)},n}(OfficeExtension.ClientObject);t.Borders=ut;var at="Margins",ct=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),Object.defineProperty(e.prototype,"_className",{get:function(){return"Margins"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyNames",{get:function(){return["bottom","left","right","top"]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyOriginalNames",{get:function(){return["Bottom","Left","Right","Top"]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyUpdateable",{get:function(){return[!0,!0,!0,!0]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bottom",{get:function(){return f("bottom",this._B,at,this._isNull),this._B},set:function(t){this._B=t,c(this,"Bottom",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"left",{get:function(){return f("left",this._L,at,this._isNull),this._L},set:function(t){this._L=t,c(this,"Left",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"right",{get:function(){return f("right",this._R,at,this._isNull),this._R},set:function(t){this._R=t,c(this,"Right",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"top",{get:function(){return f("top",this._T,at,this._isNull),this._T},set:function(t){this._T=t,c(this,"Top",t,0)},enumerable:!0,configurable:!0}),e.prototype._handleResult=function(e){if(t.prototype._handleResult.call(this,e),!p(e)){var n=e;m(this,n),h(n.Bottom)||(this._B=n.Bottom),h(n.Left)||(this._L=n.Left),h(n.Right)||(this._R=n.Right),h(n.Top)||(this._T=n.Top)}},e.prototype.load=function(t){return d(this,t)},e.prototype.retrieve=function(t){return g(this,t)},e.prototype._handleRetrieveResult=function(e,n){t.prototype._handleRetrieveResult.call(this,e,n),O(this,e,n)},e.prototype.toJSON=function(){return b(this,{},{})},e.prototype.setMockData=function(t){S(this,t)},e.prototype.ensureUnchanged=function(t){a(this,t)},e}(OfficeExtension.ClientObject);t.Margins=ct,function(t){t.noFill="NoFill",t.solid="Solid",t.gradient="Gradient",t.pattern="Pattern",t.pictureAndTexture="PictureAndTexture",t.slideBackground="SlideBackground"}(t.ShapeFillType||(t.ShapeFillType={}));var pt="ShapeFill",ht=function(t){function r(){return null!==t&&t.apply(this,arguments)||this}return __extends(r,t),Object.defineProperty(r.prototype,"_className",{get:function(){return"ShapeFill"},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"_scalarPropertyNames",{get:function(){return["foregroundColor","transparency","type"]},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"_scalarPropertyOriginalNames",{get:function(){return["ForegroundColor","Transparency","Type"]},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"_scalarPropertyUpdateable",{get:function(){return[!0,!0,!1]},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"foregroundColor",{get:function(){return f("foregroundColor",this._F,pt,this._isNull),this._F},set:function(t){this._F=t,c(this,"ForegroundColor",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"transparency",{get:function(){return f("transparency",this._T,pt,this._isNull),this._T},set:function(t){this._T=t,c(this,"Transparency",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"type",{get:function(){return f("type",this._Ty,pt,this._isNull),this._Ty},enumerable:!0,configurable:!0}),r.prototype.clear=function(){u(this,"Clear",0,[],0,0)},r.prototype.setImage=function(t){y("ShapeFill.setImage",n,"1.8",e),u(this,"SetImage",0,[t],0,0)},r.prototype.setSolidColor=function(t){u(this,"SetSolidColor",0,[t],0,0)},r.prototype._handleResult=function(e){if(t.prototype._handleResult.call(this,e),!p(e)){var n=e;m(this,n),h(n.ForegroundColor)||(this._F=n.ForegroundColor),h(n.Transparency)||(this._T=n.Transparency),h(n.Type)||(this._Ty=n.Type)}},r.prototype.load=function(t){return d(this,t)},r.prototype.retrieve=function(t){return g(this,t)},r.prototype._handleRetrieveResult=function(e,n){t.prototype._handleRetrieveResult.call(this,e,n),O(this,e,n)},r.prototype.toJSON=function(){return b(this,{},{})},r.prototype.setMockData=function(t){S(this,t)},r.prototype.ensureUnchanged=function(t){a(this,t)},r}(OfficeExtension.ClientObject);t.ShapeFill=ht;var ft="TableCell",yt=function(i){function o(){return null!==i&&i.apply(this,arguments)||this}return __extends(o,i),Object.defineProperty(o.prototype,"_className",{get:function(){return"TableCell"},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"_scalarPropertyNames",{get:function(){return["horizontalAlignment","indentLevel","text","textRuns","verticalAlignment","columnCount","columnIndex","rowCount","rowIndex"]},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"_scalarPropertyOriginalNames",{get:function(){return["HorizontalAlignment","IndentLevel","Text","TextRuns","VerticalAlignment","ColumnCount","ColumnIndex","RowCount","RowIndex"]},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"_scalarPropertyUpdateable",{get:function(){return[!0,!0,!0,!0,!0,!1,!1,!1,!1]},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"_navigationPropertyNames",{get:function(){return["borders","fill","font","margins"]},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"borders",{get:function(){return y("TableCell.borders",n,"1.9",e),this._B||(this._B=r(t.Borders,this,"Borders",!1,4)),this._B},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"fill",{get:function(){return y("TableCell.fill",n,"1.9",e),this._F||(this._F=r(t.ShapeFill,this,"Fill",!1,4)),this._F},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"font",{get:function(){return y("TableCell.font",n,"1.9",e),this._Fo||(this._Fo=r(t.ShapeFont,this,"Font",!1,4)),this._Fo},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"margins",{get:function(){return y("TableCell.margins",n,"1.9",e),this._M||(this._M=r(t.Margins,this,"Margins",!1,4)),this._M},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"columnCount",{get:function(){return f("columnCount",this._C,ft,this._isNull),this._C},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"columnIndex",{get:function(){return f("columnIndex",this._Co,ft,this._isNull),this._Co},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"horizontalAlignment",{get:function(){return f("horizontalAlignment",this._H,ft,this._isNull),y("TableCell.horizontalAlignment",n,"1.9",e),this._H},set:function(t){this._H=t,c(this,"HorizontalAlignment",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"indentLevel",{get:function(){return f("indentLevel",this._I,ft,this._isNull),y("TableCell.indentLevel",n,"1.9",e),this._I},set:function(t){this._I=t,c(this,"IndentLevel",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"rowCount",{get:function(){return f("rowCount",this._R,ft,this._isNull),this._R},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"rowIndex",{get:function(){return f("rowIndex",this._Ro,ft,this._isNull),this._Ro},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"text",{get:function(){return f("text",this._T,ft,this._isNull),this._T},set:function(t){this._T=t,c(this,"Text",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"textRuns",{get:function(){return f("textRuns",this._Te,ft,this._isNull),y("TableCell.textRuns",n,"1.9",e),this._Te},set:function(t){this._Te=t,c(this,"TextRuns",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"verticalAlignment",{get:function(){return f("verticalAlignment",this._V,ft,this._isNull),y("TableCell.verticalAlignment",n,"1.9",e),this._V},set:function(t){this._V=t,c(this,"VerticalAlignment",t,0)},enumerable:!0,configurable:!0}),o.prototype.resize=function(t,r){y("TableCell.resize",n,"1.9",e),u(this,"Resize",0,[t,r],0,0)},o.prototype.split=function(t,r){y("TableCell.split",n,"1.9",e),u(this,"Split",0,[t,r],0,0)},o.prototype._handleResult=function(t){if(i.prototype._handleResult.call(this,t),!p(t)){var e=t;m(this,e),h(e.ColumnCount)||(this._C=e.ColumnCount),h(e.ColumnIndex)||(this._Co=e.ColumnIndex),h(e.HorizontalAlignment)||(this._H=e.HorizontalAlignment),h(e.IndentLevel)||(this._I=e.IndentLevel),h(e.RowCount)||(this._R=e.RowCount),h(e.RowIndex)||(this._Ro=e.RowIndex),h(e.Text)||(this._T=e.Text),h(e.TextRuns)||(this._Te=e.TextRuns),h(e.VerticalAlignment)||(this._V=e.VerticalAlignment),_(this,e,["borders","Borders","fill","Fill","font","Font","margins","Margins"])}},o.prototype.load=function(t){return d(this,t)},o.prototype.retrieve=function(t){return g(this,t)},o.prototype._handleRetrieveResult=function(t,e){i.prototype._handleRetrieveResult.call(this,t,e),O(this,t,e)},o.prototype.toJSON=function(){return b(this,{},{})},o.prototype.setMockData=function(t){S(this,t)},o.prototype.ensureUnchanged=function(t){a(this,t)},o}(OfficeExtension.ClientObject);t.TableCell=yt;var dt=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return __extends(n,e),Object.defineProperty(n.prototype,"_className",{get:function(){return"TableCellCollection"},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_isCollection",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"items",{get:function(){return f("items",this.m__items,"TableCellCollection",this._isNull),this.m__items},enumerable:!0,configurable:!0}),n.prototype.getCount=function(){return u(this,"GetCount",1,[],4,0)},n.prototype.getItemAtOrNullObject=function(e,n){return i(t.TableCell,this,"GetItemAtOrNullObject",1,[e,n],!1,!1,null,4)},n.prototype._handleResult=function(n){if(e.prototype._handleResult.call(this,n),!p(n)){var r=n;if(m(this,r),!p(r[OfficeExtension.Constants.items])){this.m__items=[];for(var i=r[OfficeExtension.Constants.items],o=0;o<i.length;o++){var l=s(t.TableCell,!1,this,i[o],o);l._handleResult(i[o]),this.m__items.push(l)}}}},n.prototype.load=function(t){return d(this,t)},n.prototype.retrieve=function(t){return g(this,t)},n.prototype._handleRetrieveResult=function(n,r){var i=this;e.prototype._handleRetrieveResult.call(this,n,r),O(this,n,r,(function(e,n){return s(t.TableCell,!1,i,e,n)}))},n.prototype.toJSON=function(){return b(this,{},{},this.m__items)},n.prototype.setMockData=function(e){var n=this;S(this,e,(function(e,r){return s(t.TableCell,!1,n,e,r)}),(function(t){return n.m__items=t}))},n}(OfficeExtension.ClientObject);t.TableCellCollection=dt;var gt="TableColumn",bt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),Object.defineProperty(e.prototype,"_className",{get:function(){return"TableColumn"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyNames",{get:function(){return["width","columnIndex"]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyOriginalNames",{get:function(){return["Width","ColumnIndex"]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyUpdateable",{get:function(){return[!0,!1]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"columnIndex",{get:function(){return f("columnIndex",this._C,gt,this._isNull),this._C},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return f("width",this._W,gt,this._isNull),this._W},set:function(t){this._W=t,c(this,"Width",t,0)},enumerable:!0,configurable:!0}),e.prototype.delete=function(){u(this,"Delete",0,[],0,0)},e.prototype._handleResult=function(e){if(t.prototype._handleResult.call(this,e),!p(e)){var n=e;m(this,n),h(n.ColumnIndex)||(this._C=n.ColumnIndex),h(n.Width)||(this._W=n.Width)}},e.prototype.load=function(t){return d(this,t)},e.prototype.retrieve=function(t){return g(this,t)},e.prototype._handleRetrieveResult=function(e,n){t.prototype._handleRetrieveResult.call(this,e,n),O(this,e,n)},e.prototype.toJSON=function(){return b(this,{},{})},e.prototype.setMockData=function(t){S(this,t)},e.prototype.ensureUnchanged=function(t){a(this,t)},e}(OfficeExtension.ClientObject);t.TableColumn=bt;var mt=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return __extends(n,e),Object.defineProperty(n.prototype,"_className",{get:function(){return"TableColumnCollection"},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_isCollection",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"items",{get:function(){return f("items",this.m__items,"TableColumnCollection",this._isNull),this.m__items},enumerable:!0,configurable:!0}),n.prototype.add=function(t,e){u(this,"Add",0,[t,e],0,0)},n.prototype.deleteColumns=function(t){u(this,"DeleteColumns",0,[t],0,0)},n.prototype.getCount=function(){return u(this,"GetCount",1,[],4,0)},n.prototype.getItemAt=function(e){return i(t.TableColumn,this,"GetItemAt",1,[e],!1,!1,null,4)},n.prototype._handleResult=function(n){if(e.prototype._handleResult.call(this,n),!p(n)){var r=n;if(m(this,r),!p(r[OfficeExtension.Constants.items])){this.m__items=[];for(var i=r[OfficeExtension.Constants.items],o=0;o<i.length;o++){var l=s(t.TableColumn,!1,this,i[o],o);l._handleResult(i[o]),this.m__items.push(l)}}}},n.prototype.load=function(t){return d(this,t)},n.prototype.retrieve=function(t){return g(this,t)},n.prototype._handleRetrieveResult=function(n,r){var i=this;e.prototype._handleRetrieveResult.call(this,n,r),O(this,n,r,(function(e,n){return s(t.TableColumn,!1,i,e,n)}))},n.prototype.toJSON=function(){return b(this,{},{},this.m__items)},n.prototype.setMockData=function(e){var n=this;S(this,e,(function(e,r){return s(t.TableColumn,!1,n,e,r)}),(function(t){return n.m__items=t}))},n}(OfficeExtension.ClientObject);t.TableColumnCollection=mt;var _t="TableRow",Ct=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),Object.defineProperty(e.prototype,"_className",{get:function(){return"TableRow"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyNames",{get:function(){return["height","currentHeight","rowIndex"]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyOriginalNames",{get:function(){return["Height","CurrentHeight","RowIndex"]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyUpdateable",{get:function(){return[!0,!1,!1]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"currentHeight",{get:function(){return f("currentHeight",this._C,_t,this._isNull),this._C},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return f("height",this._H,_t,this._isNull),this._H},set:function(t){this._H=t,c(this,"Height",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rowIndex",{get:function(){return f("rowIndex",this._R,_t,this._isNull),this._R},enumerable:!0,configurable:!0}),e.prototype.delete=function(){u(this,"Delete",0,[],0,0)},e.prototype._handleResult=function(e){if(t.prototype._handleResult.call(this,e),!p(e)){var n=e;m(this,n),h(n.CurrentHeight)||(this._C=n.CurrentHeight),h(n.Height)||(this._H=n.Height),h(n.RowIndex)||(this._R=n.RowIndex)}},e.prototype.load=function(t){return d(this,t)},e.prototype.retrieve=function(t){return g(this,t)},e.prototype._handleRetrieveResult=function(e,n){t.prototype._handleRetrieveResult.call(this,e,n),O(this,e,n)},e.prototype.toJSON=function(){return b(this,{},{})},e.prototype.setMockData=function(t){S(this,t)},e.prototype.ensureUnchanged=function(t){a(this,t)},e}(OfficeExtension.ClientObject);t.TableRow=Ct;var Ot=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return __extends(n,e),Object.defineProperty(n.prototype,"_className",{get:function(){return"TableRowCollection"},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_isCollection",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"items",{get:function(){return f("items",this.m__items,"TableRowCollection",this._isNull),this.m__items},enumerable:!0,configurable:!0}),n.prototype.add=function(t,e){u(this,"Add",0,[t,e],0,0)},n.prototype.deleteRows=function(t){u(this,"DeleteRows",0,[t],0,0)},n.prototype.getCount=function(){return u(this,"GetCount",1,[],4,0)},n.prototype.getItemAt=function(e){return i(t.TableRow,this,"GetItemAt",1,[e],!1,!1,null,4)},n.prototype._handleResult=function(n){if(e.prototype._handleResult.call(this,n),!p(n)){var r=n;if(m(this,r),!p(r[OfficeExtension.Constants.items])){this.m__items=[];for(var i=r[OfficeExtension.Constants.items],o=0;o<i.length;o++){var l=s(t.TableRow,!1,this,i[o],o);l._handleResult(i[o]),this.m__items.push(l)}}}},n.prototype.load=function(t){return d(this,t)},n.prototype.retrieve=function(t){return g(this,t)},n.prototype._handleRetrieveResult=function(n,r){var i=this;e.prototype._handleRetrieveResult.call(this,n,r),O(this,n,r,(function(e,n){return s(t.TableRow,!1,i,e,n)}))},n.prototype.toJSON=function(){return b(this,{},{},this.m__items)},n.prototype.setMockData=function(e){var n=this;S(this,e,(function(e,r){return s(t.TableRow,!1,n,e,r)}),(function(t){return n.m__items=t}))},n}(OfficeExtension.ClientObject);t.TableRowCollection=Ot,function(t){t.noStyleNoGrid="NoStyleNoGrid",t.themedStyle1Accent1="ThemedStyle1Accent1",t.themedStyle1Accent2="ThemedStyle1Accent2",t.themedStyle1Accent3="ThemedStyle1Accent3",t.themedStyle1Accent4="ThemedStyle1Accent4",t.themedStyle1Accent5="ThemedStyle1Accent5",t.themedStyle1Accent6="ThemedStyle1Accent6",t.noStyleTableGrid="NoStyleTableGrid",t.themedStyle2Accent1="ThemedStyle2Accent1",t.themedStyle2Accent2="ThemedStyle2Accent2",t.themedStyle2Accent3="ThemedStyle2Accent3",t.themedStyle2Accent4="ThemedStyle2Accent4",t.themedStyle2Accent5="ThemedStyle2Accent5",t.themedStyle2Accent6="ThemedStyle2Accent6",t.lightStyle1="LightStyle1",t.lightStyle1Accent1="LightStyle1Accent1",t.lightStyle1Accent2="LightStyle1Accent2",t.lightStyle1Accent3="LightStyle1Accent3",t.lightStyle1Accent4="LightStyle1Accent4",t.lightStyle1Accent5="LightStyle1Accent5",t.lightStyle1Accent6="LightStyle1Accent6",t.lightStyle2="LightStyle2",t.lightStyle2Accent1="LightStyle2Accent1",t.lightStyle2Accent2="LightStyle2Accent2",t.lightStyle2Accent3="LightStyle2Accent3",t.lightStyle2Accent4="LightStyle2Accent4",t.lightStyle2Accent5="LightStyle2Accent5",t.lightStyle2Accent6="LightStyle2Accent6",t.lightStyle3="LightStyle3",t.lightStyle3Accent1="LightStyle3Accent1",t.lightStyle3Accent2="LightStyle3Accent2",t.lightStyle3Accent3="LightStyle3Accent3",t.lightStyle3Accent4="LightStyle3Accent4",t.lightStyle3Accent5="LightStyle3Accent5",t.lightStyle3Accent6="LightStyle3Accent6",t.mediumStyle1="MediumStyle1",t.mediumStyle1Accent1="MediumStyle1Accent1",t.mediumStyle1Accent2="MediumStyle1Accent2",t.mediumStyle1Accent3="MediumStyle1Accent3",t.mediumStyle1Accent4="MediumStyle1Accent4",t.mediumStyle1Accent5="MediumStyle1Accent5",t.mediumStyle1Accent6="MediumStyle1Accent6",t.mediumStyle2="MediumStyle2",t.mediumStyle2Accent1="MediumStyle2Accent1",t.mediumStyle2Accent2="MediumStyle2Accent2",t.mediumStyle2Accent3="MediumStyle2Accent3",t.mediumStyle2Accent4="MediumStyle2Accent4",t.mediumStyle2Accent5="MediumStyle2Accent5",t.mediumStyle2Accent6="MediumStyle2Accent6",t.mediumStyle3="MediumStyle3",t.mediumStyle3Accent1="MediumStyle3Accent1",t.mediumStyle3Accent2="MediumStyle3Accent2",t.mediumStyle3Accent3="MediumStyle3Accent3",t.mediumStyle3Accent4="MediumStyle3Accent4",t.mediumStyle3Accent5="MediumStyle3Accent5",t.mediumStyle3Accent6="MediumStyle3Accent6",t.mediumStyle4="MediumStyle4",t.mediumStyle4Accent1="MediumStyle4Accent1",t.mediumStyle4Accent2="MediumStyle4Accent2",t.mediumStyle4Accent3="MediumStyle4Accent3",t.mediumStyle4Accent4="MediumStyle4Accent4",t.mediumStyle4Accent5="MediumStyle4Accent5",t.mediumStyle4Accent6="MediumStyle4Accent6",t.darkStyle1="DarkStyle1",t.darkStyle1Accent1="DarkStyle1Accent1",t.darkStyle1Accent2="DarkStyle1Accent2",t.darkStyle1Accent3="DarkStyle1Accent3",t.darkStyle1Accent4="DarkStyle1Accent4",t.darkStyle1Accent5="DarkStyle1Accent5",t.darkStyle1Accent6="DarkStyle1Accent6",t.darkStyle2="DarkStyle2",t.darkStyle2Accent1="DarkStyle2Accent1",t.darkStyle2Accent2="DarkStyle2Accent2",t.darkStyle2Accent3="DarkStyle2Accent3"}(t.TableStyle||(t.TableStyle={}));var St="TableStyleSettings",Pt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),Object.defineProperty(e.prototype,"_className",{get:function(){return"TableStyleSettings"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyNames",{get:function(){return["areColumnsBanded","areRowsBanded","isFirstColumnHighlighted","isFirstRowHighlighted","isLastColumnHighlighted","isLastRowHighlighted","style"]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyOriginalNames",{get:function(){return["AreColumnsBanded","AreRowsBanded","IsFirstColumnHighlighted","IsFirstRowHighlighted","IsLastColumnHighlighted","IsLastRowHighlighted","Style"]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyUpdateable",{get:function(){return[!0,!0,!0,!0,!0,!0,!0]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"areColumnsBanded",{get:function(){return f("areColumnsBanded",this._A,St,this._isNull),this._A},set:function(t){this._A=t,c(this,"AreColumnsBanded",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"areRowsBanded",{get:function(){return f("areRowsBanded",this._Ar,St,this._isNull),this._Ar},set:function(t){this._Ar=t,c(this,"AreRowsBanded",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isFirstColumnHighlighted",{get:function(){return f("isFirstColumnHighlighted",this._I,St,this._isNull),this._I},set:function(t){this._I=t,c(this,"IsFirstColumnHighlighted",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isFirstRowHighlighted",{get:function(){return f("isFirstRowHighlighted",this._Is,St,this._isNull),this._Is},set:function(t){this._Is=t,c(this,"IsFirstRowHighlighted",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isLastColumnHighlighted",{get:function(){return f("isLastColumnHighlighted",this._IsL,St,this._isNull),this._IsL},set:function(t){this._IsL=t,c(this,"IsLastColumnHighlighted",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isLastRowHighlighted",{get:function(){return f("isLastRowHighlighted",this._IsLa,St,this._isNull),this._IsLa},set:function(t){this._IsLa=t,c(this,"IsLastRowHighlighted",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"style",{get:function(){return f("style",this._S,St,this._isNull),this._S},set:function(t){this._S=t,c(this,"Style",t,0)},enumerable:!0,configurable:!0}),e.prototype._handleResult=function(e){if(t.prototype._handleResult.call(this,e),!p(e)){var n=e;m(this,n),h(n.AreColumnsBanded)||(this._A=n.AreColumnsBanded),h(n.AreRowsBanded)||(this._Ar=n.AreRowsBanded),h(n.IsFirstColumnHighlighted)||(this._I=n.IsFirstColumnHighlighted),h(n.IsFirstRowHighlighted)||(this._Is=n.IsFirstRowHighlighted),h(n.IsLastColumnHighlighted)||(this._IsL=n.IsLastColumnHighlighted),h(n.IsLastRowHighlighted)||(this._IsLa=n.IsLastRowHighlighted),h(n.Style)||(this._S=n.Style)}},e.prototype.load=function(t){return d(this,t)},e.prototype.retrieve=function(t){return g(this,t)},e.prototype._handleRetrieveResult=function(e,n){t.prototype._handleRetrieveResult.call(this,e,n),O(this,e,n)},e.prototype.toJSON=function(){return b(this,{},{})},e.prototype.setMockData=function(t){S(this,t)},e.prototype.ensureUnchanged=function(t){a(this,t)},e}(OfficeExtension.ClientObject);t.TableStyleSettings=Pt;var Rt="Table",jt=function(o){function l(){return null!==o&&o.apply(this,arguments)||this}return __extends(l,o),Object.defineProperty(l.prototype,"_className",{get:function(){return"Table"},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"_scalarPropertyNames",{get:function(){return["columnCount","rowCount","values"]},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"_scalarPropertyOriginalNames",{get:function(){return["ColumnCount","RowCount","Values"]},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"_navigationPropertyNames",{get:function(){return["columns","rows","styleSettings"]},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"columns",{get:function(){return y("Table.columns",n,"1.9",e),this._Co||(this._Co=r(t.TableColumnCollection,this,"Columns",!0,4)),this._Co},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"rows",{get:function(){return y("Table.rows",n,"1.9",e),this._Ro||(this._Ro=r(t.TableRowCollection,this,"Rows",!0,4)),this._Ro},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"styleSettings",{get:function(){return y("Table.styleSettings",n,"1.9",e),this._S||(this._S=r(t.TableStyleSettings,this,"StyleSettings",!1,4)),this._S},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"columnCount",{get:function(){return f("columnCount",this._C,Rt,this._isNull),this._C},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"rowCount",{get:function(){return f("rowCount",this._R,Rt,this._isNull),this._R},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"values",{get:function(){return f("values",this._V,Rt,this._isNull),this._V},enumerable:!0,configurable:!0}),l.prototype.clear=function(t){y("Table.clear",n,"1.9",e),u(this,"Clear",0,[t],0,0)},l.prototype.getCellOrNullObject=function(e,n){return i(t.TableCell,this,"GetCellOrNullObject",1,[e,n],!1,!1,null,4)},l.prototype.getMergedAreas=function(){return i(t.TableCellCollection,this,"GetMergedAreas",0,[],!0,!1,null,0)},l.prototype.getShape=function(){return i(t.Shape,this,"GetShape",1,[],!1,!1,null,4)},l.prototype.mergeCells=function(t,r,i,o){y("Table.mergeCells",n,"1.9",e),u(this,"MergeCells",0,[t,r,i,o],0,0)},l.prototype._handleResult=function(t){if(o.prototype._handleResult.call(this,t),!p(t)){var e=t;m(this,e),h(e.ColumnCount)||(this._C=e.ColumnCount),h(e.RowCount)||(this._R=e.RowCount),h(e.Values)||(this._V=e.Values),_(this,e,["columns","Columns","rows","Rows","styleSettings","StyleSettings"])}},l.prototype.load=function(t){return d(this,t)},l.prototype.retrieve=function(t){return g(this,t)},l.prototype._handleRetrieveResult=function(t,e){o.prototype._handleRetrieveResult.call(this,t,e),O(this,t,e)},l.prototype.toJSON=function(){return b(this,{},{})},l.prototype.setMockData=function(t){S(this,t)},l.prototype.ensureUnchanged=function(t){a(this,t)},l}(OfficeExtension.ClientObject);t.Table=jt,function(t){t.uniformChart="UniformChart",t.chartSpecSource="ChartSpecSource"}(t.ChartSpecificationType||(t.ChartSpecificationType={}));var vt=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return __extends(n,e),Object.defineProperty(n.prototype,"_className",{get:function(){return"Chart"},enumerable:!0,configurable:!0}),n.prototype.applySpecification=function(t,e){return u(this,"ApplySpecification",0,[t,e],1,0)},n.prototype.getShape=function(){return i(t.Shape,this,"GetShape",1,[],!1,!1,null,5)},n.prototype.getSpecification=function(t){return u(this,"GetSpecification",1,[t],5,0)},n.prototype._handleResult=function(t){(e.prototype._handleResult.call(this,t),p(t))||m(this,t)},n.prototype._handleRetrieveResult=function(t,n){e.prototype._handleRetrieveResult.call(this,t,n),O(this,t,n)},n.prototype.toJSON=function(){return b(this,{},{})},n}(OfficeExtension.ClientObject);t.Chart=vt;var At=function(r){function l(){return null!==r&&r.apply(this,arguments)||this}return __extends(l,r),Object.defineProperty(l.prototype,"_className",{get:function(){return"ShapeCollection"},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"_isCollection",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"items",{get:function(){return f("items",this.m__items,"ShapeCollection",this._isNull),this.m__items},enumerable:!0,configurable:!0}),l.prototype.addChartFromSpecification=function(t,r,i){return y("ShapeCollection.addChartFromSpecification",n,"99.9",e),u(this,"AddChartFromSpecification",0,[t,r,i],1,0)},l.prototype.addGeometricShape=function(r,o){return y("ShapeCollection.addGeometricShape",n,"1.4",e),i(t.Shape,this,"AddGeometricShape",0,[r,o],!1,!1,null,0)},l.prototype.addGroup=function(r){return y("ShapeCollection.addGroup",n,"1.8",e),i(t.Shape,this,"AddGroup",0,[r],!1,!1,null,0)},l.prototype.addLine=function(r,o){return y("ShapeCollection.addLine",n,"1.4",e),i(t.Shape,this,"AddLine",0,[r,o],!1,!1,null,0)},l.prototype.addPicture=function(r,o){return y("ShapeCollection.addPicture",n,"1.11",e),i(t.Shape,this,"AddPicture",0,[r,o],!1,!1,null,0)},l.prototype.addTable=function(r,o,l){return y("ShapeCollection.addTable",n,"1.8",e),i(t.Shape,this,"AddTable",0,[r,o,l],!1,!1,null,0)},l.prototype.addTextBox=function(r,o){return y("ShapeCollection.addTextBox",n,"1.4",e),i(t.Shape,this,"AddTextBox",0,[r,o],!1,!1,null,0)},l.prototype.getCount=function(){return u(this,"GetCount",1,[],4,0)},l.prototype.getItem=function(e){return o(t.Shape,this,[e])},l.prototype.getItemAt=function(e){return i(t.Shape,this,"GetItemAt",1,[e],!1,!1,null,4)},l.prototype.getItemOrNullObject=function(e){return i(t.Shape,this,"GetItemOrNullObject",0,[e],!1,!1,null,0)},l.prototype.insertFromBase64Presentation=function(r,o){return y("ShapeCollection.insertFromBase64Presentation",n,"1.11",e),i(t.ShapeScopedCollection,this,"InsertFromBase64Presentation",0,[r,o],!0,!1,null,1)},l.prototype._handleResult=function(e){if(r.prototype._handleResult.call(this,e),!p(e)){var n=e;if(m(this,n),!p(n[OfficeExtension.Constants.items])){this.m__items=[];for(var i=n[OfficeExtension.Constants.items],o=0;o<i.length;o++){var l=s(t.Shape,!0,this,i[o],o);l._handleResult(i[o]),this.m__items.push(l)}}}},l.prototype.load=function(t){return d(this,t)},l.prototype.retrieve=function(t){return g(this,t)},l.prototype._handleRetrieveResult=function(e,n){var i=this;r.prototype._handleRetrieveResult.call(this,e,n),O(this,e,n,(function(e,n){return s(t.Shape,!0,i,e,n)}))},l.prototype.toJSON=function(){return b(this,{},{},this.m__items)},l.prototype.setMockData=function(e){var n=this;S(this,e,(function(e,r){return s(t.Shape,!0,n,e,r)}),(function(t){return n.m__items=t}))},l}(OfficeExtension.ClientObject);t.ShapeCollection=At,function(t){t.unsupported="Unsupported",t.linear="Linear",t.radial="Radial",t.rectangular="Rectangular",t.path="Path",t.shadeFromTitle="ShadeFromTitle"}(t.SlideBackgroundGradientFillType||(t.SlideBackgroundGradientFillType={}));var Tt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),Object.defineProperty(e.prototype,"_className",{get:function(){return"SlideBackgroundGradientFill"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyNames",{get:function(){return["type"]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyOriginalNames",{get:function(){return["Type"]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyUpdateable",{get:function(){return[!0]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return f("type",this._T,"SlideBackgroundGradientFill",this._isNull),this._T},set:function(t){this._T=t,c(this,"Type",t,0)},enumerable:!0,configurable:!0}),e.prototype._handleResult=function(e){if(t.prototype._handleResult.call(this,e),!p(e)){var n=e;m(this,n),h(n.Type)||(this._T=n.Type)}},e.prototype.load=function(t){return d(this,t)},e.prototype.retrieve=function(t){return g(this,t)},e.prototype._handleRetrieveResult=function(e,n){t.prototype._handleRetrieveResult.call(this,e,n),O(this,e,n)},e.prototype.toJSON=function(){return b(this,{},{})},e.prototype.setMockData=function(t){S(this,t)},e.prototype.ensureUnchanged=function(t){a(this,t)},e}(OfficeExtension.ClientObject);t.SlideBackgroundGradientFill=Tt,function(t){t.unsupported="Unsupported",t.percent5="Percent5",t.percent10="Percent10",t.percent20="Percent20",t.percent25="Percent25",t.percent30="Percent30",t.percent40="Percent40",t.percent50="Percent50",t.percent60="Percent60",t.percent70="Percent70",t.percent75="Percent75",t.percent80="Percent80",t.percent90="Percent90",t.horizontal="Horizontal",t.vertical="Vertical",t.lightHorizontal="LightHorizontal",t.lightVertical="LightVertical",t.darkHorizontal="DarkHorizontal",t.darkVertical="DarkVertical",t.narrowHorizontal="NarrowHorizontal",t.narrowVertical="NarrowVertical",t.dashedHorizontal="DashedHorizontal",t.dashedVertical="DashedVertical",t.cross="Cross",t.downwardDiagonal="DownwardDiagonal",t.upwardDiagonal="UpwardDiagonal",t.lightDownwardDiagonal="LightDownwardDiagonal",t.lightUpwardDiagonal="LightUpwardDiagonal",t.darkDownwardDiagonal="DarkDownwardDiagonal",t.darkUpwardDiagonal="DarkUpwardDiagonal",t.wideDownwardDiagonal="WideDownwardDiagonal",t.wideUpwardDiagonal="WideUpwardDiagonal",t.dashedDownwardDiagonal="DashedDownwardDiagonal",t.dashedUpwardDiagonal="DashedUpwardDiagonal",t.diagonalCross="DiagonalCross",t.smallCheckerBoard="SmallCheckerBoard",t.largeCheckerBoard="LargeCheckerBoard",t.smallGrid="SmallGrid",t.largeGrid="LargeGrid",t.dottedGrid="DottedGrid",t.smallConfetti="SmallConfetti",t.largeConfetti="LargeConfetti",t.horizontalBrick="HorizontalBrick",t.diagonalBrick="DiagonalBrick",t.solidDiamond="SolidDiamond",t.outlinedDiamond="OutlinedDiamond",t.dottedDiamond="DottedDiamond",t.plaid="Plaid",t.sphere="Sphere",t.weave="Weave",t.divot="Divot",t.shingle="Shingle",t.wave="Wave",t.trellis="Trellis",t.zigZag="ZigZag"}(t.SlideBackgroundPatternFillType||(t.SlideBackgroundPatternFillType={}));var Nt="SlideBackgroundPatternFill",xt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),Object.defineProperty(e.prototype,"_className",{get:function(){return"SlideBackgroundPatternFill"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyNames",{get:function(){return["backgroundColor","foregroundColor","pattern"]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyOriginalNames",{get:function(){return["BackgroundColor","ForegroundColor","Pattern"]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyUpdateable",{get:function(){return[!0,!0,!0]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"backgroundColor",{get:function(){return f("backgroundColor",this._B,Nt,this._isNull),this._B},set:function(t){this._B=t,c(this,"BackgroundColor",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"foregroundColor",{get:function(){return f("foregroundColor",this._F,Nt,this._isNull),this._F},set:function(t){this._F=t,c(this,"ForegroundColor",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pattern",{get:function(){return f("pattern",this._P,Nt,this._isNull),this._P},set:function(t){this._P=t,c(this,"Pattern",t,0)},enumerable:!0,configurable:!0}),e.prototype._handleResult=function(e){if(t.prototype._handleResult.call(this,e),!p(e)){var n=e;m(this,n),h(n.BackgroundColor)||(this._B=n.BackgroundColor),h(n.ForegroundColor)||(this._F=n.ForegroundColor),h(n.Pattern)||(this._P=n.Pattern)}},e.prototype.load=function(t){return d(this,t)},e.prototype.retrieve=function(t){return g(this,t)},e.prototype._handleRetrieveResult=function(e,n){t.prototype._handleRetrieveResult.call(this,e,n),O(this,e,n)},e.prototype.toJSON=function(){return b(this,{},{})},e.prototype.setMockData=function(t){S(this,t)},e.prototype.ensureUnchanged=function(t){a(this,t)},e}(OfficeExtension.ClientObject);t.SlideBackgroundPatternFill=xt;var It=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),Object.defineProperty(e.prototype,"_className",{get:function(){return"SlideBackgroundPictureOrTextureFill"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyNames",{get:function(){return["transparency"]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyOriginalNames",{get:function(){return["Transparency"]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyUpdateable",{get:function(){return[!0]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"transparency",{get:function(){return f("transparency",this._T,"SlideBackgroundPictureOrTextureFill",this._isNull),this._T},set:function(t){this._T=t,c(this,"Transparency",t,0)},enumerable:!0,configurable:!0}),e.prototype.setImage=function(t){u(this,"SetImage",0,[t],0,0)},e.prototype._handleResult=function(e){if(t.prototype._handleResult.call(this,e),!p(e)){var n=e;m(this,n),h(n.Transparency)||(this._T=n.Transparency)}},e.prototype.load=function(t){return d(this,t)},e.prototype.retrieve=function(t){return g(this,t)},e.prototype._handleRetrieveResult=function(e,n){t.prototype._handleRetrieveResult.call(this,e,n),O(this,e,n)},e.prototype.toJSON=function(){return b(this,{},{})},e.prototype.setMockData=function(t){S(this,t)},e.prototype.ensureUnchanged=function(t){a(this,t)},e}(OfficeExtension.ClientObject);t.SlideBackgroundPictureOrTextureFill=It,function(t){t.unsupported="Unsupported",t.solid="Solid",t.gradient="Gradient",t.pictureOrTexture="PictureOrTexture",t.pattern="Pattern"}(t.SlideBackgroundFillType||(t.SlideBackgroundFillType={}));var Dt="SlideBackgroundSolidFill",kt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),Object.defineProperty(e.prototype,"_className",{get:function(){return"SlideBackgroundSolidFill"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyNames",{get:function(){return["color","transparency"]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyOriginalNames",{get:function(){return["Color","Transparency"]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyUpdateable",{get:function(){return[!0,!0]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"color",{get:function(){return f("color",this._C,Dt,this._isNull),this._C},set:function(t){this._C=t,c(this,"Color",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"transparency",{get:function(){return f("transparency",this._T,Dt,this._isNull),this._T},set:function(t){this._T=t,c(this,"Transparency",t,0)},enumerable:!0,configurable:!0}),e.prototype._handleResult=function(e){if(t.prototype._handleResult.call(this,e),!p(e)){var n=e;m(this,n),h(n.Color)||(this._C=n.Color),h(n.Transparency)||(this._T=n.Transparency)}},e.prototype.load=function(t){return d(this,t)},e.prototype.retrieve=function(t){return g(this,t)},e.prototype._handleRetrieveResult=function(e,n){t.prototype._handleRetrieveResult.call(this,e,n),O(this,e,n)},e.prototype.toJSON=function(){return b(this,{},{})},e.prototype.setMockData=function(t){S(this,t)},e.prototype.ensureUnchanged=function(t){a(this,t)},e}(OfficeExtension.ClientObject);t.SlideBackgroundSolidFill=kt;var wt=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return __extends(n,e),Object.defineProperty(n.prototype,"_className",{get:function(){return"SlideBackgroundFill"},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_scalarPropertyNames",{get:function(){return["type"]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_scalarPropertyOriginalNames",{get:function(){return["Type"]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"type",{get:function(){return f("type",this._T,"SlideBackgroundFill",this._isNull),this._T},enumerable:!0,configurable:!0}),n.prototype.getGradientFillOrNullObject=function(){return i(t.SlideBackgroundGradientFill,this,"GetGradientFillOrNullObject",1,[],!1,!1,null,4)},n.prototype.getPatternFillOrNullObject=function(){return i(t.SlideBackgroundPatternFill,this,"GetPatternFillOrNullObject",1,[],!1,!1,null,4)},n.prototype.getPictureOrTextureFillOrNullObject=function(){return i(t.SlideBackgroundPictureOrTextureFill,this,"GetPictureOrTextureFillOrNullObject",1,[],!1,!1,null,4)},n.prototype.getSolidFillOrNullObject=function(){return i(t.SlideBackgroundSolidFill,this,"GetSolidFillOrNullObject",1,[],!1,!1,null,4)},n.prototype.setGradientFill=function(t){u(this,"SetGradientFill",0,[t],0,0)},n.prototype.setPatternFill=function(t){u(this,"SetPatternFill",0,[t],0,0)},n.prototype.setPictureOrTextureFill=function(t){u(this,"SetPictureOrTextureFill",0,[t],0,0)},n.prototype.setSolidFill=function(t){u(this,"SetSolidFill",0,[t],0,0)},n.prototype._handleResult=function(t){if(e.prototype._handleResult.call(this,t),!p(t)){var n=t;m(this,n),h(n.Type)||(this._T=n.Type)}},n.prototype.load=function(t){return d(this,t)},n.prototype.retrieve=function(t){return g(this,t)},n.prototype._handleRetrieveResult=function(t,n){e.prototype._handleRetrieveResult.call(this,t,n),O(this,t,n)},n.prototype.toJSON=function(){return b(this,{},{})},n.prototype.setMockData=function(t){S(this,t)},n.prototype.ensureUnchanged=function(t){a(this,t)},n}(OfficeExtension.ClientObject);t.SlideBackgroundFill=wt;var Bt="SlideBackground",Ft=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return __extends(n,e),Object.defineProperty(n.prototype,"_className",{get:function(){return"SlideBackground"},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_scalarPropertyNames",{get:function(){return["areBackgroundGraphicsHidden","isMasterBackgroundFollowed"]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_scalarPropertyOriginalNames",{get:function(){return["AreBackgroundGraphicsHidden","IsMasterBackgroundFollowed"]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_scalarPropertyUpdateable",{get:function(){return[!0,!0]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_navigationPropertyNames",{get:function(){return["fill"]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"fill",{get:function(){return this._F||(this._F=r(t.SlideBackgroundFill,this,"Fill",!1,4)),this._F},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"areBackgroundGraphicsHidden",{get:function(){return f("areBackgroundGraphicsHidden",this._A,Bt,this._isNull),this._A},set:function(t){this._A=t,c(this,"AreBackgroundGraphicsHidden",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"isMasterBackgroundFollowed",{get:function(){return f("isMasterBackgroundFollowed",this._I,Bt,this._isNull),this._I},set:function(t){this._I=t,c(this,"IsMasterBackgroundFollowed",t,0)},enumerable:!0,configurable:!0}),n.prototype.reset=function(){u(this,"Reset",0,[],0,0)},n.prototype._handleResult=function(t){if(e.prototype._handleResult.call(this,t),!p(t)){var n=t;m(this,n),h(n.AreBackgroundGraphicsHidden)||(this._A=n.AreBackgroundGraphicsHidden),h(n.IsMasterBackgroundFollowed)||(this._I=n.IsMasterBackgroundFollowed),_(this,n,["fill","Fill"])}},n.prototype.load=function(t){return d(this,t)},n.prototype.retrieve=function(t){return g(this,t)},n.prototype._handleRetrieveResult=function(t,n){e.prototype._handleRetrieveResult.call(this,t,n),O(this,t,n)},n.prototype.toJSON=function(){return b(this,{},{})},n.prototype.setMockData=function(t){S(this,t)},n.prototype.ensureUnchanged=function(t){a(this,t)},n}(OfficeExtension.ClientObject);t.SlideBackground=Ft;var Lt="SlideLayoutBackground",Mt=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return __extends(n,e),Object.defineProperty(n.prototype,"_className",{get:function(){return"SlideLayoutBackground"},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_scalarPropertyNames",{get:function(){return["areBackgroundGraphicsHidden","isMasterBackgroundFollowed"]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_scalarPropertyOriginalNames",{get:function(){return["AreBackgroundGraphicsHidden","IsMasterBackgroundFollowed"]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_scalarPropertyUpdateable",{get:function(){return[!0,!0]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_navigationPropertyNames",{get:function(){return["fill"]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"fill",{get:function(){return this._F||(this._F=r(t.SlideBackgroundFill,this,"Fill",!1,4)),this._F},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"areBackgroundGraphicsHidden",{get:function(){return f("areBackgroundGraphicsHidden",this._A,Lt,this._isNull),this._A},set:function(t){this._A=t,c(this,"AreBackgroundGraphicsHidden",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"isMasterBackgroundFollowed",{get:function(){return f("isMasterBackgroundFollowed",this._I,Lt,this._isNull),this._I},set:function(t){this._I=t,c(this,"IsMasterBackgroundFollowed",t,0)},enumerable:!0,configurable:!0}),n.prototype.reset=function(){u(this,"Reset",0,[],0,0)},n.prototype._handleResult=function(t){if(e.prototype._handleResult.call(this,t),!p(t)){var n=t;m(this,n),h(n.AreBackgroundGraphicsHidden)||(this._A=n.AreBackgroundGraphicsHidden),h(n.IsMasterBackgroundFollowed)||(this._I=n.IsMasterBackgroundFollowed),_(this,n,["fill","Fill"])}},n.prototype.load=function(t){return d(this,t)},n.prototype.retrieve=function(t){return g(this,t)},n.prototype._handleRetrieveResult=function(t,n){e.prototype._handleRetrieveResult.call(this,t,n),O(this,t,n)},n.prototype.toJSON=function(){return b(this,{},{})},n.prototype.setMockData=function(t){S(this,t)},n.prototype.ensureUnchanged=function(t){a(this,t)},n}(OfficeExtension.ClientObject);t.SlideLayoutBackground=Mt,function(t){t.blank="Blank",t.chart="Chart",t.chartAndText="ChartAndText",t.clipArtAndText="ClipArtAndText",t.clipArtAndVerticalText="ClipArtAndVerticalText",t.comparison="Comparison",t.contentWithCaption="ContentWithCaption",t.custom="Custom",t.fourObjects="FourObjects",t.largeObject="LargeObject",t.mediaClipAndText="MediaClipAndText",t.mixed="Mixed",t.object="Object",t.objectAndText="ObjectAndText",t.objectAndTwoObjects="ObjectAndTwoObjects",t.objectOverText="ObjectOverText",t.organizationChart="OrganizationChart",t.pictureWithCaption="PictureWithCaption",t.sectionHeader="SectionHeader",t.table="Table",t.text="Text",t.textAndChart="TextAndChart",t.textAndClipArt="TextAndClipArt",t.textAndMediaClip="TextAndMediaClip",t.textAndObject="TextAndObject",t.textAndTwoObjects="TextAndTwoObjects",t.textOverObject="TextOverObject",t.title="Title",t.titleOnly="TitleOnly",t.twoColumnText="TwoColumnText",t.twoObjects="TwoObjects",t.twoObjectsAndObject="TwoObjectsAndObject",t.twoObjectsAndText="TwoObjectsAndText",t.twoObjectsOverText="TwoObjectsOverText",t.verticalText="VerticalText",t.verticalTitleAndText="VerticalTitleAndText",t.verticalTitleAndTextOverChart="VerticalTitleAndTextOverChart"}(t.SlideLayoutType||(t.SlideLayoutType={})),function(t){t.mixed="Mixed",t.none="None",t.accent1="Accent1",t.accent2="Accent2",t.accent3="Accent3",t.accent4="Accent4",t.accent5="Accent5",t.accent6="Accent6",t.dark1="Dark1",t.dark2="Dark2",t.followedHyperlink="FollowedHyperlink",t.hyperlink="Hyperlink",t.light1="Light1",t.light2="Light2"}(t.ThemeColor||(t.ThemeColor={}));var Et=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),Object.defineProperty(e.prototype,"_className",{get:function(){return"ThemeColorScheme"},enumerable:!0,configurable:!0}),e.prototype.getThemeColor=function(t){return u(this,"GetThemeColor",1,[t],4,0)},e.prototype.setThemeColor=function(t,e){u(this,"SetThemeColor",0,[t,e],0,0)},e.prototype._handleResult=function(e){(t.prototype._handleResult.call(this,e),p(e))||m(this,e)},e.prototype._handleRetrieveResult=function(e,n){t.prototype._handleRetrieveResult.call(this,e,n),O(this,e,n)},e.prototype.toJSON=function(){return b(this,{},{})},e}(OfficeExtension.ClientObject);t.ThemeColorScheme=Et;var Gt="SlideLayout",Ut=function(i){function o(){return null!==i&&i.apply(this,arguments)||this}return __extends(o,i),Object.defineProperty(o.prototype,"_className",{get:function(){return"SlideLayout"},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"_scalarPropertyNames",{get:function(){return["id","name","type"]},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"_scalarPropertyOriginalNames",{get:function(){return["Id","Name","Type"]},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"_navigationPropertyNames",{get:function(){return["shapes","customXmlParts","background","themeColorScheme"]},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"background",{get:function(){return y("SlideLayout.background",n,"1.10",e),this._B||(this._B=r(t.SlideLayoutBackground,this,"Background",!1,4)),this._B},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"customXmlParts",{get:function(){return y("SlideLayout.customXmlParts",n,"1.7",e),this._C||(this._C=r(t.CustomXmlPartCollection,this,"CustomXmlParts",!0,4)),this._C},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"shapes",{get:function(){return this._S||(this._S=r(t.ShapeCollection,this,"Shapes",!0,4)),this._S},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"themeColorScheme",{get:function(){return y("SlideLayout.themeColorScheme",n,"1.10",e),this._T||(this._T=r(t.ThemeColorScheme,this,"ThemeColorScheme",!1,4)),this._T},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"id",{get:function(){return f("id",this._I,Gt,this._isNull),this._I},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"name",{get:function(){return f("name",this._N,Gt,this._isNull),this._N},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"type",{get:function(){return f("type",this._Ty,Gt,this._isNull),y("SlideLayout.type",n,"1.8",e),this._Ty},enumerable:!0,configurable:!0}),o.prototype.delete=function(){y("SlideLayout.delete",n,"1.11",e),u(this,"Delete",0,[],0,0)},o.prototype._handleResult=function(t){if(i.prototype._handleResult.call(this,t),!p(t)){var e=t;m(this,e),h(e.Id)||(this._I=e.Id),h(e.Name)||(this._N=e.Name),h(e.Type)||(this._Ty=e.Type),_(this,e,["background","Background","customXmlParts","CustomXmlParts","shapes","Shapes","themeColorScheme","ThemeColorScheme"])}},o.prototype.load=function(t){return d(this,t)},o.prototype.retrieve=function(t){return g(this,t)},o.prototype._handleIdResult=function(t){i.prototype._handleIdResult.call(this,t),p(t)||h(t.Id)||(this._I=t.Id)},o.prototype._handleRetrieveResult=function(t,e){i.prototype._handleRetrieveResult.call(this,t,e),O(this,t,e)},o.prototype.toJSON=function(){return b(this,{},{})},o.prototype.setMockData=function(t){S(this,t)},o.prototype.ensureUnchanged=function(t){a(this,t)},o}(OfficeExtension.ClientObject);t.SlideLayout=Ut;var Ht=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return __extends(n,e),Object.defineProperty(n.prototype,"_className",{get:function(){return"SlideLayoutCollection"},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_isCollection",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"items",{get:function(){return f("items",this.m__items,"SlideLayoutCollection",this._isNull),this.m__items},enumerable:!0,configurable:!0}),n.prototype.getCount=function(){return u(this,"GetCount",1,[],4,0)},n.prototype.getItem=function(e){return o(t.SlideLayout,this,[e])},n.prototype.getItemAt=function(e){return i(t.SlideLayout,this,"GetItemAt",1,[e],!1,!1,null,4)},n.prototype.getItemOrNullObject=function(e){return i(t.SlideLayout,this,"GetItemOrNullObject",0,[e],!1,!1,null,0)},n.prototype._handleResult=function(n){if(e.prototype._handleResult.call(this,n),!p(n)){var r=n;if(m(this,r),!p(r[OfficeExtension.Constants.items])){this.m__items=[];for(var i=r[OfficeExtension.Constants.items],o=0;o<i.length;o++){var l=s(t.SlideLayout,!0,this,i[o],o);l._handleResult(i[o]),this.m__items.push(l)}}}},n.prototype.load=function(t){return d(this,t)},n.prototype.retrieve=function(t){return g(this,t)},n.prototype._handleRetrieveResult=function(n,r){var i=this;e.prototype._handleRetrieveResult.call(this,n,r),O(this,n,r,(function(e,n){return s(t.SlideLayout,!0,i,e,n)}))},n.prototype.toJSON=function(){return b(this,{},{},this.m__items)},n.prototype.setMockData=function(e){var n=this;S(this,e,(function(e,r){return s(t.SlideLayout,!0,n,e,r)}),(function(t){return n.m__items=t}))},n}(OfficeExtension.ClientObject);t.SlideLayoutCollection=Ht;var Vt=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return __extends(n,e),Object.defineProperty(n.prototype,"_className",{get:function(){return"SlideMasterBackground"},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_navigationPropertyNames",{get:function(){return["fill"]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"fill",{get:function(){return this._F||(this._F=r(t.SlideBackgroundFill,this,"Fill",!1,4)),this._F},enumerable:!0,configurable:!0}),n.prototype._handleResult=function(t){if(e.prototype._handleResult.call(this,t),!p(t)){var n=t;m(this,n),_(this,n,["fill","Fill"])}},n.prototype.load=function(t){return d(this,t)},n.prototype.retrieve=function(t){return g(this,t)},n.prototype._handleRetrieveResult=function(t,n){e.prototype._handleRetrieveResult.call(this,t,n),O(this,t,n)},n.prototype.toJSON=function(){return b(this,{},{})},n.prototype.setMockData=function(t){S(this,t)},n.prototype.ensureUnchanged=function(t){a(this,t)},n}(OfficeExtension.ClientObject);t.SlideMasterBackground=Vt;var Jt="SlideMaster",Wt=function(i){function o(){return null!==i&&i.apply(this,arguments)||this}return __extends(o,i),Object.defineProperty(o.prototype,"_className",{get:function(){return"SlideMaster"},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"_scalarPropertyNames",{get:function(){return["id","name"]},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"_scalarPropertyOriginalNames",{get:function(){return["Id","Name"]},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"_navigationPropertyNames",{get:function(){return["layouts","shapes","customXmlParts","background","themeColorScheme"]},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"background",{get:function(){return y("SlideMaster.background",n,"1.10",e),this._B||(this._B=r(t.SlideMasterBackground,this,"Background",!1,4)),this._B},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"customXmlParts",{get:function(){return y("SlideMaster.customXmlParts",n,"1.7",e),this._C||(this._C=r(t.CustomXmlPartCollection,this,"CustomXmlParts",!0,4)),this._C},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"layouts",{get:function(){return this._L||(this._L=r(t.SlideLayoutCollection,this,"Layouts",!0,4)),this._L},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"shapes",{get:function(){return this._S||(this._S=r(t.ShapeCollection,this,"Shapes",!0,4)),this._S},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"themeColorScheme",{get:function(){return y("SlideMaster.themeColorScheme",n,"1.10",e),this._T||(this._T=r(t.ThemeColorScheme,this,"ThemeColorScheme",!1,4)),this._T},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"id",{get:function(){return f("id",this._I,Jt,this._isNull),this._I},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"name",{get:function(){return f("name",this._N,Jt,this._isNull),this._N},enumerable:!0,configurable:!0}),o.prototype.delete=function(){y("SlideMaster.delete",n,"1.11",e),u(this,"Delete",0,[],0,0)},o.prototype._handleResult=function(t){if(i.prototype._handleResult.call(this,t),!p(t)){var e=t;m(this,e),h(e.Id)||(this._I=e.Id),h(e.Name)||(this._N=e.Name),_(this,e,["background","Background","customXmlParts","CustomXmlParts","layouts","Layouts","shapes","Shapes","themeColorScheme","ThemeColorScheme"])}},o.prototype.load=function(t){return d(this,t)},o.prototype.retrieve=function(t){return g(this,t)},o.prototype._handleIdResult=function(t){i.prototype._handleIdResult.call(this,t),p(t)||h(t.Id)||(this._I=t.Id)},o.prototype._handleRetrieveResult=function(t,e){i.prototype._handleRetrieveResult.call(this,t,e),O(this,t,e)},o.prototype.toJSON=function(){return b(this,{},{})},o.prototype.setMockData=function(t){S(this,t)},o.prototype.ensureUnchanged=function(t){a(this,t)},o}(OfficeExtension.ClientObject);t.SlideMaster=Wt;var zt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),Object.defineProperty(e.prototype,"_className",{get:function(){return"Tag"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyNames",{get:function(){return["key","value"]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyOriginalNames",{get:function(){return["Key","Value"]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyUpdateable",{get:function(){return[!1,!0]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"key",{get:function(){return f("key",this._K,"Tag",this._isNull),this._K},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return f("value",this._V,"Tag",this._isNull),this._V},set:function(t){this._V=t,c(this,"Value",t,0)},enumerable:!0,configurable:!0}),e.prototype._handleResult=function(e){if(t.prototype._handleResult.call(this,e),!p(e)){var n=e;m(this,n),h(n.Key)||(this._K=n.Key),h(n.Value)||(this._V=n.Value)}},e.prototype.load=function(t){return d(this,t)},e.prototype.retrieve=function(t){return g(this,t)},e.prototype._handleRetrieveResult=function(e,n){t.prototype._handleRetrieveResult.call(this,e,n),O(this,e,n)},e.prototype.toJSON=function(){return b(this,{},{})},e.prototype.setMockData=function(t){S(this,t)},e.prototype.ensureUnchanged=function(t){a(this,t)},e}(OfficeExtension.ClientObject);t.Tag=zt;var Xt=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return __extends(n,e),Object.defineProperty(n.prototype,"_className",{get:function(){return"TagCollection"},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_isCollection",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"items",{get:function(){return f("items",this.m__items,"TagCollection",this._isNull),this.m__items},enumerable:!0,configurable:!0}),n.prototype.add=function(t,e){u(this,"Add",0,[t,e],0,0)},n.prototype.delete=function(t){u(this,"Delete",0,[t],0,0)},n.prototype.getCount=function(){return u(this,"GetCount",1,[],4,0)},n.prototype.getItem=function(e){return o(t.Tag,this,[e])},n.prototype.getItemAt=function(e){return i(t.Tag,this,"GetItemAt",1,[e],!1,!1,null,4)},n.prototype.getItemOrNullObject=function(e){return i(t.Tag,this,"GetItemOrNullObject",0,[e],!1,!1,null,0)},n.prototype._handleResult=function(n){if(e.prototype._handleResult.call(this,n),!p(n)){var r=n;if(m(this,r),!p(r[OfficeExtension.Constants.items])){this.m__items=[];for(var i=r[OfficeExtension.Constants.items],o=0;o<i.length;o++){var l=s(t.Tag,!0,this,i[o],o);l._handleResult(i[o]),this.m__items.push(l)}}}},n.prototype.load=function(t){return d(this,t)},n.prototype.retrieve=function(t){return g(this,t)},n.prototype._handleRetrieveResult=function(n,r){var i=this;e.prototype._handleRetrieveResult.call(this,n,r),O(this,n,r,(function(e,n){return s(t.Tag,!0,i,e,n)}))},n.prototype.toJSON=function(){return b(this,{},{},this.m__items)},n.prototype.setMockData=function(e){var n=this;S(this,e,(function(e,r){return s(t.Tag,!0,n,e,r)}),(function(t){return n.m__items=t}))},n}(OfficeExtension.ClientObject);t.TagCollection=Xt;var qt="Slide",Kt=function(i){function o(){return null!==i&&i.apply(this,arguments)||this}return __extends(o,i),Object.defineProperty(o.prototype,"_className",{get:function(){return"Slide"},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"_scalarPropertyNames",{get:function(){return["id","index"]},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"_scalarPropertyOriginalNames",{get:function(){return["Id","Index"]},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"_navigationPropertyNames",{get:function(){return["background","comments","customXmlParts","hyperlinks","layout","shapes","slideMaster","tags","themeColorScheme","tasks"]},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"background",{get:function(){return y("Slide.background",n,"1.10",e),this._B||(this._B=r(t.SlideBackground,this,"Background",!1,4)),this._B},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"comments",{get:function(){return y("Slide.comments",n,"1.11",e),this._C||(this._C=r(t.CommentCollection,this,"Comments",!0,5)),this._C},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"customXmlParts",{get:function(){return y("Slide.customXmlParts",n,"1.7",e),this._Cu||(this._Cu=r(t.CustomXmlPartCollection,this,"CustomXmlParts",!0,4)),this._Cu},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"hyperlinks",{get:function(){return y("Slide.hyperlinks",n,"1.6",e),this._H||(this._H=r(t.HyperlinkCollection,this,"Hyperlinks",!0,4)),this._H},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"layout",{get:function(){return y("Slide.layout",n,"1.3",e),this._L||(this._L=r(t.SlideLayout,this,"Layout",!1,4)),this._L},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"shapes",{get:function(){return y("Slide.shapes",n,"1.3",e),this._S||(this._S=r(t.ShapeCollection,this,"Shapes",!0,4)),this._S},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"slideMaster",{get:function(){return y("Slide.slideMaster",n,"1.3",e),this._Sl||(this._Sl=r(t.SlideMaster,this,"SlideMaster",!1,4)),this._Sl},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"tags",{get:function(){return y("Slide.tags",n,"1.3",e),this._T||(this._T=r(t.TagCollection,this,"Tags",!0,4)),this._T},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"tasks",{get:function(){return y("Slide.tasks",n,"1.11",e),this._Ta||(this._Ta=r(t.DocumentTaskCollection,this,"Tasks",!0,5)),this._Ta},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"themeColorScheme",{get:function(){return y("Slide.themeColorScheme",n,"1.10",e),this._Th||(this._Th=r(t.ThemeColorScheme,this,"ThemeColorScheme",!1,4)),this._Th},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"id",{get:function(){return f("id",this._I,qt,this._isNull),this._I},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"index",{get:function(){return f("index",this._In,qt,this._isNull),y("Slide.index",n,"1.8",e),this._In},enumerable:!0,configurable:!0}),o.prototype.applyLayout=function(t){y("Slide.applyLayout",n,"1.8",e),u(this,"ApplyLayout",0,[t],0,0)},o.prototype.delete=function(){u(this,"Delete",0,[],0,0)},o.prototype.exportAsBase64=function(){return y("Slide.exportAsBase64",n,"1.8",e),u(this,"ExportAsBase64",1,[],4,0)},o.prototype.getImageAsBase64=function(t){return y("Slide.getImageAsBase64",n,"1.8",e),u(this,"GetImageAsBase64",1,[t],4,0)},o.prototype.moveTo=function(t){y("Slide.moveTo",n,"1.8",e),u(this,"MoveTo",0,[t],0,0)},o.prototype.setSelectedShapes=function(t){y("Slide.setSelectedShapes",n,"1.5",e),u(this,"SetSelectedShapes",0,[t],0,0)},o.prototype._handleResult=function(t){if(i.prototype._handleResult.call(this,t),!p(t)){var e=t;m(this,e),h(e.Id)||(this._I=e.Id),h(e.Index)||(this._In=e.Index),_(this,e,["background","Background","comments","Comments","customXmlParts","CustomXmlParts","hyperlinks","Hyperlinks","layout","Layout","shapes","Shapes","slideMaster","SlideMaster","tags","Tags","tasks","Tasks","themeColorScheme","ThemeColorScheme"])}},o.prototype.load=function(t){return d(this,t)},o.prototype.retrieve=function(t){return g(this,t)},o.prototype._handleIdResult=function(t){i.prototype._handleIdResult.call(this,t),p(t)||h(t.Id)||(this._I=t.Id)},o.prototype._handleRetrieveResult=function(t,e){i.prototype._handleRetrieveResult.call(this,t,e),O(this,t,e)},o.prototype.toJSON=function(){return b(this,{},{})},o.prototype.setMockData=function(t){S(this,t)},o.prototype.ensureUnchanged=function(t){a(this,t)},o}(OfficeExtension.ClientObject);t.Slide=Kt,function(t){t.png="Png"}(t.ShapeGetImageFormatType||(t.ShapeGetImageFormatType={}));var Zt="ShapeGroup",Qt=function(i){function o(){return null!==i&&i.apply(this,arguments)||this}return __extends(o,i),Object.defineProperty(o.prototype,"_className",{get:function(){return"ShapeGroup"},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"_scalarPropertyNames",{get:function(){return["id","creationId"]},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"_scalarPropertyOriginalNames",{get:function(){return["Id","CreationId"]},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"_navigationPropertyNames",{get:function(){return["shape","shapes"]},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"shape",{get:function(){return this._S||(this._S=r(t.Shape,this,"Shape",!1,4)),this._S},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"shapes",{get:function(){return this._Sh||(this._Sh=r(t.ShapeScopedCollection,this,"Shapes",!0,4)),this._Sh},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"creationId",{get:function(){return f("creationId",this._C,Zt,this._isNull),y("ShapeGroup.creationId",n,"1.10",e),this._C},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"id",{get:function(){return f("id",this._I,Zt,this._isNull),this._I},enumerable:!0,configurable:!0}),o.prototype.ungroup=function(){u(this,"Ungroup",0,[],0,0)},o.prototype._handleResult=function(t){if(i.prototype._handleResult.call(this,t),!p(t)){var e=t;m(this,e),h(e.CreationId)||(this._C=e.CreationId),h(e.Id)||(this._I=e.Id),_(this,e,["shape","Shape","shapes","Shapes"])}},o.prototype.load=function(t){return d(this,t)},o.prototype.retrieve=function(t){return g(this,t)},o.prototype._handleIdResult=function(t){i.prototype._handleIdResult.call(this,t),p(t)||h(t.Id)||(this._I=t.Id)},o.prototype._handleRetrieveResult=function(t,e){i.prototype._handleRetrieveResult.call(this,t,e),O(this,t,e)},o.prototype.toJSON=function(){return b(this,{},{})},o.prototype.setMockData=function(t){S(this,t)},o.prototype.ensureUnchanged=function(t){a(this,t)},o}(OfficeExtension.ClientObject);t.ShapeGroup=Qt,function(t){t.single="Single",t.thickBetweenThin="ThickBetweenThin",t.thickThin="ThickThin",t.thinThick="ThinThick",t.thinThin="ThinThin"}(t.ShapeLineStyle||(t.ShapeLineStyle={}));var Yt="ShapeLineFormat",$t=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),Object.defineProperty(e.prototype,"_className",{get:function(){return"ShapeLineFormat"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyNames",{get:function(){return["color","dashStyle","style","transparency","visible","weight"]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyOriginalNames",{get:function(){return["Color","DashStyle","Style","Transparency","Visible","Weight"]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyUpdateable",{get:function(){return[!0,!0,!0,!0,!0,!0]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"color",{get:function(){return f("color",this._C,Yt,this._isNull),this._C},set:function(t){this._C=t,c(this,"Color",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dashStyle",{get:function(){return f("dashStyle",this._D,Yt,this._isNull),this._D},set:function(t){this._D=t,c(this,"DashStyle",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"style",{get:function(){return f("style",this._S,Yt,this._isNull),this._S},set:function(t){this._S=t,c(this,"Style",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"transparency",{get:function(){return f("transparency",this._T,Yt,this._isNull),this._T},set:function(t){this._T=t,c(this,"Transparency",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"visible",{get:function(){return f("visible",this._V,Yt,this._isNull),this._V},set:function(t){this._V=t,c(this,"Visible",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"weight",{get:function(){return f("weight",this._W,Yt,this._isNull),this._W},set:function(t){this._W=t,c(this,"Weight",t,0)},enumerable:!0,configurable:!0}),e.prototype._handleResult=function(e){if(t.prototype._handleResult.call(this,e),!p(e)){var n=e;m(this,n),h(n.Color)||(this._C=n.Color),h(n.DashStyle)||(this._D=n.DashStyle),h(n.Style)||(this._S=n.Style),h(n.Transparency)||(this._T=n.Transparency),h(n.Visible)||(this._V=n.Visible),h(n.Weight)||(this._W=n.Weight)}},e.prototype.load=function(t){return d(this,t)},e.prototype.retrieve=function(t){return g(this,t)},e.prototype._handleRetrieveResult=function(e,n){t.prototype._handleRetrieveResult.call(this,e,n),O(this,e,n)},e.prototype.toJSON=function(){return b(this,{},{})},e.prototype.setMockData=function(t){S(this,t)},e.prototype.ensureUnchanged=function(t){a(this,t)},e}(OfficeExtension.ClientObject);t.ShapeLineFormat=$t,function(t){t.bringForward="BringForward",t.bringToFront="BringToFront",t.sendBackward="SendBackward",t.sendToBack="SendToBack"}(t.ShapeZOrder||(t.ShapeZOrder={}));var te="Image",ee=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return __extends(n,e),Object.defineProperty(n.prototype,"_className",{get:function(){return"Image"},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_scalarPropertyNames",{get:function(){return["cropBottom","cropGeometry","cropLeft","cropRight","cropTop"]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_scalarPropertyOriginalNames",{get:function(){return["CropBottom","CropGeometry","CropLeft","CropRight","CropTop"]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_scalarPropertyUpdateable",{get:function(){return[!0,!0,!0,!0,!0]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_navigationPropertyNames",{get:function(){return["shape"]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"shape",{get:function(){return this._S||(this._S=r(t.Shape,this,"Shape",!1,4)),this._S},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"cropBottom",{get:function(){return f("cropBottom",this._C,te,this._isNull),this._C},set:function(t){this._C=t,c(this,"CropBottom",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"cropGeometry",{get:function(){return f("cropGeometry",this._Cr,te,this._isNull),this._Cr},set:function(t){this._Cr=t,c(this,"CropGeometry",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"cropLeft",{get:function(){return f("cropLeft",this._Cro,te,this._isNull),this._Cro},set:function(t){this._Cro=t,c(this,"CropLeft",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"cropRight",{get:function(){return f("cropRight",this._Crop,te,this._isNull),this._Crop},set:function(t){this._Crop=t,c(this,"CropRight",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"cropTop",{get:function(){return f("cropTop",this._CropT,te,this._isNull),this._CropT},set:function(t){this._CropT=t,c(this,"CropTop",t,0)},enumerable:!0,configurable:!0}),n.prototype.getSourceImageAsBase64=function(){return u(this,"GetSourceImageAsBase64",1,[],5,0)},n.prototype.replace=function(t){u(this,"Replace",0,[t],1,0)},n.prototype._handleResult=function(t){if(e.prototype._handleResult.call(this,t),!p(t)){var n=t;m(this,n),h(n.CropBottom)||(this._C=n.CropBottom),h(n.CropGeometry)||(this._Cr=n.CropGeometry),h(n.CropLeft)||(this._Cro=n.CropLeft),h(n.CropRight)||(this._Crop=n.CropRight),h(n.CropTop)||(this._CropT=n.CropTop),_(this,n,["shape","Shape"])}},n.prototype.load=function(t){return d(this,t)},n.prototype.retrieve=function(t){return g(this,t)},n.prototype._handleRetrieveResult=function(t,n){e.prototype._handleRetrieveResult.call(this,t,n),O(this,t,n)},n.prototype.toJSON=function(){return b(this,{},{})},n.prototype.setMockData=function(t){S(this,t)},n.prototype.ensureUnchanged=function(t){a(this,t)},n}(OfficeExtension.ClientObject);t.Image=ee;var ne="Shape",re=function(o){function l(){return null!==o&&o.apply(this,arguments)||this}return __extends(l,o),Object.defineProperty(l.prototype,"_className",{get:function(){return"Shape"},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"_scalarPropertyNames",{get:function(){return["id","height","left","name","top","type","width","zOrderPosition","level","altTextDescription","isDecorative","altTextTitle","rotation","visible","creationId"]},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"_scalarPropertyOriginalNames",{get:function(){return["Id","Height","Left","Name","Top","Type","Width","ZOrderPosition","Level","AltTextDescription","IsDecorative","AltTextTitle","Rotation","Visible","CreationId"]},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"_scalarPropertyUpdateable",{get:function(){return[!1,!0,!0,!0,!0,!1,!0,!1,!1,!0,!0,!0,!0,!0,!1]},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"_navigationPropertyNames",{get:function(){return["tags","fill","lineFormat","textFrame","customXmlParts","group","parentGroup","placeholderFormat","adjustments"]},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"adjustments",{get:function(){return y("Shape.adjustments",n,"1.10",e),this._A||(this._A=r(t.Adjustments,this,"Adjustments",!1,4)),this._A},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"customXmlParts",{get:function(){return y("Shape.customXmlParts",n,"1.7",e),this._Cu||(this._Cu=r(t.CustomXmlPartCollection,this,"CustomXmlParts",!0,4)),this._Cu},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"fill",{get:function(){return y("Shape.fill",n,"1.4",e),this._F||(this._F=r(t.ShapeFill,this,"Fill",!1,4)),this._F},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"group",{get:function(){return y("Shape.group",n,"1.8",e),this._G||(this._G=r(t.ShapeGroup,this,"Group",!1,4)),this._G},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"lineFormat",{get:function(){return y("Shape.lineFormat",n,"1.4",e),this._Li||(this._Li=r(t.ShapeLineFormat,this,"LineFormat",!1,4)),this._Li},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"parentGroup",{get:function(){return y("Shape.parentGroup",n,"1.8",e),this._P||(this._P=r(t.Shape,this,"ParentGroup",!1,4)),this._P},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"placeholderFormat",{get:function(){return y("Shape.placeholderFormat",n,"1.8",e),this._Pl||(this._Pl=r(t.PlaceholderFormat,this,"PlaceholderFormat",!1,4)),this._Pl},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"tags",{get:function(){return this._T||(this._T=r(t.TagCollection,this,"Tags",!0,4)),this._T},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"textFrame",{get:function(){return y("Shape.textFrame",n,"1.4",e),this._Te||(this._Te=r(t.TextFrame,this,"TextFrame",!1,4)),this._Te},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"altTextDescription",{get:function(){return f("altTextDescription",this._Al,ne,this._isNull),y("Shape.altTextDescription",n,"1.10",e),this._Al},set:function(t){this._Al=t,c(this,"AltTextDescription",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"altTextTitle",{get:function(){return f("altTextTitle",this._Alt,ne,this._isNull),y("Shape.altTextTitle",n,"1.10",e),this._Alt},set:function(t){this._Alt=t,c(this,"AltTextTitle",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"creationId",{get:function(){return f("creationId",this._C,ne,this._isNull),y("Shape.creationId",n,"1.10",e),this._C},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"height",{get:function(){return f("height",this._H,ne,this._isNull),y("Shape.height",n,"1.4",e),this._H},set:function(t){this._H=t,c(this,"Height",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"id",{get:function(){return f("id",this._I,ne,this._isNull),this._I},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"isDecorative",{get:function(){return f("isDecorative",this._Is,ne,this._isNull),y("Shape.isDecorative",n,"1.10",e),this._Is},set:function(t){this._Is=t,c(this,"IsDecorative",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"left",{get:function(){return f("left",this._L,ne,this._isNull),y("Shape.left",n,"1.4",e),this._L},set:function(t){this._L=t,c(this,"Left",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"level",{get:function(){return f("level",this._Le,ne,this._isNull),y("Shape.level",n,"1.8",e),this._Le},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"name",{get:function(){return f("name",this._N,ne,this._isNull),y("Shape.name",n,"1.4",e),this._N},set:function(t){this._N=t,c(this,"Name",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"rotation",{get:function(){return f("rotation",this._R,ne,this._isNull),y("Shape.rotation",n,"1.10",e),this._R},set:function(t){this._R=t,c(this,"Rotation",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"top",{get:function(){return f("top",this._To,ne,this._isNull),y("Shape.top",n,"1.4",e),this._To},set:function(t){this._To=t,c(this,"Top",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"type",{get:function(){return f("type",this._Ty,ne,this._isNull),y("Shape.type",n,"1.4",e),this._Ty},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"visible",{get:function(){return f("visible",this._V,ne,this._isNull),y("Shape.visible",n,"1.10",e),this._V},set:function(t){this._V=t,c(this,"Visible",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"width",{get:function(){return f("width",this._W,ne,this._isNull),y("Shape.width",n,"1.4",e),this._W},set:function(t){this._W=t,c(this,"Width",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"zOrderPosition",{get:function(){return f("zOrderPosition",this._Z,ne,this._isNull),y("Shape.zOrderPosition",n,"1.8",e),this._Z},enumerable:!0,configurable:!0}),l.prototype.delete=function(){u(this,"Delete",0,[],0,0)},l.prototype.duplicate=function(r){return y("Shape.duplicate",n,"1.11",e),i(t.Shape,this,"Duplicate",0,[r],!1,!1,null,1)},l.prototype.getChartOrNullObject=function(){return y("Shape.getChartOrNullObject",n,"99.9",e),i(t.Chart,this,"GetChartOrNullObject",1,[],!1,!1,null,5)},l.prototype.getGraphicOrNullObject=function(){return y("Shape.getGraphicOrNullObject",n,"1.11",e),i(t.Graphic,this,"GetGraphicOrNullObject",1,[],!1,!1,null,4)},l.prototype.getImageAsBase64=function(t){return y("Shape.getImageAsBase64",n,"1.10",e),u(this,"GetImageAsBase64",1,[t],4,0)},l.prototype.getImageOrNullObject=function(){return y("Shape.getImageOrNullObject",n,"99.9",e),i(t.Image,this,"GetImageOrNullObject",1,[],!1,!1,null,5)},l.prototype.getParentSlide=function(){return y("Shape.getParentSlide",n,"1.5",e),i(t.Slide,this,"GetParentSlide",0,[],!1,!1,null,0)},l.prototype.getParentSlideLayout=function(){return y("Shape.getParentSlideLayout",n,"1.5",e),i(t.SlideLayout,this,"GetParentSlideLayout",0,[],!1,!1,null,0)},l.prototype.getParentSlideLayoutOrNullObject=function(){return y("Shape.getParentSlideLayoutOrNullObject",n,"1.5",e),i(t.SlideLayout,this,"GetParentSlideLayoutOrNullObject",0,[],!1,!1,null,0)},l.prototype.getParentSlideMaster=function(){return y("Shape.getParentSlideMaster",n,"1.5",e),i(t.SlideMaster,this,"GetParentSlideMaster",0,[],!1,!1,null,0)},l.prototype.getParentSlideMasterOrNullObject=function(){return y("Shape.getParentSlideMasterOrNullObject",n,"1.5",e),i(t.SlideMaster,this,"GetParentSlideMasterOrNullObject",0,[],!1,!1,null,0)},l.prototype.getParentSlideOrNullObject=function(){return y("Shape.getParentSlideOrNullObject",n,"1.5",e),i(t.Slide,this,"GetParentSlideOrNullObject",0,[],!1,!1,null,0)},l.prototype.getTable=function(){return y("Shape.getTable",n,"1.8",e),i(t.Table,this,"GetTable",1,[],!1,!1,null,4)},l.prototype.getTextFrameOrNullObject=function(){return y("Shape.getTextFrameOrNullObject",n,"1.10",e),i(t.TextFrame,this,"GetTextFrameOrNullObject",0,[],!1,!1,null,0)},l.prototype.resize=function(t){y("Shape.resize",n,"99.9",e),u(this,"Resize",0,[t],1,0)},l.prototype.setHyperlink=function(r){return y("Shape.setHyperlink",n,"1.10",e),i(t.Hyperlink,this,"SetHyperlink",0,[r],!1,!1,null,0)},l.prototype.setZOrder=function(t){y("Shape.setZOrder",n,"1.8",e),u(this,"SetZOrder",0,[t],0,0)},l.prototype._handleResult=function(t){if(o.prototype._handleResult.call(this,t),!p(t)){var e=t;m(this,e),h(e.AltTextDescription)||(this._Al=e.AltTextDescription),h(e.AltTextTitle)||(this._Alt=e.AltTextTitle),h(e.CreationId)||(this._C=e.CreationId),h(e.Height)||(this._H=e.Height),h(e.Id)||(this._I=e.Id),h(e.IsDecorative)||(this._Is=e.IsDecorative),h(e.Left)||(this._L=e.Left),h(e.Level)||(this._Le=e.Level),h(e.Name)||(this._N=e.Name),h(e.Rotation)||(this._R=e.Rotation),h(e.Top)||(this._To=e.Top),h(e.Type)||(this._Ty=e.Type),h(e.Visible)||(this._V=e.Visible),h(e.Width)||(this._W=e.Width),h(e.ZOrderPosition)||(this._Z=e.ZOrderPosition),_(this,e,["adjustments","Adjustments","customXmlParts","CustomXmlParts","fill","Fill","group","Group","lineFormat","LineFormat","parentGroup","ParentGroup","placeholderFormat","PlaceholderFormat","tags","Tags","textFrame","TextFrame"])}},l.prototype.load=function(t){return d(this,t)},l.prototype.retrieve=function(t){return g(this,t)},l.prototype._handleIdResult=function(t){o.prototype._handleIdResult.call(this,t),p(t)||h(t.Id)||(this._I=t.Id)},l.prototype._handleRetrieveResult=function(t,e){o.prototype._handleRetrieveResult.call(this,t,e),O(this,t,e)},l.prototype.toJSON=function(){return b(this,{},{})},l.prototype.setMockData=function(t){S(this,t)},l.prototype.ensureUnchanged=function(t){a(this,t)},l}(OfficeExtension.ClientObject);t.Shape=re;var ie="Binding",oe=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return __extends(n,e),Object.defineProperty(n.prototype,"_className",{get:function(){return"Binding"},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_scalarPropertyNames",{get:function(){return["id","type"]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_scalarPropertyOriginalNames",{get:function(){return["Id","Type"]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"id",{get:function(){return f("id",this._I,ie,this._isNull),this._I},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"type",{get:function(){return f("type",this._T,ie,this._isNull),this._T},enumerable:!0,configurable:!0}),n.prototype.delete=function(){u(this,"Delete",0,[],0,0)},n.prototype.getShape=function(){return i(t.Shape,this,"GetShape",0,[],!1,!1,null,0)},n.prototype._handleResult=function(t){if(e.prototype._handleResult.call(this,t),!p(t)){var n=t;m(this,n),h(n.Id)||(this._I=n.Id),h(n.Type)||(this._T=n.Type)}},n.prototype.load=function(t){return d(this,t)},n.prototype.retrieve=function(t){return g(this,t)},n.prototype._handleIdResult=function(t){e.prototype._handleIdResult.call(this,t),p(t)||h(t.Id)||(this._I=t.Id)},n.prototype._handleRetrieveResult=function(t,n){e.prototype._handleRetrieveResult.call(this,t,n),O(this,t,n)},n.prototype.toJSON=function(){return b(this,{},{})},n.prototype.setMockData=function(t){S(this,t)},n.prototype.ensureUnchanged=function(t){a(this,t)},n}(OfficeExtension.ClientObject);t.Binding=oe;var le=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return __extends(n,e),Object.defineProperty(n.prototype,"_className",{get:function(){return"BindingCollection"},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_isCollection",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"items",{get:function(){return f("items",this.m__items,"BindingCollection",this._isNull),this.m__items},enumerable:!0,configurable:!0}),n.prototype.add=function(e,n,r){return i(t.Binding,this,"Add",0,[e,n,r],!1,!0,null,0)},n.prototype.addFromSelection=function(e,n){return i(t.Binding,this,"AddFromSelection",0,[e,n],!1,!1,null,0)},n.prototype.getCount=function(){return u(this,"GetCount",1,[],4,0)},n.prototype.getItem=function(e){return o(t.Binding,this,[e])},n.prototype.getItemAt=function(e){return i(t.Binding,this,"GetItemAt",1,[e],!1,!1,null,4)},n.prototype.getItemOrNullObject=function(e){return i(t.Binding,this,"GetItemOrNullObject",0,[e],!1,!1,null,0)},n.prototype._handleResult=function(n){if(e.prototype._handleResult.call(this,n),!p(n)){var r=n;if(m(this,r),!p(r[OfficeExtension.Constants.items])){this.m__items=[];for(var i=r[OfficeExtension.Constants.items],o=0;o<i.length;o++){var l=s(t.Binding,!0,this,i[o],o);l._handleResult(i[o]),this.m__items.push(l)}}}},n.prototype.load=function(t){return d(this,t)},n.prototype.retrieve=function(t){return g(this,t)},n.prototype._handleRetrieveResult=function(n,r){var i=this;e.prototype._handleRetrieveResult.call(this,n,r),O(this,n,r,(function(e,n){return s(t.Binding,!0,i,e,n)}))},n.prototype.toJSON=function(){return b(this,{},{},this.m__items)},n.prototype.setMockData=function(e){var n=this;S(this,e,(function(e,r){return s(t.Binding,!0,n,e,r)}),(function(t){return n.m__items=t}))},n}(OfficeExtension.ClientObject);t.BindingCollection=le,function(t){t.boolean="Boolean",t.date="Date",t.number="Number",t.string="String"}(t.DocumentPropertyType||(t.DocumentPropertyType={}));var se="CustomProperty",ue=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),Object.defineProperty(e.prototype,"_className",{get:function(){return"CustomProperty"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyNames",{get:function(){return["key","type","value"]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyOriginalNames",{get:function(){return["Key","Type","Value"]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyUpdateable",{get:function(){return[!1,!1,!0]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"key",{get:function(){return f("key",this._K,se,this._isNull),this._K},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return f("type",this._T,se,this._isNull),this._T},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return f("value",this._V,se,this._isNull),this._V},set:function(t){this._V=t,c(this,"Value",t,0)},enumerable:!0,configurable:!0}),e.prototype.delete=function(){u(this,"Delete",0,[],0,0)},e.prototype._handleResult=function(e){if(t.prototype._handleResult.call(this,e),!p(e)){var n=e;m(this,n),h(n.Key)||(this._K=n.Key),h(n.Type)||(this._T=n.Type),h(n.Value)||(this._V=n.Value)}},e.prototype.load=function(t){return d(this,t)},e.prototype.retrieve=function(t){return g(this,t)},e.prototype._handleRetrieveResult=function(e,n){t.prototype._handleRetrieveResult.call(this,e,n),O(this,e,n)},e.prototype.toJSON=function(){return b(this,{},{})},e.prototype.setMockData=function(t){S(this,t)},e.prototype.ensureUnchanged=function(t){a(this,t)},e}(OfficeExtension.ClientObject);t.CustomProperty=ue;var ae=function(r){function l(){return null!==r&&r.apply(this,arguments)||this}return __extends(l,r),Object.defineProperty(l.prototype,"_className",{get:function(){return"CustomPropertyCollection"},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"_isCollection",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"items",{get:function(){return f("items",this.m__items,"CustomPropertyCollection",this._isNull),this.m__items},enumerable:!0,configurable:!0}),l.prototype.add=function(e,n){return i(t.CustomProperty,this,"Add",0,[e,n],!1,!0,null,0)},l.prototype.deleteAll=function(){u(this,"DeleteAll",0,[],0,0)},l.prototype.getCount=function(){return u(this,"GetCount",1,[],4,0)},l.prototype.getItem=function(e){return o(t.CustomProperty,this,[e])},l.prototype.getItemAt=function(r){return y("CustomPropertyCollection.getItemAt",n,"1.10",e),i(t.CustomProperty,this,"GetItemAt",1,[r],!1,!1,null,4)},l.prototype.getItemOrNullObject=function(e){return i(t.CustomProperty,this,"GetItemOrNullObject",1,[e],!1,!1,null,4)},l.prototype._handleResult=function(e){if(r.prototype._handleResult.call(this,e),!p(e)){var n=e;if(m(this,n),!p(n[OfficeExtension.Constants.items])){this.m__items=[];for(var i=n[OfficeExtension.Constants.items],o=0;o<i.length;o++){var l=s(t.CustomProperty,!0,this,i[o],o);l._handleResult(i[o]),this.m__items.push(l)}}}},l.prototype.load=function(t){return d(this,t)},l.prototype.retrieve=function(t){return g(this,t)},l.prototype._handleRetrieveResult=function(e,n){var i=this;r.prototype._handleRetrieveResult.call(this,e,n),O(this,e,n,(function(e,n){return s(t.CustomProperty,!0,i,e,n)}))},l.prototype.toJSON=function(){return b(this,{},{},this.m__items)},l.prototype.setMockData=function(e){var n=this;S(this,e,(function(e,r){return s(t.CustomProperty,!0,n,e,r)}),(function(t){return n.m__items=t}))},l}(OfficeExtension.ClientObject);t.CustomPropertyCollection=ae;var ce="DocumentProperties",pe=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return __extends(n,e),Object.defineProperty(n.prototype,"_className",{get:function(){return"DocumentProperties"},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_scalarPropertyNames",{get:function(){return["author","category","comments","company","creationDate","keywords","lastAuthor","manager","revisionNumber","subject","title"]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_scalarPropertyOriginalNames",{get:function(){return["Author","Category","Comments","Company","CreationDate","Keywords","LastAuthor","Manager","RevisionNumber","Subject","Title"]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_scalarPropertyUpdateable",{get:function(){return[!0,!0,!0,!0,!1,!0,!1,!0,!0,!0,!0]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_navigationPropertyNames",{get:function(){return["customProperties"]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"customProperties",{get:function(){return this._Cu||(this._Cu=r(t.CustomPropertyCollection,this,"CustomProperties",!0,4)),this._Cu},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"author",{get:function(){return f("author",this._A,ce,this._isNull),this._A},set:function(t){this._A=t,c(this,"Author",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"category",{get:function(){return f("category",this._C,ce,this._isNull),this._C},set:function(t){this._C=t,c(this,"Category",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"comments",{get:function(){return f("comments",this._Co,ce,this._isNull),this._Co},set:function(t){this._Co=t,c(this,"Comments",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"company",{get:function(){return f("company",this._Com,ce,this._isNull),this._Com},set:function(t){this._Com=t,c(this,"Company",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"creationDate",{get:function(){return f("creationDate",this._Cr,ce,this._isNull),this._Cr},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"keywords",{get:function(){return f("keywords",this._K,ce,this._isNull),this._K},set:function(t){this._K=t,c(this,"Keywords",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"lastAuthor",{get:function(){return f("lastAuthor",this._L,ce,this._isNull),this._L},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"manager",{get:function(){return f("manager",this._M,ce,this._isNull),this._M},set:function(t){this._M=t,c(this,"Manager",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"revisionNumber",{get:function(){return f("revisionNumber",this._R,ce,this._isNull),this._R},set:function(t){this._R=t,c(this,"RevisionNumber",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"subject",{get:function(){return f("subject",this._S,ce,this._isNull),this._S},set:function(t){this._S=t,c(this,"Subject",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"title",{get:function(){return f("title",this._T,ce,this._isNull),this._T},set:function(t){this._T=t,c(this,"Title",t,0)},enumerable:!0,configurable:!0}),n.prototype._handleResult=function(t){if(e.prototype._handleResult.call(this,t),!p(t)){var n=t;m(this,n),h(n.Author)||(this._A=n.Author),h(n.Category)||(this._C=n.Category),h(n.Comments)||(this._Co=n.Comments),h(n.Company)||(this._Com=n.Company),h(n.CreationDate)||(this._Cr=C(n.CreationDate)),h(n.Keywords)||(this._K=n.Keywords),h(n.LastAuthor)||(this._L=n.LastAuthor),h(n.Manager)||(this._M=n.Manager),h(n.RevisionNumber)||(this._R=n.RevisionNumber),h(n.Subject)||(this._S=n.Subject),h(n.Title)||(this._T=n.Title),_(this,n,["customProperties","CustomProperties"])}},n.prototype.load=function(t){return d(this,t)},n.prototype.retrieve=function(t){return g(this,t)},n.prototype._handleRetrieveResult=function(t,n){if(e.prototype._handleRetrieveResult.call(this,t,n),!p(t)){var r=t;h(r.CreationDate)||(r.creationDate=C(r.creationDate)),O(this,t,n)}},n.prototype.toJSON=function(){return b(this,{},{})},n.prototype.setMockData=function(t){S(this,t)},n.prototype.ensureUnchanged=function(t){a(this,t)},n}(OfficeExtension.ClientObject);t.DocumentProperties=pe;var he=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),Object.defineProperty(e.prototype,"_className",{get:function(){return"Experiment"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyNames",{get:function(){return["id"]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyOriginalNames",{get:function(){return["Id"]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return f("id",this._I,"Experiment",this._isNull),this._I},enumerable:!0,configurable:!0}),e.prototype.runAction=function(t,e){return u(this,"RunAction",0,[t,e],1,0)},e.prototype.runActionAsync=function(t,e){return u(this,"RunActionAsync",0,[t,e],1,0)},e.prototype._RegisterEventActionCompleted=function(){u(this,"_RegisterEventActionCompleted",0,[],0,0)},e.prototype._UnregisterEventActionCompleted=function(){u(this,"_UnregisterEventActionCompleted",0,[],0,0)},e.prototype._handleResult=function(e){if(t.prototype._handleResult.call(this,e),!p(e)){var n=e;m(this,n),h(n.Id)||(this._I=n.Id)}},e.prototype.load=function(t){return d(this,t)},e.prototype.retrieve=function(t){return g(this,t)},e.prototype._handleIdResult=function(e){t.prototype._handleIdResult.call(this,e),p(e)||h(e.Id)||(this._I=e.Id)},e.prototype._handleRetrieveResult=function(e,n){t.prototype._handleRetrieveResult.call(this,e,n),O(this,e,n)},Object.defineProperty(e.prototype,"onActionCompleted",{get:function(){var t=this;return this.m_actionCompleted||(this.m_actionCompleted=new OfficeExtension.GenericEventHandlers(this.context,this,"ActionCompleted",{eventType:5,registerFunc:function(){return t._RegisterEventActionCompleted()},unregisterFunc:function(){return t._UnregisterEventActionCompleted()},getTargetIdFunc:function(){return t.id},eventArgsTransformFunc:function(t){var e={requestId:t.requestId,result:t.result};return OfficeExtension.Utility._createPromiseFromResult(e)}})),this.m_actionCompleted},enumerable:!0,configurable:!0}),e.prototype.toJSON=function(){return b(this,{},{})},e.prototype.setMockData=function(t){S(this,t)},e.prototype.ensureUnchanged=function(t){a(this,t)},e}(OfficeExtension.ClientObject);t.Experiment=he,function(t){t.keepSourceFormatting="KeepSourceFormatting",t.useDestinationTheme="UseDestinationTheme"}(t.InsertSlideFormatting||(t.InsertSlideFormatting={})),function(t){
/**
* Represents there's no valid licenses.
* @remarks
* [Api set: PowerPointApi 1.11]
*/
t.noLicense="NoLicense",t.labelingDisabled="LabelingDisabled",t.labelingPolicyNotFound="LabelingPolicyNotFound",t.labelingEnabled="LabelingEnabled",t.attributeBasedAccessControlEnabled="AttributeBasedAccessControlEnabled"}(t.LabelingCapability||(t.LabelingCapability={}));var fe="PageSetup",ye=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),Object.defineProperty(e.prototype,"_className",{get:function(){return"PageSetup"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyNames",{get:function(){return["slideHeight","slideWidth"]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyOriginalNames",{get:function(){return["SlideHeight","SlideWidth"]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_scalarPropertyUpdateable",{get:function(){return[!0,!0]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"slideHeight",{get:function(){return f("slideHeight",this._S,fe,this._isNull),this._S},set:function(t){this._S=t,c(this,"SlideHeight",t,0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"slideWidth",{get:function(){return f("slideWidth",this._Sl,fe,this._isNull),this._Sl},set:function(t){this._Sl=t,c(this,"SlideWidth",t,0)},enumerable:!0,configurable:!0}),e.prototype._handleResult=function(e){if(t.prototype._handleResult.call(this,e),!p(e)){var n=e;m(this,n),h(n.SlideHeight)||(this._S=n.SlideHeight),h(n.SlideWidth)||(this._Sl=n.SlideWidth)}},e.prototype.load=function(t){return d(this,t)},e.prototype.retrieve=function(t){return g(this,t)},e.prototype._handleRetrieveResult=function(e,n){t.prototype._handleRetrieveResult.call(this,e,n),O(this,e,n)},e.prototype.toJSON=function(){return b(this,{},{})},e.prototype.setMockData=function(t){S(this,t)},e.prototype.ensureUnchanged=function(t){a(this,t)},e}(OfficeExtension.ClientObject);t.PageSetup=ye;var de=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return __extends(n,e),Object.defineProperty(n.prototype,"_className",{get:function(){return"SensitivityLabelDetailsCollection"},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_isCollection",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"items",{get:function(){return f("items",this.m__items,"SensitivityLabelDetailsCollection",this._isNull),this.m__items},enumerable:!0,configurable:!0}),n.prototype.getCount=function(){return u(this,"GetCount",1,[],4,0)},n.prototype.getItem=function(e){return o(t.SensitivityLabelDetails,this,[e])},n.prototype.getItemAt=function(e){return i(t.SensitivityLabelDetails,this,"GetItemAt",1,[e],!1,!1,null,4)},n.prototype.getItemOrNullObject=function(e){return i(t.SensitivityLabelDetails,this,"GetItemOrNullObject",1,[e],!1,!1,null,4)},n.prototype._handleResult=function(n){if(e.prototype._handleResult.call(this,n),!p(n)){var r=n;if(m(this,r),!p(r[OfficeExtension.Constants.items])){this.m__items=[];for(var i=r[OfficeExtension.Constants.items],o=0;o<i.length;o++){var l=s(t.SensitivityLabelDetails,!0,this,i[o],o);l._handleResult(i[o]),this.m__items.push(l)}}}},n.prototype.load=function(t){return d(this,t)},n.prototype.retrieve=function(t){return g(this,t)},n.prototype._handleRetrieveResult=function(n,r){var i=this;e.prototype._handleRetrieveResult.call(this,n,r),O(this,n,r,(function(e,n){return s(t.SensitivityLabelDetails,!0,i,e,n)}))},n.prototype.toJSON=function(){return b(this,{},{},this.m__items)},n.prototype.setMockData=function(e){var n=this;S(this,e,(function(e,r){return s(t.SensitivityLabelDetails,!0,n,e,r)}),(function(t){return n.m__items=t}))},n}(OfficeExtension.ClientObject);t.SensitivityLabelDetailsCollection=de,function(t){t.noProtection="NoProtection",t.adminDefined="AdminDefined",t.userDefined="UserDefined"}(t.SensitivityLabelProtectionType||(t.SensitivityLabelProtectionType={}));var ge="SensitivityLabelDetails",be=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return __extends(n,e),Object.defineProperty(n.prototype,"_className",{get:function(){return"SensitivityLabelDetails"},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_scalarPropertyNames",{get:function(){return["color","id","name","order","siteId","tooltip","isEnabled","protectionType","isAbacAttributesRequired","isAbacEnabled","abacAttributeValues"]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_scalarPropertyOriginalNames",{get:function(){return["Color","Id","Name","Order","SiteId","Tooltip","IsEnabled","ProtectionType","IsAbacAttributesRequired","IsAbacEnabled","AbacAttributeValues"]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_navigationPropertyNames",{get:function(){return["children"]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"children",{get:function(){return this._C||(this._C=r(t.SensitivityLabelDetailsCollection,this,"Children",!0,4)),this._C},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"abacAttributeValues",{get:function(){return f("abacAttributeValues",this._A,ge,this._isNull),this._A},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"color",{get:function(){return f("color",this._Co,ge,this._isNull),this._Co},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"id",{get:function(){return f("id",this._I,ge,this._isNull),this._I},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"isAbacAttributesRequired",{get:function(){return f("isAbacAttributesRequired",this._Is,ge,this._isNull),this._Is},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"isAbacEnabled",{get:function(){return f("isAbacEnabled",this._IsA,ge,this._isNull),this._IsA},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"isEnabled",{get:function(){return f("isEnabled",this._IsE,ge,this._isNull),this._IsE},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"name",{get:function(){return f("name",this._N,ge,this._isNull),this._N},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"order",{get:function(){return f("order",this._O,ge,this._isNull),this._O},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"protectionType",{get:function(){return f("protectionType",this._P,ge,this._isNull),this._P},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"siteId",{get:function(){return f("siteId",this._S,ge,this._isNull),this._S},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"tooltip",{get:function(){return f("tooltip",this._T,ge,this._isNull),this._T},enumerable:!0,configurable:!0}),n.prototype._handleResult=function(t){if(e.prototype._handleResult.call(this,t),!p(t)){var n=t;m(this,n),h(n.AbacAttributeValues)||(this._A=n.AbacAttributeValues),h(n.Color)||(this._Co=n.Color),h(n.Id)||(this._I=n.Id),h(n.IsAbacAttributesRequired)||(this._Is=n.IsAbacAttributesRequired),h(n.IsAbacEnabled)||(this._IsA=n.IsAbacEnabled),h(n.IsEnabled)||(this._IsE=n.IsEnabled),h(n.Name)||(this._N=n.Name),h(n.Order)||(this._O=n.Order),h(n.ProtectionType)||(this._P=n.ProtectionType),h(n.SiteId)||(this._S=n.SiteId),h(n.Tooltip)||(this._T=n.Tooltip),_(this,n,["children","Children"])}},n.prototype.load=function(t){return d(this,t)},n.prototype.retrieve=function(t){return g(this,t)},n.prototype._handleIdResult=function(t){e.prototype._handleIdResult.call(this,t),p(t)||h(t.Id)||(this._I=t.Id)},n.prototype._handleRetrieveResult=function(t,n){e.prototype._handleRetrieveResult.call(this,t,n),O(this,t,n)},n.prototype.toJSON=function(){return b(this,{abacAttributeValues:this._A,color:this._Co,id:this._I,isAbacAttributesRequired:this._Is,isAbacEnabled:this._IsA,isEnabled:this._IsE,name:this._N,order:this._O,protectionType:this._P,siteId:this._S,tooltip:this._T},{children:this._C})},n.prototype.setMockData=function(t){S(this,t)},n.prototype.ensureUnchanged=function(t){a(this,t)},n}(OfficeExtension.ClientObject);t.SensitivityLabelDetails=be,function(t){t.success="Success",t.unspecifiedFailure="UnspecifiedFailure",t.labelNotFound="LabelNotFound",t.documentReadOnly="DocumentReadOnly",t.insufficientPermission="InsufficientPermission",t.unsupportedDoubleKeyEncryption="UnsupportedDoubleKeyEncryption",t.labelingDisabled="LabelingDisabled",t.userNotFound="UserNotFound",t.unsupportedUdp="UnsupportedUdp",t.parentLabelNotSupported="ParentLabelNotSupported",t.crossTenant="CrossTenant",t.abacAttributesNotAllowed="AbacAttributesNotAllowed",t.abacAttributesRequired="AbacAttributesRequired",t.unsupportedAbac="UnsupportedAbac",t.labelDisabled="LabelDisabled",t.removingLabelNotSupported="RemovingLabelNotSupported"}(t.SensitivityLabelUpdateStatus||(t.SensitivityLabelUpdateStatus={})),function(t){t.unknown="Unknown",t.stringValue="StringValue",t.booleanValue="BooleanValue",t.numberValue="NumberValue",t.dateValue="DateValue"}(t.SensitivityLabelAbacAttributeDataType||(t.SensitivityLabelAbacAttributeDataType={}));var me=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return __extends(n,e),Object.defineProperty(n.prototype,"_className",{get:function(){return"SensitivityLabel"},enumerable:!0,configurable:!0}),n.prototype.getCurrentOrNullObject=function(){return i(t.SensitivityLabelDetails,this,"GetCurrentOrNullObject",1,[],!1,!1,null,4)},n.prototype.tryToUpdate=function(t,e){return u(this,"TryToUpdate",0,[t,e],0,0)},n.prototype._handleResult=function(t){(e.prototype._handleResult.call(this,t),p(t))||m(this,t)},n.prototype._handleRetrieveResult=function(t,n){e.prototype._handleRetrieveResult.call(this,t,n),O(this,t,n)},n.prototype.toJSON=function(){return b(this,{},{})},n}(OfficeExtension.ClientObject);t.SensitivityLabel=me;var _e=function(r){function l(){return null!==r&&r.apply(this,arguments)||this}return __extends(l,r),Object.defineProperty(l.prototype,"_className",{get:function(){return"SlideCollection"},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"_isCollection",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"items",{get:function(){return f("items",this.m__items,"SlideCollection",this._isNull),this.m__items},enumerable:!0,configurable:!0}),l.prototype.add=function(t){y("SlideCollection.add",n,"1.3",e),u(this,"Add",0,[t],0,0)},l.prototype.exportAsBase64Presentation=function(t){return y("SlideCollection.exportAsBase64Presentation",n,"1.10",e),u(this,"ExportAsBase64Presentation",1,[t],4,0)},l.prototype.getCount=function(){return u(this,"GetCount",1,[],4,0)},l.prototype.getItem=function(e){return o(t.Slide,this,[e])},l.prototype.getItemAt=function(e){return i(t.Slide,this,"GetItemAt",1,[e],!1,!1,null,4)},l.prototype.getItemOrNullObject=function(e){return i(t.Slide,this,"GetItemOrNullObject",0,[e],!1,!1,null,0)},l.prototype._handleResult=function(e){if(r.prototype._handleResult.call(this,e),!p(e)){var n=e;if(m(this,n),!p(n[OfficeExtension.Constants.items])){this.m__items=[];for(var i=n[OfficeExtension.Constants.items],o=0;o<i.length;o++){var l=s(t.Slide,!0,this,i[o],o);l._handleResult(i[o]),this.m__items.push(l)}}}},l.prototype.load=function(t){return d(this,t)},l.prototype.retrieve=function(t){return g(this,t)},l.prototype._handleRetrieveResult=function(e,n){var i=this;r.prototype._handleRetrieveResult.call(this,e,n),O(this,e,n,(function(e,n){return s(t.Slide,!0,i,e,n)}))},l.prototype.toJSON=function(){return b(this,{},{},this.m__items)},l.prototype.setMockData=function(e){var n=this;S(this,e,(function(e,r){return s(t.Slide,!0,n,e,r)}),(function(t){return n.m__items=t}))},l}(OfficeExtension.ClientObject);t.SlideCollection=_e;var Ce=function(r){function l(){return null!==r&&r.apply(this,arguments)||this}return __extends(l,r),Object.defineProperty(l.prototype,"_className",{get:function(){return"SlideScopedCollection"},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"_isCollection",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"items",{get:function(){return f("items",this.m__items,"SlideScopedCollection",this._isNull),this.m__items},enumerable:!0,configurable:!0}),l.prototype.exportAsBase64Presentation=function(){return y("SlideScopedCollection.exportAsBase64Presentation",n,"1.10",e),u(this,"ExportAsBase64Presentation",1,[],4,0)},l.prototype.getCount=function(){return u(this,"GetCount",1,[],4,0)},l.prototype.getItem=function(e){return o(t.Slide,this,[e])},l.prototype.getItemAt=function(e){return i(t.Slide,this,"GetItemAt",1,[e],!1,!1,null,4)},l.prototype.getItemOrNullObject=function(e){return i(t.Slide,this,"GetItemOrNullObject",0,[e],!1,!1,null,0)},l.prototype._handleResult=function(e){if(r.prototype._handleResult.call(this,e),!p(e)){var n=e;if(m(this,n),!p(n[OfficeExtension.Constants.items])){this.m__items=[];for(var i=n[OfficeExtension.Constants.items],o=0;o<i.length;o++){var l=s(t.Slide,!0,this,i[o],o);l._handleResult(i[o]),this.m__items.push(l)}}}},l.prototype.load=function(t){return d(this,t)},l.prototype.retrieve=function(t){return g(this,t)},l.prototype._handleRetrieveResult=function(e,n){var i=this;r.prototype._handleRetrieveResult.call(this,e,n),O(this,e,n,(function(e,n){return s(t.Slide,!0,i,e,n)}))},l.prototype.toJSON=function(){return b(this,{},{},this.m__items)},l.prototype.setMockData=function(e){var n=this;S(this,e,(function(e,r){return s(t.Slide,!0,n,e,r)}),(function(t){return n.m__items=t}))},l}(OfficeExtension.ClientObject);t.SlideScopedCollection=Ce;var Oe=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return __extends(n,e),Object.defineProperty(n.prototype,"_className",{get:function(){return"SlideMasterCollection"},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_isCollection",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"items",{get:function(){return f("items",this.m__items,"SlideMasterCollection",this._isNull),this.m__items},enumerable:!0,configurable:!0}),n.prototype.getCount=function(){return u(this,"GetCount",1,[],4,0)},n.prototype.getItem=function(e){return o(t.SlideMaster,this,[e])},n.prototype.getItemAt=function(e){return i(t.SlideMaster,this,"GetItemAt",1,[e],!1,!1,null,4)},n.prototype.getItemOrNullObject=function(e){return i(t.SlideMaster,this,"GetItemOrNullObject",0,[e],!1,!1,null,0)},n.prototype._handleResult=function(n){if(e.prototype._handleResult.call(this,n),!p(n)){var r=n;if(m(this,r),!p(r[OfficeExtension.Constants.items])){this.m__items=[];for(var i=r[OfficeExtension.Constants.items],o=0;o<i.length;o++){var l=s(t.SlideMaster,!0,this,i[o],o);l._handleResult(i[o]),this.m__items.push(l)}}}},n.prototype.load=function(t){return d(this,t)},n.prototype.retrieve=function(t){return g(this,t)},n.prototype._handleRetrieveResult=function(n,r){var i=this;e.prototype._handleRetrieveResult.call(this,n,r),O(this,n,r,(function(e,n){return s(t.SlideMaster,!0,i,e,n)}))},n.prototype.toJSON=function(){return b(this,{},{},this.m__items)},n.prototype.setMockData=function(e){var n=this;S(this,e,(function(e,r){return s(t.SlideMaster,!0,n,e,r)}),(function(t){return n.m__items=t}))},n}(OfficeExtension.ClientObject);t.SlideMasterCollection=Oe,function(t){t.generalException="GeneralException"}(t.ErrorCodes||(t.ErrorCodes={})),t.Interfaces||(t.Interfaces={})}(PowerPoint||(PowerPoint={})),function(t){var e=function(e){function n(n){var r=e.call(this,n)||this;return r.m_presentation=new t.Presentation(r,OfficeExtension.ObjectPathFactory.createGlobalObjectObjectPath(r)),r._rootObject=r.m_presentation,r}return __extends(n,e),Object.defineProperty(n.prototype,"presentation",{get:function(){return this.m_presentation},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"application",{get:function(){return null==this.m_application&&(this.m_application=new t.Application(this,OfficeExtension.ObjectPathFactory.createNewObjectObjectPath(this,"Microsoft.Office.PowerPoint.Application",!1))),this.m_application},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"sensitivityLabelsCatalog",{get:function(){if(null==this.m_sensitivityLabelsCatalog){var e=t.SensitivityLabelsCatalog;e&&(this.m_sensitivityLabelsCatalog=new e(this,OfficeExtension.ObjectPathFactory.createNewObjectObjectPath(this,"Microsoft.Office.PowerPoint.SensitivityLabelsCatalog",!1)))}return this.m_sensitivityLabelsCatalog},enumerable:!0,configurable:!0}),n}(OfficeCore.RequestContext);t.RequestContext=e,t.run=function(e,n){return OfficeExtension.ClientRequestContext._runBatch("PowerPoint.run",arguments,(function(){return new t.RequestContext}))}}(PowerPoint||(PowerPoint={}));export{PowerPoint};