@microsoft/sp-component-base 1.18.0-beta.1 → 1.18.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ define("467dc675-7cc5-4709-8aac-78e3b71bd2f6_1.18.0",["tslib","@ms/sp-telemetry","@microsoft/sp-dynamic-data","@microsoft/sp-lodash-subset","@microsoft/sp-core-library","@microsoft/sp-page-context","@microsoft/load-themed-styles","@microsoft/sp-diagnostics","@microsoft/sp-http"],function(n,a,i,r,o,s,c,d,l){return function(e){function t(t){for(var n,i,r=t[0],o=t[1],s=0,d=[];s<r.length;s++)i=r[s],Object.prototype.hasOwnProperty.call(a,i)&&a[i]&&d.push(a[i][0]),a[i]=0;for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n]);for(c&&c(t);d.length;)d.shift()()}var n={},a={1:0};function i(t){if(n[t])return n[t].exports;var a=n[t]={i:t,l:!1,exports:{}};return e[t].call(a.exports,a,a.exports,i),a.l=!0,a.exports}i.e=function(e){var t=[],n=a[e];if(0!==n)if(n)t.push(n[2]);else{var r=new Promise(function(t,i){n=a[e]=[t,i]});t.push(n[2]=r);var o,s=document.createElement("script");s.charset="utf-8",s.timeout=120,i.nc&&s.setAttribute("nonce",i.nc),s.src=function(e){return i.p+"chunk."+({0:"legacy-third-party-fabric-core-localfont"}[e]||e)+"_"+"none"+"_"+{0:"25f8b4362ff682e627eb"}[e]+".js"}(e),0!==s.src.indexOf(window.location.origin+"/")&&(s.crossOrigin="anonymous");var c=new Error;o=function(t){s.onerror=s.onload=null,clearTimeout(d);var n=a[e];if(0!==n){if(n){var i=t&&("load"===t.type?"missing":t.type),r=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+i+": "+r+")",c.name="ChunkLoadError",c.type=i,c.request=r,n[1](c)}a[e]=void 0}};var d=setTimeout(function(){o({type:"timeout",target:s})},12e4);s.onerror=s.onload=o,document.head.appendChild(s)}return Promise.all(t)},i.m=e,i.c=n,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)i.d(n,a,function(t){return e[t]}.bind(null,a));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i.oe=function(e){throw console.error(e),e};var r=window.webpackJsonp_467dc675_7cc5_4709_8aac_78e3b71bd2f6_1_18_0=window.webpackJsonp_467dc675_7cc5_4709_8aac_78e3b71bd2f6_1_18_0||[],o=r.push.bind(r);r.push=t,r=r.slice();for(var s=0;s<r.length;s++)t(r[s]);var c=o;return function(){var e,t=document.getElementsByTagName("script"),n="undefined"!=typeof spScriptNamePattern?spScriptNamePattern:/sp\-component\-base_qps-ploc_1f265e5284a882fbe34f\.js/i;if(t&&t.length)for(var a=0;a<t.length;a++)if(t[a]){var r=t[a].getAttribute("src");if(r&&r.match(n)){e=r.substring(0,r.lastIndexOf("/")+1);break}}if(!e)for(var o in window.__setWebpackPublicPathLoaderSrcRegistry__)if(o&&o.match(n)){e=o.substring(0,o.lastIndexOf("/")+1);break}i.p=e}(),i(i.s="mwqp")}({"17wl":function(e,t){e.exports=n},"2q6Q":function(e,t){e.exports=a},"84nK":function(e,t){e.exports=i},Pk8u:function(e,t){e.exports=r},UWqr:function(e,t){e.exports=o},"X+PM":function(e,t){e.exports=s},jOlS:function(e,t){e.exports=c},mGD9:function(e){e.exports=JSON.parse('{"r":"[!!--##Śōũŕćē ĥàś àĺŕēàďŷ ƀēēń ĩńĩţĩàĺĩźēď.##--!!]","i":"[!!--##\\u0022śēńďĒvēńţ()\\u0022 mũśţ ƀē ďēƒĩńēď, ŵĥēń ţĥē \\u0022àĺĺōŵēďĒvēńţś()\\u0022 ŕēţũŕńś à ńōń-ēmƥţŷ vàĺũē.##--!!]","t":"[!!--##Ďŷńàmĩć Ďàţà Śōũŕćē Màńàĝēŕ ĥàś ƀēēń ďĩśƥōśēď.##--!!]","n":"[!!--##Ďŷńàmĩć Ďàţà Śōũŕćē Màńàĝēŕ ĥàś ńōţ ƀēēń ĩńĩţĩàĺĩźēď.##--!!]","e":"[!!--##Ďŷńàmĩć Ďàţà Śōũŕćē ĥàś ńōţ ƀēēń ĩńĩţĩàĺĩźēď.##--!!]","a":"[!!--##\\u0022{0}\\u0022 ēvēńţ ĩś ńōţ àĺĺōŵēď ōń ţĥē śōũŕćē \\u0022{1}\\u0022##--!!]"}')},mwqp:function(e,t,n){"use strict";n.r(t),n.d(t,"BaseComponent",function(){return i}),n.d(t,"BaseComponentContext",function(){return _}),n.d(t,"DynamicDataProvider",function(){return u}),n.d(t,"DynamicDataSourceManager",function(){return m}),n.d(t,"DynamicProperty",function(){return h}),n.d(t,"_LegacyThirdPartyFabricCoreLoader",function(){return b}),n.d(t,"_PropertyMetadataProcessor",function(){return g}),n.d(t,"ServerProcessedDataType",function(){return a}),n.d(t,"ThemeChangedEventArgs",function(){return v}),n.d(t,"ThemeProvider",function(){return y}),n.d(t,"_ShimmerFactory",function(){return S}),n.d(t,"_ensureIsolatedDomainUrl",function(){return I}),n.d(t,"_WebPartLoadDataCollector",function(){return E}),n.d(t,"_CacheMissReason",function(){return C});var a,i=function(){function e(){this._isWebPartAndContainsDynamicDataSource=!1,this._isDisposed=!1}return Object.defineProperty(e.prototype,"_dynamicDataSourceId",{get:function(){return"".concat(this.manifest.componentType,".").concat(this.manifest.id,".").concat(this.instanceId)},enumerable:!1,configurable:!0}),e.prototype.dispose=function(){this._isDisposed||(this.onDispose(),this.context.dispose(),delete this.context,this._isDisposed=!0)},Object.defineProperty(e.prototype,"_containsDynamicDataSource",{get:function(){return this._isWebPartAndContainsDynamicDataSource},set:function(e){this._isWebPartAndContainsDynamicDataSource="WebPart"===this.manifest.componentType&&e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"manifest",{get:function(){return this.context.manifest},enumerable:!1,configurable:!0}),e.prototype.onDispose=function(){},Object.defineProperty(e.prototype,"instanceId",{get:function(){return this.context.instanceId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"componentId",{get:function(){return this.context.manifest.id},enumerable:!1,configurable:!0}),e.prototype._initializeContext=function(e){this.context=e,this.onProvideServices(e.serviceScope),e.serviceScope._isFinished||e.serviceScope.finish(),this.context._initializeDynamicData(this,e.serviceScope)},e.prototype.onProvideServices=function(e){},e}(),r=n("UWqr"),o=n("ut3N"),s=n("X+PM"),c=n("vlQI"),d=n("84nK"),l=n("Pk8u"),u=function(){function e(){this._isDisposed=!1,this._isInitialized=!1,this._isSourcesChangedEventListenerAdded=!1}return e.prototype._initialize=function(e,t){r.Validate.isNotNullOrUndefined(e,"component"),r.Validate.isNotNullOrUndefined(t,"serviceScope"),this._component=e,this._pendingRegistrations=new Map,this._dynamicDataManager=t.consume(d._DynamicDataUtilities.IDynamicDataManagerServiceKey),this._isInitialized=!0,this._onSourcesChanged=this._onSourcesChanged.bind(this)},e.prototype.dispose=function(){this._isDisposed||(delete this._pendingRegistrations,this._dynamicDataManager.sourcesChangedEvent.remove(this._component,this._onSourcesChanged),delete this._dynamicDataManager,delete this._component,this._isInitialized=!1,this._isDisposed=!0)},Object.defineProperty(e.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"_isProviderInitialized",{get:function(){return this._isInitialized},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"_dynamicDataSourceId",{get:function(){return this._component._dynamicDataSourceId},enumerable:!1,configurable:!0}),e.prototype.registerSourceChanged=function(e,t){this._assertNotDisposed(),this._assertInitialized(),r.Validate.isNonemptyString(e,"sourceId"),r.Validate.isNotNullOrUndefined(t,"callback"),-1!==this.getAvailableSources().map(function(e){return e.id}).indexOf(e)?(this._dynamicDataManager.registerSourceChanged(e,this._component,t),this._logFeatureEntry("RegisterSourceChanged",{sourceId:e})):this._addPendingRegistration({id:e,callback:t})},e.prototype.unregisterSourceChanged=function(e,t){this._assertNotDisposed(),this._assertInitialized(),r.Validate.isNonemptyString(e,"sourceId"),r.Validate.isNotNullOrUndefined(t,"callback");var n={id:e,callback:t};this._isRegistrationPending(n)?this._removePendingRegistration(n):(this._dynamicDataManager.unregisterSourceChanged(e,this._component,t),this._logFeatureEntry("UnregisterSourceChanged",{sourceId:e}))},e.prototype.registerPropertyChanged=function(e,t,n){this._assertNotDisposed(),this._assertInitialized(),r.Validate.isNonemptyString(e,"sourceId"),r.Validate.isNonemptyString(t,"propertyId"),r.Validate.isNotNullOrUndefined(n,"callback"),-1!==this.getAvailableSources().map(function(e){return e.id}).indexOf(e)?(this._dynamicDataManager.registerPropertyChanged(e,t,this._component,n),this._logFeatureEntry("RegisterPropertyChanged",{sourceId:e,propertyId:t})):this._addPendingRegistration({id:e,propertyId:t,callback:n})},e.prototype.unregisterPropertyChanged=function(e,t,n){this._assertNotDisposed(),this._assertInitialized(),r.Validate.isNonemptyString(e,"sourceId"),r.Validate.isNonemptyString(t,"propertyId"),r.Validate.isNotNullOrUndefined(n,"callback");var a={id:e,callback:n,propertyId:t};this._isRegistrationPending(a)?this._removePendingRegistration(a):(this._dynamicDataManager.unregisterPropertyChanged(e,t,this._component,n),this._logFeatureEntry("UnregisterPropertyChanged",{sourceId:e,propertyId:t}))},e.prototype.registerAvailableSourcesChanged=function(e){r.Validate.isNotNullOrUndefined(e,"callback"),this._assertNotDisposed(),this._assertInitialized(),this._dynamicDataManager.sourcesChangedEvent.add(this._component,e)},e.prototype.unregisterAvailableSourcesChanged=function(e){r.Validate.isNotNullOrUndefined(e,"callback"),this._assertNotDisposed(),this._assertInitialized(),this._dynamicDataManager.sourcesChangedEvent.remove(this._component,e)},e.prototype.getAvailableSources=function(){return this._assertNotDisposed(),this._assertInitialized(),this._dynamicDataManager.getSources()},e.prototype.getAvailableSourcesByComponentId=function(e){this._assertNotDisposed(),this._assertInitialized();var t=[];return this._dynamicDataManager.getSources().forEach(function(n){e.equals(r.Guid.tryParse(n.metadata.componentId)||r.Guid.empty)&&t.push(n)}),t},e.prototype.tryGetSource=function(e){return this._assertNotDisposed(),this._assertInitialized(),r.Validate.isNotNullOrUndefined(e,"id"),this._dynamicDataManager.tryGetSource(e)},e.prototype._getData=function(t){this._assertNotDisposed(),this._assertInitialized(),r.Validate.isNotNullOrUndefined(t,"dataReference");var n=this._dynamicDataManager.tryGetSource(t.sourceId);if(n){var a=n.getPropertyValue(t.property);return a&&t.propertyPath&&t.propertyPath.split(".").forEach(function(t){var n=t.split(e._jsonPathArrayRegex),i=n[0];if(a)if(Array.isArray(a)){var r=[];a.forEach(function(e){e.hasOwnProperty(i)&&r.push(e[i])});var o=n[1];if(n.length>1){var s=[];r.forEach(function(e){e.forEach(function(e){return s.push(e)})}),r=s}a=isNaN(parseInt(o,10))?r:r[o]}else a=a.hasOwnProperty(i)?a[i]:void 0}),a}},e.prototype._onSourcesChanged=function(){var e=this,t=this.getAvailableSources().map(function(e){return e.id});this._pendingRegistrations.forEach(function(n){-1!==t.indexOf(n.id)&&(n.propertyId?(e._dynamicDataManager.registerPropertyChanged(n.id,n.propertyId,e._component,n.callback),e._logFeatureEntry("RegisterPropertyChanged",{sourceId:n.id,propertyId:n.propertyId})):(e._dynamicDataManager.registerSourceChanged(n.id,e._component,n.callback),e._logFeatureEntry("RegisterSourceChanged",{sourceId:n.id})),e._removePendingRegistration(n))})},e.prototype._assertNotDisposed=function(){if(this.isDisposed)throw new Error("Dynamic Data Provider has been disposed")},e.prototype._assertInitialized=function(){if(!this._isInitialized)throw new Error("Dynamic Data Provider has not been initialized.")},e.prototype._addPendingRegistration=function(e){this._isRegistrationPending(e)||this._pendingRegistrations.set(e.id+(e.propertyId||""),{id:e.id,propertyId:e.propertyId,callback:e.callback}),this._isSourcesChangedEventListenerAdded||(this._dynamicDataManager.sourcesChangedEvent.add(this._component,this._onSourcesChanged),this._isSourcesChangedEventListenerAdded=!0)},e.prototype._removePendingRegistration=function(e){this._pendingRegistrations.delete(e.id+(e.propertyId||"")),0===this._pendingRegistrations.size&&(this._dynamicDataManager.sourcesChangedEvent.remove(this._component,this._onSourcesChanged),this._isSourcesChangedEventListenerAdded=!1)},e.prototype._isRegistrationPending=function(e){return this._pendingRegistrations.has(e.id+(e.propertyId||""))},e.prototype._logFeatureEntry=function(e,t){var n=this._component.manifest.isInternal||!1,a={alias:this._component.manifest.alias,isInternal:n.toString()},i=new o._LogEntry("DynamicDataProvider",e,o._LogType.Event,l.merge(a,t));o._EngagementLogger.logEventWithLogEntry(i)},e._jsonPathArrayRegex=new RegExp(/\[|\]/),e}(),f=n("17wl"),p=n("mGD9"),m=function(){function e(){this._src=void 0,this._isDisposed=!1,this._isInitialized=!1,this._logSource=o._LogSource.create("DynamicDataSourceManager")}return e.prototype._initialize=function(e,t){r.Validate.isNotNullOrUndefined(e,"component"),r.Validate.isNotNullOrUndefined(t,"serviceScope"),this._component=e,this._dynamicDataManager=t.consume(d._DynamicDataUtilities.IDynamicDataManagerServiceKey),this._isInitialized=!0},e.prototype.dispose=function(){this._isDisposed||(this._src&&(this._dynamicDataManager.removeSource(this._src.id),delete this._src),delete this._dynamicDataManager,delete this._component,this._isInitialized=!1,this._isDisposed=!0)},Object.defineProperty(e.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"_source",{get:function(){return this._src},enumerable:!1,configurable:!0}),e.prototype.initializeSource=function(e){if(this._assertNotDisposed(),this._assertInitialized(),this._src)throw new Error(p.r);this._callableFunctions=e,this._src=this._buildSource(this._component),this._dynamicDataManager.addSource(this._src),r._SPKillSwitch.isActivated("bbd78e03-ff18-40ed-9a94-973fc659366c")||(this._component._containsDynamicDataSource=!0),this._logFeatureEntry("DynamicDataSourceInitialized",{sourceId:this._src.id})},e.prototype.notifySourceChanged=function(){this._assertNotDisposed(),this._assertInitialized(),this._assertSourceExists(),this._dynamicDataManager.notifySourceChanged(this._src.id)},e.prototype.notifyPropertyChanged=function(e){r.Validate.isNonemptyString(e,"propertyId"),this._assertNotDisposed(),this._assertInitialized(),this._assertSourceExists(),this._dynamicDataManager.notifyPropertyChanged(this._src.id,e)},e.prototype.updateMetadata=function(e){this._assertNotDisposed(),this._assertInitialized(),this._assertSourceExists(),r.Validate.isNotNullOrUndefined(e,"metadata"),e.alias=void 0,e.componentId=void 0,e.instanceId=void 0,Object(l.merge)(this._src.metadata,e)},Object.defineProperty(e.prototype,"sourceId",{get:function(){return this._src?this._src.id:""},enumerable:!1,configurable:!0}),e.prototype._buildSource=function(e){if(this._callableFunctions.allowedEvents&&this._callableFunctions.allowedEvents.length>0&&!this._callableFunctions.sendEvent)throw new Error(p.i);return{id:this._component._dynamicDataSourceId,metadata:this._buildMetadata(e),getPropertyDefinitions:this._getPropertyDefinitions.bind(this),getPropertyValue:this._getPropertyValue.bind(this),getAnnotatedPropertyValue:this._getAnnotatedPropertyValue.bind(this),getPropertyDefinitionsAsync:this._getPropertyDefinitionsAsync.bind(this),getPropertyValueAsync:this._getPropertyValueAsync.bind(this),getAnnotatedPropertyValueAsync:this._getAnnotatedPropertyValueAsync.bind(this),allowedEventsAsync:this._allowedEventsAsync.bind(this),sendEvent:this._sendEvent.bind(this)}},e.prototype._allowedEvents=function(){return this._callableFunctions.allowedEvents?Object(l.cloneDeep)(this._callableFunctions.allowedEvents()):void 0},e.prototype._sendEvent=function(e,t){this._assertValidEvent(e),this._callableFunctions.sendEvent(e,t)},e.prototype._getPropertyDefinitions=function(){return Object(l.cloneDeep)(this._callableFunctions.getPropertyDefinitions())},e.prototype._getPropertyValue=function(e){r.Validate.isNotNullOrUndefined(e,"propertyId");var t=new o._QosMonitor("DynamicDataSourceManager._getPropertyValue"),n=e.split(u._jsonPathArrayRegex);try{var a=this._callableFunctions.getPropertyValue(n.shift());if(n.length>0&&!isNaN(parseInt(n[0],10))&&Array.isArray(a)&&(a=a[n[0]]),void 0===a&&0===this._callableFunctions.getPropertyDefinitions().filter(function(t){return t.id===e}).length&&this._src)throw new Error('Property "'.concat(e,'" doesn\'t exist in source "').concat(this._src.metadata.title,'"'));return r._SPKillSwitch.isActivated("2573696e-7c93-4524-8535-6f6df2d846a8")?t.writeSuccess(Object(f.__assign)(Object(f.__assign)({},this._src&&this._src.metadata||{}),{sourceId:this._src&&this._src.id,propertyValue:a,propertyId:e})):t.writeSuccess(Object(f.__assign)(Object(f.__assign)({},this._src&&this._src.metadata||{}),{sourceId:this._src&&this._src.id,propertyId:e})),Object(l.cloneDeep)(a)}catch(n){return t.writeUnexpectedFailure("NoPropertyId",n,{propertyId:e}),void o._TraceLogger.logErrorData({source:this._logSource,error:n})}},e.prototype._getPropertyDefinitionsAsync=function(){return Promise.resolve(this._getPropertyDefinitions())},e.prototype._getPropertyValueAsync=function(e){return Promise.resolve(this._getPropertyValue(e))},e.prototype._allowedEventsAsync=function(){return Promise.resolve(this._allowedEvents())},e.prototype._getAnnotatedPropertyValue=function(e){r.Validate.isNotNullOrUndefined(e,"propertyId");var t,n=new o._QosMonitor("DynamicDataSourceManager._getAnnotatedPropertyValue");if(this._callableFunctions.getAnnotatedPropertyValue){var a=e.split(u._jsonPathArrayRegex);try{t=this._callableFunctions.getAnnotatedPropertyValue(a.shift()),a.length>0&&!isNaN(parseInt(a[0],10))&&Array.isArray(t)&&(t=t[a[0]]),n.writeSuccess(Object(f.__assign)(Object(f.__assign)({},this._src&&this._src.metadata||{}),{sourceId:this._src&&this._src.id,annotatedPropertyValue:t,propertyId:e}))}catch(e){n.writeExpectedFailure("NoAnnotatedPropertyValue",e,{annotatedPropertyValue:t}),o._TraceLogger.logErrorData({source:this._logSource,error:e}),t=void 0}}return t||(t={sampleValue:this._getPropertyValue(e),metadata:void 0}),t},e.prototype._getAnnotatedPropertyValueAsync=function(e){return Promise.resolve(this._getAnnotatedPropertyValue(e))},e.prototype._buildMetadata=function(e){var t={title:e.manifest.alias,alias:e.manifest.alias,componentId:e.componentId,instanceId:e.instanceId},n=e;return n.title&&(t.title=n.title),n.description&&(t.description=n.description),t},e.prototype._assertValidEvent=function(e){if(!this._allowedEvents()||-1===Object(l.findIndex)(this._allowedEvents(),{name:e}))throw new Error(r.Text.format(p.a,e,this._src.metadata.title))},e.prototype._assertNotDisposed=function(){if(this.isDisposed)throw new Error(p.t)},e.prototype._assertInitialized=function(){if(!this._isInitialized)throw new Error(p.n)},e.prototype._assertSourceExists=function(){if(!this._src)throw new Error(p.e)},e.prototype._logFeatureEntry=function(e,t){var n=this._component.manifest.isInternal||!1,a={alias:this._component.manifest.alias,isInternal:n.toString()},i=new o._LogEntry("DynamicDataSourceManager",e,o._LogType.Event,l.merge(a,t));o._EngagementLogger.logEventWithLogEntry(i)},e}(),_=function(){function e(e){var t=this;this._isDisposed=!1,this._isServedFromLocalhost=!1,r.Validate.isNotNullOrUndefined(e,"parameters"),r.Validate.isNotNullOrUndefined(e.manifest,"manifest"),this.manifest=e.manifest;var n=this.manifest.loaderConfig;n&&n.internalModuleBaseUrls&&n.internalModuleBaseUrls.length&&(this._isServedFromLocalhost=/^http(s)?\:\/\/(localhost|127.0.0.1)/gim.test(n.internalModuleBaseUrls[0])),r.Validate.isNotNullOrUndefined(e.parentServiceScope,"parentServiceScope"),this._serviceScope=e.parentServiceScope.startNewChild(),r.Validate.isNotNullOrUndefined(e.loggingTag,"loggingTag"),this.serviceScope.provide(o._logSourceServiceKey,o._LogSource.create(e.loggingTag)),r.Validate.isNonemptyString(e.instanceId,"instanceId"),this._instanceId=e.instanceId,this._httpClient=this.serviceScope.createDefaultAndProvide(c.HttpClient.serviceKey),this._spHttpClient=this.serviceScope.createDefaultAndProvide(c.SPHttpClient.serviceKey),this._msGraphClientFactory=this.serviceScope.createDefaultAndProvide(c.MSGraphClientFactory.serviceKey),this._aadClientFactory=this.serviceScope.createDefaultAndProvide(c.AadHttpClientFactory.serviceKey),this._aadTokenFactory=this.serviceScope.createDefaultAndProvide(c.AadTokenProviderFactory.serviceKey),this.serviceScope.provide(r._ClientManifestData.serviceKey,new r._ClientManifestData(this.serviceScope,this.manifest)),this.serviceScope.whenFinished(function(){t._pageContext=t.serviceScope.consume(s.PageContext.serviceKey)}),this._dynamicDataProvider=new u,this._dynamicDataSourceManager=new m}return Object.defineProperty(e.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!1,configurable:!0}),e.prototype.dispose=function(){this._isDisposed||(this._dynamicDataProvider&&this._dynamicDataProvider.dispose(),this._dynamicDataSourceManager&&this._dynamicDataSourceManager.dispose(),delete this._serviceScope,delete this._pageContext,delete this._dynamicDataProvider,delete this._dynamicDataSourceManager,this._isDisposed=!0)},Object.defineProperty(e.prototype,"serviceScope",{get:function(){return this._serviceScope},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"instanceId",{get:function(){return this._instanceId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"pageContext",{get:function(){return this._pageContext},enumerable:!1,configurable:!0}),e.prototype._initializeDynamicData=function(e,t){this._dynamicDataProvider._initialize(e,t),this._dynamicDataSourceManager._initialize(e,t)},Object.defineProperty(e.prototype,"dynamicDataProvider",{get:function(){return this._dynamicDataProvider},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dynamicDataSourceManager",{get:function(){return this._dynamicDataSourceManager},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"aadHttpClientFactory",{get:function(){return this._aadClientFactory},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"aadTokenProviderFactory",{get:function(){return this._aadTokenFactory},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"msGraphClientFactory",{get:function(){return this._msGraphClientFactory},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"httpClient",{get:function(){return this._httpClient},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"spHttpClient",{get:function(){return this._spHttpClient},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isServedFromLocalhost",{get:function(){return this._isServedFromLocalhost},enumerable:!1,configurable:!0}),e}(),h=function(){function e(t,n){this._hasValue=!1,this._isDisposed=!1,r.Validate.isNotNullOrUndefined(t,"provider"),this.__type=e._TYPE_NAME,this._provider=t,this._callbacks=new Set,this._pendingCallbacks=new Set,n?(this._pendingCallbacks.add(n),this._defaultCallback=n):this._defaultCallback=void 0,this._onSourcesChanged=this._onSourcesChangedCallback.bind(this),this._cloneDeep=this._cloneDeep.bind(this),this._provider.registerAvailableSourcesChanged(this._onSourcesChanged)}return e.prototype.setReference=function(e){var t=this;r.Validate.isNonemptyString(e,"id"),this._value=void 0,this._hasValue=!1;var n=new Set;this._callbacks.forEach(function(e){return n.add(e)}),this._callbacks.forEach(function(e){return t.unregister(e)}),this._reference=new d.DynamicDataReference(e),this._sourceId=this._getSourceId(),n.forEach(function(e){return t.register(e)}),this._onSourcesChangedCallback()},e.prototype.setValue=function(e){var t=this,n=this._callbacks;n.forEach(function(e){return t.unregister(e)}),this._value=e,this._reference=void 0,this._sourceId=void 0,this._hasValue=!0,n.forEach(function(e){return t.register(e)})},Object.defineProperty(e.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!1,configurable:!0}),e.prototype.dispose=function(){var e=this;this._isDisposed||(this._provider.unregisterAvailableSourcesChanged(this._onSourcesChanged),this._defaultCallback&&(this.unregister(this._defaultCallback),delete this._defaultCallback),this._callbacks.forEach(function(t){return e.unregister(t)}),delete this._callbacks,delete this._onSourcesChanged,delete this._pendingCallbacks,delete this._provider,delete this._reference,delete this._sourceId,this._isDisposed=!0)},e.prototype.toJSON=function(){return this._hasValue?{__type:e._TYPE_NAME,value:this._value}:{__type:e._TYPE_NAME,reference:this._reference}},Object.defineProperty(e.prototype,"reference",{get:function(){return this._hasValue?void 0:this._reference.reference},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},enumerable:!1,configurable:!0}),e.prototype.tryGetValue=function(){if(!this.isDisposed||r._SPKillSwitch.isActivated("413769dc-5e0c-4609-9c86-bdf099fe84e3")){r.Validate.isNotDisposed(this,"DynamicData");var e=this._getData();return Array.isArray(e)&&(e=e[0]),e}},e.prototype.tryGetValues=function(){var e=this._getData();return e?Array.isArray(e)||(e=[e]):e=[],e},e.prototype.tryGetSource=function(){if(!this.isDisposed||r._SPKillSwitch.isActivated("413769dc-5e0c-4609-9c86-bdf099fe84e3"))return r.Validate.isNotDisposed(this,"DynamicData"),this._hasValue?void 0:this._provider.tryGetSource(this._sourceId)},e.prototype.register=function(e){r.Validate.isNotDisposed(this,"DynamicData"),!this._hasValue&&this._sourceId&&this._provider.tryGetSource(this._sourceId)?(this._provider.registerPropertyChanged(this._sourceId,this._getPropertyToRegister(),e),this._callbacks.add(e)):this._pendingCallbacks.add(e)},e.prototype.unregister=function(e){r.Validate.isNotDisposed(this,"DynamicData"),!this._hasValue&&this._sourceId&&this._provider.tryGetSource(this._sourceId)&&this._provider.unregisterPropertyChanged(this._sourceId,this._getPropertyToRegister(),e),this._pendingCallbacks.delete(e),this._callbacks.delete(e)},e.prototype.hasDefaultCallback=function(){return!!this._defaultCallback},e.prototype.removeDefaultCallback=function(){this._defaultCallback&&(this.unregister(this._defaultCallback),this._defaultCallback=void 0)},e.prototype._getSourceId=function(){return r.Validate.isNotDisposed(this,"DynamicData"),this._hasValue?"":this._reference.sourceId},e.prototype._getProperty=function(){return r.Validate.isNotDisposed(this,"DynamicData"),this._hasValue?"":this._reference.property},e.prototype._getPropertyPath=function(){return r.Validate.isNotDisposed(this,"DynamicData"),this._hasValue?"":this._reference.propertyPath||""},e.prototype._cloneDeep=function(e){return l.cloneDeepWith(e,function(e){if(e instanceof u)return e})},e.prototype._getPropertyToRegister=function(){return r.Validate.isNotDisposed(this,"DynamicData"),this._getProperty().split(e._arrayRegex)[0]},e.prototype._onSourcesChangedCallback=function(){var e=this;if(!this._hasValue&&this._sourceId&&this._provider.tryGetSource(this._sourceId)){var t=this._pendingCallbacks;this._pendingCallbacks=new Set,t.forEach(function(t){e.register(t),t()})}},e.prototype._getData=function(){if(!this.isDisposed||r._SPKillSwitch.isActivated("413769dc-5e0c-4609-9c86-bdf099fe84e3")){var e;r.Validate.isNotDisposed(this,"DynamicData");try{e=this._hasValue?this._value:this._provider._getData(this._reference)}catch(e){throw o._EngagementLogger.logEventWithLogEntry(e),e}return o._EngagementLogger.logEventWithLogEntry(new o._LogEntry("DynamicData","getData",o._LogType.Event,{value:JSON.stringify(this.value)})),e}},e._TYPE_NAME="DynamicProperty",e._arrayRegex=new RegExp(/\[\*\]$/),e}(),b=function(){function e(){}return e.load=function(t){return t||e._isLoaded?Promise.resolve():n.e(0).then(n.bind(null,"TL+I")).then(function(){e._isLoaded=!0})},e.forceLoad=function(t){try{return e._shouldLoad(t)?n.e(0).then(n.bind(null,"TL+I")).then(function(){e._isLoaded=!0}):Promise.resolve()}catch(e){return Promise.reject(e)}},e.needLegacyFabricCss=function(e){if(e.isInternal)return!1;if(void 0===e.loadLegacyFabricCss){var t=r.Version._tryParseSPFxVersion(e);return!t||t.lessThan(r.Version.parse("1.8.2"))}return e.loadLegacyFabricCss},e._shouldLoad=function(t){return!e._isLoaded&&e.needLegacyFabricCss(t)},e._isLoaded=!1,e}(),g=function(){function e(){}return e.serializeServerProcessedData=function(e,t,n){var a=this;this._forEachPropertyWithMetaData(e,t,function(e,i,o){i.shouldNotPersist&&l.set(t,e,void 0);var s=e,c=l.get(t,e);if(n&&"string"==typeof c&&c){if(n.htmlStrings&&i.isHtmlString?n.htmlStrings[s]=c:n.searchablePlainTexts&&i.isSearchablePlainText?n.searchablePlainTexts[s]=c:n.links&&i.isLink?n.links[s]=c:n.imageSources&&i.isImageSource?n.imageSources[s]=c:i.isComponentDependency&&(n.componentDependencies||(n.componentDependencies={}),n.componentDependencies[s]=c),i.customMetadata){var d={};if(i&&i.customMetadata)for(var u=function(e,s){var c=s;void 0!==o&&-1!==c.indexOf("*")&&(c=c.replace("*",o.toString())),a._validateAndIteratePath(c,t,function(a,o){if(void 0===o&&i.customMetadata){var s=l.get(t,a);n&&void 0!==s&&(r._SPKillSwitch.isActivated("bf085c27-422d-4b62-a93a-43efa89e77ee")?d[a]=s:d[e]=s)}})},f=0,p=Object.entries(i.customMetadata);f<p.length;f++){var m=p[f];u(m[0],m[1])}n.customMetadata||(n.customMetadata={}),n.customMetadata[s]=d}l.set(t,e,void 0)}})},e.reInstateServerProcessedData=function(e,t,n,a){if(a&&this._forEachPropertyWithMetaData(e,t,function(e,n){"b7dd04e1-19ce-4b24-9132-b60a1c2b910d"!==a.id&&n.isHtmlString&&l.set(t,e,void 0)}),n)for(var i=0,r=[n.htmlStrings,n.searchablePlainTexts,n.imageSources,n.links,n.componentDependencies];i<r.length;i++){var o=r[i];if(o)for(var s=0,c=Object.entries(o);s<c.length;s++){var d=c[s],u=d[0],f=d[1];"string"==typeof f&&l.set(t,u,f)}}},e._forEachPropertyWithMetaData=function(e,t,n){if(e)for(var a=function(e,a){i._validateAndIteratePath(e,t,function(e,t){n(e,a,t)})},i=this,r=0,o=Object.entries(e);r<o.length;r++){var s=o[r];a(s[0],s[1])}},e._validateAndIteratePath=function(e,t,n){var a=(e.match(/\*/g)||[]).length;if(a>1)console.warn("Invalid property path: Multiple wildcards are not supported in property paths.\nEntry with path '".concat(e,"' got ignored in the properties metadata."));else if(1===a){var i=e.indexOf("[*]");if(i<-1)return void console.warn("Invalid property path: Wildcards are only supported inside brackets to select array\nindices as in 'foo[*].bar'. Entry with path '".concat(e,"' got ignored in the properties metadata."));var r=e.substr(0,i),o=l.get(t,r);if(!o)return void console.warn("Invalid property path: Could not find an array named '".concat(r,"' in the properties.\nEntry with path '").concat(e,"' got ignored in the properties metadata."));for(var s=0;s<o.length;s++)n(e.replace("*","".concat(s)),s)}else n(e)},e}();!function(e){e[e.htmlString=1]="htmlString",e[e.link=2]="link",e[e.imageSource=3]="imageSource",e[e.searchablePlainText=4]="searchablePlainText"}(a||(a={}));var v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(f.__extends)(t,e),t}(r.SPEventArgs),y=function(){function e(t,n){this._id=e._instanceCount++,this.themeChangedEvent=new r.SPEvent(this._themeChangedEventName),n&&(this._theme=Object.freeze(n))}return Object.defineProperty(e.prototype,"_themeChangedEventName",{get:function(){return e._themeChangedEventNameLiteral+this._id},enumerable:!1,configurable:!0}),e.prototype._clearTheme=function(){this._theme=void 0,this._raiseEvent()},e.prototype._setTheme=function(e){r.Validate.isNotNullOrUndefined(e,"theme"),this._theme=Object.freeze(e),this._raiseEvent()},e.prototype.tryGetTheme=function(){return this._theme},e.prototype._raiseEvent=function(){r._SPEventManager.instance.raiseEvent(this._themeChangedEventName,{theme:this._theme})},e.serviceKey=r.ServiceKey.create("sp-component-base.ThemeProvider",e),e._themeChangedEventNameLiteral="ThemeProvider.themeChangedEvent",e._instanceCount=0,e}();n("jOlS").loadStyles(".a_a_a3996340{background-color:transparent;height:100%;margin:5px;position:relative;width:100%}.b_a_a3996340{fill:#f4f4f4}",!0);var S=function(){function e(){}return e.createShimmer=function(t,n,a,i,r){void 0===r&&(r=void 0),t=t||100,n=n||100;var o=document.createElement("div");o.className="a_a_a3996340";var s=document.createElement("div"),c=.9*n/9,d=2*(c=Math.min(16,c)),l=c,u=l+d,f=u+d,p=f+d,m="b_a_a3996340";s.innerHTML="<svg width=".concat(t," height=").concat(n,' viewBox="0 0 ').concat(t," ").concat(n,'" version="1.1"\n xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n <title>').concat(i,"</title>\n <g id=").concat(a,'_Shimmer stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <rect x="0" y="0" width=').concat(t," height=").concat(n,"></rect>\n ").concat(e._shimmerRect(a+"_1",m,8,l,20,c),"\n ").concat(e._shimmerRect(a+"_2",m,8,u,40,c),"\n ").concat(e._shimmerRect(a+"_3",m,8,f,90,c),"\n ").concat(e._shimmerRect(a+"_4",m,8,p,80,c),"\n </g>\n </svg>"),void 0!==r&&(o.style.margin=r+""),o.appendChild(s);var _=document.createElement("div");return _.setAttribute("role","status"),_.setAttribute("aria-live","polite"),o.appendChild(_),o},e._shimmerRect=function(e,t,n,a,i,r){return"<rect id=".concat(e," class=").concat(t," x=").concat(n," y=").concat(a,' width="').concat(i,'%" height=').concat(r,'>\n <animate\n attributeName="opacity"\n dur="1s"\n values="0.2;0.5;0.9"\n repeatCount="indefinite"\n begin="0"/>\n </rect>')},e}(),D=new RegExp("^https://[^/]*/");function I(e,t){if(!e)return t;var n=!1;return"/"!==t.charAt(t.length-1)&&(t+="/",n=!0),t=t.replace(D,"https://".concat(e,"/")),n&&(t=t.substr(0,t.length-1)),t}var x,C,O=n("2q6Q");!function(e){e.True="true",e.False="false",e.NotAvailable="N/A"}(x||(x={})),function(e){e.CacheConfigMissmatch="CacheConfigMissmatch",e.LateFlush="LateFlush",e.CachedItemNotFound="CachedItemNotFound",e.CacheExpired="CacheExpired",e.NotSpecified="NotSpecified",e.NotApplicable="N/A"}(C||(C={}));var w="N/A",E=function(){function e(){}return e.collect=function(t,n,a){var i=function(e){return O._PerformanceLogger.readComponentBreakdown(n,e)||O._PerformanceLogger.readTempData("".concat(n,".").concat(e))},o=i("start"),s=i("modulesLoaded"),c=i("init"),d=i("end"),l=!!i("displaySpinner"),u=Boolean(a&&a.legacyPageContext&&a.legacyPageContext.isMultiGeoTenant),f=w,p=w,m=x.NotAvailable,_=C.NotApplicable;if(t.isInternal){var h=i("CacheHit"),b=i("CacheMiss"),g=i("prefetchedData");m=Boolean(h||b)?h?x.True:x.False:x.NotAvailable,_=e._getCacheMissReason(h,i);var v=O._PerformanceLogger.now(),y=O._PerformanceDataDimensions.Layout,S=O._PerformanceDataDimensions.DataProvider,D=O._PerformanceLogger.readFullEUPLBreakDown();Object.keys(D).forEach(function(e){e.indexOf(n)>-1&&(p===w&&e.indexOf(y)>-1?p=e.split(y)[1]:e.indexOf(S)>-1&&(f===w||D[e]<v)&&(f=e.split(S)[1],v=D[e]))}),f=g?"Prefetch":f}var I=O._PerformanceLogger.getWebpartFlightsAndExperiments(n),E=this._getSyncRenderTime(p,i),A={alias:t.alias,isMultiGeo:u,isInternal:t.isInternal,isSpinnyShown:l,manifestId:t.id,moduleLoadTime:Math.floor(s-o),initTime:Math.floor(c-s),renderTime:Math.floor(d-c),syncRenderTime:E,scenarioId:O._PerformanceLogger.getScenarioId(),isFullPage:O._PerformanceLogger.fullPageLoad,dataProvider:f,layout:p,mySiteCacheHit:m,cacheMissReason:_,flights:I,storeAppId:t.storeAppId,mpnId:t.mpnId,componentDeveloperName:t.componentDeveloperName};return A.teamsHosted=r._BrowserUtilities.isTeamsHosted(),A},e._getSyncRenderTime=function(e,t){var n=void 0;n=Math.floor(t("syncRender")-t("getDataComplete"));var a=t("postRenderComplete"),i=t("loadLayoutEnd"),r=t("syncLayoutRenderComplete");return i&&r&&(n=Math.floor(n+(r-i))),a&&(n=Math.floor(n+(a-t(O._PerformanceDataDimensions.Layout+e)))),n},e._getCacheMissReason=function(e,t){if(e)return C.NotApplicable;var n=!!t("CacheMissConfigMismatch"),a=!!t("LateFlush"),i=!!t("CachedWebPartNotFound"),r=!!t("CacheExpired"),o=C.NotSpecified;return n?o=C.CacheConfigMissmatch:a?o=C.LateFlush:i?o=C.CachedItemNotFound:r&&(o=C.CacheExpired),o},e}()},ut3N:function(e,t){e.exports=d},vlQI:function(e,t){e.exports=l}})});
@@ -0,0 +1 @@
1
+ define("467dc675-7cc5-4709-8aac-78e3b71bd2f6_1.18.0",["tslib","@ms/sp-telemetry","@microsoft/sp-dynamic-data","@microsoft/sp-lodash-subset","@microsoft/sp-core-library","@microsoft/sp-page-context","@microsoft/load-themed-styles","@microsoft/sp-diagnostics","@microsoft/sp-http"],function(n,a,i,r,o,s,c,d,l){return function(e){function t(t){for(var n,i,r=t[0],o=t[1],s=0,d=[];s<r.length;s++)i=r[s],Object.prototype.hasOwnProperty.call(a,i)&&a[i]&&d.push(a[i][0]),a[i]=0;for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n]);for(c&&c(t);d.length;)d.shift()()}var n={},a={1:0};function i(t){if(n[t])return n[t].exports;var a=n[t]={i:t,l:!1,exports:{}};return e[t].call(a.exports,a,a.exports,i),a.l=!0,a.exports}i.e=function(e){var t=[],n=a[e];if(0!==n)if(n)t.push(n[2]);else{var r=new Promise(function(t,i){n=a[e]=[t,i]});t.push(n[2]=r);var o,s=document.createElement("script");s.charset="utf-8",s.timeout=120,i.nc&&s.setAttribute("nonce",i.nc),s.src=function(e){return i.p+"chunk."+({0:"legacy-third-party-fabric-core-localfont"}[e]||e)+"_"+"none"+"_"+{0:"25f8b4362ff682e627eb"}[e]+".js"}(e),0!==s.src.indexOf(window.location.origin+"/")&&(s.crossOrigin="anonymous");var c=new Error;o=function(t){s.onerror=s.onload=null,clearTimeout(d);var n=a[e];if(0!==n){if(n){var i=t&&("load"===t.type?"missing":t.type),r=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+i+": "+r+")",c.name="ChunkLoadError",c.type=i,c.request=r,n[1](c)}a[e]=void 0}};var d=setTimeout(function(){o({type:"timeout",target:s})},12e4);s.onerror=s.onload=o,document.head.appendChild(s)}return Promise.all(t)},i.m=e,i.c=n,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)i.d(n,a,function(t){return e[t]}.bind(null,a));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i.oe=function(e){throw console.error(e),e};var r=window.webpackJsonp_467dc675_7cc5_4709_8aac_78e3b71bd2f6_1_18_0=window.webpackJsonp_467dc675_7cc5_4709_8aac_78e3b71bd2f6_1_18_0||[],o=r.push.bind(r);r.push=t,r=r.slice();for(var s=0;s<r.length;s++)t(r[s]);var c=o;return function(){var e,t=document.getElementsByTagName("script"),n="undefined"!=typeof spScriptNamePattern?spScriptNamePattern:/sp\-component\-base_qps-ploca_1f265e5284a882fbe34f\.js/i;if(t&&t.length)for(var a=0;a<t.length;a++)if(t[a]){var r=t[a].getAttribute("src");if(r&&r.match(n)){e=r.substring(0,r.lastIndexOf("/")+1);break}}if(!e)for(var o in window.__setWebpackPublicPathLoaderSrcRegistry__)if(o&&o.match(n)){e=o.substring(0,o.lastIndexOf("/")+1);break}i.p=e}(),i(i.s="mwqp")}({"17wl":function(e,t){e.exports=n},"2q6Q":function(e,t){e.exports=a},"84nK":function(e,t){e.exports=i},Pk8u:function(e,t){e.exports=r},UWqr:function(e,t){e.exports=o},"X+PM":function(e,t){e.exports=s},jOlS:function(e,t){e.exports=c},mGD9:function(e){e.exports=JSON.parse('{"r":"Śōũŕćē ĥàś àĺŕēàďŷ ƀēēń ĩńĩţĩàĺĩźēď.","i":"\\u0022śēńďĒvēńţ()\\u0022 mũśţ ƀē ďēƒĩńēď, ŵĥēń ţĥē \\u0022àĺĺōŵēďĒvēńţś()\\u0022 ŕēţũŕńś à ńōń-ēmƥţŷ vàĺũē.","t":"Ďŷńàmĩć Ďàţà Śōũŕćē Màńàĝēŕ ĥàś ƀēēń ďĩśƥōśēď.","n":"Ďŷńàmĩć Ďàţà Śōũŕćē Màńàĝēŕ ĥàś ńōţ ƀēēń ĩńĩţĩàĺĩźēď.","e":"Ďŷńàmĩć Ďàţà Śōũŕćē ĥàś ńōţ ƀēēń ĩńĩţĩàĺĩźēď.","a":"\\u0022{0}\\u0022 ēvēńţ ĩś ńōţ àĺĺōŵēď ōń ţĥē śōũŕćē \\u0022{1}\\u0022"}')},mwqp:function(e,t,n){"use strict";n.r(t),n.d(t,"BaseComponent",function(){return i}),n.d(t,"BaseComponentContext",function(){return _}),n.d(t,"DynamicDataProvider",function(){return u}),n.d(t,"DynamicDataSourceManager",function(){return m}),n.d(t,"DynamicProperty",function(){return h}),n.d(t,"_LegacyThirdPartyFabricCoreLoader",function(){return b}),n.d(t,"_PropertyMetadataProcessor",function(){return g}),n.d(t,"ServerProcessedDataType",function(){return a}),n.d(t,"ThemeChangedEventArgs",function(){return v}),n.d(t,"ThemeProvider",function(){return y}),n.d(t,"_ShimmerFactory",function(){return S}),n.d(t,"_ensureIsolatedDomainUrl",function(){return I}),n.d(t,"_WebPartLoadDataCollector",function(){return E}),n.d(t,"_CacheMissReason",function(){return C});var a,i=function(){function e(){this._isWebPartAndContainsDynamicDataSource=!1,this._isDisposed=!1}return Object.defineProperty(e.prototype,"_dynamicDataSourceId",{get:function(){return"".concat(this.manifest.componentType,".").concat(this.manifest.id,".").concat(this.instanceId)},enumerable:!1,configurable:!0}),e.prototype.dispose=function(){this._isDisposed||(this.onDispose(),this.context.dispose(),delete this.context,this._isDisposed=!0)},Object.defineProperty(e.prototype,"_containsDynamicDataSource",{get:function(){return this._isWebPartAndContainsDynamicDataSource},set:function(e){this._isWebPartAndContainsDynamicDataSource="WebPart"===this.manifest.componentType&&e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"manifest",{get:function(){return this.context.manifest},enumerable:!1,configurable:!0}),e.prototype.onDispose=function(){},Object.defineProperty(e.prototype,"instanceId",{get:function(){return this.context.instanceId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"componentId",{get:function(){return this.context.manifest.id},enumerable:!1,configurable:!0}),e.prototype._initializeContext=function(e){this.context=e,this.onProvideServices(e.serviceScope),e.serviceScope._isFinished||e.serviceScope.finish(),this.context._initializeDynamicData(this,e.serviceScope)},e.prototype.onProvideServices=function(e){},e}(),r=n("UWqr"),o=n("ut3N"),s=n("X+PM"),c=n("vlQI"),d=n("84nK"),l=n("Pk8u"),u=function(){function e(){this._isDisposed=!1,this._isInitialized=!1,this._isSourcesChangedEventListenerAdded=!1}return e.prototype._initialize=function(e,t){r.Validate.isNotNullOrUndefined(e,"component"),r.Validate.isNotNullOrUndefined(t,"serviceScope"),this._component=e,this._pendingRegistrations=new Map,this._dynamicDataManager=t.consume(d._DynamicDataUtilities.IDynamicDataManagerServiceKey),this._isInitialized=!0,this._onSourcesChanged=this._onSourcesChanged.bind(this)},e.prototype.dispose=function(){this._isDisposed||(delete this._pendingRegistrations,this._dynamicDataManager.sourcesChangedEvent.remove(this._component,this._onSourcesChanged),delete this._dynamicDataManager,delete this._component,this._isInitialized=!1,this._isDisposed=!0)},Object.defineProperty(e.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"_isProviderInitialized",{get:function(){return this._isInitialized},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"_dynamicDataSourceId",{get:function(){return this._component._dynamicDataSourceId},enumerable:!1,configurable:!0}),e.prototype.registerSourceChanged=function(e,t){this._assertNotDisposed(),this._assertInitialized(),r.Validate.isNonemptyString(e,"sourceId"),r.Validate.isNotNullOrUndefined(t,"callback"),-1!==this.getAvailableSources().map(function(e){return e.id}).indexOf(e)?(this._dynamicDataManager.registerSourceChanged(e,this._component,t),this._logFeatureEntry("RegisterSourceChanged",{sourceId:e})):this._addPendingRegistration({id:e,callback:t})},e.prototype.unregisterSourceChanged=function(e,t){this._assertNotDisposed(),this._assertInitialized(),r.Validate.isNonemptyString(e,"sourceId"),r.Validate.isNotNullOrUndefined(t,"callback");var n={id:e,callback:t};this._isRegistrationPending(n)?this._removePendingRegistration(n):(this._dynamicDataManager.unregisterSourceChanged(e,this._component,t),this._logFeatureEntry("UnregisterSourceChanged",{sourceId:e}))},e.prototype.registerPropertyChanged=function(e,t,n){this._assertNotDisposed(),this._assertInitialized(),r.Validate.isNonemptyString(e,"sourceId"),r.Validate.isNonemptyString(t,"propertyId"),r.Validate.isNotNullOrUndefined(n,"callback"),-1!==this.getAvailableSources().map(function(e){return e.id}).indexOf(e)?(this._dynamicDataManager.registerPropertyChanged(e,t,this._component,n),this._logFeatureEntry("RegisterPropertyChanged",{sourceId:e,propertyId:t})):this._addPendingRegistration({id:e,propertyId:t,callback:n})},e.prototype.unregisterPropertyChanged=function(e,t,n){this._assertNotDisposed(),this._assertInitialized(),r.Validate.isNonemptyString(e,"sourceId"),r.Validate.isNonemptyString(t,"propertyId"),r.Validate.isNotNullOrUndefined(n,"callback");var a={id:e,callback:n,propertyId:t};this._isRegistrationPending(a)?this._removePendingRegistration(a):(this._dynamicDataManager.unregisterPropertyChanged(e,t,this._component,n),this._logFeatureEntry("UnregisterPropertyChanged",{sourceId:e,propertyId:t}))},e.prototype.registerAvailableSourcesChanged=function(e){r.Validate.isNotNullOrUndefined(e,"callback"),this._assertNotDisposed(),this._assertInitialized(),this._dynamicDataManager.sourcesChangedEvent.add(this._component,e)},e.prototype.unregisterAvailableSourcesChanged=function(e){r.Validate.isNotNullOrUndefined(e,"callback"),this._assertNotDisposed(),this._assertInitialized(),this._dynamicDataManager.sourcesChangedEvent.remove(this._component,e)},e.prototype.getAvailableSources=function(){return this._assertNotDisposed(),this._assertInitialized(),this._dynamicDataManager.getSources()},e.prototype.getAvailableSourcesByComponentId=function(e){this._assertNotDisposed(),this._assertInitialized();var t=[];return this._dynamicDataManager.getSources().forEach(function(n){e.equals(r.Guid.tryParse(n.metadata.componentId)||r.Guid.empty)&&t.push(n)}),t},e.prototype.tryGetSource=function(e){return this._assertNotDisposed(),this._assertInitialized(),r.Validate.isNotNullOrUndefined(e,"id"),this._dynamicDataManager.tryGetSource(e)},e.prototype._getData=function(t){this._assertNotDisposed(),this._assertInitialized(),r.Validate.isNotNullOrUndefined(t,"dataReference");var n=this._dynamicDataManager.tryGetSource(t.sourceId);if(n){var a=n.getPropertyValue(t.property);return a&&t.propertyPath&&t.propertyPath.split(".").forEach(function(t){var n=t.split(e._jsonPathArrayRegex),i=n[0];if(a)if(Array.isArray(a)){var r=[];a.forEach(function(e){e.hasOwnProperty(i)&&r.push(e[i])});var o=n[1];if(n.length>1){var s=[];r.forEach(function(e){e.forEach(function(e){return s.push(e)})}),r=s}a=isNaN(parseInt(o,10))?r:r[o]}else a=a.hasOwnProperty(i)?a[i]:void 0}),a}},e.prototype._onSourcesChanged=function(){var e=this,t=this.getAvailableSources().map(function(e){return e.id});this._pendingRegistrations.forEach(function(n){-1!==t.indexOf(n.id)&&(n.propertyId?(e._dynamicDataManager.registerPropertyChanged(n.id,n.propertyId,e._component,n.callback),e._logFeatureEntry("RegisterPropertyChanged",{sourceId:n.id,propertyId:n.propertyId})):(e._dynamicDataManager.registerSourceChanged(n.id,e._component,n.callback),e._logFeatureEntry("RegisterSourceChanged",{sourceId:n.id})),e._removePendingRegistration(n))})},e.prototype._assertNotDisposed=function(){if(this.isDisposed)throw new Error("Dynamic Data Provider has been disposed")},e.prototype._assertInitialized=function(){if(!this._isInitialized)throw new Error("Dynamic Data Provider has not been initialized.")},e.prototype._addPendingRegistration=function(e){this._isRegistrationPending(e)||this._pendingRegistrations.set(e.id+(e.propertyId||""),{id:e.id,propertyId:e.propertyId,callback:e.callback}),this._isSourcesChangedEventListenerAdded||(this._dynamicDataManager.sourcesChangedEvent.add(this._component,this._onSourcesChanged),this._isSourcesChangedEventListenerAdded=!0)},e.prototype._removePendingRegistration=function(e){this._pendingRegistrations.delete(e.id+(e.propertyId||"")),0===this._pendingRegistrations.size&&(this._dynamicDataManager.sourcesChangedEvent.remove(this._component,this._onSourcesChanged),this._isSourcesChangedEventListenerAdded=!1)},e.prototype._isRegistrationPending=function(e){return this._pendingRegistrations.has(e.id+(e.propertyId||""))},e.prototype._logFeatureEntry=function(e,t){var n=this._component.manifest.isInternal||!1,a={alias:this._component.manifest.alias,isInternal:n.toString()},i=new o._LogEntry("DynamicDataProvider",e,o._LogType.Event,l.merge(a,t));o._EngagementLogger.logEventWithLogEntry(i)},e._jsonPathArrayRegex=new RegExp(/\[|\]/),e}(),f=n("17wl"),p=n("mGD9"),m=function(){function e(){this._src=void 0,this._isDisposed=!1,this._isInitialized=!1,this._logSource=o._LogSource.create("DynamicDataSourceManager")}return e.prototype._initialize=function(e,t){r.Validate.isNotNullOrUndefined(e,"component"),r.Validate.isNotNullOrUndefined(t,"serviceScope"),this._component=e,this._dynamicDataManager=t.consume(d._DynamicDataUtilities.IDynamicDataManagerServiceKey),this._isInitialized=!0},e.prototype.dispose=function(){this._isDisposed||(this._src&&(this._dynamicDataManager.removeSource(this._src.id),delete this._src),delete this._dynamicDataManager,delete this._component,this._isInitialized=!1,this._isDisposed=!0)},Object.defineProperty(e.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"_source",{get:function(){return this._src},enumerable:!1,configurable:!0}),e.prototype.initializeSource=function(e){if(this._assertNotDisposed(),this._assertInitialized(),this._src)throw new Error(p.r);this._callableFunctions=e,this._src=this._buildSource(this._component),this._dynamicDataManager.addSource(this._src),r._SPKillSwitch.isActivated("bbd78e03-ff18-40ed-9a94-973fc659366c")||(this._component._containsDynamicDataSource=!0),this._logFeatureEntry("DynamicDataSourceInitialized",{sourceId:this._src.id})},e.prototype.notifySourceChanged=function(){this._assertNotDisposed(),this._assertInitialized(),this._assertSourceExists(),this._dynamicDataManager.notifySourceChanged(this._src.id)},e.prototype.notifyPropertyChanged=function(e){r.Validate.isNonemptyString(e,"propertyId"),this._assertNotDisposed(),this._assertInitialized(),this._assertSourceExists(),this._dynamicDataManager.notifyPropertyChanged(this._src.id,e)},e.prototype.updateMetadata=function(e){this._assertNotDisposed(),this._assertInitialized(),this._assertSourceExists(),r.Validate.isNotNullOrUndefined(e,"metadata"),e.alias=void 0,e.componentId=void 0,e.instanceId=void 0,Object(l.merge)(this._src.metadata,e)},Object.defineProperty(e.prototype,"sourceId",{get:function(){return this._src?this._src.id:""},enumerable:!1,configurable:!0}),e.prototype._buildSource=function(e){if(this._callableFunctions.allowedEvents&&this._callableFunctions.allowedEvents.length>0&&!this._callableFunctions.sendEvent)throw new Error(p.i);return{id:this._component._dynamicDataSourceId,metadata:this._buildMetadata(e),getPropertyDefinitions:this._getPropertyDefinitions.bind(this),getPropertyValue:this._getPropertyValue.bind(this),getAnnotatedPropertyValue:this._getAnnotatedPropertyValue.bind(this),getPropertyDefinitionsAsync:this._getPropertyDefinitionsAsync.bind(this),getPropertyValueAsync:this._getPropertyValueAsync.bind(this),getAnnotatedPropertyValueAsync:this._getAnnotatedPropertyValueAsync.bind(this),allowedEventsAsync:this._allowedEventsAsync.bind(this),sendEvent:this._sendEvent.bind(this)}},e.prototype._allowedEvents=function(){return this._callableFunctions.allowedEvents?Object(l.cloneDeep)(this._callableFunctions.allowedEvents()):void 0},e.prototype._sendEvent=function(e,t){this._assertValidEvent(e),this._callableFunctions.sendEvent(e,t)},e.prototype._getPropertyDefinitions=function(){return Object(l.cloneDeep)(this._callableFunctions.getPropertyDefinitions())},e.prototype._getPropertyValue=function(e){r.Validate.isNotNullOrUndefined(e,"propertyId");var t=new o._QosMonitor("DynamicDataSourceManager._getPropertyValue"),n=e.split(u._jsonPathArrayRegex);try{var a=this._callableFunctions.getPropertyValue(n.shift());if(n.length>0&&!isNaN(parseInt(n[0],10))&&Array.isArray(a)&&(a=a[n[0]]),void 0===a&&0===this._callableFunctions.getPropertyDefinitions().filter(function(t){return t.id===e}).length&&this._src)throw new Error('Property "'.concat(e,'" doesn\'t exist in source "').concat(this._src.metadata.title,'"'));return r._SPKillSwitch.isActivated("2573696e-7c93-4524-8535-6f6df2d846a8")?t.writeSuccess(Object(f.__assign)(Object(f.__assign)({},this._src&&this._src.metadata||{}),{sourceId:this._src&&this._src.id,propertyValue:a,propertyId:e})):t.writeSuccess(Object(f.__assign)(Object(f.__assign)({},this._src&&this._src.metadata||{}),{sourceId:this._src&&this._src.id,propertyId:e})),Object(l.cloneDeep)(a)}catch(n){return t.writeUnexpectedFailure("NoPropertyId",n,{propertyId:e}),void o._TraceLogger.logErrorData({source:this._logSource,error:n})}},e.prototype._getPropertyDefinitionsAsync=function(){return Promise.resolve(this._getPropertyDefinitions())},e.prototype._getPropertyValueAsync=function(e){return Promise.resolve(this._getPropertyValue(e))},e.prototype._allowedEventsAsync=function(){return Promise.resolve(this._allowedEvents())},e.prototype._getAnnotatedPropertyValue=function(e){r.Validate.isNotNullOrUndefined(e,"propertyId");var t,n=new o._QosMonitor("DynamicDataSourceManager._getAnnotatedPropertyValue");if(this._callableFunctions.getAnnotatedPropertyValue){var a=e.split(u._jsonPathArrayRegex);try{t=this._callableFunctions.getAnnotatedPropertyValue(a.shift()),a.length>0&&!isNaN(parseInt(a[0],10))&&Array.isArray(t)&&(t=t[a[0]]),n.writeSuccess(Object(f.__assign)(Object(f.__assign)({},this._src&&this._src.metadata||{}),{sourceId:this._src&&this._src.id,annotatedPropertyValue:t,propertyId:e}))}catch(e){n.writeExpectedFailure("NoAnnotatedPropertyValue",e,{annotatedPropertyValue:t}),o._TraceLogger.logErrorData({source:this._logSource,error:e}),t=void 0}}return t||(t={sampleValue:this._getPropertyValue(e),metadata:void 0}),t},e.prototype._getAnnotatedPropertyValueAsync=function(e){return Promise.resolve(this._getAnnotatedPropertyValue(e))},e.prototype._buildMetadata=function(e){var t={title:e.manifest.alias,alias:e.manifest.alias,componentId:e.componentId,instanceId:e.instanceId},n=e;return n.title&&(t.title=n.title),n.description&&(t.description=n.description),t},e.prototype._assertValidEvent=function(e){if(!this._allowedEvents()||-1===Object(l.findIndex)(this._allowedEvents(),{name:e}))throw new Error(r.Text.format(p.a,e,this._src.metadata.title))},e.prototype._assertNotDisposed=function(){if(this.isDisposed)throw new Error(p.t)},e.prototype._assertInitialized=function(){if(!this._isInitialized)throw new Error(p.n)},e.prototype._assertSourceExists=function(){if(!this._src)throw new Error(p.e)},e.prototype._logFeatureEntry=function(e,t){var n=this._component.manifest.isInternal||!1,a={alias:this._component.manifest.alias,isInternal:n.toString()},i=new o._LogEntry("DynamicDataSourceManager",e,o._LogType.Event,l.merge(a,t));o._EngagementLogger.logEventWithLogEntry(i)},e}(),_=function(){function e(e){var t=this;this._isDisposed=!1,this._isServedFromLocalhost=!1,r.Validate.isNotNullOrUndefined(e,"parameters"),r.Validate.isNotNullOrUndefined(e.manifest,"manifest"),this.manifest=e.manifest;var n=this.manifest.loaderConfig;n&&n.internalModuleBaseUrls&&n.internalModuleBaseUrls.length&&(this._isServedFromLocalhost=/^http(s)?\:\/\/(localhost|127.0.0.1)/gim.test(n.internalModuleBaseUrls[0])),r.Validate.isNotNullOrUndefined(e.parentServiceScope,"parentServiceScope"),this._serviceScope=e.parentServiceScope.startNewChild(),r.Validate.isNotNullOrUndefined(e.loggingTag,"loggingTag"),this.serviceScope.provide(o._logSourceServiceKey,o._LogSource.create(e.loggingTag)),r.Validate.isNonemptyString(e.instanceId,"instanceId"),this._instanceId=e.instanceId,this._httpClient=this.serviceScope.createDefaultAndProvide(c.HttpClient.serviceKey),this._spHttpClient=this.serviceScope.createDefaultAndProvide(c.SPHttpClient.serviceKey),this._msGraphClientFactory=this.serviceScope.createDefaultAndProvide(c.MSGraphClientFactory.serviceKey),this._aadClientFactory=this.serviceScope.createDefaultAndProvide(c.AadHttpClientFactory.serviceKey),this._aadTokenFactory=this.serviceScope.createDefaultAndProvide(c.AadTokenProviderFactory.serviceKey),this.serviceScope.provide(r._ClientManifestData.serviceKey,new r._ClientManifestData(this.serviceScope,this.manifest)),this.serviceScope.whenFinished(function(){t._pageContext=t.serviceScope.consume(s.PageContext.serviceKey)}),this._dynamicDataProvider=new u,this._dynamicDataSourceManager=new m}return Object.defineProperty(e.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!1,configurable:!0}),e.prototype.dispose=function(){this._isDisposed||(this._dynamicDataProvider&&this._dynamicDataProvider.dispose(),this._dynamicDataSourceManager&&this._dynamicDataSourceManager.dispose(),delete this._serviceScope,delete this._pageContext,delete this._dynamicDataProvider,delete this._dynamicDataSourceManager,this._isDisposed=!0)},Object.defineProperty(e.prototype,"serviceScope",{get:function(){return this._serviceScope},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"instanceId",{get:function(){return this._instanceId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"pageContext",{get:function(){return this._pageContext},enumerable:!1,configurable:!0}),e.prototype._initializeDynamicData=function(e,t){this._dynamicDataProvider._initialize(e,t),this._dynamicDataSourceManager._initialize(e,t)},Object.defineProperty(e.prototype,"dynamicDataProvider",{get:function(){return this._dynamicDataProvider},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dynamicDataSourceManager",{get:function(){return this._dynamicDataSourceManager},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"aadHttpClientFactory",{get:function(){return this._aadClientFactory},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"aadTokenProviderFactory",{get:function(){return this._aadTokenFactory},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"msGraphClientFactory",{get:function(){return this._msGraphClientFactory},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"httpClient",{get:function(){return this._httpClient},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"spHttpClient",{get:function(){return this._spHttpClient},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isServedFromLocalhost",{get:function(){return this._isServedFromLocalhost},enumerable:!1,configurable:!0}),e}(),h=function(){function e(t,n){this._hasValue=!1,this._isDisposed=!1,r.Validate.isNotNullOrUndefined(t,"provider"),this.__type=e._TYPE_NAME,this._provider=t,this._callbacks=new Set,this._pendingCallbacks=new Set,n?(this._pendingCallbacks.add(n),this._defaultCallback=n):this._defaultCallback=void 0,this._onSourcesChanged=this._onSourcesChangedCallback.bind(this),this._cloneDeep=this._cloneDeep.bind(this),this._provider.registerAvailableSourcesChanged(this._onSourcesChanged)}return e.prototype.setReference=function(e){var t=this;r.Validate.isNonemptyString(e,"id"),this._value=void 0,this._hasValue=!1;var n=new Set;this._callbacks.forEach(function(e){return n.add(e)}),this._callbacks.forEach(function(e){return t.unregister(e)}),this._reference=new d.DynamicDataReference(e),this._sourceId=this._getSourceId(),n.forEach(function(e){return t.register(e)}),this._onSourcesChangedCallback()},e.prototype.setValue=function(e){var t=this,n=this._callbacks;n.forEach(function(e){return t.unregister(e)}),this._value=e,this._reference=void 0,this._sourceId=void 0,this._hasValue=!0,n.forEach(function(e){return t.register(e)})},Object.defineProperty(e.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!1,configurable:!0}),e.prototype.dispose=function(){var e=this;this._isDisposed||(this._provider.unregisterAvailableSourcesChanged(this._onSourcesChanged),this._defaultCallback&&(this.unregister(this._defaultCallback),delete this._defaultCallback),this._callbacks.forEach(function(t){return e.unregister(t)}),delete this._callbacks,delete this._onSourcesChanged,delete this._pendingCallbacks,delete this._provider,delete this._reference,delete this._sourceId,this._isDisposed=!0)},e.prototype.toJSON=function(){return this._hasValue?{__type:e._TYPE_NAME,value:this._value}:{__type:e._TYPE_NAME,reference:this._reference}},Object.defineProperty(e.prototype,"reference",{get:function(){return this._hasValue?void 0:this._reference.reference},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},enumerable:!1,configurable:!0}),e.prototype.tryGetValue=function(){if(!this.isDisposed||r._SPKillSwitch.isActivated("413769dc-5e0c-4609-9c86-bdf099fe84e3")){r.Validate.isNotDisposed(this,"DynamicData");var e=this._getData();return Array.isArray(e)&&(e=e[0]),e}},e.prototype.tryGetValues=function(){var e=this._getData();return e?Array.isArray(e)||(e=[e]):e=[],e},e.prototype.tryGetSource=function(){if(!this.isDisposed||r._SPKillSwitch.isActivated("413769dc-5e0c-4609-9c86-bdf099fe84e3"))return r.Validate.isNotDisposed(this,"DynamicData"),this._hasValue?void 0:this._provider.tryGetSource(this._sourceId)},e.prototype.register=function(e){r.Validate.isNotDisposed(this,"DynamicData"),!this._hasValue&&this._sourceId&&this._provider.tryGetSource(this._sourceId)?(this._provider.registerPropertyChanged(this._sourceId,this._getPropertyToRegister(),e),this._callbacks.add(e)):this._pendingCallbacks.add(e)},e.prototype.unregister=function(e){r.Validate.isNotDisposed(this,"DynamicData"),!this._hasValue&&this._sourceId&&this._provider.tryGetSource(this._sourceId)&&this._provider.unregisterPropertyChanged(this._sourceId,this._getPropertyToRegister(),e),this._pendingCallbacks.delete(e),this._callbacks.delete(e)},e.prototype.hasDefaultCallback=function(){return!!this._defaultCallback},e.prototype.removeDefaultCallback=function(){this._defaultCallback&&(this.unregister(this._defaultCallback),this._defaultCallback=void 0)},e.prototype._getSourceId=function(){return r.Validate.isNotDisposed(this,"DynamicData"),this._hasValue?"":this._reference.sourceId},e.prototype._getProperty=function(){return r.Validate.isNotDisposed(this,"DynamicData"),this._hasValue?"":this._reference.property},e.prototype._getPropertyPath=function(){return r.Validate.isNotDisposed(this,"DynamicData"),this._hasValue?"":this._reference.propertyPath||""},e.prototype._cloneDeep=function(e){return l.cloneDeepWith(e,function(e){if(e instanceof u)return e})},e.prototype._getPropertyToRegister=function(){return r.Validate.isNotDisposed(this,"DynamicData"),this._getProperty().split(e._arrayRegex)[0]},e.prototype._onSourcesChangedCallback=function(){var e=this;if(!this._hasValue&&this._sourceId&&this._provider.tryGetSource(this._sourceId)){var t=this._pendingCallbacks;this._pendingCallbacks=new Set,t.forEach(function(t){e.register(t),t()})}},e.prototype._getData=function(){if(!this.isDisposed||r._SPKillSwitch.isActivated("413769dc-5e0c-4609-9c86-bdf099fe84e3")){var e;r.Validate.isNotDisposed(this,"DynamicData");try{e=this._hasValue?this._value:this._provider._getData(this._reference)}catch(e){throw o._EngagementLogger.logEventWithLogEntry(e),e}return o._EngagementLogger.logEventWithLogEntry(new o._LogEntry("DynamicData","getData",o._LogType.Event,{value:JSON.stringify(this.value)})),e}},e._TYPE_NAME="DynamicProperty",e._arrayRegex=new RegExp(/\[\*\]$/),e}(),b=function(){function e(){}return e.load=function(t){return t||e._isLoaded?Promise.resolve():n.e(0).then(n.bind(null,"TL+I")).then(function(){e._isLoaded=!0})},e.forceLoad=function(t){try{return e._shouldLoad(t)?n.e(0).then(n.bind(null,"TL+I")).then(function(){e._isLoaded=!0}):Promise.resolve()}catch(e){return Promise.reject(e)}},e.needLegacyFabricCss=function(e){if(e.isInternal)return!1;if(void 0===e.loadLegacyFabricCss){var t=r.Version._tryParseSPFxVersion(e);return!t||t.lessThan(r.Version.parse("1.8.2"))}return e.loadLegacyFabricCss},e._shouldLoad=function(t){return!e._isLoaded&&e.needLegacyFabricCss(t)},e._isLoaded=!1,e}(),g=function(){function e(){}return e.serializeServerProcessedData=function(e,t,n){var a=this;this._forEachPropertyWithMetaData(e,t,function(e,i,o){i.shouldNotPersist&&l.set(t,e,void 0);var s=e,c=l.get(t,e);if(n&&"string"==typeof c&&c){if(n.htmlStrings&&i.isHtmlString?n.htmlStrings[s]=c:n.searchablePlainTexts&&i.isSearchablePlainText?n.searchablePlainTexts[s]=c:n.links&&i.isLink?n.links[s]=c:n.imageSources&&i.isImageSource?n.imageSources[s]=c:i.isComponentDependency&&(n.componentDependencies||(n.componentDependencies={}),n.componentDependencies[s]=c),i.customMetadata){var d={};if(i&&i.customMetadata)for(var u=function(e,s){var c=s;void 0!==o&&-1!==c.indexOf("*")&&(c=c.replace("*",o.toString())),a._validateAndIteratePath(c,t,function(a,o){if(void 0===o&&i.customMetadata){var s=l.get(t,a);n&&void 0!==s&&(r._SPKillSwitch.isActivated("bf085c27-422d-4b62-a93a-43efa89e77ee")?d[a]=s:d[e]=s)}})},f=0,p=Object.entries(i.customMetadata);f<p.length;f++){var m=p[f];u(m[0],m[1])}n.customMetadata||(n.customMetadata={}),n.customMetadata[s]=d}l.set(t,e,void 0)}})},e.reInstateServerProcessedData=function(e,t,n,a){if(a&&this._forEachPropertyWithMetaData(e,t,function(e,n){"b7dd04e1-19ce-4b24-9132-b60a1c2b910d"!==a.id&&n.isHtmlString&&l.set(t,e,void 0)}),n)for(var i=0,r=[n.htmlStrings,n.searchablePlainTexts,n.imageSources,n.links,n.componentDependencies];i<r.length;i++){var o=r[i];if(o)for(var s=0,c=Object.entries(o);s<c.length;s++){var d=c[s],u=d[0],f=d[1];"string"==typeof f&&l.set(t,u,f)}}},e._forEachPropertyWithMetaData=function(e,t,n){if(e)for(var a=function(e,a){i._validateAndIteratePath(e,t,function(e,t){n(e,a,t)})},i=this,r=0,o=Object.entries(e);r<o.length;r++){var s=o[r];a(s[0],s[1])}},e._validateAndIteratePath=function(e,t,n){var a=(e.match(/\*/g)||[]).length;if(a>1)console.warn("Invalid property path: Multiple wildcards are not supported in property paths.\nEntry with path '".concat(e,"' got ignored in the properties metadata."));else if(1===a){var i=e.indexOf("[*]");if(i<-1)return void console.warn("Invalid property path: Wildcards are only supported inside brackets to select array\nindices as in 'foo[*].bar'. Entry with path '".concat(e,"' got ignored in the properties metadata."));var r=e.substr(0,i),o=l.get(t,r);if(!o)return void console.warn("Invalid property path: Could not find an array named '".concat(r,"' in the properties.\nEntry with path '").concat(e,"' got ignored in the properties metadata."));for(var s=0;s<o.length;s++)n(e.replace("*","".concat(s)),s)}else n(e)},e}();!function(e){e[e.htmlString=1]="htmlString",e[e.link=2]="link",e[e.imageSource=3]="imageSource",e[e.searchablePlainText=4]="searchablePlainText"}(a||(a={}));var v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(f.__extends)(t,e),t}(r.SPEventArgs),y=function(){function e(t,n){this._id=e._instanceCount++,this.themeChangedEvent=new r.SPEvent(this._themeChangedEventName),n&&(this._theme=Object.freeze(n))}return Object.defineProperty(e.prototype,"_themeChangedEventName",{get:function(){return e._themeChangedEventNameLiteral+this._id},enumerable:!1,configurable:!0}),e.prototype._clearTheme=function(){this._theme=void 0,this._raiseEvent()},e.prototype._setTheme=function(e){r.Validate.isNotNullOrUndefined(e,"theme"),this._theme=Object.freeze(e),this._raiseEvent()},e.prototype.tryGetTheme=function(){return this._theme},e.prototype._raiseEvent=function(){r._SPEventManager.instance.raiseEvent(this._themeChangedEventName,{theme:this._theme})},e.serviceKey=r.ServiceKey.create("sp-component-base.ThemeProvider",e),e._themeChangedEventNameLiteral="ThemeProvider.themeChangedEvent",e._instanceCount=0,e}();n("jOlS").loadStyles(".a_a_a3996340{background-color:transparent;height:100%;margin:5px;position:relative;width:100%}.b_a_a3996340{fill:#f4f4f4}",!0);var S=function(){function e(){}return e.createShimmer=function(t,n,a,i,r){void 0===r&&(r=void 0),t=t||100,n=n||100;var o=document.createElement("div");o.className="a_a_a3996340";var s=document.createElement("div"),c=.9*n/9,d=2*(c=Math.min(16,c)),l=c,u=l+d,f=u+d,p=f+d,m="b_a_a3996340";s.innerHTML="<svg width=".concat(t," height=").concat(n,' viewBox="0 0 ').concat(t," ").concat(n,'" version="1.1"\n xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n <title>').concat(i,"</title>\n <g id=").concat(a,'_Shimmer stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <rect x="0" y="0" width=').concat(t," height=").concat(n,"></rect>\n ").concat(e._shimmerRect(a+"_1",m,8,l,20,c),"\n ").concat(e._shimmerRect(a+"_2",m,8,u,40,c),"\n ").concat(e._shimmerRect(a+"_3",m,8,f,90,c),"\n ").concat(e._shimmerRect(a+"_4",m,8,p,80,c),"\n </g>\n </svg>"),void 0!==r&&(o.style.margin=r+""),o.appendChild(s);var _=document.createElement("div");return _.setAttribute("role","status"),_.setAttribute("aria-live","polite"),o.appendChild(_),o},e._shimmerRect=function(e,t,n,a,i,r){return"<rect id=".concat(e," class=").concat(t," x=").concat(n," y=").concat(a,' width="').concat(i,'%" height=').concat(r,'>\n <animate\n attributeName="opacity"\n dur="1s"\n values="0.2;0.5;0.9"\n repeatCount="indefinite"\n begin="0"/>\n </rect>')},e}(),D=new RegExp("^https://[^/]*/");function I(e,t){if(!e)return t;var n=!1;return"/"!==t.charAt(t.length-1)&&(t+="/",n=!0),t=t.replace(D,"https://".concat(e,"/")),n&&(t=t.substr(0,t.length-1)),t}var x,C,O=n("2q6Q");!function(e){e.True="true",e.False="false",e.NotAvailable="N/A"}(x||(x={})),function(e){e.CacheConfigMissmatch="CacheConfigMissmatch",e.LateFlush="LateFlush",e.CachedItemNotFound="CachedItemNotFound",e.CacheExpired="CacheExpired",e.NotSpecified="NotSpecified",e.NotApplicable="N/A"}(C||(C={}));var w="N/A",E=function(){function e(){}return e.collect=function(t,n,a){var i=function(e){return O._PerformanceLogger.readComponentBreakdown(n,e)||O._PerformanceLogger.readTempData("".concat(n,".").concat(e))},o=i("start"),s=i("modulesLoaded"),c=i("init"),d=i("end"),l=!!i("displaySpinner"),u=Boolean(a&&a.legacyPageContext&&a.legacyPageContext.isMultiGeoTenant),f=w,p=w,m=x.NotAvailable,_=C.NotApplicable;if(t.isInternal){var h=i("CacheHit"),b=i("CacheMiss"),g=i("prefetchedData");m=Boolean(h||b)?h?x.True:x.False:x.NotAvailable,_=e._getCacheMissReason(h,i);var v=O._PerformanceLogger.now(),y=O._PerformanceDataDimensions.Layout,S=O._PerformanceDataDimensions.DataProvider,D=O._PerformanceLogger.readFullEUPLBreakDown();Object.keys(D).forEach(function(e){e.indexOf(n)>-1&&(p===w&&e.indexOf(y)>-1?p=e.split(y)[1]:e.indexOf(S)>-1&&(f===w||D[e]<v)&&(f=e.split(S)[1],v=D[e]))}),f=g?"Prefetch":f}var I=O._PerformanceLogger.getWebpartFlightsAndExperiments(n),E=this._getSyncRenderTime(p,i),A={alias:t.alias,isMultiGeo:u,isInternal:t.isInternal,isSpinnyShown:l,manifestId:t.id,moduleLoadTime:Math.floor(s-o),initTime:Math.floor(c-s),renderTime:Math.floor(d-c),syncRenderTime:E,scenarioId:O._PerformanceLogger.getScenarioId(),isFullPage:O._PerformanceLogger.fullPageLoad,dataProvider:f,layout:p,mySiteCacheHit:m,cacheMissReason:_,flights:I,storeAppId:t.storeAppId,mpnId:t.mpnId,componentDeveloperName:t.componentDeveloperName};return A.teamsHosted=r._BrowserUtilities.isTeamsHosted(),A},e._getSyncRenderTime=function(e,t){var n=void 0;n=Math.floor(t("syncRender")-t("getDataComplete"));var a=t("postRenderComplete"),i=t("loadLayoutEnd"),r=t("syncLayoutRenderComplete");return i&&r&&(n=Math.floor(n+(r-i))),a&&(n=Math.floor(n+(a-t(O._PerformanceDataDimensions.Layout+e)))),n},e._getCacheMissReason=function(e,t){if(e)return C.NotApplicable;var n=!!t("CacheMissConfigMismatch"),a=!!t("LateFlush"),i=!!t("CachedWebPartNotFound"),r=!!t("CacheExpired"),o=C.NotSpecified;return n?o=C.CacheConfigMissmatch:a?o=C.LateFlush:i?o=C.CachedItemNotFound:r&&(o=C.CacheExpired),o},e}()},ut3N:function(e,t){e.exports=d},vlQI:function(e,t){e.exports=l}})});
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.35.1"
8
+ "packageVersion": "7.36.0"
9
9
  }
10
10
  ]
11
11
  }
@@ -119,7 +119,7 @@ var DynamicDataProvider = /** @class */ (function () {
119
119
  sp_core_library_1.Validate.isNonemptyString(sourceId, 'sourceId');
120
120
  sp_core_library_1.Validate.isNotNullOrUndefined(callback, 'callback');
121
121
  var registration = { id: sourceId, callback: callback };
122
- if (!this.isRegistrationPending(registration)) {
122
+ if (!this._isRegistrationPending(registration)) {
123
123
  // Source is already registered.
124
124
  this._dynamicDataManager.unregisterSourceChanged(sourceId, this._component, callback);
125
125
  this._logFeatureEntry('UnregisterSourceChanged', { sourceId: sourceId });
@@ -184,7 +184,7 @@ var DynamicDataProvider = /** @class */ (function () {
184
184
  propertyId: propertyId
185
185
  };
186
186
  // registration is in pending state.
187
- if (!this.isRegistrationPending(registration)) {
187
+ if (!this._isRegistrationPending(registration)) {
188
188
  this._dynamicDataManager.unregisterPropertyChanged(sourceId, propertyId, this._component, callback);
189
189
  this._logFeatureEntry('UnregisterPropertyChanged', { sourceId: sourceId, propertyId: propertyId });
190
190
  }
@@ -271,7 +271,7 @@ var DynamicDataProvider = /** @class */ (function () {
271
271
  if (!dataSource) {
272
272
  return undefined;
273
273
  }
274
- var data = dataSource.getPropertyValue(dataReference.property); // tslint:disable-line:no-any
274
+ var data = dataSource.getPropertyValue(dataReference.property);
275
275
  if (data && dataReference.propertyPath) {
276
276
  // multiple levels of sub-properties are separated by '.' in the property path.
277
277
  var subpaths = dataReference.propertyPath.split('.');
@@ -286,7 +286,7 @@ var DynamicDataProvider = /** @class */ (function () {
286
286
  // then extract that specific entry.
287
287
  if (data) {
288
288
  if (Array.isArray(data)) {
289
- var dataItems_1 = []; /* tslint:disable-line:no-any */
289
+ var dataItems_1 = [];
290
290
  data.forEach(function (item) {
291
291
  if (item.hasOwnProperty(subProperty)) {
292
292
  dataItems_1.push(item[subProperty]);
@@ -303,7 +303,7 @@ var DynamicDataProvider = /** @class */ (function () {
303
303
  * Since the subpath element is an array, we are normalizing the existing dataItems object
304
304
  * i.e., dataItems will have an array of array objects.
305
305
  */
306
- var tempDataItems_1 = []; /* tslint:disable-line:no-any */
306
+ var tempDataItems_1 = [];
307
307
  dataItems_1.forEach(function (dataItem) {
308
308
  dataItem.forEach(function (internalItem) { return tempDataItems_1.push(internalItem); });
309
309
  });
@@ -367,7 +367,7 @@ var DynamicDataProvider = /** @class */ (function () {
367
367
  * Also adds a listener to the _DynamicDataManager's sourcesChangedEvent.
368
368
  */
369
369
  DynamicDataProvider.prototype._addPendingRegistration = function (registration) {
370
- if (!this.isRegistrationPending(registration)) {
370
+ if (!this._isRegistrationPending(registration)) {
371
371
  this._pendingRegistrations.set(registration.id + (registration.propertyId || ''), {
372
372
  id: registration.id,
373
373
  propertyId: registration.propertyId,
@@ -395,7 +395,7 @@ var DynamicDataProvider = /** @class */ (function () {
395
395
  *
396
396
  * @param incomingRegistration - registration to be checked.
397
397
  */
398
- DynamicDataProvider.prototype.isRegistrationPending = function (incomingRegistration) {
398
+ DynamicDataProvider.prototype._isRegistrationPending = function (incomingRegistration) {
399
399
  return this._pendingRegistrations.has(incomingRegistration.id + (incomingRegistration.propertyId || ''));
400
400
  };
401
401
  /**
@@ -82,7 +82,7 @@ var DynamicDataSourceManager = /** @class */ (function () {
82
82
  DynamicDataSourceManager.prototype.initializeSource = function (callableFunctions) {
83
83
  this._assertNotDisposed();
84
84
  this._assertInitialized();
85
- if (!!this._src) {
85
+ if (this._src) {
86
86
  throw new Error(Strings_resx_1.default.SourceAlreadyInitialized);
87
87
  }
88
88
  this._callableFunctions = callableFunctions;
@@ -186,7 +186,6 @@ var DynamicDataSourceManager = /** @class */ (function () {
186
186
  * @param eventName - Name of the event
187
187
  * @param data - Associated data
188
188
  */
189
- // tslint:disable-next-line:no-any
190
189
  DynamicDataSourceManager.prototype._sendEvent = function (eventName, data) {
191
190
  this._assertValidEvent(eventName);
192
191
  this._callableFunctions.sendEvent(eventName, data);
@@ -210,13 +209,11 @@ var DynamicDataSourceManager = /** @class */ (function () {
210
209
  * propertyId will have [*] notation appended at the end to support valid JSON Path notation.
211
210
  * Hence when reading the property id, we account for that and extract the name accordingly.
212
211
  */
213
- // tslint:disable-next-line:no-any
214
212
  DynamicDataSourceManager.prototype._getPropertyValue = function (propertyId) {
215
213
  sp_core_library_1.Validate.isNotNullOrUndefined(propertyId, 'propertyId');
216
214
  var qosMonitor = new sp_diagnostics_1._QosMonitor('DynamicDataSourceManager._getPropertyValue');
217
215
  var paths = propertyId.split(DynamicDataProvider_1.default._jsonPathArrayRegex);
218
216
  try {
219
- // tslint:disable-next-line:no-any
220
217
  var propertyValue = this._callableFunctions.getPropertyValue(paths.shift());
221
218
  if (paths.length > 0) {
222
219
  if (!isNaN(parseInt(paths[0], 10)) && Array.isArray(propertyValue)) {
@@ -227,7 +224,7 @@ var DynamicDataSourceManager = /** @class */ (function () {
227
224
  if (
228
225
  // This code can be slow if there is a many property definitions (O(n) for number of properties).
229
226
  // It's done this way to prioritize memory consumption instead of CPU cycles as this is an optional feature,
230
- // so if it's not used there is no memory foorprint
227
+ // so if it's not used there is no memory footprint
231
228
  this._callableFunctions.getPropertyDefinitions().filter(function (def) { return def.id === propertyId; }).length ===
232
229
  0 &&
233
230
  this._src // Check that the source exists to get its title
@@ -235,7 +232,13 @@ var DynamicDataSourceManager = /** @class */ (function () {
235
232
  throw new Error("Property \"".concat(propertyId, "\" doesn't exist in source \"").concat(this._src.metadata.title, "\""));
236
233
  }
237
234
  }
238
- qosMonitor.writeSuccess(tslib_1.__assign(tslib_1.__assign({}, ((this._src && this._src.metadata) || {})), { sourceId: this._src && this._src.id, propertyValue: propertyValue, propertyId: propertyId }));
235
+ // propertyValue can contain PII so we need to remove it before logging.
236
+ if ((0, KillSwitches_1.isDropPropertyValueExtraDataKsActivated)()) {
237
+ qosMonitor.writeSuccess(tslib_1.__assign(tslib_1.__assign({}, ((this._src && this._src.metadata) || {})), { sourceId: this._src && this._src.id, propertyValue: propertyValue, propertyId: propertyId }));
238
+ }
239
+ else {
240
+ qosMonitor.writeSuccess(tslib_1.__assign(tslib_1.__assign({}, ((this._src && this._src.metadata) || {})), { sourceId: this._src && this._src.id, propertyId: propertyId }));
241
+ }
239
242
  return (0, sp_lodash_subset_1.cloneDeep)(propertyValue);
240
243
  }
241
244
  catch (error) {
@@ -249,7 +252,6 @@ var DynamicDataSourceManager = /** @class */ (function () {
249
252
  };
250
253
  /**
251
254
  * Returns the real time value of the property.
252
- * @param propertyId - property id for which the value is requested.
253
255
  */
254
256
  DynamicDataSourceManager.prototype._getPropertyDefinitionsAsync = function () {
255
257
  return Promise.resolve(this._getPropertyDefinitions());
@@ -258,7 +260,6 @@ var DynamicDataSourceManager = /** @class */ (function () {
258
260
  * Returns the real time value of the property.
259
261
  * @param propertyId - property id for which the value is requested.
260
262
  */
261
- // tslint:disable-next-line:no-any
262
263
  DynamicDataSourceManager.prototype._getPropertyValueAsync = function (propertyId) {
263
264
  return Promise.resolve(this._getPropertyValue(propertyId));
264
265
  };
@@ -290,7 +291,6 @@ var DynamicDataSourceManager = /** @class */ (function () {
290
291
  if (getAnnotatedPropertyValue) {
291
292
  var paths = propertyId.split(DynamicDataProvider_1.default._jsonPathArrayRegex);
292
293
  try {
293
- // tslint:disable-next-line:no-any
294
294
  annotatedPropertyValue = this._callableFunctions.getAnnotatedPropertyValue(paths.shift());
295
295
  if (paths.length > 0) {
296
296
  if (!isNaN(parseInt(paths[0], 10)) && Array.isArray(annotatedPropertyValue)) {
@@ -331,7 +331,7 @@ var DynamicDataSourceManager = /** @class */ (function () {
331
331
  instanceId: component.instanceId
332
332
  };
333
333
  // Web parts have properties "title" and "description" that should go to the source by default.
334
- var componentWithMetadata = component; // tslint:disable-line:no-any
334
+ var componentWithMetadata = component;
335
335
  if (componentWithMetadata.title) {
336
336
  metadata.title = componentWithMetadata.title;
337
337
  }
@@ -27,7 +27,6 @@ var DynamicProperty = /** @class */ (function () {
27
27
  this._hasValue = false;
28
28
  this._isDisposed = false;
29
29
  sp_core_library_1.Validate.isNotNullOrUndefined(provider, 'provider');
30
- // tslint:disable-next-line:no-string-literal
31
30
  this['__type'] = DynamicProperty._TYPE_NAME;
32
31
  this._provider = provider;
33
32
  this._callbacks = new Set();
@@ -203,7 +202,6 @@ var DynamicProperty = /** @class */ (function () {
203
202
  * an empty array if the source or the data doesn't exist.
204
203
  */
205
204
  DynamicProperty.prototype.tryGetValues = function () {
206
- // tslint:disable-next-line:no-any
207
205
  var value = this._getData();
208
206
  // OK, time for some massaging of the return.
209
207
  if (value) {
@@ -326,7 +324,6 @@ var DynamicProperty = /** @class */ (function () {
326
324
  *
327
325
  * @internal
328
326
  */
329
- // tslint:disable-next-line:no-any
330
327
  DynamicProperty.prototype._cloneDeep = function (instance) {
331
328
  return lodash.cloneDeepWith(instance, function (prop) {
332
329
  if (prop instanceof DynamicDataProvider_1.default) {
@@ -341,7 +338,7 @@ var DynamicProperty = /** @class */ (function () {
341
338
  * Removes the array notation from the property name, if any, before it is being registered.
342
339
  * This is to avoid any mismatch between the strings passed by the source when it notifies
343
340
  * a property change, as the source doesn't pass any array notation with the property name.
344
- * Array notation is only for internal representaion, for a property whose value is an array type.
341
+ * Array notation is only for internal representation, for a property whose value is an array type.
345
342
  */
346
343
  DynamicProperty.prototype._getPropertyToRegister = function () {
347
344
  sp_core_library_1.Validate.isNotDisposed(this, 'DynamicData');
@@ -44,10 +44,10 @@ var LegacyThirdPartyFabricCoreLoader = /** @class */ (function () {
44
44
  * @param isComponentInternal - indicates whether the requesting component is internal to Microsoft or not.
45
45
  */
46
46
  LegacyThirdPartyFabricCoreLoader.load = function (isComponentInternal) {
47
- if (!isComponentInternal && !LegacyThirdPartyFabricCoreLoader.isLoaded) {
47
+ if (!isComponentInternal && !LegacyThirdPartyFabricCoreLoader._isLoaded) {
48
48
  return Promise.resolve().then(function () { return __importStar(require(
49
49
  /* webpackChunkName: 'legacy-third-party-fabric-core-localfont' */ './chunks/legacy-third-party-fabric-core/FabricLocalFont')); }).then(function () {
50
- LegacyThirdPartyFabricCoreLoader.isLoaded = true;
50
+ LegacyThirdPartyFabricCoreLoader._isLoaded = true;
51
51
  return;
52
52
  });
53
53
  }
@@ -69,7 +69,7 @@ var LegacyThirdPartyFabricCoreLoader = /** @class */ (function () {
69
69
  if (LegacyThirdPartyFabricCoreLoader._shouldLoad(manifest)) {
70
70
  return Promise.resolve().then(function () { return __importStar(require(
71
71
  /* webpackChunkName: 'legacy-third-party-fabric-core-localfont' */ './chunks/legacy-third-party-fabric-core/FabricLocalFont')); }).then(function () {
72
- LegacyThirdPartyFabricCoreLoader.isLoaded = true;
72
+ LegacyThirdPartyFabricCoreLoader._isLoaded = true;
73
73
  return;
74
74
  });
75
75
  }
@@ -102,13 +102,13 @@ var LegacyThirdPartyFabricCoreLoader = /** @class */ (function () {
102
102
  return manifest.loadLegacyFabricCss;
103
103
  };
104
104
  LegacyThirdPartyFabricCoreLoader._shouldLoad = function (manifest) {
105
- return (!LegacyThirdPartyFabricCoreLoader.isLoaded &&
105
+ return (!LegacyThirdPartyFabricCoreLoader._isLoaded &&
106
106
  LegacyThirdPartyFabricCoreLoader.needLegacyFabricCss(manifest));
107
107
  };
108
108
  /**
109
109
  * Indicates whether the fabric-core styles are loaded on the page or not.
110
110
  */
111
- LegacyThirdPartyFabricCoreLoader.isLoaded = false;
111
+ LegacyThirdPartyFabricCoreLoader._isLoaded = false;
112
112
  return LegacyThirdPartyFabricCoreLoader;
113
113
  }());
114
114
  exports.default = LegacyThirdPartyFabricCoreLoader;
@@ -16,8 +16,8 @@ var PropertyMetadataProcessor = /** @class */ (function () {
16
16
  /**
17
17
  * Serialize the properties into server processed content as declared in metadata.
18
18
  *
19
- * @param properties - The component properties. This object will be modified during serialization.
20
19
  * @param propertiesMetadata - The component properties metadata.
20
+ * @param properties - The component properties. This object will be modified during serialization.
21
21
  * @param serverProcessedContent - The serialized server processed content. This object will be modified.
22
22
  */
23
23
  PropertyMetadataProcessor.serializeServerProcessedData = function (propertiesMetadata, properties, serverProcessedContent) {
@@ -55,14 +55,13 @@ var PropertyMetadataProcessor = /** @class */ (function () {
55
55
  // Build custom metadata for the given property path
56
56
  var customMetadata_1 = {};
57
57
  if (metadata && metadata.customMetadata) {
58
- var _loop_1 = function (propName) {
59
- /* tslint:disable-line:forin */
60
- var customMetadataPropPath = metadata.customMetadata[propName];
61
- if (iteration !== undefined && customMetadataPropPath.indexOf('*') !== -1) {
58
+ var _loop_1 = function (propName, customMetadataPropPath) {
59
+ var normalizedCustomMetadataPropPath = customMetadataPropPath;
60
+ if (iteration !== undefined && normalizedCustomMetadataPropPath.indexOf('*') !== -1) {
62
61
  // Custom metadata should be resolved with current iteration of wildcard
63
- customMetadataPropPath = customMetadataPropPath.replace('*', iteration.toString());
62
+ normalizedCustomMetadataPropPath = normalizedCustomMetadataPropPath.replace('*', iteration.toString());
64
63
  }
65
- _this._validateAndIteratePath(customMetadataPropPath, properties, function (fixedPropPath, customIteration) {
64
+ _this._validateAndIteratePath(normalizedCustomMetadataPropPath, properties, function (fixedPropPath, customIteration) {
66
65
  // Custom metadata should be resolved without iteration
67
66
  if (customIteration === undefined && metadata.customMetadata) {
68
67
  var customValue = lodash.get(properties, fixedPropPath);
@@ -78,8 +77,9 @@ var PropertyMetadataProcessor = /** @class */ (function () {
78
77
  }
79
78
  });
80
79
  };
81
- for (var propName in metadata.customMetadata) {
82
- _loop_1(propName);
80
+ for (var _i = 0, _a = Object.entries(metadata.customMetadata); _i < _a.length; _i++) {
81
+ var _b = _a[_i], propName = _b[0], customMetadataPropPath = _b[1];
82
+ _loop_1(propName, customMetadataPropPath);
83
83
  }
84
84
  }
85
85
  if (!serverProcessedContent.customMetadata) {
@@ -97,8 +97,8 @@ var PropertyMetadataProcessor = /** @class */ (function () {
97
97
  * Reapply the serialized server processed content on the properties based on the metadata.
98
98
  * This process will result in the properties bag as it was when the serialization happened.
99
99
  *
100
- * @param properties - The component properties. This object will be modified during serialization.
101
100
  * @param propertiesMetadata - The component properties metadata.
101
+ * @param properties - The component properties. This object will be modified during serialization.
102
102
  * @param serverProcessedContent - The serialized server processed content.
103
103
  * @param manifest - The optional component manifest.
104
104
  */
@@ -134,10 +134,9 @@ var PropertyMetadataProcessor = /** @class */ (function () {
134
134
  for (var _i = 0, htmlMaps_1 = htmlMaps; _i < htmlMaps_1.length; _i++) {
135
135
  var htmlMap = htmlMaps_1[_i];
136
136
  if (htmlMap) {
137
- for (var propPath in htmlMap) {
138
- /* tslint:disable-line:forin */
137
+ for (var _a = 0, _b = Object.entries(htmlMap); _a < _b.length; _a++) {
138
+ var _c = _b[_a], propPath = _c[0], value = _c[1];
139
139
  // WARNING: This is critical code. Please do not modify without fully understanding the data pipeline
140
- var value = htmlMap[propPath];
141
140
  if (typeof value === 'string') {
142
141
  lodash.set(properties, propPath, value);
143
142
  }
@@ -149,24 +148,23 @@ var PropertyMetadataProcessor = /** @class */ (function () {
149
148
  /**
150
149
  * Iterates and validates each metadata property before calling metadata processor.
151
150
  *
152
- * @param properties - Component properties.
153
151
  * @param propertiesMetadata - Component properties metadata.
152
+ * @param properties - Component properties.
154
153
  * @param metadataProcessor - Callback handler to to process validated metadata.
155
154
  *
156
155
  * @internal
157
156
  */
158
157
  PropertyMetadataProcessor._forEachPropertyWithMetaData = function (propertiesMetadata, properties, metadataProcessor) {
159
158
  if (propertiesMetadata) {
160
- var _loop_2 = function (propPath) {
161
- /* tslint:disable-line:forin */
162
- var metadata = propertiesMetadata[propPath];
159
+ var _loop_2 = function (propPath, metadata) {
163
160
  this_1._validateAndIteratePath(propPath, properties, function (fixedPropPath, index) {
164
161
  metadataProcessor(fixedPropPath, metadata, index);
165
162
  });
166
163
  };
167
164
  var this_1 = this;
168
- for (var propPath in propertiesMetadata) {
169
- _loop_2(propPath);
165
+ for (var _i = 0, _a = Object.entries(propertiesMetadata); _i < _a.length; _i++) {
166
+ var _b = _a[_i], propPath = _b[0], metadata = _b[1];
167
+ _loop_2(propPath, metadata);
170
168
  }
171
169
  }
172
170
  };
@@ -181,12 +179,14 @@ var PropertyMetadataProcessor = /** @class */ (function () {
181
179
  var wildcardCount = (propPath.match(/\*/g) || []).length;
182
180
  if (wildcardCount > 1) {
183
181
  // Skip if there are more than one asterisks in the path (not supported)
182
+ // eslint-disable-next-line no-console
184
183
  console.warn("Invalid property path: Multiple wildcards are not supported in property paths.\nEntry with path '".concat(propPath, "' got ignored in the properties metadata."));
185
184
  return;
186
185
  }
187
186
  else if (wildcardCount === 1) {
188
187
  var index = propPath.indexOf('[*]');
189
188
  if (index < -1) {
189
+ // eslint-disable-next-line no-console
190
190
  console.warn("Invalid property path: Wildcards are only supported inside brackets to select array\nindices as in 'foo[*].bar'. Entry with path '".concat(propPath, "' got ignored in the properties metadata."));
191
191
  // Skip if the wildcard is not used for an array (not supported)
192
192
  return;
@@ -196,6 +196,7 @@ var PropertyMetadataProcessor = /** @class */ (function () {
196
196
  var arrayPath = propPath.substr(0, index);
197
197
  var arrayInstance = lodash.get(properties, arrayPath);
198
198
  if (!arrayInstance) {
199
+ // eslint-disable-next-line no-console
199
200
  console.warn("Invalid property path: Could not find an array named '".concat(arrayPath, "' in the properties.\nEntry with path '").concat(propPath, "' got ignored in the properties metadata."));
200
201
  return;
201
202
  }
@@ -1,6 +1,4 @@
1
1
  "use strict";
2
- /* tslint:disable:export-name variable-name */
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
2
  /**
5
3
  * Include Fabric here so we aren't dependent on the Fabric CDN
6
4
  *
@@ -9,11 +7,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
9
7
  * third-party production web parts.
10
8
  *
11
9
  * Please DO NOT update these styles with new styles.All new development should
12
- * use @microsoft/sp-office-ui-fabric-core package for core styles.
10
+ * use \@microsoft/sp-office-ui-fabric-core package for core styles.
13
11
  *
14
12
  * NOTE: Fabric.LocalFont is a modified copy of legacy Fabric that removes the
15
13
  * use of Segoe CSS font-face in favor of local fonts (Segoe/SF/Roboto).
16
14
  */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
17
16
  require("./fabric-core-sass/Fabric.LocalFont.scss");
18
17
  require("./fabric-core-shim.scss");
19
18
  require("./iconDefinitions.css");
@@ -1,9 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isExemptWebPartWithDynamicDataFromLazyLoadKSActivated = void 0;
3
+ exports.isDropPropertyValueExtraDataKsActivated = exports.isExemptWebPartWithDynamicDataFromLazyLoadKSActivated = void 0;
4
4
  var sp_core_library_1 = require("@microsoft/sp-core-library");
5
5
  function isExemptWebPartWithDynamicDataFromLazyLoadKSActivated() {
6
6
  return sp_core_library_1._SPKillSwitch.isActivated('bbd78e03-ff18-40ed-9a94-973fc659366c' /* '12/01/2022', 'Update getWebPartsExemptedFromViewPortLoading to check for containsDynamicDataSource' */);
7
7
  }
8
8
  exports.isExemptWebPartWithDynamicDataFromLazyLoadKSActivated = isExemptWebPartWithDynamicDataFromLazyLoadKSActivated;
9
+ function isDropPropertyValueExtraDataKsActivated() {
10
+ return sp_core_library_1._SPKillSwitch.isActivated('2573696e-7c93-4524-8535-6f6df2d846a8' /* '06/21/2023', 'Drop propertyValue from QOS extra data. It can contain PII.' */);
11
+ }
12
+ exports.isDropPropertyValueExtraDataKsActivated = isDropPropertyValueExtraDataKsActivated;
9
13
  //# sourceMappingURL=KillSwitches.js.map
@@ -1,11 +1,9 @@
1
1
  "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CacheMissReason = exports.CacheStatus = void 0;
2
4
  /**
3
- * @Copyright (c) Microsoft Corporation. All rights reserved.
4
- * @file Interface that defines the shape of extra data to be uploaded for web part load metrics
5
5
  * @internal
6
6
  */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.CacheMissReason = exports.CacheStatus = void 0;
9
7
  var CacheStatus;
10
8
  (function (CacheStatus) {
11
9
  CacheStatus["True"] = "true";