@microsoft/sp-component-base 1.22.2 → 1.23.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.
@@ -1,2 +0,0 @@
1
- "use strict";(self["webpackJsonp_467dc675-7cc5-4709-8aac-78e3b71bd2f6_1.22.2"]=self["webpackJsonp_467dc675-7cc5-4709-8aac-78e3b71bd2f6_1.22.2"]||[]).push([[216],{165:(e,t,n)=>{n.r(t),n.d(t,{TeamsAppsClient:()=>l});var a=n(207),i=n(909),r=n(408),o=n(620),s=n(529),c="/appCatalogs/teamsApps",d="beta",l=function(){function e(e){this._appComponentsPermissionsPromises=new Map,this._serviceScope=e}return e.prototype.getTeamsAppComponentManifests=function(){var t=this;if(!e._getTeamsAppComponentManifestsPromise)if((0,o.T)()){var n=new a._QosMonitor("TeamsAppsClient.FetchTeamsApp");e._getTeamsAppComponentManifestsPromise=this._msGraphClient.then(function(e){return e.api("".concat(c,"?").concat("$expand=appDefinitions($expand=outlineIcon,colorIcon,dashboardCards)&$filter=appDefinitions/any(a:a/dashboardCards/$count ne 0)")).version(d).get()}).then(function(e){var a=e.value.map(function(e){return t._teamsAppCatalogItemToAceManifests(e)});return Promise.all(a).then(function(e){var t=[];return e.forEach(function(e){t.push.apply(t,e)}),n.writeSuccess(),t})}).catch(function(t){return n.writeUnexpectedFailure(void 0,t),e._getTeamsAppComponentManifestsPromise=void 0,[]})}else e._getTeamsAppComponentManifestsPromise=Promise.resolve([]);return e._getTeamsAppComponentManifestsPromise},e.prototype.syncComponent=function(t){var n,s=this,c=t;if(!(0,o.T)()||!c.isPendingTeamsAppSync)return Promise.resolve(t);var d=new a._QosMonitor("TeamsAppsClient.SyncComponent");if(!(null===(n=t.properties)||void 0===n?void 0:n.teamsAppComponent))return d.writeExpectedFailure("TeamsAppComponentMissing"),new Promise(function(){throw new Error("Teams App component manifest is missing teamsAppComponent property")});var l=this._serviceScope.consume(i.SPHttpClient.serviceKey),u=this._serviceScope.consume(r.PageContext.serviceKey).web.absoluteUrl,f=void 0,p=e._ensureAppCatalogPromise;if(!e._ensureAppCatalogPromise){var m="".concat(u,"/_api/web/EnsureTenantAppCatalog(callerId='TeamsAppsClient')");p=e._ensureAppCatalogPromise=l.post(m,i.SPHttpClient.configurations.v1,{}).then(function(e){return e.json()}).then(function(e){if(e.error)throw new Error(e.error.message)}).catch(function(t){throw f="EnsureAppCatalogFailed",e._ensureAppCatalogPromise=void 0,t})}return p.then(function(){var e="".concat(u,"/_api/web/SyncTeamsComponent"),n=t.properties.teamsAppComponent;return l.post(e,i.SPHttpClient.configurations.v1,{body:JSON.stringify({teamsComponent:n})}).catch(function(e){throw f="SyncComponentFailed",e})}).then(function(e){return e.json()}).then(function(e){if(e.error)throw f="SyncComponentFailed",new Error(e.error.message);var n=e,a=JSON.parse(n.Manifest);n.ManifestActivatedTime&&(a.manifestActivatedTime=n.ManifestActivatedTime),d.writeSuccess();var i=t.properties.teamsAppComponent.appId;return s._appComponentsPermissionsPromises.set(i,Promise.resolve(new Set([i]))),a}).catch(function(e){throw d.writeUnexpectedFailure(f,e),e})},e.prototype.requestPermissions=function(e){return(0,o.T)()&&e.length?this._requestAppsPermissions(e).then(function(){}):Promise.resolve()},e.prototype.isComponentEnabled=function(e){return(0,o.T)()?this._appComponentsPermissionsPromises.has(e)?this._appComponentsPermissionsPromises.get(e).then(function(t){return t.has(e)||!1}):this._requestAppsPermissions([{appId:e,componentId:""}]).then(function(t){return t.has(e)||!1}):Promise.resolve(!0)},e.prototype._requestAppsPermissions=function(e){var t,n=this,i=(0,s.uniq)(e.map(function(e){return e.appId})).filter(function(e){return!n._appComponentsPermissionsPromises.has(e)});if(i.length>30&&(t=this._requestAppsPermissionsBatched(i)),!t){var r=new a._QosMonitor("TeamsAppsClient.RequestAppsPermissions");t=this._msGraphClient.then(function(e){return e.api(n._getCheckPermissionsUrl(i)).version(d).get()}).then(function(e){if(e.error)return r.writeUnexpectedFailure("RequestFailed",new Error(e.error.message)),new Set;var t=new Set;return e.value.map(function(e){t.add(e.id)}),r.writeSuccess(),t}).catch(function(e){return r.writeUnexpectedFailure(void 0,e),new Set})}return i.forEach(function(e){n._appComponentsPermissionsPromises.set(e,t)}),t},e.prototype._requestAppsPermissionsBatched=function(e){var t=new a._QosMonitor("TeamsAppsClient.RequestAppsPermissionsBatched"),n=new Set,i=Math.ceil(e.length/300),r=0,o=[];try{for(;r<i;){for(var s={requests:[]},c=300*r,l=Math.min(c+300,e.length),u=c;u<l;){var f=u+30,p=e.slice(u,f);s.requests.push({id:u.toString(),method:"GET",url:this._getCheckPermissionsUrl(p)}),u=f}o.push(s),r++}}catch(e){return t.writeUnexpectedFailure("BatchSplitLogicError",e),Promise.resolve(n)}var m=[];return this._msGraphClient.then(function(e){var t=o.map(function(t){return e.api("$batch").version(d).post(t).then(function(e){e.responses.forEach(function(e){200===e.status?e.body.value.map(function(e){n.add(e.id)}):m.push(new Error(e.body.error.message))})}).catch(function(e){m.push(e)})});return Promise.all(t)}).then(function(){return m.length&&t.writeUnexpectedFailure("SomeBatchRequestsError",void 0,{errors:m}),n}).catch(function(e){return t.writeUnexpectedFailure("BatchRequestError",e),new Set})},e.prototype._getCheckPermissionsUrl=function(e){return"".concat(c,"?").concat("$expand=appDefinitions($expand=dashboardCards)&$filter=appDefinitions/any(a:a/dashboardCards/$count ne 0) and id in ('{appIds}')".replace("{appIds}",e.join("','")))},Object.defineProperty(e.prototype,"_msGraphClient",{get:function(){return this._msGraphClientFactory||(this._msGraphClientFactory=this._serviceScope.consume(i.MSGraphClientFactory.serviceKey)),this._msGraphClientDeferred||(this._msGraphClientDeferred=this._msGraphClientFactory.getClientInternal("3")),this._msGraphClientDeferred},enumerable:!1,configurable:!0}),e.prototype._teamsAppCatalogItemToAceManifests=function(e){var t,n,a=this,i=null===(t=e.appDefinitions[0].colorIcon)||void 0===t?void 0:t.webUrl,r=[],o=e.appDefinitions[0].dashboardCards||[],s=[];o.forEach(function(t){var o,c,d={appId:e.id,externalAppId:e.externalId||void 0,componentId:t.id,groupId:"5c03119e-3074-46fd-976b-c60198311f70",iconUrl:null===(o=t.icon)||void 0===o?void 0:o.iconUrl,officeUIFabricIconName:null===(c=t.icon)||void 0===c?void 0:c.officeUIFabricIconName,description:t.description,name:t.displayName,botId:t.contentSource.botConfiguration.botId,appName:e.displayName,appDescription:e.appDefinitions[0].description,version:e.appDefinitions[0].version,defaultSize:"".concat(t.defaultSize.charAt(0).toUpperCase()).concat(t.defaultSize.slice(1))},l=a._teamsAppComponentToAceManifest(d);s.push(l),d.iconUrl||d.officeUIFabricIconName||(r.push(l),!n&&i&&(n=a._msGraphClient.then(function(e){return e.api(i).responseType("blob").get()})))});var c=Promise.resolve(s);return r.length&&n&&(c=n.then(function(e){return a._convertBlobToBase64(e)}).then(function(e){return r.forEach(function(t){t.preconfiguredEntries[0].iconImageUrl=e,t.properties.teamsAppComponent.iconUrl=e}),s})),c},e.prototype._convertBlobToBase64=function(e){return new Promise(function(t,n){var a=new FileReader;a.onerror=n,a.onload=function(){var e=a.result;e||n(""),t(e.substr(e.indexOf(", ")+1))},a.readAsDataURL(e)})},e.prototype._teamsAppComponentToAceManifest=function(e){return{id:e.componentId,manifestVersion:2,version:e.version,componentType:"AdaptiveCardExtension",alias:e.componentId,properties:{teamsAppComponent:e},loaderConfig:{entryModuleId:e.componentId,internalModuleBaseUrls:["HTTPS://CLIENTSIDEASSETSLIBRARY/"],scriptResources:{}},preconfiguredEntries:[{cardSize:e.defaultSize,title:{default:e.name},description:{default:e.description},iconImageUrl:e.iconUrl,officeFabricIconFontName:e.officeUIFabricIconName,groupId:e.groupId,properties:{}}],connectedTeamsAppId:e.appId,isPendingTeamsAppSync:!0}},e}()}
2
- }]);
@@ -1,2 +0,0 @@
1
- (()=>{var e=document.currentScript;define("467dc675-7cc5-4709-8aac-78e3b71bd2f6_1.22.2",["@microsoft/sp-core-library","@microsoft/sp-diagnostics","@microsoft/sp-page-context","@microsoft/sp-http","@microsoft/sp-dynamic-data","@microsoft/sp-lodash-subset","tslib","@msinternal/sp-safehtml","@microsoft/load-themed-styles","@msinternal/sp-telemetry"],(t,n,a,i,r,o,s,c,d,l)=>(()=>{"use strict";var u={620:(e,t,n)=>{n.d(t,{T:()=>i,X:()=>r});var a=n(676);function i(){return a._SPFlight.isEnabled(60693)}function r(){return a._SPFlight.isEnabled(61389)}}
2
- ,424:e=>{e.exports=d},676:e=>{e.exports=t},207:e=>{e.exports=n},745:e=>{e.exports=r},909:e=>{e.exports=i},529:e=>{e.exports=o},408:e=>{e.exports=a},356:e=>{e.exports=c},519:e=>{e.exports=l},280:e=>{e.exports=s}},f={};function p(e){var t=f[e];if(void 0!==t)return t.exports;var n=f[e]={exports:{}};return u[e](n,n.exports,p),n.exports}p.m=u;var m,_,h,b={"216":"skrgwobJF/y7MofoykRoBfYDPwIzXd9Lh576XlFGFqI=","386":"XwNwPTP20Xz9tyNRQqw+a+H90RdT4Cs4L0veD9cc6DI="};p.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return p.d(t,{a:t}),t},p.d=(e,t)=>{for(var n in t)p.o(t,n)&&!p.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},p.f={},p.e=e=>Promise.all(Object.keys(p.f).reduce((t,n)=>(p.f[n](e,t),t),[])),p.u=e=>"chunk."+{216:"teams-apps-client",386:"legacy-third-party-fabric-core-localfont"}[e]+"_none_"+{216:"7354ef57db162cdd6004",386:"cf8b885e32d709b61f01"}[e]+".js",p.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),m={},_="467dc675-7cc5-4709-8aac-78e3b71bd2f6_1.22.2:",p.l=(e,t,n,a)=>{if(m[e])m[e].push(t);else{var i,r;if(void 0!==n)for(var o=document.getElementsByTagName("script"),s=0;s<o.length;s++){var c=o[s];if(c.getAttribute("src")==e||c.getAttribute("data-webpack")==_+n){i=c;break}}if(!i){r=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,p.nc&&i.setAttribute("nonce",p.nc),i.setAttribute("data-webpack",_+n),i.src=e,0!==i.src.indexOf(window.location.origin+"/")&&(i.crossOrigin="anonymous");var d=function(e){return"sha256-"+(b[e]||"Missing+Integrity+Hash+For+Script+Aborting=")}(a);d&&(i.integrity=d)}m[e]=[t];var l=(t,n)=>{i.onerror=i.onload=null,clearTimeout(u);var a=m[e];if(delete m[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach(e=>e(n)),t)return t(n)},u=setTimeout(l.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=l.bind(null,i.onerror),i.onload=l.bind(null,i.onload),r&&document.head.appendChild(i)}},p.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},h=e?e.src:"",p.p=h.slice(0,h.lastIndexOf("/")+1),(()=>{var e={826:0};p.f.j=(t,n)=>{var a=p.o(e,t)?e[t]:void 0;if(0!==a)if(a)n.push(a[2]);else{var i=new Promise((n,i)=>a=e[t]=[n,i]);n.push(a[2]=i);var r=p.p+p.u(t),o=new Error;p.l(r,n=>{if(p.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var i=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;o.message="Loading chunk "+t+" failed.\n("+i+": "+r+")",o.name="ChunkLoadError",o.type=i,o.request=r,a[1](o)}},"chunk-"+t,t)}};var t=(t,n)=>{var a,i,[r,o,s]=n,c=0;if(r.some(t=>0!==e[t])){for(a in o)p.o(o,a)&&(p.m[a]=o[a]);s&&s(p)}for(t&&t(n);c<r.length;c++)i=r[c],p.o(e,i)&&e[i]&&e[i][0](),e[i]=0},n=self["webpackJsonp_467dc675-7cc5-4709-8aac-78e3b71bd2f6_1.22.2"]=self["webpackJsonp_467dc675-7cc5-4709-8aac-78e3b71bd2f6_1.22.2"]||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var g={};return(()=>{p.r(g),p.d(g,{BaseComponent:()=>e,BaseComponentContext:()=>u,DynamicDataProvider:()=>s,DynamicDataSourceManager:()=>l,DynamicProperty:()=>f,ThemeChangedEventArgs:()=>y,ThemeProvider:()=>S,_CacheMissReason:()=>O,_DeferredTeamsAppsClient:()=>A,_LegacyThirdPartyFabricCoreLoader:()=>m,_PropertyMetadataProcessor:()=>b,_ServerProcessedDataType:()=>v,_ShimmerFactory:()=>D,_WebPartLoadDataCollector:()=>E,_ensureIsolatedDomainUrl:()=>x});const e=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}();var t=p(676),n=p(207),a=p(408),i=p(909),r=p(745),o=p(529);const s=function(){function e(){this._isDisposed=!1,this._isInitialized=!1,this._isSourcesChangedEventListenerAdded=!1}return e.prototype._initialize=function(e,n){t.Validate.isNotNullOrUndefined(e,"component"),t.Validate.isNotNullOrUndefined(n,"serviceScope"),this._component=e,this._pendingRegistrations=new Map,this._dynamicDataManager=n.consume(r._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,n){this._assertNotDisposed(),this._assertInitialized(),t.Validate.isNonemptyString(e,"sourceId"),t.Validate.isNotNullOrUndefined(n,"callback"),-1!==this.getAvailableSources().map(function(e){return e.id}).indexOf(e)?(this._dynamicDataManager.registerSourceChanged(e,this._component,n),this._logFeatureEntry("RegisterSourceChanged",{sourceId:e})):this._addPendingRegistration({id:e,callback:n})},e.prototype.unregisterSourceChanged=function(e,n){this._assertNotDisposed(),this._assertInitialized(),t.Validate.isNonemptyString(e,"sourceId"),t.Validate.isNotNullOrUndefined(n,"callback");var a={id:e,callback:n};this._isRegistrationPending(a)?this._removePendingRegistration(a):(this._dynamicDataManager.unregisterSourceChanged(e,this._component,n),this._logFeatureEntry("UnregisterSourceChanged",{sourceId:e}))},e.prototype.registerPropertyChanged=function(e,n,a){this._assertNotDisposed(),this._assertInitialized(),t.Validate.isNonemptyString(e,"sourceId"),t.Validate.isNonemptyString(n,"propertyId"),t.Validate.isNotNullOrUndefined(a,"callback"),-1!==this.getAvailableSources().map(function(e){return e.id}).indexOf(e)?(this._dynamicDataManager.registerPropertyChanged(e,n,this._component,a),this._logFeatureEntry("RegisterPropertyChanged",{sourceId:e,propertyId:n})):this._addPendingRegistration({id:e,propertyId:n,callback:a})},e.prototype.unregisterPropertyChanged=function(e,n,a){this._assertNotDisposed(),this._assertInitialized(),t.Validate.isNonemptyString(e,"sourceId"),t.Validate.isNonemptyString(n,"propertyId"),t.Validate.isNotNullOrUndefined(a,"callback");var i={id:e,callback:a,propertyId:n};this._isRegistrationPending(i)?this._removePendingRegistration(i):(this._dynamicDataManager.unregisterPropertyChanged(e,n,this._component,a),this._logFeatureEntry("UnregisterPropertyChanged",{sourceId:e,propertyId:n}))},e.prototype.registerAvailableSourcesChanged=function(e){t.Validate.isNotNullOrUndefined(e,"callback"),this._assertNotDisposed(),this._assertInitialized(),this._dynamicDataManager.sourcesChangedEvent.add(this._component,e)},e.prototype.unregisterAvailableSourcesChanged=function(e){t.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 n=[];return this._dynamicDataManager.getSources().forEach(function(a){e.equals(t.Guid.tryParse(a.metadata.componentId)||t.Guid.empty)&&n.push(a)}),n},e.prototype.tryGetSource=function(e){return this._assertNotDisposed(),this._assertInitialized(),t.Validate.isNotNullOrUndefined(e,"id"),this._dynamicDataManager.tryGetSource(e)},e.prototype._getData=function(n){this._assertNotDisposed(),this._assertInitialized(),t.Validate.isNotNullOrUndefined(n,"dataReference");var a=this._dynamicDataManager.tryGetSource(n.sourceId);if(a){var i=a.getPropertyValue(n.property);return i&&n.propertyPath&&n.propertyPath.split(".").forEach(function(t){var n=t.split(e._jsonPathArrayRegex),a=n[0];if(i)if(Array.isArray(i)){var r=[];i.forEach(function(e){e.hasOwnProperty(a)&&r.push(e[a])});var o=n[1];if(n.length>1){var s=[];r.forEach(function(e){e.forEach(function(e){return s.push(e)})}),r=s}i=isNaN(parseInt(o,10))?r:r[o]}else i=i.hasOwnProperty(a)?i[a]:void 0}),i}},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 a=this._component.manifest.isInternal||!1,i={alias:this._component.manifest.alias,isInternal:a.toString()},r=new n._LogEntry("DynamicDataProvider",e,n._LogType.Event,o.merge(i,t));n._EngagementLogger.logEventWithLogEntry(r)},e._jsonPathArrayRegex=new RegExp(/\[|\]/),e}();var c=p(280);const d=JSON.parse('{"lw":"SourceAlreadyInitialized","Yt":"NoSendEventWhenAllowedEventsIsNonEmpty","C3":"DynamicDataSourceManagerIsDisposed","ad":"DynamicDataSourceManagerIsNotInitialized","fT":"DynamicDataSourceIsNotInitialized","Qm":"InvalidEvent"}'),l=function(){function e(){this._src=void 0,this._isDisposed=!1,this._isInitialized=!1,this._logSource=n._LogSource.create("DynamicDataSourceManager")}return e.prototype._initialize=function(e,n){t.Validate.isNotNullOrUndefined(e,"component"),t.Validate.isNotNullOrUndefined(n,"serviceScope"),this._component=e,this._dynamicDataManager=n.consume(r._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(d.lw);this._callableFunctions=e,this._src=this._buildSource(this._component),this._dynamicDataManager.addSource(this._src),t._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){t.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(),t.Validate.isNotNullOrUndefined(e,"metadata"),e.alias=void 0,e.componentId=void 0,e.instanceId=void 0,(0,o.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(d.Yt);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?(0,o.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(0,o.cloneDeep)(this._callableFunctions.getPropertyDefinitions())},e.prototype._getPropertyValue=function(e){t.Validate.isNotNullOrUndefined(e,"propertyId");var a=new n._QosMonitor("DynamicDataSourceManager._getPropertyValue"),i=e.split(s._jsonPathArrayRegex);try{var r=this._callableFunctions.getPropertyValue(i.shift());if(i.length>0&&!isNaN(parseInt(i[0],10))&&Array.isArray(r)&&(r=r[i[0]]),void 0===r&&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 a.writeSuccess((0,c.__assign)((0,c.__assign)({},this._src&&this._src.metadata||{}),{sourceId:this._src&&this._src.id,propertyId:e})),(0,o.cloneDeep)(r)}catch(t){return a.writeUnexpectedFailure("NoPropertyId",t,{propertyId:e}),void n._TraceLogger.logErrorData({source:this._logSource,error:t})}},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){t.Validate.isNotNullOrUndefined(e,"propertyId");var a,i=new n._QosMonitor("DynamicDataSourceManager._getAnnotatedPropertyValue");if(this._callableFunctions.getAnnotatedPropertyValue){var r=e.split(s._jsonPathArrayRegex);try{a=this._callableFunctions.getAnnotatedPropertyValue(r.shift()),r.length>0&&!isNaN(parseInt(r[0],10))&&Array.isArray(a)&&(a=a[r[0]]),i.writeSuccess((0,c.__assign)((0,c.__assign)({},this._src&&this._src.metadata||{}),{sourceId:this._src&&this._src.id,annotatedPropertyValue:a,propertyId:e}))}catch(e){i.writeExpectedFailure("NoAnnotatedPropertyValue",e,{annotatedPropertyValue:a}),n._TraceLogger.logErrorData({source:this._logSource,error:e}),a=void 0}}return a||(a={sampleValue:this._getPropertyValue(e),metadata:void 0}),a},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===(0,o.findIndex)(this._allowedEvents(),{name:e}))throw new Error(t.Text.format(d.Qm,e,this._src.metadata.title))},e.prototype._assertNotDisposed=function(){if(this.isDisposed)throw new Error(d.C3)},e.prototype._assertInitialized=function(){if(!this._isInitialized)throw new Error(d.ad)},e.prototype._assertSourceExists=function(){if(!this._src)throw new Error(d.fT)},e.prototype._logFeatureEntry=function(e,t){var a=this._component.manifest.isInternal||!1,i={alias:this._component.manifest.alias,isInternal:a.toString()},r=new n._LogEntry("DynamicDataSourceManager",e,n._LogType.Event,o.merge(i,t));n._EngagementLogger.logEventWithLogEntry(r)},e}(),u=function(){function e(e){var r=this;this._isDisposed=!1,this._isServedFromLocalhost=!1,t.Validate.isNotNullOrUndefined(e,"parameters"),t.Validate.isNotNullOrUndefined(e.manifest,"manifest"),this.manifest=e.manifest;var o=this.manifest.loaderConfig;o&&o.internalModuleBaseUrls&&o.internalModuleBaseUrls.length&&(this._isServedFromLocalhost=/^http(s)?\:\/\/(localhost|127.0.0.1)/gim.test(o.internalModuleBaseUrls[0])),t.Validate.isNotNullOrUndefined(e.parentServiceScope,"parentServiceScope"),this._serviceScope=e.parentServiceScope.startNewChild(),t.Validate.isNotNullOrUndefined(e.loggingTag,"loggingTag"),this.serviceScope.provide(n._logSourceServiceKey,n._LogSource.create(e.loggingTag)),t.Validate.isNonemptyString(e.instanceId,"instanceId"),this._instanceId=e.instanceId,this._httpClient=this.serviceScope.createDefaultAndProvide(i.HttpClient.serviceKey),this._spHttpClient=this.serviceScope.createDefaultAndProvide(i.SPHttpClient.serviceKey),this._msGraphClientFactory=this.serviceScope.createDefaultAndProvide(i.MSGraphClientFactory.serviceKey),this._aadClientFactory=this.serviceScope.createDefaultAndProvide(i.AadHttpClientFactory.serviceKey),this._aadTokenFactory=this.serviceScope.createDefaultAndProvide(i.AadTokenProviderFactory.serviceKey),this.serviceScope.provide(t._ClientManifestData.serviceKey,new t._ClientManifestData(this.serviceScope,this.manifest)),this.serviceScope.whenFinished(function(){r._pageContext=r.serviceScope.consume(a.PageContext.serviceKey)}),this._dynamicDataProvider=new s,this._dynamicDataSourceManager=new l}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}(),f=function(){function e(n,a){this._hasValue=!1,this._isDisposed=!1,t.Validate.isNotNullOrUndefined(n,"provider"),this.__type=e._TYPE_NAME,this._provider=n,this._callbacks=new Set,this._pendingCallbacks=new Set,a?(this._pendingCallbacks.add(a),this._defaultCallback=a):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 n=this;t.Validate.isNonemptyString(e,"id"),this._value=void 0,this._hasValue=!1;var a=new Set;this._callbacks.forEach(function(e){return a.add(e)}),this._callbacks.forEach(function(e){return n.unregister(e)}),this._reference=new r.DynamicDataReference(e),this._sourceId=this._getSourceId(),a.forEach(function(e){return n.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||t._SPKillSwitch.isActivated("413769dc-5e0c-4609-9c86-bdf099fe84e3")){t.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||t._SPKillSwitch.isActivated("413769dc-5e0c-4609-9c86-bdf099fe84e3"))return t.Validate.isNotDisposed(this,"DynamicData"),this._hasValue?void 0:this._provider.tryGetSource(this._sourceId)},e.prototype.register=function(e){t.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){t.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 t.Validate.isNotDisposed(this,"DynamicData"),this._hasValue?"":this._reference.sourceId},e.prototype._getProperty=function(){return t.Validate.isNotDisposed(this,"DynamicData"),this._hasValue?"":this._reference.property},e.prototype._getPropertyPath=function(){return t.Validate.isNotDisposed(this,"DynamicData"),this._hasValue?"":this._reference.propertyPath||""},e.prototype._cloneDeep=function(e){return o.cloneDeepWith(e,function(e){if(e instanceof s)return e})},e.prototype._getPropertyToRegister=function(){return t.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||t._SPKillSwitch.isActivated("413769dc-5e0c-4609-9c86-bdf099fe84e3")){var e;t.Validate.isNotDisposed(this,"DynamicData");try{e=this._hasValue?this._value:this._provider._getData(this._reference)}catch(e){throw n._EngagementLogger.logEventWithLogEntry(e),e}return n._EngagementLogger.logEventWithLogEntry(new n._LogEntry("DynamicData","getData",n._LogType.Event,{value:JSON.stringify(this.value)})),e}},e._TYPE_NAME="DynamicProperty",e._arrayRegex=new RegExp(/\[\*\]$/),e}(),m=function(){function e(){}return e.load=function(t){return t||e._isLoaded?Promise.resolve():p.e(386).then(p.bind(p,521)).then(function(){e._isLoaded=!0})},e.forceLoad=function(t){try{return e._shouldLoad(t)?p.e(386).then(p.bind(p,521)).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 n=t.Version._tryParseSPFxVersion(e);return!n||n.lessThan(t.Version.parse("1.8.2"))}return e.loadLegacyFabricCss},e._shouldLoad=function(t){return!e._isLoaded&&e.needLegacyFabricCss(t)},e._isLoaded=!1,e}();var _=p(620),h=p(356),b=function(){function e(){}return e.serializeServerProcessedData=function(e,n,a){var i=this;this._forEachPropertyWithMetaData(e,n,function(e,r,s){r.shouldNotPersist&&o.set(n,e,void 0);var c=e,d=o.get(n,e);if(a&&"string"==typeof d&&d){if(a.htmlStrings&&r.isHtmlString?a.htmlStrings[c]=d:a.searchablePlainTexts&&r.isSearchablePlainText?a.searchablePlainTexts[c]=d:a.links&&r.isLink?a.links[c]=d:a.imageSources&&r.isImageSource?a.imageSources[c]=d:r.isComponentDependency&&(a.componentDependencies||(a.componentDependencies={}),a.componentDependencies[c]=d),r.customMetadata){var l={};if(r&&r.customMetadata)for(var u=function(e,c){var d=c;void 0!==s&&-1!==d.indexOf("*")&&(d=d.replace("*",s.toString())),i._validateAndIteratePath(d,n,function(i,s){if(void 0===s&&r.customMetadata){var c=o.get(n,i);a&&void 0!==c&&(t._SPKillSwitch.isActivated("bf085c27-422d-4b62-a93a-43efa89e77ee")?l[i]=c:l[e]=c)}})},f=0,p=Object.entries(r.customMetadata);f<p.length;f++){var m=p[f];u(m[0],m[1])}a.customMetadata||(a.customMetadata={}),a.customMetadata[c]=l}o.set(n,e,void 0)}})},e.reInstateServerProcessedData=function(e,a,i,r){var s=this,c=new Set;if(r&&this._forEachPropertyWithMetaData(e,a,function(e,i){if((0,_.X)()){if("b7dd04e1-19ce-4b24-9132-b60a1c2b910d"===r.id&&t._SPKillSwitch.isActivated("71b68bd4-eb7a-4330-93bd-dc6d382123c1"))return;var d=o.get(a,e);if(void 0!==d){var l=new n._QosMonitor("PropertyMetadataProcessor.clearMetadataValue");if(i.isLink&&(c.add(e),s._isSafeLink(d)||(l.writeUnexpectedFailure("ClearingLinkProperty",new Error(e)),o.set(a,e,void 0))),i.isHtmlString){c.add(e);var u=s._getSafeHtml(d);u!==d&&(l.writeUnexpectedFailure("SettingSafeHtml",new Error(e)),o.set(a,e,u))}l.hasEnded||l.writeSuccess()}}else"b7dd04e1-19ce-4b24-9132-b60a1c2b910d"!==r.id&&i.isHtmlString&&o.set(a,e,void 0)}),i)for(var d=0,l=[i.htmlStrings,i.searchablePlainTexts,i.imageSources,i.links,i.componentDependencies];d<l.length;d++){var u=l[d];if(u)for(var f=0,p=Object.entries(u);f<p.length;f++){var m=p[f],h=m[0],b=m[1];"string"==typeof b&&(o.set(a,h,b),(0,_.X)()&&c.delete(h))}}(0,_.X)()&&r&&c.size>0&&new n._QosMonitor("PropertyMetadataProcessor.serverProcessedContentMissing").writeUnexpectedFailure("Missing Content",void 0,{manifest:r.id,properties:Array.from(c).join(",")})},e._isSafeLink=function(e){try{var t=new URL(e);return h.SafeHtml.isSafeLinkProtocol(t.protocol)}catch(n){try{return t=new URL(e,window.location.origin),h.SafeHtml.isSafeLinkProtocol(t.protocol)}catch(e){return!1}}},e._getSafeHtml=function(e){return h.SafeHtml.clean(e)},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),s=o.get(t,r);if(!s)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 c=0;c<s.length;c++)n(e.replace("*","".concat(c)),c)}else n(e)},e}(),v={htmlString:1,link:2,imageSource:3,searchablePlainText:4},y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,c.__extends)(t,e),t}(t.SPEventArgs),S=function(){function e(n,a,i){this._id=e._instanceCount++,this.themeChangedEvent=new t.SPEvent(this._themeChangedEventName),a&&(this._theme=Object.freeze(a)),i&&(this._themeV2=Object.freeze(i))}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._themeV2=void 0,this._raiseEvent()},e.prototype._setTheme=function(e,n){t.Validate.isNotNullOrUndefined(e,"theme"),this._theme=Object.freeze(e),n&&(this._themeV2=Object.freeze(n)),this._raiseEvent()},e.prototype.tryGetTheme=function(){return this._theme},e.prototype.tryGetThemeV2=function(){return this._themeV2},e.prototype._raiseEvent=function(){t._SPEventManager.instance.raiseEvent(this._themeChangedEventName,{theme:this._theme,themeV2:this._themeV2})},e.serviceKey=t.ServiceKey.create("sp-component-base.ThemeProvider",e),e._themeChangedEventNameLiteral="ThemeProvider.themeChangedEvent",e._instanceCount=0,e}();p(424).loadStyles(".s_mwxHE_o5ljQ{background-color:transparent;height:100%;margin:5px;position:relative;width:100%}.s_bzcYC_o5ljQ{fill:#f4f4f4}",!0);const D=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="s_mwxHE_o5ljQ";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="s_bzcYC_o5ljQ";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}();var I=new RegExp("^https://[^/]*/");function x(e,t){if(!e)return t;var n=!1;return"/"!==t.charAt(t.length-1)&&(t+="/",n=!0),t=t.replace(I,"https://".concat(e,"/")),n&&(t=t.substr(0,t.length-1)),t}var C=p(519),O={CacheConfigMissmatch:"CacheConfigMissmatch",LateFlush:"LateFlush",CachedItemNotFound:"CachedItemNotFound",CacheExpired:"CacheExpired",NotSpecified:"NotSpecified",NotApplicable:"N/A"},w="N/A",E=function(){function e(){}return e.collect=function(n,a,i){var r=function(e){return C._PerformanceLogger.readComponentBreakdown(a,e)||C._PerformanceLogger.readTempData("".concat(a,".").concat(e))},o=r("start"),s=r("modulesLoaded"),c=r("init"),d=r("end"),l=!!r("displaySpinner"),u=Boolean(i&&i.legacyPageContext&&i.legacyPageContext.isMultiGeoTenant),f=w,p=w,m="N/A",_=O.NotApplicable;if(n.isInternal){var h=r("CacheHit"),b=r("CacheMiss"),g=r("prefetchedData");m=Boolean(h||b)?h?"true":"false":"N/A",_=e._getCacheMissReason(h,r);var v=C._PerformanceLogger.now(),y=C._PerformanceDataDimensions.Layout,S=C._PerformanceDataDimensions.DataProvider,D=C._PerformanceLogger.readFullEUPLBreakDown();Object.keys(D).forEach(function(e){e.indexOf(a)>-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=C._PerformanceLogger.getWebpartFlightsAndExperiments(a),x=this._getSyncRenderTime(p,r),E={alias:n.alias,isMultiGeo:u,isInternal:n.isInternal,isSpinnyShown:l,manifestId:n.id,moduleLoadTime:Math.floor(s-o),initTime:Math.floor(c-s),renderTime:Math.floor(d-c),syncRenderTime:x,scenarioId:C._PerformanceLogger.getScenarioId(),isFullPage:C._PerformanceLogger.fullPageLoad,dataProvider:f,layout:p,mySiteCacheHit:m,cacheMissReason:_,flights:I,storeAppId:n.storeAppId,mpnId:n.mpnId,componentDeveloperName:n.componentDeveloperName};return E.teamsHosted=t._BrowserUtilities.isTeamsHosted(),E},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(C._PerformanceDataDimensions.Layout+e)))),n},e._getCacheMissReason=function(e,t){if(e)return O.NotApplicable;var n=!!t("CacheMissConfigMismatch"),a=!!t("LateFlush"),i=!!t("CachedWebPartNotFound"),r=!!t("CacheExpired"),o=O.NotSpecified;return n?o=O.CacheConfigMissmatch:a?o=O.LateFlush:i?o=O.CachedItemNotFound:r&&(o=O.CacheExpired),o},e}(),A=function(){function e(e){this._serviceScope=e}return e.prototype.getClient=function(){var e=this;if(this._teamsAppsClient)return Promise.resolve(this._teamsAppsClient);if(!this._teamsAppsClientPromise){var t=new n._QosMonitor("DeferredTeamsAppsClient.LoadTeamsAppClient");this._teamsAppsClientPromise=p.e(216).then(p.bind(p,165)).then(function(n){var a=n.TeamsAppsClient;return e._teamsAppsClient=new a(e._serviceScope),t.writeSuccess(),e._teamsAppsClient}).catch(function(e){throw t.writeUnexpectedFailure(void 0,e),e})}return this._teamsAppsClientPromise},e.serviceKey=t.ServiceKey.create("sp-teams-apps-client",e),e}()})(),g})())})();
@@ -1,2 +0,0 @@
1
- (()=>{var e=document.currentScript;define("467dc675-7cc5-4709-8aac-78e3b71bd2f6_1.22.2",["@microsoft/sp-core-library","@microsoft/sp-diagnostics","@microsoft/sp-page-context","@microsoft/sp-http","@microsoft/sp-dynamic-data","@microsoft/sp-lodash-subset","tslib","@msinternal/sp-safehtml","@microsoft/load-themed-styles","@msinternal/sp-telemetry"],(t,n,a,i,r,o,s,c,d,l)=>(()=>{"use strict";var u={620:(e,t,n)=>{n.d(t,{T:()=>i,X:()=>r});var a=n(676);function i(){return a._SPFlight.isEnabled(60693)}function r(){return a._SPFlight.isEnabled(61389)}}
2
- ,424:e=>{e.exports=d},676:e=>{e.exports=t},207:e=>{e.exports=n},745:e=>{e.exports=r},909:e=>{e.exports=i},529:e=>{e.exports=o},408:e=>{e.exports=a},356:e=>{e.exports=c},519:e=>{e.exports=l},280:e=>{e.exports=s}},f={};function p(e){var t=f[e];if(void 0!==t)return t.exports;var n=f[e]={exports:{}};return u[e](n,n.exports,p),n.exports}p.m=u;var m,_,h,b={"216":"skrgwobJF/y7MofoykRoBfYDPwIzXd9Lh576XlFGFqI=","386":"XwNwPTP20Xz9tyNRQqw+a+H90RdT4Cs4L0veD9cc6DI="};p.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return p.d(t,{a:t}),t},p.d=(e,t)=>{for(var n in t)p.o(t,n)&&!p.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},p.f={},p.e=e=>Promise.all(Object.keys(p.f).reduce((t,n)=>(p.f[n](e,t),t),[])),p.u=e=>"chunk."+{216:"teams-apps-client",386:"legacy-third-party-fabric-core-localfont"}[e]+"_none_"+{216:"7354ef57db162cdd6004",386:"cf8b885e32d709b61f01"}[e]+".js",p.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),m={},_="467dc675-7cc5-4709-8aac-78e3b71bd2f6_1.22.2:",p.l=(e,t,n,a)=>{if(m[e])m[e].push(t);else{var i,r;if(void 0!==n)for(var o=document.getElementsByTagName("script"),s=0;s<o.length;s++){var c=o[s];if(c.getAttribute("src")==e||c.getAttribute("data-webpack")==_+n){i=c;break}}if(!i){r=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,p.nc&&i.setAttribute("nonce",p.nc),i.setAttribute("data-webpack",_+n),i.src=e,0!==i.src.indexOf(window.location.origin+"/")&&(i.crossOrigin="anonymous");var d=function(e){return"sha256-"+(b[e]||"Missing+Integrity+Hash+For+Script+Aborting=")}(a);d&&(i.integrity=d)}m[e]=[t];var l=(t,n)=>{i.onerror=i.onload=null,clearTimeout(u);var a=m[e];if(delete m[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach(e=>e(n)),t)return t(n)},u=setTimeout(l.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=l.bind(null,i.onerror),i.onload=l.bind(null,i.onload),r&&document.head.appendChild(i)}},p.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},h=e?e.src:"",p.p=h.slice(0,h.lastIndexOf("/")+1),(()=>{var e={826:0};p.f.j=(t,n)=>{var a=p.o(e,t)?e[t]:void 0;if(0!==a)if(a)n.push(a[2]);else{var i=new Promise((n,i)=>a=e[t]=[n,i]);n.push(a[2]=i);var r=p.p+p.u(t),o=new Error;p.l(r,n=>{if(p.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var i=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;o.message="Loading chunk "+t+" failed.\n("+i+": "+r+")",o.name="ChunkLoadError",o.type=i,o.request=r,a[1](o)}},"chunk-"+t,t)}};var t=(t,n)=>{var a,i,[r,o,s]=n,c=0;if(r.some(t=>0!==e[t])){for(a in o)p.o(o,a)&&(p.m[a]=o[a]);s&&s(p)}for(t&&t(n);c<r.length;c++)i=r[c],p.o(e,i)&&e[i]&&e[i][0](),e[i]=0},n=self["webpackJsonp_467dc675-7cc5-4709-8aac-78e3b71bd2f6_1.22.2"]=self["webpackJsonp_467dc675-7cc5-4709-8aac-78e3b71bd2f6_1.22.2"]||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var g={};return(()=>{p.r(g),p.d(g,{BaseComponent:()=>e,BaseComponentContext:()=>u,DynamicDataProvider:()=>s,DynamicDataSourceManager:()=>l,DynamicProperty:()=>f,ThemeChangedEventArgs:()=>y,ThemeProvider:()=>S,_CacheMissReason:()=>O,_DeferredTeamsAppsClient:()=>A,_LegacyThirdPartyFabricCoreLoader:()=>m,_PropertyMetadataProcessor:()=>b,_ServerProcessedDataType:()=>v,_ShimmerFactory:()=>D,_WebPartLoadDataCollector:()=>E,_ensureIsolatedDomainUrl:()=>x});const e=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}();var t=p(676),n=p(207),a=p(408),i=p(909),r=p(745),o=p(529);const s=function(){function e(){this._isDisposed=!1,this._isInitialized=!1,this._isSourcesChangedEventListenerAdded=!1}return e.prototype._initialize=function(e,n){t.Validate.isNotNullOrUndefined(e,"component"),t.Validate.isNotNullOrUndefined(n,"serviceScope"),this._component=e,this._pendingRegistrations=new Map,this._dynamicDataManager=n.consume(r._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,n){this._assertNotDisposed(),this._assertInitialized(),t.Validate.isNonemptyString(e,"sourceId"),t.Validate.isNotNullOrUndefined(n,"callback"),-1!==this.getAvailableSources().map(function(e){return e.id}).indexOf(e)?(this._dynamicDataManager.registerSourceChanged(e,this._component,n),this._logFeatureEntry("RegisterSourceChanged",{sourceId:e})):this._addPendingRegistration({id:e,callback:n})},e.prototype.unregisterSourceChanged=function(e,n){this._assertNotDisposed(),this._assertInitialized(),t.Validate.isNonemptyString(e,"sourceId"),t.Validate.isNotNullOrUndefined(n,"callback");var a={id:e,callback:n};this._isRegistrationPending(a)?this._removePendingRegistration(a):(this._dynamicDataManager.unregisterSourceChanged(e,this._component,n),this._logFeatureEntry("UnregisterSourceChanged",{sourceId:e}))},e.prototype.registerPropertyChanged=function(e,n,a){this._assertNotDisposed(),this._assertInitialized(),t.Validate.isNonemptyString(e,"sourceId"),t.Validate.isNonemptyString(n,"propertyId"),t.Validate.isNotNullOrUndefined(a,"callback"),-1!==this.getAvailableSources().map(function(e){return e.id}).indexOf(e)?(this._dynamicDataManager.registerPropertyChanged(e,n,this._component,a),this._logFeatureEntry("RegisterPropertyChanged",{sourceId:e,propertyId:n})):this._addPendingRegistration({id:e,propertyId:n,callback:a})},e.prototype.unregisterPropertyChanged=function(e,n,a){this._assertNotDisposed(),this._assertInitialized(),t.Validate.isNonemptyString(e,"sourceId"),t.Validate.isNonemptyString(n,"propertyId"),t.Validate.isNotNullOrUndefined(a,"callback");var i={id:e,callback:a,propertyId:n};this._isRegistrationPending(i)?this._removePendingRegistration(i):(this._dynamicDataManager.unregisterPropertyChanged(e,n,this._component,a),this._logFeatureEntry("UnregisterPropertyChanged",{sourceId:e,propertyId:n}))},e.prototype.registerAvailableSourcesChanged=function(e){t.Validate.isNotNullOrUndefined(e,"callback"),this._assertNotDisposed(),this._assertInitialized(),this._dynamicDataManager.sourcesChangedEvent.add(this._component,e)},e.prototype.unregisterAvailableSourcesChanged=function(e){t.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 n=[];return this._dynamicDataManager.getSources().forEach(function(a){e.equals(t.Guid.tryParse(a.metadata.componentId)||t.Guid.empty)&&n.push(a)}),n},e.prototype.tryGetSource=function(e){return this._assertNotDisposed(),this._assertInitialized(),t.Validate.isNotNullOrUndefined(e,"id"),this._dynamicDataManager.tryGetSource(e)},e.prototype._getData=function(n){this._assertNotDisposed(),this._assertInitialized(),t.Validate.isNotNullOrUndefined(n,"dataReference");var a=this._dynamicDataManager.tryGetSource(n.sourceId);if(a){var i=a.getPropertyValue(n.property);return i&&n.propertyPath&&n.propertyPath.split(".").forEach(function(t){var n=t.split(e._jsonPathArrayRegex),a=n[0];if(i)if(Array.isArray(i)){var r=[];i.forEach(function(e){e.hasOwnProperty(a)&&r.push(e[a])});var o=n[1];if(n.length>1){var s=[];r.forEach(function(e){e.forEach(function(e){return s.push(e)})}),r=s}i=isNaN(parseInt(o,10))?r:r[o]}else i=i.hasOwnProperty(a)?i[a]:void 0}),i}},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 a=this._component.manifest.isInternal||!1,i={alias:this._component.manifest.alias,isInternal:a.toString()},r=new n._LogEntry("DynamicDataProvider",e,n._LogType.Event,o.merge(i,t));n._EngagementLogger.logEventWithLogEntry(r)},e._jsonPathArrayRegex=new RegExp(/\[|\]/),e}();var c=p(280);const d=JSON.parse('{"lw":"Source has already been initialized.","Yt":"\\u0022sendEvent()\\u0022 must be defined, when the \\u0022allowedEvents()\\u0022 returns a non-empty value.","C3":"Dynamic Data Source Manager has been disposed.","ad":"Dynamic Data Source Manager has not been initialized.","fT":"Dynamic Data Source has not been initialized.","Qm":"\\u0022{0}\\u0022 event is not allowed on the source \\u0022{1}\\u0022"}'),l=function(){function e(){this._src=void 0,this._isDisposed=!1,this._isInitialized=!1,this._logSource=n._LogSource.create("DynamicDataSourceManager")}return e.prototype._initialize=function(e,n){t.Validate.isNotNullOrUndefined(e,"component"),t.Validate.isNotNullOrUndefined(n,"serviceScope"),this._component=e,this._dynamicDataManager=n.consume(r._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(d.lw);this._callableFunctions=e,this._src=this._buildSource(this._component),this._dynamicDataManager.addSource(this._src),t._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){t.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(),t.Validate.isNotNullOrUndefined(e,"metadata"),e.alias=void 0,e.componentId=void 0,e.instanceId=void 0,(0,o.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(d.Yt);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?(0,o.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(0,o.cloneDeep)(this._callableFunctions.getPropertyDefinitions())},e.prototype._getPropertyValue=function(e){t.Validate.isNotNullOrUndefined(e,"propertyId");var a=new n._QosMonitor("DynamicDataSourceManager._getPropertyValue"),i=e.split(s._jsonPathArrayRegex);try{var r=this._callableFunctions.getPropertyValue(i.shift());if(i.length>0&&!isNaN(parseInt(i[0],10))&&Array.isArray(r)&&(r=r[i[0]]),void 0===r&&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 a.writeSuccess((0,c.__assign)((0,c.__assign)({},this._src&&this._src.metadata||{}),{sourceId:this._src&&this._src.id,propertyId:e})),(0,o.cloneDeep)(r)}catch(t){return a.writeUnexpectedFailure("NoPropertyId",t,{propertyId:e}),void n._TraceLogger.logErrorData({source:this._logSource,error:t})}},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){t.Validate.isNotNullOrUndefined(e,"propertyId");var a,i=new n._QosMonitor("DynamicDataSourceManager._getAnnotatedPropertyValue");if(this._callableFunctions.getAnnotatedPropertyValue){var r=e.split(s._jsonPathArrayRegex);try{a=this._callableFunctions.getAnnotatedPropertyValue(r.shift()),r.length>0&&!isNaN(parseInt(r[0],10))&&Array.isArray(a)&&(a=a[r[0]]),i.writeSuccess((0,c.__assign)((0,c.__assign)({},this._src&&this._src.metadata||{}),{sourceId:this._src&&this._src.id,annotatedPropertyValue:a,propertyId:e}))}catch(e){i.writeExpectedFailure("NoAnnotatedPropertyValue",e,{annotatedPropertyValue:a}),n._TraceLogger.logErrorData({source:this._logSource,error:e}),a=void 0}}return a||(a={sampleValue:this._getPropertyValue(e),metadata:void 0}),a},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===(0,o.findIndex)(this._allowedEvents(),{name:e}))throw new Error(t.Text.format(d.Qm,e,this._src.metadata.title))},e.prototype._assertNotDisposed=function(){if(this.isDisposed)throw new Error(d.C3)},e.prototype._assertInitialized=function(){if(!this._isInitialized)throw new Error(d.ad)},e.prototype._assertSourceExists=function(){if(!this._src)throw new Error(d.fT)},e.prototype._logFeatureEntry=function(e,t){var a=this._component.manifest.isInternal||!1,i={alias:this._component.manifest.alias,isInternal:a.toString()},r=new n._LogEntry("DynamicDataSourceManager",e,n._LogType.Event,o.merge(i,t));n._EngagementLogger.logEventWithLogEntry(r)},e}(),u=function(){function e(e){var r=this;this._isDisposed=!1,this._isServedFromLocalhost=!1,t.Validate.isNotNullOrUndefined(e,"parameters"),t.Validate.isNotNullOrUndefined(e.manifest,"manifest"),this.manifest=e.manifest;var o=this.manifest.loaderConfig;o&&o.internalModuleBaseUrls&&o.internalModuleBaseUrls.length&&(this._isServedFromLocalhost=/^http(s)?\:\/\/(localhost|127.0.0.1)/gim.test(o.internalModuleBaseUrls[0])),t.Validate.isNotNullOrUndefined(e.parentServiceScope,"parentServiceScope"),this._serviceScope=e.parentServiceScope.startNewChild(),t.Validate.isNotNullOrUndefined(e.loggingTag,"loggingTag"),this.serviceScope.provide(n._logSourceServiceKey,n._LogSource.create(e.loggingTag)),t.Validate.isNonemptyString(e.instanceId,"instanceId"),this._instanceId=e.instanceId,this._httpClient=this.serviceScope.createDefaultAndProvide(i.HttpClient.serviceKey),this._spHttpClient=this.serviceScope.createDefaultAndProvide(i.SPHttpClient.serviceKey),this._msGraphClientFactory=this.serviceScope.createDefaultAndProvide(i.MSGraphClientFactory.serviceKey),this._aadClientFactory=this.serviceScope.createDefaultAndProvide(i.AadHttpClientFactory.serviceKey),this._aadTokenFactory=this.serviceScope.createDefaultAndProvide(i.AadTokenProviderFactory.serviceKey),this.serviceScope.provide(t._ClientManifestData.serviceKey,new t._ClientManifestData(this.serviceScope,this.manifest)),this.serviceScope.whenFinished(function(){r._pageContext=r.serviceScope.consume(a.PageContext.serviceKey)}),this._dynamicDataProvider=new s,this._dynamicDataSourceManager=new l}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}(),f=function(){function e(n,a){this._hasValue=!1,this._isDisposed=!1,t.Validate.isNotNullOrUndefined(n,"provider"),this.__type=e._TYPE_NAME,this._provider=n,this._callbacks=new Set,this._pendingCallbacks=new Set,a?(this._pendingCallbacks.add(a),this._defaultCallback=a):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 n=this;t.Validate.isNonemptyString(e,"id"),this._value=void 0,this._hasValue=!1;var a=new Set;this._callbacks.forEach(function(e){return a.add(e)}),this._callbacks.forEach(function(e){return n.unregister(e)}),this._reference=new r.DynamicDataReference(e),this._sourceId=this._getSourceId(),a.forEach(function(e){return n.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||t._SPKillSwitch.isActivated("413769dc-5e0c-4609-9c86-bdf099fe84e3")){t.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||t._SPKillSwitch.isActivated("413769dc-5e0c-4609-9c86-bdf099fe84e3"))return t.Validate.isNotDisposed(this,"DynamicData"),this._hasValue?void 0:this._provider.tryGetSource(this._sourceId)},e.prototype.register=function(e){t.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){t.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 t.Validate.isNotDisposed(this,"DynamicData"),this._hasValue?"":this._reference.sourceId},e.prototype._getProperty=function(){return t.Validate.isNotDisposed(this,"DynamicData"),this._hasValue?"":this._reference.property},e.prototype._getPropertyPath=function(){return t.Validate.isNotDisposed(this,"DynamicData"),this._hasValue?"":this._reference.propertyPath||""},e.prototype._cloneDeep=function(e){return o.cloneDeepWith(e,function(e){if(e instanceof s)return e})},e.prototype._getPropertyToRegister=function(){return t.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||t._SPKillSwitch.isActivated("413769dc-5e0c-4609-9c86-bdf099fe84e3")){var e;t.Validate.isNotDisposed(this,"DynamicData");try{e=this._hasValue?this._value:this._provider._getData(this._reference)}catch(e){throw n._EngagementLogger.logEventWithLogEntry(e),e}return n._EngagementLogger.logEventWithLogEntry(new n._LogEntry("DynamicData","getData",n._LogType.Event,{value:JSON.stringify(this.value)})),e}},e._TYPE_NAME="DynamicProperty",e._arrayRegex=new RegExp(/\[\*\]$/),e}(),m=function(){function e(){}return e.load=function(t){return t||e._isLoaded?Promise.resolve():p.e(386).then(p.bind(p,521)).then(function(){e._isLoaded=!0})},e.forceLoad=function(t){try{return e._shouldLoad(t)?p.e(386).then(p.bind(p,521)).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 n=t.Version._tryParseSPFxVersion(e);return!n||n.lessThan(t.Version.parse("1.8.2"))}return e.loadLegacyFabricCss},e._shouldLoad=function(t){return!e._isLoaded&&e.needLegacyFabricCss(t)},e._isLoaded=!1,e}();var _=p(620),h=p(356),b=function(){function e(){}return e.serializeServerProcessedData=function(e,n,a){var i=this;this._forEachPropertyWithMetaData(e,n,function(e,r,s){r.shouldNotPersist&&o.set(n,e,void 0);var c=e,d=o.get(n,e);if(a&&"string"==typeof d&&d){if(a.htmlStrings&&r.isHtmlString?a.htmlStrings[c]=d:a.searchablePlainTexts&&r.isSearchablePlainText?a.searchablePlainTexts[c]=d:a.links&&r.isLink?a.links[c]=d:a.imageSources&&r.isImageSource?a.imageSources[c]=d:r.isComponentDependency&&(a.componentDependencies||(a.componentDependencies={}),a.componentDependencies[c]=d),r.customMetadata){var l={};if(r&&r.customMetadata)for(var u=function(e,c){var d=c;void 0!==s&&-1!==d.indexOf("*")&&(d=d.replace("*",s.toString())),i._validateAndIteratePath(d,n,function(i,s){if(void 0===s&&r.customMetadata){var c=o.get(n,i);a&&void 0!==c&&(t._SPKillSwitch.isActivated("bf085c27-422d-4b62-a93a-43efa89e77ee")?l[i]=c:l[e]=c)}})},f=0,p=Object.entries(r.customMetadata);f<p.length;f++){var m=p[f];u(m[0],m[1])}a.customMetadata||(a.customMetadata={}),a.customMetadata[c]=l}o.set(n,e,void 0)}})},e.reInstateServerProcessedData=function(e,a,i,r){var s=this,c=new Set;if(r&&this._forEachPropertyWithMetaData(e,a,function(e,i){if((0,_.X)()){if("b7dd04e1-19ce-4b24-9132-b60a1c2b910d"===r.id&&t._SPKillSwitch.isActivated("71b68bd4-eb7a-4330-93bd-dc6d382123c1"))return;var d=o.get(a,e);if(void 0!==d){var l=new n._QosMonitor("PropertyMetadataProcessor.clearMetadataValue");if(i.isLink&&(c.add(e),s._isSafeLink(d)||(l.writeUnexpectedFailure("ClearingLinkProperty",new Error(e)),o.set(a,e,void 0))),i.isHtmlString){c.add(e);var u=s._getSafeHtml(d);u!==d&&(l.writeUnexpectedFailure("SettingSafeHtml",new Error(e)),o.set(a,e,u))}l.hasEnded||l.writeSuccess()}}else"b7dd04e1-19ce-4b24-9132-b60a1c2b910d"!==r.id&&i.isHtmlString&&o.set(a,e,void 0)}),i)for(var d=0,l=[i.htmlStrings,i.searchablePlainTexts,i.imageSources,i.links,i.componentDependencies];d<l.length;d++){var u=l[d];if(u)for(var f=0,p=Object.entries(u);f<p.length;f++){var m=p[f],h=m[0],b=m[1];"string"==typeof b&&(o.set(a,h,b),(0,_.X)()&&c.delete(h))}}(0,_.X)()&&r&&c.size>0&&new n._QosMonitor("PropertyMetadataProcessor.serverProcessedContentMissing").writeUnexpectedFailure("Missing Content",void 0,{manifest:r.id,properties:Array.from(c).join(",")})},e._isSafeLink=function(e){try{var t=new URL(e);return h.SafeHtml.isSafeLinkProtocol(t.protocol)}catch(n){try{return t=new URL(e,window.location.origin),h.SafeHtml.isSafeLinkProtocol(t.protocol)}catch(e){return!1}}},e._getSafeHtml=function(e){return h.SafeHtml.clean(e)},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),s=o.get(t,r);if(!s)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 c=0;c<s.length;c++)n(e.replace("*","".concat(c)),c)}else n(e)},e}(),v={htmlString:1,link:2,imageSource:3,searchablePlainText:4},y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,c.__extends)(t,e),t}(t.SPEventArgs),S=function(){function e(n,a,i){this._id=e._instanceCount++,this.themeChangedEvent=new t.SPEvent(this._themeChangedEventName),a&&(this._theme=Object.freeze(a)),i&&(this._themeV2=Object.freeze(i))}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._themeV2=void 0,this._raiseEvent()},e.prototype._setTheme=function(e,n){t.Validate.isNotNullOrUndefined(e,"theme"),this._theme=Object.freeze(e),n&&(this._themeV2=Object.freeze(n)),this._raiseEvent()},e.prototype.tryGetTheme=function(){return this._theme},e.prototype.tryGetThemeV2=function(){return this._themeV2},e.prototype._raiseEvent=function(){t._SPEventManager.instance.raiseEvent(this._themeChangedEventName,{theme:this._theme,themeV2:this._themeV2})},e.serviceKey=t.ServiceKey.create("sp-component-base.ThemeProvider",e),e._themeChangedEventNameLiteral="ThemeProvider.themeChangedEvent",e._instanceCount=0,e}();p(424).loadStyles(".s_mwxHE_o5ljQ{background-color:transparent;height:100%;margin:5px;position:relative;width:100%}.s_bzcYC_o5ljQ{fill:#f4f4f4}",!0);const D=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="s_mwxHE_o5ljQ";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="s_bzcYC_o5ljQ";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}();var I=new RegExp("^https://[^/]*/");function x(e,t){if(!e)return t;var n=!1;return"/"!==t.charAt(t.length-1)&&(t+="/",n=!0),t=t.replace(I,"https://".concat(e,"/")),n&&(t=t.substr(0,t.length-1)),t}var C=p(519),O={CacheConfigMissmatch:"CacheConfigMissmatch",LateFlush:"LateFlush",CachedItemNotFound:"CachedItemNotFound",CacheExpired:"CacheExpired",NotSpecified:"NotSpecified",NotApplicable:"N/A"},w="N/A",E=function(){function e(){}return e.collect=function(n,a,i){var r=function(e){return C._PerformanceLogger.readComponentBreakdown(a,e)||C._PerformanceLogger.readTempData("".concat(a,".").concat(e))},o=r("start"),s=r("modulesLoaded"),c=r("init"),d=r("end"),l=!!r("displaySpinner"),u=Boolean(i&&i.legacyPageContext&&i.legacyPageContext.isMultiGeoTenant),f=w,p=w,m="N/A",_=O.NotApplicable;if(n.isInternal){var h=r("CacheHit"),b=r("CacheMiss"),g=r("prefetchedData");m=Boolean(h||b)?h?"true":"false":"N/A",_=e._getCacheMissReason(h,r);var v=C._PerformanceLogger.now(),y=C._PerformanceDataDimensions.Layout,S=C._PerformanceDataDimensions.DataProvider,D=C._PerformanceLogger.readFullEUPLBreakDown();Object.keys(D).forEach(function(e){e.indexOf(a)>-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=C._PerformanceLogger.getWebpartFlightsAndExperiments(a),x=this._getSyncRenderTime(p,r),E={alias:n.alias,isMultiGeo:u,isInternal:n.isInternal,isSpinnyShown:l,manifestId:n.id,moduleLoadTime:Math.floor(s-o),initTime:Math.floor(c-s),renderTime:Math.floor(d-c),syncRenderTime:x,scenarioId:C._PerformanceLogger.getScenarioId(),isFullPage:C._PerformanceLogger.fullPageLoad,dataProvider:f,layout:p,mySiteCacheHit:m,cacheMissReason:_,flights:I,storeAppId:n.storeAppId,mpnId:n.mpnId,componentDeveloperName:n.componentDeveloperName};return E.teamsHosted=t._BrowserUtilities.isTeamsHosted(),E},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(C._PerformanceDataDimensions.Layout+e)))),n},e._getCacheMissReason=function(e,t){if(e)return O.NotApplicable;var n=!!t("CacheMissConfigMismatch"),a=!!t("LateFlush"),i=!!t("CachedWebPartNotFound"),r=!!t("CacheExpired"),o=O.NotSpecified;return n?o=O.CacheConfigMissmatch:a?o=O.LateFlush:i?o=O.CachedItemNotFound:r&&(o=O.CacheExpired),o},e}(),A=function(){function e(e){this._serviceScope=e}return e.prototype.getClient=function(){var e=this;if(this._teamsAppsClient)return Promise.resolve(this._teamsAppsClient);if(!this._teamsAppsClientPromise){var t=new n._QosMonitor("DeferredTeamsAppsClient.LoadTeamsAppClient");this._teamsAppsClientPromise=p.e(216).then(p.bind(p,165)).then(function(n){var a=n.TeamsAppsClient;return e._teamsAppsClient=new a(e._serviceScope),t.writeSuccess(),e._teamsAppsClient}).catch(function(e){throw t.writeUnexpectedFailure(void 0,e),e})}return this._teamsAppsClientPromise},e.serviceKey=t.ServiceKey.create("sp-teams-apps-client",e),e}()})(),g})())})();
@@ -1,2 +0,0 @@
1
- (()=>{var e=document.currentScript;define("467dc675-7cc5-4709-8aac-78e3b71bd2f6_1.22.2",["@microsoft/sp-core-library","@microsoft/sp-diagnostics","@microsoft/sp-page-context","@microsoft/sp-http","@microsoft/sp-dynamic-data","@microsoft/sp-lodash-subset","tslib","@msinternal/sp-safehtml","@microsoft/load-themed-styles","@msinternal/sp-telemetry"],(t,n,a,i,r,o,s,c,d,l)=>(()=>{"use strict";var u={620:(e,t,n)=>{n.d(t,{T:()=>i,X:()=>r});var a=n(676);function i(){return a._SPFlight.isEnabled(60693)}function r(){return a._SPFlight.isEnabled(61389)}}
2
- ,424:e=>{e.exports=d},676:e=>{e.exports=t},207:e=>{e.exports=n},745:e=>{e.exports=r},909:e=>{e.exports=i},529:e=>{e.exports=o},408:e=>{e.exports=a},356:e=>{e.exports=c},519:e=>{e.exports=l},280:e=>{e.exports=s}},f={};function p(e){var t=f[e];if(void 0!==t)return t.exports;var n=f[e]={exports:{}};return u[e](n,n.exports,p),n.exports}p.m=u;var m,_,h,b={"216":"skrgwobJF/y7MofoykRoBfYDPwIzXd9Lh576XlFGFqI=","386":"XwNwPTP20Xz9tyNRQqw+a+H90RdT4Cs4L0veD9cc6DI="};p.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return p.d(t,{a:t}),t},p.d=(e,t)=>{for(var n in t)p.o(t,n)&&!p.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},p.f={},p.e=e=>Promise.all(Object.keys(p.f).reduce((t,n)=>(p.f[n](e,t),t),[])),p.u=e=>"chunk."+{216:"teams-apps-client",386:"legacy-third-party-fabric-core-localfont"}[e]+"_none_"+{216:"7354ef57db162cdd6004",386:"cf8b885e32d709b61f01"}[e]+".js",p.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),m={},_="467dc675-7cc5-4709-8aac-78e3b71bd2f6_1.22.2:",p.l=(e,t,n,a)=>{if(m[e])m[e].push(t);else{var i,r;if(void 0!==n)for(var o=document.getElementsByTagName("script"),s=0;s<o.length;s++){var c=o[s];if(c.getAttribute("src")==e||c.getAttribute("data-webpack")==_+n){i=c;break}}if(!i){r=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,p.nc&&i.setAttribute("nonce",p.nc),i.setAttribute("data-webpack",_+n),i.src=e,0!==i.src.indexOf(window.location.origin+"/")&&(i.crossOrigin="anonymous");var d=function(e){return"sha256-"+(b[e]||"Missing+Integrity+Hash+For+Script+Aborting=")}(a);d&&(i.integrity=d)}m[e]=[t];var l=(t,n)=>{i.onerror=i.onload=null,clearTimeout(u);var a=m[e];if(delete m[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach(e=>e(n)),t)return t(n)},u=setTimeout(l.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=l.bind(null,i.onerror),i.onload=l.bind(null,i.onload),r&&document.head.appendChild(i)}},p.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},h=e?e.src:"",p.p=h.slice(0,h.lastIndexOf("/")+1),(()=>{var e={826:0};p.f.j=(t,n)=>{var a=p.o(e,t)?e[t]:void 0;if(0!==a)if(a)n.push(a[2]);else{var i=new Promise((n,i)=>a=e[t]=[n,i]);n.push(a[2]=i);var r=p.p+p.u(t),o=new Error;p.l(r,n=>{if(p.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var i=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;o.message="Loading chunk "+t+" failed.\n("+i+": "+r+")",o.name="ChunkLoadError",o.type=i,o.request=r,a[1](o)}},"chunk-"+t,t)}};var t=(t,n)=>{var a,i,[r,o,s]=n,c=0;if(r.some(t=>0!==e[t])){for(a in o)p.o(o,a)&&(p.m[a]=o[a]);s&&s(p)}for(t&&t(n);c<r.length;c++)i=r[c],p.o(e,i)&&e[i]&&e[i][0](),e[i]=0},n=self["webpackJsonp_467dc675-7cc5-4709-8aac-78e3b71bd2f6_1.22.2"]=self["webpackJsonp_467dc675-7cc5-4709-8aac-78e3b71bd2f6_1.22.2"]||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var g={};return(()=>{p.r(g),p.d(g,{BaseComponent:()=>e,BaseComponentContext:()=>u,DynamicDataProvider:()=>s,DynamicDataSourceManager:()=>l,DynamicProperty:()=>f,ThemeChangedEventArgs:()=>y,ThemeProvider:()=>S,_CacheMissReason:()=>O,_DeferredTeamsAppsClient:()=>A,_LegacyThirdPartyFabricCoreLoader:()=>m,_PropertyMetadataProcessor:()=>b,_ServerProcessedDataType:()=>v,_ShimmerFactory:()=>D,_WebPartLoadDataCollector:()=>E,_ensureIsolatedDomainUrl:()=>x});const e=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}();var t=p(676),n=p(207),a=p(408),i=p(909),r=p(745),o=p(529);const s=function(){function e(){this._isDisposed=!1,this._isInitialized=!1,this._isSourcesChangedEventListenerAdded=!1}return e.prototype._initialize=function(e,n){t.Validate.isNotNullOrUndefined(e,"component"),t.Validate.isNotNullOrUndefined(n,"serviceScope"),this._component=e,this._pendingRegistrations=new Map,this._dynamicDataManager=n.consume(r._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,n){this._assertNotDisposed(),this._assertInitialized(),t.Validate.isNonemptyString(e,"sourceId"),t.Validate.isNotNullOrUndefined(n,"callback"),-1!==this.getAvailableSources().map(function(e){return e.id}).indexOf(e)?(this._dynamicDataManager.registerSourceChanged(e,this._component,n),this._logFeatureEntry("RegisterSourceChanged",{sourceId:e})):this._addPendingRegistration({id:e,callback:n})},e.prototype.unregisterSourceChanged=function(e,n){this._assertNotDisposed(),this._assertInitialized(),t.Validate.isNonemptyString(e,"sourceId"),t.Validate.isNotNullOrUndefined(n,"callback");var a={id:e,callback:n};this._isRegistrationPending(a)?this._removePendingRegistration(a):(this._dynamicDataManager.unregisterSourceChanged(e,this._component,n),this._logFeatureEntry("UnregisterSourceChanged",{sourceId:e}))},e.prototype.registerPropertyChanged=function(e,n,a){this._assertNotDisposed(),this._assertInitialized(),t.Validate.isNonemptyString(e,"sourceId"),t.Validate.isNonemptyString(n,"propertyId"),t.Validate.isNotNullOrUndefined(a,"callback"),-1!==this.getAvailableSources().map(function(e){return e.id}).indexOf(e)?(this._dynamicDataManager.registerPropertyChanged(e,n,this._component,a),this._logFeatureEntry("RegisterPropertyChanged",{sourceId:e,propertyId:n})):this._addPendingRegistration({id:e,propertyId:n,callback:a})},e.prototype.unregisterPropertyChanged=function(e,n,a){this._assertNotDisposed(),this._assertInitialized(),t.Validate.isNonemptyString(e,"sourceId"),t.Validate.isNonemptyString(n,"propertyId"),t.Validate.isNotNullOrUndefined(a,"callback");var i={id:e,callback:a,propertyId:n};this._isRegistrationPending(i)?this._removePendingRegistration(i):(this._dynamicDataManager.unregisterPropertyChanged(e,n,this._component,a),this._logFeatureEntry("UnregisterPropertyChanged",{sourceId:e,propertyId:n}))},e.prototype.registerAvailableSourcesChanged=function(e){t.Validate.isNotNullOrUndefined(e,"callback"),this._assertNotDisposed(),this._assertInitialized(),this._dynamicDataManager.sourcesChangedEvent.add(this._component,e)},e.prototype.unregisterAvailableSourcesChanged=function(e){t.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 n=[];return this._dynamicDataManager.getSources().forEach(function(a){e.equals(t.Guid.tryParse(a.metadata.componentId)||t.Guid.empty)&&n.push(a)}),n},e.prototype.tryGetSource=function(e){return this._assertNotDisposed(),this._assertInitialized(),t.Validate.isNotNullOrUndefined(e,"id"),this._dynamicDataManager.tryGetSource(e)},e.prototype._getData=function(n){this._assertNotDisposed(),this._assertInitialized(),t.Validate.isNotNullOrUndefined(n,"dataReference");var a=this._dynamicDataManager.tryGetSource(n.sourceId);if(a){var i=a.getPropertyValue(n.property);return i&&n.propertyPath&&n.propertyPath.split(".").forEach(function(t){var n=t.split(e._jsonPathArrayRegex),a=n[0];if(i)if(Array.isArray(i)){var r=[];i.forEach(function(e){e.hasOwnProperty(a)&&r.push(e[a])});var o=n[1];if(n.length>1){var s=[];r.forEach(function(e){e.forEach(function(e){return s.push(e)})}),r=s}i=isNaN(parseInt(o,10))?r:r[o]}else i=i.hasOwnProperty(a)?i[a]:void 0}),i}},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 a=this._component.manifest.isInternal||!1,i={alias:this._component.manifest.alias,isInternal:a.toString()},r=new n._LogEntry("DynamicDataProvider",e,n._LogType.Event,o.merge(i,t));n._EngagementLogger.logEventWithLogEntry(r)},e._jsonPathArrayRegex=new RegExp(/\[|\]/),e}();var c=p(280);const d=JSON.parse('{"lw":"[!!--##Śōũŕćē ĥàś àĺŕēàďŷ ƀēēń ĩńĩţĩàĺĩźēď.##--!!]","Yt":"[!!--##\\u0022śēńďĒvēńţ()\\u0022 mũśţ ƀē ďēƒĩńēď, ŵĥēń ţĥē \\u0022àĺĺōŵēďĒvēńţś()\\u0022 ŕēţũŕńś à ńōń-ēmƥţŷ vàĺũē.##--!!]","C3":"[!!--##Ďŷńàmĩć Ďàţà Śōũŕćē Màńàĝēŕ ĥàś ƀēēń ďĩśƥōśēď.##--!!]","ad":"[!!--##Ďŷńàmĩć Ďàţà Śōũŕćē Màńàĝēŕ ĥàś ńōţ ƀēēń ĩńĩţĩàĺĩźēď.##--!!]","fT":"[!!--##Ďŷńàmĩć Ďàţà Śōũŕćē ĥàś ńōţ ƀēēń ĩńĩţĩàĺĩźēď.##--!!]","Qm":"[!!--##\\u0022{0}\\u0022 ēvēńţ ĩś ńōţ àĺĺōŵēď ōń ţĥē śōũŕćē \\u0022{1}\\u0022##--!!]"}'),l=function(){function e(){this._src=void 0,this._isDisposed=!1,this._isInitialized=!1,this._logSource=n._LogSource.create("DynamicDataSourceManager")}return e.prototype._initialize=function(e,n){t.Validate.isNotNullOrUndefined(e,"component"),t.Validate.isNotNullOrUndefined(n,"serviceScope"),this._component=e,this._dynamicDataManager=n.consume(r._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(d.lw);this._callableFunctions=e,this._src=this._buildSource(this._component),this._dynamicDataManager.addSource(this._src),t._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){t.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(),t.Validate.isNotNullOrUndefined(e,"metadata"),e.alias=void 0,e.componentId=void 0,e.instanceId=void 0,(0,o.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(d.Yt);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?(0,o.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(0,o.cloneDeep)(this._callableFunctions.getPropertyDefinitions())},e.prototype._getPropertyValue=function(e){t.Validate.isNotNullOrUndefined(e,"propertyId");var a=new n._QosMonitor("DynamicDataSourceManager._getPropertyValue"),i=e.split(s._jsonPathArrayRegex);try{var r=this._callableFunctions.getPropertyValue(i.shift());if(i.length>0&&!isNaN(parseInt(i[0],10))&&Array.isArray(r)&&(r=r[i[0]]),void 0===r&&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 a.writeSuccess((0,c.__assign)((0,c.__assign)({},this._src&&this._src.metadata||{}),{sourceId:this._src&&this._src.id,propertyId:e})),(0,o.cloneDeep)(r)}catch(t){return a.writeUnexpectedFailure("NoPropertyId",t,{propertyId:e}),void n._TraceLogger.logErrorData({source:this._logSource,error:t})}},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){t.Validate.isNotNullOrUndefined(e,"propertyId");var a,i=new n._QosMonitor("DynamicDataSourceManager._getAnnotatedPropertyValue");if(this._callableFunctions.getAnnotatedPropertyValue){var r=e.split(s._jsonPathArrayRegex);try{a=this._callableFunctions.getAnnotatedPropertyValue(r.shift()),r.length>0&&!isNaN(parseInt(r[0],10))&&Array.isArray(a)&&(a=a[r[0]]),i.writeSuccess((0,c.__assign)((0,c.__assign)({},this._src&&this._src.metadata||{}),{sourceId:this._src&&this._src.id,annotatedPropertyValue:a,propertyId:e}))}catch(e){i.writeExpectedFailure("NoAnnotatedPropertyValue",e,{annotatedPropertyValue:a}),n._TraceLogger.logErrorData({source:this._logSource,error:e}),a=void 0}}return a||(a={sampleValue:this._getPropertyValue(e),metadata:void 0}),a},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===(0,o.findIndex)(this._allowedEvents(),{name:e}))throw new Error(t.Text.format(d.Qm,e,this._src.metadata.title))},e.prototype._assertNotDisposed=function(){if(this.isDisposed)throw new Error(d.C3)},e.prototype._assertInitialized=function(){if(!this._isInitialized)throw new Error(d.ad)},e.prototype._assertSourceExists=function(){if(!this._src)throw new Error(d.fT)},e.prototype._logFeatureEntry=function(e,t){var a=this._component.manifest.isInternal||!1,i={alias:this._component.manifest.alias,isInternal:a.toString()},r=new n._LogEntry("DynamicDataSourceManager",e,n._LogType.Event,o.merge(i,t));n._EngagementLogger.logEventWithLogEntry(r)},e}(),u=function(){function e(e){var r=this;this._isDisposed=!1,this._isServedFromLocalhost=!1,t.Validate.isNotNullOrUndefined(e,"parameters"),t.Validate.isNotNullOrUndefined(e.manifest,"manifest"),this.manifest=e.manifest;var o=this.manifest.loaderConfig;o&&o.internalModuleBaseUrls&&o.internalModuleBaseUrls.length&&(this._isServedFromLocalhost=/^http(s)?\:\/\/(localhost|127.0.0.1)/gim.test(o.internalModuleBaseUrls[0])),t.Validate.isNotNullOrUndefined(e.parentServiceScope,"parentServiceScope"),this._serviceScope=e.parentServiceScope.startNewChild(),t.Validate.isNotNullOrUndefined(e.loggingTag,"loggingTag"),this.serviceScope.provide(n._logSourceServiceKey,n._LogSource.create(e.loggingTag)),t.Validate.isNonemptyString(e.instanceId,"instanceId"),this._instanceId=e.instanceId,this._httpClient=this.serviceScope.createDefaultAndProvide(i.HttpClient.serviceKey),this._spHttpClient=this.serviceScope.createDefaultAndProvide(i.SPHttpClient.serviceKey),this._msGraphClientFactory=this.serviceScope.createDefaultAndProvide(i.MSGraphClientFactory.serviceKey),this._aadClientFactory=this.serviceScope.createDefaultAndProvide(i.AadHttpClientFactory.serviceKey),this._aadTokenFactory=this.serviceScope.createDefaultAndProvide(i.AadTokenProviderFactory.serviceKey),this.serviceScope.provide(t._ClientManifestData.serviceKey,new t._ClientManifestData(this.serviceScope,this.manifest)),this.serviceScope.whenFinished(function(){r._pageContext=r.serviceScope.consume(a.PageContext.serviceKey)}),this._dynamicDataProvider=new s,this._dynamicDataSourceManager=new l}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}(),f=function(){function e(n,a){this._hasValue=!1,this._isDisposed=!1,t.Validate.isNotNullOrUndefined(n,"provider"),this.__type=e._TYPE_NAME,this._provider=n,this._callbacks=new Set,this._pendingCallbacks=new Set,a?(this._pendingCallbacks.add(a),this._defaultCallback=a):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 n=this;t.Validate.isNonemptyString(e,"id"),this._value=void 0,this._hasValue=!1;var a=new Set;this._callbacks.forEach(function(e){return a.add(e)}),this._callbacks.forEach(function(e){return n.unregister(e)}),this._reference=new r.DynamicDataReference(e),this._sourceId=this._getSourceId(),a.forEach(function(e){return n.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||t._SPKillSwitch.isActivated("413769dc-5e0c-4609-9c86-bdf099fe84e3")){t.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||t._SPKillSwitch.isActivated("413769dc-5e0c-4609-9c86-bdf099fe84e3"))return t.Validate.isNotDisposed(this,"DynamicData"),this._hasValue?void 0:this._provider.tryGetSource(this._sourceId)},e.prototype.register=function(e){t.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){t.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 t.Validate.isNotDisposed(this,"DynamicData"),this._hasValue?"":this._reference.sourceId},e.prototype._getProperty=function(){return t.Validate.isNotDisposed(this,"DynamicData"),this._hasValue?"":this._reference.property},e.prototype._getPropertyPath=function(){return t.Validate.isNotDisposed(this,"DynamicData"),this._hasValue?"":this._reference.propertyPath||""},e.prototype._cloneDeep=function(e){return o.cloneDeepWith(e,function(e){if(e instanceof s)return e})},e.prototype._getPropertyToRegister=function(){return t.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||t._SPKillSwitch.isActivated("413769dc-5e0c-4609-9c86-bdf099fe84e3")){var e;t.Validate.isNotDisposed(this,"DynamicData");try{e=this._hasValue?this._value:this._provider._getData(this._reference)}catch(e){throw n._EngagementLogger.logEventWithLogEntry(e),e}return n._EngagementLogger.logEventWithLogEntry(new n._LogEntry("DynamicData","getData",n._LogType.Event,{value:JSON.stringify(this.value)})),e}},e._TYPE_NAME="DynamicProperty",e._arrayRegex=new RegExp(/\[\*\]$/),e}(),m=function(){function e(){}return e.load=function(t){return t||e._isLoaded?Promise.resolve():p.e(386).then(p.bind(p,521)).then(function(){e._isLoaded=!0})},e.forceLoad=function(t){try{return e._shouldLoad(t)?p.e(386).then(p.bind(p,521)).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 n=t.Version._tryParseSPFxVersion(e);return!n||n.lessThan(t.Version.parse("1.8.2"))}return e.loadLegacyFabricCss},e._shouldLoad=function(t){return!e._isLoaded&&e.needLegacyFabricCss(t)},e._isLoaded=!1,e}();var _=p(620),h=p(356),b=function(){function e(){}return e.serializeServerProcessedData=function(e,n,a){var i=this;this._forEachPropertyWithMetaData(e,n,function(e,r,s){r.shouldNotPersist&&o.set(n,e,void 0);var c=e,d=o.get(n,e);if(a&&"string"==typeof d&&d){if(a.htmlStrings&&r.isHtmlString?a.htmlStrings[c]=d:a.searchablePlainTexts&&r.isSearchablePlainText?a.searchablePlainTexts[c]=d:a.links&&r.isLink?a.links[c]=d:a.imageSources&&r.isImageSource?a.imageSources[c]=d:r.isComponentDependency&&(a.componentDependencies||(a.componentDependencies={}),a.componentDependencies[c]=d),r.customMetadata){var l={};if(r&&r.customMetadata)for(var u=function(e,c){var d=c;void 0!==s&&-1!==d.indexOf("*")&&(d=d.replace("*",s.toString())),i._validateAndIteratePath(d,n,function(i,s){if(void 0===s&&r.customMetadata){var c=o.get(n,i);a&&void 0!==c&&(t._SPKillSwitch.isActivated("bf085c27-422d-4b62-a93a-43efa89e77ee")?l[i]=c:l[e]=c)}})},f=0,p=Object.entries(r.customMetadata);f<p.length;f++){var m=p[f];u(m[0],m[1])}a.customMetadata||(a.customMetadata={}),a.customMetadata[c]=l}o.set(n,e,void 0)}})},e.reInstateServerProcessedData=function(e,a,i,r){var s=this,c=new Set;if(r&&this._forEachPropertyWithMetaData(e,a,function(e,i){if((0,_.X)()){if("b7dd04e1-19ce-4b24-9132-b60a1c2b910d"===r.id&&t._SPKillSwitch.isActivated("71b68bd4-eb7a-4330-93bd-dc6d382123c1"))return;var d=o.get(a,e);if(void 0!==d){var l=new n._QosMonitor("PropertyMetadataProcessor.clearMetadataValue");if(i.isLink&&(c.add(e),s._isSafeLink(d)||(l.writeUnexpectedFailure("ClearingLinkProperty",new Error(e)),o.set(a,e,void 0))),i.isHtmlString){c.add(e);var u=s._getSafeHtml(d);u!==d&&(l.writeUnexpectedFailure("SettingSafeHtml",new Error(e)),o.set(a,e,u))}l.hasEnded||l.writeSuccess()}}else"b7dd04e1-19ce-4b24-9132-b60a1c2b910d"!==r.id&&i.isHtmlString&&o.set(a,e,void 0)}),i)for(var d=0,l=[i.htmlStrings,i.searchablePlainTexts,i.imageSources,i.links,i.componentDependencies];d<l.length;d++){var u=l[d];if(u)for(var f=0,p=Object.entries(u);f<p.length;f++){var m=p[f],h=m[0],b=m[1];"string"==typeof b&&(o.set(a,h,b),(0,_.X)()&&c.delete(h))}}(0,_.X)()&&r&&c.size>0&&new n._QosMonitor("PropertyMetadataProcessor.serverProcessedContentMissing").writeUnexpectedFailure("Missing Content",void 0,{manifest:r.id,properties:Array.from(c).join(",")})},e._isSafeLink=function(e){try{var t=new URL(e);return h.SafeHtml.isSafeLinkProtocol(t.protocol)}catch(n){try{return t=new URL(e,window.location.origin),h.SafeHtml.isSafeLinkProtocol(t.protocol)}catch(e){return!1}}},e._getSafeHtml=function(e){return h.SafeHtml.clean(e)},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),s=o.get(t,r);if(!s)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 c=0;c<s.length;c++)n(e.replace("*","".concat(c)),c)}else n(e)},e}(),v={htmlString:1,link:2,imageSource:3,searchablePlainText:4},y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,c.__extends)(t,e),t}(t.SPEventArgs),S=function(){function e(n,a,i){this._id=e._instanceCount++,this.themeChangedEvent=new t.SPEvent(this._themeChangedEventName),a&&(this._theme=Object.freeze(a)),i&&(this._themeV2=Object.freeze(i))}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._themeV2=void 0,this._raiseEvent()},e.prototype._setTheme=function(e,n){t.Validate.isNotNullOrUndefined(e,"theme"),this._theme=Object.freeze(e),n&&(this._themeV2=Object.freeze(n)),this._raiseEvent()},e.prototype.tryGetTheme=function(){return this._theme},e.prototype.tryGetThemeV2=function(){return this._themeV2},e.prototype._raiseEvent=function(){t._SPEventManager.instance.raiseEvent(this._themeChangedEventName,{theme:this._theme,themeV2:this._themeV2})},e.serviceKey=t.ServiceKey.create("sp-component-base.ThemeProvider",e),e._themeChangedEventNameLiteral="ThemeProvider.themeChangedEvent",e._instanceCount=0,e}();p(424).loadStyles(".s_mwxHE_o5ljQ{background-color:transparent;height:100%;margin:5px;position:relative;width:100%}.s_bzcYC_o5ljQ{fill:#f4f4f4}",!0);const D=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="s_mwxHE_o5ljQ";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="s_bzcYC_o5ljQ";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}();var I=new RegExp("^https://[^/]*/");function x(e,t){if(!e)return t;var n=!1;return"/"!==t.charAt(t.length-1)&&(t+="/",n=!0),t=t.replace(I,"https://".concat(e,"/")),n&&(t=t.substr(0,t.length-1)),t}var C=p(519),O={CacheConfigMissmatch:"CacheConfigMissmatch",LateFlush:"LateFlush",CachedItemNotFound:"CachedItemNotFound",CacheExpired:"CacheExpired",NotSpecified:"NotSpecified",NotApplicable:"N/A"},w="N/A",E=function(){function e(){}return e.collect=function(n,a,i){var r=function(e){return C._PerformanceLogger.readComponentBreakdown(a,e)||C._PerformanceLogger.readTempData("".concat(a,".").concat(e))},o=r("start"),s=r("modulesLoaded"),c=r("init"),d=r("end"),l=!!r("displaySpinner"),u=Boolean(i&&i.legacyPageContext&&i.legacyPageContext.isMultiGeoTenant),f=w,p=w,m="N/A",_=O.NotApplicable;if(n.isInternal){var h=r("CacheHit"),b=r("CacheMiss"),g=r("prefetchedData");m=Boolean(h||b)?h?"true":"false":"N/A",_=e._getCacheMissReason(h,r);var v=C._PerformanceLogger.now(),y=C._PerformanceDataDimensions.Layout,S=C._PerformanceDataDimensions.DataProvider,D=C._PerformanceLogger.readFullEUPLBreakDown();Object.keys(D).forEach(function(e){e.indexOf(a)>-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=C._PerformanceLogger.getWebpartFlightsAndExperiments(a),x=this._getSyncRenderTime(p,r),E={alias:n.alias,isMultiGeo:u,isInternal:n.isInternal,isSpinnyShown:l,manifestId:n.id,moduleLoadTime:Math.floor(s-o),initTime:Math.floor(c-s),renderTime:Math.floor(d-c),syncRenderTime:x,scenarioId:C._PerformanceLogger.getScenarioId(),isFullPage:C._PerformanceLogger.fullPageLoad,dataProvider:f,layout:p,mySiteCacheHit:m,cacheMissReason:_,flights:I,storeAppId:n.storeAppId,mpnId:n.mpnId,componentDeveloperName:n.componentDeveloperName};return E.teamsHosted=t._BrowserUtilities.isTeamsHosted(),E},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(C._PerformanceDataDimensions.Layout+e)))),n},e._getCacheMissReason=function(e,t){if(e)return O.NotApplicable;var n=!!t("CacheMissConfigMismatch"),a=!!t("LateFlush"),i=!!t("CachedWebPartNotFound"),r=!!t("CacheExpired"),o=O.NotSpecified;return n?o=O.CacheConfigMissmatch:a?o=O.LateFlush:i?o=O.CachedItemNotFound:r&&(o=O.CacheExpired),o},e}(),A=function(){function e(e){this._serviceScope=e}return e.prototype.getClient=function(){var e=this;if(this._teamsAppsClient)return Promise.resolve(this._teamsAppsClient);if(!this._teamsAppsClientPromise){var t=new n._QosMonitor("DeferredTeamsAppsClient.LoadTeamsAppClient");this._teamsAppsClientPromise=p.e(216).then(p.bind(p,165)).then(function(n){var a=n.TeamsAppsClient;return e._teamsAppsClient=new a(e._serviceScope),t.writeSuccess(),e._teamsAppsClient}).catch(function(e){throw t.writeUnexpectedFailure(void 0,e),e})}return this._teamsAppsClientPromise},e.serviceKey=t.ServiceKey.create("sp-teams-apps-client",e),e}()})(),g})())})();
@@ -1,2 +0,0 @@
1
- (()=>{var e=document.currentScript;define("467dc675-7cc5-4709-8aac-78e3b71bd2f6_1.22.2",["@microsoft/sp-core-library","@microsoft/sp-diagnostics","@microsoft/sp-page-context","@microsoft/sp-http","@microsoft/sp-dynamic-data","@microsoft/sp-lodash-subset","tslib","@msinternal/sp-safehtml","@microsoft/load-themed-styles","@msinternal/sp-telemetry"],(t,n,a,i,r,o,s,c,d,l)=>(()=>{"use strict";var u={620:(e,t,n)=>{n.d(t,{T:()=>i,X:()=>r});var a=n(676);function i(){return a._SPFlight.isEnabled(60693)}function r(){return a._SPFlight.isEnabled(61389)}}
2
- ,424:e=>{e.exports=d},676:e=>{e.exports=t},207:e=>{e.exports=n},745:e=>{e.exports=r},909:e=>{e.exports=i},529:e=>{e.exports=o},408:e=>{e.exports=a},356:e=>{e.exports=c},519:e=>{e.exports=l},280:e=>{e.exports=s}},f={};function p(e){var t=f[e];if(void 0!==t)return t.exports;var n=f[e]={exports:{}};return u[e](n,n.exports,p),n.exports}p.m=u;var m,_,h,b={"216":"skrgwobJF/y7MofoykRoBfYDPwIzXd9Lh576XlFGFqI=","386":"XwNwPTP20Xz9tyNRQqw+a+H90RdT4Cs4L0veD9cc6DI="};p.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return p.d(t,{a:t}),t},p.d=(e,t)=>{for(var n in t)p.o(t,n)&&!p.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},p.f={},p.e=e=>Promise.all(Object.keys(p.f).reduce((t,n)=>(p.f[n](e,t),t),[])),p.u=e=>"chunk."+{216:"teams-apps-client",386:"legacy-third-party-fabric-core-localfont"}[e]+"_none_"+{216:"7354ef57db162cdd6004",386:"cf8b885e32d709b61f01"}[e]+".js",p.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),m={},_="467dc675-7cc5-4709-8aac-78e3b71bd2f6_1.22.2:",p.l=(e,t,n,a)=>{if(m[e])m[e].push(t);else{var i,r;if(void 0!==n)for(var o=document.getElementsByTagName("script"),s=0;s<o.length;s++){var c=o[s];if(c.getAttribute("src")==e||c.getAttribute("data-webpack")==_+n){i=c;break}}if(!i){r=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,p.nc&&i.setAttribute("nonce",p.nc),i.setAttribute("data-webpack",_+n),i.src=e,0!==i.src.indexOf(window.location.origin+"/")&&(i.crossOrigin="anonymous");var d=function(e){return"sha256-"+(b[e]||"Missing+Integrity+Hash+For+Script+Aborting=")}(a);d&&(i.integrity=d)}m[e]=[t];var l=(t,n)=>{i.onerror=i.onload=null,clearTimeout(u);var a=m[e];if(delete m[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach(e=>e(n)),t)return t(n)},u=setTimeout(l.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=l.bind(null,i.onerror),i.onload=l.bind(null,i.onload),r&&document.head.appendChild(i)}},p.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},h=e?e.src:"",p.p=h.slice(0,h.lastIndexOf("/")+1),(()=>{var e={826:0};p.f.j=(t,n)=>{var a=p.o(e,t)?e[t]:void 0;if(0!==a)if(a)n.push(a[2]);else{var i=new Promise((n,i)=>a=e[t]=[n,i]);n.push(a[2]=i);var r=p.p+p.u(t),o=new Error;p.l(r,n=>{if(p.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var i=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;o.message="Loading chunk "+t+" failed.\n("+i+": "+r+")",o.name="ChunkLoadError",o.type=i,o.request=r,a[1](o)}},"chunk-"+t,t)}};var t=(t,n)=>{var a,i,[r,o,s]=n,c=0;if(r.some(t=>0!==e[t])){for(a in o)p.o(o,a)&&(p.m[a]=o[a]);s&&s(p)}for(t&&t(n);c<r.length;c++)i=r[c],p.o(e,i)&&e[i]&&e[i][0](),e[i]=0},n=self["webpackJsonp_467dc675-7cc5-4709-8aac-78e3b71bd2f6_1.22.2"]=self["webpackJsonp_467dc675-7cc5-4709-8aac-78e3b71bd2f6_1.22.2"]||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var g={};return(()=>{p.r(g),p.d(g,{BaseComponent:()=>e,BaseComponentContext:()=>u,DynamicDataProvider:()=>s,DynamicDataSourceManager:()=>l,DynamicProperty:()=>f,ThemeChangedEventArgs:()=>y,ThemeProvider:()=>S,_CacheMissReason:()=>O,_DeferredTeamsAppsClient:()=>A,_LegacyThirdPartyFabricCoreLoader:()=>m,_PropertyMetadataProcessor:()=>b,_ServerProcessedDataType:()=>v,_ShimmerFactory:()=>D,_WebPartLoadDataCollector:()=>E,_ensureIsolatedDomainUrl:()=>x});const e=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}();var t=p(676),n=p(207),a=p(408),i=p(909),r=p(745),o=p(529);const s=function(){function e(){this._isDisposed=!1,this._isInitialized=!1,this._isSourcesChangedEventListenerAdded=!1}return e.prototype._initialize=function(e,n){t.Validate.isNotNullOrUndefined(e,"component"),t.Validate.isNotNullOrUndefined(n,"serviceScope"),this._component=e,this._pendingRegistrations=new Map,this._dynamicDataManager=n.consume(r._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,n){this._assertNotDisposed(),this._assertInitialized(),t.Validate.isNonemptyString(e,"sourceId"),t.Validate.isNotNullOrUndefined(n,"callback"),-1!==this.getAvailableSources().map(function(e){return e.id}).indexOf(e)?(this._dynamicDataManager.registerSourceChanged(e,this._component,n),this._logFeatureEntry("RegisterSourceChanged",{sourceId:e})):this._addPendingRegistration({id:e,callback:n})},e.prototype.unregisterSourceChanged=function(e,n){this._assertNotDisposed(),this._assertInitialized(),t.Validate.isNonemptyString(e,"sourceId"),t.Validate.isNotNullOrUndefined(n,"callback");var a={id:e,callback:n};this._isRegistrationPending(a)?this._removePendingRegistration(a):(this._dynamicDataManager.unregisterSourceChanged(e,this._component,n),this._logFeatureEntry("UnregisterSourceChanged",{sourceId:e}))},e.prototype.registerPropertyChanged=function(e,n,a){this._assertNotDisposed(),this._assertInitialized(),t.Validate.isNonemptyString(e,"sourceId"),t.Validate.isNonemptyString(n,"propertyId"),t.Validate.isNotNullOrUndefined(a,"callback"),-1!==this.getAvailableSources().map(function(e){return e.id}).indexOf(e)?(this._dynamicDataManager.registerPropertyChanged(e,n,this._component,a),this._logFeatureEntry("RegisterPropertyChanged",{sourceId:e,propertyId:n})):this._addPendingRegistration({id:e,propertyId:n,callback:a})},e.prototype.unregisterPropertyChanged=function(e,n,a){this._assertNotDisposed(),this._assertInitialized(),t.Validate.isNonemptyString(e,"sourceId"),t.Validate.isNonemptyString(n,"propertyId"),t.Validate.isNotNullOrUndefined(a,"callback");var i={id:e,callback:a,propertyId:n};this._isRegistrationPending(i)?this._removePendingRegistration(i):(this._dynamicDataManager.unregisterPropertyChanged(e,n,this._component,a),this._logFeatureEntry("UnregisterPropertyChanged",{sourceId:e,propertyId:n}))},e.prototype.registerAvailableSourcesChanged=function(e){t.Validate.isNotNullOrUndefined(e,"callback"),this._assertNotDisposed(),this._assertInitialized(),this._dynamicDataManager.sourcesChangedEvent.add(this._component,e)},e.prototype.unregisterAvailableSourcesChanged=function(e){t.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 n=[];return this._dynamicDataManager.getSources().forEach(function(a){e.equals(t.Guid.tryParse(a.metadata.componentId)||t.Guid.empty)&&n.push(a)}),n},e.prototype.tryGetSource=function(e){return this._assertNotDisposed(),this._assertInitialized(),t.Validate.isNotNullOrUndefined(e,"id"),this._dynamicDataManager.tryGetSource(e)},e.prototype._getData=function(n){this._assertNotDisposed(),this._assertInitialized(),t.Validate.isNotNullOrUndefined(n,"dataReference");var a=this._dynamicDataManager.tryGetSource(n.sourceId);if(a){var i=a.getPropertyValue(n.property);return i&&n.propertyPath&&n.propertyPath.split(".").forEach(function(t){var n=t.split(e._jsonPathArrayRegex),a=n[0];if(i)if(Array.isArray(i)){var r=[];i.forEach(function(e){e.hasOwnProperty(a)&&r.push(e[a])});var o=n[1];if(n.length>1){var s=[];r.forEach(function(e){e.forEach(function(e){return s.push(e)})}),r=s}i=isNaN(parseInt(o,10))?r:r[o]}else i=i.hasOwnProperty(a)?i[a]:void 0}),i}},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 a=this._component.manifest.isInternal||!1,i={alias:this._component.manifest.alias,isInternal:a.toString()},r=new n._LogEntry("DynamicDataProvider",e,n._LogType.Event,o.merge(i,t));n._EngagementLogger.logEventWithLogEntry(r)},e._jsonPathArrayRegex=new RegExp(/\[|\]/),e}();var c=p(280);const d=JSON.parse('{"lw":"Śōũŕćē ĥàś àĺŕēàďŷ ƀēēń ĩńĩţĩàĺĩźēď.","Yt":"\\u0022śēńďĒvēńţ()\\u0022 mũśţ ƀē ďēƒĩńēď, ŵĥēń ţĥē \\u0022àĺĺōŵēďĒvēńţś()\\u0022 ŕēţũŕńś à ńōń-ēmƥţŷ vàĺũē.","C3":"Ďŷńàmĩć Ďàţà Śōũŕćē Màńàĝēŕ ĥàś ƀēēń ďĩśƥōśēď.","ad":"Ďŷńàmĩć Ďàţà Śōũŕćē Màńàĝēŕ ĥàś ńōţ ƀēēń ĩńĩţĩàĺĩźēď.","fT":"Ďŷńàmĩć Ďàţà Śōũŕćē ĥàś ńōţ ƀēēń ĩńĩţĩàĺĩźēď.","Qm":"\\u0022{0}\\u0022 ēvēńţ ĩś ńōţ àĺĺōŵēď ōń ţĥē śōũŕćē \\u0022{1}\\u0022"}'),l=function(){function e(){this._src=void 0,this._isDisposed=!1,this._isInitialized=!1,this._logSource=n._LogSource.create("DynamicDataSourceManager")}return e.prototype._initialize=function(e,n){t.Validate.isNotNullOrUndefined(e,"component"),t.Validate.isNotNullOrUndefined(n,"serviceScope"),this._component=e,this._dynamicDataManager=n.consume(r._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(d.lw);this._callableFunctions=e,this._src=this._buildSource(this._component),this._dynamicDataManager.addSource(this._src),t._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){t.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(),t.Validate.isNotNullOrUndefined(e,"metadata"),e.alias=void 0,e.componentId=void 0,e.instanceId=void 0,(0,o.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(d.Yt);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?(0,o.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(0,o.cloneDeep)(this._callableFunctions.getPropertyDefinitions())},e.prototype._getPropertyValue=function(e){t.Validate.isNotNullOrUndefined(e,"propertyId");var a=new n._QosMonitor("DynamicDataSourceManager._getPropertyValue"),i=e.split(s._jsonPathArrayRegex);try{var r=this._callableFunctions.getPropertyValue(i.shift());if(i.length>0&&!isNaN(parseInt(i[0],10))&&Array.isArray(r)&&(r=r[i[0]]),void 0===r&&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 a.writeSuccess((0,c.__assign)((0,c.__assign)({},this._src&&this._src.metadata||{}),{sourceId:this._src&&this._src.id,propertyId:e})),(0,o.cloneDeep)(r)}catch(t){return a.writeUnexpectedFailure("NoPropertyId",t,{propertyId:e}),void n._TraceLogger.logErrorData({source:this._logSource,error:t})}},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){t.Validate.isNotNullOrUndefined(e,"propertyId");var a,i=new n._QosMonitor("DynamicDataSourceManager._getAnnotatedPropertyValue");if(this._callableFunctions.getAnnotatedPropertyValue){var r=e.split(s._jsonPathArrayRegex);try{a=this._callableFunctions.getAnnotatedPropertyValue(r.shift()),r.length>0&&!isNaN(parseInt(r[0],10))&&Array.isArray(a)&&(a=a[r[0]]),i.writeSuccess((0,c.__assign)((0,c.__assign)({},this._src&&this._src.metadata||{}),{sourceId:this._src&&this._src.id,annotatedPropertyValue:a,propertyId:e}))}catch(e){i.writeExpectedFailure("NoAnnotatedPropertyValue",e,{annotatedPropertyValue:a}),n._TraceLogger.logErrorData({source:this._logSource,error:e}),a=void 0}}return a||(a={sampleValue:this._getPropertyValue(e),metadata:void 0}),a},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===(0,o.findIndex)(this._allowedEvents(),{name:e}))throw new Error(t.Text.format(d.Qm,e,this._src.metadata.title))},e.prototype._assertNotDisposed=function(){if(this.isDisposed)throw new Error(d.C3)},e.prototype._assertInitialized=function(){if(!this._isInitialized)throw new Error(d.ad)},e.prototype._assertSourceExists=function(){if(!this._src)throw new Error(d.fT)},e.prototype._logFeatureEntry=function(e,t){var a=this._component.manifest.isInternal||!1,i={alias:this._component.manifest.alias,isInternal:a.toString()},r=new n._LogEntry("DynamicDataSourceManager",e,n._LogType.Event,o.merge(i,t));n._EngagementLogger.logEventWithLogEntry(r)},e}(),u=function(){function e(e){var r=this;this._isDisposed=!1,this._isServedFromLocalhost=!1,t.Validate.isNotNullOrUndefined(e,"parameters"),t.Validate.isNotNullOrUndefined(e.manifest,"manifest"),this.manifest=e.manifest;var o=this.manifest.loaderConfig;o&&o.internalModuleBaseUrls&&o.internalModuleBaseUrls.length&&(this._isServedFromLocalhost=/^http(s)?\:\/\/(localhost|127.0.0.1)/gim.test(o.internalModuleBaseUrls[0])),t.Validate.isNotNullOrUndefined(e.parentServiceScope,"parentServiceScope"),this._serviceScope=e.parentServiceScope.startNewChild(),t.Validate.isNotNullOrUndefined(e.loggingTag,"loggingTag"),this.serviceScope.provide(n._logSourceServiceKey,n._LogSource.create(e.loggingTag)),t.Validate.isNonemptyString(e.instanceId,"instanceId"),this._instanceId=e.instanceId,this._httpClient=this.serviceScope.createDefaultAndProvide(i.HttpClient.serviceKey),this._spHttpClient=this.serviceScope.createDefaultAndProvide(i.SPHttpClient.serviceKey),this._msGraphClientFactory=this.serviceScope.createDefaultAndProvide(i.MSGraphClientFactory.serviceKey),this._aadClientFactory=this.serviceScope.createDefaultAndProvide(i.AadHttpClientFactory.serviceKey),this._aadTokenFactory=this.serviceScope.createDefaultAndProvide(i.AadTokenProviderFactory.serviceKey),this.serviceScope.provide(t._ClientManifestData.serviceKey,new t._ClientManifestData(this.serviceScope,this.manifest)),this.serviceScope.whenFinished(function(){r._pageContext=r.serviceScope.consume(a.PageContext.serviceKey)}),this._dynamicDataProvider=new s,this._dynamicDataSourceManager=new l}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}(),f=function(){function e(n,a){this._hasValue=!1,this._isDisposed=!1,t.Validate.isNotNullOrUndefined(n,"provider"),this.__type=e._TYPE_NAME,this._provider=n,this._callbacks=new Set,this._pendingCallbacks=new Set,a?(this._pendingCallbacks.add(a),this._defaultCallback=a):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 n=this;t.Validate.isNonemptyString(e,"id"),this._value=void 0,this._hasValue=!1;var a=new Set;this._callbacks.forEach(function(e){return a.add(e)}),this._callbacks.forEach(function(e){return n.unregister(e)}),this._reference=new r.DynamicDataReference(e),this._sourceId=this._getSourceId(),a.forEach(function(e){return n.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||t._SPKillSwitch.isActivated("413769dc-5e0c-4609-9c86-bdf099fe84e3")){t.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||t._SPKillSwitch.isActivated("413769dc-5e0c-4609-9c86-bdf099fe84e3"))return t.Validate.isNotDisposed(this,"DynamicData"),this._hasValue?void 0:this._provider.tryGetSource(this._sourceId)},e.prototype.register=function(e){t.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){t.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 t.Validate.isNotDisposed(this,"DynamicData"),this._hasValue?"":this._reference.sourceId},e.prototype._getProperty=function(){return t.Validate.isNotDisposed(this,"DynamicData"),this._hasValue?"":this._reference.property},e.prototype._getPropertyPath=function(){return t.Validate.isNotDisposed(this,"DynamicData"),this._hasValue?"":this._reference.propertyPath||""},e.prototype._cloneDeep=function(e){return o.cloneDeepWith(e,function(e){if(e instanceof s)return e})},e.prototype._getPropertyToRegister=function(){return t.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||t._SPKillSwitch.isActivated("413769dc-5e0c-4609-9c86-bdf099fe84e3")){var e;t.Validate.isNotDisposed(this,"DynamicData");try{e=this._hasValue?this._value:this._provider._getData(this._reference)}catch(e){throw n._EngagementLogger.logEventWithLogEntry(e),e}return n._EngagementLogger.logEventWithLogEntry(new n._LogEntry("DynamicData","getData",n._LogType.Event,{value:JSON.stringify(this.value)})),e}},e._TYPE_NAME="DynamicProperty",e._arrayRegex=new RegExp(/\[\*\]$/),e}(),m=function(){function e(){}return e.load=function(t){return t||e._isLoaded?Promise.resolve():p.e(386).then(p.bind(p,521)).then(function(){e._isLoaded=!0})},e.forceLoad=function(t){try{return e._shouldLoad(t)?p.e(386).then(p.bind(p,521)).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 n=t.Version._tryParseSPFxVersion(e);return!n||n.lessThan(t.Version.parse("1.8.2"))}return e.loadLegacyFabricCss},e._shouldLoad=function(t){return!e._isLoaded&&e.needLegacyFabricCss(t)},e._isLoaded=!1,e}();var _=p(620),h=p(356),b=function(){function e(){}return e.serializeServerProcessedData=function(e,n,a){var i=this;this._forEachPropertyWithMetaData(e,n,function(e,r,s){r.shouldNotPersist&&o.set(n,e,void 0);var c=e,d=o.get(n,e);if(a&&"string"==typeof d&&d){if(a.htmlStrings&&r.isHtmlString?a.htmlStrings[c]=d:a.searchablePlainTexts&&r.isSearchablePlainText?a.searchablePlainTexts[c]=d:a.links&&r.isLink?a.links[c]=d:a.imageSources&&r.isImageSource?a.imageSources[c]=d:r.isComponentDependency&&(a.componentDependencies||(a.componentDependencies={}),a.componentDependencies[c]=d),r.customMetadata){var l={};if(r&&r.customMetadata)for(var u=function(e,c){var d=c;void 0!==s&&-1!==d.indexOf("*")&&(d=d.replace("*",s.toString())),i._validateAndIteratePath(d,n,function(i,s){if(void 0===s&&r.customMetadata){var c=o.get(n,i);a&&void 0!==c&&(t._SPKillSwitch.isActivated("bf085c27-422d-4b62-a93a-43efa89e77ee")?l[i]=c:l[e]=c)}})},f=0,p=Object.entries(r.customMetadata);f<p.length;f++){var m=p[f];u(m[0],m[1])}a.customMetadata||(a.customMetadata={}),a.customMetadata[c]=l}o.set(n,e,void 0)}})},e.reInstateServerProcessedData=function(e,a,i,r){var s=this,c=new Set;if(r&&this._forEachPropertyWithMetaData(e,a,function(e,i){if((0,_.X)()){if("b7dd04e1-19ce-4b24-9132-b60a1c2b910d"===r.id&&t._SPKillSwitch.isActivated("71b68bd4-eb7a-4330-93bd-dc6d382123c1"))return;var d=o.get(a,e);if(void 0!==d){var l=new n._QosMonitor("PropertyMetadataProcessor.clearMetadataValue");if(i.isLink&&(c.add(e),s._isSafeLink(d)||(l.writeUnexpectedFailure("ClearingLinkProperty",new Error(e)),o.set(a,e,void 0))),i.isHtmlString){c.add(e);var u=s._getSafeHtml(d);u!==d&&(l.writeUnexpectedFailure("SettingSafeHtml",new Error(e)),o.set(a,e,u))}l.hasEnded||l.writeSuccess()}}else"b7dd04e1-19ce-4b24-9132-b60a1c2b910d"!==r.id&&i.isHtmlString&&o.set(a,e,void 0)}),i)for(var d=0,l=[i.htmlStrings,i.searchablePlainTexts,i.imageSources,i.links,i.componentDependencies];d<l.length;d++){var u=l[d];if(u)for(var f=0,p=Object.entries(u);f<p.length;f++){var m=p[f],h=m[0],b=m[1];"string"==typeof b&&(o.set(a,h,b),(0,_.X)()&&c.delete(h))}}(0,_.X)()&&r&&c.size>0&&new n._QosMonitor("PropertyMetadataProcessor.serverProcessedContentMissing").writeUnexpectedFailure("Missing Content",void 0,{manifest:r.id,properties:Array.from(c).join(",")})},e._isSafeLink=function(e){try{var t=new URL(e);return h.SafeHtml.isSafeLinkProtocol(t.protocol)}catch(n){try{return t=new URL(e,window.location.origin),h.SafeHtml.isSafeLinkProtocol(t.protocol)}catch(e){return!1}}},e._getSafeHtml=function(e){return h.SafeHtml.clean(e)},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),s=o.get(t,r);if(!s)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 c=0;c<s.length;c++)n(e.replace("*","".concat(c)),c)}else n(e)},e}(),v={htmlString:1,link:2,imageSource:3,searchablePlainText:4},y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,c.__extends)(t,e),t}(t.SPEventArgs),S=function(){function e(n,a,i){this._id=e._instanceCount++,this.themeChangedEvent=new t.SPEvent(this._themeChangedEventName),a&&(this._theme=Object.freeze(a)),i&&(this._themeV2=Object.freeze(i))}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._themeV2=void 0,this._raiseEvent()},e.prototype._setTheme=function(e,n){t.Validate.isNotNullOrUndefined(e,"theme"),this._theme=Object.freeze(e),n&&(this._themeV2=Object.freeze(n)),this._raiseEvent()},e.prototype.tryGetTheme=function(){return this._theme},e.prototype.tryGetThemeV2=function(){return this._themeV2},e.prototype._raiseEvent=function(){t._SPEventManager.instance.raiseEvent(this._themeChangedEventName,{theme:this._theme,themeV2:this._themeV2})},e.serviceKey=t.ServiceKey.create("sp-component-base.ThemeProvider",e),e._themeChangedEventNameLiteral="ThemeProvider.themeChangedEvent",e._instanceCount=0,e}();p(424).loadStyles(".s_mwxHE_o5ljQ{background-color:transparent;height:100%;margin:5px;position:relative;width:100%}.s_bzcYC_o5ljQ{fill:#f4f4f4}",!0);const D=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="s_mwxHE_o5ljQ";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="s_bzcYC_o5ljQ";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}();var I=new RegExp("^https://[^/]*/");function x(e,t){if(!e)return t;var n=!1;return"/"!==t.charAt(t.length-1)&&(t+="/",n=!0),t=t.replace(I,"https://".concat(e,"/")),n&&(t=t.substr(0,t.length-1)),t}var C=p(519),O={CacheConfigMissmatch:"CacheConfigMissmatch",LateFlush:"LateFlush",CachedItemNotFound:"CachedItemNotFound",CacheExpired:"CacheExpired",NotSpecified:"NotSpecified",NotApplicable:"N/A"},w="N/A",E=function(){function e(){}return e.collect=function(n,a,i){var r=function(e){return C._PerformanceLogger.readComponentBreakdown(a,e)||C._PerformanceLogger.readTempData("".concat(a,".").concat(e))},o=r("start"),s=r("modulesLoaded"),c=r("init"),d=r("end"),l=!!r("displaySpinner"),u=Boolean(i&&i.legacyPageContext&&i.legacyPageContext.isMultiGeoTenant),f=w,p=w,m="N/A",_=O.NotApplicable;if(n.isInternal){var h=r("CacheHit"),b=r("CacheMiss"),g=r("prefetchedData");m=Boolean(h||b)?h?"true":"false":"N/A",_=e._getCacheMissReason(h,r);var v=C._PerformanceLogger.now(),y=C._PerformanceDataDimensions.Layout,S=C._PerformanceDataDimensions.DataProvider,D=C._PerformanceLogger.readFullEUPLBreakDown();Object.keys(D).forEach(function(e){e.indexOf(a)>-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=C._PerformanceLogger.getWebpartFlightsAndExperiments(a),x=this._getSyncRenderTime(p,r),E={alias:n.alias,isMultiGeo:u,isInternal:n.isInternal,isSpinnyShown:l,manifestId:n.id,moduleLoadTime:Math.floor(s-o),initTime:Math.floor(c-s),renderTime:Math.floor(d-c),syncRenderTime:x,scenarioId:C._PerformanceLogger.getScenarioId(),isFullPage:C._PerformanceLogger.fullPageLoad,dataProvider:f,layout:p,mySiteCacheHit:m,cacheMissReason:_,flights:I,storeAppId:n.storeAppId,mpnId:n.mpnId,componentDeveloperName:n.componentDeveloperName};return E.teamsHosted=t._BrowserUtilities.isTeamsHosted(),E},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(C._PerformanceDataDimensions.Layout+e)))),n},e._getCacheMissReason=function(e,t){if(e)return O.NotApplicable;var n=!!t("CacheMissConfigMismatch"),a=!!t("LateFlush"),i=!!t("CachedWebPartNotFound"),r=!!t("CacheExpired"),o=O.NotSpecified;return n?o=O.CacheConfigMissmatch:a?o=O.LateFlush:i?o=O.CachedItemNotFound:r&&(o=O.CacheExpired),o},e}(),A=function(){function e(e){this._serviceScope=e}return e.prototype.getClient=function(){var e=this;if(this._teamsAppsClient)return Promise.resolve(this._teamsAppsClient);if(!this._teamsAppsClientPromise){var t=new n._QosMonitor("DeferredTeamsAppsClient.LoadTeamsAppClient");this._teamsAppsClientPromise=p.e(216).then(p.bind(p,165)).then(function(n){var a=n.TeamsAppsClient;return e._teamsAppsClient=new a(e._serviceScope),t.writeSuccess(),e._teamsAppsClient}).catch(function(e){throw t.writeUnexpectedFailure(void 0,e),e})}return this._teamsAppsClientPromise},e.serviceKey=t.ServiceKey.create("sp-teams-apps-client",e),e}()})(),g})())})();