UNPKG

sp-jsom-node

Version:

SharePoint JavaScript Object Model for Node.js

1 lines 90.7 kB
function ULS6Tc(){var a={};a.ULSTeamName="Office Server";a.ULSFileName="SP.Taxonomy.debug.jss";return a}Type.registerNamespace("SP.Taxonomy");SP.Taxonomy.ChangedItemType=function(){};SP.Taxonomy.ChangedItemType.prototype={unknown:0,term:1,termSet:2,group:3,termStore:4,site:5};SP.Taxonomy.ChangedItemType.registerEnum("SP.Taxonomy.ChangedItemType",false);SP.Taxonomy.ChangedOperationType=function(){};SP.Taxonomy.ChangedOperationType.prototype={unknown:0,add:1,edit:2,deleteObject:3,move:4,copy:5,pathChange:6,merge:7,importObject:8,restore:9};SP.Taxonomy.ChangedOperationType.registerEnum("SP.Taxonomy.ChangedOperationType",false);SP.Taxonomy.StringMatchOption=function(){};SP.Taxonomy.StringMatchOption.prototype={startsWith:0,exactMatch:1};SP.Taxonomy.StringMatchOption.registerEnum("SP.Taxonomy.StringMatchOption",false);SP.Taxonomy.ChangedGroup=function(b,a){a:;SP.Taxonomy.ChangedGroup.initializeBase(this,[b,a])};SP.Taxonomy.ChangedItem=function(b,a){a:;SP.Taxonomy.ChangedItem.initializeBase(this,[b,a])};SP.Taxonomy.ChangedItem.prototype={get_changedBy:function(){a:;this.checkUninitializedProperty("ChangedBy");return this.get_objectData().get_properties()["ChangedBy"]},get_changedTime:function(){a:;this.checkUninitializedProperty("ChangedTime");return this.get_objectData().get_properties()["ChangedTime"]},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_itemType:function(){a:;this.checkUninitializedProperty("ItemType");return this.get_objectData().get_properties()["ItemType"]},get_operation:function(){a:;this.checkUninitializedProperty("Operation");return this.get_objectData().get_properties()["Operation"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ChangedBy;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ChangedBy"]=a;delete b.ChangedBy}a=b.ChangedTime;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ChangedTime"]=a;delete b.ChangedTime}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.ItemType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ItemType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.ItemType}a=b.Operation;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Operation"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.Operation}}};SP.Taxonomy.ChangedItemPropertyNames=function(){};SP.Taxonomy.ChangedItemCollection=function(b,a){a:;SP.Taxonomy.ChangedItemCollection.initializeBase(this,[b,a])};SP.Taxonomy.ChangedItemCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return SP.Taxonomy.ChangedItem}};SP.Taxonomy.ChangedSite=function(b,a){a:;SP.Taxonomy.ChangedSite.initializeBase(this,[b,a])};SP.Taxonomy.ChangedSite.prototype={get_siteId:function(){a:;this.checkUninitializedProperty("SiteId");return this.get_objectData().get_properties()["SiteId"]},get_termId:function(){a:;this.checkUninitializedProperty("TermId");return this.get_objectData().get_properties()["TermId"]},get_termSetId:function(){a:;this.checkUninitializedProperty("TermSetId");return this.get_objectData().get_properties()["TermSetId"]},initPropertiesFromJson:function(b){a:;SP.Taxonomy.ChangedItem.prototype.initPropertiesFromJson.call(this,b);var a;a=b.SiteId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["SiteId"]=a;delete b.SiteId}a=b.TermId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TermId"]=a;delete b.TermId}a=b.TermSetId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TermSetId"]=a;delete b.TermSetId}}};SP.Taxonomy.ChangedSitePropertyNames=function(){};SP.Taxonomy.ChangedTerm=function(b,a){a:;SP.Taxonomy.ChangedTerm.initializeBase(this,[b,a])};SP.Taxonomy.ChangedTerm.prototype={get_changedCustomProperties:function(){a:;this.checkUninitializedProperty("ChangedCustomProperties");return this.get_objectData().get_properties()["ChangedCustomProperties"]},get_changedLocalCustomProperties:function(){a:;this.checkUninitializedProperty("ChangedLocalCustomProperties");return this.get_objectData().get_properties()["ChangedLocalCustomProperties"]},get_groupId:function(){a:;this.checkUninitializedProperty("GroupId");return this.get_objectData().get_properties()["GroupId"]},get_lcidsForChangedDescriptions:function(){a:;this.checkUninitializedProperty("LcidsForChangedDescriptions");return this.get_objectData().get_properties()["LcidsForChangedDescriptions"]},get_lcidsForChangedLabels:function(){a:;this.checkUninitializedProperty("LcidsForChangedLabels");return this.get_objectData().get_properties()["LcidsForChangedLabels"]},get_termSetId:function(){a:;this.checkUninitializedProperty("TermSetId");return this.get_objectData().get_properties()["TermSetId"]},initPropertiesFromJson:function(b){a:;SP.Taxonomy.ChangedItem.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ChangedCustomProperties;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ChangedCustomProperties"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.ChangedCustomProperties}a=b.ChangedLocalCustomProperties;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ChangedLocalCustomProperties"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.ChangedLocalCustomProperties}a=b.GroupId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["GroupId"]=a;delete b.GroupId}a=b.LcidsForChangedDescriptions;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["LcidsForChangedDescriptions"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.LcidsForChangedDescriptions}a=b.LcidsForChangedLabels;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["LcidsForChangedLabels"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.LcidsForChangedLabels}a=b.TermSetId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TermSetId"]=a;delete b.TermSetId}}};SP.Taxonomy.ChangedTermPropertyNames=function(){};SP.Taxonomy.ChangedTermSet=function(b,a){a:;SP.Taxonomy.ChangedTermSet.initializeBase(this,[b,a])};SP.Taxonomy.ChangedTermSet.prototype={get_fromGroupId:function(){a:;this.checkUninitializedProperty("FromGroupId");return this.get_objectData().get_properties()["FromGroupId"]},get_groupId:function(){a:;this.checkUninitializedProperty("GroupId");return this.get_objectData().get_properties()["GroupId"]},initPropertiesFromJson:function(b){a:;SP.Taxonomy.ChangedItem.prototype.initPropertiesFromJson.call(this,b);var a;a=b.FromGroupId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FromGroupId"]=a;delete b.FromGroupId}a=b.GroupId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["GroupId"]=a;delete b.GroupId}}};SP.Taxonomy.ChangedTermSetPropertyNames=function(){};SP.Taxonomy.ChangedTermStore=function(b,a){a:;SP.Taxonomy.ChangedTermStore.initializeBase(this,[b,a])};SP.Taxonomy.ChangedTermStore.prototype={get_changedLanguage:function(){a:;this.checkUninitializedProperty("ChangedLanguage");return this.get_objectData().get_properties()["ChangedLanguage"]},get_isDefaultLanguageChanged:function(){a:;this.checkUninitializedProperty("IsDefaultLanguageChanged");return this.get_objectData().get_properties()["IsDefaultLanguageChanged"]},get_isFullFarmRestore:function(){a:;this.checkUninitializedProperty("IsFullFarmRestore");return this.get_objectData().get_properties()["IsFullFarmRestore"]},initPropertiesFromJson:function(b){a:;SP.Taxonomy.ChangedItem.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ChangedLanguage;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ChangedLanguage"]=a;delete b.ChangedLanguage}a=b.IsDefaultLanguageChanged;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsDefaultLanguageChanged"]=a;delete b.IsDefaultLanguageChanged}a=b.IsFullFarmRestore;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsFullFarmRestore"]=a;delete b.IsFullFarmRestore}}};SP.Taxonomy.ChangedTermStorePropertyNames=function(){};SP.Taxonomy.ChangeInformation=function(a){a:;SP.Taxonomy.ChangeInformation.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{1f849fb0-4fcb-4a54-9b01-9152b9e482d3}",arguments)])};SP.Taxonomy.ChangeInformation.newObject=function(a){a:;return new SP.Taxonomy.ChangeInformation(a,new SP.ObjectPathConstructor(a,"{1f849fb0-4fcb-4a54-9b01-9152b9e482d3}",null))};SP.Taxonomy.ChangeInformation.prototype={get_itemType:function(){a:;this.checkUninitializedProperty("ItemType");return this.get_objectData().get_properties()["ItemType"]},set_itemType:function(a){a:;this.get_objectData().get_properties()["ItemType"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ItemType",a));return a},get_operationType:function(){a:;this.checkUninitializedProperty("OperationType");return this.get_objectData().get_properties()["OperationType"]},set_operationType:function(a){a:;this.get_objectData().get_properties()["OperationType"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"OperationType",a));return a},get_startTime:function(){a:;this.checkUninitializedProperty("StartTime");return this.get_objectData().get_properties()["StartTime"]},set_startTime:function(a){a:;this.get_objectData().get_properties()["StartTime"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"StartTime",a));return a},get_withinTimeSpan:function(){a:;this.checkUninitializedProperty("WithinTimeSpan");return this.get_objectData().get_properties()["WithinTimeSpan"]},set_withinTimeSpan:function(a){a:;this.get_objectData().get_properties()["WithinTimeSpan"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"WithinTimeSpan",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ItemType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ItemType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.ItemType}a=b.OperationType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OperationType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.OperationType}a=b.StartTime;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["StartTime"]=a;delete b.StartTime}a=b.WithinTimeSpan;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WithinTimeSpan"]=a;delete b.WithinTimeSpan}}};SP.Taxonomy.ChangeInformationPropertyNames=function(){};SP.Taxonomy.CustomPropertyMatchInformation=function(a){a:;SP.Taxonomy.CustomPropertyMatchInformation.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{56747951-df44-4bed-bf36-2b3bddf587f9}",arguments)])};SP.Taxonomy.CustomPropertyMatchInformation.newObject=function(a){a:;return new SP.Taxonomy.CustomPropertyMatchInformation(a,new SP.ObjectPathConstructor(a,"{56747951-df44-4bed-bf36-2b3bddf587f9}",null))};SP.Taxonomy.CustomPropertyMatchInformation.prototype={get_customPropertyName:function(){a:;this.checkUninitializedProperty("CustomPropertyName");return this.get_objectData().get_properties()["CustomPropertyName"]},set_customPropertyName:function(a){a:;this.get_objectData().get_properties()["CustomPropertyName"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CustomPropertyName",a));return a},get_customPropertyValue:function(){a:;this.checkUninitializedProperty("CustomPropertyValue");return this.get_objectData().get_properties()["CustomPropertyValue"]},set_customPropertyValue:function(a){a:;this.get_objectData().get_properties()["CustomPropertyValue"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CustomPropertyValue",a));return a},get_resultCollectionSize:function(){a:;this.checkUninitializedProperty("ResultCollectionSize");return this.get_objectData().get_properties()["ResultCollectionSize"]},set_resultCollectionSize:function(a){a:;this.get_objectData().get_properties()["ResultCollectionSize"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ResultCollectionSize",a));return a},get_stringMatchOption:function(){a:;this.checkUninitializedProperty("StringMatchOption");return this.get_objectData().get_properties()["StringMatchOption"]},set_stringMatchOption:function(a){a:;this.get_objectData().get_properties()["StringMatchOption"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"StringMatchOption",a));return a},get_trimUnavailable:function(){a:;this.checkUninitializedProperty("TrimUnavailable");return this.get_objectData().get_properties()["TrimUnavailable"]},set_trimUnavailable:function(a){a:;this.get_objectData().get_properties()["TrimUnavailable"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TrimUnavailable",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.CustomPropertyName;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CustomPropertyName"]=a;delete b.CustomPropertyName}a=b.CustomPropertyValue;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CustomPropertyValue"]=a;delete b.CustomPropertyValue}a=b.ResultCollectionSize;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ResultCollectionSize"]=a;delete b.ResultCollectionSize}a=b.StringMatchOption;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["StringMatchOption"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.StringMatchOption}a=b.TrimUnavailable;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TrimUnavailable"]=a;delete b.TrimUnavailable}}};SP.Taxonomy.CustomPropertyMatchInformationPropertyNames=function(){};SP.Taxonomy.Label=function(b,a){a:;SP.Taxonomy.Label.initializeBase(this,[b,a])};SP.Taxonomy.Label.prototype={get_isDefaultForLanguage:function(){a:;this.checkUninitializedProperty("IsDefaultForLanguage");return this.get_objectData().get_properties()["IsDefaultForLanguage"]},get_language:function(){a:;this.checkUninitializedProperty("Language");return this.get_objectData().get_properties()["Language"]},set_language:function(a){a:;this.get_objectData().get_properties()["Language"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Language",a));return a},get_term:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Term"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.Taxonomy.Term(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Term"));this.get_objectData().get_clientObjectProperties()["Term"]=a}return a},get_value:function(){a:;this.checkUninitializedProperty("Value");return this.get_objectData().get_properties()["Value"]},set_value:function(a){a:;this.get_objectData().get_properties()["Value"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Value",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.IsDefaultForLanguage;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsDefaultForLanguage"]=a;delete b.IsDefaultForLanguage}a=b.Language;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Language"]=a;delete b.Language}a=b.Term;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Term",this.get_term(),a);this.get_term().fromJson(a);delete b.Term}a=b.Value;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Value"]=a;delete b.Value}},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b)},setAsDefaultForLanguage:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"SetAsDefaultForLanguage",null);a.addQuery(b)}};SP.Taxonomy.LabelPropertyNames=function(){};SP.Taxonomy.LabelObjectPropertyNames=function(){};SP.Taxonomy.LabelCollection=function(b,a){a:;SP.Taxonomy.LabelCollection.initializeBase(this,[b,a])};SP.Taxonomy.LabelCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return SP.Taxonomy.Label},getByValue:function(d){a:;var b=this.get_context(),a,c=this.get_objectData().get_methodReturnObjects()["GetByValue"];if(SP.ScriptUtility.isNullOrUndefined(c)){c={};this.get_objectData().get_methodReturnObjects()["GetByValue"]=c}a=c[d.toUpperCase()];if(!b.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new SP.Taxonomy.Label(b,new SP.ObjectPathMethod(b,this.get_path(),"GetByValue",[d]));if(!b.get_disableReturnValueCache())c[d.toUpperCase()]=a;var e=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(e.get_id(),a);b.addQuery(e);return a}};SP.Taxonomy.LabelMatchInformation=function(a){a:;SP.Taxonomy.LabelMatchInformation.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{61a1d689-2744-4ea3-a88b-c95bee9803aa}",arguments)])};SP.Taxonomy.LabelMatchInformation.newObject=function(a){a:;return new SP.Taxonomy.LabelMatchInformation(a,new SP.ObjectPathConstructor(a,"{61a1d689-2744-4ea3-a88b-c95bee9803aa}",null))};SP.Taxonomy.LabelMatchInformation.prototype={get_defaultLabelOnly:function(){a:;this.checkUninitializedProperty("DefaultLabelOnly");return this.get_objectData().get_properties()["DefaultLabelOnly"]},set_defaultLabelOnly:function(a){a:;this.get_objectData().get_properties()["DefaultLabelOnly"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DefaultLabelOnly",a));return a},get_excludeKeyword:function(){a:;this.checkUninitializedProperty("ExcludeKeyword");return this.get_objectData().get_properties()["ExcludeKeyword"]},set_excludeKeyword:function(a){a:;this.get_objectData().get_properties()["ExcludeKeyword"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ExcludeKeyword",a));return a},get_lcid:function(){a:;this.checkUninitializedProperty("Lcid");return this.get_objectData().get_properties()["Lcid"]},set_lcid:function(a){a:;this.get_objectData().get_properties()["Lcid"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Lcid",a));return a},get_resultCollectionSize:function(){a:;this.checkUninitializedProperty("ResultCollectionSize");return this.get_objectData().get_properties()["ResultCollectionSize"]},set_resultCollectionSize:function(a){a:;this.get_objectData().get_properties()["ResultCollectionSize"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ResultCollectionSize",a));return a},get_stringMatchOption:function(){a:;this.checkUninitializedProperty("StringMatchOption");return this.get_objectData().get_properties()["StringMatchOption"]},set_stringMatchOption:function(a){a:;this.get_objectData().get_properties()["StringMatchOption"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"StringMatchOption",a));return a},get_termLabel:function(){a:;this.checkUninitializedProperty("TermLabel");return this.get_objectData().get_properties()["TermLabel"]},set_termLabel:function(a){a:;this.get_objectData().get_properties()["TermLabel"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TermLabel",a));return a},get_trimDeprecated:function(){a:;this.checkUninitializedProperty("TrimDeprecated");return this.get_objectData().get_properties()["TrimDeprecated"]},set_trimDeprecated:function(a){a:;this.get_objectData().get_properties()["TrimDeprecated"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TrimDeprecated",a));return a},get_trimUnavailable:function(){a:;this.checkUninitializedProperty("TrimUnavailable");return this.get_objectData().get_properties()["TrimUnavailable"]},set_trimUnavailable:function(a){a:;this.get_objectData().get_properties()["TrimUnavailable"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TrimUnavailable",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.DefaultLabelOnly;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultLabelOnly"]=a;delete b.DefaultLabelOnly}a=b.ExcludeKeyword;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ExcludeKeyword"]=a;delete b.ExcludeKeyword}a=b.Lcid;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Lcid"]=a;delete b.Lcid}a=b.ResultCollectionSize;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ResultCollectionSize"]=a;delete b.ResultCollectionSize}a=b.StringMatchOption;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["StringMatchOption"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.StringMatchOption}a=b.TermLabel;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TermLabel"]=a;delete b.TermLabel}a=b.TrimDeprecated;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TrimDeprecated"]=a;delete b.TrimDeprecated}a=b.TrimUnavailable;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TrimUnavailable"]=a;delete b.TrimUnavailable}}};SP.Taxonomy.LabelMatchInformationPropertyNames=function(){};SP.Taxonomy.MobileTaxonomyField=function(b,a){a:;SP.Taxonomy.MobileTaxonomyField.initializeBase(this,[b,a])};SP.Taxonomy.MobileTaxonomyField.prototype={get_readOnly:function(){a:;this.checkUninitializedProperty("ReadOnly");return this.get_objectData().get_properties()["ReadOnly"]},initPropertiesFromJson:function(a){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,a);var b;b=a.ReadOnly;if(!SP.ScriptUtility.isUndefined(b)){this.get_objectData().get_properties()["ReadOnly"]=b;delete a.ReadOnly}}};SP.Taxonomy.MobileTaxonomyFieldPropertyNames=function(){};SP.Taxonomy.TaxonomyField=function(b,a){a:;SP.Taxonomy.TaxonomyField.initializeBase(this,[b,a])};SP.Taxonomy.TaxonomyField.prototype={get_anchorId:function(){a:;this.checkUninitializedProperty("AnchorId");return this.get_objectData().get_properties()["AnchorId"]},set_anchorId:function(a){a:;this.get_objectData().get_properties()["AnchorId"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"AnchorId",a));return a},get_createValuesInEditForm:function(){a:;this.checkUninitializedProperty("CreateValuesInEditForm");return this.get_objectData().get_properties()["CreateValuesInEditForm"]},set_createValuesInEditForm:function(a){a:;this.get_objectData().get_properties()["CreateValuesInEditForm"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CreateValuesInEditForm",a));return a},get_isAnchorValid:function(){a:;this.checkUninitializedProperty("IsAnchorValid");return this.get_objectData().get_properties()["IsAnchorValid"]},get_isKeyword:function(){a:;this.checkUninitializedProperty("IsKeyword");return this.get_objectData().get_properties()["IsKeyword"]},set_isKeyword:function(a){a:;this.get_objectData().get_properties()["IsKeyword"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsKeyword",a));return a},get_isPathRendered:function(){a:;this.checkUninitializedProperty("IsPathRendered");return this.get_objectData().get_properties()["IsPathRendered"]},set_isPathRendered:function(a){a:;this.get_objectData().get_properties()["IsPathRendered"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsPathRendered",a));return a},get_isTermSetValid:function(){a:;this.checkUninitializedProperty("IsTermSetValid");return this.get_objectData().get_properties()["IsTermSetValid"]},get_open:function(){a:;this.checkUninitializedProperty("Open");return this.get_objectData().get_properties()["Open"]},set_open:function(a){a:;this.get_objectData().get_properties()["Open"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Open",a));return a},get_sspId:function(){a:;this.checkUninitializedProperty("SspId");return this.get_objectData().get_properties()["SspId"]},set_sspId:function(a){a:;this.get_objectData().get_properties()["SspId"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"SspId",a));return a},get_targetTemplate:function(){a:;this.checkUninitializedProperty("TargetTemplate");return this.get_objectData().get_properties()["TargetTemplate"]},set_targetTemplate:function(a){a:;this.get_objectData().get_properties()["TargetTemplate"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TargetTemplate",a));return a},get_termSetId:function(){a:;this.checkUninitializedProperty("TermSetId");return this.get_objectData().get_properties()["TermSetId"]},set_termSetId:function(a){a:;this.get_objectData().get_properties()["TermSetId"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TermSetId",a));return a},get_textField:function(){a:;this.checkUninitializedProperty("TextField");return this.get_objectData().get_properties()["TextField"]},get_userCreated:function(){a:;this.checkUninitializedProperty("UserCreated");return this.get_objectData().get_properties()["UserCreated"]},set_userCreated:function(a){a:;this.get_objectData().get_properties()["UserCreated"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"UserCreated",a));return a},initPropertiesFromJson:function(b){a:;SP.FieldLookup.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AnchorId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["AnchorId"]=a;delete b.AnchorId}a=b.CreateValuesInEditForm;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CreateValuesInEditForm"]=a;delete b.CreateValuesInEditForm}a=b.IsAnchorValid;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsAnchorValid"]=a;delete b.IsAnchorValid}a=b.IsKeyword;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsKeyword"]=a;delete b.IsKeyword}a=b.IsPathRendered;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsPathRendered"]=a;delete b.IsPathRendered}a=b.IsTermSetValid;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsTermSetValid"]=a;delete b.IsTermSetValid}a=b.Open;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Open"]=a;delete b.Open}a=b.SspId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["SspId"]=a;delete b.SspId}a=b.TargetTemplate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TargetTemplate"]=a;delete b.TargetTemplate}a=b.TermSetId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TermSetId"]=a;delete b.TermSetId}a=b.TextField;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TextField"]=a;delete b.TextField}a=b.UserCreated;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["UserCreated"]=a;delete b.UserCreated}},getFieldValueAsText:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetFieldValueAsText",[d]);b.addQuery(c);a=new SP.StringResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},getFieldValueAsTaxonomyFieldValue:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetFieldValueAsTaxonomyFieldValue",[d]);b.addQuery(c);a=new SP.Taxonomy.TaxonomyFieldValue;b.addQueryIdAndResultObject(c.get_id(),a);return a},getFieldValueAsTaxonomyFieldValueCollection:function(c){a:;var a=this.get_context(),b;b=new SP.Taxonomy.TaxonomyFieldValueCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetFieldValueAsTaxonomyFieldValueCollection",[c]));return b},setFieldValueByTerm:function(c,e,d){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"SetFieldValueByTerm",[c,e,d]);a.addQuery(b)},setFieldValueByTermCollection:function(d,a,e){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"SetFieldValueByTermCollection",[d,a,e]);b.addQuery(c)},setFieldValueByCollection:function(d,a,e){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"SetFieldValueByCollection",[d,a,e]);b.addQuery(c)},setFieldValueByValue:function(d,a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"SetFieldValueByValue",[d,a]);b.addQuery(c)},setFieldValueByValueCollection:function(d,a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"SetFieldValueByValueCollection",[d,a]);b.addQuery(c)},getFieldValueAsHtml:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetFieldValueAsHtml",[d]);b.addQuery(c);a=new SP.StringResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},getValidatedString:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetValidatedString",[d]);b.addQuery(c);a=new SP.StringResult;b.addQueryIdAndResultObject(c.get_id(),a);return a}};SP.Taxonomy.TaxonomyFieldPropertyNames=function(){};SP.Taxonomy.TaxonomyFieldValue=function(){a:;SP.Taxonomy.TaxonomyFieldValue.initializeBase(this)};SP.Taxonomy.TaxonomyFieldValue.prototype={$0_1:null,$1_1:null,$2_1:0,get_label:function(){a:;return this.$0_1},set_label:function(a){a:;this.$0_1=a;return a},get_termGuid:function(){a:;return this.$1_1},set_termGuid:function(a){a:;this.$1_1=a;return a},get_wssId:function(){a:;return this.$2_1},set_wssId:function(a){a:;this.$2_1=a;return a},get_typeId:function(){a:;return "{19e70ed0-4177-456b-8156-015e4d163ff8}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Label","TermGuid","WssId"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Label;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Label}a=b.TermGuid;if(!SP.ScriptUtility.isUndefined(a)){this.$1_1=a;delete b.TermGuid}a=b.WssId;if(!SP.ScriptUtility.isUndefined(a)){this.$2_1=a;delete b.WssId}}};SP.Taxonomy.TaxonomyFieldValueCollection=function(a){a:;SP.Taxonomy.TaxonomyFieldValueCollection.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{c3dfae10-f3bf-4894-9012-bb60665b6d91}",arguments)])};SP.Taxonomy.TaxonomyFieldValueCollection.newObject=function(a,c,b){a:;return new SP.Taxonomy.TaxonomyFieldValueCollection(a,new SP.ObjectPathConstructor(a,"{c3dfae10-f3bf-4894-9012-bb60665b6d91}",[c,b]))};SP.Taxonomy.TaxonomyFieldValueCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return SP.Taxonomy.TaxonomyFieldValue},populateFromLabelGuidPairs:function(c){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"PopulateFromLabelGuidPairs",[c]);a.addQuery(b)}};SP.Taxonomy.TaxonomyItem=function(b,a){a:;SP.Taxonomy.TaxonomyItem.initializeBase(this,[b,a])};SP.Taxonomy.TaxonomyItem.normalizeName=function(a,d){a:;if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{5f6011b8-fae0-4784-8882-85765261d951}","NormalizeName",[d]);a.addQuery(c);b=new SP.StringResult;a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.Taxonomy.TaxonomyItem.prototype={get_createdDate:function(){a:;this.checkUninitializedProperty("CreatedDate");return this.get_objectData().get_properties()["CreatedDate"]},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_lastModifiedDate:function(){a:;this.checkUninitializedProperty("LastModifiedDate");return this.get_objectData().get_properties()["LastModifiedDate"]},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},set_name:function(a){a:;this.get_objectData().get_properties()["Name"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Name",a));return a},get_termStore:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["TermStore"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.Taxonomy.TermStore(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"TermStore"));this.get_objectData().get_clientObjectProperties()["TermStore"]=a}return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.CreatedDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CreatedDate"]=a;delete b.CreatedDate}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.LastModifiedDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["LastModifiedDate"]=a;delete b.LastModifiedDate}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.TermStore;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("TermStore",this.get_termStore(),a);this.get_termStore().fromJson(a);delete b.TermStore}},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b)}};SP.Taxonomy.TaxonomyItemPropertyNames=function(){};SP.Taxonomy.TaxonomyItemObjectPropertyNames=function(){};SP.Taxonomy.TaxonomySession=function(b,a){a:;SP.Taxonomy.TaxonomySession.initializeBase(this,[b,a])};SP.Taxonomy.TaxonomySession.getTaxonomySession=function(a){a:;if(!a)throw Error.argumentNull("context");var b;b=new SP.Taxonomy.TaxonomySession(a,new SP.ObjectPathStaticMethod(a,"{981cbc68-9edc-4f8d-872f-71146fcbb84f}","GetTaxonomySession",null));b.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(b.get_path());a.addQueryIdAndResultObject(c.get_id(),b);a.addQuery(c);return b};SP.Taxonomy.TaxonomySession.prototype={get_offlineTermStoreNames:function(){a:;this.checkUninitializedProperty("OfflineTermStoreNames");return this.get_objectData().get_properties()["OfflineTermStoreNames"]},get_termStores:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["TermStores"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.Taxonomy.TermStoreCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"TermStores"));this.get_objectData().get_clientObjectProperties()["TermStores"]=a}return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.OfflineTermStoreNames;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OfflineTermStoreNames"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.OfflineTermStoreNames}a=b.TermStores;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("TermStores",this.get_termStores(),a);this.get_termStores().fromJson(a);delete b.TermStores}},getTerms:function(c){a:;var a=this.get_context(),b;b=new SP.Taxonomy.TermCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetTerms",[c]));return b},updateCache:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"UpdateCache",null);a.addQuery(b)},getTerm:function(d){a:;var b=this.get_context(),a,c=this.get_objectData().get_methodReturnObjects()["GetTerm"];if(SP.ScriptUtility.isNullOrUndefined(c)){c={};this.get_objectData().get_methodReturnObjects()["GetTerm"]=c}a=c[d.toString()];if(!b.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new SP.Taxonomy.Term(b,new SP.ObjectPathMethod(b,this.get_path(),"GetTerm",[d]));if(!b.get_disableReturnValueCache())c[d.toString()]=a;var e=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(e.get_id(),a);b.addQuery(e);return a},getTermsById:function(c){a:;var a=this.get_context(),b;b=new SP.Taxonomy.TermCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetTermsById",[c]));return b},getTermsInDefaultLanguage:function(h,e,d,c,f,g){a:;var a=this.get_context(),b;b=new SP.Taxonomy.TermCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetTermsInDefaultLanguage",[h,e,d,c,f,g]));return b},getTermsInWorkingLocale:function(h,e,d,c,f,g){a:;var a=this.get_context(),b;b=new SP.Taxonomy.TermCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetTermsInWorkingLocale",[h,e,d,c,f,g]));return b},getTermsWithCustomProperty:function(c){a:;var a=this.get_context(),b;b=new SP.Taxonomy.TermCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetTermsWithCustomProperty",[c]));return b},getTermSetsByName:function(c,d){a:;var a=this.get_context(),b;b=new SP.Taxonomy.TermSetCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetTermSetsByName",[c,d]));return b},getTermSetsByTermLabel:function(c,d){a:;var a=this.get_context(),b;b=new SP.Taxonomy.TermSetCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetTermSetsByTermLabel",[c,d]));return b},getDefaultKeywordsTermStore:function(){a:;var b=this.get_context(),a;a=new SP.Taxonomy.TermStore(b,new SP.ObjectPathMethod(b,this.get_path(),"GetDefaultKeywordsTermStore",null));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);return a},getDefaultSiteCollectionTermStore:function(){a:;var b=this.get_context(),a;a=new SP.Taxonomy.TermStore(b,new SP.ObjectPathMethod(b,this.get_path(),"GetDefaultSiteCollectionTermStore",null));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);return a}};SP.Taxonomy.TaxonomySessionPropertyNames=function(){};SP.Taxonomy.TaxonomySessionObjectPropertyNames=function(){};SP.Taxonomy.Term=function(b,a){a:;SP.Taxonomy.Term.initializeBase(this,[b,a])};SP.Taxonomy.Term.prototype={get_description:function(){a:;this.checkUninitializedProperty("Description");return this.get_objectData().get_properties()["Description"]},get_isDeprecated:function(){a:;this.checkUninitializedProperty("IsDeprecated");return this.get_objectData().get_properties()["IsDeprecated"]},get_isKeyword:function(){a:;this.checkUninitializedProperty("IsKeyword");return this.get_objectData().get_properties()["IsKeyword"]},get_isPinned:function(){a:;this.checkUninitializedProperty("IsPinned");return this.get_objectData().get_properties()["IsPinned"]},get_isPinnedRoot:function(){a:;this.checkUninitializedProperty("IsPinnedRoot");return this.get_objectData().get_properties()["IsPinnedRoot"]},get_isReused:function(){a:;this.checkUninitializedProperty("IsReused");return this.get_objectData().get_properties()["IsReused"]},get_isRoot:function(){a:;this.checkUninitializedProperty("IsRoot");return this.get_objectData().get_properties()["IsRoot"]},get_isSourceTerm:function(){a:;this.checkUninitializedProperty("IsSourceTerm");return this.get_objectData().get_properties()["IsSourceTerm"]},get_labels:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Labels"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.Taxonomy.LabelCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Labels"));this.get_objectData().get_clientObjectProperties()["Labels"]=a}return a},get_localCustomProperties:function(){a:;this.checkUninitializedProperty("LocalCustomProperties");return this.get_objectData().get_properties()["LocalCustomProperties"]},get_mergedTermIds:function(){a:;this.checkUninitializedProperty("MergedTermIds");return this.get_objectData().get_properties()["MergedTermIds"]},get_parent:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Parent"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.Taxonomy.Term(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Parent"));this.get_objectData().get_clientObjectProperties()["Parent"]=a}return a},get_pathOfTerm:function(){a:;this.checkUninitializedProperty("PathOfTerm");return this.get_objectData().get_properties()["PathOfTerm"]},get_pinSourceTermSet:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["PinSourceTermSet"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.Taxonomy.TermSet(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"PinSourceTermSet"));this.get_objectData().get_clientObjectProperties()["PinSourceTermSet"]=a}return a},get_reusedTerms:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["ReusedTerms"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.Taxonomy.TermCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"ReusedTerms"));this.get_objectData().get_clientObjectProperties()["ReusedTerms"]=a}return a},get_sourceTerm:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["SourceTerm"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.Taxonomy.Term(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"SourceTerm"));this.get_objectData().get_clientObjectProperties()["SourceTerm"]=a}return a},get_termsCount:function(){a:;this.checkUninitializedProperty("TermsCount");return this.get_objectData().get_properties()["TermsCount"]},get_termSet:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["TermSet"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.Taxonomy.TermSet(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"TermSet"));this.get_objectData().get_clientObjectProperties()["TermSet"]=a}return a},get_termSets:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["TermSets"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.Taxonomy.TermSetCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"TermSets"));this.get_objectData().get_clientObjectProperties()["TermSets"]=a}return a},initPropertiesFromJson:function(b){a:;SP.Taxonomy.TermSetItem.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Description"]=a;delete b.Description}a=b.IsDeprecated;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsDeprecated"]=a;delete b.IsDeprecated}a=b.IsKeyword;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsKeyword"]=a;delete b.IsKeyword}a=b.IsPinned;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsPinned"]=a;delete b.IsPinned}a=b.IsPinnedRoot;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsPinnedRoot"]=a;delete b.IsPinnedRoot}a=b.IsReused;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsReused"]=a;delete b.IsReused}a=b.IsRoot;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsRoot"]=a;delete b.IsRoot}a=b.IsSourceTerm;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsSourceTerm"]=a;delete b.IsSourceTerm}a=b.Labels;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Labels",this.get_labels(),a);this.get_labels().fromJson(a);delete b.Labels}a=b.LocalCustomProperties;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["LocalCustomProperties"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.LocalCustomProperties}a=b.MergedTermIds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["MergedTermIds"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.MergedTermIds}a=b.Parent;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Parent",this.get_parent(),a);this.get_parent().fromJson(a);delete b.Parent}a=b.PathOfTerm;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PathOfTerm"]=a;delete b.PathOfTerm}a=b.PinSourceTermSet;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("PinSourceTermSet",this.get_pinSourceTermSet(),a);this.get_pinSourceTermSet().fromJson(a);delete b.PinSourceTermSet}a=b.ReusedTerms;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("ReusedTerms",this.get_reusedTerms(),a);this.get_reusedTerms().fromJson(a);delete b.ReusedTerms}a=b.SourceTerm;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("SourceTerm",this.get_sourceTerm(),a);this.get_sourceTerm().fromJson(a);delete b.SourceTerm}a=b.TermsCount;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TermsCount"]=a;delete b.TermsCount}a=b.TermSet;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("TermSet",this.get_termSet(),a);this.get_termSet().fromJson(a);delete b.TermSet}a=b.TermSets;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("TermSets",this.get_termSets(),a);this.get_termSets().fromJson(a);delete b.TermSets}},copy:function(d){a:;var b=this.get_context(),a;a=new SP.Taxonomy.Term(b,new SP.ObjectPathMethod(b,this.get_path(),"Copy",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);return a},createLabel:function(e,f,d){a:;var b=this.get_context(),a;a=new SP.Taxonomy.Label(b,new SP.ObjectPathMethod(b,this.get_path(),"CreateLabel",[e,f,d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);return a},deleteLocalCustomProperty:function(c){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteLocalCustomProperty",[c]);a.addQuery(b)},deleteAllLocalCustomProperties:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteAllLocalCustomProperties",null);a.addQuery(b)},deprecate:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"Deprecate",[a]);b.addQuery(c)},getAllLabels:function(c){a:;var a=this.get_context(),b;b=new SP.Taxonomy.LabelCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetAllLabels",[c]));return b},getDefaultLabel:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetDefaultLabel",[d]);b.addQuery(c);a=new SP.StringResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},getDescription:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetDescription",[d]);b.addQuery(c);a=new SP.StringResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},merge:function(d){a:;var b=this.get_context(),a;a=new SP.Taxonomy.Term(b,new SP.ObjectPathMethod(b,this.get_path(),"Merge",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);return a},move:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"Move",[a]);b.addQuery(c)},reassignSourceTerm:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"ReassignSourceTerm",[a]);b.addQuery(c)},setDescription:function(a,d){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"SetDescription",[a,d]);b.addQuery(c)},setLocalCustomProperty:function(d,a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"SetLocalCustomProperty",[d,a]);b.addQuery(c)},getIsDescendantOf:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetIsDescendantOf",[d]);b.addQuery(c);a=new SP.BooleanResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},getPath:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetPath",[d]);b.addQuery(c);a=new SP.StringResult;b.addQueryIdAndResultObject(c.get_id(),a);return a}};SP.Taxonomy.TermPropertyNames=function(){};SP.Taxonomy.TermObjectPropertyNames=function(){};SP.Taxonomy.TermCollection=function(b,a){a:;SP.Taxonomy.TermCollection.initializeBase(this,[b,a])};SP.Taxonomy.TermCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return SP.Taxonomy.Term},getById:function(d){a:;var b=this.get_context(),a,c=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(c)){c={};this.get_objectData().get_methodReturnObjects()["GetById"]=c}a=c[d.toString()];if(!b.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new SP.Taxonomy.Term(b,new SP.ObjectPathMethod(b,this.get_path(),"GetById",[d]));if(!b.get_disableReturnValueCache())c[d.toString()]=a;var e=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(e.get_id(),a);b.addQuery(e);return a},getByName:function(d){a:;var b=this.get_context(),a,c=this.get_objectData().get_methodReturnObjects()["GetByName"];if(SP.ScriptUtility.isNullOrUndefined(c)){c={};this.get_objectData().get_methodReturnObjects()["GetByName"]=c}a=c[d.toUpperCase()];if(!b.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new SP.Taxonomy.Term(b,new SP.ObjectPathMethod(b,this.get_path(),"GetByName",[d]));if(!b.get_disableReturnValueCache())c[d.toUpperCase()]=a;var e=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(e.get_id(),a);b.addQuery(e);return a}};SP.Taxonomy.Te