@microsoft/sp-webpart-base
Version:
SharePoint Framework support for building web parts
5 lines • 108 kB
JavaScript
(()=>{var e=document.currentScript;define("974a7777-0990-4136-8fa6-95d80114c2e0_1.19.0",["tslib","@microsoft/sp-component-base","@microsoft/sp-core-library","@ms/sp-edit-customer-promise","@ms/sp-telemetry","@microsoft/sp-diagnostics","@microsoft/sp-lodash-subset","@microsoft/load-themed-styles","@microsoft/sp-http","@microsoft/sp-loader","@microsoft/sp-page-context"],(t,n,a,i,r,o,s,c,d,l,u)=>(()=>{"use strict";var f,p,m,_,h,b={481:(e,t,n)=>{n.d(t,{H:()=>o,K4:()=>l,Mn:()=>d,Od:()=>s,Ro:()=>b,Xf:()=>m,a1:()=>h,f4:()=>u,lB:()=>g,qj:()=>_,rT:()=>c,vq:()=>f,vz:()=>p});var a=n(878),i=n(186),r=n(672);function o(){var e=-1===navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Safari")>-1;return a._SPFlight.isEnabled(60290)&&(!e||a._SPFlight.isEnabled(60524))}function s(){return a._SPFlight.isEnabled(60400)}function c(){return a._SPFlight.isEnabled(60079)}function d(){return a._SPFlight.isEnabled(60668)}function l(){return a._SPFlight.isEnabled(60759)}function u(){return(!a._BrowserUtilities.isSafari()||(0,r.hJ)())&&(!(0,r.cy)()&&a._SPFlight.isEnabled(60622)||a._SPFlight.isEnabled(60821)||a._SPFlight.isEnabled(60822)||a._SPFlight.isEnabled(60823)||a._SPFlight.isEnabled(60824)||((0,r.h0)()?!(0,r.uR)()&&a._SPFlight.isEnabled(1252)&&a._BrowserUtilities.isFromVivaHome():a._SPFlight.isEnabled(1252)&&a._BrowserUtilities.isTeamsHosted()))}function f(){return!(0,r._i)()&&(a._SPFlight.isEnabled(1967)||1===i._SPPerfExperiment.getVariantAndTrackExperiment(i._PerformanceExperiment.WEXImageWebPartRefactorExp))}function p(){return a._SPFlight.isEnabled(61149)}function m(){return a._SPFlight.isEnabled(22854)}function _(){return a._SPFlight.isEnabled(61319)}function h(){return a._SPFlight.isEnabled(60808)&&a._SPFlight.isEnabled(1599)}function b(){return a._SPFlight.isEnabled(60693)}function g(){return a._SPFlight.isEnabled(61389)}}
,672:(e,t,n)=>{n.d(t,{$e:()=>o,GV:()=>y,IO:()=>d,JE:()=>E,Lt:()=>w,PF:()=>T,SM:()=>D,UK:()=>c,WP:()=>S,XP:()=>i,Y$:()=>_,Ye:()=>h,ZP:()=>u,_i:()=>A,cb:()=>U,cy:()=>p,dT:()=>r,dm:()=>l,h0:()=>v,hJ:()=>f,jM:()=>P,qd:()=>I,rc:()=>s,re:()=>L,rf:()=>k,t_:()=>F,u7:()=>O,uR:()=>g,vW:()=>M,wA:()=>C,xJ:()=>x,xR:()=>b,zx:()=>m});var a=n(878);const i=function(){function e(){}return e.isTeamsContextKSActivated=function(){return a._SPKillSwitch.isActivated(a.Guid.parse("a5daffb0-652e-4ee1-a638-e290089e1de7"),"09/11/2020","Refactor a method of IWebPartHost as async, as part of PR to enable teams context.")},e}();function r(){return a._SPKillSwitch.isActivated("d8618918-ac55-4979-b9d4-be944a4feb95")}function o(){return a._SPKillSwitch.isActivated("b8c50ded-d048-4eb9-bc41-21190d9d3bbb")}function s(){return a._SPKillSwitch.isActivated("ca984138-b518-4cf1-b201-2efe9322bb5e")}function c(){return a._SPKillSwitch.isActivated("ab6a720f-9915-4635-9b30-71b5d83e0647")}function d(){return a._SPKillSwitch.isActivated("1a2da4d0-9678-4a79-95a4-f0b9a7732dc2")}function l(){return a._SPKillSwitch.isActivated("e1e44790-a263-4f43-8b40-5b5e9b170300")}function u(){return a._SPKillSwitch.isActivated("c041bc0e-fcb5-4a3e-a4bc-d65a00a39a86")}function f(){return a._SPKillSwitch.isActivated("61a9578e-c6d2-4605-970f-222a8b29196c")}function p(){return a._SPKillSwitch.isActivated("07684c68-2e8e-4a25-b7e0-330781a92661")}function m(){return a._SPKillSwitch.isActivated("8a6c4749-5c36-4214-aa06-1ea308d679e2")}function _(){return a._SPKillSwitch.isActivated("56151a3e-a100-403c-9e91-cb5d1677ed66")}function h(){return a._SPKillSwitch.isActivated("e8edc935-7cd4-463b-81f5-aa1cce74d7d0")}function b(){return a._SPKillSwitch.isActivated("21f00b7b-3ed6-4c3a-bd49-8639460de07e")}function g(){return a._SPKillSwitch.isActivated("f993c5d6-5637-47bc-802d-6da6dda11a27")}function v(){return a._SPKillSwitch.isActivated("6c457592-8c32-472e-b340-349c014d6bc2")}function y(){return a._SPKillSwitch.isActivated("34173619-d841-476a-98c3-af5a79007103")}function S(){return a._SPKillSwitch.isActivated("bbd78e03-ff18-40ed-9a94-973fc659366c")}function D(){return a._SPKillSwitch.isActivated("43ce53d4-53da-48c4-acbd-20ff31eff5ee")}function I(){return a._SPKillSwitch.isActivated("290c0d46-6ee0-4d0b-aee5-ef3f01e4020e")}function x(){return a._SPKillSwitch.isActivated("8b372850-6897-4ef2-aecd-cd615019e544")}function C(){return a._SPKillSwitch.isActivated("33558902-7587-4229-a570-633976fa332b")}function O(){return a._SPKillSwitch.isActivated("98bb76c9-49c4-4736-80b9-88ff41d65cac")}function w(){return a._SPKillSwitch.isActivated("abb86541-760a-44b4-88f4-57a01af6e8c2")}function E(){return a._SPKillSwitch.isActivated("6e0a6d0e-ec0c-4667-85ce-198b4bbe78af")}function A(){return a._SPKillSwitch.isActivated("138ce21a-eef4-4e30-b350-4225400c72ac")}function L(){return a._SPKillSwitch.isActivated("7b14ee6c-0ab8-44b2-89a7-597a504254e0")}function k(){return a._SPKillSwitch.isActivated("bcd05704-f61a-473d-ba66-39f0bfa0891d")}function M(){return a._SPKillSwitch.isActivated("d5f5e371-14ac-45c1-96ca-439b650504e8")}function P(){return a._SPKillSwitch.isActivated("d4f103ea-7a8c-4d51-9a09-29369d2d9fa9")}function T(){return a._SPKillSwitch.isActivated("69933c68-aef0-4f8f-8016-a5974d22b2c6")}function U(){return a._SPKillSwitch.isActivated("bf6ec07d-4440-4ee6-83c6-17b560599c30")}function F(){return a._SPKillSwitch.isActivated("2087be6f-d433-41f5-b91a-5416f455d74d")}}
,258:(e,t,n)=>{n.d(t,{D:()=>a});var a={DeleteWebPart:"iframeDeleteWebPart",RequestDisplayMode:"iframeRequestDisplayMode",RequestPropertyPaneAction:"iframeRequestPropertyPaneAction",SetDisplayMode:"iframeSetDisplayMode",SetDimensions:"iframeSetDimensions",SetWebPartData:"iframeSetWebPartData",UpdateWebPartData:"iframeUpdateWebPartData",UpdatePropertyPaneData:"iframeUpdatePropertyPaneData",UpdatePropertyPaneLifeCycle:"iframePropertyPaneLifeCycle",WebPartRenderedInPropertyPaneIframe:"webPartRenderedInPropertyPaneIframe",DynamicDataMessage:"isolatedDynamicDataMessage",UpdateWebpartLifeCycle:"iframeUpdateWebpartLifeCycle",GetOboToken:"iframeGetOboToken",SetOboToken:"iframeSetOboToken",RequestTheme:"iframeRequestTheme",SetTheme:"iframeSetTheme",UpdateAudiences:"iframeUpdateAudiences"}}
,230:e=>{e.exports=c},866:e=>{e.exports=n},878:e=>{e.exports=a},377:e=>{e.exports=o},272:e=>{e.exports=d},37:e=>{e.exports=l},348:e=>{e.exports=s},171:e=>{e.exports=u},948:e=>{e.exports=i},186:e=>{e.exports=r},553:e=>{e.exports=t},612:e=>{e.exports=JSON.parse('{"Wd":"Màńĩƒēśţś ƒàĩĺ ţō ďōŵńĺōàď.","zZ":"Màńĩƒēśţ ƒōŕ ţĥē ŵēƀ ƥàŕţ {0} ĩś ńũĺĺ.","zI":"Màńĩƒēśţ ƒōŕ ţĥē ŵēƀ ƥàŕţ {0} ĩś ĩńvàĺĩď.","GU":"Ţĥĩś ĩś à ŕēàď-ōńĺŷ ƥŕōƥēŕţŷ.","iT":"ßàśēĆĺĩēńţŚĩďēŴēƀƤàŕţ ĩś àń àƀśţŕàćţ ćĺàśś àńď mũśţ ƀē ēxţēńďēď ƀēƒōŕē ũśē.","RR":"Ŕēńďēŕ mēţĥōď ńēēďś ţō ƀē ōvēŕŕĩďēń ĩń ţĥē ďēŕĩvēď ćĺàśś ōƒ ŵēƀ ƥàŕţ {0}.","K8":"Ŵēƀ ƥàŕţ {0} mũśţ ĩńĥēŕĩţ ƒŕōm ţĥē ßàśēĆĺĩēńţŚĩďēŴēƀƤàŕţ ćĺàśś.","OC":"Ŵēƀ ƥàŕţ {0} ŵàś ńōţ ĩńĩţĩàĺĩźēď ƥŕōƥēŕĺŷ. Ŵēƀ ƥàŕţś mũśţ ƀē ĩńśţàńţĩàţēď ũśĩńĝ ţĥē ĆĺĩēńţŚĩďēŴēƀƤàŕţMàńàĝēŕ. Màńŷ ŵēƀ ƥàŕţ ƒēàţũŕēś ćàńńōţ ƀē ũśēď ţĩĺĺ ţĥē ĩńĩţĩàĺĩźàţĩōń ĩś ćōmƥĺēţē.","nc":"Ńũĺĺ ƥŕōƥēŕţŷ ƀàĝ ĩś ńōţ àĺĺōŵēď ƒōŕ ŵēƀ ƥàŕţ {0}. Ēmƥţŷ ƥŕōƥēŕţŷ ƀàĝ ĩś śũƥƥōŕţēď.","_7":"Mōďũĺē ĩś ńōţ ĺōàďēď ōŕ ńōţ ďēƒĩńēď ĩń ţĥē màńĩƒēśţ ƒōŕ ŵēƀ ƥàŕţ {0}.","Y1":"ßōōţśţŕàƥ mōďũĺē ƒōŕ ŵēƀ ƥàŕţ {0} ĩś ńōţ ĺōàďēď. Mōďũĺē ńàmēś ēxƥōŕţēď ƀŷ ţĥē ƀũńďĺē àŕē \\u0027{1}\\u0027.","Rg":"ßōōţśţŕàƥ mōďũĺē ƒōŕ ŵēƀ ƥàŕţ {0} ńōţ ōƒ ţĥē ćōŕŕēćţ ţŷƥē. Màķē śũŕē ţō ēxƥōŕţ ŷōũŕ ŵēƀ ƥàŕţ àś \\u0027ēxƥōŕţ ďēƒàũĺţ ŴēƀƤàŕţŃàmē\\u0027.","V6":"Ţĥē ćĺàśś ƒōŕ ŵēƀ ƥàŕţ {0} ĩś mĩśśĩńĝ àń ēxƥēćţēď mēmƀēŕ \\u0027{1}\\u0027.","RY":"Ũńàƀĺē ţō ĺōàď ŵēƀ ƥàŕţ {0} śćŕĩƥţ ŕēśōũŕćēś ďũē ţō: {1}.","mv":"Śēŕĩàĺĩźàţĩōń ƒàĩĺēď ƒōŕ ŵēƀ ƥàŕţ {0}.","AS":"ŕēńďēŕĆōmƥĺēţēď ĩś ńōţ ćàĺĺēď ƒōŕ àń àśŷńćĥŕōńōũśĺŷ ŕēńďēŕēď ŵēƀ ƥàŕţ {0}.","vF":"Àţţēmƥţēď ţō ćàĺĺ ƒĩŕśţ ţĩmē ŕēńďēŕ mōŕē ţĥàń ōńćē ƒōŕ ţĥē ŵēƀ ƥàŕţ {0}. Ƥĺēàśē ćōńţàćţ Mĩćŕōśōƒţ ďēvēĺōƥēŕ śũƥƥōŕţ ţō ŕēśōĺvē ţĥĩś.","Cb":"Ĩńvàĺĩď ŚƤĹĨŃĶ àţţŕĩƀũţē vàĺũē {0}","AN":"Ĩńvàĺĩď ŚƤĹĨŃĶ ĩńďēx vàĺũē {0}","Q":"Ĺōàďĩńĝ {0}...","K4":"ōńÀƒţēŕĎēśēŕĩàĺĩźē ƒōŕ ŵēƀ ƥàŕţ {0} ŕēţũŕńēď ńũĺĺ ōŕ ũńďēƒĩńēď.","N$":"ōńĨńĩţ mēţĥōď ƒōŕ ŵēƀ ƥàŕţ {0} ŕēţũŕńēď ńũĺĺ ōŕ ũńďēƒĩńēď Ƥŕōmĩśē.","OQ":"{0} ŵēƀ ƥàŕţ","Um":"Śōmēţĥĩńĝ ŵēńţ ŵŕōńĝ","Oi":"Ĩƒ ţĥē ƥŕōƀĺēm ƥēŕśĩśţś, ćōńţàćţ ţĥē śĩţē àďmĩńĩśţŕàţōŕ àńď ĝĩvē ţĥēm ţĥē ĩńƒōŕmàţĩōń ĩń Ţēćĥńĩćàĺ Ďēţàĩĺś.","ge":"Ţēćĥńĩćàĺ Ďēţàĩĺś","KO":"ĆÀĹĹ ŚŢÀĆĶ:{0}{1}","Ec":"ĒŔŔŌŔ:{0}{1}{0}{0}{2}{3}","_U":"Ţĥē ŵēƀ ƥàŕţ ŵàś mōďĩƒĩēď ƀŷ ţĥē Ƥàĝēś ÀƤĨ ({0}) ōń {1} àţ {2}.","qz":"Ŵēƀƥàŕţ {0} ĩś ŕēǫũēśţēď ţō ďēĺēţē.","sr":"Ŵēƀƥàŕţ {0} ŕēńďēŕ ćàĺĺƀàćķ ƥŕōmĩśē ƒōŕ ŕēśōĺvē ōŕ ŕēĴēćţ ĩś ũńďēƒĩńēď.","Dv":"Ŵēƀƥàŕţ {0} ŕēńďēŕ ţĩmēōũţ.","rx":"Àũďĩēńćē ţàŕĝēţĩńĝ","pc":"Śēĺēćţ àũďĩēńćēś ţō ţàŕĝēţ ţĥĩś ćàŕď ţō.","l1":"Ţàŕĝēţ ţĥĩś ēńţĩŕē ŵēƀ ƥàŕţ ţō śƥēćĩƒĩć àũďĩēńćēś.","_w":"{0} Ƥŕōƥēŕţĩēś","i9":"Ćàŕď ĩś ńōţ àvàĩĺàƀĺē: {0}. Ĩţ mĩĝĥţ ĥàvē ƀēēń ŕēmōvēď ōŕ ƀĺōćķēď ƀŷ ţĥē Ţēàmś àďmĩńĩśţŕàţōŕ."}')}
},g={};function v(e){var t=g[e];if(void 0!==t)return t.exports;var n=g[e]={exports:{}};return b[e].call(n.exports,n,n.exports,v),n.exports}v.m=b,v.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return v.d(t,{a:t}),t},p=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,v.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var n=Object.create(null);v.r(n);var a={};f=f||[null,p({}),p([]),p(p)];for(var i=2&t&&e;"object"==typeof i&&!~f.indexOf(i);i=p(i))Object.getOwnPropertyNames(i).forEach(t=>a[t]=()=>e[t]);return a.default=()=>e,v.d(n,a),n},v.d=(e,t)=>{for(var n in t)v.o(t,n)&&!v.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},v.f={},v.e=e=>Promise.all(Object.keys(v.f).reduce((t,n)=>(v.f[n](e,t),t),[])),v.u=e=>"chunk."+{725:"sp-webpart-base-iframedwebpartcontroller",971:"spfx-core-teamsenv-teamsJs-v2"}[e]+"_none_"+{725:"fc0d590955c8ccc53118",971:"dc4bd044287528c44a81"}[e]+".js",v.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),m={},_="974a7777-0990-4136-8fa6-95d80114c2e0_1.19.0:",v.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}}i||(r=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,v.nc&&i.setAttribute("nonce",v.nc),i.setAttribute("data-webpack",_+n),i.src=e,0!==i.src.indexOf(window.location.origin+"/")&&(i.crossOrigin="anonymous")),m[e]=[t];var d=(t,n)=>{i.onerror=i.onload=null,clearTimeout(l);var a=m[e];if(delete m[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach(e=>e(n)),t)return t(n)},l=setTimeout(d.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=d.bind(null,i.onerror),i.onload=d.bind(null,i.onload),r&&document.head.appendChild(i)}},v.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},h=e?e.src:"",v.p=h.slice(0,h.lastIndexOf("/")+1),v.f.compat=(e,t)=>{for(var n=function(e){return{725:[{i:"8496636c-2300-4915-abef-20de64c98d8b",v:"1.19.0",m:61}]}[e]||[]}(e),a=0;a<n.length;a++)v.m[n[a].m]||(e=>{t.push(y.SPComponentLoader.loadComponentById(e.i,e.v).then(t=>{v.m[e.m]=e=>e.exports=t}))})(n[a])};var y=v(37);(()=>{var e={505:0};v.f.j=(t,n)=>{var a=v.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=v.p+v.u(t),o=new Error;v.l(r,n=>{if(v.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)v.o(o,a)&&(v.m[a]=o[a]);s&&s(v)}for(t&&t(n);c<r.length;c++)i=r[c],v.o(e,i)&&e[i]&&e[i][0](),e[i]=0},n=self["webpackJsonp_974a7777-0990-4136-8fa6-95d80114c2e0_1.19.0"]=self["webpackJsonp_974a7777-0990-4136-8fa6-95d80114c2e0_1.19.0"]||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var S={};return(()=>{v.r(S),v.d(S,{BaseClientSideWebPart:()=>Y,BaseWebPart:()=>G,BaseWebPartContext:()=>i,CONTENT_PANEL_TOGGLED:()=>le,ClientSideWebPartManager:()=>ve,ClientSideWebPartManagerFactory:()=>Se,DynamicDataSharedDepth:()=>u,PROPERTY_PANE_TOGGLED:()=>ue,PROPERTY_PANE_WILL_OPEN:()=>de,PropertyPaneButton:()=>x,PropertyPaneButtonType:()=>d,PropertyPaneCheckbox:()=>C,PropertyPaneChoiceGroup:()=>O,PropertyPaneCustomField:()=>I,PropertyPaneDropdown:()=>w,PropertyPaneDropdownOptionType:()=>l,PropertyPaneDynamicField:()=>E,PropertyPaneDynamicFieldSet:()=>A,PropertyPaneDynamicTextField:()=>F,PropertyPaneFieldType:()=>c,PropertyPaneHorizontalRule:()=>L,PropertyPaneLabel:()=>k,PropertyPaneLink:()=>M,PropertyPaneSlider:()=>P,PropertyPaneTextField:()=>T,PropertyPaneToggle:()=>U,WebPartContext:()=>r,WebPartDataConverter:()=>De,WebPartFormFactor:()=>re,WebPartIsolationLevel:()=>o,_AdaptiveCardExtensionWidthCalculator:()=>Ie,_BaseWebPartHost:()=>_,_ClientSideWebPartStatusRenderer:()=>ie,_IframedWebPartAction:()=>xe.D,_MinimalWebPartContainer:()=>Ce,_MinimalWebPartHost:()=>h,_PropertyPaneLoader:()=>$,_TeamsAwareWebPartHost:()=>g,_TeamsEnvironmentManager:()=>b,_WebPartWidthCacheManager:()=>W,_audienceFormServiceKey:()=>B,_getErrorAceLoadConfiguration:()=>me});var e=v(553),t=v(866),n=v(878);const a=function(){function e(e,t,n,a,i,r,o){this._open=e,this._close=t,this._refresh=n,this._openDetails=a,this._isRenderedByWebPart=i,this._isPropertyPaneOpen=r,this._isContentPanelOpen=o,this.open=this.open.bind(this),this.close=this.close.bind(this),this.refresh=this.refresh.bind(this),this.openDetails=this.openDetails.bind(this),this.isRenderedByWebPart=this.isRenderedByWebPart.bind(this)}return e.prototype.open=function(){this._open()},e.prototype.close=function(){this._close()},e.prototype.refresh=function(){this._refresh()},e.prototype.openDetails=function(e){this._openDetails(e)},e.prototype.isRenderedByWebPart=function(){return this._isRenderedByWebPart()},e.prototype.isPropertyPaneOpen=function(e){return this._isPropertyPaneOpen(e)},e.prototype.isContentPanelOpen=function(){var e;return!!(null===(e=this._isContentPanelOpen)||void 0===e?void 0:e.call(this))},e}(),i=function(t){function i(e){var i=t.call(this,e)||this;return n.Validate.isNotNullOrUndefined(e,"webpart context"),n.Validate.isNotNullOrUndefined(e.instanceId,"webpart context instanceId"),n.Validate.isNotNullOrUndefined(e.webPartTag,"webpart context webPartTag"),n.Validate.isNotNullOrUndefined(e.host,"webpart context host"),n.Validate.isNotNullOrUndefined(e.isPropertyPaneRenderedByWebPart,"webpart context isPropertyPaneRenderedByWebPart"),n.Validate.isNotNullOrUndefined(e.isPropertyPaneOpen,"webpart context isPropertyPaneOpen"),n.Validate.isNotNullOrUndefined(e.requestPropertyPaneAction,"webpart context requestPropertyPaneAction"),n.Validate.isNotNullOrUndefined(e.formFactor,"webpart context form factor"),i._webPartTag=e.webPartTag,i._host=e.host,i._requestPropertyPaneAction=e.requestPropertyPaneAction,i._isPropertyPaneRenderedByWebPart=e.isPropertyPaneRenderedByWebPart,i._isPropertyPaneOpen=e.isPropertyPaneOpen,i._isContentPanelOpen=e.isContentPanelOpen,i._privateDataUpdatedEvent=e._dataUpdatedEvent,i._formFactor=e.formFactor,i._propertyPaneAccessor=new a(function(){i._requestPropertyPaneAction(i.instanceId,"Open",!0)},function(){i._requestPropertyPaneAction(i.instanceId,"Close",!0)},function(){i._requestPropertyPaneAction(i.instanceId,"Refresh",!0)},function(e){i._requestPropertyPaneAction(i.instanceId,"OpenDetails",!0,e)},function(){return i._isPropertyPaneRenderedByWebPart()},function(e){return i._isPropertyPaneOpen(e)},function(){return i._isContentPanelOpen()}),i}return(0,e.__extends)(i,t),Object.defineProperty(i.prototype,"webPartTag",{get:function(){return this._webPartTag},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"propertyPane",{get:function(){return this._propertyPaneAccessor},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"formFactor",{get:function(){return this._formFactor},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"host",{get:function(){return this._host},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"_dataUpdatedEvent",{get:function(){return this._privateDataUpdatedEvent},enumerable:!1,configurable:!0}),i}(t.BaseComponentContext),r=function(t){function a(e){var a=t.call(this,e)||this;return n.Validate.isNotNullOrUndefined(e.domElement,"webpart context domElement"),n.Validate.isNotNullOrUndefined(e.statusRenderer,"webpart context statusRenderer"),a._domElement=e.domElement,a._statusRenderer=e.statusRenderer,a._pageLayoutType=e.pageLayoutType,a._teams=e.microsoftTeams,a._sdks=e.sdks,a._widthCacheKey=e.widthCacheKey,a._sdksAsync=e.sdksAsync,a._getPositionOnPage=e.getPositionOnPage,a}return(0,e.__extends)(a,t),Object.defineProperty(a.prototype,"domElement",{get:function(){return this._domElement},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"sdks",{get:function(){return this._sdks},enumerable:!1,configurable:!0}),a.prototype._getSdksAsync=function(){return this._sdksAsync},Object.defineProperty(a.prototype,"statusRenderer",{get:function(){return this._statusRenderer},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"microsoftTeams",{get:function(){return this._teams},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"widthCacheKey",{get:function(){return this._widthCacheKey},enumerable:!1,configurable:!0}),a.prototype._getPageLayoutType=function(){return this._pageLayoutType},a.prototype._setTeams=function(e){this._teams=e},a}(i);var o;!function(e){e.None="None",e.DomIsolation="DOMIsolation"}(o||(o={}));var s,c,d,l,u,f=v(948),p=v(186),m=v(672),_=function(){function e(e){this.serviceScope=e}return e.prototype.onBeforeWebPartLoad=function(e){p._PerformanceLogger.devMark("ClientSideWebPartManager.load(".concat(e.webPartTag,").start")),p._PerformanceLogger.startMarkForComponent(e.webPartTag)},e.prototype.onAfterWebPartLoad=function(e){p._PerformanceLogger.devMark("ClientSideWebPartManager.load(".concat(e.webPartTag,").end")),p._PerformanceLogger.markComponentModuleLoaded(e.webPartTag)},e.prototype.onAfterWebPartLoadFailed=function(e,t){p._PerformanceLogger.endFailureForComponent(e.webPartTag,"Load",t,void 0,"ViewMode WebPart Failure"),e.displayMode===n.DisplayMode.Edit&&e.manifest.isInternal&&e.serviceScope&&this._logFailuresForEditCustomerPromise(e.manifest.alias,t,"Load",e.serviceScope,"WebPart Load Failure")},e.prototype.onBeforeWebPartInitializeOld=function(e){p._PerformanceLogger.devMark("ClientSideWebPartManager.initialize(".concat(e.webPartTag,").start"))},e.prototype.onBeforeWebPartInitialize=function(e){return p._PerformanceLogger.devMark("ClientSideWebPartManager.initialize(".concat(e.webPartTag,").start")),Promise.resolve()},e.prototype.onAfterWebPartInitialize=function(e){p._PerformanceLogger.devMark("ClientSideWebPartManager.initialize(".concat(e.webPartTag,").end"))},e.prototype.onAfterWebPartInitializeFailed=function(e,t){p._PerformanceLogger.endFailureForComponent(e.webPartTag,"Initialize",t),e.displayMode===n.DisplayMode.Edit&&e.manifest.isInternal&&e.serviceScope&&this._logFailuresForEditCustomerPromise(e.manifest.alias,t,"Initialize",e.serviceScope,"WebPart Init Failure")},e.prototype.onBeforeWebPartRender=function(e){p._PerformanceLogger.devMark("ClientSideWebPartManager.render(".concat(e.webPartTag,").start"))},e.prototype.onAfterWebPartRender=function(e){"number"==typeof e.renderCompleteTime?p._PerformanceLogger.endMarkForComponentWithTimestamp(e.webPartTag,e.renderCompleteTime):p._PerformanceLogger.endMarkForComponent(e.webPartTag)},e.prototype.onAfterWebPartRenderFailed=function(e,t){if(p._PerformanceLogger.endFailureForComponent(e.webPartTag,"Render",t),e.displayMode===n.DisplayMode.Edit&&e.manifest.isInternal&&e.serviceScope)if((0,m.qd)())this._logFailuresForEditCustomerPromise(e.manifest.alias,t,"Render",e.serviceScope);else{var a="";t.name&&(a+="name:"+t.name+";"),t.message&&(a+="msg:"+t.message+";"),e.webPartTag&&(a+="webPT:"+e.webPartTag+";"),e.domElement&&e.domElement.title&&(a+="domTitle:"+e.domElement.title+";"),e.manifest&&e.manifest.imagePreviewUrl&&(a+="previewImageUrl:"+e.manifest.imagePreviewUrl+";"),this._logFailuresForEditCustomerPromise(e.manifest.alias,t,"Render",e.serviceScope,a,"WebPart Render Failure")}},e.prototype.onAudiencesChanged=function(e,t){},e.prototype._logFailuresForEditCustomerPromise=function(e,t,n,a,i,r){if(!(0,m.qd)()&&i){var o={errorCode:"WebPartBase ".concat(e," Failure"),errorMessage:i,errorScenario:n,errorStack:null==t?void 0:t.stack,veto:r};(0,f._logFailuresForEditCustomerPromise)(o,a)}else o={errorCode:"WebPartBase ".concat(e," Failure"),errorMessage:t.message,errorScenario:n,errorStack:null==t?void 0:t.stack},(0,f._logFailuresForEditCustomerPromise)(o,a)},e}(),h=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return(0,e.__extends)(n,t),n}(_),b=function(){function e(){}return e.initialize=function(){return!n._BrowserUtilities.isTeamsHosted()||e._teamsContext||e.sdkProvider?Promise.resolve():v.e(971).then(v.t.bind(v,423,23)).then(function(t){return t.initialize(),(n=t.getContext,new Promise(function(e,t){try{n(function(t){return e(t)})}catch(e){t(e)}})).then(function(n){e._teamsContext=n,e._teamsJs=t});var n})},e.getTeamsSDK=function(){return e.sdkProvider?e.sdkProvider:Promise.resolve({})},e.getTeamsContext=function(){return e._teamsContext},e.getTeamsJs=function(){return e._teamsJs},e}(),g=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return(0,e.__extends)(n,t),n.prototype.getAdditionalContextProperties=function(){var e=b.getTeamsJs();return e?{microsoftTeams:{teamsJs:e,context:b.getTeamsContext()}}:{}},n.prototype.getAdditionalContextPropertiesAsync=function(){return b.getTeamsSDK()},n.prototype.onBeforeWebPartInitialize=function(e){return t.prototype.onBeforeWebPartInitialize.call(this,e).then(function(){return b.initialize()})},n}(h),y=v(377),D=v(348);function I(e){return function(e){return{type:s.Custom,targetProperty:void 0,properties:e}}(e)}function x(e,t){return function(e,t){return{type:s.Button,targetProperty:e,properties:t}}(e,t)}function C(e,t){return function(e,t){return{type:s.CheckBox,targetProperty:e,properties:t}}(e,t)}function O(e,t){return function(e,t){return{type:s.ChoiceGroup,targetProperty:e,properties:t}}(e,t)}function w(e,t){return function(e,t){return{type:s.Dropdown,targetProperty:e,properties:t}}(e,t)}function E(e,t){return function(e,t){return{type:s.DynamicField,targetProperty:e,properties:t}}(e,t)}function A(e){return function(e){return{type:s.DynamicFieldSet,targetProperty:"",properties:e}}(e)}function L(){return{type:s.HorizontalRule,targetProperty:void 0,properties:void 0}}function k(e,t){return function(e,t){return{type:s.Label,targetProperty:e,properties:t}}(e,t)}function M(e,t){return function(e,t){return{properties:t,type:s.Link,targetProperty:void 0}}(0,t)}function P(e,t){return function(e,t){return{type:s.Slider,targetProperty:e,properties:t}}(e,t)}function T(e,t){return function(e,t){return{type:s.TextField,targetProperty:e,properties:t}}(e,t)}function U(e,t){return function(e,t){return{type:s.Toggle,targetProperty:e,properties:t}}(e,t)}function F(e,t){return function(e,t){return{type:s.DynamicTextField,targetProperty:e,properties:t}}(e,t)}!function(e){e[e.Custom=1]="Custom",e[e.CheckBox=2]="CheckBox",e[e.TextField=3]="TextField",e[e.Toggle=5]="Toggle",e[e.Dropdown=6]="Dropdown",e[e.Label=7]="Label",e[e.Slider=8]="Slider",e[e.Heading=9]="Heading",e[e.ChoiceGroup=10]="ChoiceGroup",e[e.Button=11]="Button",e[e.HorizontalRule=12]="HorizontalRule",e[e.Link=13]="Link",e[e.DynamicField=14]="DynamicField",e[e.DynamicTextField=15]="DynamicTextField",e[e.DynamicFieldSet=16]="DynamicFieldSet",e[e.SpinButton=17]="SpinButton",e[e.ThumbnailPicker=18]="ThumbnailPicker",e[e.IconPicker=19]="IconPicker",e[e.AlternativeText=20]="AlternativeText",e[e.WebPartTitleHeading=21]="WebPartTitleHeading"}(s||(s={})),function(e){e[e.Custom=1]="Custom",e[e.CheckBox=2]="CheckBox",e[e.TextField=3]="TextField",e[e.Toggle=5]="Toggle",e[e.Dropdown=6]="Dropdown",e[e.Label=7]="Label",e[e.Slider=8]="Slider",e[e.Heading=9]="Heading",e[e.ChoiceGroup=10]="ChoiceGroup",e[e.Button=11]="Button",e[e.HorizontalRule=12]="HorizontalRule",e[e.Link=13]="Link",e[e.DynamicField=14]="DynamicField",e[e.DynamicTextField=15]="DynamicTextField",e[e.DynamicFieldSet=16]="DynamicFieldSet",e[e.SpinButton=17]="SpinButton",e[e.ThumbnailPicker=18]="ThumbnailPicker",e[e.IconPicker=19]="IconPicker",e[e.AlternativeText=20]="AlternativeText",e[e.WebPartTitleHeading=21]="WebPartTitleHeading"}(c||(c={})),function(e){e[e.Normal=0]="Normal",e[e.Primary=1]="Primary",e[e.Hero=2]="Hero",e[e.Compound=3]="Compound",e[e.Command=4]="Command",e[e.Icon=5]="Icon"}(d||(d={})),function(e){e[e.Normal=0]="Normal",e[e.Divider=1]="Divider",e[e.Header=2]="Header"}(l||(l={})),function(e){e[e.None=0]="None",e[e.Source=1]="Source",e[e.Property=2]="Property"}(u||(u={}));var H,R=v(612);!function(e){e[e.ModuleUndefined=0]="ModuleUndefined",e[e.ModuleNotLoaded=1]="ModuleNotLoaded",e[e.IncorrectBoostrapModule=2]="IncorrectBoostrapModule",e[e.MissingExpectedWebPartMemberError=3]="MissingExpectedWebPartMemberError",e[e.NonBaseWebPart=4]="NonBaseWebPart",e[e.ScriptLoadError=5]="ScriptLoadError",e[e.ManifestDownloadFailed=6]="ManifestDownloadFailed",e[e.ManifestNull=7]="ManifestNull",e[e.ManifestInvalid=8]="ManifestInvalid",e[e.BaseConstructError=9]="BaseConstructError",e[e.MustOverrideRender=10]="MustOverrideRender",e[e.NotInitializedError=11]="NotInitializedError",e[e.PropertyBagNull=12]="PropertyBagNull",e[e.OnAfterDeserializeReturnedNull=13]="OnAfterDeserializeReturnedNull",e[e.OnInitReturnedNullPromise=14]="OnInitReturnedNullPromise",e[e.ReadOnlyProperty=15]="ReadOnlyProperty",e[e.SerializationFailed=16]="SerializationFailed",e[e.FirstTimeRenderCalledMoreThanOnce=17]="FirstTimeRenderCalledMoreThanOnce",e[e.RenderCompletedCallNotCalled=18]="RenderCompletedCallNotCalled",e[e.InvalidSPLinkAttributeFormat=19]="InvalidSPLinkAttributeFormat",e[e.InvalidSPLinkIndex=20]="InvalidSPLinkIndex",e[e.GetDataReturnedNullPromise=21]="GetDataReturnedNullPromise",e[e.RenderPromiseUndefined=22]="RenderPromiseUndefined",e[e.RenderTimeout=23]="RenderTimeout"}(H||(H={}));var N=function(t){function a(e,i){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];var s=this,c=e;return c&&((s=t.call(this,H[c],n.Text.format(a._errorCodeToMessageMap.get(c),r),i)||this).__proto__=a.prototype,s._id=c),s}return(0,e.__extends)(a,t),Object.defineProperty(a.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"category",{get:function(){return"SPWebPartErrorCode"},enumerable:!1,configurable:!0}),a.create=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new a(e,void 0,t)},a.createWithLogProperties=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return new a(e,t,n)},a._errorCodeToMessageMap=new Map([[H.ModuleUndefined,R._7],[H.ModuleNotLoaded,R.Y1],[H.IncorrectBoostrapModule,R.Rg],[H.MissingExpectedWebPartMemberError,R.V6],[H.NonBaseWebPart,R.K8],[H.ScriptLoadError,R.RY],[H.ManifestDownloadFailed,R.Wd],[H.ManifestNull,R.zZ],[H.ManifestInvalid,R.zI],[H.BaseConstructError,R.iT],[H.MustOverrideRender,R.RR],[H.NotInitializedError,R.OC],[H.PropertyBagNull,R.nc],[H.OnAfterDeserializeReturnedNull,R.K4],[H.OnInitReturnedNullPromise,R.N$],[H.ReadOnlyProperty,R.GU],[H.SerializationFailed,R.mv],[H.FirstTimeRenderCalledMoreThanOnce,R.vF],[H.RenderCompletedCallNotCalled,R.AS],[H.InvalidSPLinkAttributeFormat,R.Cb],[H.InvalidSPLinkIndex,R.AN],[H.RenderPromiseUndefined,R.sr],[H.RenderTimeout,R.Dv]]),a}(n.SPError),B=n.ServiceKey.createCustom("sp-property-pane.AudienceForm",function(e){return{}}),j=v(481),V="4eae8b0b-40f6-4ea9-aabb-b6834ae24532",z="f3bc67ee-015d-4678-a95f-c7e90ea62c1e";const G=function(a){function i(){var e=a.call(this)||this;if(e._initialized=!1,e._baseLogSource=y._LogSource.create("BaseWebPart"),e._hasEditLogged=!1,e._emptyResolvedPromise=Promise.resolve(),e._disposeDynamicPropertiesIfRequired=e._disposeDynamicPropertiesIfRequired.bind(e),e._onPropertyPaneFieldChanged=e._onPropertyPaneFieldChanged.bind(e),"BaseWebPart"===e.constructor.name)throw N.create(H.BaseConstructError);return e}return(0,e.__extends)(i,a),Object.defineProperty(i.prototype,"previewImageUrl",{get:function(){},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"displayMode",{get:function(){return this._displayMode},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"modifiedByGraph",{get:function(){return this._modifiedByGraph},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"dataVersion",{get:function(){return n.Version.parse("1.0")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"properties",{get:function(){if(this._initialized)return this._properties;throw N.create(H.NotInitializedError)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"propertiesMetadata",{get:function(){},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"disableReactivePropertyChanges",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"accessibleTitle",{get:function(){return this._getDefaultAccessibleTitle()},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"title",{get:function(){return this._title},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"iconImageUrl",{get:function(){return this._iconImageUrl},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"description",{get:function(){return this._description},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"audiences",{get:function(){return this._audiences},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"_persistedProperties",{get:function(){return this.disableReactivePropertyChanges&&this._backupProperties?this._backupProperties:this.properties},enumerable:!1,configurable:!0}),i.prototype._getPropertyPaneData=function(e,t){var n=this;return this._loadPropertyPaneResources().then(function(){var a=e?n.getDetailsPaneConfiguration(t):n.getPropertyPaneConfiguration();return(n.context.manifest.id===z||(0,j.Mn)()&&!a.disableAudiencePicker)&&n._addAudienceTargetingConfiguration(a),n._fixUpDynamicDataConfiguration(a),{webPartId:n.context.instanceId,title:n.title,isReactive:!n.disableReactivePropertyChanges,configuration:a,properties:n._cloneProperties(n.properties),onPropertyPaneFieldChanged:void 0,onConfigurationEvent:void 0,onRendered:n.onPropertyPaneRendered,dynamicConfiguration:{defaultCallback:function(){n._dynamicPropertyRefresh()}.bind(n),dynamicDataProvider:n.context.dynamicDataProvider}}})},i.prototype._loadPropertyPaneResources=function(){return this._loadPropertyPaneResourcesPromise||(this._loadPropertyPaneResourcesPromise=this.loadPropertyPaneResources()),this._loadPropertyPaneResourcesPromise},i.prototype._onPropertyPaneFieldChanged=function(e,n,a){var i,r,o,s=this,d=this.context.manifest.id===z?"ACE":"WebPart";try{var l=D.get(this._properties,e);if(!D.isEqual(l,n)||a===c.Button||a===c.Custom){if(!(0,m.xR)()&&this.manifest.isInternal&&(o=new y._QosMonitorShareFailureWithCP("PropertyPane.".concat(d,".").concat(this.manifest.alias,".Update"),!1,[{errorModuleName:"".concat(d," PropertyPaneUpdate Failure"),veto:"WebPart Property Pane Failure",logFailure:this.context.serviceScope.consume(f._EditModeCustomerPromiseHandler.serviceKey).logFailure}])),this.disableReactivePropertyChanges&&!this._backupProperties&&(this._backupProperties=this._cloneProperties(this.properties)),l instanceof t.DynamicProperty&&!(n instanceof t.DynamicProperty)){var u=new t.DynamicProperty(this.context.dynamicDataProvider,function(){s._dynamicPropertyRefresh()}.bind(this));u.setValue(n),n=u}return e===V?(this._audiences=n,(0,j.Mn)()&&(y._EngagementLogger.logEvent("".concat(d,".PropertyPane"),"AudienceUpdated"),null===(r=(i=this.context.host).onAudiencesChanged)||void 0===r||r.call(i,this.instanceId,n))):this._updateProperty(e,n),this.onPropertyPaneFieldChanged(e,l,n),this._afterPropertyUpdated(!this.disableReactivePropertyChanges),!(0,m.xR)()&&o&&o.writeSuccess(),!0}}catch(e){throw!(0,m.xR)()&&o&&o.writeUnexpectedFailure(e.message),e}return!1},i.prototype._onPropertyPaneLifeCycleEvent=function(e){var t=this;switch(this.context.host.propertyPaneLifeCycleEventCallback&&this.context.host.propertyPaneLifeCycleEventCallback(e,{webPartData:this._internalSerialize(),isPropertyPaneReactive:this._isPropertyPaneReactive()}),e){case"ConfigurationStart":this._loadPropertyPaneResources().then(function(){return t.onPropertyPaneConfigurationStart()}).catch(function(e){return y._TraceLogger.logVerboseData({source:t._baseLogSource,message:e.message})});break;case"ConfigurationComplete":this.disableReactivePropertyChanges&&this._backupProperties&&(this._properties=this._backupProperties,this._backupProperties=void 0),this.onPropertyPaneConfigurationComplete();break;case"ApplyClicked":this._backupProperties=this.properties,(0,m.rf)()?(this.onAfterPropertyPaneChangesApplied(),this._afterPropertyUpdated(!0)):this._onPropertyPaneChangesApplied().then(function(){t.onAfterPropertyPaneChangesApplied(),t._afterPropertyUpdated(!0)}).catch(function(e){throw y._TraceLogger.logVerboseData({source:t._baseLogSource,message:e.message}),e})}},i.prototype._isPropertyPaneReactive=function(){return!this.disableReactivePropertyChanges},i.prototype._internalSerialize=function(){var e,a=this;return function(e,t,a){n.Validate.isNotNullOrUndefined(e,"method");try{e()}catch(e){throw a&&y._TraceLogger.logError(a,new Error("Error: "+e)),t.innerError=e,t}}(function(){a.onBeforeSerialize();var i=JSON.stringify(a.properties);if(!a._hasEditLogged&&a._initPropertiesSnapshot!==i){var r=!!a.context.manifest.isInternal,o=new y._LogEntry(a._baseLogSource.id,"WebPartEdited",y._LogType.Event,{alias:a.context.manifest.alias,isInternal:r.toString()});y._EngagementLogger.logEventWithLogEntry(o),a._hasEditLogged=!0}var s=a._serialize();n.Validate.isNotNullOrUndefined(s.dataVersion,"serialized data version"),i&&-1!==i.indexOf(t.DynamicProperty._TYPE_NAME)&&a._serializeDynamicData(s),e={id:a.context.manifest.id,instanceId:a.context.instanceId,title:a.title,description:a.description,audiences:a.audiences,serverProcessedContent:s.serverProcessedContent,dynamicDataPaths:s.dynamicDataPaths,dynamicDataValues:s.dynamicDataValues,dataVersion:s.dataVersion.toString(),properties:s.properties},(0,m.WP)()||(e.containsDynamicDataSource=a._containsDynamicDataSource)},N.create(H.SerializationFailed,this.context.webPartTag),this._baseLogSource),e},i.prototype._internalDispose=function(){this._disposeDynamicPropertiesIfRequired(),a.prototype.dispose.call(this)},i.prototype._internalOnAfterResize=function(){},i.prototype._internalSetWebPartData=function(e){var t=this.properties;(0,m.re)()||(this._previousState=void 0),this._internalDeserialize(e),this.onAfterPropertiesUpdatedExternally(t)},i.prototype._internalSetDisplayMode=function(e){if(this._displayMode!==e){var t=this._displayMode;this._displayMode=e,this.onDisplayModeChanged(t)}},i.prototype._internalSetDirtyBit=function(){if(this.displayMode!==n.DisplayMode.Read){var e=this._internalSerialize(),t=JSON.stringify(e);this._previousState?this._previousState!==t&&this.context.host.setDirty&&(this.context.host.setDirty(this.context.instanceId,e),this._previousState=t):this._previousState=t}},i.prototype._internalInitialize=function(e,t,i){if(n.Validate.isNotNullOrUndefined(e,"webPartContext"),function(e){if(e){Object.isFrozen(e)||Object.freeze(e);var t=0,n=function(e){++t>5||Object.getOwnPropertyNames(e).forEach(function(t){var a=e[t];"object"!=typeof a||!a||D.isElement(a)||Object.isFrozen(a)||n(a)})};n(e)}}(e.manifest),a.prototype._initializeContext.call(this,e),this.onDispose=this.onDispose.bind(this),this.onPropertyPaneRendered=this.onPropertyPaneRendered.bind(this),this._initialized=!0,this._displayMode=i,this._renderedFromPersistedData=t,!this._renderedFromPersistedData){var r=this.context.manifest.isInternal||!1,o=new y._LogEntry(this._baseLogSource.id,"WebPartAdded",y._LogType.Event,{alias:this.context.manifest.alias,isInternal:r.toString()});y._EngagementLogger.logEventWithLogEntry(o)}},i.prototype._internalDeserialize=function(e){if((0,m.GV)()||(e=D.cloneDeep(e)),e){this._previousState||(this._previousState=JSON.stringify(e)),e.title&&(this._title=e.title),e.modifiedByGraph&&(this._modifiedByGraph=e.modifiedByGraph),e.description&&(this._description=e.description),e.iconImageUrl&&(this._iconImageUrl=e.iconImageUrl),this._audiences=e.audiences||[],"string"!=typeof e.dataVersion&&(e.dataVersion=this.dataVersion.toString());var t={properties:e.properties,serverProcessedContent:e.serverProcessedContent,dynamicDataPaths:e.dynamicDataPaths,dynamicDataValues:e.dynamicDataValues,dataVersion:n.Version.tryParse(e.dataVersion)},a=(0,j.lB)(),i=void 0;a&&(i=this._reInstateServerProcessedData(t.properties,t.serverProcessedContent)),(0,m.WP)()||(t.containsDynamicDataSource=e.containsDynamicDataSource,this._containsDynamicDataSource=!!t.containsDynamicDataSource),this._deserializeDynamicData(t),this._initializeDynamicPropertiesIfRequired(t.properties),a||(i=this._reInstateServerProcessedData(t.properties,t.serverProcessedContent));var r=this.onAfterDeserialize(i,t.dataVersion);if(this._initPropertiesSnapshot=JSON.stringify(i),!r)throw N.create(H.OnAfterDeserializeReturnedNull,this.context.webPartTag);this._properties=r}},i.prototype.getTopActionsConfiguration=function(){},i.prototype.onInit=function(){return Promise.resolve(void 0)},i.prototype.onDisplayModeChanged=function(e){},i.prototype.onBeforeSerialize=function(){},i.prototype.onAfterDeserialize=function(e,t){return e},i.prototype.loadPropertyPaneResources=function(){return this._emptyResolvedPromise},i.prototype.getPropertyPaneConfiguration=function(){return{pages:[]}},i.prototype.getDetailsPaneConfiguration=function(e){return{pages:[]}},i.prototype.onDispose=function(){},i.prototype.onPropertyPaneFieldChanged=function(e,t,n){},i.prototype.onPropertyPaneConfigurationStart=function(){},i.prototype.onPropertyPaneConfigurationComplete=function(){},i.prototype.onAfterPropertyPaneChangesApplied=function(){},i.prototype.onPropertyPaneRendered=function(){},i.prototype.onAfterPropertiesUpdatedExternally=function(e){return this._refresh()},i.prototype._internalGetData=function(){return this._emptyResolvedPromise},i.prototype._getDefaultAccessibleTitle=function(){return n.Text.format(R.OQ,this.title)},i.prototype._onPropertyPaneChangesApplied=function(){return Promise.resolve(this._properties)},i.prototype._reInstateServerProcessedData=function(e,a){var i=this.propertiesMetadata;if(!e)return{};var r=e;return((0,j.lB)()?this._renderedFromPersistedData:n._SPFlight.isEnabled(60834)&&a||this._renderedFromPersistedData)?(t._PropertyMetadataProcessor.reInstateServerProcessedData(i,r,a,this.context.manifest),r):r},i.prototype._forEachPropertyWithMetaData=function(e,t){if(this.propertiesMetadata)for(var n=function(n,i){a._validateAndIteratePath(n,t||a.properties,function(t,n){e(t,i,n)})},a=this,i=0,r=Object.entries(this.propertiesMetadata);i<r.length;i++){var o=r[i];n(o[0],o[1])}},i.prototype._validateAndIteratePath=function(e,t,n){var a=(e.match(/\*/g)||[]).length;if(a>1)console.warn("Invalid property path: Multiple wildcards are not supported in property paths.\nEntry with path '".concat(e,"' got ignored in the properties metadata."));else if(1===a){var i=e.indexOf("[*]");if(i<-1)return void console.warn("Invalid property path: Wildcards are only supported inside brackets to select array\nindices as in 'foo[*].bar'. Entry with path '".concat(e,"' got ignored in the properties metadata."));var r=e.substr(0,i),o=D.get(t,r);if(!o)return void console.warn("Invalid property path: Could not find an array named '".concat(r,"' in the properties.\nEntry with path '").concat(e,"' got ignored in the properties metadata."));for(var s=0;s<o.length;s++)n(e.replace("*","".concat(s)),s)}else n(e)},i.prototype._afterPropertyUpdated=function(e){this._internalSetDirtyBit(),e&&this._refresh()},i.prototype._fixUpDynamicDataConfiguration=function(e){var t=this;e.pages.forEach(function(e){e.groups.forEach(function(e){if("primaryGroup"in e){var n=e,a=n.primaryGroup,i=n.secondaryGroup;e=n.showSecondaryGroup?i:a}(e=e).groupFields.forEach(function(e){if(e.type===c.DynamicTextField){var n=e.properties;n.dynamicDataProvider=t.context.dynamicDataProvider,n.changeCallback=function(){t._dynamicPropertyRefresh()}.bind(t)}})})})},i.prototype._addAudienceTargetingConfiguration=function(e){e.pages&&0!==e.pages.length||(e.pages=[{groups:[]}]);var t=this.context.serviceScope.consume(B);if(t&&t.renderAudienceFormPropertyPaneField){var n=this.context.manifest.id===z;e.pages[0].groups.push({groupName:R.rx,groupFields:[t.renderAudienceFormPropertyPaneField({pageContext:this.context.pageContext.legacyPageContext,audiences:this.audiences,limit:50,propertyName:V,helpLink:n?"https://go.microsoft.com/fwlink/?linkid=2155166":"https://go.microsoft.com/fwlink/?linkid=2134207",tooltipText:n?R.pc:R.l1})]})}},i.prototype._serialize=function(){var e={htmlStrings:{},searchablePlainTexts:{},imageSources:{},links:{}},n=this._cloneProperties(this._persistedProperties);return D.set(n,"",void 0),t._PropertyMetadataProcessor.serializeServerProcessedData(this.propertiesMetadata,n,e),{dataVersion:this.dataVersion,properties:n,serverProcessedContent:e}},i.prototype._serializeDynamicData=function(e){for(var n=e.properties,a={},i={},r=D.findKey(n,{__type:t.DynamicProperty._TYPE_NAME});r;){var o=D.get(n,r+".reference"),s=D.get(n,r+".value");if(o)a[r]=o,D.unset(n,r);else{if(void 0===s)throw new Error("Dynamic Data is misconfigured");i[r]=s,D.unset(n,r)}r=D.findKey(n,{__type:t.DynamicProperty._TYPE_NAME})}e.dynamicDataPaths=a,e.dynamicDataValues=i},i.prototype._deserializeDynamicData=function(e){var n=this;if(e.dynamicDataPaths)for(var a in e.dynamicDataPaths)e.dynamicDataPaths.hasOwnProperty(a)&&((i=new t.DynamicProperty(this.context.dynamicDataProvider,function(){n._dynamicPropertyRefresh()}.bind(this))).setReference(e.dynamicDataPaths[a]),D.set(e.properties,a,i));if(e.dynamicDataValues)for(var a in e.dynamicDataValues){var i;e.dynamicDataValues.hasOwnProperty(a)&&((i=new t.DynamicProperty(this.context.dynamicDataProvider,function(){n._dynamicPropertyRefresh()}.bind(this))).setValue(e.dynamicDataValues[a]),D.set(e.properties,a,i))}},i.prototype._initializeDynamicPropertiesIfRequired=function(e){var n=this,a=new Map([["boolean",!1],["number",0],["string",""],["array",[]],["object",{}]]);this._forEachPropertyWithMetaData(function(i,r){if(r.dynamicPropertyType){var o=D.get(e,i);if(!(o instanceof t.DynamicProperty)){var s=void 0;r.dynamicPropertyType,s=new t.DynamicProperty(n.context.dynamicDataProvider,function(){n._dynamicPropertyRefresh()}.bind(n)),o=o||a.get(r.dynamicPropertyType),s.setValue(o),D.set(e,i,s)}}},e)},i.prototype._disposeDynamicPropertiesIfRequired=function(){var e=this;this._forEachPropertyWithMetaData(function(n,a){if(a.dynamicPropertyType){var i=D.get(e._persistedProperties,n);i instanceof t.DynamicProperty&&i.dispose()}},this._persistedProperties)},i.prototype._updateProperty=function(e,t){D.update(this.properties,e,function(){return t})},i.prototype._cloneProperties=function(e){return D.cloneDeepWith(e,function(e){if(e instanceof t.DynamicProperty)return e._cloneDeep(e)})},i}(t.BaseComponent),K=function(){function e(){}return e.disableAutomaticPostbacks=function(e,t){n.Validate.isNotNullOrUndefined(e,"domElement"),t===n.EnvironmentType.ClassicSharePoint&&(e.addEventListener("click",function(e){e.preventDefault?e.preventDefault():e.returnValue=!1},!0),e.addEventListener("keydown",function(e){13===e.keyCode&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},!0))},e.removeFabricLinks=function(){var e=document.getElementsByTagName("link");if(e&&e.length)for(var t=0;t<e.length;t++)if(e[t]&&-1!==e[t].href.indexOf("fabric.min.css")){var n=e[t].parentNode;n&&n.removeChild(e[t])}},e}(),W=function(){function e(){}return e.get=function(t){return e._sectionWidthCache.get(t)},e.getOrCalculateWidth=function(t,n){if(void 0===n)return e.calculateWebPartWidth(t);var a=e.get(n);return void 0===a&&(a=e.calculateWebPartWidth(t))>0&&e._put(n,a),a},e.clear=function(){e._sectionWidthCache.clear()},e.calculateWebPartWidth=function(e){var t=n._BrowserDetection.getBrowserInformation().browser;return t===n._Browser.Edge||t===n._Browser.IE?e.getBoundingClientRect().width:parseFloat(window.getComputedStyle(e).width)||0},e._put=function(t,n){e._sectionWidthCache.set(t,n)},e._sectionWidthCache=new Map,e}();var q=v(230);q.loadStyles(".a_a_7caff1a1{display:inline-block;left:0;overflow:hidden;padding:12px 0;position:relative;right:0;top:0;z-index:1}[dir=ltr] .a_a_7caff1a1{text-align:left}[dir=rtl] .a_a_7caff1a1{text-align:right}.b_a_7caff1a1{color:#605e5c;display:inline-block;font-weight:700;position:relative;white-space:pre-wrap}.c_a_7caff1a1{background:none;border:none;color:#0078d4;margin-top:20px;text-transform:uppercase}[dir=ltr] .c_a_7caff1a1{padding-left:0}[dir=rtl] .c_a_7caff1a1{padding-right:0}.e_a_7caff1a1{color:#0078d4;font-weight:400}.f_a_7caff1a1{color:#0078d4;font-weight:700}.g_a_7caff1a1{border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;text-indent:-9999px;width:1px}",!0);const Q="a_a_7caff1a1",Y=function(a){function i(){var e=a.call(this)||this;if(e._logSource=y._LogSource.create("BaseClientSideWebPart"),e._asyncRenderQosMonitor=new y._QosMonitor("WebPartAsyncRender"),e._asyncRenderCompleteCalled=!1,e._isVisible=!0,e._internalIsDisposing=!1,"BaseClientSideWebPart"===e.constructor.name)throw N.create(H.BaseConstructError);return e._firstTimeRenderPromises=[],e}return(0,e.__extends)(i,a),Object.defineProperty(i.prototype,"domElement",{get:function(){return this.context.domElement},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"width",{get:function(){return this.displayMode===n.DisplayMode.Read?this._width=W.getOrCalculateWidth(this.domElement,this._getExtendedWidthCacheKey()):void 0===this._width&&(this._width=W.calculateWebPartWidth(this.domElement)),this._width},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"renderedOnce",{get:function(){return!!this._renderedOnce},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"renderedFromPersistedData",{get:function(){return!!this._renderedFromPersistedData},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"canOpenPopupOnRender",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"isRenderAsync",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"isVisible",{get:function(){return this.displayMode===n.DisplayMode.Edit||this._isVisible},set:function(e){var t,a;this.displayMode!==n.DisplayMode.Edit&&e!==this._isVisible&&(this._isVisible=e,null===(a=(t=this.context.host).onAfterWebPartVisibilityChanged)||void 0===a||a.call(t,this.context.instanceId,e))},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"_isDisposing",{get:function(){return this._internalIsDisposing},enumerable:!1,configurable:!0}),i.prototype._internalOnAfterResize=function(){this._width=void 0,this.onAfterResize(this.width)},i.prototype._internalFirstTimeRender=function(){var e=this;if(this._renderPromiseResolver)throw N.create(H.FirstTimeRenderCalledMoreThanOnce,this.context.webPartTag);return new Promise(function(t,n){e._renderPromiseResolver=t,e._renderPromiseRejecter=n,e._onInViewport()})},i.prototype._internalSetDisplayMode=function(e){this.displayMode!==e&&(this._width=void 0,this._renderedFromPersistedData=!0),a.prototype._internalSetDisplayMode.call(this,e)},i.prototype._internalInitialize=function(e,n,i){a.prototype._internalInitialize.call(this,e,n,i),this._renderedOnce=!1,this.__type="BaseClientSideWebPart",this.render=this.render.bind(this),this.onDispose=this.onDispose.bind(this),this.renderError=this.renderError.bind(this),this.clearError=this.clearError.bind(this),this.renderCompleted=this.renderCompleted.bind(this),this._asyncRenderTimeout=this._asyncRenderTimeout.bind(this),this._internalHandleThemeChangedEvent=this._internalHandleThemeChangedEvent.bind(this),this._internalThemeProvider=this.context.serviceScope.consume(t.ThemeProvider.serviceKey),this._internalThemeVariant=this._internalThemeProvider.tryGetTheme(),this.onThemeChanged(this._internalThemeVariant),this._internalThemeProvider.themeChangedEvent.add(this,this._internalHandleThemeChangedEvent)},i.prototype._internalDispose=function(){var e;this._disposeAfterRenderPromises(),null===(e=this._internalThemeProvider)||void 0===e||e.themeChangedEvent.remove(this,this._internalHandleThemeChangedEvent)},i.prototype.renderCompleted=function(e,t){e?this._handleAsyncRenderFailed(e):this._renderCompleted(t)},i.prototype.onDisplayModeChanged=function(e){var t=this;a.prototype.onDisplayModeChanged.call(this,e),e!==this.displayMode&&Promise.all(this._firstTimeRenderPromises).then(function(){return t._renderWithAccessibleTitle()}).catch(function(e){return y._TraceLogger.logVerboseData({source:t._logSource,message:e.message})})},i.prototype.onDispose=function(){},i.prototype.onAfterResize=function(e){},i.prototype.onThemeChanged=function(e){},i.prototype.renderError=function(e){if(this.context.statusRenderer.clearLoadingIndicator(this.domElement),this.context.statusRenderer.renderError(this.domElement,e),this.displayMode===n.DisplayMode.Edit&&this.context.manifest.isInternal&&this.context.serviceScope){var t="";(0,m.qd)()?t=e.message:(e.name&&(t+="name:"+e.name+";"),e.message&&(t+="msg:"+e.message+";"),this.context&&this.context.webPartTag&&(t+="webPT:"+this.context.webPartTag+";"),t