Mini Kabibi Habibi

Current Path : C:/Program Files/Microsoft Office/root/Office16/
Upload File :
Current File : C:/Program Files/Microsoft Office/root/Office16/olAppHost.js

(()=>{var e,t,n={221:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(2378),t),i(n(1050),t),i(n(3771),t),i(n(345),t),i(n(5804),t),i(n(1391),t),i(n(7791),t),i(n(1217),t),i(n(7222),t),i(n(5396),t),i(n(9784),t),i(n(2572),t),i(n(6365),t),i(n(5043),t),i(n(6345),t)},240:e=>{e.exports="data:image/svg+xml,%3csvg width='160' height='160' viewBox='0 0 160 160' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cpath d='M131.319 98.9017C131.319 132.646 103.964 160.001 70.2201 160.001C36.4761 160.001 9.12109 132.646 9.12109 98.9017C9.12109 65.1577 36.4761 37.8027 70.2201 37.8027C103.964 37.8027 131.319 65.1577 131.319 98.9017Z' fill='%23605D5A'/%3e %3cpath d='M70.2195 37.8027C103.964 37.8027 131.319 65.1567 131.319 98.9017C131.319 106.322 129.994 113.431 127.571 120.01C119.332 128.044 108.837 133.775 97.1227 136.152C97.3155 136.943 97.4183 137.771 97.4183 138.623C97.4183 144.346 92.7783 148.984 87.0573 148.984C81.3353 148.984 76.6963 144.346 76.6963 138.623C76.6963 138.015 76.7487 137.419 76.8492 136.84C55.7368 134.052 38.0239 120.483 29.4225 101.845C23.9138 101.606 19.5195 97.0642 19.5195 91.4951C19.5195 87.8798 21.3714 84.6973 24.1783 82.8439C23.9479 80.6853 23.8295 78.4928 23.8295 76.2727C23.8295 68.8527 25.1545 61.7417 27.5765 55.1627C38.5875 44.4267 53.6265 37.8027 70.2195 37.8027Z' fill='%23797673'/%3e %3cpath d='M65.372 66.1313C65.372 72.6073 60.122 77.8583 53.645 77.8583C47.169 77.8583 41.918 72.6073 41.918 66.1313C41.918 59.6543 47.169 54.4033 53.645 54.4033C60.122 54.4033 65.372 59.6543 65.372 66.1313Z' fill='%23605D5A'/%3e %3cpath d='M82.7698 106.014C82.7698 111.736 78.1308 116.374 72.4098 116.374C66.6868 116.374 62.0488 111.736 62.0488 106.014C62.0488 100.291 66.6868 95.6533 72.4098 95.6533C78.1308 95.6533 82.7698 100.291 82.7698 106.014Z' fill='%23605D5A'/%3e %3cpath d='M117.936 114.968C117.936 117.958 115.512 120.382 112.522 120.382C109.533 120.382 107.109 117.958 107.109 114.968C107.109 111.979 109.533 109.555 112.522 109.555C115.512 109.555 117.936 111.979 117.936 114.968Z' fill='%23605D5A'/%3e %3cpath d='M93.113 138.623C93.113 141.969 90.401 144.68 87.056 144.68C83.712 144.68 81 141.969 81 138.623C81 135.278 83.712 132.566 87.056 132.566C90.401 132.566 93.113 135.278 93.113 138.623Z' fill='%23605D5A'/%3e %3cpath d='M35.9372 91.4955C35.9372 94.8405 33.2262 97.5525 29.8802 97.5525C26.5362 97.5525 23.8242 94.8405 23.8242 91.4955C23.8242 88.1505 26.5362 85.4385 29.8802 85.4385C33.2262 85.4385 35.9372 88.1505 35.9372 91.4955Z' fill='%23605D5A'/%3e %3cpath d='M80.9734 0C79.8464 1.892 78.4434 4.477 78.4434 8.93C78.4434 13.65 80.0224 16.281 81.1744 18.202C82.1244 19.787 82.6984 20.744 82.6984 23.12C82.6984 25.492 82.1254 26.449 81.1744 28.032C80.0224 29.953 78.4434 32.583 78.4434 37.3C78.4434 42.016 80.0224 44.648 81.1744 46.568C82.1254 48.153 82.6984 49.109 82.6984 51.483C82.6984 53.857 82.1254 54.812 81.1744 56.396C80.0224 58.316 78.4434 60.945 78.4434 65.663C78.4434 70.38 81.9014 71.58 81.9014 71.58L86.9044 65.663C86.9044 63.29 87.4784 62.334 88.4284 60.75C89.5814 58.83 91.1604 56.201 91.1604 51.483C91.1604 46.766 89.5814 44.135 88.4284 42.215C87.4784 40.63 86.9044 39.673 86.9044 37.3C86.9044 34.927 87.4784 33.969 88.4284 32.387C89.5814 30.467 91.1604 27.837 91.1604 23.12C91.1604 18.401 89.5814 15.77 88.4294 13.85C87.4784 12.264 86.9044 11.306 86.9044 8.93C86.9044 6.555 87.4784 5.598 88.4294 4.013C89.0584 2.965 89.8054 1.692 90.3624 0H80.9734Z' fill='url(%23paint0_linear)'/%3e %3cpath d='M119.043 71.2471C125.557 77.7611 148.673 65.1521 148.673 65.1521L135.434 51.9141C135.434 51.9141 112.528 64.7321 119.043 71.2471Z' fill='%23006DEF'/%3e %3cpath d='M94.6811 46.8849C88.1671 40.3709 100.776 17.2549 100.776 17.2549L114.014 30.4939C114.014 30.4939 101.196 53.3999 94.6811 46.8849Z' fill='%23006DEF'/%3e %3cpath d='M80.5631 86.0717C84.6764 90.5717 105.067 86.6134 127.034 69.6872C134.098 64.2442 144.416 49.2458 144.416 49.2458L116.817 23.502C116.817 23.502 101.406 35.099 95.7208 42.4841C79.9574 62.9614 76.5679 81.7009 80.5631 86.0717Z' fill='url(%23paint1_linear)'/%3e %3cpath d='M118.266 19.6472L146.265 47.6462C147.585 48.9672 147.585 51.1082 146.265 52.4292C144.945 53.7502 142.803 53.7502 141.483 52.4292L113.483 24.4292C112.162 23.1092 112.162 20.9672 113.483 19.6472C114.804 18.3272 116.945 18.3272 118.266 19.6472Z' fill='%23006DEF'/%3e %3cpath d='M103.959 47.7806C108.146 43.5926 114.938 43.5926 119.125 47.7806C123.313 51.9676 123.313 58.7586 119.125 62.9466C114.938 67.1346 108.146 67.1346 103.959 62.9466C99.7714 58.7586 99.7714 51.9676 103.959 47.7806Z' fill='%23006DEF'/%3e %3cpath d='M106.18 50.001C109.142 47.04 113.943 47.04 116.905 50.001C119.866 52.963 119.866 57.764 116.905 60.726C113.943 63.687 109.142 63.687 106.18 60.726C103.219 57.764 103.219 52.963 106.18 50.001Z' fill='%23004597'/%3e %3cpath d='M77.5935 66.043C81.5785 69.324 85.0465 68.242 87.5615 70.456C90.0795 72.672 88.7135 74.224 91.2305 76.439C93.7505 78.657 95.1155 77.106 97.6355 79.323C100.153 81.54 98.7885 83.092 101.307 85.31L95.0835 100.696L68.3965 75.491L77.5935 66.043Z' fill='%23797673'/%3e %3cpath d='M111.308 93.9519C111.308 98.5029 107.619 102.192 103.068 102.192C98.5171 102.192 94.8281 98.5029 94.8281 93.9519C94.8281 89.4009 98.5171 85.7119 103.068 85.7119C107.619 85.7119 111.308 89.4009 111.308 93.9519Z' fill='%23605D5A'/%3e %3cpath d='M129.296 15.3401C129.261 15.9071 129.417 16.4781 129.736 16.9481C130.192 17.6091 130.905 18.0251 131.71 18.0761C133.128 18.1631 134.356 17.0811 134.445 15.6621L134.877 8.81113C134.918 8.12013 134.682 7.47513 134.265 6.98413C133.826 6.46913 133.189 6.12413 132.461 6.07813C131.043 5.99113 129.817 7.07513 129.728 8.49313L129.296 15.3401Z' fill='%2333312D'/%3e %3cpath d='M141.479 20.1852C140.668 21.0702 140.575 22.3812 141.249 23.3732H141.25C141.371 23.5512 141.51 23.7112 141.645 23.8312C142.695 24.7872 144.329 24.7122 145.288 23.6642L149.626 18.9142C150.094 18.4022 150.333 17.7382 150.297 17.0432C150.269 16.4692 150.056 15.9362 149.697 15.5132C149.624 15.4272 149.544 15.3462 149.46 15.2712C148.41 14.3152 146.776 14.3882 145.817 15.4372L141.479 20.1852Z' fill='%2333312D'/%3e %3cpath d='M149.037 33.7201C149.111 33.9981 149.23 34.2601 149.391 34.4981C150.016 35.4211 151.14 35.8311 152.205 35.5401L158.098 33.9351C158.764 33.7541 159.318 33.3241 159.66 32.7231C160.001 32.1241 160.089 31.4291 159.908 30.7741C159.808 30.4001 159.628 30.0611 159.384 29.7751C159.193 29.5511 158.964 29.3591 158.701 29.2081C158.102 28.8651 157.406 28.7771 156.741 28.9581L150.847 30.5631C150.182 30.7451 149.626 31.1771 149.285 31.7771C148.943 32.3761 148.857 33.0721 149.037 33.7201Z' fill='%2333312D'/%3e %3cdefs%3e %3clinearGradient id='paint0_linear' x1='78.9276' y1='-8.35692' x2='78.9276' y2='57.7715' gradientUnits='userSpaceOnUse'%3e %3cstop stop-opacity='0.01'/%3e %3cstop offset='1' stop-color='%23C8C6C4'/%3e %3c/linearGradient%3e %3clinearGradient id='paint1_linear' x1='96.7103' y1='98.9231' x2='121.53' y2='67.6909' gradientUnits='userSpaceOnUse'%3e %3cstop stop-color='%23006DEF'/%3e %3cstop offset='1' stop-color='%230286EF'/%3e %3c/linearGradient%3e %3c/defs%3e %3c/svg%3e"},330:(e,t,n)=>{const r=n(3682);e.exports=(e,t,n)=>r(e,t,n)>0},345:(e,t,n)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.debounce=t.addCancelSelectActionEventHandler=t.clearElementChildren=t.getScrollY=t.getScrollX=t.getFitStatus=t.truncate=t.truncateText=t.stringToCssColor=t.parseEnum=t.getEnumValueByName=t.parseBool=t.parseNumber=t.parseString=t.appendChild=t.generateUniqueId=t.isMobileOS=t.isInternetExplorer=void 0;var i=n(1050),o=n(3771);function a(e,t){for(var n in e){var r=parseInt(n,10);if(r>=0){var i=e[n];if(i&&"string"==typeof i&&i.toLowerCase()===t.toLowerCase())return r}}}function s(e,t,n,r,i){var o=function(){return t-e.scrollHeight>=-1};if(!o()){for(var a=function(e){for(var t=[],n=c(e,-1);n<e.length;)" "===e[n]&&t.push(n),n=c(e,n);return t}(n),s=0,l=a.length,u=0;s<l;){var d=Math.floor((s+l)/2);r(n,a[d]),o()?(u=a[d],s=d+1):l=d}if(r(n,u),i&&t-e.scrollHeight>=i-1){for(var p=c(n,u);p<n.length&&(r(n,p),o());)u=p,p=c(n,p);r(n,u)}}}t.isInternetExplorer=function(){return void 0!==window.document.documentMode},t.isMobileOS=function(){var e=window.navigator.userAgent;return!!e.match(/Android/i)||!!e.match(/iPad/i)||!!e.match(/iPhone/i)},t.generateUniqueId=function(){return"__ac-"+o.UUID.generate()},t.appendChild=function(e,t){t&&e.appendChild(t)},t.parseString=function(e,t){return"string"==typeof e?e:t},t.parseNumber=function(e,t){return"number"==typeof e?e:t},t.parseBool=function(e,t){if("boolean"==typeof e)return e;if("string"==typeof e)switch(e.toLowerCase()){case"true":return!0;case"false":return!1;default:return t}return t},t.getEnumValueByName=a,t.parseEnum=function(e,t,n){if(!t)return n;var r=a(e,t);return void 0!==r?r:n},t.stringToCssColor=function(e){if(e){var t=/#([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})?/gi.exec(e);if(t&&t[4]){var n=parseInt(t[1],16)/255;return"rgba("+parseInt(t[2],16)+","+parseInt(t[3],16)+","+parseInt(t[4],16)+","+n+")"}}return e},t.truncateText=function(e,t,n){s(e,t,e.innerText,(function(t,n){e.innerText=t.substring(0,n)+"..."}),n)};var l="undefined"==typeof window||null===(r=window.trustedTypes)||void 0===r?void 0:r.createPolicy("adaptivecards#deprecatedExportedFunctionPolicy",{createHTML:function(e){return e}});function c(e,t){for(t+=1;t<e.length&&"<"===e[t];)for(;t<e.length&&">"!==e[t++];);return t}t.truncate=function(e,t,n){s(e,t,e.innerHTML,(function(t,n){var r,i=t.substring(0,n)+"...",o=null!==(r=null==l?void 0:l.createHTML(i))&&void 0!==r?r:i;e.innerHTML=o}),n)},t.getFitStatus=function(e,t){var n=e.offsetTop;return n+e.clientHeight<=t?i.ContainerFitStatus.FullyInContainer:n<t?i.ContainerFitStatus.Overflowing:i.ContainerFitStatus.FullyOutOfContainer},t.getScrollX=function(){return window.pageXOffset},t.getScrollY=function(){return window.pageYOffset},t.clearElementChildren=function(e){for(;e.firstChild;)e.removeChild(e.firstChild)},t.addCancelSelectActionEventHandler=function(e){e.onclick=function(e){e.preventDefault(),e.cancelBubble=!0}},t.debounce=function(e,t){var n;return function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];n&&clearTimeout(n),n=setTimeout((function(){e.apply(void 0,r)}),t)}}},397:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.PopupMenu=void 0;var o=n(4838),a=n(4267),s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._items=new a.Collection,t._renderedItems=[],t._selectedIndex=-1,t}return i(t,e),t.prototype.renderContent=function(){var e=document.createElement("div");e.className=this.hostConfig.makeCssClassName("ac-ctrl ac-popup"),e.setAttribute("role","listbox");for(var t=0;t<this._items.length;t++){var n=this._items.get(t).render(this.hostConfig);n.tabIndex=0,e.appendChild(n),t===this.selectedIndex&&n.focus(),this._renderedItems.push(n)}return e},t.prototype.keyDown=function(t){e.prototype.keyDown.call(this,t);var n=this._selectedIndex;switch(t.key){case o.Constants.keys.tab:this.closePopup(!0);break;case o.Constants.keys.up:(n<=0||--n<0)&&(n=this._renderedItems.length-1),this.selectedIndex=n,t.cancelBubble=!0;break;case o.Constants.keys.down:(n<0||++n>=this._renderedItems.length)&&(n=0),this.selectedIndex=n,t.cancelBubble=!0}},Object.defineProperty(t.prototype,"items",{get:function(){return this._items},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(e){e>=0&&e<this._renderedItems.length&&(this._renderedItems[e].focus(),this._selectedIndex=e)},enumerable:!1,configurable:!0}),t}(n(3353).PopupControl);t.PopupMenu=s},504:e=>{const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:t,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},542:(e,t,n)=>{const r=n(2306),i=n(9433);e.exports=(e,t,n)=>{let o=null,a=null,s=null;try{s=new i(t,n)}catch(e){return null}return e.forEach((e=>{s.test(e)&&(o&&-1!==a.compare(e)||(o=e,a=new r(o,n)))})),o}},592:e=>{e.exports="data:image/svg+xml,%3csvg width='214' height='50' viewBox='0 0 214 50' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cpath d='M82 25C82 11.1929 93.1929 0 107 0C120.807 0 132 11.1929 132 25C132 38.8071 120.807 50 107 50C93.1929 50 82 38.8071 82 25Z' fill='url(%23paint0_linear)'/%3e %3cpath d='M164 25C164 11.1929 175.193 0 189 0C202.807 0 214 11.1929 214 25C214 38.8071 202.807 50 189 50C175.193 50 164 38.8071 164 25Z' fill='url(%23paint1_linear)'/%3e %3cpath d='M0 25C0 11.1929 11.1929 0 25 0C38.8071 0 50 11.1929 50 25C50 38.8071 38.8071 50 25 50C11.1929 50 0 38.8071 0 25Z' fill='url(%23paint2_linear)'/%3e %3cdefs%3e %3clinearGradient id='paint0_linear' x1='131.578' y1='0.211148' x2='82' y2='0.211148' gradientUnits='userSpaceOnUse'%3e %3cstop stop-color='%23F3F2F1'/%3e %3cstop offset='1' stop-color='%23EDEBE9'/%3e %3c/linearGradient%3e %3clinearGradient id='paint1_linear' x1='213.578' y1='0.211148' x2='164' y2='0.211148' gradientUnits='userSpaceOnUse'%3e %3cstop stop-color='%23F3F2F1'/%3e %3cstop offset='1' stop-color='%23EDEBE9'/%3e %3c/linearGradient%3e %3clinearGradient id='paint2_linear' x1='49.5777' y1='0.211148' x2='0' y2='0.211148' gradientUnits='userSpaceOnUse'%3e %3cstop stop-color='%23F3F2F1'/%3e %3cstop offset='1' stop-color='%23EDEBE9'/%3e %3c/linearGradient%3e %3c/defs%3e %3c/svg%3e"},623:(e,t,n)=>{const r=n(2306),i=n(9433),o=n(330);e.exports=(e,t)=>{e=new i(e,t);let n=new r("0.0.0");if(e.test(n))return n;if(n=new r("0.0.0-0"),e.test(n))return n;n=null;for(let t=0;t<e.set.length;++t){const i=e.set[t];let a=null;i.forEach((e=>{const t=new r(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":a&&!o(t,a)||(a=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!a||n&&!o(n,a)||(n=a)}return n&&e.test(n)?n:null}},681:function(e,t){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.formatText=void 0;var i=function(){function e(e){this._regularExpression=e}return e.prototype.format=function(e,t){var n;if(t){for(var r=t;null!=(n=this._regularExpression.exec(t));)r=r.replace(n[0],this.internalFormat(e,n));return r}return t},e}(),o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.internalFormat=function(e,t){var n=new Date(Date.parse(t[1])),r=void 0!==t[2]?t[2].toLowerCase():"compact";return"compact"!==r?n.toLocaleDateString(e,{day:"numeric",weekday:r,month:r,year:"numeric"}):n.toLocaleDateString()},t}(i),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.internalFormat=function(e,t){return new Date(Date.parse(t[1])).toLocaleTimeString(e,{hour:"numeric",minute:"2-digit"})},t}(i);t.formatText=function(e,t){for(var n=t,r=0,i=[new o(/\{{2}DATE\((\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:Z|(?:(?:-|\+)\d{2}:\d{2})))(?:, ?(COMPACT|LONG|SHORT))?\)\}{2}/g),new a(/\{{2}TIME\((\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:Z|(?:(?:-|\+)\d{2}:\d{2})))\)\}{2}/g)];r<i.length;r++)n=i[r].format(e,n);return n}},971:(e,t,n)=>{const r=n(5923);e.exports=(e,t)=>e.sort(((e,n)=>r(n,e,t)))},1050:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ActionRole=t.CarouselInteractionEvent=t.LogLevel=t.RefreshMode=t.TypeErrorType=t.ContainerFitStatus=t.ValidationEvent=t.ValidationPhase=t.InputLabelPosition=t.InputTextStyle=t.ActionIconPlacement=t.FillMode=t.Orientation=t.ShowCardActionMode=t.ImageStyle=t.ActionAlignment=t.VerticalAlignment=t.HorizontalAlignment=t.TextColor=t.Spacing=t.FontType=t.TextWeight=t.InputStyle=t.TextSize=t.SizeUnit=t.ImageSetPresentationStyle=t.ImageSize=t.Size=t.ActionMode=t.ActionStyle=t.ContainerStyle=void 0;var n=function(){function e(){}return e.Default="default",e.Emphasis="emphasis",e.Accent="accent",e.Good="good",e.Attention="attention",e.Warning="warning",e}();t.ContainerStyle=n;var r=function(){function e(){}return e.Default="default",e.Positive="positive",e.Destructive="destructive",e}();t.ActionStyle=r;var i,o,a,s,l,c,u,d,p,h,f,m,g,v,y,b,C,A,S,E,w,x,I,k,T,_,P,D,B=function(){function e(){}return e.Primary="primary",e.Secondary="secondary",e}();t.ActionMode=B,(D=t.Size||(t.Size={}))[D.Auto=0]="Auto",D[D.Stretch=1]="Stretch",D[D.Small=2]="Small",D[D.Medium=3]="Medium",D[D.Large=4]="Large",(P=t.ImageSize||(t.ImageSize={}))[P.Small=0]="Small",P[P.Medium=1]="Medium",P[P.Large=2]="Large",(_=t.ImageSetPresentationStyle||(t.ImageSetPresentationStyle={}))[_.Default=0]="Default",_[_.Stacked=1]="Stacked",(T=t.SizeUnit||(t.SizeUnit={}))[T.Weight=0]="Weight",T[T.Pixel=1]="Pixel",(k=t.TextSize||(t.TextSize={}))[k.Small=0]="Small",k[k.Default=1]="Default",k[k.Medium=2]="Medium",k[k.Large=3]="Large",k[k.ExtraLarge=4]="ExtraLarge",(I=t.InputStyle||(t.InputStyle={}))[I.RevealOnHover=0]="RevealOnHover",I[I.Default=1]="Default",(x=t.TextWeight||(t.TextWeight={}))[x.Lighter=0]="Lighter",x[x.Default=1]="Default",x[x.Bolder=2]="Bolder",(w=t.FontType||(t.FontType={}))[w.Default=0]="Default",w[w.Monospace=1]="Monospace",(E=t.Spacing||(t.Spacing={}))[E.None=0]="None",E[E.Small=1]="Small",E[E.Default=2]="Default",E[E.Medium=3]="Medium",E[E.Large=4]="Large",E[E.ExtraLarge=5]="ExtraLarge",E[E.Padding=6]="Padding",(S=t.TextColor||(t.TextColor={}))[S.Default=0]="Default",S[S.Dark=1]="Dark",S[S.Light=2]="Light",S[S.Accent=3]="Accent",S[S.Good=4]="Good",S[S.Warning=5]="Warning",S[S.Attention=6]="Attention",(A=t.HorizontalAlignment||(t.HorizontalAlignment={}))[A.Left=0]="Left",A[A.Center=1]="Center",A[A.Right=2]="Right",(C=t.VerticalAlignment||(t.VerticalAlignment={}))[C.Top=0]="Top",C[C.Center=1]="Center",C[C.Bottom=2]="Bottom",(b=t.ActionAlignment||(t.ActionAlignment={}))[b.Left=0]="Left",b[b.Center=1]="Center",b[b.Right=2]="Right",b[b.Stretch=3]="Stretch",(y=t.ImageStyle||(t.ImageStyle={}))[y.Default=0]="Default",y[y.Person=1]="Person",(v=t.ShowCardActionMode||(t.ShowCardActionMode={}))[v.Inline=0]="Inline",v[v.Popup=1]="Popup",(g=t.Orientation||(t.Orientation={}))[g.Horizontal=0]="Horizontal",g[g.Vertical=1]="Vertical",(m=t.FillMode||(t.FillMode={}))[m.Cover=0]="Cover",m[m.RepeatHorizontally=1]="RepeatHorizontally",m[m.RepeatVertically=2]="RepeatVertically",m[m.Repeat=3]="Repeat",(f=t.ActionIconPlacement||(t.ActionIconPlacement={}))[f.LeftOfTitle=0]="LeftOfTitle",f[f.AboveTitle=1]="AboveTitle",(h=t.InputTextStyle||(t.InputTextStyle={}))[h.Text=0]="Text",h[h.Tel=1]="Tel",h[h.Url=2]="Url",h[h.Email=3]="Email",h[h.Password=4]="Password",(p=t.InputLabelPosition||(t.InputLabelPosition={}))[p.Inline=0]="Inline",p[p.Above=1]="Above",(d=t.ValidationPhase||(t.ValidationPhase={}))[d.Parse=0]="Parse",d[d.ToJSON=1]="ToJSON",d[d.Validation=2]="Validation",(u=t.ValidationEvent||(t.ValidationEvent={}))[u.Hint=0]="Hint",u[u.ActionTypeNotAllowed=1]="ActionTypeNotAllowed",u[u.CollectionCantBeEmpty=2]="CollectionCantBeEmpty",u[u.Deprecated=3]="Deprecated",u[u.ElementTypeNotAllowed=4]="ElementTypeNotAllowed",u[u.InteractivityNotAllowed=5]="InteractivityNotAllowed",u[u.InvalidPropertyValue=6]="InvalidPropertyValue",u[u.MissingCardType=7]="MissingCardType",u[u.PropertyCantBeNull=8]="PropertyCantBeNull",u[u.TooManyActions=9]="TooManyActions",u[u.UnknownActionType=10]="UnknownActionType",u[u.UnknownElementType=11]="UnknownElementType",u[u.UnsupportedCardVersion=12]="UnsupportedCardVersion",u[u.DuplicateId=13]="DuplicateId",u[u.UnsupportedProperty=14]="UnsupportedProperty",u[u.RequiredInputsShouldHaveLabel=15]="RequiredInputsShouldHaveLabel",u[u.RequiredInputsShouldHaveErrorMessage=16]="RequiredInputsShouldHaveErrorMessage",u[u.Other=17]="Other",(c=t.ContainerFitStatus||(t.ContainerFitStatus={}))[c.FullyInContainer=0]="FullyInContainer",c[c.Overflowing=1]="Overflowing",c[c.FullyOutOfContainer=2]="FullyOutOfContainer",(l=t.TypeErrorType||(t.TypeErrorType={}))[l.UnknownType=0]="UnknownType",l[l.ForbiddenType=1]="ForbiddenType",(s=t.RefreshMode||(t.RefreshMode={}))[s.Disabled=0]="Disabled",s[s.Manual=1]="Manual",s[s.Automatic=2]="Automatic",(a=t.LogLevel||(t.LogLevel={}))[a.Info=0]="Info",a[a.Warning=1]="Warning",a[a.Error=2]="Error",(o=t.CarouselInteractionEvent||(t.CarouselInteractionEvent={}))[o.NavigationNext=0]="NavigationNext",o[o.NavigationPrevious=1]="NavigationPrevious",o[o.Pagination=2]="Pagination",o[o.Autoplay=3]="Autoplay",(i=t.ActionRole||(t.ActionRole={}))[i.Button=0]="Button",i[i.Link=1]="Link",i[i.Tab=2]="Tab",i[i.Menu=3]="Menu",i[i.MenuItem=4]="MenuItem"},1217:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GlobalRegistry=t.CardObjectRegistry=void 0;var r=n(5804),i=function(){function e(){this._items={}}return e.prototype.findByName=function(e){return this._items.hasOwnProperty(e)?this._items[e]:void 0},e.prototype.clear=function(){this._items={}},e.prototype.copyTo=function(e){for(var t=0,n=Object.keys(this._items);t<n.length;t++){var r=n[t],i=this._items[r];e.register(i.typeName,i.objectType,i.schemaVersion)}},e.prototype.register=function(e,t,n){void 0===n&&(n=r.Versions.v1_0);var i=this.findByName(e);void 0!==i?i.objectType=t:i={typeName:e,objectType:t,schemaVersion:n},this._items[e]=i},e.prototype.unregister=function(e){delete this._items[e]},e.prototype.createInstance=function(e,t){var n=this.findByName(e);return n&&n.schemaVersion.compareTo(t)<=0?new n.objectType:void 0},e.prototype.getItemCount=function(){return Object.keys(this._items).length},e.prototype.getItemAt=function(e){var t=this;return Object.keys(this._items).map((function(e){return t._items[e]}))[e]},e}();t.CardObjectRegistry=i;var o=function(){function e(){}return e.populateWithDefaultElements=function(t){t.clear(),e.defaultElements.copyTo(t)},e.populateWithDefaultActions=function(t){t.clear(),e.defaultActions.copyTo(t)},Object.defineProperty(e,"elements",{get:function(){return e._elements||(e._elements=new i,e.populateWithDefaultElements(e._elements)),e._elements},enumerable:!1,configurable:!0}),Object.defineProperty(e,"actions",{get:function(){return e._actions||(e._actions=new i,e.populateWithDefaultActions(e._actions)),e._actions},enumerable:!1,configurable:!0}),e.reset=function(){e._elements=void 0,e._actions=void 0},e.defaultElements=new i,e.defaultActions=new i,e}();t.GlobalRegistry=o},1364:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,i,o){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);r&&a[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),t.push(u))}},t}},1391:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.HostCapabilities=void 0;var o=n(5804),a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._capabilities={},t}return i(t,e),t.prototype.getSchemaKey=function(){return"HostCapabilities"},t.prototype.internalParse=function(t,n){if(e.prototype.internalParse.call(this,t,n),t)for(var r in t){var i=t[r];if("string"==typeof i)if("*"===i)this.addCapability(r,"*");else{var a=o.Version.parse(i,n);(null==a?void 0:a.isValid)&&this.addCapability(r,a)}}},t.prototype.internalToJSON=function(t,n){for(var r in e.prototype.internalToJSON.call(this,t,n),this._capabilities)t[r]=this._capabilities[r]},t.prototype.addCapability=function(e,t){this._capabilities[e]=t},t.prototype.removeCapability=function(e){delete this._capabilities[e]},t.prototype.clear=function(){this._capabilities={}},t.prototype.hasCapability=function(e,t){return!!this._capabilities.hasOwnProperty(e)&&("*"===t||"*"===this._capabilities[e]||t.compareTo(this._capabilities[e])<=0)},t.prototype.areAllMet=function(e){for(var t in this._capabilities)if(!e.hasCapability(t,this._capabilities[t]))return!1;return!0},t}(o.SerializableObject);t.HostCapabilities=a},1613:(e,t)=>{"use strict";
/** @license React v0.20.2
 * scheduler.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var n,r,i,o;if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var c=null,u=null,d=function(){if(null!==c)try{var e=t.unstable_now();c(!0,e),c=null}catch(e){throw setTimeout(d,0),e}};n=function(e){null!==c?setTimeout(n,0,e):(c=e,setTimeout(d,0))},r=function(e,t){u=setTimeout(e,t)},i=function(){clearTimeout(u)},t.unstable_shouldYield=function(){return!1},o=t.unstable_forceFrameRate=function(){}}else{var p=window.setTimeout,h=window.clearTimeout;if("undefined"!=typeof console){var f=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof f&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var m=!1,g=null,v=-1,y=5,b=0;t.unstable_shouldYield=function(){return t.unstable_now()>=b},o=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):y=0<e?Math.floor(1e3/e):5};var C=new MessageChannel,A=C.port2;C.port1.onmessage=function(){if(null!==g){var e=t.unstable_now();b=e+y;try{g(!0,e)?A.postMessage(null):(m=!1,g=null)}catch(e){throw A.postMessage(null),e}}else m=!1},n=function(e){g=e,m||(m=!0,A.postMessage(null))},r=function(e,n){v=p((function(){e(t.unstable_now())}),n)},i=function(){h(v),v=-1}}function S(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,i=e[r];if(!(void 0!==i&&0<x(i,t)))break e;e[r]=t,e[n]=i,n=r}}function E(e){return void 0===(e=e[0])?null:e}function w(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length;r<i;){var o=2*(r+1)-1,a=e[o],s=o+1,l=e[s];if(void 0!==a&&0>x(a,n))void 0!==l&&0>x(l,a)?(e[r]=l,e[s]=n,r=s):(e[r]=a,e[o]=n,r=o);else{if(!(void 0!==l&&0>x(l,n)))break e;e[r]=l,e[s]=n,r=s}}}return t}return null}function x(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var I=[],k=[],T=1,_=null,P=3,D=!1,B=!1,R=!1;function M(e){for(var t=E(k);null!==t;){if(null===t.callback)w(k);else{if(!(t.startTime<=e))break;w(k),t.sortIndex=t.expirationTime,S(I,t)}t=E(k)}}function L(e){if(R=!1,M(e),!B)if(null!==E(I))B=!0,n(O);else{var t=E(k);null!==t&&r(L,t.startTime-e)}}function O(e,n){B=!1,R&&(R=!1,i()),D=!0;var o=P;try{for(M(n),_=E(I);null!==_&&(!(_.expirationTime>n)||e&&!t.unstable_shouldYield());){var a=_.callback;if("function"==typeof a){_.callback=null,P=_.priorityLevel;var s=a(_.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?_.callback=s:_===E(I)&&w(I),M(n)}else w(I);_=E(I)}if(null!==_)var l=!0;else{var c=E(k);null!==c&&r(L,c.startTime-n),l=!1}return l}finally{_=null,P=o,D=!1}}var F=o;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){B||D||(B=!0,n(O))},t.unstable_getCurrentPriorityLevel=function(){return P},t.unstable_getFirstCallbackNode=function(){return E(I)},t.unstable_next=function(e){switch(P){case 1:case 2:case 3:var t=3;break;default:t=P}var n=P;P=t;try{return e()}finally{P=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=F,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=P;P=e;try{return t()}finally{P=n}},t.unstable_scheduleCallback=function(e,o,a){var s=t.unstable_now();switch(a="object"==typeof a&&null!==a&&"number"==typeof(a=a.delay)&&0<a?s+a:s,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:T++,callback:o,priorityLevel:e,startTime:a,expirationTime:l=a+l,sortIndex:-1},a>s?(e.sortIndex=a,S(k,e),null===E(I)&&e===E(k)&&(R?i():R=!0,r(L,a-s))):(e.sortIndex=l,S(I,e),B||D||(B=!0,n(O))),e},t.unstable_wrapCallback=function(e){var t=P;return function(){var n=P;P=t;try{return e.apply(this,arguments)}finally{P=n}}}},1716:(e,t,n)=>{const r=n(9789);e.exports=(e,t,n)=>r(e,t,"<",n)},1859:(e,t,n)=>{const r=n(3682);e.exports=(e,t,n)=>r(e,t,n)>=0},1975:e=>{"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAAH7+Yj7AAAAAXNSR0IArs4c6QAABXNJREFUWAnNWE9sVEUY/+btbilYdosaDCQcak28oMZYLxpJiF4NESUe9eQB9VIotI0ipbpbKOBB5eBFPXjwTzSNiSeNUaMXqSTaI9IDCSBReW9bpX+2b/z95u3b93+3ZbfAHN6bb+abb34z8/2bEfFL2flYytVBn0z5kyNWLBE1HWtLISf1HUFr2Z4LiIrjBgRqx+f2RugWRMV5I5sjLpuc5epd0nRQXNyEPSpSsavx9myaUzQrZdsJurleM0XQJCEGFWoWOWH3y4r6WkRfkpHe3ZE+Q2itZMJ5O9FRcZaibaf+2xFtCFFl54pHlW0dak6vVpxjlhTyD6X3hlq1fj1ENamW7QtWC0X0R/dB/dwxn8r8F3L3eH0V+9dMpsRi4w0nq3dLY2ug9qmSqFpaH0XvD5LPvypDPb8ZvtPOnbKgXhSlT6D/upRK2+RlNZ8qAwwKOqCl2SGljeTyKvan0S4iSlOJKFdzqrEVVMCK/X1z7lX2QmjeaPNI6f5VDmnBphagDzANbnZHiu62jJ0tytW25VF9RGaAEKVY7IUuLZr6jXwmqo/Jkp6R0d4HosN5/CEljXamUBTE0z2tN/q96YrN3rIzjv19zWNUC6hfRr3Po2VGCrknZWhzYquyBXIkQ45ynxYtA6LUJfzPSl4fkUO9f9QFJ35Jge/pHnGcyxCwUbQ6JN36Qxks/WNGTs4/KLXaOxC8C/1HZaQ0lpAYaaDF8HBa+XEOomUxzNBkUwsPpJnbSRtEu+ehJIQyWKzldMPCKTQREBuGHeZcQ91bfj0EUz3ioWwNshqsdVB5o2vDvRkb22BvXaEzhufyTK81e2sOevaaQuATWkEHCsOEkgG6L5pUh4rexiX3dUSa51OncSgdKoyGor6CA7B/F885tie54tQoANkI3NCSm+k9VjULbZ9x2gg0Pk1dFzrLGy0KB8ugHynU9EhqHOnNJkygDzJfnrJXukubZNmZXxNSz6GcD/vFpMkZJsSILqtfDhb/8ueL/Gn7rrwludyzcnjzF+G+pED2Ts5tleWVb1HbWWeehUpgj3S3oZUaB6oj9b7IL11ghCVEcKKa+wpO9Bm0+pPVGRqBDHRo8mD4DMLGl5K33k0LbgFbtNYaIJ35insGq2V2WoXiHsck72dub1R+QNF2au5L2PrDaCxiEX9KztofP4JggFdLB8g8YNH5CMFynxFkqb0yXPw5PrgtmmbkaugHFq7kM9lQekEGYV6xkgQYJNfnJF96QobUv7ExnSVpmjXnR2zGw2mZQwDQpB/V85h9i1hqd8d3rNWyvB39DmzXpFS8z79ZeAA9K6M7xE3buldGi3+3krcu/Sadci9ANl10P43Jc1x0AUzc6FtuFTiumHMTA7F4bglIvReRnSarzHJ867JdGUKJgRku3RiwWSZ3Jq9yP8gYcvObfSzI6y1YzwAQzOIide3mI8mY0cMyS2zYQdw6jOfPYL5lzYhGwMYdPGtiIm8yt0sxWBCngc0y9zUC4zXrdik+FtwlLe8yqd4E2l0duaK0u0imSt59dDx60TV3T2SF7b7YtAOQczMzJZZ6CUIdG5i5uO7nWMFV2VB4VA5suugzruufV9jF5V+QNGwVy3ounOFEARKF9xT6CUDuw4Bz0tW1Z92AEtjS0hTmQqKAjGa49DwsV4c3IwnQ7zVAq8xy8XQoy4g5Z8SFrrYbChlvLbzWuLIfoAqQP4bE5FgcmA8jG6DPwT8znWr1AHb3IKgeCFvBVv8k2pqSgvUNPMDFhKOv2FvwFrpDlt2nEKX2wNc+jvE5jJ/H+JN4DDvlZyycIqusDmDaaL5a1ixMrB/BA+x2ANgOAPijGOePN0NtgsC05N2pqEWmCUxv+x+PniWAgUGu6gAAAABJRU5ErkJggg=="},2074:e=>{"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAA8JJREFUWAnFV0FoE0EUfbtNm0LRm1Jz8GI9mIAHQSiCBQWlVRQEPQmevCjSQw9iWpTQUgUPPRSkF689KQgVqSgoKGhB8KIbBOulh7bozSI0tc363uwm2djZTVpS+iHJZv78//78mfn/rYNmpeB1YM09BWxcRBlZOE6GpvpIFuH7i3BRBNpm0FF+i0JuLVAlfzvJamoLXjdKuMenqwTZS+AyfPyAQ1A4/Ej8DMcyHDvEOS7n/ObgNNIYZSDLZkrMV3wAk9/TWP47gnJ5iLZddPqSgE+R7niOQs9Pq7/C/H6U1i4woMsMpJ9z/sB1J9DdPo7BwyWbjT0ArXoVz+iol8Dv4Tq3MZ6dszmIHRsp9qLsP2QgJxn4HDpxyZaNzQEMfzuK8voLGh1gSofwIDcZC9KMIu8NcnsmuJgltLedw9iRL1Gz+gDMyv1PBN/DVV/B/ezr6ORtPw8XzzAbTxjECjqd49FMuFWn2nOTdq68leAC0ELkU1kVhrBCqQWgA2f2nGlv1corKPqVT22pMAxWoAy2IEj9PA/cZ+55X9Ru0/NdL4d1/zpXc5a6g6F+gY5fIeU8xljO22QTHch773gwj3ErerQVKaML7nmXOe3RydFnFaKSM0HwGzxUzJwf1Wb5J4t1DCJfnELaH6JzeyHSjdrwP4a15abDQkPH+EUHH7j6gajX6rPmrGKWoKerY4kPzhteu4HYIPIefeEEC9U+15RXVTgVmTjRypsGlxMGamziHBJLmCztTCVru8qrKpxNtOdg2rcstDG2FkNhCZPYrmksqu1x5VUHTvV9qyIbc1gthsISJptaipGoo4VNxTLZnPa6A2ebFDNmbopdFzSzjFbGACpdzTq3ctWsygaDCbYG0wTQwMcOqn2YvWX62c/jZSFe1VCTYEtMB0suDxjZTJXZWDyywm1bEmyFSWzX0CgxGZEJm6i8mitjUyaMyUa2NhGWMEnheAjJ4XRlDJOxzDa13ZmyaBoM0SauLwjLXO22GdcQSMPhSKPiRLUdLK9NC+camzgDYgmT5NUN6/U0I+qHaJRN1FhU2x33UeJ2KO2ak9QHhBHwxWlhB91Q7HUV1wyHA/psMYSB3mJ5nWLXi2nHYDvOJrdj8USRVWHWyXBxFHe++hCH2ymRb2EIKxQewlBEncVeRSDF4Vot8mnIKTEMVgBQC0C8XdRZ7FUEspVB1EjpksGIvCPUAlBAeotxU+cZxAqDmG3Jdijt8iWfouX/vSnV0/JK2nf1xaQSxK6+mlWC0K+ysSsvp9EggkB25PX8HxMGtXJNekL7AAAAAElFTkSuQmCC"},2155:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var i=void 0!==n.layer;i&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,i&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},2221:(e,t,n)=>{const r=n(2306);e.exports=(e,t,n,i,o)=>{"string"==typeof n&&(o=i,i=n,n=void 0);try{return new r(e instanceof r?e.version:e,n).inc(t,i,o).version}catch(e){return null}}},2306:(e,t,n)=>{const r=n(6286),{MAX_LENGTH:i,MAX_SAFE_INTEGER:o}=n(504),{safeRe:a,safeSrc:s,t:l}=n(6516),c=n(6633),{compareIdentifiers:u}=n(2329);class d{constructor(e,t){if(t=c(t),e instanceof d){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>i)throw new TypeError(`version is longer than ${i} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?a[l.LOOSE]:a[l.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>o||this.major<0)throw new TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<o)return t}return e})):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(r("SemVer.compare",this.version,this.options,e),!(e instanceof d)){if("string"==typeof e&&e===this.version)return 0;e=new d(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof d||(e=new d(e,this.options)),u(this.major,e.major)||u(this.minor,e.minor)||u(this.patch,e.patch)}comparePre(e){if(e instanceof d||(e=new d(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const n=this.prerelease[t],i=e.prerelease[t];if(r("prerelease compare",t,n,i),void 0===n&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===n)return-1;if(n!==i)return u(n,i)}while(++t)}compareBuild(e){e instanceof d||(e=new d(e,this.options));let t=0;do{const n=this.build[t],i=e.build[t];if(r("build compare",t,n,i),void 0===n&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===n)return-1;if(n!==i)return u(n,i)}while(++t)}inc(e,t,n){if(e.startsWith("pre")){if(!t&&!1===n)throw new Error("invalid increment argument: identifier is empty");if(t){const e=new RegExp(`^${this.options.loose?s[l.PRERELEASELOOSE]:s[l.PRERELEASE]}$`),n=`-${t}`.match(e);if(!n||n[1]!==t)throw new Error(`invalid identifier: ${t}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,n),this.inc("pre",t,n);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t,n),this.inc("pre",t,n);break;case"release":if(0===this.prerelease.length)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":{const e=Number(n)?1:0;if(0===this.prerelease.length)this.prerelease=[e];else{let r=this.prerelease.length;for(;--r>=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);if(-1===r){if(t===this.prerelease.join(".")&&!1===n)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let r=[t,e];!1===n&&(r=[t]),0===u(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=r):this.prerelease=r}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=d},2313:(e,t,n)=>{"use strict";
/*!
 * The buffer module from node.js, for the browser.
 *
 * @author   Feross Aboukhadijeh <https://feross.org>
 * @license  MIT
 */
const r=n(2504),i=n(9029),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.hp=l,t.IS=50;const a=2147483647;function s(e){if(e>a)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new Uint8Array(e);return Object.setPrototypeOf(t,l.prototype),t}function l(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return d(e)}return c(e,t,n)}function c(e,t,n){if("string"==typeof e)return function(e,t){if("string"==typeof t&&""!==t||(t="utf8"),!l.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const n=0|m(e,t);let r=s(n);const i=r.write(e,t);return i!==n&&(r=r.slice(0,i)),r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(Y(e,Uint8Array)){const t=new Uint8Array(e);return h(t.buffer,t.byteOffset,t.byteLength)}return p(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(Y(e,ArrayBuffer)||e&&Y(e.buffer,ArrayBuffer))return h(e,t,n);if("undefined"!=typeof SharedArrayBuffer&&(Y(e,SharedArrayBuffer)||e&&Y(e.buffer,SharedArrayBuffer)))return h(e,t,n);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');const r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return l.from(r,t,n);const i=function(e){if(l.isBuffer(e)){const t=0|f(e.length),n=s(t);return 0===n.length||e.copy(n,0,0,t),n}return void 0!==e.length?"number"!=typeof e.length||X(e.length)?s(0):p(e):"Buffer"===e.type&&Array.isArray(e.data)?p(e.data):void 0}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return l.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function d(e){return u(e),s(e<0?0:0|f(e))}function p(e){const t=e.length<0?0:0|f(e.length),n=s(t);for(let r=0;r<t;r+=1)n[r]=255&e[r];return n}function h(e,t,n){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw new RangeError('"length" is outside of buffer bounds');let r;return r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),Object.setPrototypeOf(r,l.prototype),r}function f(e){if(e>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function m(e,t){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Y(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return q(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return G(e).length;default:if(i)return r?-1:q(e).length;t=(""+t).toLowerCase(),i=!0}}function g(e,t,n){let r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return P(this,t,n);case"utf8":case"utf-8":return I(this,t,n);case"ascii":return T(this,t,n);case"latin1":case"binary":return _(this,t,n);case"base64":return x(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return D(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function v(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function y(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),X(n=+n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=l.from(t,r)),l.isBuffer(t))return 0===t.length?-1:b(e,t,n,r,i);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):b(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function b(e,t,n,r,i){let o,a=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){let r=-1;for(o=n;o<s;o++)if(c(e,o)===c(t,-1===r?0:o-r)){if(-1===r&&(r=o),o-r+1===l)return r*a}else-1!==r&&(o-=o-r),r=-1}else for(n+l>s&&(n=s-l),o=n;o>=0;o--){let n=!0;for(let r=0;r<l;r++)if(c(e,o+r)!==c(t,r)){n=!1;break}if(n)return o}return-1}function C(e,t,n,r){n=Number(n)||0;const i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;const o=t.length;let a;for(r>o/2&&(r=o/2),a=0;a<r;++a){const r=parseInt(t.substr(2*a,2),16);if(X(r))return a;e[n+a]=r}return a}function A(e,t,n,r){return K(q(t,e.length-n),e,n,r)}function S(e,t,n,r){return K(function(e){const t=[];for(let n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function E(e,t,n,r){return K(G(t),e,n,r)}function w(e,t,n,r){return K(function(e,t){let n,r,i;const o=[];for(let a=0;a<e.length&&!((t-=2)<0);++a)n=e.charCodeAt(a),r=n>>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function x(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function I(e,t,n){n=Math.min(e.length,n);const r=[];let i=t;for(;i<n;){const t=e[i];let o=null,a=t>239?4:t>223?3:t>191?2:1;if(i+a<=n){let n,r,s,l;switch(a){case 1:t<128&&(o=t);break;case 2:n=e[i+1],128==(192&n)&&(l=(31&t)<<6|63&n,l>127&&(o=l));break;case 3:n=e[i+1],r=e[i+2],128==(192&n)&&128==(192&r)&&(l=(15&t)<<12|(63&n)<<6|63&r,l>2047&&(l<55296||l>57343)&&(o=l));break;case 4:n=e[i+1],r=e[i+2],s=e[i+3],128==(192&n)&&128==(192&r)&&128==(192&s)&&(l=(15&t)<<18|(63&n)<<12|(63&r)<<6|63&s,l>65535&&l<1114112&&(o=l))}}null===o?(o=65533,a=1):o>65535&&(o-=65536,r.push(o>>>10&1023|55296),o=56320|1023&o),r.push(o),i+=a}return function(e){const t=e.length;if(t<=k)return String.fromCharCode.apply(String,e);let n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=k));return n}(r)}l.TYPED_ARRAY_SUPPORT=function(){try{const e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),l.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}}),l.poolSize=8192,l.from=function(e,t,n){return c(e,t,n)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array),l.alloc=function(e,t,n){return function(e,t,n){return u(e),e<=0?s(e):void 0!==t?"string"==typeof n?s(e).fill(t,n):s(e).fill(t):s(e)}(e,t,n)},l.allocUnsafe=function(e){return d(e)},l.allocUnsafeSlow=function(e){return d(e)},l.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==l.prototype},l.compare=function(e,t){if(Y(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),Y(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let n=e.length,r=t.length;for(let i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);let n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;const r=l.allocUnsafe(t);let i=0;for(n=0;n<e.length;++n){let t=e[n];if(Y(t,Uint8Array))i+t.length>r.length?(l.isBuffer(t)||(t=l.from(t)),t.copy(r,i)):Uint8Array.prototype.set.call(r,t,i);else{if(!l.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(r,i)}i+=t.length}return r},l.byteLength=m,l.prototype._isBuffer=!0,l.prototype.swap16=function(){const e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)v(this,t,t+1);return this},l.prototype.swap32=function(){const e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)v(this,t,t+3),v(this,t+1,t+2);return this},l.prototype.swap64=function(){const e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)v(this,t,t+7),v(this,t+1,t+6),v(this,t+2,t+5),v(this,t+3,t+4);return this},l.prototype.toString=function(){const e=this.length;return 0===e?"":0===arguments.length?I(this,0,e):g.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){let e="";const n=t.IS;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},o&&(l.prototype[o]=l.prototype.inspect),l.prototype.compare=function(e,t,n,r,i){if(Y(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;let o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0);const s=Math.min(o,a),c=this.slice(r,i),u=e.slice(t,n);for(let e=0;e<s;++e)if(c[e]!==u[e]){o=c[e],a=u[e];break}return o<a?-1:a<o?1:0},l.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},l.prototype.indexOf=function(e,t,n){return y(this,e,t,n,!0)},l.prototype.lastIndexOf=function(e,t,n){return y(this,e,t,n,!1)},l.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}const i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let o=!1;for(;;)switch(r){case"hex":return C(this,e,t,n);case"utf8":case"utf-8":return A(this,e,t,n);case"ascii":case"latin1":case"binary":return S(this,e,t,n);case"base64":return E(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return w(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const k=4096;function T(e,t,n){let r="";n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function _(e,t,n){let r="";n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function P(e,t,n){const r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);let i="";for(let r=t;r<n;++r)i+=Z[e[r]];return i}function D(e,t,n){const r=e.slice(t,n);let i="";for(let e=0;e<r.length-1;e+=2)i+=String.fromCharCode(r[e]+256*r[e+1]);return i}function B(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function R(e,t,n,r,i,o){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function M(e,t,n,r,i){U(t,r,i,e,n,7);let o=Number(t&BigInt(4294967295));e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,n}function L(e,t,n,r,i){U(t,r,i,e,n,7);let o=Number(t&BigInt(4294967295));e[n+7]=o,o>>=8,e[n+6]=o,o>>=8,e[n+5]=o,o>>=8,e[n+4]=o;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=a,a>>=8,e[n+2]=a,a>>=8,e[n+1]=a,a>>=8,e[n]=a,n+8}function O(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function F(e,t,n,r,o){return t=+t,n>>>=0,o||O(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function N(e,t,n,r,o){return t=+t,n>>>=0,o||O(e,0,n,8),i.write(e,t,n,r,52,8),n+8}l.prototype.slice=function(e,t){const n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);const r=this.subarray(e,t);return Object.setPrototypeOf(r,l.prototype),r},l.prototype.readUintLE=l.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||B(e,t,this.length);let r=this[e],i=1,o=0;for(;++o<t&&(i*=256);)r+=this[e+o]*i;return r},l.prototype.readUintBE=l.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||B(e,t,this.length);let r=this[e+--t],i=1;for(;t>0&&(i*=256);)r+=this[e+--t]*i;return r},l.prototype.readUint8=l.prototype.readUInt8=function(e,t){return e>>>=0,t||B(e,1,this.length),this[e]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,t){return e>>>=0,t||B(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,t){return e>>>=0,t||B(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,t){return e>>>=0,t||B(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,t){return e>>>=0,t||B(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readBigUInt64LE=J((function(e){j(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||W(e,this.length-8);const r=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,i=this[++e]+256*this[++e]+65536*this[++e]+n*2**24;return BigInt(r)+(BigInt(i)<<BigInt(32))})),l.prototype.readBigUInt64BE=J((function(e){j(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||W(e,this.length-8);const r=t*2**24+65536*this[++e]+256*this[++e]+this[++e],i=this[++e]*2**24+65536*this[++e]+256*this[++e]+n;return(BigInt(r)<<BigInt(32))+BigInt(i)})),l.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||B(e,t,this.length);let r=this[e],i=1,o=0;for(;++o<t&&(i*=256);)r+=this[e+o]*i;return i*=128,r>=i&&(r-=Math.pow(2,8*t)),r},l.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||B(e,t,this.length);let r=t,i=1,o=this[e+--r];for(;r>0&&(i*=256);)o+=this[e+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},l.prototype.readInt8=function(e,t){return e>>>=0,t||B(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){e>>>=0,t||B(e,2,this.length);const n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){e>>>=0,t||B(e,2,this.length);const n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return e>>>=0,t||B(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return e>>>=0,t||B(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readBigInt64LE=J((function(e){j(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||W(e,this.length-8);const r=this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24);return(BigInt(r)<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+this[++e]*2**24)})),l.prototype.readBigInt64BE=J((function(e){j(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||W(e,this.length-8);const r=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(r)<<BigInt(32))+BigInt(this[++e]*2**24+65536*this[++e]+256*this[++e]+n)})),l.prototype.readFloatLE=function(e,t){return e>>>=0,t||B(e,4,this.length),i.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return e>>>=0,t||B(e,4,this.length),i.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return e>>>=0,t||B(e,8,this.length),i.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return e>>>=0,t||B(e,8,this.length),i.read(this,e,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,t,n,r){e=+e,t>>>=0,n>>>=0,r||R(this,e,t,n,Math.pow(2,8*n)-1,0);let i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(e,t,n,r){e=+e,t>>>=0,n>>>=0,r||R(this,e,t,n,Math.pow(2,8*n)-1,0);let i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},l.prototype.writeUint8=l.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,1,255,0),this[t]=255&e,t+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeBigUInt64LE=J((function(e,t=0){return M(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),l.prototype.writeBigUInt64BE=J((function(e,t=0){return L(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),l.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);R(this,e,t,n,r-1,-r)}let i=0,o=1,a=0;for(this[t]=255&e;++i<n&&(o*=256);)e<0&&0===a&&0!==this[t+i-1]&&(a=1),this[t+i]=(e/o|0)-a&255;return t+n},l.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);R(this,e,t,n,r-1,-r)}let i=n-1,o=1,a=0;for(this[t+i]=255&e;--i>=0&&(o*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/o|0)-a&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeBigInt64LE=J((function(e,t=0){return M(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),l.prototype.writeBigInt64BE=J((function(e,t=0){return L(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),l.prototype.writeFloatLE=function(e,t,n){return F(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return F(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return N(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return N(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,r){if(!l.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);const i=r-n;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,n,r):Uint8Array.prototype.set.call(e,this.subarray(n,r),t),i},l.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!l.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(1===e.length){const t=e.charCodeAt(0);("utf8"===r&&t<128||"latin1"===r)&&(e=t)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;let i;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i<n;++i)this[i]=e;else{const o=l.isBuffer(e)?e:l.from(e,r),a=o.length;if(0===a)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<n-t;++i)this[i+t]=o[i%a]}return this};const H={};function z(e,t,n){H[e]=class extends n{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}function V(e){let t="",n=e.length;const r="-"===e[0]?1:0;for(;n>=r+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function U(e,t,n,r,i,o){if(e>n||e<t){const r="bigint"==typeof t?"n":"";let i;throw i=o>3?0===t||t===BigInt(0)?`>= 0${r} and < 2${r} ** ${8*(o+1)}${r}`:`>= -(2${r} ** ${8*(o+1)-1}${r}) and < 2 ** ${8*(o+1)-1}${r}`:`>= ${t}${r} and <= ${n}${r}`,new H.ERR_OUT_OF_RANGE("value",i,e)}!function(e,t,n){j(t,"offset"),void 0!==e[t]&&void 0!==e[t+n]||W(t,e.length-(n+1))}(r,i,o)}function j(e,t){if("number"!=typeof e)throw new H.ERR_INVALID_ARG_TYPE(t,"number",e)}function W(e,t,n){if(Math.floor(e)!==e)throw j(e,n),new H.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new H.ERR_BUFFER_OUT_OF_BOUNDS;throw new H.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${t}`,e)}z("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),z("ERR_INVALID_ARG_TYPE",(function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`}),TypeError),z("ERR_OUT_OF_RANGE",(function(e,t,n){let r=`The value of "${e}" is out of range.`,i=n;return Number.isInteger(n)&&Math.abs(n)>2**32?i=V(String(n)):"bigint"==typeof n&&(i=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(i=V(i)),i+="n"),r+=` It must be ${t}. Received ${i}`,r}),RangeError);const $=/[^+/0-9A-Za-z-_]/g;function q(e,t){let n;t=t||1/0;const r=e.length;let i=null;const o=[];for(let a=0;a<r;++a){if(n=e.charCodeAt(a),n>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function G(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace($,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function K(e,t,n,r){let i;for(i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function Y(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function X(e){return e!=e}const Z=function(){const e="0123456789abcdef",t=new Array(256);for(let n=0;n<16;++n){const r=16*n;for(let i=0;i<16;++i)t[r+i]=e[n]+e[i]}return t}();function J(e){return"undefined"==typeof BigInt?Q:e}function Q(){throw new Error("BigInt not supported")}},2328:(e,t,n)=>{"use strict";e.exports=n(1613)},2329:e=>{const t=/^[0-9]+$/,n=(e,n)=>{const r=t.test(e),i=t.test(n);return r&&i&&(e=+e,n=+n),e===n?0:r&&!i?-1:i&&!r?1:e<n?-1:1};e.exports={compareIdentifiers:n,rcompareIdentifiers:(e,t)=>n(t,e)}},2376:e=>{e.exports="data:image/svg+xml,%3csvg width='280' height='280' viewBox='0 0 280 280' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cg clip-path='url(%23clip0)'%3e %3cpath d='M182.823 243.2H156.532C155.133 243.2 153.996 242.07 153.996 240.68C153.996 239.29 155.133 238.16 156.532 238.16H182.823C184.222 238.16 185.359 239.29 185.359 240.68C185.359 242.07 184.222 243.2 182.823 243.2Z' fill='%23B2AEAA'/%3e %3cpath d='M185.379 203.71L146.58 165.15L164.169 147.67L199.767 183.05C201.538 184.81 201.538 187.66 199.767 189.41L185.379 203.71Z' fill='%23CCCCCC'/%3e %3cpath d='M190.893 178.42H176.072L182.531 213.63L176.072 232.95H179.382C191.295 232.95 200.944 223.35 200.944 211.52V188.42C200.944 182.89 196.447 178.42 190.893 178.42Z' fill='%23CCCCCC'/%3e %3cpath d='M174.784 90.9999H207.293V90.6399C207.293 87.8599 205.029 85.6099 202.232 85.6099H174.784V90.9999Z' fill='%23E1DFDD'/%3e %3cpath d='M159.48 51.96H174.774V117.93L105.679 143.51V105.42C105.689 75.9 129.777 51.96 159.48 51.96Z' fill='%23CCCCCC'/%3e %3cpath d='M119.232 122.43C83.3219 122.43 54.203 151.37 54.203 187.06V243.15H150.394L174.784 117.93L119.232 122.43Z' fill='url(%23paint0_radial)'/%3e %3cpath d='M191.074 80.33V82.21C191.074 83.55 190.983 84.87 190.802 86.17C190.681 87.05 190.51 87.92 190.309 88.77C188.649 95.8 184.383 101.83 178.567 105.8C178.054 106.15 177.521 106.49 176.987 106.8C175.508 107.68 173.928 108.43 172.288 109.03C170.145 109.82 167.891 110.36 165.537 110.62C164.48 110.74 163.404 110.8 162.317 110.8H160.426C155.193 110.8 150.303 109.42 146.067 106.99C142.757 105.09 139.869 102.56 137.555 99.56C133.852 94.74 131.659 88.73 131.659 82.22V80.34C131.659 75.82 132.705 71.55 134.587 67.74C136.297 64.28 138.702 61.21 141.59 58.71C141.6 58.69 141.63 58.67 141.65 58.65C143.461 57.11 145.464 55.78 147.617 54.72C147.969 54.55 148.311 54.39 148.663 54.23H148.673C149.78 53.73 150.937 53.3 152.114 52.95C154.751 52.17 157.528 51.75 160.415 51.75H162.307C168.344 51.75 173.939 53.59 178.567 56.75C179.654 57.49 180.68 58.3 181.646 59.19C183.87 61.18 185.771 63.53 187.27 66.13C187.311 66.19 187.351 66.26 187.391 66.32C187.653 66.79 187.904 67.27 188.136 67.74C189.071 69.61 189.796 71.6 190.299 73.67C190.4 74.1 190.49 74.53 190.581 74.97C190.681 75.5 190.772 76.04 190.842 76.58C190.993 77.81 191.074 79.07 191.074 80.33Z' fill='%23CCCCCC'/%3e %3cpath d='M151.46 67.74H132.514C132.142 67.74 131.84 67.44 131.84 67.07V56.49C131.85 45.73 140.624 37 151.46 37C151.833 37 152.135 37.3 152.135 37.67V67.08C152.124 67.44 151.823 67.74 151.46 67.74Z' fill='%23CCCCCC'/%3e %3cpath d='M180.972 67.74H162.035C161.663 67.74 161.361 67.44 161.361 67.07V56.49C161.361 45.73 170.145 37 180.972 37C181.344 37 181.646 37.3 181.646 37.67V67.08C181.646 67.44 181.344 67.74 180.972 67.74Z' fill='%23CCCCCC'/%3e %3cpath d='M168.857 117.93V91H149.881C139.396 91 130.904 99.44 130.904 109.86C130.904 120.28 139.396 128.72 149.881 128.72C151.118 128.72 152.125 129.72 152.125 130.95V243.14H153.272L174.784 117.92H168.857V117.93Z' fill='%23E1DFDD'/%3e %3cpath d='M165.849 86.16C167.171 86.16 168.244 84.5572 168.244 82.58C168.244 80.6028 167.171 79 165.849 79C164.526 79 163.454 80.6028 163.454 82.58C163.454 84.5572 164.526 86.16 165.849 86.16Z' fill='%23797673'/%3e %3cpath d='M184.996 86.16C186.319 86.16 187.391 84.5572 187.391 82.58C187.391 80.6028 186.319 79 184.996 79C183.674 79 182.602 80.6028 182.602 82.58C182.602 84.5572 183.674 86.16 184.996 86.16Z' fill='%23797673'/%3e %3cpath d='M146.46 243.15H129.063L118.84 174.24L137.484 167.46L152.124 174.31L146.46 243.15Z' fill='%23CCCCCC'/%3e %3cpath d='M126.779 227.21H147.094C155.968 227.21 163.172 234.36 163.172 243.19H128.882L126.779 227.21Z' fill='%23E1DFDD'/%3e %3cpath d='M181.988 117.93H174.774H148.13V91H207.293V92.78C207.293 106.67 195.964 117.93 181.988 117.93Z' fill='url(%23paint1_radial)'/%3e %3cpath d='M166.07 76.3102H160.858C158.564 76.3102 156.703 74.4602 156.703 72.1802V71.6002C156.703 69.3202 158.564 67.4702 160.858 67.4702H166.07C168.364 67.4702 170.226 69.3202 170.226 71.6002V72.1802C170.226 74.4602 168.364 76.3102 166.07 76.3102Z' fill='%23E1DFDD'/%3e %3cpath d='M54.2029 187.06C54.2029 187.06 76.3288 159.94 99.7427 177.19C121.667 193.34 107.037 228.34 107.037 228.34C107.037 228.34 120.581 228.34 121.939 243.15C109.744 243.15 34.7937 243.15 34.7937 243.15L54.3035 215.2L54.2029 187.06Z' fill='url(%23paint2_radial)'/%3e %3cpath d='M207.293 93.6999H206.76C202.564 93.6999 199.173 90.3199 199.173 86.1599V85.6299H203.51C205.603 85.6299 207.303 87.3199 207.303 89.3999V93.6999H207.293Z' fill='%23797673'/%3e %3cpath d='M30.5275 243.15C47.3874 243.15 61.0551 229.567 61.0551 212.81C61.0551 196.054 47.3874 182.47 30.5275 182.47C13.6676 182.47 0 196.054 0 212.81C0 229.567 13.6676 243.15 30.5275 243.15Z' fill='%23E1DFDD'/%3e %3cpath d='M34.7937 243.15C49.5253 243.15 61.4676 231.281 61.4676 216.64C61.4676 201.999 49.5253 190.13 34.7937 190.13C20.0622 190.13 8.11987 201.999 8.11987 216.64C8.11987 231.281 20.0622 243.15 34.7937 243.15Z' fill='url(%23paint3_radial)'/%3e %3cpath d='M53.3477 197.8C53.3477 197.8 67.1625 217.04 55.1991 233.5C45.3989 246.99 22.961 246.16 17.7993 232.11C12.3257 217.22 22.5284 208.79 25.4966 206.16C25.4966 206.16 24.1785 212.99 31.423 213.93C36.313 214.56 44.936 206.02 33.2241 194.21L53.3477 197.8Z' fill='%23CCCCCC'/%3e %3cpath d='M151.4 128.66L171.745 136.11L174.784 117.93H137.163L151.4 128.66Z' fill='url(%23paint4_radial)'/%3e %3cpath d='M192.985 76.3102H187.773C185.479 76.3102 183.618 74.4602 183.618 72.1802V71.6002C183.618 69.3202 185.479 67.4702 187.773 67.4702H192.985C195.28 67.4702 197.141 69.3202 197.141 71.6002V72.1802C197.141 74.4602 195.28 76.3102 192.985 76.3102Z' fill='%23E1DFDD'/%3e %3cpath d='M203.43 243.21H182.823C181.425 243.21 180.288 242.08 180.288 240.69C180.288 239.3 181.425 238.17 182.823 238.17H203.43C210.946 238.17 217.064 232.78 217.064 225.31V225.13C217.064 217.66 210.946 211.58 203.43 211.58C180.207 211.58 161.311 192.8 161.311 169.72V131.12C161.311 117.03 172.852 105.56 187.029 105.56C201.206 105.56 212.747 117.02 212.747 131.12V136.46C212.747 137.85 211.61 138.98 210.211 138.98C208.813 138.98 207.676 137.85 207.676 136.46V131.12C207.676 119.81 198.419 110.61 187.039 110.61C175.659 110.61 166.402 119.81 166.402 131.12V169.72C166.402 190.02 183.014 206.53 203.44 206.53C213.753 206.53 222.145 214.87 222.145 225.12V225.3C222.135 235.56 213.743 243.21 203.43 243.21Z' fill='%23B2AEAA'/%3e %3cpath d='M276.378 181.83H240.155C238.153 181.83 236.533 180.22 236.533 178.23V120.64C236.533 118.65 238.153 117.04 240.155 117.04H276.378C278.38 117.04 280 118.65 280 120.64V178.23C280 180.22 278.38 181.83 276.378 181.83Z' fill='%23E1DFDD'/%3e %3cpath d='M263.449 146.35H253.095C249.1 146.35 245.85 143.13 245.85 139.15V131.95C245.85 127.98 249.09 124.75 253.095 124.75H263.449C267.443 124.75 270.693 127.97 270.693 131.95V139.15C270.683 143.13 267.443 146.35 263.449 146.35Z' fill='white'/%3e %3cpath d='M263.267 141.53H262.573C261.909 141.53 261.366 140.99 261.366 140.33V130.39C261.366 129.73 261.909 129.19 262.573 129.19H263.267C263.931 129.19 264.475 129.73 264.475 130.39V140.33C264.475 140.99 263.942 141.53 263.267 141.53Z' fill='%23CCCCCC'/%3e %3cpath d='M253.96 141.53H253.266C252.602 141.53 252.059 140.99 252.059 140.33V130.39C252.059 129.73 252.602 129.19 253.266 129.19H253.96C254.624 129.19 255.168 129.73 255.168 130.39V140.33C255.168 140.99 254.624 141.53 253.96 141.53Z' fill='%23CCCCCC'/%3e %3cpath d='M263.449 174.12H253.095C249.1 174.12 245.85 170.9 245.85 166.92V159.72C245.85 155.75 249.09 152.52 253.095 152.52H263.449C267.443 152.52 270.693 155.74 270.693 159.72V166.92C270.683 170.9 267.443 174.12 263.449 174.12Z' fill='white'/%3e %3cpath d='M263.267 169.29H262.573C261.909 169.29 261.366 168.75 261.366 168.09V158.15C261.366 157.49 261.909 156.95 262.573 156.95H263.267C263.931 156.95 264.475 157.49 264.475 158.15V168.09C264.475 168.76 263.942 169.29 263.267 169.29Z' fill='%23CCCCCC'/%3e %3cpath d='M253.96 169.29H253.266C252.602 169.29 252.059 168.75 252.059 168.09V158.15C252.059 157.49 252.602 156.95 253.266 156.95H253.96C254.624 156.95 255.168 157.49 255.168 158.15V168.09C255.168 168.76 254.624 169.29 253.96 169.29Z' fill='%23CCCCCC'/%3e %3cpath d='M188.347 108.13C198.912 108.09 204.587 105.69 204.587 105.69L206.549 101.52H160.908C160.918 101.52 166.935 108.21 188.347 108.13Z' fill='%23E1DFDD'/%3e %3cpath d='M209.406 132.79L211.167 132.8C218.039 132.85 223.563 138.42 223.513 145.25L223.443 154.58C223.443 155.27 222.869 155.82 222.185 155.82L198.057 155.65C197.362 155.65 196.809 155.08 196.809 154.4L196.88 145.07C196.93 138.23 202.534 132.74 209.406 132.79Z' fill='%23B2AEAA'/%3e %3cpath d='M216.128 168.12H216.359C217.275 168.13 218.019 167.39 218.029 166.48L218.11 155.78L214.558 155.75L214.478 166.45C214.478 167.38 215.212 168.12 216.128 168.12Z' fill='%23CCCCCC'/%3e %3cpath d='M203.701 168.04H203.933C204.848 168.05 205.593 167.31 205.603 166.4L205.684 155.7L202.132 155.67L202.051 166.37C202.051 167.29 202.786 168.03 203.701 168.04Z' fill='%23CCCCCC'/%3e %3cpath d='M182.531 213.63L176.072 232.95H179.382C191.295 232.95 200.945 225.63 200.945 213.8L182.531 213.63Z' fill='%23E1DFDD'/%3e %3c/g%3e %3cdefs%3e %3cradialGradient id='paint0_radial' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='translate(112.136 224.955) scale(61.6559 61.2771)'%3e %3cstop stop-color='%23B3B3B3'/%3e %3cstop offset='0.9582' stop-color='%23CCCCCC'/%3e %3c/radialGradient%3e %3cradialGradient id='paint1_radial' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='translate(172.832 120.546) scale(20.3563 20.2313)'%3e %3cstop offset='0.00031407' stop-color='%23BFBFBF'/%3e %3cstop offset='1' stop-color='%23E1DFDD'/%3e %3c/radialGradient%3e %3cradialGradient id='paint2_radial' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='translate(45.9415 220.353) scale(39.9996 39.7539)'%3e %3cstop stop-color='%23B3B3B3'/%3e %3cstop offset='0.9582' stop-color='%23CCCCCC'/%3e %3c/radialGradient%3e %3cradialGradient id='paint3_radial' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='translate(17.4382 234.503) scale(39.4077 39.1656)'%3e %3cstop stop-color='%23A1A1A1'/%3e %3cstop offset='0.8916' stop-color='%23CCCCCC'/%3e %3c/radialGradient%3e %3cradialGradient id='paint4_radial' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='translate(173.346 117.265) rotate(-179.5) scale(21.2237 15.358)'%3e %3cstop offset='0.00031407' stop-color='%23BFBFBF'/%3e %3cstop offset='1' stop-color='%23E1DFDD'/%3e %3c/radialGradient%3e %3cclipPath id='clip0'%3e %3crect width='280' height='280' fill='white'/%3e %3c/clipPath%3e %3c/defs%3e %3c/svg%3e"},2378:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Strings=void 0;var n=function(){function e(){}return e.errors={unknownElementType:function(e){return'Unknown element type "'.concat(e,'". Fallback will be used if present.')},unknownActionType:function(e){return'Unknown action type "'.concat(e,'". Fallback will be used if present.')},elementTypeNotAllowed:function(e){return'Element type "'.concat(e,'" is not allowed in this context.')},actionTypeNotAllowed:function(e){return'Action type "'.concat(e,'" is not allowed in this context.')},invalidPropertyValue:function(e,t){return'Invalid value "'.concat(e,'" for property "').concat(t,'".')},showCardMustHaveCard:function(){return'"An Action.ShowCard must have its "card" property set to a valid AdaptiveCard object.'},invalidColumnWidth:function(e){return'Invalid column width "'.concat(e,'" - defaulting to "auto".')},invalidCardVersion:function(e){return'Invalid card version. Defaulting to "'.concat(e,'".')},invalidVersionString:function(e){return'Invalid version string "'.concat(e,'".')},propertyValueNotSupported:function(e,t,n,r){return'Value "'.concat(e,'" for property "').concat(t,'" is supported in version ').concat(n,", but you are using version ").concat(r,".")},propertyNotSupported:function(e,t,n){return'Property "'.concat(e,'" is supported in version ').concat(t,", but you are using version ").concat(n,".")},indexOutOfRange:function(e){return"Index out of range (".concat(e,").")},elementCannotBeUsedAsInline:function(){return"RichTextBlock.addInline: the specified card element cannot be used as a RichTextBlock inline."},inlineAlreadyParented:function(){return"RichTextBlock.addInline: the specified inline already belongs to another RichTextBlock."},interactivityNotAllowed:function(){return"Interactivity is not allowed."},inputsMustHaveUniqueId:function(){return"All inputs must have a unique Id."},choiceSetMustHaveAtLeastOneChoice:function(){return"An Input.ChoiceSet must have at least one choice defined."},choiceSetChoicesMustHaveTitleAndValue:function(){return"All choices in an Input.ChoiceSet must have their title and value properties set."},propertyMustBeSet:function(e){return'Property "'.concat(e,'" must be set.')},actionHttpHeadersMustHaveNameAndValue:function(){return"All headers of an Action.Http must have their name and value properties set."},tooManyActions:function(e){return"Maximum number of actions exceeded (".concat(e,").")},tooLittleTimeDelay:function(e){return"Autoplay Delay is too short (".concat(e,").")},tooManyCarouselPages:function(e){return"Maximum number of Carousel pages exceeded (".concat(e,").")},invalidInitialPageIndex:function(e){return"InitialPage for carousel is invalid (".concat(e,").")},columnAlreadyBelongsToAnotherSet:function(){return"This column already belongs to another ColumnSet."},invalidCardType:function(){return'Invalid or missing card type. Make sure the card\'s type property is set to "AdaptiveCard".'},unsupportedCardVersion:function(e,t){return"The specified card version (".concat(e,") is not supported or still in preview. The latest released card version is ").concat(t,".")},duplicateId:function(e){return'Duplicate Id "'.concat(e,'".')},markdownProcessingNotEnabled:function(){return"Markdown processing isn't enabled. Please see https://www.npmjs.com/package/adaptivecards#supporting-markdown"},processMarkdownEventRemoved:function(){return"The processMarkdown event has been removed. Please update your code and set onProcessMarkdown instead."},elementAlreadyParented:function(){return"The element already belongs to another container."},actionAlreadyParented:function(){return"The action already belongs to another element."},elementTypeNotStandalone:function(e){return"Elements of type ".concat(e," cannot be used as standalone elements.")},invalidInputLabelWidth:function(){return"Invalid input label width. Defaulting to label width from host config."}},e.magicCodeInputCard={tryAgain:function(){return"That didn't work... let's try again."},pleaseLogin:function(){return'Please login in the popup. You will obtain a magic code. Paste that code below and select "Submit"'},enterMagicCode:function(){return"Enter magic code"},pleaseEnterMagicCodeYouReceived:function(){return"Please enter the magic code you received."},submit:function(){return"Submit"},cancel:function(){return"Cancel"},somethingWentWrong:function(){return"Something went wrong. This action can't be handled."},authenticationFailed:function(){return"Authentication failed."}},e.runtime={automaticRefreshPaused:function(){return"Automatic refresh paused."},clckToRestartAutomaticRefresh:function(){return"Click to restart."},refreshThisCard:function(){return"Refresh this card"}},e.hints={dontUseWeightedAndStrecthedColumnsInSameSet:function(){return"It is not recommended to use weighted and stretched columns in the same ColumnSet, because in such a situation stretched columns will always get the minimum amount of space."}},e.defaults={inlineActionTitle:function(){return"Inline Action"},overflowButtonText:function(){return"..."},overflowButtonTooltip:function(){return"More options"},emptyElementText:function(e){return"Empty ".concat(e)},mediaPlayerAriaLabel:function(){return"Media content"},mediaPlayerPlayMedia:function(){return"Play media"},youTubeVideoPlayer:function(){return"YouTube video player"},vimeoVideoPlayer:function(){return"Vimeo video player"},dailymotionVideoPlayer:function(){return"Dailymotion video player"},carouselNavigationPreviousTooltip:function(){return"Previous carousel page"},carouselNavigationNextTooltip:function(){return"Next carousel page"}},e}();t.Strings=n},2483:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(7045)},2492:(e,t,n)=>{const r=n(2306);e.exports=(e,t)=>new r(e,t).major},2504:(e,t)=>{"use strict";t.byteLength=function(e){var t=s(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,o=s(e),a=o[0],l=o[1],c=new i(function(e,t,n){return 3*(t+n)/4-n}(0,a,l)),u=0,d=l>0?a-4:a;for(n=0;n<d;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],c[u++]=t>>16&255,c[u++]=t>>8&255,c[u++]=255&t;return 2===l&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,c[u++]=255&t),1===l&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t),c},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,o=[],a=16383,s=0,c=r-i;s<c;s+=a)o.push(l(e,s,s+a>c?c:s+a));return 1===i?(t=e[r-1],o.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],o.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"=")),o.join("")};for(var n=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)n[a]=o[a],r[o.charCodeAt(a)]=a;function s(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function l(e,t,r){for(var i,o,a=[],s=t;s<r;s+=3)i=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(n[(o=i)>>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return a.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},2572:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.Table=t.TableRow=t.TableCell=t.StylableContainer=t.TableColumnDefinition=void 0;var a=n(5396),s=n(1050),l=n(1217),c=n(5804),u=n(3771),d=n(2378),p=n(345),h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.width=new u.SizeAndUnit(1,s.SizeUnit.Weight),t}return i(t,e),t.prototype.getSchemaKey=function(){return"ColumnDefinition"},t.horizontalCellContentAlignmentProperty=new c.EnumProperty(c.Versions.v1_5,"horizontalCellContentAlignment",s.HorizontalAlignment),t.verticalCellContentAlignmentProperty=new c.EnumProperty(c.Versions.v1_5,"verticalCellContentAlignment",s.VerticalAlignment),t.widthProperty=new c.CustomProperty(c.Versions.v1_5,"width",(function(e,t,n,r){var i=t.defaultValue,o=n[t.name],a=!1;if("number"!=typeof o||isNaN(o))if("string"==typeof o)try{i=u.SizeAndUnit.parse(o)}catch(e){a=!0}else a=!0;else i=new u.SizeAndUnit(o,s.SizeUnit.Weight);return a&&r.logParseEvent(e,s.ValidationEvent.InvalidPropertyValue,d.Strings.errors.invalidColumnWidth(o)),i}),(function(e,t,n,r,i){r.unit===s.SizeUnit.Pixel?i.serializeValue(n,"width",r.physicalSize+"px"):i.serializeNumber(n,"width",r.physicalSize)}),new u.SizeAndUnit(1,s.SizeUnit.Weight)),o([(0,c.property)(t.horizontalCellContentAlignmentProperty)],t.prototype,"horizontalCellContentAlignment",void 0),o([(0,c.property)(t.verticalCellContentAlignmentProperty)],t.prototype,"verticalCellContentAlignment",void 0),o([(0,c.property)(t.widthProperty)],t.prototype,"width",void 0),t}(c.SerializableObject);t.TableColumnDefinition=h;var f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._items=[],t}return i(t,e),t.prototype.parseItem=function(e,t){var n=this;return t.parseCardObject(this,e,[],!this.isDesignMode(),(function(e){return n.createItemInstance(e)}),(function(e,n){t.logParseEvent(void 0,s.ValidationEvent.ElementTypeNotAllowed,d.Strings.errors.elementTypeNotAllowed(e))}))},t.prototype.internalAddItem=function(e){if(e.parent)throw new Error(d.Strings.errors.elementAlreadyParented());this._items.push(e),e.setParent(this)},t.prototype.internalRemoveItem=function(e){var t=this._items.indexOf(e);return t>=0&&(this._items.splice(t,1),e.setParent(void 0),this.updateLayout(),!0)},t.prototype.internalIndexOf=function(e){return this._items.indexOf(e)},t.prototype.internalParse=function(t,n){e.prototype.internalParse.call(this,t,n),this._items=[];var r=t[this.getCollectionPropertyName()];if(Array.isArray(r))for(var i=0,o=r;i<o.length;i++){var a=o[i],s=this.parseItem(a,n);s&&this._items.push(s)}},t.prototype.internalToJSON=function(t,n){e.prototype.internalToJSON.call(this,t,n),n.serializeArray(t,this.getCollectionPropertyName(),this._items)},t.prototype.removeItem=function(e){return this.internalRemoveItem(e)},t.prototype.getItemCount=function(){return this._items.length},t.prototype.getItemAt=function(e){return this._items[e]},t.prototype.getFirstVisibleRenderedItem=function(){return this.getItemCount()>0?this.getItemAt(0):void 0},t.prototype.getLastVisibleRenderedItem=function(){return this.getItemCount()>0?this.getItemAt(this.getItemCount()-1):void 0},t}(a.StylableCardElementContainer);t.StylableContainer=f;var m=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._columnIndex=-1,t._cellType="data",t}return i(t,e),t.prototype.getHasBorder=function(){return this.parentRow.parentTable.showGridLines},t.prototype.applyBorder=function(){if(this.renderedElement&&this.getHasBorder()){var e=this.hostConfig.containerStyles.getStyleByName(this.parentRow.parentTable.gridStyle);if(e.borderColor){var t=(0,p.stringToCssColor)(e.borderColor);t&&(this.renderedElement.style.borderRight="1px solid "+t,this.renderedElement.style.borderBottom="1px solid "+t)}}},t.prototype.getDefaultPadding=function(){return this.getHasBackground()||this.getHasBorder()?new u.PaddingDefinition(s.Spacing.Small,s.Spacing.Small,s.Spacing.Small,s.Spacing.Small):e.prototype.getDefaultPadding.call(this)},t.prototype.internalRender=function(){var t=e.prototype.internalRender.call(this);return t&&(t.setAttribute("role","data"===this.cellType?"cell":"columnheader"),t.style.minWidth="0","header"===this.cellType&&t.setAttribute("scope","col")),t},t.prototype.shouldSerialize=function(e){return!0},t.prototype.getJsonTypeName=function(){return"TableCell"},t.prototype.getEffectiveTextStyleDefinition=function(){return"header"===this.cellType?this.hostConfig.textStyles.columnHeader:e.prototype.getEffectiveTextStyleDefinition.call(this)},t.prototype.getEffectiveHorizontalAlignment=function(){if(void 0!==this.horizontalAlignment)return this.horizontalAlignment;if(void 0!==this.parentRow.horizontalCellContentAlignment)return this.parentRow.horizontalCellContentAlignment;if(this.columnIndex>=0){var t=this.parentRow.parentTable.getColumnAt(this.columnIndex).horizontalCellContentAlignment;if(void 0!==t)return t}return void 0!==this.parentRow.parentTable.horizontalCellContentAlignment?this.parentRow.parentTable.horizontalCellContentAlignment:e.prototype.getEffectiveHorizontalAlignment.call(this)},t.prototype.getEffectiveVerticalContentAlignment=function(){if(void 0!==this.verticalContentAlignment)return this.verticalContentAlignment;if(void 0!==this.parentRow.verticalCellContentAlignment)return this.parentRow.verticalCellContentAlignment;if(this.columnIndex>=0){var t=this.parentRow.parentTable.getColumnAt(this.columnIndex).verticalCellContentAlignment;if(void 0!==t)return t}return void 0!==this.parentRow.parentTable.verticalCellContentAlignment?this.parentRow.parentTable.verticalCellContentAlignment:e.prototype.getEffectiveVerticalContentAlignment.call(this)},Object.defineProperty(t.prototype,"columnIndex",{get:function(){return this._columnIndex},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cellType",{get:function(){return this._cellType},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parentRow",{get:function(){return this.parent},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isStandalone",{get:function(){return!1},enumerable:!1,configurable:!0}),t}(a.Container);t.TableCell=m;var g=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.getDefaultPadding=function(){return new u.PaddingDefinition(s.Spacing.None,s.Spacing.None,s.Spacing.None,s.Spacing.None)},t.prototype.applyBackground=function(){if(this.renderedElement){var e=this.hostConfig.containerStyles.getStyleByName(this.style,this.hostConfig.containerStyles.getStyleByName(this.defaultStyle));if(e.backgroundColor){var t=(0,p.stringToCssColor)(e.backgroundColor);t&&(this.renderedElement.style.backgroundColor=t)}}},t.prototype.getCollectionPropertyName=function(){return"cells"},t.prototype.createItemInstance=function(e){return e&&"TableCell"!==e?void 0:new m},t.prototype.internalRender=function(){var e=this.getIsFirstRow(),t=this.hostConfig.table.cellSpacing,n=document.createElement("div");n.setAttribute("role","row"),n.style.display="flex",n.style.flexDirection="row";for(var r=0;r<Math.min(this.getItemCount(),this.parentTable.getColumnCount());r++){var i=this.getItemAt(r);i._columnIndex=r,i._cellType=this.parentTable.firstRowAsHeaders&&e?"header":"data";var o=i.render();if(o){var a=this.parentTable.getColumnAt(r);a.computedWidth.unit===s.SizeUnit.Pixel?o.style.flex="0 0 "+a.computedWidth.physicalSize+"px":o.style.flex="1 1 "+a.computedWidth.physicalSize+"%",r>0&&!this.parentTable.showGridLines&&t>0&&(o.style.marginLeft=t+"px"),n.appendChild(o)}}return n.children.length>0?n:void 0},t.prototype.shouldSerialize=function(e){return!0},t.prototype.addCell=function(e){this.internalAddItem(e)},t.prototype.removeCellAt=function(e){return e>=0&&e<this.getItemCount()&&this.removeItem(this.getItemAt(e))},t.prototype.indexOf=function(e){return e instanceof m?this.internalIndexOf(e):-1},t.prototype.ensureHasEnoughCells=function(e){for(;this.getItemCount()<e;)this.addCell(new m)},t.prototype.getJsonTypeName=function(){return"TableRow"},t.prototype.getIsFirstRow=function(){return this.parentTable.getItemAt(0)===this},Object.defineProperty(t.prototype,"parentTable",{get:function(){return this.parent},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isStandalone",{get:function(){return!1},enumerable:!1,configurable:!0}),t.styleProperty=new a.ContainerStyleProperty(c.Versions.v1_5,"style"),t.horizontalCellContentAlignmentProperty=new c.EnumProperty(c.Versions.v1_5,"horizontalCellContentAlignment",s.HorizontalAlignment),t.verticalCellContentAlignmentProperty=new c.EnumProperty(c.Versions.v1_5,"verticalCellContentAlignment",s.VerticalAlignment),o([(0,c.property)(t.horizontalCellContentAlignmentProperty)],t.prototype,"horizontalCellContentAlignment",void 0),o([(0,c.property)(t.verticalCellContentAlignmentProperty)],t.prototype,"verticalCellContentAlignment",void 0),t}(f);t.TableRow=g;var v=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._columns=[],t.firstRowAsHeaders=!0,t.showGridLines=!0,t}return i(t,e),Object.defineProperty(t.prototype,"gridStyle",{get:function(){var e=this.getValue(t.gridStyleProperty);if(e&&this.hostConfig.containerStyles.getStyleByName(e))return e},set:function(e){this.setValue(t.gridStyleProperty,e)},enumerable:!1,configurable:!0}),t.prototype.ensureRowsHaveEnoughCells=function(){for(var e=0;e<this.getItemCount();e++)this.getItemAt(e).ensureHasEnoughCells(this.getColumnCount())},t.prototype.removeCellsFromColumn=function(e){for(var t=0;t<this.getItemCount();t++)this.getItemAt(t).removeCellAt(e)},t.prototype.getCollectionPropertyName=function(){return"rows"},t.prototype.createItemInstance=function(e){return e&&"TableRow"!==e?void 0:new g},t.prototype.internalParse=function(t,n){e.prototype.internalParse.call(this,t,n),this.ensureRowsHaveEnoughCells()},t.prototype.internalRender=function(){if(this.getItemCount()>0){for(var e=0,t=0,n=this._columns;t<n.length;t++)(o=n[t]).width.unit===s.SizeUnit.Weight&&(e+=o.width.physicalSize);for(var r=0,i=this._columns;r<i.length;r++){var o;(o=i[r]).width.unit===s.SizeUnit.Pixel?o.computedWidth=new u.SizeAndUnit(o.width.physicalSize,s.SizeUnit.Pixel):o.computedWidth=new u.SizeAndUnit(100/e*o.width.physicalSize,s.SizeUnit.Weight)}var a=document.createElement("div");if(a.setAttribute("role","table"),a.style.display="flex",a.style.flexDirection="column",this.showGridLines){var l=this.hostConfig.containerStyles.getStyleByName(this.gridStyle);if(l.borderColor){var c=(0,p.stringToCssColor)(l.borderColor);c&&(a.style.borderTop="1px solid "+c,a.style.borderLeft="1px solid "+c)}}for(var d=this.hostConfig.table.cellSpacing,h=0;h<this.getItemCount();h++){var f=this.getItemAt(h).render();if(f){if(h>0&&!this.showGridLines&&d>0){var m=document.createElement("div");m.setAttribute("aria-hidden","true"),m.style.height=d+"px",a.appendChild(m)}a.appendChild(f)}}return a}},t.prototype.addColumn=function(e){this._columns.push(e),this.ensureRowsHaveEnoughCells()},t.prototype.removeColumn=function(e){var t=this._columns.indexOf(e);t>=0&&(this.removeCellsFromColumn(t),this._columns.splice(t,1))},t.prototype.getColumnCount=function(){return this._columns.length},t.prototype.getColumnAt=function(e){return this._columns[e]},t.prototype.addRow=function(e){this.internalAddItem(e),e.ensureHasEnoughCells(this.getColumnCount())},t.prototype.indexOf=function(e){return e instanceof g?this.internalIndexOf(e):-1},t.prototype.getJsonTypeName=function(){return"Table"},t._columnsProperty=new c.SerializableObjectCollectionProperty(c.Versions.v1_5,"columns",h),t.firstRowAsHeadersProperty=new c.BoolProperty(c.Versions.v1_5,"firstRowAsHeaders",!0),t.showGridLinesProperty=new c.BoolProperty(c.Versions.v1_5,"showGridLines",!0),t.gridStyleProperty=new a.ContainerStyleProperty(c.Versions.v1_5,"gridStyle"),t.horizontalCellContentAlignmentProperty=new c.EnumProperty(c.Versions.v1_5,"horizontalCellContentAlignment",s.HorizontalAlignment),t.verticalCellContentAlignmentProperty=new c.EnumProperty(c.Versions.v1_5,"verticalCellContentAlignment",s.VerticalAlignment),o([(0,c.property)(t._columnsProperty)],t.prototype,"_columns",void 0),o([(0,c.property)(t.firstRowAsHeadersProperty)],t.prototype,"firstRowAsHeaders",void 0),o([(0,c.property)(t.showGridLinesProperty)],t.prototype,"showGridLines",void 0),o([(0,c.property)(t.gridStyleProperty)],t.prototype,"gridStyle",null),o([(0,c.property)(t.horizontalCellContentAlignmentProperty)],t.prototype,"horizontalCellContentAlignment",void 0),o([(0,c.property)(t.verticalCellContentAlignmentProperty)],t.prototype,"verticalCellContentAlignment",void 0),t}(f);t.Table=v,l.GlobalRegistry.defaultElements.register("Table",v,c.Versions.v1_5)},2575:e=>{"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAAGWB6gOAAAAAXNSR0IArs4c6QAAAxhJREFUWAnlV79rFEEUfnsGT88QbfLrKjs1UTshiBJILISzsdAy+A8YsDqTiIVwkoBE0X9ALbXVyqCeaAgRGxMrGwuNGoVIfqiJmHXe27xlZnZmd/Z2E4RscW/mvW++982b2dk5AMPjoa9y1/flWAE7q4vfyFcfPkyWnMWWVkBH7/VZchqHU0T+8YwJZISSEQNhNkY5ZaJRPEK3ykQwuLo4D79/fCEcB9NNTE9h6kcmbwLFCucBVlB95AhjgsK9vnkmdGADAb21mdBHTMcuPYLHF6iu8OLKUQWAyCaGi9UjIFr9UTSZADhAAekM1Pfgs9MCGwfLTg/GkrPJA2xtH6oNE03WTii0YSUVb0yHFlS8k7wbGaoQ4fadGGyHU7e/QrGljTFkcT399fUIAYOMxWbC/ltzMH3jtCD4ayWIJeJgGttwsfUkAZHYB3rAuS82Y6kERWd8EtCr3PNHQWyoJGBcXLypXiErCSfIudhMm8E2pAg/UdPjFSWt8oooEUsHSSYG28RrNK8gUimSSfAbKT8K0WTtpBxT2nEkCFSI/qwsiC9xt0KAnbWl7+F0dCUMVoiCM8aD+lAXx4nkycVWqomNBMEKETqITOzT50OHJBI8n9SaIFZ+IkQYRDLP2wGBkughJxNw27r8+lHKA2zWqMgGjvPnSCQOprhMrrFCaTfshyxkG6crfUXOPfB3/vwF10T2AXE+dbqqyAUXTOK+mNDVh+e9NVp9IebDlgvh2QQFqAoNA8JVDhZ/q6vCYmS7oSG33ShzZ2lvX0F43ONFD+/g+o1Rrqj1SJNBWdooZGqsD5Y/zUJzuTvx1N80QWmF8KStgrCsC+9f0ax6Lj+NXJOZQLf4EcWKLH2ccaqIPt4q6PjIS/rbOTXaR3f35nIX9FSFsL3tOgf1swphUuN9n4Ns8f6Pwpbn3sGezoNC2DPYta9DEtIvKvI2dTWZny1eZZ0E8QBFWMcBKDQVcxHC/CjIumQMki3+3cILBW7YN3fOUsj0N0wek7adShCT4z0L99hmPNv3pHatZlChLH89XTMl4f4HDSaN/wAbxSgqB+b1qQAAAABJRU5ErkJggg=="},2694:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>v});var r=n(6186),i=n.n(r),o=n(2155),a=n.n(o),s=n(7433),l=n.n(s),c=n(8626),u=n.n(c),d=n(8990),p=n.n(d),h=n(9827),f=n.n(h),m=n(4981),g={};g.styleTagTransform=f(),g.setAttributes=u(),g.insert=l().bind(null,"head"),g.domAPI=a(),g.insertStyleElement=p(),i()(m.A,g);const v=m.A&&m.A.locals?m.A.locals:void 0},2782:(e,t,n)=>{const r=n(9433);e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t,n))},2827:(e,t,n)=>{const r=n(3682);e.exports=(e,t,n)=>0===r(e,t,n)},3212:(e,t,n)=>{const r=n(8950);e.exports=(e,t)=>{const n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}},3353:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PopupControl=void 0;var r=n(4838),i=n(345),o=n(7791),a=function(){function e(){this._isOpen=!1}return e.prototype.keyDown=function(e){e.key===r.Constants.keys.escape&&this.closePopup(!0)},e.prototype.render=function(e){var t=this,n=document.createElement("div");return n.tabIndex=0,n.className=this.hostConfig.makeCssClassName("ac-ctrl","ac-ctrl-popup-container"),n.setAttribute("role","dialog"),n.setAttribute("aria-modal","true"),n.onkeydown=function(e){return t.keyDown(e),!e.cancelBubble},n.appendChild(this.renderContent()),n},e.prototype.focus=function(){this._popupElement&&this._popupElement.firstElementChild.focus()},e.prototype.popup=function(e){var t,n,r,o,a,s=this;if(!this._isOpen){this._overlayElement=document.createElement("div"),this._overlayElement.className=this.hostConfig.makeCssClassName("ac-ctrl-overlay"),this._overlayElement.tabIndex=0,this._overlayElement.style.width=document.documentElement.scrollWidth+"px",this._overlayElement.style.height=document.documentElement.scrollHeight+"px",this._overlayElement.onfocus=function(e){s.closePopup(!0)},document.body.appendChild(this._overlayElement);var l=e.getBoundingClientRect();this._popupElement=this.render(l),(t=this._popupElement.classList).remove.apply(t,this.hostConfig.makeCssClassNames("ac-ctrl-slide","ac-ctrl-slideLeftToRight","ac-ctrl-slideRightToLeft","ac-ctrl-slideTopToBottom","ac-ctrl-slideRightToLeft")),window.addEventListener("resize",(function(e){s.closePopup(!0)}));var c=e.getAttribute("aria-label");c&&this._popupElement.setAttribute("aria-label",c),this._overlayElement.appendChild(this._popupElement);var u,d=this._popupElement.getBoundingClientRect(),p=window.innerHeight-l.bottom,h=l.top,f=window.innerWidth-l.right,m=l.left,g=l.left+i.getScrollX();if(h<d.height&&p<d.height){var v=Math.min(d.height,window.innerHeight);if(this._popupElement.style.maxHeight=v+"px",u=v<d.height?i.getScrollY():i.getScrollY()+l.top+(l.height-v)/2,m<d.width&&f<d.width){var y=Math.min(d.width,window.innerWidth);this._popupElement.style.maxWidth=y+"px",g=y<d.width?i.getScrollX():i.getScrollX()+l.left+(l.width-y)/2}else f>=d.width?(g=i.getScrollX()+l.right,(n=this._popupElement.classList).add.apply(n,this.hostConfig.makeCssClassNames("ac-ctrl-slide","ac-ctrl-slideLeftToRight"))):(g=i.getScrollX()+l.left-d.width,(r=this._popupElement.classList).add.apply(r,this.hostConfig.makeCssClassNames("ac-ctrl-slide","ac-ctrl-slideRightToLeft")))}else p>=d.height?(u=i.getScrollY()+l.bottom,(o=this._popupElement.classList).add.apply(o,this.hostConfig.makeCssClassNames("ac-ctrl-slide","ac-ctrl-slideTopToBottom"))):(u=i.getScrollY()+l.top-d.height,(a=this._popupElement.classList).add.apply(a,this.hostConfig.makeCssClassNames("ac-ctrl-slide","ac-ctrl-slideBottomToTop"))),f<d.width&&(g=i.getScrollX()+l.right-d.width);this._popupElement.style.left=g+"px",this._popupElement.style.top=u+"px",this._popupElement.focus(),this._isOpen=!0}},e.prototype.closePopup=function(e){this._isOpen&&(document.body.removeChild(this._overlayElement),this._isOpen=!1,this.onClose&&this.onClose(this,e))},Object.defineProperty(e.prototype,"hostConfig",{get:function(){return this._hostConfig?this._hostConfig:o.defaultHostConfig},set:function(e){this._hostConfig=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),e}();t.PopupControl=a},3394:(e,t,n)=>{"use strict";
/** @license React v17.0.2
 * react-jsx-runtime.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */n(5946);var r=n(7810),i=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var o=Symbol.for;i=o("react.element"),t.Fragment=o("react.fragment")}var a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,o={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)s.call(t,r)&&!l.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:i,type:e,key:c,ref:u,props:o,_owner:a.current}}t.jsx=c,t.jsxs=c},3413:(e,t,n)=>{const r=n(5923);e.exports=(e,t)=>e.sort(((e,n)=>r(e,n,t)))},3560:e=>{e.exports=class{constructor(){this.max=1e3,this.map=new Map}get(e){const t=this.map.get(e);return void 0===t?void 0:(this.map.delete(e),this.map.set(e,t),t)}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&void 0!==t){if(this.map.size>=this.max){const e=this.map.keys().next().value;this.delete(e)}this.map.set(e,t)}return this}}},3588:(e,t,n)=>{const r=n(3682);e.exports=(e,t,n)=>r(t,e,n)},3615:e=>{"use strict";e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},3682:(e,t,n)=>{const r=n(2306);e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))},3771:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UUID=t.SizeAndUnit=t.PaddingDefinition=t.SpacingDefinition=t.StringWithSubstitutions=t.ContentTypes=t.GlobalSettings=void 0;var r=n(1050),i=function(){function e(){}return e.useAdvancedTextBlockTruncation=!0,e.useAdvancedCardBottomTruncation=!1,e.useMarkdownInRadioButtonAndCheckbox=!0,e.allowMarkForTextHighlighting=!1,e.alwaysBleedSeparators=!1,e.enableFullJsonRoundTrip=!1,e.displayInputValidationErrors=!0,e.allowPreProcessingPropertyValues=!1,e.setTabIndexAtCardRoot=!0,e.enableFallback=!0,e.useWebkitLineClamp=!0,e.allowMoreThanMaxActionsInOverflowMenu=!1,e.removePaddingFromContainersWithBackgroundImage=!1,e.resetInputsDirtyStateAfterActionExecution=!0,e.applets={logEnabled:!0,logLevel:r.LogLevel.Error,maximumRetryAttempts:3,defaultTimeBetweenRetryAttempts:3e3,authPromptWidth:400,authPromptHeight:600,refresh:{mode:r.RefreshMode.Manual,timeBetweenAutomaticRefreshes:3e3,maximumConsecutiveAutomaticRefreshes:3,allowManualRefreshesAfterAutomaticRefreshes:!0}},e}();t.GlobalSettings=i,t.ContentTypes={applicationJson:"application/json",applicationXWwwFormUrlencoded:"application/x-www-form-urlencoded"};var o=function(){function e(){this._isProcessed=!1}return e.prototype.getReferencedInputs=function(e,t){if(!t)throw new Error("The referencedInputs parameter cannot be null.");if(this._original)for(var n=0,r=e;n<r.length;n++){var i=r[n];null!=new RegExp("\\{{2}("+i.id+").value\\}{2}","gi").exec(this._original)&&i.id&&(t[i.id]=i)}},e.prototype.substituteInputValues=function(e,n){if(this._processed=this._original,this._original)for(var r=/\{{2}([a-z0-9_$@]+).value\}{2}/gi,i=void 0;null!==(i=r.exec(this._original))&&this._processed;)for(var o=0,a=Object.keys(e);o<a.length;o++){var s=a[o];if(s.toLowerCase()===i[1].toLowerCase()){var l=e[s],c="";l.value&&(c=l.value),n===t.ContentTypes.applicationJson?c=(c=JSON.stringify(c)).slice(1,-1):n===t.ContentTypes.applicationXWwwFormUrlencoded&&(c=encodeURIComponent(c)),this._processed=this._processed.replace(i[0],c);break}}this._isProcessed=!0},e.prototype.getOriginal=function(){return this._original},e.prototype.get=function(){return this._isProcessed?this._processed:this._original},e.prototype.set=function(e){this._original=e,this._isProcessed=!1},e}();t.StringWithSubstitutions=o;t.SpacingDefinition=function(e,t,n,r){void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=0),void 0===r&&(r=0),this.left=0,this.top=0,this.right=0,this.bottom=0,this.top=e,this.right=t,this.bottom=n,this.left=r};t.PaddingDefinition=function(e,t,n,i){void 0===e&&(e=r.Spacing.None),void 0===t&&(t=r.Spacing.None),void 0===n&&(n=r.Spacing.None),void 0===i&&(i=r.Spacing.None),this.top=r.Spacing.None,this.right=r.Spacing.None,this.bottom=r.Spacing.None,this.left=r.Spacing.None,this.top=e,this.right=t,this.bottom=n,this.left=i};var a=function(){function e(e,t){this.physicalSize=e,this.unit=t}return e.parse=function(t,n){void 0===n&&(n=!1);var i=new e(0,r.SizeUnit.Weight);if("number"==typeof t)return i.physicalSize=t,i;if("string"==typeof t){var o=/^([0-9]+)(px|\*)?$/g.exec(t),a=n?3:2;if(o&&o.length>=a)return i.physicalSize=parseInt(o[1]),3===o.length&&"px"===o[2]&&(i.unit=r.SizeUnit.Pixel),i}throw new Error("Invalid size: "+t)},e}();t.SizeAndUnit=a;
/**
 * Fast UUID generator, RFC4122 version 4 compliant.
 * @author Jeff Ward (jcward.com).
 * @license MIT license
 * @link http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript/21963136#21963136
 **/
var s=function(){function e(){}return e.generate=function(){var t=4294967295*Math.random()|0,n=4294967295*Math.random()|0,r=4294967295*Math.random()|0,i=4294967295*Math.random()|0;return e.lut[255&t]+e.lut[t>>8&255]+e.lut[t>>16&255]+e.lut[t>>24&255]+"-"+e.lut[255&n]+e.lut[n>>8&255]+"-"+e.lut[n>>16&15|64]+e.lut[n>>24&255]+"-"+e.lut[63&r|128]+e.lut[r>>8&255]+"-"+e.lut[r>>16&255]+e.lut[r>>24&255]+e.lut[255&i]+e.lut[i>>8&255]+e.lut[i>>16&255]+e.lut[i>>24&255]},e.initialize=function(){for(var t=0;t<256;t++)e.lut[t]=(t<16?"0":"")+t.toString(16)},e.lut=[],e}();t.UUID=s,s.initialize()},3798:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MenuItem=void 0;var r=n(7791),i=n(4838),o=function(){function e(e,t){this._isEnabled=!0,this.key=e,this._value=t}return e.prototype.click=function(){this.isEnabled&&this.onClick&&this.onClick(this)},e.prototype.updateCssClasses=function(){if(this._element){var e=this._hostConfig?this._hostConfig:r.defaultHostConfig;this._element.className=e.makeCssClassName("ac-ctrl"),this._element.classList.add(e.makeCssClassName(this.isEnabled?"ac-ctrl-dropdown-item":"ac-ctrl-dropdown-item-disabled")),this.isEnabled||this._element.classList.add(e.makeCssClassName("ac-disabled"))}},e.prototype.toString=function(){return this.value},e.prototype.render=function(e){var t=this;return this._hostConfig=e,this._element||(this._element=document.createElement("span"),this._element.innerText=this.value,this._element.setAttribute("role","menuitem"),this.isEnabled||this._element.setAttribute("aria-disabled","true"),this._element.setAttribute("aria-current","false"),this._element.onmouseup=function(e){t.click()},this._element.onkeydown=function(e){e.key===i.Constants.keys.enter&&(e.cancelBubble=!0,t.click())},this.updateCssClasses()),this._element},Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(e){this._value=e,this._element&&(this._element.innerText=e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isEnabled",{get:function(){return this._isEnabled},set:function(e){this._isEnabled!==e&&(this._isEnabled=e,this.updateCssClasses())},enumerable:!1,configurable:!0}),e}();t.MenuItem=o},3870:(e,t,n)=>{const r=n(3682);e.exports=(e,t,n)=>r(e,t,n)<=0},3899:(e,t,n)=>{const r=n(8950);e.exports=(e,t)=>{const n=r(e,t);return n?n.version:null}},3961:(e,t,n)=>{const r=n(3682);e.exports=(e,t,n)=>0!==r(e,t,n)},4267:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Collection=void 0;var n=function(){function e(){this._items=[]}return e.prototype.get=function(e){return this._items[e]},e.prototype.add=function(e){this._items.push(e),this.onItemAdded&&this.onItemAdded(e)},e.prototype.remove=function(e){var t=this._items.indexOf(e);t>=0&&(this._items=this._items.splice(t,1),this.onItemRemoved&&this.onItemRemoved(e))},e.prototype.indexOf=function(e){return this._items.indexOf(e)},Object.defineProperty(e.prototype,"length",{get:function(){return this._items.length},enumerable:!1,configurable:!0}),e}();t.Collection=n},4364:e=>{"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAAGWB6gOAAAAAXNSR0IArs4c6QAAAW9JREFUWAljYMACGEFicnJy/5HlmJA5MDZxgnzqTjANCJqRoAUYhmMIYHUowgoIC0MXugIQn3qKsJmOIcboveD//8t18hgSMAHdpodUdBP1fEdPkxgZnoMjGBRWsHAhi2Zk6GSBacQX6DA1uGhgpJQTFQC4DEAWHzUIOTSws6kWRpB0tPB/B8N/hnLsdhEQBSZGLk4GBQKqiJdm9KbENVB7tiYwMrKAvERhqgYbR7XAHjWIcDIYDaPRMCIcAoRVMDEACyas7SvCelFUsIBKN/mY+Q+AxYkkigyxHGAtC1IKLmpDV/1n+/adoQnIjyPbQGItRlcHDBGg0CKgh+pWhzH+Alf9QMeAffZgSQLD51v70bXQlA+MHkn56PnlQDfEAS2SguR9aDDT2zEgn366uQ/iYagbqFYYQUylnBx1EKEwHA2h0RAiFAKE5EfT0GgIEQoBQvKjaYhQCEFGHkCNI2A/DTSsM2AA2kAbMPtxWQwAsbtIn+j/0mAAAAAASUVORK5CYII="},4410:(e,t,n)=>{const r=n(8950);e.exports=(e,t)=>{const n=r(e,null,!0),i=r(t,null,!0),o=n.compare(i);if(0===o)return null;const a=o>0,s=a?n:i,l=a?i:n,c=!!s.prerelease.length;if(l.prerelease.length&&!c){if(!l.patch&&!l.minor)return"major";if(0===l.compareMain(s))return l.minor&&!l.patch?"minor":"patch"}const u=c?"pre":"";return n.major!==i.major?u+"major":n.minor!==i.minor?u+"minor":n.patch!==i.patch?u+"patch":"prerelease"}},4563:(e,t,n)=>{const r=n(6652),i=n(3682);e.exports=(e,t,n)=>{const o=[];let a=null,s=null;const l=e.sort(((e,t)=>i(e,t,n)));for(const e of l)r(e,t,n)?(s=e,a||(a=e)):(s&&o.push([a,s]),s=null,a=null);a&&o.push([a,null]);const c=[];for(const[e,t]of o)e===t?c.push(e):t||e!==l[0]?t?e===l[0]?c.push(`<=${t}`):c.push(`${e} - ${t}`):c.push(`>=${e}`):c.push("*");const u=c.join(" || "),d="string"==typeof t.raw?t.raw:String(t);return u.length<d.length?u:t}},4701:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var r=n(5516),i=n.n(r),o=n(1364),a=n.n(o),s=n(3615),l=n.n(s),c=new URL(n(1975),n.b),u=new URL(n(9085),n.b),d=new URL(n(4364),n.b),p=new URL(n(2575),n.b),h=a()(i()),f=l()(c),m=l()(u),g=l()(d),v=l()(p);h.push([e.id,`.ac-image.ac-selectable {\n    cursor: pointer;\n}\n\na.ac-anchor {\n    text-decoration: underline;\n}\n\na.ac-anchor:link {\n    color: #2899f5;\n}\n\na.ac-anchor:visited {\n    color: #2899f5;\n}\n\na.ac-anchor:link:active {\n    color: #2899f5;\n}\n\na.ac-anchor:visited:active {\n    color: #2899f5;\n}\n\n.ac-container:not(.ac-adaptiveCard) {\n    outline: none;\n}\n\n.ac-adaptiveCard {\n    outline-color: #006ac1;\n}\n\n.ac-container.ac-selectable,\n.ac-columnSet.ac-selectable {\n    padding: 0px;\n    outline: none;\n    border: none;\n}\n\n.ac-container.ac-selectable:hover,\n.ac-columnSet.ac-selectable:hover,\n.ac-container.ac-selectable:focus,\n.ac-columnSet.ac-selectable:focus,\na.ac-anchor:focus {\n    background-color: rgba(255, 255, 255, 0.1);\n    outline: none;\n    border: none;\n}\n\n.ac-container.ac-selectable:active,\n.ac-columnSet.ac-selectable:active {\n    background-color: rgba(255, 255, 255, 0.15);\n    outline: none;\n    border: none;\n}\n\n.ac-pushButton {\n    /*default active*/\n    vertical-align: middle;\n    cursor: default;\n    overflow: hidden;\n    font-family: 'Segoe UI';\n    font-size: 14px;\n    line-height: 20px;\n    letter-spacing: -0.15px;\n    font-weight: 500;\n    padding: 6px 8px 6px 8px;\n    -webkit-user-select: none;\n    -moz-user-select: none;\n    -ms-user-select: none;\n    user-select: none;\n    background-color: #1e1e1e;\n    color: #0078d4;\n    border-radius: 4px;\n    outline: none;\n    border: 1px solid #0078d4;\n    margin: 2px; /* needed for box-shadow */\n}\n\n.ac-pushButton.primary:enabled,\n.ac-pushButton.style-positive:enabled {\n    /*primary, positive active*/\n    background-color: #0078d4;\n    color: #000000;\n    border: 1px solid #0078d4;\n}\n\n.ac-pushButton.primary:hover:enabled,\n.ac-pushButton.style-positive:hover:enabled {\n    /*primary, positive hover*/\n    background-color: #106ebe;\n    color: #000000;\n    border: 1px solid #106ebe;\n}\n\n.ac-pushButton.primary:active:enabled,\n.ac-pushButton.style-positive:active:enabled {\n    /*primary, positive press*/\n    background-color: #aad2f3;\n    color: #000000;\n    border: 1px solid #aad2f3;\n}\n\n.ac-pushButton.primary:focus:enabled,\n.ac-pushButton.style-positive:focus:enabled {\n    /*primary, positive focus*/\n    background-color: #106ebe;\n    color: #000000;\n    border: 1px solid #106ebe;\n    box-shadow: 0 0 0 2px #14344f;\n}\n\n.ac-pushButton.primary:disabled,\n.ac-pushButton.style-positive:disabled,\n.ac-pushButton.style-destructive:disabled {\n    /*primary, positive, destructive disabled*/\n    background-color: #605e5c;\n    color: #000000;\n    border: 1px solid #605e5c;\n}\n\n.ac-pushButton.style-destructive:enabled {\n    /*destructive active*/\n    background-color: #e50000;\n    color: #000000;\n    border: 1px solid #e50000;\n}\n\n.ac-pushButton.style-destructive:hover:enabled {\n    /*destructive hover*/\n    background-color: #bf0000;\n    color: #000000;\n    border: 1px solid #bf0000;\n}\n\n.ac-pushButton.style-destructive:active:enabled {\n    /*destructive press*/\n    background-color: #ac0202;\n    color: #000000;\n    border: 1px solid #ac0202;\n}\n\n.ac-pushButton.style-destructive:focus:enabled {\n    /*destructive focus*/\n    background-color: #e50000;\n    color: #000000;\n    border: 1px solid #bf0000;\n    box-shadow: 0 0 0 2px #490e0e;\n}\n\n.ac-pushButton:hover:enabled {\n    /*default hover*/\n    background-color: #2b2b2b;\n    color: #106ebe;\n    border: 1px solid #106ebe;\n}\n\n.ac-pushButton:active:enabled {\n    /*default press*/\n    background-color: #2b2b2b;\n    color: #aad2f3;\n    border: 1px solid #aad2f3;\n}\n\n.ac-pushButton:focus:enabled {\n    /*default focus*/\n    border: 1px solid #106ebe;\n    background-color: #2b2b2b;\n    box-shadow: 0 0 0 2px #14344f;\n    color: #106ebe;\n}\n\n.ac-pushButton:disabled {\n    /*default disabled*/\n    background-color: #2b2b2b;\n    color: #605e5c;\n    border: 1px solid #605e5c;\n}\n\n.ac-input {\n    /*rest single line*/\n    font-family: 'Segoe UI';\n    font-size: 14px;\n    line-height: 20px;\n    color: #f3f2f1;\n    background-color: inherit;\n    border: 1px solid #d2d0ce;\n    border-radius: 4px;\n    padding: 4px 4px 4px 8px;\n}\n\n.ac-toggleInput {\n    font-family: 'Segoe UI';\n    font-size: 14px;\n    line-height: 20px;\n    color: #ffffff;\n    background-color: inherit;\n    padding: 4px 4px 4px 8px;\n    border: none;\n}\n\n.ac-dateInput,\n.ac-timeInput {\n    padding-bottom: 4px;\n    padding-top: 4px;\n    padding-right: 4px;\n    font-family: 'Segoe UI';\n    font-size: 14px;\n    line-height: 20px;\n    letter-spacing: -0.15px;\n}\n\n.ac-input.ac-textInput,\n.ac-input.ac-numberInput {\n    resize: none;\n    background-color: #1e1e1e;\n}\n\n.ac-numberInputError {\n    border: 1px solid #a4262c;\n    box-shadow: 0 0 0 2px #512022;\n}\n\n.ac-input.ac-textInput:focus,\n.ac-input.ac-textInput.ac-multiline:focus,\n.ac-input.ac-numberInput:focus,\n.ac-input.ac-textInput:hover,\n.ac-input.ac-textInput.ac-multiline:hover,\n.ac-input.ac-numberInput:hover {\n    border: 1px solid #0078d4;\n    color: #f3f2f1;\n}\n\n.ac-fact-title {\n    font-weight: 600;\n}\n\n.ac-fact-value {\n    font-weight: 400;\n}\n\n.ac-multiline {\n    min-height: 72px;\n    box-sizing: border-box;\n}\n\n.ac-input.ac-textInput:focus::placeholder,\n.ac-input.ac-textInput.ac-multiline:focus::placeholder,\n.ac-input.ac-numberInput:focus::placeholder {\n    color: #707070;\n}\n\n.ac-input.ac-textInput::placeholder,\n.ac-input.ac-textInput.ac-multiline::placeholder,\n.ac-input.ac-numberInput::placeholder {\n    color: #707070;\n}\n\n.ac-input,\n.ac-multichoiceInput {\n    outline: none;\n}\n\n.ac-multichoiceInput:focus,\n.ac-multichoiceInput:hover {\n    border: 1px solid #0078d4;\n}\n\n.ac-multiInput,\n.ac-singleInput {\n    border: none;\n}\n\n.ac-choiceSetInput-expanded {\n    border: none;\n}\n\n.ac-choiceSetInput-compact {\n    background-color: #1e1e1e;\n}\n\n.ac-input.ac-dropdown {\n    padding-bottom: 4px;\n    padding-top: 4px;\n    padding-left: 8px;\n    padding-right: 8px;\n    background-color: #1e1e1e;\n    appearance: auto;\n}\n\n.ac-input.ac-dropdown:focus,\n.ac-input.ac-dropdown:hover {\n    border: 1px solid #0078d4;\n    box-shadow: 0 0 0 2px #14344f;\n    appearance: auto;\n    color: #f3f2f1;\n}\n\ninput[type='radio'] {\n    -webkit-appearance: none;\n    height: 16px;\n    width: 16px;\n    background-size: 16px;\n    background-image: url(${f});\n    outline: none;\n}\n\ninput[type='radio']:checked {\n    background-image: url(${m});\n}\n\ninput[type='checkbox'] {\n    -webkit-appearance: none;\n    height: 16px;\n    width: 16px;\n    background-size: 16px;\n    background-image: url(${g});\n    outline: none;\n    background-color: #1e1e1e;\n}\n\ninput[type='checkbox']:checked {\n    background-image: url(${v});\n}\n\n.ac-spinner {\n    display: inline-block;\n    width: 16px;\n    height: 16px;\n    border: 2px solid;\n    border-radius: 50%;\n    border-top-color: transparent;\n    animation: spin 1s linear infinite;\n    -webkit-animation: spin 1s linear infinite;\n}\n\n.ac-pushButton .ac-spinner {\n    color: #0078d7;\n}\n\n.ac-pushButton.primary:enabled .ac-spinner {\n    color: #ffffff;\n}\n\n@keyframes spin {\n    to {\n        -webkit-transform: rotate(360deg);\n        transform: rotate(360deg);\n    }\n}\n@-webkit-keyframes spin {\n    to {\n        -webkit-transform: rotate(360deg);\n        transform: rotate(360deg);\n    }\n}\n\n.ac-overlay-spinner {\n    display: inline-block;\n    border-top-color: transparent !important;\n    -webkit-animation: spin 1s linear infinite;\n    animation: spin 1s linear infinite;\n    border: 2px solid #4ba0ff;\n    border-radius: 50%;\n    width: 18px;\n    height: 18px;\n    left: 50%;\n    position: relative;\n    margin-top: 8px;\n    margin-bottom: 16px;\n}\n\n.input-placeholder,\n::placeholder {\n    color: #707070;\n}\n\ninput[type='number']::-webkit-outer-spin-button,\ninput[type='number']::-webkit-inner-spin-button {\n    -webkit-appearance: none;\n    margin: 0;\n}\n\n.ac-input.ac-numberInput.error,\n.ac-input.ac-numberInput.error:focus {\n    border: 1px solid #a4262c;\n    box-shadow: 0 0 0 2px #512022;\n}\n\n.ac-requiredPlaceHolder {\n    font-size: 12px;\n    line-height: 20px;\n    font-family: 'Segoe UI';\n    color: #777777;\n    background-color: inherit;\n}\n\n/* ACV2 specific styles */\n\n/* Invisible overlay to disable user interaction in the card */\n.aaf-invisible-overlay {\n    position: absolute;\n    left: 0;\n    top: 0;\n    width: 100%;\n    height: 100%;\n    background-color: transparent;\n    z-index: 1;\n}\n\n/* Overlay for all elements except buttons */\n.aaf-per-action-progress-overlay {\n    position: absolute;\n    left: 0;\n    top: 0;\n    width: 100%;\n    height: 100%;\n    background-color: rgba(0, 0, 0, 0.4);\n    display: flex;\n    justify-content: center;\n    align-items: center;\n}\n\n/* Overlay for auto-refresh action execution*/\n.aaf-per-action-progress-overlay.refresh {\n    align-items: start;\n    margin-top: 8px;\n    position: static;\n    height: 22px;\n}\n\n@keyframes aaf-spinner-rotate {\n    from {\n        transform: rotate(0);\n    }\n    to {\n        transform: rotate(360deg);\n    }\n}\n\n/* Spinner for all elements except buttons */\n.aaf-spinner {\n    width: 18px;\n    height: 18px;\n    border-radius: 50%;\n    border-width: 2px;\n    border-style: solid;\n    border-color: #4ba0ff #4ba0ff #4ba0ff transparent;\n    animation-name: aaf-spinner-rotate;\n    animation: spin 1s linear infinite;\n}\n\n/* Overlay for default button */\n.ac-pushButton .aaf-per-action-progress-overlay {\n    background-color: #000000;\n}\n\n/* Spinner for default button */\n.ac-pushButton .aaf-spinner {\n    border-color: #4ba0ff #4ba0ff #4ba0ff transparent;\n}\n\n/* Overlay for positive button */\n.ac-pushButton.style-positive .aaf-per-action-progress-overlay {\n    background-color: #4ba0ff;\n}\n\n/* Spinner for positive button */\n.ac-pushButton.style-positive .aaf-spinner {\n    border-color: transparent #000000 #000000 #000000;\n}\n\n/* Overlay for destructive button */\n.ac-pushButton.style-destructive .aaf-per-action-progress-overlay {\n    background-color: #e50000;\n}\n\n/* Spinner for destructive button */\n.ac-pushButton.style-destructive .aaf-spinner {\n    border-color: transparent #000000 #000000 #000000;\n}\n\n.ac-hidden {\n    display: none !important;\n}\n\n.ac-inlineActionButton {\n    overflow: hidden;\n    text-overflow: ellipsis;\n    text-align: center;\n    vertical-align: middle;\n    cursor: pointer;\n    font-family: 'Segoe UI', sans-serif;\n    font-size: 14px;\n    -webkit-user-select: none;\n    -moz-user-select: none;\n    -ms-user-select: none;\n    user-select: none;\n    border: none;\n    background-color: transparent;\n    height: 31px;\n}\n\n.ac-inlineActionButton.textOnly {\n    padding: 0 8px;\n}\n\n.ac-inlineActionButton.iconOnly {\n    padding: 0;\n}\n\n.ac-inlineActionButton:hover {\n    background-color: #eeeeee;\n}\n\n.ac-inlineActionButton:active {\n    background-color: #cccccc;\n}\n\n.ac-media-poster {\n}\n\n.ac-media-poster.empty {\n    height: 200px;\n    background-color: #f2f2f2;\n}\n\n.ac-media-playButton {\n    width: 56px;\n    height: 56px;\n    border: 1px solid #eeeeee;\n    border-radius: 28px;\n    box-shadow: 0px 0px 10px #eeeeee;\n    background-color: rgba(255, 255, 255, 0.9);\n    color: black;\n    cursor: pointer;\n}\n\n.ac-media-playButton-arrow {\n    color: black;\n    width: auto !important;\n    height: auto !important;\n}\n\n.ac-media-playButton:hover {\n    background-color: white;\n}\n\n/* Fix for markdown list is breaking in TextBlock*/\n.ac-textBlock > ul,\n.ac-textBlock > ol,\n.ac-textBlock > li {\n    width: auto !important;\n}\n`,"",{version:3,sources:["webpack://./src/util/AdaptiveCardStylesDarkMode.scss"],names:[],mappings:"AAAA;IACI,eAAe;AACnB;;AAEA;IACI,0BAA0B;AAC9B;;AAEA;IACI,cAAc;AAClB;;AAEA;IACI,cAAc;AAClB;;AAEA;IACI,cAAc;AAClB;;AAEA;IACI,cAAc;AAClB;;AAEA;IACI,aAAa;AACjB;;AAEA;IACI,sBAAsB;AAC1B;;AAEA;;IAEI,YAAY;IACZ,aAAa;IACb,YAAY;AAChB;;AAEA;;;;;IAKI,0CAA0C;IAC1C,aAAa;IACb,YAAY;AAChB;;AAEA;;IAEI,2CAA2C;IAC3C,aAAa;IACb,YAAY;AAChB;;AAEA;IACI,iBAAiB;IACjB,sBAAsB;IACtB,eAAe;IACf,gBAAgB;IAChB,uBAAuB;IACvB,eAAe;IACf,iBAAiB;IACjB,uBAAuB;IACvB,gBAAgB;IAChB,wBAAwB;IACxB,yBAAyB;IACzB,sBAAsB;IACtB,qBAAqB;IACrB,iBAAiB;IACjB,yBAAyB;IACzB,cAAc;IACd,kBAAkB;IAClB,aAAa;IACb,yBAAyB;IACzB,WAAW,EAAE,0BAA0B;AAC3C;;AAEA;;IAEI,2BAA2B;IAC3B,yBAAyB;IACzB,cAAc;IACd,yBAAyB;AAC7B;;AAEA;;IAEI,0BAA0B;IAC1B,yBAAyB;IACzB,cAAc;IACd,yBAAyB;AAC7B;;AAEA;;IAEI,0BAA0B;IAC1B,yBAAyB;IACzB,cAAc;IACd,yBAAyB;AAC7B;;AAEA;;IAEI,0BAA0B;IAC1B,yBAAyB;IACzB,cAAc;IACd,yBAAyB;IACzB,6BAA6B;AACjC;;AAEA;;;IAGI,0CAA0C;IAC1C,yBAAyB;IACzB,cAAc;IACd,yBAAyB;AAC7B;;AAEA;IACI,qBAAqB;IACrB,yBAAyB;IACzB,cAAc;IACd,yBAAyB;AAC7B;;AAEA;IACI,oBAAoB;IACpB,yBAAyB;IACzB,cAAc;IACd,yBAAyB;AAC7B;;AAEA;IACI,oBAAoB;IACpB,yBAAyB;IACzB,cAAc;IACd,yBAAyB;AAC7B;;AAEA;IACI,oBAAoB;IACpB,yBAAyB;IACzB,cAAc;IACd,yBAAyB;IACzB,6BAA6B;AACjC;;AAEA;IACI,gBAAgB;IAChB,yBAAyB;IACzB,cAAc;IACd,yBAAyB;AAC7B;;AAEA;IACI,gBAAgB;IAChB,yBAAyB;IACzB,cAAc;IACd,yBAAyB;AAC7B;;AAEA;IACI,gBAAgB;IAChB,yBAAyB;IACzB,yBAAyB;IACzB,6BAA6B;IAC7B,cAAc;AAClB;;AAEA;IACI,mBAAmB;IACnB,yBAAyB;IACzB,cAAc;IACd,yBAAyB;AAC7B;;AAEA;IACI,mBAAmB;IACnB,uBAAuB;IACvB,eAAe;IACf,iBAAiB;IACjB,cAAc;IACd,yBAAyB;IACzB,yBAAyB;IACzB,kBAAkB;IAClB,wBAAwB;AAC5B;;AAEA;IACI,uBAAuB;IACvB,eAAe;IACf,iBAAiB;IACjB,cAAc;IACd,yBAAyB;IACzB,wBAAwB;IACxB,YAAY;AAChB;;AAEA;;IAEI,mBAAmB;IACnB,gBAAgB;IAChB,kBAAkB;IAClB,uBAAuB;IACvB,eAAe;IACf,iBAAiB;IACjB,uBAAuB;AAC3B;;AAEA;;IAEI,YAAY;IACZ,yBAAyB;AAC7B;;AAEA;IACI,yBAAyB;IACzB,6BAA6B;AACjC;;AAEA;;;;;;IAMI,yBAAyB;IACzB,cAAc;AAClB;;AAEA;IACI,gBAAgB;AACpB;;AAEA;IACI,gBAAgB;AACpB;;AAEA;IACI,gBAAgB;IAChB,sBAAsB;AAC1B;;AAEA;;;IAGI,cAAc;AAClB;;AAEA;;;IAGI,cAAc;AAClB;;AAEA;;IAEI,aAAa;AACjB;;AAEA;;IAEI,yBAAyB;AAC7B;;AAEA;;IAEI,YAAY;AAChB;;AAEA;IACI,YAAY;AAChB;;AAEA;IACI,yBAAyB;AAC7B;;AAEA;IACI,mBAAmB;IACnB,gBAAgB;IAChB,iBAAiB;IACjB,kBAAkB;IAClB,yBAAyB;IACzB,gBAAgB;AACpB;;AAEA;;IAEI,yBAAyB;IACzB,6BAA6B;IAC7B,gBAAgB;IAChB,cAAc;AAClB;;AAEA;IACI,wBAAwB;IACxB,YAAY;IACZ,WAAW;IACX,qBAAqB;IACrB,yDAA8D;IAC9D,aAAa;AACjB;;AAEA;IACI,yDAA6D;AACjE;;AAEA;IACI,wBAAwB;IACxB,YAAY;IACZ,WAAW;IACX,qBAAqB;IACrB,yDAAwD;IACxD,aAAa;IACb,yBAAyB;AAC7B;;AAEA;IACI,yDAAgE;AACpE;;AAEA;IACI,qBAAqB;IACrB,WAAW;IACX,YAAY;IACZ,iBAAiB;IACjB,kBAAkB;IAClB,6BAA6B;IAC7B,kCAAkC;IAClC,0CAA0C;AAC9C;;AAEA;IACI,cAAc;AAClB;;AAEA;IACI,cAAc;AAClB;;AAEA;IACI;QACI,iCAAiC;QACjC,yBAAyB;IAC7B;AACJ;AACA;IACI;QACI,iCAAiC;QACjC,yBAAyB;IAC7B;AACJ;;AAEA;IACI,qBAAqB;IACrB,wCAAwC;IACxC,0CAA0C;IAC1C,kCAAkC;IAClC,yBAAyB;IACzB,kBAAkB;IAClB,WAAW;IACX,YAAY;IACZ,SAAS;IACT,kBAAkB;IAClB,eAAe;IACf,mBAAmB;AACvB;;AAEA;;IAEI,cAAc;AAClB;;AAEA;;IAEI,wBAAwB;IACxB,SAAS;AACb;;AAEA;;IAEI,yBAAyB;IACzB,6BAA6B;AACjC;;AAEA;IACI,eAAe;IACf,iBAAiB;IACjB,uBAAuB;IACvB,cAAc;IACd,yBAAyB;AAC7B;;AAEA,yBAAyB;;AAEzB,8DAA8D;AAC9D;IACI,kBAAkB;IAClB,OAAO;IACP,MAAM;IACN,WAAW;IACX,YAAY;IACZ,6BAA6B;IAC7B,UAAU;AACd;;AAEA,4CAA4C;AAC5C;IACI,kBAAkB;IAClB,OAAO;IACP,MAAM;IACN,WAAW;IACX,YAAY;IACZ,oCAAoC;IACpC,aAAa;IACb,uBAAuB;IACvB,mBAAmB;AACvB;;AAEA,6CAA6C;AAC7C;IACI,kBAAkB;IAClB,eAAe;IACf,gBAAgB;IAChB,YAAY;AAChB;;AAEA;IACI;QACI,oBAAoB;IACxB;IACA;QACI,yBAAyB;IAC7B;AACJ;;AAEA,4CAA4C;AAC5C;IACI,WAAW;IACX,YAAY;IACZ,kBAAkB;IAClB,iBAAiB;IACjB,mBAAmB;IACnB,iDAAiD;IACjD,kCAAkC;IAClC,kCAAkC;AACtC;;AAEA,+BAA+B;AAC/B;IACI,yBAAyB;AAC7B;;AAEA,+BAA+B;AAC/B;IACI,iDAAiD;AACrD;;AAEA,gCAAgC;AAChC;IACI,yBAAyB;AAC7B;;AAEA,gCAAgC;AAChC;IACI,iDAAiD;AACrD;;AAEA,mCAAmC;AACnC;IACI,yBAAyB;AAC7B;;AAEA,mCAAmC;AACnC;IACI,iDAAiD;AACrD;;AAEA;IACI,wBAAwB;AAC5B;;AAEA;IACI,gBAAgB;IAChB,uBAAuB;IACvB,kBAAkB;IAClB,sBAAsB;IACtB,eAAe;IACf,mCAAmC;IACnC,eAAe;IACf,yBAAyB;IACzB,sBAAsB;IACtB,qBAAqB;IACrB,iBAAiB;IACjB,YAAY;IACZ,6BAA6B;IAC7B,YAAY;AAChB;;AAEA;IACI,cAAc;AAClB;;AAEA;IACI,UAAU;AACd;;AAEA;IACI,yBAAyB;AAC7B;;AAEA;IACI,yBAAyB;AAC7B;;AAEA;AACA;;AAEA;IACI,aAAa;IACb,yBAAyB;AAC7B;;AAEA;IACI,WAAW;IACX,YAAY;IACZ,yBAAyB;IACzB,mBAAmB;IACnB,gCAAgC;IAChC,0CAA0C;IAC1C,YAAY;IACZ,eAAe;AACnB;;AAEA;IACI,YAAY;IACZ,sBAAsB;IACtB,uBAAuB;AAC3B;;AAEA;IACI,uBAAuB;AAC3B;;AAEA,kDAAkD;AAClD;;;IAGI,sBAAsB;AAC1B",sourcesContent:[".ac-image.ac-selectable {\r\n    cursor: pointer;\r\n}\r\n\r\na.ac-anchor {\r\n    text-decoration: underline;\r\n}\r\n\r\na.ac-anchor:link {\r\n    color: #2899f5;\r\n}\r\n\r\na.ac-anchor:visited {\r\n    color: #2899f5;\r\n}\r\n\r\na.ac-anchor:link:active {\r\n    color: #2899f5;\r\n}\r\n\r\na.ac-anchor:visited:active {\r\n    color: #2899f5;\r\n}\r\n\r\n.ac-container:not(.ac-adaptiveCard) {\r\n    outline: none;\r\n}\r\n\r\n.ac-adaptiveCard {\r\n    outline-color: #006ac1;\r\n}\r\n\r\n.ac-container.ac-selectable,\r\n.ac-columnSet.ac-selectable {\r\n    padding: 0px;\r\n    outline: none;\r\n    border: none;\r\n}\r\n\r\n.ac-container.ac-selectable:hover,\r\n.ac-columnSet.ac-selectable:hover,\r\n.ac-container.ac-selectable:focus,\r\n.ac-columnSet.ac-selectable:focus,\r\na.ac-anchor:focus {\r\n    background-color: rgba(255, 255, 255, 0.1);\r\n    outline: none;\r\n    border: none;\r\n}\r\n\r\n.ac-container.ac-selectable:active,\r\n.ac-columnSet.ac-selectable:active {\r\n    background-color: rgba(255, 255, 255, 0.15);\r\n    outline: none;\r\n    border: none;\r\n}\r\n\r\n.ac-pushButton {\r\n    /*default active*/\r\n    vertical-align: middle;\r\n    cursor: default;\r\n    overflow: hidden;\r\n    font-family: 'Segoe UI';\r\n    font-size: 14px;\r\n    line-height: 20px;\r\n    letter-spacing: -0.15px;\r\n    font-weight: 500;\r\n    padding: 6px 8px 6px 8px;\r\n    -webkit-user-select: none;\r\n    -moz-user-select: none;\r\n    -ms-user-select: none;\r\n    user-select: none;\r\n    background-color: #1e1e1e;\r\n    color: #0078d4;\r\n    border-radius: 4px;\r\n    outline: none;\r\n    border: 1px solid #0078d4;\r\n    margin: 2px; /* needed for box-shadow */\r\n}\r\n\r\n.ac-pushButton.primary:enabled,\r\n.ac-pushButton.style-positive:enabled {\r\n    /*primary, positive active*/\r\n    background-color: #0078d4;\r\n    color: #000000;\r\n    border: 1px solid #0078d4;\r\n}\r\n\r\n.ac-pushButton.primary:hover:enabled,\r\n.ac-pushButton.style-positive:hover:enabled {\r\n    /*primary, positive hover*/\r\n    background-color: #106ebe;\r\n    color: #000000;\r\n    border: 1px solid #106ebe;\r\n}\r\n\r\n.ac-pushButton.primary:active:enabled,\r\n.ac-pushButton.style-positive:active:enabled {\r\n    /*primary, positive press*/\r\n    background-color: #aad2f3;\r\n    color: #000000;\r\n    border: 1px solid #aad2f3;\r\n}\r\n\r\n.ac-pushButton.primary:focus:enabled,\r\n.ac-pushButton.style-positive:focus:enabled {\r\n    /*primary, positive focus*/\r\n    background-color: #106ebe;\r\n    color: #000000;\r\n    border: 1px solid #106ebe;\r\n    box-shadow: 0 0 0 2px #14344f;\r\n}\r\n\r\n.ac-pushButton.primary:disabled,\r\n.ac-pushButton.style-positive:disabled,\r\n.ac-pushButton.style-destructive:disabled {\r\n    /*primary, positive, destructive disabled*/\r\n    background-color: #605e5c;\r\n    color: #000000;\r\n    border: 1px solid #605e5c;\r\n}\r\n\r\n.ac-pushButton.style-destructive:enabled {\r\n    /*destructive active*/\r\n    background-color: #e50000;\r\n    color: #000000;\r\n    border: 1px solid #e50000;\r\n}\r\n\r\n.ac-pushButton.style-destructive:hover:enabled {\r\n    /*destructive hover*/\r\n    background-color: #bf0000;\r\n    color: #000000;\r\n    border: 1px solid #bf0000;\r\n}\r\n\r\n.ac-pushButton.style-destructive:active:enabled {\r\n    /*destructive press*/\r\n    background-color: #ac0202;\r\n    color: #000000;\r\n    border: 1px solid #ac0202;\r\n}\r\n\r\n.ac-pushButton.style-destructive:focus:enabled {\r\n    /*destructive focus*/\r\n    background-color: #e50000;\r\n    color: #000000;\r\n    border: 1px solid #bf0000;\r\n    box-shadow: 0 0 0 2px #490e0e;\r\n}\r\n\r\n.ac-pushButton:hover:enabled {\r\n    /*default hover*/\r\n    background-color: #2b2b2b;\r\n    color: #106ebe;\r\n    border: 1px solid #106ebe;\r\n}\r\n\r\n.ac-pushButton:active:enabled {\r\n    /*default press*/\r\n    background-color: #2b2b2b;\r\n    color: #aad2f3;\r\n    border: 1px solid #aad2f3;\r\n}\r\n\r\n.ac-pushButton:focus:enabled {\r\n    /*default focus*/\r\n    border: 1px solid #106ebe;\r\n    background-color: #2b2b2b;\r\n    box-shadow: 0 0 0 2px #14344f;\r\n    color: #106ebe;\r\n}\r\n\r\n.ac-pushButton:disabled {\r\n    /*default disabled*/\r\n    background-color: #2b2b2b;\r\n    color: #605e5c;\r\n    border: 1px solid #605e5c;\r\n}\r\n\r\n.ac-input {\r\n    /*rest single line*/\r\n    font-family: 'Segoe UI';\r\n    font-size: 14px;\r\n    line-height: 20px;\r\n    color: #f3f2f1;\r\n    background-color: inherit;\r\n    border: 1px solid #d2d0ce;\r\n    border-radius: 4px;\r\n    padding: 4px 4px 4px 8px;\r\n}\r\n\r\n.ac-toggleInput {\r\n    font-family: 'Segoe UI';\r\n    font-size: 14px;\r\n    line-height: 20px;\r\n    color: #ffffff;\r\n    background-color: inherit;\r\n    padding: 4px 4px 4px 8px;\r\n    border: none;\r\n}\r\n\r\n.ac-dateInput,\r\n.ac-timeInput {\r\n    padding-bottom: 4px;\r\n    padding-top: 4px;\r\n    padding-right: 4px;\r\n    font-family: 'Segoe UI';\r\n    font-size: 14px;\r\n    line-height: 20px;\r\n    letter-spacing: -0.15px;\r\n}\r\n\r\n.ac-input.ac-textInput,\r\n.ac-input.ac-numberInput {\r\n    resize: none;\r\n    background-color: #1e1e1e;\r\n}\r\n\r\n.ac-numberInputError {\r\n    border: 1px solid #a4262c;\r\n    box-shadow: 0 0 0 2px #512022;\r\n}\r\n\r\n.ac-input.ac-textInput:focus,\r\n.ac-input.ac-textInput.ac-multiline:focus,\r\n.ac-input.ac-numberInput:focus,\r\n.ac-input.ac-textInput:hover,\r\n.ac-input.ac-textInput.ac-multiline:hover,\r\n.ac-input.ac-numberInput:hover {\r\n    border: 1px solid #0078d4;\r\n    color: #f3f2f1;\r\n}\r\n\r\n.ac-fact-title {\r\n    font-weight: 600;\r\n}\r\n\r\n.ac-fact-value {\r\n    font-weight: 400;\r\n}\r\n\r\n.ac-multiline {\r\n    min-height: 72px;\r\n    box-sizing: border-box;\r\n}\r\n\r\n.ac-input.ac-textInput:focus::placeholder,\r\n.ac-input.ac-textInput.ac-multiline:focus::placeholder,\r\n.ac-input.ac-numberInput:focus::placeholder {\r\n    color: #707070;\r\n}\r\n\r\n.ac-input.ac-textInput::placeholder,\r\n.ac-input.ac-textInput.ac-multiline::placeholder,\r\n.ac-input.ac-numberInput::placeholder {\r\n    color: #707070;\r\n}\r\n\r\n.ac-input,\r\n.ac-multichoiceInput {\r\n    outline: none;\r\n}\r\n\r\n.ac-multichoiceInput:focus,\r\n.ac-multichoiceInput:hover {\r\n    border: 1px solid #0078d4;\r\n}\r\n\r\n.ac-multiInput,\r\n.ac-singleInput {\r\n    border: none;\r\n}\r\n\r\n.ac-choiceSetInput-expanded {\r\n    border: none;\r\n}\r\n\r\n.ac-choiceSetInput-compact {\r\n    background-color: #1e1e1e;\r\n}\r\n\r\n.ac-input.ac-dropdown {\r\n    padding-bottom: 4px;\r\n    padding-top: 4px;\r\n    padding-left: 8px;\r\n    padding-right: 8px;\r\n    background-color: #1e1e1e;\r\n    appearance: auto;\r\n}\r\n\r\n.ac-input.ac-dropdown:focus,\r\n.ac-input.ac-dropdown:hover {\r\n    border: 1px solid #0078d4;\r\n    box-shadow: 0 0 0 2px #14344f;\r\n    appearance: auto;\r\n    color: #f3f2f1;\r\n}\r\n\r\ninput[type='radio'] {\r\n    -webkit-appearance: none;\r\n    height: 16px;\r\n    width: 16px;\r\n    background-size: 16px;\r\n    background-image: url('./images/dark_mode/radioButtonOff.png');\r\n    outline: none;\r\n}\r\n\r\ninput[type='radio']:checked {\r\n    background-image: url('./images/dark_mode/radioButtonOn.png');\r\n}\r\n\r\ninput[type='checkbox'] {\r\n    -webkit-appearance: none;\r\n    height: 16px;\r\n    width: 16px;\r\n    background-size: 16px;\r\n    background-image: url('./images/dark_mode/checkbox.png');\r\n    outline: none;\r\n    background-color: #1e1e1e;\r\n}\r\n\r\ninput[type='checkbox']:checked {\r\n    background-image: url('./images/dark_mode/checkboxSelected.png');\r\n}\r\n\r\n.ac-spinner {\r\n    display: inline-block;\r\n    width: 16px;\r\n    height: 16px;\r\n    border: 2px solid;\r\n    border-radius: 50%;\r\n    border-top-color: transparent;\r\n    animation: spin 1s linear infinite;\r\n    -webkit-animation: spin 1s linear infinite;\r\n}\r\n\r\n.ac-pushButton .ac-spinner {\r\n    color: #0078d7;\r\n}\r\n\r\n.ac-pushButton.primary:enabled .ac-spinner {\r\n    color: #ffffff;\r\n}\r\n\r\n@keyframes spin {\r\n    to {\r\n        -webkit-transform: rotate(360deg);\r\n        transform: rotate(360deg);\r\n    }\r\n}\r\n@-webkit-keyframes spin {\r\n    to {\r\n        -webkit-transform: rotate(360deg);\r\n        transform: rotate(360deg);\r\n    }\r\n}\r\n\r\n.ac-overlay-spinner {\r\n    display: inline-block;\r\n    border-top-color: transparent !important;\r\n    -webkit-animation: spin 1s linear infinite;\r\n    animation: spin 1s linear infinite;\r\n    border: 2px solid #4ba0ff;\r\n    border-radius: 50%;\r\n    width: 18px;\r\n    height: 18px;\r\n    left: 50%;\r\n    position: relative;\r\n    margin-top: 8px;\r\n    margin-bottom: 16px;\r\n}\r\n\r\n.input-placeholder,\r\n::placeholder {\r\n    color: #707070;\r\n}\r\n\r\ninput[type='number']::-webkit-outer-spin-button,\r\ninput[type='number']::-webkit-inner-spin-button {\r\n    -webkit-appearance: none;\r\n    margin: 0;\r\n}\r\n\r\n.ac-input.ac-numberInput.error,\r\n.ac-input.ac-numberInput.error:focus {\r\n    border: 1px solid #a4262c;\r\n    box-shadow: 0 0 0 2px #512022;\r\n}\r\n\r\n.ac-requiredPlaceHolder {\r\n    font-size: 12px;\r\n    line-height: 20px;\r\n    font-family: 'Segoe UI';\r\n    color: #777777;\r\n    background-color: inherit;\r\n}\r\n\r\n/* ACV2 specific styles */\r\n\r\n/* Invisible overlay to disable user interaction in the card */\r\n.aaf-invisible-overlay {\r\n    position: absolute;\r\n    left: 0;\r\n    top: 0;\r\n    width: 100%;\r\n    height: 100%;\r\n    background-color: transparent;\r\n    z-index: 1;\r\n}\r\n\r\n/* Overlay for all elements except buttons */\r\n.aaf-per-action-progress-overlay {\r\n    position: absolute;\r\n    left: 0;\r\n    top: 0;\r\n    width: 100%;\r\n    height: 100%;\r\n    background-color: rgba(0, 0, 0, 0.4);\r\n    display: flex;\r\n    justify-content: center;\r\n    align-items: center;\r\n}\r\n\r\n/* Overlay for auto-refresh action execution*/\r\n.aaf-per-action-progress-overlay.refresh {\r\n    align-items: start;\r\n    margin-top: 8px;\r\n    position: static;\r\n    height: 22px;\r\n}\r\n\r\n@keyframes aaf-spinner-rotate {\r\n    from {\r\n        transform: rotate(0);\r\n    }\r\n    to {\r\n        transform: rotate(360deg);\r\n    }\r\n}\r\n\r\n/* Spinner for all elements except buttons */\r\n.aaf-spinner {\r\n    width: 18px;\r\n    height: 18px;\r\n    border-radius: 50%;\r\n    border-width: 2px;\r\n    border-style: solid;\r\n    border-color: #4ba0ff #4ba0ff #4ba0ff transparent;\r\n    animation-name: aaf-spinner-rotate;\r\n    animation: spin 1s linear infinite;\r\n}\r\n\r\n/* Overlay for default button */\r\n.ac-pushButton .aaf-per-action-progress-overlay {\r\n    background-color: #000000;\r\n}\r\n\r\n/* Spinner for default button */\r\n.ac-pushButton .aaf-spinner {\r\n    border-color: #4ba0ff #4ba0ff #4ba0ff transparent;\r\n}\r\n\r\n/* Overlay for positive button */\r\n.ac-pushButton.style-positive .aaf-per-action-progress-overlay {\r\n    background-color: #4ba0ff;\r\n}\r\n\r\n/* Spinner for positive button */\r\n.ac-pushButton.style-positive .aaf-spinner {\r\n    border-color: transparent #000000 #000000 #000000;\r\n}\r\n\r\n/* Overlay for destructive button */\r\n.ac-pushButton.style-destructive .aaf-per-action-progress-overlay {\r\n    background-color: #e50000;\r\n}\r\n\r\n/* Spinner for destructive button */\r\n.ac-pushButton.style-destructive .aaf-spinner {\r\n    border-color: transparent #000000 #000000 #000000;\r\n}\r\n\r\n.ac-hidden {\r\n    display: none !important;\r\n}\r\n\r\n.ac-inlineActionButton {\r\n    overflow: hidden;\r\n    text-overflow: ellipsis;\r\n    text-align: center;\r\n    vertical-align: middle;\r\n    cursor: pointer;\r\n    font-family: 'Segoe UI', sans-serif;\r\n    font-size: 14px;\r\n    -webkit-user-select: none;\r\n    -moz-user-select: none;\r\n    -ms-user-select: none;\r\n    user-select: none;\r\n    border: none;\r\n    background-color: transparent;\r\n    height: 31px;\r\n}\r\n\r\n.ac-inlineActionButton.textOnly {\r\n    padding: 0 8px;\r\n}\r\n\r\n.ac-inlineActionButton.iconOnly {\r\n    padding: 0;\r\n}\r\n\r\n.ac-inlineActionButton:hover {\r\n    background-color: #eeeeee;\r\n}\r\n\r\n.ac-inlineActionButton:active {\r\n    background-color: #cccccc;\r\n}\r\n\r\n.ac-media-poster {\r\n}\r\n\r\n.ac-media-poster.empty {\r\n    height: 200px;\r\n    background-color: #f2f2f2;\r\n}\r\n\r\n.ac-media-playButton {\r\n    width: 56px;\r\n    height: 56px;\r\n    border: 1px solid #eeeeee;\r\n    border-radius: 28px;\r\n    box-shadow: 0px 0px 10px #eeeeee;\r\n    background-color: rgba(255, 255, 255, 0.9);\r\n    color: black;\r\n    cursor: pointer;\r\n}\r\n\r\n.ac-media-playButton-arrow {\r\n    color: black;\r\n    width: auto !important;\r\n    height: auto !important;\r\n}\r\n\r\n.ac-media-playButton:hover {\r\n    background-color: white;\r\n}\r\n\r\n/* Fix for markdown list is breaking in TextBlock*/\r\n.ac-textBlock > ul,\r\n.ac-textBlock > ol,\r\n.ac-textBlock > li {\r\n    width: auto !important;\r\n}\r\n"],sourceRoot:""}]);const y=h},4790:e=>{"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAAAehJREFUWAntmM1Kw0AQxydWbKmKHuxHwBZvtX69gL3oG+gD6KXFR7AnKZ58BfEmPoIerQf1EUR6k4KI9qy0osT9Z3chlGySrWnSQwZKQ/ZjfvOfmZAs0YSZYfO0rBnqd07JsA7IIjNSRoPeyDIuKVM5oZbxPW07BwxZxwwmerMFYL77HfhuTtkEUCZuEwwcKOo0uQUvGDiQ24SY7iVAfsInCk2UQrnZFD0clenmcFnJFVnKANOul2l7JUsLGbVb9YgyBv0BCbNRTNPT+4D2rl6Vm4wdaBhm56JLvc/feIB0YUA5NoVGgfEEumadcM86Ahvr2qgwnkCLrBNqrCPuGmXKa0AtZVN0Wy+RLGC/mhkOVpmyfdYJ6Ij1QjowFGDajRJtFjP2Wl0YT4U+WCfsso4A1JqAKsyp0xcGjCcQBt2gii5QYcH4Ag1DVfM8fU4oWTMyTVDV6zmDPb1MWUPORU6lVgWUOZ8iCbNl8poBDOb+x/hXR/M50Os9uq3Nug6F3ukNaPBjUZgwdFY1AikkI0b06BwUeiWXDhdGONECwhrUB6AeX77sXxhpkgHjn3+XOe8EuAZU7bwbYKb+FG2F9F3orUiA/PRKFAqmEI5E4jbBwFOG85m4TTDw5xAOi3A+E/eBVdyiuPn/A/Mu7sgeVfFlAAAAAElFTkSuQmCC"},4838:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Constants=void 0;var n=function(){function e(){}return e.keys={tab:"Tab",enter:"Enter",escape:"Escape",space:" ",up:"ArrowUp",down:"ArrowDown",delete:"Delete"},e}();t.Constants=n},4864:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(3798),t),i(n(397),t)},4922:(e,t,n)=>{"use strict";e.exports=n(3394)},4979:(e,t,n)=>{"use strict";function r(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function i(e={},t={}){Object.keys(t).forEach((n=>{void 0===e[n]?e[n]=t[n]:r(t[n])&&r(e[n])&&Object.keys(t[n]).length>0&&i(e[n],t[n])}))}n.r(t),n.d(t,{A11y:()=>le,Autoplay:()=>de,Controller:()=>se,EffectCards:()=>Pe,EffectCoverflow:()=>Te,EffectCreative:()=>_e,EffectCube:()=>xe,EffectFade:()=>we,EffectFlip:()=>ke,FreeMode:()=>he,Grid:()=>fe,HashNavigation:()=>ue,History:()=>ce,Keyboard:()=>Z,Lazy:()=>ae,Manipulation:()=>Ce,Mousewheel:()=>J,Navigation:()=>ee,Pagination:()=>ne,Parallax:()=>ie,Scrollbar:()=>re,Swiper:()=>Y,Thumbs:()=>pe,Virtual:()=>X,Zoom:()=>oe,default:()=>Y});const o={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function a(){const e="undefined"!=typeof document?document:{};return i(e,o),e}const s={document:o,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function l(){const e="undefined"!=typeof window?window:{};return i(e,s),e}class c extends Array{constructor(e){"number"==typeof e?super(e):(super(...e||[]),function(e){const t=e.__proto__;Object.defineProperty(e,"__proto__",{get:()=>t,set(e){t.__proto__=e}})}(this))}}function u(e=[]){const t=[];return e.forEach((e=>{Array.isArray(e)?t.push(...u(e)):t.push(e)})),t}function d(e,t){return Array.prototype.filter.call(e,t)}function p(e,t){const n=l(),r=a();let i=[];if(!t&&e instanceof c)return e;if(!e)return new c(i);if("string"==typeof e){const n=e.trim();if(n.indexOf("<")>=0&&n.indexOf(">")>=0){let e="div";0===n.indexOf("<li")&&(e="ul"),0===n.indexOf("<tr")&&(e="tbody"),0!==n.indexOf("<td")&&0!==n.indexOf("<th")||(e="tr"),0===n.indexOf("<tbody")&&(e="table"),0===n.indexOf("<option")&&(e="select");const t=r.createElement(e);t.innerHTML=n;for(let e=0;e<t.childNodes.length;e+=1)i.push(t.childNodes[e])}else i=function(e,t){if("string"!=typeof e)return[e];const n=[],r=t.querySelectorAll(e);for(let e=0;e<r.length;e+=1)n.push(r[e]);return n}(e.trim(),t||r)}else if(e.nodeType||e===n||e===r)i.push(e);else if(Array.isArray(e)){if(e instanceof c)return e;i=e}return new c(function(e){const t=[];for(let n=0;n<e.length;n+=1)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(i))}p.fn=c.prototype;const h="resize scroll".split(" ");function f(e){return function(...t){if(void 0===t[0]){for(let t=0;t<this.length;t+=1)h.indexOf(e)<0&&(e in this[t]?this[t][e]():p(this[t]).trigger(e));return this}return this.on(e,...t)}}f("click"),f("blur"),f("focus"),f("focusin"),f("focusout"),f("keyup"),f("keydown"),f("keypress"),f("submit"),f("change"),f("mousedown"),f("mousemove"),f("mouseup"),f("mouseenter"),f("mouseleave"),f("mouseout"),f("mouseover"),f("touchstart"),f("touchend"),f("touchmove"),f("resize"),f("scroll");const m={addClass:function(...e){const t=u(e.map((e=>e.split(" "))));return this.forEach((e=>{e.classList.add(...t)})),this},removeClass:function(...e){const t=u(e.map((e=>e.split(" "))));return this.forEach((e=>{e.classList.remove(...t)})),this},hasClass:function(...e){const t=u(e.map((e=>e.split(" "))));return d(this,(e=>t.filter((t=>e.classList.contains(t))).length>0)).length>0},toggleClass:function(...e){const t=u(e.map((e=>e.split(" "))));this.forEach((e=>{t.forEach((t=>{e.classList.toggle(t)}))}))},attr:function(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(let n=0;n<this.length;n+=1)if(2===arguments.length)this[n].setAttribute(e,t);else for(const t in e)this[n][t]=e[t],this[n].setAttribute(t,e[t]);return this},removeAttr:function(e){for(let t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},transform:function(e){for(let t=0;t<this.length;t+=1)this[t].style.transform=e;return this},transition:function(e){for(let t=0;t<this.length;t+=1)this[t].style.transitionDuration="string"!=typeof e?`${e}ms`:e;return this},on:function(...e){let[t,n,r,i]=e;function o(e){const t=e.target;if(!t)return;const i=e.target.dom7EventData||[];if(i.indexOf(e)<0&&i.unshift(e),p(t).is(n))r.apply(t,i);else{const e=p(t).parents();for(let t=0;t<e.length;t+=1)p(e[t]).is(n)&&r.apply(e[t],i)}}function a(e){const t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),r.apply(this,t)}"function"==typeof e[1]&&([t,r,i]=e,n=void 0),i||(i=!1);const s=t.split(" ");let l;for(let e=0;e<this.length;e+=1){const t=this[e];if(n)for(l=0;l<s.length;l+=1){const e=s[l];t.dom7LiveListeners||(t.dom7LiveListeners={}),t.dom7LiveListeners[e]||(t.dom7LiveListeners[e]=[]),t.dom7LiveListeners[e].push({listener:r,proxyListener:o}),t.addEventListener(e,o,i)}else for(l=0;l<s.length;l+=1){const e=s[l];t.dom7Listeners||(t.dom7Listeners={}),t.dom7Listeners[e]||(t.dom7Listeners[e]=[]),t.dom7Listeners[e].push({listener:r,proxyListener:a}),t.addEventListener(e,a,i)}}return this},off:function(...e){let[t,n,r,i]=e;"function"==typeof e[1]&&([t,r,i]=e,n=void 0),i||(i=!1);const o=t.split(" ");for(let e=0;e<o.length;e+=1){const t=o[e];for(let e=0;e<this.length;e+=1){const o=this[e];let a;if(!n&&o.dom7Listeners?a=o.dom7Listeners[t]:n&&o.dom7LiveListeners&&(a=o.dom7LiveListeners[t]),a&&a.length)for(let e=a.length-1;e>=0;e-=1){const n=a[e];r&&n.listener===r||r&&n.listener&&n.listener.dom7proxy&&n.listener.dom7proxy===r?(o.removeEventListener(t,n.proxyListener,i),a.splice(e,1)):r||(o.removeEventListener(t,n.proxyListener,i),a.splice(e,1))}}}return this},trigger:function(...e){const t=l(),n=e[0].split(" "),r=e[1];for(let i=0;i<n.length;i+=1){const o=n[i];for(let n=0;n<this.length;n+=1){const i=this[n];if(t.CustomEvent){const n=new t.CustomEvent(o,{detail:r,bubbles:!0,cancelable:!0});i.dom7EventData=e.filter(((e,t)=>t>0)),i.dispatchEvent(n),i.dom7EventData=[],delete i.dom7EventData}}}return this},transitionEnd:function(e){const t=this;return e&&t.on("transitionend",(function n(r){r.target===this&&(e.call(this,r),t.off("transitionend",n))})),this},outerWidth:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},styles:function(){const e=l();return this[0]?e.getComputedStyle(this[0],null):{}},offset:function(){if(this.length>0){const e=l(),t=a(),n=this[0],r=n.getBoundingClientRect(),i=t.body,o=n.clientTop||i.clientTop||0,s=n.clientLeft||i.clientLeft||0,c=n===e?e.scrollY:n.scrollTop,u=n===e?e.scrollX:n.scrollLeft;return{top:r.top+c-o,left:r.left+u-s}}return null},css:function(e,t){const n=l();let r;if(1===arguments.length){if("string"!=typeof e){for(r=0;r<this.length;r+=1)for(const t in e)this[r].style[t]=e[t];return this}if(this[0])return n.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(r=0;r<this.length;r+=1)this[r].style[e]=t;return this}return this},each:function(e){return e?(this.forEach(((t,n)=>{e.apply(t,[t,n])})),this):this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:null;for(let t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(let t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(e){const t=l(),n=a(),r=this[0];let i,o;if(!r||void 0===e)return!1;if("string"==typeof e){if(r.matches)return r.matches(e);if(r.webkitMatchesSelector)return r.webkitMatchesSelector(e);if(r.msMatchesSelector)return r.msMatchesSelector(e);for(i=p(e),o=0;o<i.length;o+=1)if(i[o]===r)return!0;return!1}if(e===n)return r===n;if(e===t)return r===t;if(e.nodeType||e instanceof c){for(i=e.nodeType?[e]:e,o=0;o<i.length;o+=1)if(i[o]===r)return!0;return!1}return!1},index:function(){let e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if(void 0===e)return this;const t=this.length;if(e>t-1)return p([]);if(e<0){const n=t+e;return p(n<0?[]:[this[n]])}return p([this[e]])},append:function(...e){let t;const n=a();for(let r=0;r<e.length;r+=1){t=e[r];for(let e=0;e<this.length;e+=1)if("string"==typeof t){const r=n.createElement("div");for(r.innerHTML=t;r.firstChild;)this[e].appendChild(r.firstChild)}else if(t instanceof c)for(let n=0;n<t.length;n+=1)this[e].appendChild(t[n]);else this[e].appendChild(t)}return this},prepend:function(e){const t=a();let n,r;for(n=0;n<this.length;n+=1)if("string"==typeof e){const i=t.createElement("div");for(i.innerHTML=e,r=i.childNodes.length-1;r>=0;r-=1)this[n].insertBefore(i.childNodes[r],this[n].childNodes[0])}else if(e instanceof c)for(r=0;r<e.length;r+=1)this[n].insertBefore(e[r],this[n].childNodes[0]);else this[n].insertBefore(e,this[n].childNodes[0]);return this},next:function(e){return this.length>0?e?this[0].nextElementSibling&&p(this[0].nextElementSibling).is(e)?p([this[0].nextElementSibling]):p([]):this[0].nextElementSibling?p([this[0].nextElementSibling]):p([]):p([])},nextAll:function(e){const t=[];let n=this[0];if(!n)return p([]);for(;n.nextElementSibling;){const r=n.nextElementSibling;e?p(r).is(e)&&t.push(r):t.push(r),n=r}return p(t)},prev:function(e){if(this.length>0){const t=this[0];return e?t.previousElementSibling&&p(t.previousElementSibling).is(e)?p([t.previousElementSibling]):p([]):t.previousElementSibling?p([t.previousElementSibling]):p([])}return p([])},prevAll:function(e){const t=[];let n=this[0];if(!n)return p([]);for(;n.previousElementSibling;){const r=n.previousElementSibling;e?p(r).is(e)&&t.push(r):t.push(r),n=r}return p(t)},parent:function(e){const t=[];for(let n=0;n<this.length;n+=1)null!==this[n].parentNode&&(e?p(this[n].parentNode).is(e)&&t.push(this[n].parentNode):t.push(this[n].parentNode));return p(t)},parents:function(e){const t=[];for(let n=0;n<this.length;n+=1){let r=this[n].parentNode;for(;r;)e?p(r).is(e)&&t.push(r):t.push(r),r=r.parentNode}return p(t)},closest:function(e){let t=this;return void 0===e?p([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){const t=[];for(let n=0;n<this.length;n+=1){const r=this[n].querySelectorAll(e);for(let e=0;e<r.length;e+=1)t.push(r[e])}return p(t)},children:function(e){const t=[];for(let n=0;n<this.length;n+=1){const r=this[n].children;for(let n=0;n<r.length;n+=1)e&&!p(r[n]).is(e)||t.push(r[n])}return p(t)},filter:function(e){return p(d(this,e))},remove:function(){for(let e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}};Object.keys(m).forEach((e=>{Object.defineProperty(p.fn,e,{value:m[e],writable:!0})}));const g=p;function v(e,t=0){return setTimeout(e,t)}function y(){return Date.now()}function b(e,t="x"){const n=l();let r,i,o;const a=function(e){const t=l();let n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}(e);return n.WebKitCSSMatrix?(i=a.transform||a.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map((e=>e.replace(",","."))).join(", ")),o=new n.WebKitCSSMatrix("none"===i?"":i)):(o=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),r=o.toString().split(",")),"x"===t&&(i=n.WebKitCSSMatrix?o.m41:16===r.length?parseFloat(r[12]):parseFloat(r[4])),"y"===t&&(i=n.WebKitCSSMatrix?o.m42:16===r.length?parseFloat(r[13]):parseFloat(r[5])),i||0}function C(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function A(...e){const t=Object(e[0]),n=["__proto__","constructor","prototype"];for(let i=1;i<e.length;i+=1){const o=e[i];if(null!=o&&(r=o,!("undefined"!=typeof window&&void 0!==window.HTMLElement?r instanceof HTMLElement:r&&(1===r.nodeType||11===r.nodeType)))){const e=Object.keys(Object(o)).filter((e=>n.indexOf(e)<0));for(let n=0,r=e.length;n<r;n+=1){const r=e[n],i=Object.getOwnPropertyDescriptor(o,r);void 0!==i&&i.enumerable&&(C(t[r])&&C(o[r])?o[r].__swiper__?t[r]=o[r]:A(t[r],o[r]):!C(t[r])&&C(o[r])?(t[r]={},o[r].__swiper__?t[r]=o[r]:A(t[r],o[r])):t[r]=o[r])}}}var r;return t}function S(e,t,n){e.style.setProperty(t,n)}function E({swiper:e,targetPosition:t,side:n}){const r=l(),i=-e.translate;let o,a=null;const s=e.params.speed;e.wrapperEl.style.scrollSnapType="none",r.cancelAnimationFrame(e.cssModeFrameID);const c=t>i?"next":"prev",u=(e,t)=>"next"===c&&e>=t||"prev"===c&&e<=t,d=()=>{o=(new Date).getTime(),null===a&&(a=o);const l=Math.max(Math.min((o-a)/s,1),0),c=.5-Math.cos(l*Math.PI)/2;let p=i+c*(t-i);if(u(p,t)&&(p=t),e.wrapperEl.scrollTo({[n]:p}),u(p,t))return e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout((()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:p})})),void r.cancelAnimationFrame(e.cssModeFrameID);e.cssModeFrameID=r.requestAnimationFrame(d)};d()}let w,x,I;function k(){return w||(w=function(){const e=l(),t=a();return{smoothScroll:t.documentElement&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch),passiveListener:function(){let t=!1;try{const n=Object.defineProperty({},"passive",{get(){t=!0}});e.addEventListener("testPassiveListener",null,n)}catch(e){}return t}(),gestures:"ongesturestart"in e}}()),w}const T={on(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed)return r;if("function"!=typeof t)return r;const i=n?"unshift":"push";return e.split(" ").forEach((e=>{r.eventsListeners[e]||(r.eventsListeners[e]=[]),r.eventsListeners[e][i](t)})),r},once(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed)return r;if("function"!=typeof t)return r;function i(...n){r.off(e,i),i.__emitterProxy&&delete i.__emitterProxy,t.apply(r,n)}return i.__emitterProxy=t,r.on(e,i,n)},onAny(e,t){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof e)return n;const r=t?"unshift":"push";return n.eventsAnyListeners.indexOf(e)<0&&n.eventsAnyListeners[r](e),n},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const n=t.eventsAnyListeners.indexOf(e);return n>=0&&t.eventsAnyListeners.splice(n,1),t},off(e,t){const n=this;return!n.eventsListeners||n.destroyed?n:n.eventsListeners?(e.split(" ").forEach((e=>{void 0===t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach(((r,i)=>{(r===t||r.__emitterProxy&&r.__emitterProxy===t)&&n.eventsListeners[e].splice(i,1)}))})),n):n},emit(...e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsListeners)return t;let n,r,i;return"string"==typeof e[0]||Array.isArray(e[0])?(n=e[0],r=e.slice(1,e.length),i=t):(n=e[0].events,r=e[0].data,i=e[0].context||t),r.unshift(i),(Array.isArray(n)?n:n.split(" ")).forEach((e=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach((t=>{t.apply(i,[e,...r])})),t.eventsListeners&&t.eventsListeners[e]&&t.eventsListeners[e].forEach((e=>{e.apply(i,r)}))})),t}},_={updateSize:function(){const e=this;let t,n;const r=e.$el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:r[0].clientWidth,n=void 0!==e.params.height&&null!==e.params.height?e.params.height:r[0].clientHeight,0===t&&e.isHorizontal()||0===n&&e.isVertical()||(t=t-parseInt(r.css("padding-left")||0,10)-parseInt(r.css("padding-right")||0,10),n=n-parseInt(r.css("padding-top")||0,10)-parseInt(r.css("padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(n)&&(n=0),Object.assign(e,{width:t,height:n,size:e.isHorizontal()?t:n}))},updateSlides:function(){const e=this;function t(t){return e.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}function n(e,n){return parseFloat(e.getPropertyValue(t(n))||0)}const r=e.params,{$wrapperEl:i,size:o,rtlTranslate:a,wrongRTL:s}=e,l=e.virtual&&r.virtual.enabled,c=l?e.virtual.slides.length:e.slides.length,u=i.children(`.${e.params.slideClass}`),d=l?e.virtual.slides.length:u.length;let p=[];const h=[],f=[];let m=r.slidesOffsetBefore;"function"==typeof m&&(m=r.slidesOffsetBefore.call(e));let g=r.slidesOffsetAfter;"function"==typeof g&&(g=r.slidesOffsetAfter.call(e));const v=e.snapGrid.length,y=e.slidesGrid.length;let b=r.spaceBetween,C=-m,A=0,E=0;if(void 0===o)return;"string"==typeof b&&b.indexOf("%")>=0&&(b=parseFloat(b.replace("%",""))/100*o),e.virtualSize=-b,a?u.css({marginLeft:"",marginBottom:"",marginTop:""}):u.css({marginRight:"",marginBottom:"",marginTop:""}),r.centeredSlides&&r.cssMode&&(S(e.wrapperEl,"--swiper-centered-offset-before",""),S(e.wrapperEl,"--swiper-centered-offset-after",""));const w=r.grid&&r.grid.rows>1&&e.grid;let x;w&&e.grid.initSlides(d);const I="auto"===r.slidesPerView&&r.breakpoints&&Object.keys(r.breakpoints).filter((e=>void 0!==r.breakpoints[e].slidesPerView)).length>0;for(let i=0;i<d;i+=1){x=0;const a=u.eq(i);if(w&&e.grid.updateSlide(i,a,d,t),"none"!==a.css("display")){if("auto"===r.slidesPerView){I&&(u[i].style[t("width")]="");const o=getComputedStyle(a[0]),s=a[0].style.transform,l=a[0].style.webkitTransform;if(s&&(a[0].style.transform="none"),l&&(a[0].style.webkitTransform="none"),r.roundLengths)x=e.isHorizontal()?a.outerWidth(!0):a.outerHeight(!0);else{const e=n(o,"width"),t=n(o,"padding-left"),r=n(o,"padding-right"),i=n(o,"margin-left"),s=n(o,"margin-right"),l=o.getPropertyValue("box-sizing");if(l&&"border-box"===l)x=e+i+s;else{const{clientWidth:n,offsetWidth:o}=a[0];x=e+t+r+i+s+(o-n)}}s&&(a[0].style.transform=s),l&&(a[0].style.webkitTransform=l),r.roundLengths&&(x=Math.floor(x))}else x=(o-(r.slidesPerView-1)*b)/r.slidesPerView,r.roundLengths&&(x=Math.floor(x)),u[i]&&(u[i].style[t("width")]=`${x}px`);u[i]&&(u[i].swiperSlideSize=x),f.push(x),r.centeredSlides?(C=C+x/2+A/2+b,0===A&&0!==i&&(C=C-o/2-b),0===i&&(C=C-o/2-b),Math.abs(C)<.001&&(C=0),r.roundLengths&&(C=Math.floor(C)),E%r.slidesPerGroup==0&&p.push(C),h.push(C)):(r.roundLengths&&(C=Math.floor(C)),(E-Math.min(e.params.slidesPerGroupSkip,E))%e.params.slidesPerGroup==0&&p.push(C),h.push(C),C=C+x+b),e.virtualSize+=x+b,A=x,E+=1}}if(e.virtualSize=Math.max(e.virtualSize,o)+g,a&&s&&("slide"===r.effect||"coverflow"===r.effect)&&i.css({width:`${e.virtualSize+r.spaceBetween}px`}),r.setWrapperSize&&i.css({[t("width")]:`${e.virtualSize+r.spaceBetween}px`}),w&&e.grid.updateWrapperSize(x,p,t),!r.centeredSlides){const t=[];for(let n=0;n<p.length;n+=1){let i=p[n];r.roundLengths&&(i=Math.floor(i)),p[n]<=e.virtualSize-o&&t.push(i)}p=t,Math.floor(e.virtualSize-o)-Math.floor(p[p.length-1])>1&&p.push(e.virtualSize-o)}if(0===p.length&&(p=[0]),0!==r.spaceBetween){const n=e.isHorizontal()&&a?"marginLeft":t("marginRight");u.filter(((e,t)=>!r.cssMode||t!==u.length-1)).css({[n]:`${b}px`})}if(r.centeredSlides&&r.centeredSlidesBounds){let e=0;f.forEach((t=>{e+=t+(r.spaceBetween?r.spaceBetween:0)})),e-=r.spaceBetween;const t=e-o;p=p.map((e=>e<0?-m:e>t?t+g:e))}if(r.centerInsufficientSlides){let e=0;if(f.forEach((t=>{e+=t+(r.spaceBetween?r.spaceBetween:0)})),e-=r.spaceBetween,e<o){const t=(o-e)/2;p.forEach(((e,n)=>{p[n]=e-t})),h.forEach(((e,n)=>{h[n]=e+t}))}}if(Object.assign(e,{slides:u,snapGrid:p,slidesGrid:h,slidesSizesGrid:f}),r.centeredSlides&&r.cssMode&&!r.centeredSlidesBounds){S(e.wrapperEl,"--swiper-centered-offset-before",-p[0]+"px"),S(e.wrapperEl,"--swiper-centered-offset-after",e.size/2-f[f.length-1]/2+"px");const t=-e.snapGrid[0],n=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+n))}if(d!==c&&e.emit("slidesLengthChange"),p.length!==v&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),h.length!==y&&e.emit("slidesGridLengthChange"),r.watchSlidesProgress&&e.updateSlidesOffset(),!(l||r.cssMode||"slide"!==r.effect&&"fade"!==r.effect)){const t=`${r.containerModifierClass}backface-hidden`,n=e.$el.hasClass(t);d<=r.maxBackfaceHiddenSlides?n||e.$el.addClass(t):n&&e.$el.removeClass(t)}},updateAutoHeight:function(e){const t=this,n=[],r=t.virtual&&t.params.virtual.enabled;let i,o=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const a=e=>r?t.slides.filter((t=>parseInt(t.getAttribute("data-swiper-slide-index"),10)===e))[0]:t.slides.eq(e)[0];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||g([])).each((e=>{n.push(e)}));else for(i=0;i<Math.ceil(t.params.slidesPerView);i+=1){const e=t.activeIndex+i;if(e>t.slides.length&&!r)break;n.push(a(e))}else n.push(a(t.activeIndex));for(i=0;i<n.length;i+=1)if(void 0!==n[i]){const e=n[i].offsetHeight;o=e>o?e:o}(o||0===o)&&t.$wrapperEl.css("height",`${o}px`)},updateSlidesOffset:function(){const e=this,t=e.slides;for(let n=0;n<t.length;n+=1)t[n].swiperSlideOffset=e.isHorizontal()?t[n].offsetLeft:t[n].offsetTop},updateSlidesProgress:function(e=this&&this.translate||0){const t=this,n=t.params,{slides:r,rtlTranslate:i,snapGrid:o}=t;if(0===r.length)return;void 0===r[0].swiperSlideOffset&&t.updateSlidesOffset();let a=-e;i&&(a=e),r.removeClass(n.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(let e=0;e<r.length;e+=1){const s=r[e];let l=s.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(l-=r[0].swiperSlideOffset);const c=(a+(n.centeredSlides?t.minTranslate():0)-l)/(s.swiperSlideSize+n.spaceBetween),u=(a-o[0]+(n.centeredSlides?t.minTranslate():0)-l)/(s.swiperSlideSize+n.spaceBetween),d=-(a-l),p=d+t.slidesSizesGrid[e];(d>=0&&d<t.size-1||p>1&&p<=t.size||d<=0&&p>=t.size)&&(t.visibleSlides.push(s),t.visibleSlidesIndexes.push(e),r.eq(e).addClass(n.slideVisibleClass)),s.progress=i?-c:c,s.originalProgress=i?-u:u}t.visibleSlides=g(t.visibleSlides)},updateProgress:function(e){const t=this;if(void 0===e){const n=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*n||0}const n=t.params,r=t.maxTranslate()-t.minTranslate();let{progress:i,isBeginning:o,isEnd:a}=t;const s=o,l=a;0===r?(i=0,o=!0,a=!0):(i=(e-t.minTranslate())/r,o=i<=0,a=i>=1),Object.assign(t,{progress:i,isBeginning:o,isEnd:a}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),o&&!s&&t.emit("reachBeginning toEdge"),a&&!l&&t.emit("reachEnd toEdge"),(s&&!o||l&&!a)&&t.emit("fromEdge"),t.emit("progress",i)},updateSlidesClasses:function(){const e=this,{slides:t,params:n,$wrapperEl:r,activeIndex:i,realIndex:o}=e,a=e.virtual&&n.virtual.enabled;let s;t.removeClass(`${n.slideActiveClass} ${n.slideNextClass} ${n.slidePrevClass} ${n.slideDuplicateActiveClass} ${n.slideDuplicateNextClass} ${n.slideDuplicatePrevClass}`),s=a?e.$wrapperEl.find(`.${n.slideClass}[data-swiper-slide-index="${i}"]`):t.eq(i),s.addClass(n.slideActiveClass),n.loop&&(s.hasClass(n.slideDuplicateClass)?r.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${o}"]`).addClass(n.slideDuplicateActiveClass):r.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${o}"]`).addClass(n.slideDuplicateActiveClass));let l=s.nextAll(`.${n.slideClass}`).eq(0).addClass(n.slideNextClass);n.loop&&0===l.length&&(l=t.eq(0),l.addClass(n.slideNextClass));let c=s.prevAll(`.${n.slideClass}`).eq(0).addClass(n.slidePrevClass);n.loop&&0===c.length&&(c=t.eq(-1),c.addClass(n.slidePrevClass)),n.loop&&(l.hasClass(n.slideDuplicateClass)?r.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicateNextClass):r.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicateNextClass),c.hasClass(n.slideDuplicateClass)?r.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicatePrevClass):r.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicatePrevClass)),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{slidesGrid:r,snapGrid:i,params:o,activeIndex:a,realIndex:s,snapIndex:l}=t;let c,u=e;if(void 0===u){for(let e=0;e<r.length;e+=1)void 0!==r[e+1]?n>=r[e]&&n<r[e+1]-(r[e+1]-r[e])/2?u=e:n>=r[e]&&n<r[e+1]&&(u=e+1):n>=r[e]&&(u=e);o.normalizeSlideIndex&&(u<0||void 0===u)&&(u=0)}if(i.indexOf(n)>=0)c=i.indexOf(n);else{const e=Math.min(o.slidesPerGroupSkip,u);c=e+Math.floor((u-e)/o.slidesPerGroup)}if(c>=i.length&&(c=i.length-1),u===a)return void(c!==l&&(t.snapIndex=c,t.emit("snapIndexChange")));const d=parseInt(t.slides.eq(u).attr("data-swiper-slide-index")||u,10);Object.assign(t,{snapIndex:c,realIndex:d,previousIndex:a,activeIndex:u}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),s!==d&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")},updateClickedSlide:function(e){const t=this,n=t.params,r=g(e).closest(`.${n.slideClass}`)[0];let i,o=!1;if(r)for(let e=0;e<t.slides.length;e+=1)if(t.slides[e]===r){o=!0,i=e;break}if(!r||!o)return t.clickedSlide=void 0,void(t.clickedIndex=void 0);t.clickedSlide=r,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(g(r).attr("data-swiper-slide-index"),10):t.clickedIndex=i,n.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}};function P({swiper:e,runCallbacks:t,direction:n,step:r}){const{activeIndex:i,previousIndex:o}=e;let a=n;if(a||(a=i>o?"next":i<o?"prev":"reset"),e.emit(`transition${r}`),t&&i!==o){if("reset"===a)return void e.emit(`slideResetTransition${r}`);e.emit(`slideChangeTransition${r}`),"next"===a?e.emit(`slideNextTransition${r}`):e.emit(`slidePrevTransition${r}`)}}const D={slideTo:function(e=0,t=this.params.speed,n=!0,r,i){if("number"!=typeof e&&"string"!=typeof e)throw new Error(`The 'index' argument cannot have type other than 'number' or 'string'. [${typeof e}] given.`);if("string"==typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const o=this;let a=e;a<0&&(a=0);const{params:s,snapGrid:l,slidesGrid:c,previousIndex:u,activeIndex:d,rtlTranslate:p,wrapperEl:h,enabled:f}=o;if(o.animating&&s.preventInteractionOnTransition||!f&&!r&&!i)return!1;const m=Math.min(o.params.slidesPerGroupSkip,a);let g=m+Math.floor((a-m)/o.params.slidesPerGroup);g>=l.length&&(g=l.length-1);const v=-l[g];if(s.normalizeSlideIndex)for(let e=0;e<c.length;e+=1){const t=-Math.floor(100*v),n=Math.floor(100*c[e]),r=Math.floor(100*c[e+1]);void 0!==c[e+1]?t>=n&&t<r-(r-n)/2?a=e:t>=n&&t<r&&(a=e+1):t>=n&&(a=e)}if(o.initialized&&a!==d){if(!o.allowSlideNext&&v<o.translate&&v<o.minTranslate())return!1;if(!o.allowSlidePrev&&v>o.translate&&v>o.maxTranslate()&&(d||0)!==a)return!1}let y;if(a!==(u||0)&&n&&o.emit("beforeSlideChangeStart"),o.updateProgress(v),y=a>d?"next":a<d?"prev":"reset",p&&-v===o.translate||!p&&v===o.translate)return o.updateActiveIndex(a),s.autoHeight&&o.updateAutoHeight(),o.updateSlidesClasses(),"slide"!==s.effect&&o.setTranslate(v),"reset"!==y&&(o.transitionStart(n,y),o.transitionEnd(n,y)),!1;if(s.cssMode){const e=o.isHorizontal(),n=p?v:-v;if(0===t){const t=o.virtual&&o.params.virtual.enabled;t&&(o.wrapperEl.style.scrollSnapType="none",o._immediateVirtual=!0),h[e?"scrollLeft":"scrollTop"]=n,t&&requestAnimationFrame((()=>{o.wrapperEl.style.scrollSnapType="",o._swiperImmediateVirtual=!1}))}else{if(!o.support.smoothScroll)return E({swiper:o,targetPosition:n,side:e?"left":"top"}),!0;h.scrollTo({[e?"left":"top"]:n,behavior:"smooth"})}return!0}return o.setTransition(t),o.setTranslate(v),o.updateActiveIndex(a),o.updateSlidesClasses(),o.emit("beforeTransitionStart",t,r),o.transitionStart(n,y),0===t?o.transitionEnd(n,y):o.animating||(o.animating=!0,o.onSlideToWrapperTransitionEnd||(o.onSlideToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.$wrapperEl[0].removeEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.$wrapperEl[0].removeEventListener("webkitTransitionEnd",o.onSlideToWrapperTransitionEnd),o.onSlideToWrapperTransitionEnd=null,delete o.onSlideToWrapperTransitionEnd,o.transitionEnd(n,y))}),o.$wrapperEl[0].addEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.$wrapperEl[0].addEventListener("webkitTransitionEnd",o.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e=0,t=this.params.speed,n=!0,r){if("string"==typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const i=this;let o=e;return i.params.loop&&(o+=i.loopedSlides),i.slideTo(o,t,n,r)},slideNext:function(e=this.params.speed,t=!0,n){const r=this,{animating:i,enabled:o,params:a}=r;if(!o)return r;let s=a.slidesPerGroup;"auto"===a.slidesPerView&&1===a.slidesPerGroup&&a.slidesPerGroupAuto&&(s=Math.max(r.slidesPerViewDynamic("current",!0),1));const l=r.activeIndex<a.slidesPerGroupSkip?1:s;if(a.loop){if(i&&a.loopPreventsSlide)return!1;r.loopFix(),r._clientLeft=r.$wrapperEl[0].clientLeft}return a.rewind&&r.isEnd?r.slideTo(0,e,t,n):r.slideTo(r.activeIndex+l,e,t,n)},slidePrev:function(e=this.params.speed,t=!0,n){const r=this,{params:i,animating:o,snapGrid:a,slidesGrid:s,rtlTranslate:l,enabled:c}=r;if(!c)return r;if(i.loop){if(o&&i.loopPreventsSlide)return!1;r.loopFix(),r._clientLeft=r.$wrapperEl[0].clientLeft}function u(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const d=u(l?r.translate:-r.translate),p=a.map((e=>u(e)));let h=a[p.indexOf(d)-1];if(void 0===h&&i.cssMode){let e;a.forEach(((t,n)=>{d>=t&&(e=n)})),void 0!==e&&(h=a[e>0?e-1:e])}let f=0;if(void 0!==h&&(f=s.indexOf(h),f<0&&(f=r.activeIndex-1),"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(f=f-r.slidesPerViewDynamic("previous",!0)+1,f=Math.max(f,0))),i.rewind&&r.isBeginning){const i=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(i,e,t,n)}return r.slideTo(f,e,t,n)},slideReset:function(e=this.params.speed,t=!0,n){return this.slideTo(this.activeIndex,e,t,n)},slideToClosest:function(e=this.params.speed,t=!0,n,r=.5){const i=this;let o=i.activeIndex;const a=Math.min(i.params.slidesPerGroupSkip,o),s=a+Math.floor((o-a)/i.params.slidesPerGroup),l=i.rtlTranslate?i.translate:-i.translate;if(l>=i.snapGrid[s]){const e=i.snapGrid[s];l-e>(i.snapGrid[s+1]-e)*r&&(o+=i.params.slidesPerGroup)}else{const e=i.snapGrid[s-1];l-e<=(i.snapGrid[s]-e)*r&&(o-=i.params.slidesPerGroup)}return o=Math.max(o,0),o=Math.min(o,i.slidesGrid.length-1),i.slideTo(o,e,t,n)},slideToClickedSlide:function(){const e=this,{params:t,$wrapperEl:n}=e,r="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let i,o=e.clickedIndex;if(t.loop){if(e.animating)return;i=parseInt(g(e.clickedSlide).attr("data-swiper-slide-index"),10),t.centeredSlides?o<e.loopedSlides-r/2||o>e.slides.length-e.loopedSlides+r/2?(e.loopFix(),o=n.children(`.${t.slideClass}[data-swiper-slide-index="${i}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),v((()=>{e.slideTo(o)}))):e.slideTo(o):o>e.slides.length-r?(e.loopFix(),o=n.children(`.${t.slideClass}[data-swiper-slide-index="${i}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),v((()=>{e.slideTo(o)}))):e.slideTo(o)}else e.slideTo(o)}};function B(e){const t=this,n=a(),r=l(),i=t.touchEventsData,{params:o,touches:s,enabled:c}=t;if(!c)return;if(t.animating&&o.preventInteractionOnTransition)return;!t.animating&&o.cssMode&&o.loop&&t.loopFix();let u=e;u.originalEvent&&(u=u.originalEvent);let d=g(u.target);if("wrapper"===o.touchEventsTarget&&!d.closest(t.wrapperEl).length)return;if(i.isTouchEvent="touchstart"===u.type,!i.isTouchEvent&&"which"in u&&3===u.which)return;if(!i.isTouchEvent&&"button"in u&&u.button>0)return;if(i.isTouched&&i.isMoved)return;const p=!!o.noSwipingClass&&""!==o.noSwipingClass,h=e.composedPath?e.composedPath():e.path;p&&u.target&&u.target.shadowRoot&&h&&(d=g(h[0]));const f=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,m=!(!u.target||!u.target.shadowRoot);if(o.noSwiping&&(m?function(e,t=this){return function t(n){if(!n||n===a()||n===l())return null;n.assignedSlot&&(n=n.assignedSlot);const r=n.closest(e);return r||n.getRootNode?r||t(n.getRootNode().host):null}(t)}(f,d[0]):d.closest(f)[0]))return void(t.allowClick=!0);if(o.swipeHandler&&!d.closest(o.swipeHandler)[0])return;s.currentX="touchstart"===u.type?u.targetTouches[0].pageX:u.pageX,s.currentY="touchstart"===u.type?u.targetTouches[0].pageY:u.pageY;const v=s.currentX,b=s.currentY,C=o.edgeSwipeDetection||o.iOSEdgeSwipeDetection,A=o.edgeSwipeThreshold||o.iOSEdgeSwipeThreshold;if(C&&(v<=A||v>=r.innerWidth-A)){if("prevent"!==C)return;e.preventDefault()}if(Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=v,s.startY=b,i.touchStartTime=y(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,o.threshold>0&&(i.allowThresholdMove=!1),"touchstart"!==u.type){let e=!0;d.is(i.focusableElements)&&(e=!1,"SELECT"===d[0].nodeName&&(i.isTouched=!1)),n.activeElement&&g(n.activeElement).is(i.focusableElements)&&n.activeElement!==d[0]&&n.activeElement.blur();const r=e&&t.allowTouchMove&&o.touchStartPreventDefault;!o.touchStartForcePreventDefault&&!r||d[0].isContentEditable||u.preventDefault()}t.params.freeMode&&t.params.freeMode.enabled&&t.freeMode&&t.animating&&!o.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",u)}function R(e){const t=a(),n=this,r=n.touchEventsData,{params:i,touches:o,rtlTranslate:s,enabled:l}=n;if(!l)return;let c=e;if(c.originalEvent&&(c=c.originalEvent),!r.isTouched)return void(r.startMoving&&r.isScrolling&&n.emit("touchMoveOpposite",c));if(r.isTouchEvent&&"touchmove"!==c.type)return;const u="touchmove"===c.type&&c.targetTouches&&(c.targetTouches[0]||c.changedTouches[0]),d="touchmove"===c.type?u.pageX:c.pageX,p="touchmove"===c.type?u.pageY:c.pageY;if(c.preventedByNestedSwiper)return o.startX=d,void(o.startY=p);if(!n.allowTouchMove)return g(c.target).is(r.focusableElements)||(n.allowClick=!1),void(r.isTouched&&(Object.assign(o,{startX:d,startY:p,currentX:d,currentY:p}),r.touchStartTime=y()));if(r.isTouchEvent&&i.touchReleaseOnEdges&&!i.loop)if(n.isVertical()){if(p<o.startY&&n.translate<=n.maxTranslate()||p>o.startY&&n.translate>=n.minTranslate())return r.isTouched=!1,void(r.isMoved=!1)}else if(d<o.startX&&n.translate<=n.maxTranslate()||d>o.startX&&n.translate>=n.minTranslate())return;if(r.isTouchEvent&&t.activeElement&&c.target===t.activeElement&&g(c.target).is(r.focusableElements))return r.isMoved=!0,void(n.allowClick=!1);if(r.allowTouchCallbacks&&n.emit("touchMove",c),c.targetTouches&&c.targetTouches.length>1)return;o.currentX=d,o.currentY=p;const h=o.currentX-o.startX,f=o.currentY-o.startY;if(n.params.threshold&&Math.sqrt(h**2+f**2)<n.params.threshold)return;if(void 0===r.isScrolling){let e;n.isHorizontal()&&o.currentY===o.startY||n.isVertical()&&o.currentX===o.startX?r.isScrolling=!1:h*h+f*f>=25&&(e=180*Math.atan2(Math.abs(f),Math.abs(h))/Math.PI,r.isScrolling=n.isHorizontal()?e>i.touchAngle:90-e>i.touchAngle)}if(r.isScrolling&&n.emit("touchMoveOpposite",c),void 0===r.startMoving&&(o.currentX===o.startX&&o.currentY===o.startY||(r.startMoving=!0)),r.isScrolling)return void(r.isTouched=!1);if(!r.startMoving)return;n.allowClick=!1,!i.cssMode&&c.cancelable&&c.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&c.stopPropagation(),r.isMoved||(i.loop&&!i.cssMode&&n.loopFix(),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating&&n.$wrapperEl.trigger("webkitTransitionEnd transitionend"),r.allowMomentumBounce=!1,!i.grabCursor||!0!==n.allowSlideNext&&!0!==n.allowSlidePrev||n.setGrabCursor(!0),n.emit("sliderFirstMove",c)),n.emit("sliderMove",c),r.isMoved=!0;let m=n.isHorizontal()?h:f;o.diff=m,m*=i.touchRatio,s&&(m=-m),n.swipeDirection=m>0?"prev":"next",r.currentTranslate=m+r.startTranslate;let v=!0,b=i.resistanceRatio;if(i.touchReleaseOnEdges&&(b=0),m>0&&r.currentTranslate>n.minTranslate()?(v=!1,i.resistance&&(r.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+r.startTranslate+m)**b)):m<0&&r.currentTranslate<n.maxTranslate()&&(v=!1,i.resistance&&(r.currentTranslate=n.maxTranslate()+1-(n.maxTranslate()-r.startTranslate-m)**b)),v&&(c.preventedByNestedSwiper=!0),!n.allowSlideNext&&"next"===n.swipeDirection&&r.currentTranslate<r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&"prev"===n.swipeDirection&&r.currentTranslate>r.startTranslate&&(r.currentTranslate=r.startTranslate),n.allowSlidePrev||n.allowSlideNext||(r.currentTranslate=r.startTranslate),i.threshold>0){if(!(Math.abs(m)>i.threshold||r.allowThresholdMove))return void(r.currentTranslate=r.startTranslate);if(!r.allowThresholdMove)return r.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,r.currentTranslate=r.startTranslate,void(o.diff=n.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY)}i.followFinger&&!i.cssMode&&((i.freeMode&&i.freeMode.enabled&&n.freeMode||i.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),n.params.freeMode&&i.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}function M(e){const t=this,n=t.touchEventsData,{params:r,touches:i,rtlTranslate:o,slidesGrid:a,enabled:s}=t;if(!s)return;let l=e;if(l.originalEvent&&(l=l.originalEvent),n.allowTouchCallbacks&&t.emit("touchEnd",l),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&r.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);r.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const c=y(),u=c-n.touchStartTime;if(t.allowClick){const e=l.path||l.composedPath&&l.composedPath();t.updateClickedSlide(e&&e[0]||l.target),t.emit("tap click",l),u<300&&c-n.lastClickTime<300&&t.emit("doubleTap doubleClick",l)}if(n.lastClickTime=y(),v((()=>{t.destroyed||(t.allowClick=!0)})),!n.isTouched||!n.isMoved||!t.swipeDirection||0===i.diff||n.currentTranslate===n.startTranslate)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);let d;if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,d=r.followFinger?o?t.translate:-t.translate:-n.currentTranslate,r.cssMode)return;if(t.params.freeMode&&r.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:d});let p=0,h=t.slidesSizesGrid[0];for(let e=0;e<a.length;e+=e<r.slidesPerGroupSkip?1:r.slidesPerGroup){const t=e<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;void 0!==a[e+t]?d>=a[e]&&d<a[e+t]&&(p=e,h=a[e+t]-a[e]):d>=a[e]&&(p=e,h=a[a.length-1]-a[a.length-2])}let f=null,m=null;r.rewind&&(t.isBeginning?m=t.params.virtual&&t.params.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(f=0));const g=(d-a[p])/h,b=p<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;if(u>r.longSwipesMs){if(!r.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(g>=r.longSwipesRatio?t.slideTo(r.rewind&&t.isEnd?f:p+b):t.slideTo(p)),"prev"===t.swipeDirection&&(g>1-r.longSwipesRatio?t.slideTo(p+b):null!==m&&g<0&&Math.abs(g)>r.longSwipesRatio?t.slideTo(m):t.slideTo(p))}else{if(!r.shortSwipes)return void t.slideTo(t.activeIndex);!t.navigation||l.target!==t.navigation.nextEl&&l.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(null!==f?f:p+b),"prev"===t.swipeDirection&&t.slideTo(null!==m?m:p)):l.target===t.navigation.nextEl?t.slideTo(p+b):t.slideTo(p)}}function L(){const e=this,{params:t,el:n}=e;if(n&&0===n.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:r,allowSlidePrev:i,snapGrid:o}=e;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=i,e.allowSlideNext=r,e.params.watchOverflow&&o!==e.snapGrid&&e.checkOverflow()}function O(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function F(){const e=this,{wrapperEl:t,rtlTranslate:n,enabled:r}=e;if(!r)return;let i;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const o=e.maxTranslate()-e.minTranslate();i=0===o?0:(e.translate-e.minTranslate())/o,i!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}let N=!1;function H(){}const z=(e,t)=>{const n=a(),{params:r,touchEvents:i,el:o,wrapperEl:s,device:l,support:c}=e,u=!!r.nested,d="on"===t?"addEventListener":"removeEventListener",p=t;if(c.touch){const t=!("touchstart"!==i.start||!c.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1};o[d](i.start,e.onTouchStart,t),o[d](i.move,e.onTouchMove,c.passiveListener?{passive:!1,capture:u}:u),o[d](i.end,e.onTouchEnd,t),i.cancel&&o[d](i.cancel,e.onTouchEnd,t)}else o[d](i.start,e.onTouchStart,!1),n[d](i.move,e.onTouchMove,u),n[d](i.end,e.onTouchEnd,!1);(r.preventClicks||r.preventClicksPropagation)&&o[d]("click",e.onClick,!0),r.cssMode&&s[d]("scroll",e.onScroll),r.updateOnWindowResize?e[p](l.ios||l.android?"resize orientationchange observerUpdate":"resize observerUpdate",L,!0):e[p]("observerUpdate",L,!0)},V={attachEvents:function(){const e=this,t=a(),{params:n,support:r}=e;e.onTouchStart=B.bind(e),e.onTouchMove=R.bind(e),e.onTouchEnd=M.bind(e),n.cssMode&&(e.onScroll=F.bind(e)),e.onClick=O.bind(e),r.touch&&!N&&(t.addEventListener("touchstart",H),N=!0),z(e,"on")},detachEvents:function(){z(this,"off")}},U=(e,t)=>e.grid&&t.grid&&t.grid.rows>1,j={addClasses:function(){const e=this,{classNames:t,params:n,rtl:r,$el:i,device:o,support:a}=e,s=function(e,t){const n=[];return e.forEach((e=>{"object"==typeof e?Object.keys(e).forEach((r=>{e[r]&&n.push(t+r)})):"string"==typeof e&&n.push(t+e)})),n}(["initialized",n.direction,{"pointer-events":!a.touch},{"free-mode":e.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:r},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&"column"===n.grid.fill},{android:o.android},{ios:o.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);t.push(...s),i.addClass([...t].join(" ")),e.emitContainerClasses()},removeClasses:function(){const{$el:e,classNames:t}=this;e.removeClass(t.join(" ")),this.emitContainerClasses()}},W={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopedSlidesLimit:!0,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1};function $(e,t){return function(n={}){const r=Object.keys(n)[0],i=n[r];"object"==typeof i&&null!==i?(["navigation","pagination","scrollbar"].indexOf(r)>=0&&!0===e[r]&&(e[r]={auto:!0}),r in e&&"enabled"in i?(!0===e[r]&&(e[r]={enabled:!0}),"object"!=typeof e[r]||"enabled"in e[r]||(e[r].enabled=!0),e[r]||(e[r]={enabled:!1}),A(t,n)):A(t,n)):A(t,n)}}const q={eventsEmitter:T,update:_,translate:{getTranslate:function(e=(this.isHorizontal()?"x":"y")){const{params:t,rtlTranslate:n,translate:r,$wrapperEl:i}=this;if(t.virtualTranslate)return n?-r:r;if(t.cssMode)return r;let o=b(i[0],e);return n&&(o=-o),o||0},setTranslate:function(e,t){const n=this,{rtlTranslate:r,params:i,$wrapperEl:o,wrapperEl:a,progress:s}=n;let l,c=0,u=0;n.isHorizontal()?c=r?-e:e:u=e,i.roundLengths&&(c=Math.floor(c),u=Math.floor(u)),i.cssMode?a[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-c:-u:i.virtualTranslate||o.transform(`translate3d(${c}px, ${u}px, 0px)`),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?c:u;const d=n.maxTranslate()-n.minTranslate();l=0===d?0:(e-n.minTranslate())/d,l!==s&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e=0,t=this.params.speed,n=!0,r=!0,i){const o=this,{params:a,wrapperEl:s}=o;if(o.animating&&a.preventInteractionOnTransition)return!1;const l=o.minTranslate(),c=o.maxTranslate();let u;if(u=r&&e>l?l:r&&e<c?c:e,o.updateProgress(u),a.cssMode){const e=o.isHorizontal();if(0===t)s[e?"scrollLeft":"scrollTop"]=-u;else{if(!o.support.smoothScroll)return E({swiper:o,targetPosition:-u,side:e?"left":"top"}),!0;s.scrollTo({[e?"left":"top"]:-u,behavior:"smooth"})}return!0}return 0===t?(o.setTransition(0),o.setTranslate(u),n&&(o.emit("beforeTransitionStart",t,i),o.emit("transitionEnd"))):(o.setTransition(t),o.setTranslate(u),n&&(o.emit("beforeTransitionStart",t,i),o.emit("transitionStart")),o.animating||(o.animating=!0,o.onTranslateToWrapperTransitionEnd||(o.onTranslateToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.$wrapperEl[0].removeEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.$wrapperEl[0].removeEventListener("webkitTransitionEnd",o.onTranslateToWrapperTransitionEnd),o.onTranslateToWrapperTransitionEnd=null,delete o.onTranslateToWrapperTransitionEnd,n&&o.emit("transitionEnd"))}),o.$wrapperEl[0].addEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.$wrapperEl[0].addEventListener("webkitTransitionEnd",o.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function(e,t){const n=this;n.params.cssMode||n.$wrapperEl.transition(e),n.emit("setTransition",e,t)},transitionStart:function(e=!0,t){const n=this,{params:r}=n;r.cssMode||(r.autoHeight&&n.updateAutoHeight(),P({swiper:n,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e=!0,t){const n=this,{params:r}=n;n.animating=!1,r.cssMode||(n.setTransition(0),P({swiper:n,runCallbacks:e,direction:t,step:"End"}))}},slide:D,loop:{loopCreate:function(){const e=this,t=a(),{params:n,$wrapperEl:r}=e,i=r.children().length>0?g(r.children()[0].parentNode):r;i.children(`.${n.slideClass}.${n.slideDuplicateClass}`).remove();let o=i.children(`.${n.slideClass}`);if(n.loopFillGroupWithBlank){const e=n.slidesPerGroup-o.length%n.slidesPerGroup;if(e!==n.slidesPerGroup){for(let r=0;r<e;r+=1){const e=g(t.createElement("div")).addClass(`${n.slideClass} ${n.slideBlankClass}`);i.append(e)}o=i.children(`.${n.slideClass}`)}}"auto"!==n.slidesPerView||n.loopedSlides||(n.loopedSlides=o.length),e.loopedSlides=Math.ceil(parseFloat(n.loopedSlides||n.slidesPerView,10)),e.loopedSlides+=n.loopAdditionalSlides,e.loopedSlides>o.length&&e.params.loopedSlidesLimit&&(e.loopedSlides=o.length);const s=[],l=[];o.each(((e,t)=>{g(e).attr("data-swiper-slide-index",t)}));for(let t=0;t<e.loopedSlides;t+=1){const e=t-Math.floor(t/o.length)*o.length;l.push(o.eq(e)[0]),s.unshift(o.eq(o.length-e-1)[0])}for(let e=0;e<l.length;e+=1)i.append(g(l[e].cloneNode(!0)).addClass(n.slideDuplicateClass));for(let e=s.length-1;e>=0;e-=1)i.prepend(g(s[e].cloneNode(!0)).addClass(n.slideDuplicateClass))},loopFix:function(){const e=this;e.emit("beforeLoopFix");const{activeIndex:t,slides:n,loopedSlides:r,allowSlidePrev:i,allowSlideNext:o,snapGrid:a,rtlTranslate:s}=e;let l;e.allowSlidePrev=!0,e.allowSlideNext=!0;const c=-a[t]-e.getTranslate();t<r?(l=n.length-3*r+t,l+=r,e.slideTo(l,0,!1,!0)&&0!==c&&e.setTranslate((s?-e.translate:e.translate)-c)):t>=n.length-r&&(l=-n.length+t+r,l+=r,e.slideTo(l,0,!1,!0)&&0!==c&&e.setTranslate((s?-e.translate:e.translate)-c)),e.allowSlidePrev=i,e.allowSlideNext=o,e.emit("loopFix")},loopDestroy:function(){const{$wrapperEl:e,params:t,slides:n}=this;e.children(`.${t.slideClass}.${t.slideDuplicateClass},.${t.slideClass}.${t.slideBlankClass}`).remove(),n.removeAttr("data-swiper-slide-index")}},grabCursor:{setGrabCursor:function(e){const t=this;if(t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;n.style.cursor="move",n.style.cursor=e?"grabbing":"grab"},unsetGrabCursor:function(){const e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="")}},events:V,breakpoints:{setBreakpoint:function(){const e=this,{activeIndex:t,initialized:n,loopedSlides:r=0,params:i,$el:o}=e,a=i.breakpoints;if(!a||a&&0===Object.keys(a).length)return;const s=e.getBreakpoint(a,e.params.breakpointsBase,e.el);if(!s||e.currentBreakpoint===s)return;const l=(s in a?a[s]:void 0)||e.originalParams,c=U(e,i),u=U(e,l),d=i.enabled;c&&!u?(o.removeClass(`${i.containerModifierClass}grid ${i.containerModifierClass}grid-column`),e.emitContainerClasses()):!c&&u&&(o.addClass(`${i.containerModifierClass}grid`),(l.grid.fill&&"column"===l.grid.fill||!l.grid.fill&&"column"===i.grid.fill)&&o.addClass(`${i.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach((t=>{const n=i[t]&&i[t].enabled,r=l[t]&&l[t].enabled;n&&!r&&e[t].disable(),!n&&r&&e[t].enable()}));const p=l.direction&&l.direction!==i.direction,h=i.loop&&(l.slidesPerView!==i.slidesPerView||p);p&&n&&e.changeDirection(),A(e.params,l);const f=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),d&&!f?e.disable():!d&&f&&e.enable(),e.currentBreakpoint=s,e.emit("_beforeBreakpoint",l),h&&n&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-r+e.loopedSlides,0,!1)),e.emit("breakpoint",l)},getBreakpoint:function(e,t="window",n){if(!e||"container"===t&&!n)return;let r=!1;const i=l(),o="window"===t?i.innerHeight:n.clientHeight,a=Object.keys(e).map((e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:o*t,point:e}}return{value:e,point:e}}));a.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let e=0;e<a.length;e+=1){const{point:o,value:s}=a[e];"window"===t?i.matchMedia(`(min-width: ${s}px)`).matches&&(r=o):s<=n.clientWidth&&(r=o)}return r||"max"}},checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:r}=n;if(r){const t=e.slides.length-1,n=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*r;e.isLocked=e.size>n}else e.isLocked=1===e.snapGrid.length;!0===n.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===n.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:j,images:{loadImage:function(e,t,n,r,i,o){const a=l();let s;function c(){o&&o()}g(e).parent("picture")[0]||e.complete&&i?c():t?(s=new a.Image,s.onload=c,s.onerror=c,r&&(s.sizes=r),n&&(s.srcset=n),t&&(s.src=t)):c()},preloadImages:function(){const e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(let n=0;n<e.imagesToLoad.length;n+=1){const r=e.imagesToLoad[n];e.loadImage(r,r.currentSrc||r.getAttribute("src"),r.srcset||r.getAttribute("srcset"),r.sizes||r.getAttribute("sizes"),!0,t)}}}},G={};class K{constructor(...e){let t,n;if(1===e.length&&e[0].constructor&&"Object"===Object.prototype.toString.call(e[0]).slice(8,-1)?n=e[0]:[t,n]=e,n||(n={}),n=A({},n),t&&!n.el&&(n.el=t),n.el&&g(n.el).length>1){const e=[];return g(n.el).each((t=>{const r=A({},n,{el:t});e.push(new K(r))})),e}const r=this;r.__swiper__=!0,r.support=k(),r.device=function(e={}){return x||(x=function({userAgent:e}={}){const t=k(),n=l(),r=n.navigator.platform,i=e||n.navigator.userAgent,o={ios:!1,android:!1},a=n.screen.width,s=n.screen.height,c=i.match(/(Android);?[\s\/]+([\d.]+)?/);let u=i.match(/(iPad).*OS\s([\d_]+)/);const d=i.match(/(iPod)(.*OS\s([\d_]+))?/),p=!u&&i.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h="Win32"===r;let f="MacIntel"===r;return!u&&f&&t.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${a}x${s}`)>=0&&(u=i.match(/(Version)\/([\d.]+)/),u||(u=[0,1,"13_0_0"]),f=!1),c&&!h&&(o.os="android",o.android=!0),(u||p||d)&&(o.os="ios",o.ios=!0),o}(e)),x}({userAgent:n.userAgent}),r.browser=(I||(I=function(){const e=l();return{isSafari:function(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),I),r.eventsListeners={},r.eventsAnyListeners=[],r.modules=[...r.__modules__],n.modules&&Array.isArray(n.modules)&&r.modules.push(...n.modules);const i={};r.modules.forEach((e=>{e({swiper:r,extendParams:$(n,i),on:r.on.bind(r),once:r.once.bind(r),off:r.off.bind(r),emit:r.emit.bind(r)})}));const o=A({},W,i);return r.params=A({},o,G,n),r.originalParams=A({},r.params),r.passedParams=A({},n),r.params&&r.params.on&&Object.keys(r.params.on).forEach((e=>{r.on(e,r.params.on[e])})),r.params&&r.params.onAny&&r.onAny(r.params.onAny),r.$=g,Object.assign(r,{enabled:r.params.enabled,el:t,classNames:[],slides:g(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===r.params.direction,isVertical:()=>"vertical"===r.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:r.params.allowSlideNext,allowSlidePrev:r.params.allowSlidePrev,touchEvents:function(){const e=["touchstart","touchmove","touchend","touchcancel"],t=["pointerdown","pointermove","pointerup"];return r.touchEventsTouch={start:e[0],move:e[1],end:e[2],cancel:e[3]},r.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},r.support.touch||!r.params.simulateTouch?r.touchEventsTouch:r.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:r.params.focusableElements,lastClickTime:y(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:r.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),r.emit("_swiper"),r.params.init&&r.init(),r}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const n=this;e=Math.min(Math.max(e,0),1);const r=n.minTranslate(),i=(n.maxTranslate()-r)*e+r;n.translateTo(i,void 0===t?0:t),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.each((n=>{const r=e.getSlideClasses(n);t.push({slideEl:n,classNames:r}),e.emit("_slideClass",n,r)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e="current",t=!1){const{params:n,slides:r,slidesGrid:i,slidesSizesGrid:o,size:a,activeIndex:s}=this;let l=1;if(n.centeredSlides){let e,t=r[s].swiperSlideSize;for(let n=s+1;n<r.length;n+=1)r[n]&&!e&&(t+=r[n].swiperSlideSize,l+=1,t>a&&(e=!0));for(let n=s-1;n>=0;n-=1)r[n]&&!e&&(t+=r[n].swiperSlideSize,l+=1,t>a&&(e=!0))}else if("current"===e)for(let e=s+1;e<r.length;e+=1)(t?i[e]+o[e]-i[s]<a:i[e]-i[s]<a)&&(l+=1);else for(let e=s-1;e>=0;e-=1)i[s]-i[e]<a&&(l+=1);return l}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:n}=e;function r(){const t=e.rtlTranslate?-1*e.translate:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}let i;n.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode&&e.params.freeMode.enabled?(r(),e.params.autoHeight&&e.updateAutoHeight()):(i=("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),i||r()),n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t=!0){const n=this,r=n.params.direction;return e||(e="horizontal"===r?"vertical":"horizontal"),e===r||"horizontal"!==e&&"vertical"!==e||(n.$el.removeClass(`${n.params.containerModifierClass}${r}`).addClass(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.each((t=>{"vertical"===e?t.style.width="":t.style.height=""})),n.emit("changeDirection"),t&&n.update()),n}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.$el.addClass(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.$el.removeClass(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;const n=g(e||t.params.el);if(!(e=n[0]))return!1;e.swiper=t;const r=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let i=(()=>{if(e&&e.shadowRoot&&e.shadowRoot.querySelector){const t=g(e.shadowRoot.querySelector(r()));return t.children=e=>n.children(e),t}return n.children?n.children(r()):g(n).children(r())})();if(0===i.length&&t.params.createElements){const e=a().createElement("div");i=g(e),e.className=t.params.wrapperClass,n.append(e),n.children(`.${t.params.slideClass}`).each((e=>{i.append(e)}))}return Object.assign(t,{$el:n,el:e,$wrapperEl:i,wrapperEl:i[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===n.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===n.css("direction")),wrongRTL:"-webkit-box"===i.css("display")}),!0}init(e){const t=this;return t.initialized||!1===t.mount(e)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t}destroy(e=!0,t=!0){const n=this,{params:r,$el:i,$wrapperEl:o,slides:a}=n;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),r.loop&&n.loopDestroy(),t&&(n.removeClasses(),i.removeAttr("style"),o.removeAttr("style"),a&&a.length&&a.removeClass([r.slideVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),n.emit("destroy"),Object.keys(n.eventsListeners).forEach((e=>{n.off(e)})),!1!==e&&(n.$el[0].swiper=null,function(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}(n)),n.destroyed=!0),null}static extendDefaults(e){A(G,e)}static get extendedDefaults(){return G}static get defaults(){return W}static installModule(e){K.prototype.__modules__||(K.prototype.__modules__=[]);const t=K.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>K.installModule(e))),K):(K.installModule(e),K)}}Object.keys(q).forEach((e=>{Object.keys(q[e]).forEach((t=>{K.prototype[t]=q[e][t]}))})),K.use([function({swiper:e,on:t,emit:n}){const r=l();let i=null,o=null;const a=()=>{e&&!e.destroyed&&e.initialized&&(n("beforeResize"),n("resize"))},s=()=>{e&&!e.destroyed&&e.initialized&&n("orientationchange")};t("init",(()=>{e.params.resizeObserver&&void 0!==r.ResizeObserver?e&&!e.destroyed&&e.initialized&&(i=new ResizeObserver((t=>{o=r.requestAnimationFrame((()=>{const{width:n,height:r}=e;let i=n,o=r;t.forEach((({contentBoxSize:t,contentRect:n,target:r})=>{r&&r!==e.el||(i=n?n.width:(t[0]||t).inlineSize,o=n?n.height:(t[0]||t).blockSize)})),i===n&&o===r||a()}))})),i.observe(e.el)):(r.addEventListener("resize",a),r.addEventListener("orientationchange",s))})),t("destroy",(()=>{o&&r.cancelAnimationFrame(o),i&&i.unobserve&&e.el&&(i.unobserve(e.el),i=null),r.removeEventListener("resize",a),r.removeEventListener("orientationchange",s)}))},function({swiper:e,extendParams:t,on:n,emit:r}){const i=[],o=l(),a=(e,t={})=>{const n=new(o.MutationObserver||o.WebkitMutationObserver)((e=>{if(1===e.length)return void r("observerUpdate",e[0]);const t=function(){r("observerUpdate",e[0])};o.requestAnimationFrame?o.requestAnimationFrame(t):o.setTimeout(t,0)}));n.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),i.push(n)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",(()=>{if(e.params.observer){if(e.params.observeParents){const t=e.$el.parents();for(let e=0;e<t.length;e+=1)a(t[e])}a(e.$el[0],{childList:e.params.observeSlideChildren}),a(e.$wrapperEl[0],{attributes:!1})}})),n("destroy",(()=>{i.forEach((e=>{e.disconnect()})),i.splice(0,i.length)}))}]);const Y=K;function X({swiper:e,extendParams:t,on:n,emit:r}){let i;function o(t,n){const r=e.params.virtual;if(r.cache&&e.virtual.cache[n])return e.virtual.cache[n];const i=r.renderSlide?g(r.renderSlide.call(e,t,n)):g(`<div class="${e.params.slideClass}" data-swiper-slide-index="${n}">${t}</div>`);return i.attr("data-swiper-slide-index")||i.attr("data-swiper-slide-index",n),r.cache&&(e.virtual.cache[n]=i),i}function a(t){const{slidesPerView:n,slidesPerGroup:i,centeredSlides:a}=e.params,{addSlidesBefore:s,addSlidesAfter:l}=e.params.virtual,{from:c,to:u,slides:d,slidesGrid:p,offset:h}=e.virtual;e.params.cssMode||e.updateActiveIndex();const f=e.activeIndex||0;let m,g,v;m=e.rtlTranslate?"right":e.isHorizontal()?"left":"top",a?(g=Math.floor(n/2)+i+l,v=Math.floor(n/2)+i+s):(g=n+(i-1)+l,v=i+s);const y=Math.max((f||0)-v,0),b=Math.min((f||0)+g,d.length-1),C=(e.slidesGrid[y]||0)-(e.slidesGrid[0]||0);function A(){e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.lazy&&e.params.lazy.enabled&&e.lazy.load(),r("virtualUpdate")}if(Object.assign(e.virtual,{from:y,to:b,offset:C,slidesGrid:e.slidesGrid}),c===y&&u===b&&!t)return e.slidesGrid!==p&&C!==h&&e.slides.css(m,`${C}px`),e.updateProgress(),void r("virtualUpdate");if(e.params.virtual.renderExternal)return e.params.virtual.renderExternal.call(e,{offset:C,from:y,to:b,slides:function(){const e=[];for(let t=y;t<=b;t+=1)e.push(d[t]);return e}()}),void(e.params.virtual.renderExternalUpdate?A():r("virtualUpdate"));const S=[],E=[];if(t)e.$wrapperEl.find(`.${e.params.slideClass}`).remove();else for(let t=c;t<=u;t+=1)(t<y||t>b)&&e.$wrapperEl.find(`.${e.params.slideClass}[data-swiper-slide-index="${t}"]`).remove();for(let e=0;e<d.length;e+=1)e>=y&&e<=b&&(void 0===u||t?E.push(e):(e>u&&E.push(e),e<c&&S.push(e)));E.forEach((t=>{e.$wrapperEl.append(o(d[t],t))})),S.sort(((e,t)=>t-e)).forEach((t=>{e.$wrapperEl.prepend(o(d[t],t))})),e.$wrapperEl.children(".swiper-slide").css(m,`${C}px`),A()}t({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}}),e.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]},n("beforeInit",(()=>{e.params.virtual.enabled&&(e.virtual.slides=e.params.virtual.slides,e.classNames.push(`${e.params.containerModifierClass}virtual`),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0,e.params.initialSlide||a())})),n("setTranslate",(()=>{e.params.virtual.enabled&&(e.params.cssMode&&!e._immediateVirtual?(clearTimeout(i),i=setTimeout((()=>{a()}),100)):a())})),n("init update resize",(()=>{e.params.virtual.enabled&&e.params.cssMode&&S(e.wrapperEl,"--swiper-virtual-size",`${e.virtualSize}px`)})),Object.assign(e.virtual,{appendSlide:function(t){if("object"==typeof t&&"length"in t)for(let n=0;n<t.length;n+=1)t[n]&&e.virtual.slides.push(t[n]);else e.virtual.slides.push(t);a(!0)},prependSlide:function(t){const n=e.activeIndex;let r=n+1,i=1;if(Array.isArray(t)){for(let n=0;n<t.length;n+=1)t[n]&&e.virtual.slides.unshift(t[n]);r=n+t.length,i=t.length}else e.virtual.slides.unshift(t);if(e.params.virtual.cache){const t=e.virtual.cache,n={};Object.keys(t).forEach((e=>{const r=t[e],o=r.attr("data-swiper-slide-index");o&&r.attr("data-swiper-slide-index",parseInt(o,10)+i),n[parseInt(e,10)+i]=r})),e.virtual.cache=n}a(!0),e.slideTo(r,0)},removeSlide:function(t){if(null==t)return;let n=e.activeIndex;if(Array.isArray(t))for(let r=t.length-1;r>=0;r-=1)e.virtual.slides.splice(t[r],1),e.params.virtual.cache&&delete e.virtual.cache[t[r]],t[r]<n&&(n-=1),n=Math.max(n,0);else e.virtual.slides.splice(t,1),e.params.virtual.cache&&delete e.virtual.cache[t],t<n&&(n-=1),n=Math.max(n,0);a(!0),e.slideTo(n,0)},removeAllSlides:function(){e.virtual.slides=[],e.params.virtual.cache&&(e.virtual.cache={}),a(!0),e.slideTo(0,0)},update:a})}function Z({swiper:e,extendParams:t,on:n,emit:r}){const i=a(),o=l();function s(t){if(!e.enabled)return;const{rtlTranslate:n}=e;let a=t;a.originalEvent&&(a=a.originalEvent);const s=a.keyCode||a.charCode,l=e.params.keyboard.pageUpDown,c=l&&33===s,u=l&&34===s,d=37===s,p=39===s,h=38===s,f=40===s;if(!e.allowSlideNext&&(e.isHorizontal()&&p||e.isVertical()&&f||u))return!1;if(!e.allowSlidePrev&&(e.isHorizontal()&&d||e.isVertical()&&h||c))return!1;if(!(a.shiftKey||a.altKey||a.ctrlKey||a.metaKey||i.activeElement&&i.activeElement.nodeName&&("input"===i.activeElement.nodeName.toLowerCase()||"textarea"===i.activeElement.nodeName.toLowerCase()))){if(e.params.keyboard.onlyInViewport&&(c||u||d||p||h||f)){let t=!1;if(e.$el.parents(`.${e.params.slideClass}`).length>0&&0===e.$el.parents(`.${e.params.slideActiveClass}`).length)return;const r=e.$el,i=r[0].clientWidth,a=r[0].clientHeight,s=o.innerWidth,l=o.innerHeight,c=e.$el.offset();n&&(c.left-=e.$el[0].scrollLeft);const u=[[c.left,c.top],[c.left+i,c.top],[c.left,c.top+a],[c.left+i,c.top+a]];for(let e=0;e<u.length;e+=1){const n=u[e];if(n[0]>=0&&n[0]<=s&&n[1]>=0&&n[1]<=l){if(0===n[0]&&0===n[1])continue;t=!0}}if(!t)return}e.isHorizontal()?((c||u||d||p)&&(a.preventDefault?a.preventDefault():a.returnValue=!1),((u||p)&&!n||(c||d)&&n)&&e.slideNext(),((c||d)&&!n||(u||p)&&n)&&e.slidePrev()):((c||u||h||f)&&(a.preventDefault?a.preventDefault():a.returnValue=!1),(u||f)&&e.slideNext(),(c||h)&&e.slidePrev()),r("keyPress",s)}}function c(){e.keyboard.enabled||(g(i).on("keydown",s),e.keyboard.enabled=!0)}function u(){e.keyboard.enabled&&(g(i).off("keydown",s),e.keyboard.enabled=!1)}e.keyboard={enabled:!1},t({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),n("init",(()=>{e.params.keyboard.enabled&&c()})),n("destroy",(()=>{e.keyboard.enabled&&u()})),Object.assign(e.keyboard,{enable:c,disable:u})}function J({swiper:e,extendParams:t,on:n,emit:r}){const i=l();let o;t({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null}}),e.mousewheel={enabled:!1};let a,s=y();const c=[];function u(){e.enabled&&(e.mouseEntered=!0)}function d(){e.enabled&&(e.mouseEntered=!1)}function p(t){return!(e.params.mousewheel.thresholdDelta&&t.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&y()-s<e.params.mousewheel.thresholdTime||!(t.delta>=6&&y()-s<60)&&(t.direction<0?e.isEnd&&!e.params.loop||e.animating||(e.slideNext(),r("scroll",t.raw)):e.isBeginning&&!e.params.loop||e.animating||(e.slidePrev(),r("scroll",t.raw)),s=(new i.Date).getTime(),1))}function h(t){let n=t,i=!0;if(!e.enabled)return;const s=e.params.mousewheel;e.params.cssMode&&n.preventDefault();let l=e.$el;if("container"!==e.params.mousewheel.eventsTarget&&(l=g(e.params.mousewheel.eventsTarget)),!e.mouseEntered&&!l[0].contains(n.target)&&!s.releaseOnEdges)return!0;n.originalEvent&&(n=n.originalEvent);let u=0;const d=e.rtlTranslate?-1:1,h=function(e){let t=0,n=0,r=0,i=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),r=10*t,i=10*n,"deltaY"in e&&(i=e.deltaY),"deltaX"in e&&(r=e.deltaX),e.shiftKey&&!r&&(r=i,i=0),(r||i)&&e.deltaMode&&(1===e.deltaMode?(r*=40,i*=40):(r*=800,i*=800)),r&&!t&&(t=r<1?-1:1),i&&!n&&(n=i<1?-1:1),{spinX:t,spinY:n,pixelX:r,pixelY:i}}(n);if(s.forceToAxis)if(e.isHorizontal()){if(!(Math.abs(h.pixelX)>Math.abs(h.pixelY)))return!0;u=-h.pixelX*d}else{if(!(Math.abs(h.pixelY)>Math.abs(h.pixelX)))return!0;u=-h.pixelY}else u=Math.abs(h.pixelX)>Math.abs(h.pixelY)?-h.pixelX*d:-h.pixelY;if(0===u)return!0;s.invert&&(u=-u);let f=e.getTranslate()+u*s.sensitivity;if(f>=e.minTranslate()&&(f=e.minTranslate()),f<=e.maxTranslate()&&(f=e.maxTranslate()),i=!!e.params.loop||!(f===e.minTranslate()||f===e.maxTranslate()),i&&e.params.nested&&n.stopPropagation(),e.params.freeMode&&e.params.freeMode.enabled){const t={time:y(),delta:Math.abs(u),direction:Math.sign(u)},i=a&&t.time<a.time+500&&t.delta<=a.delta&&t.direction===a.direction;if(!i){a=void 0,e.params.loop&&e.loopFix();let l=e.getTranslate()+u*s.sensitivity;const d=e.isBeginning,p=e.isEnd;if(l>=e.minTranslate()&&(l=e.minTranslate()),l<=e.maxTranslate()&&(l=e.maxTranslate()),e.setTransition(0),e.setTranslate(l),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!d&&e.isBeginning||!p&&e.isEnd)&&e.updateSlidesClasses(),e.params.freeMode.sticky){clearTimeout(o),o=void 0,c.length>=15&&c.shift();const n=c.length?c[c.length-1]:void 0,r=c[0];if(c.push(t),n&&(t.delta>n.delta||t.direction!==n.direction))c.splice(0);else if(c.length>=15&&t.time-r.time<500&&r.delta-t.delta>=1&&t.delta<=6){const n=u>0?.8:.2;a=t,c.splice(0),o=v((()=>{e.slideToClosest(e.params.speed,!0,void 0,n)}),0)}o||(o=v((()=>{a=t,c.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)}),500))}if(i||r("scroll",n),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),l===e.minTranslate()||l===e.maxTranslate())return!0}}else{const n={time:y(),delta:Math.abs(u),direction:Math.sign(u),raw:t};c.length>=2&&c.shift();const r=c.length?c[c.length-1]:void 0;if(c.push(n),r?(n.direction!==r.direction||n.delta>r.delta||n.time>r.time+150)&&p(n):p(n),function(t){const n=e.params.mousewheel;if(t.direction<0){if(e.isEnd&&!e.params.loop&&n.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&n.releaseOnEdges)return!0;return!1}(n))return!0}return n.preventDefault?n.preventDefault():n.returnValue=!1,!1}function f(t){let n=e.$el;"container"!==e.params.mousewheel.eventsTarget&&(n=g(e.params.mousewheel.eventsTarget)),n[t]("mouseenter",u),n[t]("mouseleave",d),n[t]("wheel",h)}function m(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",h),!0):!e.mousewheel.enabled&&(f("on"),e.mousewheel.enabled=!0,!0)}function b(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,h),!0):!!e.mousewheel.enabled&&(f("off"),e.mousewheel.enabled=!1,!0)}n("init",(()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&b(),e.params.mousewheel.enabled&&m()})),n("destroy",(()=>{e.params.cssMode&&m(),e.mousewheel.enabled&&b()})),Object.assign(e.mousewheel,{enable:m,disable:b})}function Q(e,t,n,r){const i=a();return e.params.createElements&&Object.keys(r).forEach((o=>{if(!n[o]&&!0===n.auto){let a=e.$el.children(`.${r[o]}`)[0];a||(a=i.createElement("div"),a.className=r[o],e.$el.append(a)),n[o]=a,t[o]=a}})),n}function ee({swiper:e,extendParams:t,on:n,emit:r}){function i(t){let n;return t&&(n=g(t),e.params.uniqueNavElements&&"string"==typeof t&&n.length>1&&1===e.$el.find(t).length&&(n=e.$el.find(t))),n}function o(t,n){const r=e.params.navigation;t&&t.length>0&&(t[n?"addClass":"removeClass"](r.disabledClass),t[0]&&"BUTTON"===t[0].tagName&&(t[0].disabled=n),e.params.watchOverflow&&e.enabled&&t[e.isLocked?"addClass":"removeClass"](r.lockClass))}function a(){if(e.params.loop)return;const{$nextEl:t,$prevEl:n}=e.navigation;o(n,e.isBeginning&&!e.params.rewind),o(t,e.isEnd&&!e.params.rewind)}function s(t){t.preventDefault(),(!e.isBeginning||e.params.loop||e.params.rewind)&&(e.slidePrev(),r("navigationPrev"))}function l(t){t.preventDefault(),(!e.isEnd||e.params.loop||e.params.rewind)&&(e.slideNext(),r("navigationNext"))}function c(){const t=e.params.navigation;if(e.params.navigation=Q(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!t.nextEl&&!t.prevEl)return;const n=i(t.nextEl),r=i(t.prevEl);n&&n.length>0&&n.on("click",l),r&&r.length>0&&r.on("click",s),Object.assign(e.navigation,{$nextEl:n,nextEl:n&&n[0],$prevEl:r,prevEl:r&&r[0]}),e.enabled||(n&&n.addClass(t.lockClass),r&&r.addClass(t.lockClass))}function u(){const{$nextEl:t,$prevEl:n}=e.navigation;t&&t.length&&(t.off("click",l),t.removeClass(e.params.navigation.disabledClass)),n&&n.length&&(n.off("click",s),n.removeClass(e.params.navigation.disabledClass))}t({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,$nextEl:null,prevEl:null,$prevEl:null},n("init",(()=>{!1===e.params.navigation.enabled?d():(c(),a())})),n("toEdge fromEdge lock unlock",(()=>{a()})),n("destroy",(()=>{u()})),n("enable disable",(()=>{const{$nextEl:t,$prevEl:n}=e.navigation;t&&t[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass),n&&n[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass)})),n("click",((t,n)=>{const{$nextEl:i,$prevEl:o}=e.navigation,a=n.target;if(e.params.navigation.hideOnClick&&!g(a).is(o)&&!g(a).is(i)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===a||e.pagination.el.contains(a)))return;let t;i?t=i.hasClass(e.params.navigation.hiddenClass):o&&(t=o.hasClass(e.params.navigation.hiddenClass)),r(!0===t?"navigationShow":"navigationHide"),i&&i.toggleClass(e.params.navigation.hiddenClass),o&&o.toggleClass(e.params.navigation.hiddenClass)}}));const d=()=>{e.$el.addClass(e.params.navigation.navigationDisabledClass),u()};Object.assign(e.navigation,{enable:()=>{e.$el.removeClass(e.params.navigation.navigationDisabledClass),c(),a()},disable:d,update:a,init:c,destroy:u})}function te(e=""){return`.${e.trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,".")}`}function ne({swiper:e,extendParams:t,on:n,emit:r}){const i="swiper-pagination";let o;t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${i}-bullet`,bulletActiveClass:`${i}-bullet-active`,modifierClass:`${i}-`,currentClass:`${i}-current`,totalClass:`${i}-total`,hiddenClass:`${i}-hidden`,progressbarFillClass:`${i}-progressbar-fill`,progressbarOppositeClass:`${i}-progressbar-opposite`,clickableClass:`${i}-clickable`,lockClass:`${i}-lock`,horizontalClass:`${i}-horizontal`,verticalClass:`${i}-vertical`,paginationDisabledClass:`${i}-disabled`}}),e.pagination={el:null,$el:null,bullets:[]};let a=0;function s(){return!e.params.pagination.el||!e.pagination.el||!e.pagination.$el||0===e.pagination.$el.length}function l(t,n){const{bulletActiveClass:r}=e.params.pagination;t[n]().addClass(`${r}-${n}`)[n]().addClass(`${r}-${n}-${n}`)}function c(){const t=e.rtl,n=e.params.pagination;if(s())return;const i=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,c=e.pagination.$el;let u;const d=e.params.loop?Math.ceil((i-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(u=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup),u>i-1-2*e.loopedSlides&&(u-=i-2*e.loopedSlides),u>d-1&&(u-=d),u<0&&"bullets"!==e.params.paginationType&&(u=d+u)):u=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===n.type&&e.pagination.bullets&&e.pagination.bullets.length>0){const r=e.pagination.bullets;let i,s,d;if(n.dynamicBullets&&(o=r.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),c.css(e.isHorizontal()?"width":"height",o*(n.dynamicMainBullets+4)+"px"),n.dynamicMainBullets>1&&void 0!==e.previousIndex&&(a+=u-(e.previousIndex-e.loopedSlides||0),a>n.dynamicMainBullets-1?a=n.dynamicMainBullets-1:a<0&&(a=0)),i=Math.max(u-a,0),s=i+(Math.min(r.length,n.dynamicMainBullets)-1),d=(s+i)/2),r.removeClass(["","-next","-next-next","-prev","-prev-prev","-main"].map((e=>`${n.bulletActiveClass}${e}`)).join(" ")),c.length>1)r.each((e=>{const t=g(e),r=t.index();r===u&&t.addClass(n.bulletActiveClass),n.dynamicBullets&&(r>=i&&r<=s&&t.addClass(`${n.bulletActiveClass}-main`),r===i&&l(t,"prev"),r===s&&l(t,"next"))}));else{const t=r.eq(u),o=t.index();if(t.addClass(n.bulletActiveClass),n.dynamicBullets){const t=r.eq(i),a=r.eq(s);for(let e=i;e<=s;e+=1)r.eq(e).addClass(`${n.bulletActiveClass}-main`);if(e.params.loop)if(o>=r.length){for(let e=n.dynamicMainBullets;e>=0;e-=1)r.eq(r.length-e).addClass(`${n.bulletActiveClass}-main`);r.eq(r.length-n.dynamicMainBullets-1).addClass(`${n.bulletActiveClass}-prev`)}else l(t,"prev"),l(a,"next");else l(t,"prev"),l(a,"next")}}if(n.dynamicBullets){const i=Math.min(r.length,n.dynamicMainBullets+4),a=(o*i-o)/2-d*o,s=t?"right":"left";r.css(e.isHorizontal()?s:"top",`${a}px`)}}if("fraction"===n.type&&(c.find(te(n.currentClass)).text(n.formatFractionCurrent(u+1)),c.find(te(n.totalClass)).text(n.formatFractionTotal(d))),"progressbar"===n.type){let t;t=n.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";const r=(u+1)/d;let i=1,o=1;"horizontal"===t?i=r:o=r,c.find(te(n.progressbarFillClass)).transform(`translate3d(0,0,0) scaleX(${i}) scaleY(${o})`).transition(e.params.speed)}"custom"===n.type&&n.renderCustom?(c.html(n.renderCustom(e,u+1,d)),r("paginationRender",c[0])):r("paginationUpdate",c[0]),e.params.watchOverflow&&e.enabled&&c[e.isLocked?"addClass":"removeClass"](n.lockClass)}function u(){const t=e.params.pagination;if(s())return;const n=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,i=e.pagination.$el;let o="";if("bullets"===t.type){let r=e.params.loop?Math.ceil((n-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&!e.params.loop&&r>n&&(r=n);for(let n=0;n<r;n+=1)t.renderBullet?o+=t.renderBullet.call(e,n,t.bulletClass):o+=`<${t.bulletElement} class="${t.bulletClass}"></${t.bulletElement}>`;i.html(o),e.pagination.bullets=i.find(te(t.bulletClass))}"fraction"===t.type&&(o=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):`<span class="${t.currentClass}"></span> / <span class="${t.totalClass}"></span>`,i.html(o)),"progressbar"===t.type&&(o=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):`<span class="${t.progressbarFillClass}"></span>`,i.html(o)),"custom"!==t.type&&r("paginationRender",e.pagination.$el[0])}function d(){e.params.pagination=Q(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const t=e.params.pagination;if(!t.el)return;let n=g(t.el);0!==n.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&n.length>1&&(n=e.$el.find(t.el),n.length>1&&(n=n.filter((t=>g(t).parents(".swiper")[0]===e.el)))),"bullets"===t.type&&t.clickable&&n.addClass(t.clickableClass),n.addClass(t.modifierClass+t.type),n.addClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(n.addClass(`${t.modifierClass}${t.type}-dynamic`),a=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&n.addClass(t.progressbarOppositeClass),t.clickable&&n.on("click",te(t.bulletClass),(function(t){t.preventDefault();let n=g(this).index()*e.params.slidesPerGroup;e.params.loop&&(n+=e.loopedSlides),e.slideTo(n)})),Object.assign(e.pagination,{$el:n,el:n[0]}),e.enabled||n.addClass(t.lockClass))}function p(){const t=e.params.pagination;if(s())return;const n=e.pagination.$el;n.removeClass(t.hiddenClass),n.removeClass(t.modifierClass+t.type),n.removeClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),e.pagination.bullets&&e.pagination.bullets.removeClass&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&n.off("click",te(t.bulletClass))}n("init",(()=>{!1===e.params.pagination.enabled?h():(d(),u(),c())})),n("activeIndexChange",(()=>{(e.params.loop||void 0===e.snapIndex)&&c()})),n("snapIndexChange",(()=>{e.params.loop||c()})),n("slidesLengthChange",(()=>{e.params.loop&&(u(),c())})),n("snapGridLengthChange",(()=>{e.params.loop||(u(),c())})),n("destroy",(()=>{p()})),n("enable disable",(()=>{const{$el:t}=e.pagination;t&&t[e.enabled?"removeClass":"addClass"](e.params.pagination.lockClass)})),n("lock unlock",(()=>{c()})),n("click",((t,n)=>{const i=n.target,{$el:o}=e.pagination;if(e.params.pagination.el&&e.params.pagination.hideOnClick&&o&&o.length>0&&!g(i).hasClass(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&i===e.navigation.nextEl||e.navigation.prevEl&&i===e.navigation.prevEl))return;const t=o.hasClass(e.params.pagination.hiddenClass);r(!0===t?"paginationShow":"paginationHide"),o.toggleClass(e.params.pagination.hiddenClass)}}));const h=()=>{e.$el.addClass(e.params.pagination.paginationDisabledClass),e.pagination.$el&&e.pagination.$el.addClass(e.params.pagination.paginationDisabledClass),p()};Object.assign(e.pagination,{enable:()=>{e.$el.removeClass(e.params.pagination.paginationDisabledClass),e.pagination.$el&&e.pagination.$el.removeClass(e.params.pagination.paginationDisabledClass),d(),u(),c()},disable:h,render:u,update:c,init:d,destroy:p})}function re({swiper:e,extendParams:t,on:n,emit:r}){const i=a();let o,s,l,c,u=!1,d=null,p=null;function h(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t,rtlTranslate:n,progress:r}=e,{$dragEl:i,$el:o}=t,a=e.params.scrollbar;let c=s,u=(l-s)*r;n?(u=-u,u>0?(c=s-u,u=0):-u+s>l&&(c=l+u)):u<0?(c=s+u,u=0):u+s>l&&(c=l-u),e.isHorizontal()?(i.transform(`translate3d(${u}px, 0, 0)`),i[0].style.width=`${c}px`):(i.transform(`translate3d(0px, ${u}px, 0)`),i[0].style.height=`${c}px`),a.hide&&(clearTimeout(d),o[0].style.opacity=1,d=setTimeout((()=>{o[0].style.opacity=0,o.transition(400)}),1e3))}function f(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t}=e,{$dragEl:n,$el:r}=t;n[0].style.width="",n[0].style.height="",l=e.isHorizontal()?r[0].offsetWidth:r[0].offsetHeight,c=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),s="auto"===e.params.scrollbar.dragSize?l*c:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?n[0].style.width=`${s}px`:n[0].style.height=`${s}px`,r[0].style.display=c>=1?"none":"",e.params.scrollbar.hide&&(r[0].style.opacity=0),e.params.watchOverflow&&e.enabled&&t.$el[e.isLocked?"addClass":"removeClass"](e.params.scrollbar.lockClass)}function m(t){return e.isHorizontal()?"touchstart"===t.type||"touchmove"===t.type?t.targetTouches[0].clientX:t.clientX:"touchstart"===t.type||"touchmove"===t.type?t.targetTouches[0].clientY:t.clientY}function y(t){const{scrollbar:n,rtlTranslate:r}=e,{$el:i}=n;let a;a=(m(t)-i.offset()[e.isHorizontal()?"left":"top"]-(null!==o?o:s/2))/(l-s),a=Math.max(Math.min(a,1),0),r&&(a=1-a);const c=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*a;e.updateProgress(c),e.setTranslate(c),e.updateActiveIndex(),e.updateSlidesClasses()}function b(t){const n=e.params.scrollbar,{scrollbar:i,$wrapperEl:a}=e,{$el:s,$dragEl:l}=i;u=!0,o=t.target===l[0]||t.target===l?m(t)-t.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,t.preventDefault(),t.stopPropagation(),a.transition(100),l.transition(100),y(t),clearTimeout(p),s.transition(0),n.hide&&s.css("opacity",1),e.params.cssMode&&e.$wrapperEl.css("scroll-snap-type","none"),r("scrollbarDragStart",t)}function C(t){const{scrollbar:n,$wrapperEl:i}=e,{$el:o,$dragEl:a}=n;u&&(t.preventDefault?t.preventDefault():t.returnValue=!1,y(t),i.transition(0),o.transition(0),a.transition(0),r("scrollbarDragMove",t))}function A(t){const n=e.params.scrollbar,{scrollbar:i,$wrapperEl:o}=e,{$el:a}=i;u&&(u=!1,e.params.cssMode&&(e.$wrapperEl.css("scroll-snap-type",""),o.transition("")),n.hide&&(clearTimeout(p),p=v((()=>{a.css("opacity",0),a.transition(400)}),1e3)),r("scrollbarDragEnd",t),n.snapOnRelease&&e.slideToClosest())}function S(t){const{scrollbar:n,touchEventsTouch:r,touchEventsDesktop:o,params:a,support:s}=e,l=n.$el;if(!l)return;const c=l[0],u=!(!s.passiveListener||!a.passiveListeners)&&{passive:!1,capture:!1},d=!(!s.passiveListener||!a.passiveListeners)&&{passive:!0,capture:!1};if(!c)return;const p="on"===t?"addEventListener":"removeEventListener";s.touch?(c[p](r.start,b,u),c[p](r.move,C,u),c[p](r.end,A,d)):(c[p](o.start,b,u),i[p](o.move,C,u),i[p](o.end,A,d))}function E(){const{scrollbar:t,$el:n}=e;e.params.scrollbar=Q(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const r=e.params.scrollbar;if(!r.el)return;let i=g(r.el);e.params.uniqueNavElements&&"string"==typeof r.el&&i.length>1&&1===n.find(r.el).length&&(i=n.find(r.el)),i.addClass(e.isHorizontal()?r.horizontalClass:r.verticalClass);let o=i.find(`.${e.params.scrollbar.dragClass}`);0===o.length&&(o=g(`<div class="${e.params.scrollbar.dragClass}"></div>`),i.append(o)),Object.assign(t,{$el:i,el:i[0],$dragEl:o,dragEl:o[0]}),r.draggable&&e.params.scrollbar.el&&e.scrollbar.el&&S("on"),i&&i[e.enabled?"removeClass":"addClass"](e.params.scrollbar.lockClass)}function w(){const t=e.params.scrollbar,n=e.scrollbar.$el;n&&n.removeClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),e.params.scrollbar.el&&e.scrollbar.el&&S("off")}t({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null,$el:null,$dragEl:null},n("init",(()=>{!1===e.params.scrollbar.enabled?x():(E(),f(),h())})),n("update resize observerUpdate lock unlock",(()=>{f()})),n("setTranslate",(()=>{h()})),n("setTransition",((t,n)=>{!function(t){e.params.scrollbar.el&&e.scrollbar.el&&e.scrollbar.$dragEl.transition(t)}(n)})),n("enable disable",(()=>{const{$el:t}=e.scrollbar;t&&t[e.enabled?"removeClass":"addClass"](e.params.scrollbar.lockClass)})),n("destroy",(()=>{w()}));const x=()=>{e.$el.addClass(e.params.scrollbar.scrollbarDisabledClass),e.scrollbar.$el&&e.scrollbar.$el.addClass(e.params.scrollbar.scrollbarDisabledClass),w()};Object.assign(e.scrollbar,{enable:()=>{e.$el.removeClass(e.params.scrollbar.scrollbarDisabledClass),e.scrollbar.$el&&e.scrollbar.$el.removeClass(e.params.scrollbar.scrollbarDisabledClass),E(),f(),h()},disable:x,updateSize:f,setTranslate:h,init:E,destroy:w})}function ie({swiper:e,extendParams:t,on:n}){t({parallax:{enabled:!1}});const r=(t,n)=>{const{rtl:r}=e,i=g(t),o=r?-1:1,a=i.attr("data-swiper-parallax")||"0";let s=i.attr("data-swiper-parallax-x"),l=i.attr("data-swiper-parallax-y");const c=i.attr("data-swiper-parallax-scale"),u=i.attr("data-swiper-parallax-opacity");if(s||l?(s=s||"0",l=l||"0"):e.isHorizontal()?(s=a,l="0"):(l=a,s="0"),s=s.indexOf("%")>=0?parseInt(s,10)*n*o+"%":s*n*o+"px",l=l.indexOf("%")>=0?parseInt(l,10)*n+"%":l*n+"px",null!=u){const e=u-(u-1)*(1-Math.abs(n));i[0].style.opacity=e}if(null==c)i.transform(`translate3d(${s}, ${l}, 0px)`);else{const e=c-(c-1)*(1-Math.abs(n));i.transform(`translate3d(${s}, ${l}, 0px) scale(${e})`)}},i=()=>{const{$el:t,slides:n,progress:i,snapGrid:o}=e;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{r(e,i)})),n.each(((t,n)=>{let a=t.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(a+=Math.ceil(n/2)-i*(o.length-1)),a=Math.min(Math.max(a,-1),1),g(t).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{r(e,a)}))}))};n("beforeInit",(()=>{e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)})),n("init",(()=>{e.params.parallax.enabled&&i()})),n("setTranslate",(()=>{e.params.parallax.enabled&&i()})),n("setTransition",((t,n)=>{e.params.parallax.enabled&&((t=e.params.speed)=>{const{$el:n}=e;n.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{const n=g(e);let r=parseInt(n.attr("data-swiper-parallax-duration"),10)||t;0===t&&(r=0),n.transition(r)}))})(n)}))}function oe({swiper:e,extendParams:t,on:n,emit:r}){const i=l();t({zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),e.zoom={enabled:!1};let o,a,s,c=1,u=!1;const d={$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},p={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},h={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let f=1;function m(e){if(e.targetTouches.length<2)return 1;const t=e.targetTouches[0].pageX,n=e.targetTouches[0].pageY,r=e.targetTouches[1].pageX,i=e.targetTouches[1].pageY;return Math.sqrt((r-t)**2+(i-n)**2)}function v(t){const n=e.support,r=e.params.zoom;if(a=!1,s=!1,!n.gestures){if("touchstart"!==t.type||"touchstart"===t.type&&t.targetTouches.length<2)return;a=!0,d.scaleStart=m(t)}d.$slideEl&&d.$slideEl.length||(d.$slideEl=g(t.target).closest(`.${e.params.slideClass}`),0===d.$slideEl.length&&(d.$slideEl=e.slides.eq(e.activeIndex)),d.$imageEl=d.$slideEl.find(`.${r.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),d.$imageWrapEl=d.$imageEl.parent(`.${r.containerClass}`),d.maxRatio=d.$imageWrapEl.attr("data-swiper-zoom")||r.maxRatio,0!==d.$imageWrapEl.length)?(d.$imageEl&&d.$imageEl.transition(0),u=!0):d.$imageEl=void 0}function y(t){const n=e.support,r=e.params.zoom,i=e.zoom;if(!n.gestures){if("touchmove"!==t.type||"touchmove"===t.type&&t.targetTouches.length<2)return;s=!0,d.scaleMove=m(t)}d.$imageEl&&0!==d.$imageEl.length?(n.gestures?i.scale=t.scale*c:i.scale=d.scaleMove/d.scaleStart*c,i.scale>d.maxRatio&&(i.scale=d.maxRatio-1+(i.scale-d.maxRatio+1)**.5),i.scale<r.minRatio&&(i.scale=r.minRatio+1-(r.minRatio-i.scale+1)**.5),d.$imageEl.transform(`translate3d(0,0,0) scale(${i.scale})`)):"gesturechange"===t.type&&v(t)}function C(t){const n=e.device,r=e.support,i=e.params.zoom,o=e.zoom;if(!r.gestures){if(!a||!s)return;if("touchend"!==t.type||"touchend"===t.type&&t.changedTouches.length<2&&!n.android)return;a=!1,s=!1}d.$imageEl&&0!==d.$imageEl.length&&(o.scale=Math.max(Math.min(o.scale,d.maxRatio),i.minRatio),d.$imageEl.transition(e.params.speed).transform(`translate3d(0,0,0) scale(${o.scale})`),c=o.scale,u=!1,1===o.scale&&(d.$slideEl=void 0))}function A(t){const n=e.zoom;if(!d.$imageEl||0===d.$imageEl.length)return;if(e.allowClick=!1,!p.isTouched||!d.$slideEl)return;p.isMoved||(p.width=d.$imageEl[0].offsetWidth,p.height=d.$imageEl[0].offsetHeight,p.startX=b(d.$imageWrapEl[0],"x")||0,p.startY=b(d.$imageWrapEl[0],"y")||0,d.slideWidth=d.$slideEl[0].offsetWidth,d.slideHeight=d.$slideEl[0].offsetHeight,d.$imageWrapEl.transition(0));const r=p.width*n.scale,i=p.height*n.scale;if(!(r<d.slideWidth&&i<d.slideHeight)){if(p.minX=Math.min(d.slideWidth/2-r/2,0),p.maxX=-p.minX,p.minY=Math.min(d.slideHeight/2-i/2,0),p.maxY=-p.minY,p.touchesCurrent.x="touchmove"===t.type?t.targetTouches[0].pageX:t.pageX,p.touchesCurrent.y="touchmove"===t.type?t.targetTouches[0].pageY:t.pageY,!p.isMoved&&!u){if(e.isHorizontal()&&(Math.floor(p.minX)===Math.floor(p.startX)&&p.touchesCurrent.x<p.touchesStart.x||Math.floor(p.maxX)===Math.floor(p.startX)&&p.touchesCurrent.x>p.touchesStart.x))return void(p.isTouched=!1);if(!e.isHorizontal()&&(Math.floor(p.minY)===Math.floor(p.startY)&&p.touchesCurrent.y<p.touchesStart.y||Math.floor(p.maxY)===Math.floor(p.startY)&&p.touchesCurrent.y>p.touchesStart.y))return void(p.isTouched=!1)}t.cancelable&&t.preventDefault(),t.stopPropagation(),p.isMoved=!0,p.currentX=p.touchesCurrent.x-p.touchesStart.x+p.startX,p.currentY=p.touchesCurrent.y-p.touchesStart.y+p.startY,p.currentX<p.minX&&(p.currentX=p.minX+1-(p.minX-p.currentX+1)**.8),p.currentX>p.maxX&&(p.currentX=p.maxX-1+(p.currentX-p.maxX+1)**.8),p.currentY<p.minY&&(p.currentY=p.minY+1-(p.minY-p.currentY+1)**.8),p.currentY>p.maxY&&(p.currentY=p.maxY-1+(p.currentY-p.maxY+1)**.8),h.prevPositionX||(h.prevPositionX=p.touchesCurrent.x),h.prevPositionY||(h.prevPositionY=p.touchesCurrent.y),h.prevTime||(h.prevTime=Date.now()),h.x=(p.touchesCurrent.x-h.prevPositionX)/(Date.now()-h.prevTime)/2,h.y=(p.touchesCurrent.y-h.prevPositionY)/(Date.now()-h.prevTime)/2,Math.abs(p.touchesCurrent.x-h.prevPositionX)<2&&(h.x=0),Math.abs(p.touchesCurrent.y-h.prevPositionY)<2&&(h.y=0),h.prevPositionX=p.touchesCurrent.x,h.prevPositionY=p.touchesCurrent.y,h.prevTime=Date.now(),d.$imageWrapEl.transform(`translate3d(${p.currentX}px, ${p.currentY}px,0)`)}}function S(){const t=e.zoom;d.$slideEl&&e.previousIndex!==e.activeIndex&&(d.$imageEl&&d.$imageEl.transform("translate3d(0,0,0) scale(1)"),d.$imageWrapEl&&d.$imageWrapEl.transform("translate3d(0,0,0)"),t.scale=1,c=1,d.$slideEl=void 0,d.$imageEl=void 0,d.$imageWrapEl=void 0)}function E(t){const n=e.zoom,r=e.params.zoom;if(d.$slideEl||(t&&t.target&&(d.$slideEl=g(t.target).closest(`.${e.params.slideClass}`)),d.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?d.$slideEl=e.$wrapperEl.children(`.${e.params.slideActiveClass}`):d.$slideEl=e.slides.eq(e.activeIndex)),d.$imageEl=d.$slideEl.find(`.${r.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),d.$imageWrapEl=d.$imageEl.parent(`.${r.containerClass}`)),!d.$imageEl||0===d.$imageEl.length||!d.$imageWrapEl||0===d.$imageWrapEl.length)return;let o,a,s,l,u,h,f,m,v,y,b,C,A,S,E,w,x,I;e.params.cssMode&&(e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.touchAction="none"),d.$slideEl.addClass(`${r.zoomedSlideClass}`),void 0===p.touchesStart.x&&t?(o="touchend"===t.type?t.changedTouches[0].pageX:t.pageX,a="touchend"===t.type?t.changedTouches[0].pageY:t.pageY):(o=p.touchesStart.x,a=p.touchesStart.y),n.scale=d.$imageWrapEl.attr("data-swiper-zoom")||r.maxRatio,c=d.$imageWrapEl.attr("data-swiper-zoom")||r.maxRatio,t?(x=d.$slideEl[0].offsetWidth,I=d.$slideEl[0].offsetHeight,s=d.$slideEl.offset().left+i.scrollX,l=d.$slideEl.offset().top+i.scrollY,u=s+x/2-o,h=l+I/2-a,v=d.$imageEl[0].offsetWidth,y=d.$imageEl[0].offsetHeight,b=v*n.scale,C=y*n.scale,A=Math.min(x/2-b/2,0),S=Math.min(I/2-C/2,0),E=-A,w=-S,f=u*n.scale,m=h*n.scale,f<A&&(f=A),f>E&&(f=E),m<S&&(m=S),m>w&&(m=w)):(f=0,m=0),d.$imageWrapEl.transition(300).transform(`translate3d(${f}px, ${m}px,0)`),d.$imageEl.transition(300).transform(`translate3d(0,0,0) scale(${n.scale})`)}function w(){const t=e.zoom,n=e.params.zoom;d.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?d.$slideEl=e.$wrapperEl.children(`.${e.params.slideActiveClass}`):d.$slideEl=e.slides.eq(e.activeIndex),d.$imageEl=d.$slideEl.find(`.${n.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),d.$imageWrapEl=d.$imageEl.parent(`.${n.containerClass}`)),d.$imageEl&&0!==d.$imageEl.length&&d.$imageWrapEl&&0!==d.$imageWrapEl.length&&(e.params.cssMode&&(e.wrapperEl.style.overflow="",e.wrapperEl.style.touchAction=""),t.scale=1,c=1,d.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),d.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),d.$slideEl.removeClass(`${n.zoomedSlideClass}`),d.$slideEl=void 0)}function x(t){const n=e.zoom;n.scale&&1!==n.scale?w():E(t)}function I(){const t=e.support;return{passiveListener:!("touchstart"!==e.touchEvents.start||!t.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},activeListenerWithCapture:!t.passiveListener||{passive:!1,capture:!0}}}function k(){return`.${e.params.slideClass}`}function T(t){const{passiveListener:n}=I(),r=k();e.$wrapperEl[t]("gesturestart",r,v,n),e.$wrapperEl[t]("gesturechange",r,y,n),e.$wrapperEl[t]("gestureend",r,C,n)}function _(){o||(o=!0,T("on"))}function P(){o&&(o=!1,T("off"))}function D(){const t=e.zoom;if(t.enabled)return;t.enabled=!0;const n=e.support,{passiveListener:r,activeListenerWithCapture:i}=I(),o=k();n.gestures?(e.$wrapperEl.on(e.touchEvents.start,_,r),e.$wrapperEl.on(e.touchEvents.end,P,r)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.on(e.touchEvents.start,o,v,r),e.$wrapperEl.on(e.touchEvents.move,o,y,i),e.$wrapperEl.on(e.touchEvents.end,o,C,r),e.touchEvents.cancel&&e.$wrapperEl.on(e.touchEvents.cancel,o,C,r)),e.$wrapperEl.on(e.touchEvents.move,`.${e.params.zoom.containerClass}`,A,i)}function B(){const t=e.zoom;if(!t.enabled)return;const n=e.support;t.enabled=!1;const{passiveListener:r,activeListenerWithCapture:i}=I(),o=k();n.gestures?(e.$wrapperEl.off(e.touchEvents.start,_,r),e.$wrapperEl.off(e.touchEvents.end,P,r)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.off(e.touchEvents.start,o,v,r),e.$wrapperEl.off(e.touchEvents.move,o,y,i),e.$wrapperEl.off(e.touchEvents.end,o,C,r),e.touchEvents.cancel&&e.$wrapperEl.off(e.touchEvents.cancel,o,C,r)),e.$wrapperEl.off(e.touchEvents.move,`.${e.params.zoom.containerClass}`,A,i)}Object.defineProperty(e.zoom,"scale",{get:()=>f,set(e){if(f!==e){const t=d.$imageEl?d.$imageEl[0]:void 0,n=d.$slideEl?d.$slideEl[0]:void 0;r("zoomChange",e,t,n)}f=e}}),n("init",(()=>{e.params.zoom.enabled&&D()})),n("destroy",(()=>{B()})),n("touchStart",((t,n)=>{e.zoom.enabled&&function(t){const n=e.device;d.$imageEl&&0!==d.$imageEl.length&&(p.isTouched||(n.android&&t.cancelable&&t.preventDefault(),p.isTouched=!0,p.touchesStart.x="touchstart"===t.type?t.targetTouches[0].pageX:t.pageX,p.touchesStart.y="touchstart"===t.type?t.targetTouches[0].pageY:t.pageY))}(n)})),n("touchEnd",((t,n)=>{e.zoom.enabled&&function(){const t=e.zoom;if(!d.$imageEl||0===d.$imageEl.length)return;if(!p.isTouched||!p.isMoved)return p.isTouched=!1,void(p.isMoved=!1);p.isTouched=!1,p.isMoved=!1;let n=300,r=300;const i=h.x*n,o=p.currentX+i,a=h.y*r,s=p.currentY+a;0!==h.x&&(n=Math.abs((o-p.currentX)/h.x)),0!==h.y&&(r=Math.abs((s-p.currentY)/h.y));const l=Math.max(n,r);p.currentX=o,p.currentY=s;const c=p.width*t.scale,u=p.height*t.scale;p.minX=Math.min(d.slideWidth/2-c/2,0),p.maxX=-p.minX,p.minY=Math.min(d.slideHeight/2-u/2,0),p.maxY=-p.minY,p.currentX=Math.max(Math.min(p.currentX,p.maxX),p.minX),p.currentY=Math.max(Math.min(p.currentY,p.maxY),p.minY),d.$imageWrapEl.transition(l).transform(`translate3d(${p.currentX}px, ${p.currentY}px,0)`)}()})),n("doubleTap",((t,n)=>{!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&x(n)})),n("transitionEnd",(()=>{e.zoom.enabled&&e.params.zoom.enabled&&S()})),n("slideChange",(()=>{e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&S()})),Object.assign(e.zoom,{enable:D,disable:B,in:E,out:w,toggle:x})}function ae({swiper:e,extendParams:t,on:n,emit:r}){t({lazy:{checkInView:!1,enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,scrollingElement:"",elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}}),e.lazy={};let i=!1,o=!1;function a(t,n=!0){const i=e.params.lazy;if(void 0===t)return;if(0===e.slides.length)return;const o=e.virtual&&e.params.virtual.enabled?e.$wrapperEl.children(`.${e.params.slideClass}[data-swiper-slide-index="${t}"]`):e.slides.eq(t),s=o.find(`.${i.elementClass}:not(.${i.loadedClass}):not(.${i.loadingClass})`);!o.hasClass(i.elementClass)||o.hasClass(i.loadedClass)||o.hasClass(i.loadingClass)||s.push(o[0]),0!==s.length&&s.each((t=>{const s=g(t);s.addClass(i.loadingClass);const l=s.attr("data-background"),c=s.attr("data-src"),u=s.attr("data-srcset"),d=s.attr("data-sizes"),p=s.parent("picture");e.loadImage(s[0],c||l,u,d,!1,(()=>{if(null!=e&&e&&(!e||e.params)&&!e.destroyed){if(l?(s.css("background-image",`url("${l}")`),s.removeAttr("data-background")):(u&&(s.attr("srcset",u),s.removeAttr("data-srcset")),d&&(s.attr("sizes",d),s.removeAttr("data-sizes")),p.length&&p.children("source").each((e=>{const t=g(e);t.attr("data-srcset")&&(t.attr("srcset",t.attr("data-srcset")),t.removeAttr("data-srcset"))})),c&&(s.attr("src",c),s.removeAttr("data-src"))),s.addClass(i.loadedClass).removeClass(i.loadingClass),o.find(`.${i.preloaderClass}`).remove(),e.params.loop&&n){const t=o.attr("data-swiper-slide-index");o.hasClass(e.params.slideDuplicateClass)?a(e.$wrapperEl.children(`[data-swiper-slide-index="${t}"]:not(.${e.params.slideDuplicateClass})`).index(),!1):a(e.$wrapperEl.children(`.${e.params.slideDuplicateClass}[data-swiper-slide-index="${t}"]`).index(),!1)}r("lazyImageReady",o[0],s[0]),e.params.autoHeight&&e.updateAutoHeight()}})),r("lazyImageLoad",o[0],s[0])}))}function s(){const{$wrapperEl:t,params:n,slides:r,activeIndex:i}=e,s=e.virtual&&n.virtual.enabled,l=n.lazy;let c=n.slidesPerView;function u(e){if(s){if(t.children(`.${n.slideClass}[data-swiper-slide-index="${e}"]`).length)return!0}else if(r[e])return!0;return!1}function d(e){return s?g(e).attr("data-swiper-slide-index"):g(e).index()}if("auto"===c&&(c=0),o||(o=!0),e.params.watchSlidesProgress)t.children(`.${n.slideVisibleClass}`).each((e=>{a(s?g(e).attr("data-swiper-slide-index"):g(e).index())}));else if(c>1)for(let e=i;e<i+c;e+=1)u(e)&&a(e);else a(i);if(l.loadPrevNext)if(c>1||l.loadPrevNextAmount&&l.loadPrevNextAmount>1){const e=l.loadPrevNextAmount,t=Math.ceil(c),n=Math.min(i+t+Math.max(e,t),r.length),o=Math.max(i-Math.max(t,e),0);for(let e=i+t;e<n;e+=1)u(e)&&a(e);for(let e=o;e<i;e+=1)u(e)&&a(e)}else{const e=t.children(`.${n.slideNextClass}`);e.length>0&&a(d(e));const r=t.children(`.${n.slidePrevClass}`);r.length>0&&a(d(r))}}function c(){const t=l();if(!e||e.destroyed)return;const n=e.params.lazy.scrollingElement?g(e.params.lazy.scrollingElement):g(t),r=n[0]===t,o=r?t.innerWidth:n[0].offsetWidth,a=r?t.innerHeight:n[0].offsetHeight,u=e.$el.offset(),{rtlTranslate:d}=e;let p=!1;d&&(u.left-=e.$el[0].scrollLeft);const h=[[u.left,u.top],[u.left+e.width,u.top],[u.left,u.top+e.height],[u.left+e.width,u.top+e.height]];for(let e=0;e<h.length;e+=1){const t=h[e];if(t[0]>=0&&t[0]<=o&&t[1]>=0&&t[1]<=a){if(0===t[0]&&0===t[1])continue;p=!0}}const f=!("touchstart"!==e.touchEvents.start||!e.support.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1};p?(s(),n.off("scroll",c,f)):i||(i=!0,n.on("scroll",c,f))}n("beforeInit",(()=>{e.params.lazy.enabled&&e.params.preloadImages&&(e.params.preloadImages=!1)})),n("init",(()=>{e.params.lazy.enabled&&(e.params.lazy.checkInView?c():s())})),n("scroll",(()=>{e.params.freeMode&&e.params.freeMode.enabled&&!e.params.freeMode.sticky&&s()})),n("scrollbarDragMove resize _freeModeNoMomentumRelease",(()=>{e.params.lazy.enabled&&(e.params.lazy.checkInView?c():s())})),n("transitionStart",(()=>{e.params.lazy.enabled&&(e.params.lazy.loadOnTransitionStart||!e.params.lazy.loadOnTransitionStart&&!o)&&(e.params.lazy.checkInView?c():s())})),n("transitionEnd",(()=>{e.params.lazy.enabled&&!e.params.lazy.loadOnTransitionStart&&(e.params.lazy.checkInView?c():s())})),n("slideChange",(()=>{const{lazy:t,cssMode:n,watchSlidesProgress:r,touchReleaseOnEdges:i,resistanceRatio:o}=e.params;t.enabled&&(n||r&&(i||0===o))&&s()})),n("destroy",(()=>{e.$el&&e.$el.find(`.${e.params.lazy.loadingClass}`).removeClass(e.params.lazy.loadingClass)})),Object.assign(e.lazy,{load:s,loadInSlide:a})}function se({swiper:e,extendParams:t,on:n}){function r(e,t){const n=function(){let e,t,n;return(r,i)=>{for(t=-1,e=r.length;e-t>1;)n=e+t>>1,r[n]<=i?t=n:e=n;return e}}();let r,i;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(i=n(this.x,e),r=i-1,(e-this.x[r])*(this.y[i]-this.y[r])/(this.x[i]-this.x[r])+this.y[r]):0},this}function i(){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)}t({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0},n("beforeInit",(()=>{e.controller.control=e.params.controller.control})),n("update",(()=>{i()})),n("resize",(()=>{i()})),n("observerUpdate",(()=>{i()})),n("setTranslate",((t,n,r)=>{e.controller.control&&e.controller.setTranslate(n,r)})),n("setTransition",((t,n,r)=>{e.controller.control&&e.controller.setTransition(n,r)})),Object.assign(e.controller,{setTranslate:function(t,n){const i=e.controller.control;let o,a;const s=e.constructor;function l(t){const n=e.rtlTranslate?-e.translate:e.translate;"slide"===e.params.controller.by&&(function(t){e.controller.spline||(e.controller.spline=e.params.loop?new r(e.slidesGrid,t.slidesGrid):new r(e.snapGrid,t.snapGrid))}(t),a=-e.controller.spline.interpolate(-n)),a&&"container"!==e.params.controller.by||(o=(t.maxTranslate()-t.minTranslate())/(e.maxTranslate()-e.minTranslate()),a=(n-e.minTranslate())*o+t.minTranslate()),e.params.controller.inverse&&(a=t.maxTranslate()-a),t.updateProgress(a),t.setTranslate(a,e),t.updateActiveIndex(),t.updateSlidesClasses()}if(Array.isArray(i))for(let e=0;e<i.length;e+=1)i[e]!==n&&i[e]instanceof s&&l(i[e]);else i instanceof s&&n!==i&&l(i)},setTransition:function(t,n){const r=e.constructor,i=e.controller.control;let o;function a(n){n.setTransition(t,e),0!==t&&(n.transitionStart(),n.params.autoHeight&&v((()=>{n.updateAutoHeight()})),n.$wrapperEl.transitionEnd((()=>{i&&(n.params.loop&&"slide"===e.params.controller.by&&n.loopFix(),n.transitionEnd())})))}if(Array.isArray(i))for(o=0;o<i.length;o+=1)i[o]!==n&&i[o]instanceof r&&a(i[o]);else i instanceof r&&n!==i&&a(i)}})}function le({swiper:e,extendParams:t,on:n}){t({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null}}),e.a11y={clicked:!1};let r=null;function i(e){const t=r;0!==t.length&&(t.html(""),t.html(e))}function o(e){e.attr("tabIndex","0")}function a(e){e.attr("tabIndex","-1")}function s(e,t){e.attr("role",t)}function l(e,t){e.attr("aria-roledescription",t)}function c(e,t){e.attr("aria-label",t)}function u(e){e.attr("aria-disabled",!0)}function d(e){e.attr("aria-disabled",!1)}function p(t){if(13!==t.keyCode&&32!==t.keyCode)return;const n=e.params.a11y,r=g(t.target);e.navigation&&e.navigation.$nextEl&&r.is(e.navigation.$nextEl)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?i(n.lastSlideMessage):i(n.nextSlideMessage)),e.navigation&&e.navigation.$prevEl&&r.is(e.navigation.$prevEl)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?i(n.firstSlideMessage):i(n.prevSlideMessage)),e.pagination&&r.is(te(e.params.pagination.bulletClass))&&r[0].click()}function h(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function f(){return h()&&e.params.pagination.clickable}const m=(e,t,n)=>{o(e),"BUTTON"!==e[0].tagName&&(s(e,"button"),e.on("keydown",p)),c(e,n),function(e,t){e.attr("aria-controls",t)}(e,t)},v=()=>{e.a11y.clicked=!0},y=()=>{requestAnimationFrame((()=>{requestAnimationFrame((()=>{e.destroyed||(e.a11y.clicked=!1)}))}))},b=t=>{if(e.a11y.clicked)return;const n=t.target.closest(`.${e.params.slideClass}`);if(!n||!e.slides.includes(n))return;const r=e.slides.indexOf(n)===e.activeIndex,i=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(n);r||i||t.sourceCapabilities&&t.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,e.slideTo(e.slides.indexOf(n),0))},C=()=>{const t=e.params.a11y;t.itemRoleDescriptionMessage&&l(g(e.slides),t.itemRoleDescriptionMessage),t.slideRole&&s(g(e.slides),t.slideRole);const n=e.params.loop?e.slides.filter((t=>!t.classList.contains(e.params.slideDuplicateClass))).length:e.slides.length;t.slideLabelMessage&&e.slides.each(((r,i)=>{const o=g(r),a=e.params.loop?parseInt(o.attr("data-swiper-slide-index"),10):i;c(o,t.slideLabelMessage.replace(/\{\{index\}\}/,a+1).replace(/\{\{slidesLength\}\}/,n))}))};n("beforeInit",(()=>{r=g(`<span class="${e.params.a11y.notificationClass}" aria-live="assertive" aria-atomic="true"></span>`)})),n("afterInit",(()=>{e.params.a11y.enabled&&(()=>{const t=e.params.a11y;e.$el.append(r);const n=e.$el;t.containerRoleDescriptionMessage&&l(n,t.containerRoleDescriptionMessage),t.containerMessage&&c(n,t.containerMessage);const i=e.$wrapperEl,o=t.id||i.attr("id")||`swiper-wrapper-${function(e=16){return"x".repeat(e).replace(/x/g,(()=>Math.round(16*Math.random()).toString(16)))}(16)}`,a=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";var s;let u,d;s=o,i.attr("id",s),function(e,t){e.attr("aria-live",t)}(i,a),C(),e.navigation&&e.navigation.$nextEl&&(u=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(d=e.navigation.$prevEl),u&&u.length&&m(u,o,t.nextSlideMessage),d&&d.length&&m(d,o,t.prevSlideMessage),f()&&e.pagination.$el.on("keydown",te(e.params.pagination.bulletClass),p),e.$el.on("focus",b,!0),e.$el.on("pointerdown",v,!0),e.$el.on("pointerup",y,!0)})()})),n("slidesLengthChange snapGridLengthChange slidesGridLengthChange",(()=>{e.params.a11y.enabled&&C()})),n("fromEdge toEdge afterInit lock unlock",(()=>{e.params.a11y.enabled&&function(){if(e.params.loop||e.params.rewind||!e.navigation)return;const{$nextEl:t,$prevEl:n}=e.navigation;n&&n.length>0&&(e.isBeginning?(u(n),a(n)):(d(n),o(n))),t&&t.length>0&&(e.isEnd?(u(t),a(t)):(d(t),o(t)))}()})),n("paginationUpdate",(()=>{e.params.a11y.enabled&&function(){const t=e.params.a11y;h()&&e.pagination.bullets.each((n=>{const r=g(n);e.params.pagination.clickable&&(o(r),e.params.pagination.renderBullet||(s(r,"button"),c(r,t.paginationBulletMessage.replace(/\{\{index\}\}/,r.index()+1)))),r.is(`.${e.params.pagination.bulletActiveClass}`)?r.attr("aria-current","true"):r.removeAttr("aria-current")}))}()})),n("destroy",(()=>{e.params.a11y.enabled&&function(){let t,n;r&&r.length>0&&r.remove(),e.navigation&&e.navigation.$nextEl&&(t=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(n=e.navigation.$prevEl),t&&t.off("keydown",p),n&&n.off("keydown",p),f()&&e.pagination.$el.off("keydown",te(e.params.pagination.bulletClass),p),e.$el.off("focus",b,!0),e.$el.off("pointerdown",v,!0),e.$el.off("pointerup",y,!0)}()}))}function ce({swiper:e,extendParams:t,on:n}){t({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let r=!1,i={};const o=e=>e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),a=e=>{const t=l();let n;n=e?new URL(e):t.location;const r=n.pathname.slice(1).split("/").filter((e=>""!==e)),i=r.length;return{key:r[i-2],value:r[i-1]}},s=(t,n)=>{const i=l();if(!r||!e.params.history.enabled)return;let a;a=e.params.url?new URL(e.params.url):i.location;const s=e.slides.eq(n);let c=o(s.attr("data-history"));if(e.params.history.root.length>0){let n=e.params.history.root;"/"===n[n.length-1]&&(n=n.slice(0,n.length-1)),c=`${n}/${t}/${c}`}else a.pathname.includes(t)||(c=`${t}/${c}`);e.params.history.keepQuery&&(c+=a.search);const u=i.history.state;u&&u.value===c||(e.params.history.replaceState?i.history.replaceState({value:c},null,c):i.history.pushState({value:c},null,c))},c=(t,n,r)=>{if(n)for(let i=0,a=e.slides.length;i<a;i+=1){const a=e.slides.eq(i);if(o(a.attr("data-history"))===n&&!a.hasClass(e.params.slideDuplicateClass)){const n=a.index();e.slideTo(n,t,r)}}else e.slideTo(0,t,r)},u=()=>{i=a(e.params.url),c(e.params.speed,i.value,!1)};n("init",(()=>{e.params.history.enabled&&(()=>{const t=l();if(e.params.history){if(!t.history||!t.history.pushState)return e.params.history.enabled=!1,void(e.params.hashNavigation.enabled=!0);r=!0,i=a(e.params.url),(i.key||i.value)&&(c(0,i.value,e.params.runCallbacksOnInit),e.params.history.replaceState||t.addEventListener("popstate",u))}})()})),n("destroy",(()=>{e.params.history.enabled&&(()=>{const t=l();e.params.history.replaceState||t.removeEventListener("popstate",u)})()})),n("transitionEnd _freeModeNoMomentumRelease",(()=>{r&&s(e.params.history.key,e.activeIndex)})),n("slideChange",(()=>{r&&e.params.cssMode&&s(e.params.history.key,e.activeIndex)}))}function ue({swiper:e,extendParams:t,emit:n,on:r}){let i=!1;const o=a(),s=l();t({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}});const c=()=>{n("hashChange");const t=o.location.hash.replace("#","");if(t!==e.slides.eq(e.activeIndex).attr("data-hash")){const n=e.$wrapperEl.children(`.${e.params.slideClass}[data-hash="${t}"]`).index();if(void 0===n)return;e.slideTo(n)}},u=()=>{if(i&&e.params.hashNavigation.enabled)if(e.params.hashNavigation.replaceState&&s.history&&s.history.replaceState)s.history.replaceState(null,null,`#${e.slides.eq(e.activeIndex).attr("data-hash")}`||""),n("hashSet");else{const t=e.slides.eq(e.activeIndex),r=t.attr("data-hash")||t.attr("data-history");o.location.hash=r||"",n("hashSet")}};r("init",(()=>{e.params.hashNavigation.enabled&&(()=>{if(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)return;i=!0;const t=o.location.hash.replace("#","");if(t){const n=0;for(let r=0,i=e.slides.length;r<i;r+=1){const i=e.slides.eq(r);if((i.attr("data-hash")||i.attr("data-history"))===t&&!i.hasClass(e.params.slideDuplicateClass)){const t=i.index();e.slideTo(t,n,e.params.runCallbacksOnInit,!0)}}}e.params.hashNavigation.watchState&&g(s).on("hashchange",c)})()})),r("destroy",(()=>{e.params.hashNavigation.enabled&&e.params.hashNavigation.watchState&&g(s).off("hashchange",c)})),r("transitionEnd _freeModeNoMomentumRelease",(()=>{i&&u()})),r("slideChange",(()=>{i&&e.params.cssMode&&u()}))}function de({swiper:e,extendParams:t,on:n,emit:r}){let i;function o(){if(!e.size)return e.autoplay.running=!1,void(e.autoplay.paused=!1);const t=e.slides.eq(e.activeIndex);let n=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(n=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(i),i=v((()=>{let t;e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),t=e.slidePrev(e.params.speed,!0,!0),r("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?l():(t=e.slideTo(e.slides.length-1,e.params.speed,!0,!0),r("autoplay")):(t=e.slidePrev(e.params.speed,!0,!0),r("autoplay")):e.params.loop?(e.loopFix(),t=e.slideNext(e.params.speed,!0,!0),r("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?l():(t=e.slideTo(0,e.params.speed,!0,!0),r("autoplay")):(t=e.slideNext(e.params.speed,!0,!0),r("autoplay")),(e.params.cssMode&&e.autoplay.running||!1===t)&&o()}),n)}function s(){return void 0===i&&!e.autoplay.running&&(e.autoplay.running=!0,r("autoplayStart"),o(),!0)}function l(){return!!e.autoplay.running&&void 0!==i&&(i&&(clearTimeout(i),i=void 0),e.autoplay.running=!1,r("autoplayStop"),!0)}function c(t){e.autoplay.running&&(e.autoplay.paused||(i&&clearTimeout(i),e.autoplay.paused=!0,0!==t&&e.params.autoplay.waitForTransition?["transitionend","webkitTransitionEnd"].forEach((t=>{e.$wrapperEl[0].addEventListener(t,d)})):(e.autoplay.paused=!1,o())))}function u(){const t=a();"hidden"===t.visibilityState&&e.autoplay.running&&c(),"visible"===t.visibilityState&&e.autoplay.paused&&(o(),e.autoplay.paused=!1)}function d(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===e.$wrapperEl[0]&&(["transitionend","webkitTransitionEnd"].forEach((t=>{e.$wrapperEl[0].removeEventListener(t,d)})),e.autoplay.paused=!1,e.autoplay.running?o():l())}function p(){e.params.autoplay.disableOnInteraction?l():(r("autoplayPause"),c()),["transitionend","webkitTransitionEnd"].forEach((t=>{e.$wrapperEl[0].removeEventListener(t,d)}))}function h(){e.params.autoplay.disableOnInteraction||(e.autoplay.paused=!1,r("autoplayResume"),o())}e.autoplay={running:!1,paused:!1},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}}),n("init",(()=>{e.params.autoplay.enabled&&(s(),a().addEventListener("visibilitychange",u),e.params.autoplay.pauseOnMouseEnter&&(e.$el.on("mouseenter",p),e.$el.on("mouseleave",h)))})),n("beforeTransitionStart",((t,n,r)=>{e.autoplay.running&&(r||!e.params.autoplay.disableOnInteraction?e.autoplay.pause(n):l())})),n("sliderFirstMove",(()=>{e.autoplay.running&&(e.params.autoplay.disableOnInteraction?l():c())})),n("touchEnd",(()=>{e.params.cssMode&&e.autoplay.paused&&!e.params.autoplay.disableOnInteraction&&o()})),n("destroy",(()=>{e.$el.off("mouseenter",p),e.$el.off("mouseleave",h),e.autoplay.running&&l(),a().removeEventListener("visibilitychange",u)})),Object.assign(e.autoplay,{pause:c,run:o,start:s,stop:l})}function pe({swiper:e,extendParams:t,on:n}){t({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let r=!1,i=!1;function o(){const t=e.thumbs.swiper;if(!t||t.destroyed)return;const n=t.clickedIndex,r=t.clickedSlide;if(r&&g(r).hasClass(e.params.thumbs.slideThumbActiveClass))return;if(null==n)return;let i;if(i=t.params.loop?parseInt(g(t.clickedSlide).attr("data-swiper-slide-index"),10):n,e.params.loop){let t=e.activeIndex;e.slides.eq(t).hasClass(e.params.slideDuplicateClass)&&(e.loopFix(),e._clientLeft=e.$wrapperEl[0].clientLeft,t=e.activeIndex);const n=e.slides.eq(t).prevAll(`[data-swiper-slide-index="${i}"]`).eq(0).index(),r=e.slides.eq(t).nextAll(`[data-swiper-slide-index="${i}"]`).eq(0).index();i=void 0===n?r:void 0===r?n:r-t<t-n?r:n}e.slideTo(i)}function a(){const{thumbs:t}=e.params;if(r)return!1;r=!0;const n=e.constructor;if(t.swiper instanceof n)e.thumbs.swiper=t.swiper,Object.assign(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1});else if(C(t.swiper)){const r=Object.assign({},t.swiper);Object.assign(r,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper=new n(r),i=!0}return e.thumbs.swiper.$el.addClass(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",o),!0}function s(t){const n=e.thumbs.swiper;if(!n||n.destroyed)return;const r="auto"===n.params.slidesPerView?n.slidesPerViewDynamic():n.params.slidesPerView;let i=1;const o=e.params.thumbs.slideThumbActiveClass;if(e.params.slidesPerView>1&&!e.params.centeredSlides&&(i=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(i=1),i=Math.floor(i),n.slides.removeClass(o),n.params.loop||n.params.virtual&&n.params.virtual.enabled)for(let t=0;t<i;t+=1)n.$wrapperEl.children(`[data-swiper-slide-index="${e.realIndex+t}"]`).addClass(o);else for(let t=0;t<i;t+=1)n.slides.eq(e.realIndex+t).addClass(o);const a=e.params.thumbs.autoScrollOffset,s=a&&!n.params.loop;if(e.realIndex!==n.realIndex||s){let i,o,l=n.activeIndex;if(n.params.loop){n.slides.eq(l).hasClass(n.params.slideDuplicateClass)&&(n.loopFix(),n._clientLeft=n.$wrapperEl[0].clientLeft,l=n.activeIndex);const t=n.slides.eq(l).prevAll(`[data-swiper-slide-index="${e.realIndex}"]`).eq(0).index(),r=n.slides.eq(l).nextAll(`[data-swiper-slide-index="${e.realIndex}"]`).eq(0).index();i=void 0===t?r:void 0===r?t:r-l==l-t?n.params.slidesPerGroup>1?r:l:r-l<l-t?r:t,o=e.activeIndex>e.previousIndex?"next":"prev"}else i=e.realIndex,o=i>e.previousIndex?"next":"prev";s&&(i+="next"===o?a:-1*a),n.visibleSlidesIndexes&&n.visibleSlidesIndexes.indexOf(i)<0&&(n.params.centeredSlides?i=i>l?i-Math.floor(r/2)+1:i+Math.floor(r/2)-1:i>l&&n.params.slidesPerGroup,n.slideTo(i,t?0:void 0))}}e.thumbs={swiper:null},n("beforeInit",(()=>{const{thumbs:t}=e.params;t&&t.swiper&&(a(),s(!0))})),n("slideChange update resize observerUpdate",(()=>{s()})),n("setTransition",((t,n)=>{const r=e.thumbs.swiper;r&&!r.destroyed&&r.setTransition(n)})),n("beforeDestroy",(()=>{const t=e.thumbs.swiper;t&&!t.destroyed&&i&&t.destroy()})),Object.assign(e.thumbs,{init:a,update:s})}function he({swiper:e,extendParams:t,emit:n,once:r}){t({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(e,{freeMode:{onTouchStart:function(){const t=e.getTranslate();e.setTranslate(t),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})},onTouchMove:function(){const{touchEventsData:t,touches:n}=e;0===t.velocities.length&&t.velocities.push({position:n[e.isHorizontal()?"startX":"startY"],time:t.touchStartTime}),t.velocities.push({position:n[e.isHorizontal()?"currentX":"currentY"],time:y()})},onTouchEnd:function({currentPos:t}){const{params:i,$wrapperEl:o,rtlTranslate:a,snapGrid:s,touchEventsData:l}=e,c=y()-l.touchStartTime;if(t<-e.minTranslate())e.slideTo(e.activeIndex);else if(t>-e.maxTranslate())e.slides.length<s.length?e.slideTo(s.length-1):e.slideTo(e.slides.length-1);else{if(i.freeMode.momentum){if(l.velocities.length>1){const t=l.velocities.pop(),n=l.velocities.pop(),r=t.position-n.position,o=t.time-n.time;e.velocity=r/o,e.velocity/=2,Math.abs(e.velocity)<i.freeMode.minimumVelocity&&(e.velocity=0),(o>150||y()-t.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=i.freeMode.momentumVelocityRatio,l.velocities.length=0;let t=1e3*i.freeMode.momentumRatio;const c=e.velocity*t;let u=e.translate+c;a&&(u=-u);let d,p=!1;const h=20*Math.abs(e.velocity)*i.freeMode.momentumBounceRatio;let f;if(u<e.maxTranslate())i.freeMode.momentumBounce?(u+e.maxTranslate()<-h&&(u=e.maxTranslate()-h),d=e.maxTranslate(),p=!0,l.allowMomentumBounce=!0):u=e.maxTranslate(),i.loop&&i.centeredSlides&&(f=!0);else if(u>e.minTranslate())i.freeMode.momentumBounce?(u-e.minTranslate()>h&&(u=e.minTranslate()+h),d=e.minTranslate(),p=!0,l.allowMomentumBounce=!0):u=e.minTranslate(),i.loop&&i.centeredSlides&&(f=!0);else if(i.freeMode.sticky){let t;for(let e=0;e<s.length;e+=1)if(s[e]>-u){t=e;break}u=Math.abs(s[t]-u)<Math.abs(s[t-1]-u)||"next"===e.swipeDirection?s[t]:s[t-1],u=-u}if(f&&r("transitionEnd",(()=>{e.loopFix()})),0!==e.velocity){if(t=a?Math.abs((-u-e.translate)/e.velocity):Math.abs((u-e.translate)/e.velocity),i.freeMode.sticky){const n=Math.abs((a?-u:u)-e.translate),r=e.slidesSizesGrid[e.activeIndex];t=n<r?i.speed:n<2*r?1.5*i.speed:2.5*i.speed}}else if(i.freeMode.sticky)return void e.slideToClosest();i.freeMode.momentumBounce&&p?(e.updateProgress(d),e.setTransition(t),e.setTranslate(u),e.transitionStart(!0,e.swipeDirection),e.animating=!0,o.transitionEnd((()=>{e&&!e.destroyed&&l.allowMomentumBounce&&(n("momentumBounce"),e.setTransition(i.speed),setTimeout((()=>{e.setTranslate(d),o.transitionEnd((()=>{e&&!e.destroyed&&e.transitionEnd()}))}),0))}))):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(u),e.setTransition(t),e.setTranslate(u),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,o.transitionEnd((()=>{e&&!e.destroyed&&e.transitionEnd()})))):e.updateProgress(u),e.updateActiveIndex(),e.updateSlidesClasses()}else{if(i.freeMode.sticky)return void e.slideToClosest();i.freeMode&&n("_freeModeNoMomentumRelease")}(!i.freeMode.momentum||c>=i.longSwipesMs)&&(e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}}}})}function fe({swiper:e,extendParams:t}){let n,r,i;t({grid:{rows:1,fill:"column"}}),e.grid={initSlides:t=>{const{slidesPerView:o}=e.params,{rows:a,fill:s}=e.params.grid;r=n/a,i=Math.floor(t/a),n=Math.floor(t/a)===t/a?t:Math.ceil(t/a)*a,"auto"!==o&&"row"===s&&(n=Math.max(n,o*a))},updateSlide:(t,o,a,s)=>{const{slidesPerGroup:l,spaceBetween:c}=e.params,{rows:u,fill:d}=e.params.grid;let p,h,f;if("row"===d&&l>1){const e=Math.floor(t/(l*u)),r=t-u*l*e,i=0===e?l:Math.min(Math.ceil((a-e*u*l)/u),l);f=Math.floor(r/i),h=r-f*i+e*l,p=h+f*n/u,o.css({"-webkit-order":p,order:p})}else"column"===d?(h=Math.floor(t/u),f=t-h*u,(h>i||h===i&&f===u-1)&&(f+=1,f>=u&&(f=0,h+=1))):(f=Math.floor(t/r),h=t-f*r);o.css(s("margin-top"),0!==f?c&&`${c}px`:"")},updateWrapperSize:(t,r,i)=>{const{spaceBetween:o,centeredSlides:a,roundLengths:s}=e.params,{rows:l}=e.params.grid;if(e.virtualSize=(t+o)*n,e.virtualSize=Math.ceil(e.virtualSize/l)-o,e.$wrapperEl.css({[i("width")]:`${e.virtualSize+o}px`}),a){r.splice(0,r.length);const t=[];for(let n=0;n<r.length;n+=1){let i=r[n];s&&(i=Math.floor(i)),r[n]<e.virtualSize+r[0]&&t.push(i)}r.push(...t)}}}}function me(e){const t=this,{$wrapperEl:n,params:r}=t;if(r.loop&&t.loopDestroy(),"object"==typeof e&&"length"in e)for(let t=0;t<e.length;t+=1)e[t]&&n.append(e[t]);else n.append(e);r.loop&&t.loopCreate(),r.observer||t.update()}function ge(e){const t=this,{params:n,$wrapperEl:r,activeIndex:i}=t;n.loop&&t.loopDestroy();let o=i+1;if("object"==typeof e&&"length"in e){for(let t=0;t<e.length;t+=1)e[t]&&r.prepend(e[t]);o=i+e.length}else r.prepend(e);n.loop&&t.loopCreate(),n.observer||t.update(),t.slideTo(o,0,!1)}function ve(e,t){const n=this,{$wrapperEl:r,params:i,activeIndex:o}=n;let a=o;i.loop&&(a-=n.loopedSlides,n.loopDestroy(),n.slides=r.children(`.${i.slideClass}`));const s=n.slides.length;if(e<=0)return void n.prependSlide(t);if(e>=s)return void n.appendSlide(t);let l=a>e?a+1:a;const c=[];for(let t=s-1;t>=e;t-=1){const e=n.slides.eq(t);e.remove(),c.unshift(e)}if("object"==typeof t&&"length"in t){for(let e=0;e<t.length;e+=1)t[e]&&r.append(t[e]);l=a>e?a+t.length:a}else r.append(t);for(let e=0;e<c.length;e+=1)r.append(c[e]);i.loop&&n.loopCreate(),i.observer||n.update(),i.loop?n.slideTo(l+n.loopedSlides,0,!1):n.slideTo(l,0,!1)}function ye(e){const t=this,{params:n,$wrapperEl:r,activeIndex:i}=t;let o=i;n.loop&&(o-=t.loopedSlides,t.loopDestroy(),t.slides=r.children(`.${n.slideClass}`));let a,s=o;if("object"==typeof e&&"length"in e){for(let n=0;n<e.length;n+=1)a=e[n],t.slides[a]&&t.slides.eq(a).remove(),a<s&&(s-=1);s=Math.max(s,0)}else a=e,t.slides[a]&&t.slides.eq(a).remove(),a<s&&(s-=1),s=Math.max(s,0);n.loop&&t.loopCreate(),n.observer||t.update(),n.loop?t.slideTo(s+t.loopedSlides,0,!1):t.slideTo(s,0,!1)}function be(){const e=this,t=[];for(let n=0;n<e.slides.length;n+=1)t.push(n);e.removeSlide(t)}function Ce({swiper:e}){Object.assign(e,{appendSlide:me.bind(e),prependSlide:ge.bind(e),addSlide:ve.bind(e),removeSlide:ye.bind(e),removeAllSlides:be.bind(e)})}function Ae(e){const{effect:t,swiper:n,on:r,setTranslate:i,setTransition:o,overwriteParams:a,perspective:s,recreateShadows:l,getEffectParams:c}=e;let u;r("beforeInit",(()=>{if(n.params.effect!==t)return;n.classNames.push(`${n.params.containerModifierClass}${t}`),s&&s()&&n.classNames.push(`${n.params.containerModifierClass}3d`);const e=a?a():{};Object.assign(n.params,e),Object.assign(n.originalParams,e)})),r("setTranslate",(()=>{n.params.effect===t&&i()})),r("setTransition",((e,r)=>{n.params.effect===t&&o(r)})),r("transitionEnd",(()=>{if(n.params.effect===t&&l){if(!c||!c().slideShadows)return;n.slides.each((e=>{n.$(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").remove()})),l()}})),r("virtualUpdate",(()=>{n.params.effect===t&&(n.slides.length||(u=!0),requestAnimationFrame((()=>{u&&n.slides&&n.slides.length&&(i(),u=!1)})))}))}function Se(e,t){return e.transformEl?t.find(e.transformEl).css({"backface-visibility":"hidden","-webkit-backface-visibility":"hidden"}):t}function Ee({swiper:e,duration:t,transformEl:n,allSlides:r}){const{slides:i,activeIndex:o,$wrapperEl:a}=e;if(e.params.virtualTranslate&&0!==t){let t,s=!1;t=r?n?i.find(n):i:n?i.eq(o).find(n):i.eq(o),t.transitionEnd((()=>{if(s)return;if(!e||e.destroyed)return;s=!0,e.animating=!1;const t=["webkitTransitionEnd","transitionend"];for(let e=0;e<t.length;e+=1)a.trigger(t[e])}))}}function we({swiper:e,extendParams:t,on:n}){t({fadeEffect:{crossFade:!1,transformEl:null}}),Ae({effect:"fade",swiper:e,on:n,setTranslate:()=>{const{slides:t}=e,n=e.params.fadeEffect;for(let r=0;r<t.length;r+=1){const t=e.slides.eq(r);let i=-t[0].swiperSlideOffset;e.params.virtualTranslate||(i-=e.translate);let o=0;e.isHorizontal()||(o=i,i=0);const a=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(t[0].progress),0):1+Math.min(Math.max(t[0].progress,-1),0);Se(n,t).css({opacity:a}).transform(`translate3d(${i}px, ${o}px, 0px)`)}},setTransition:t=>{const{transformEl:n}=e.params.fadeEffect;(n?e.slides.find(n):e.slides).transition(t),Ee({swiper:e,duration:t,transformEl:n,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function xe({swiper:e,extendParams:t,on:n}){t({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const r=(e,t,n)=>{let r=n?e.find(".swiper-slide-shadow-left"):e.find(".swiper-slide-shadow-top"),i=n?e.find(".swiper-slide-shadow-right"):e.find(".swiper-slide-shadow-bottom");0===r.length&&(r=g(`<div class="swiper-slide-shadow-${n?"left":"top"}"></div>`),e.append(r)),0===i.length&&(i=g(`<div class="swiper-slide-shadow-${n?"right":"bottom"}"></div>`),e.append(i)),r.length&&(r[0].style.opacity=Math.max(-t,0)),i.length&&(i[0].style.opacity=Math.max(t,0))};Ae({effect:"cube",swiper:e,on:n,setTranslate:()=>{const{$el:t,$wrapperEl:n,slides:i,width:o,height:a,rtlTranslate:s,size:l,browser:c}=e,u=e.params.cubeEffect,d=e.isHorizontal(),p=e.virtual&&e.params.virtual.enabled;let h,f=0;u.shadow&&(d?(h=n.find(".swiper-cube-shadow"),0===h.length&&(h=g('<div class="swiper-cube-shadow"></div>'),n.append(h)),h.css({height:`${o}px`})):(h=t.find(".swiper-cube-shadow"),0===h.length&&(h=g('<div class="swiper-cube-shadow"></div>'),t.append(h))));for(let e=0;e<i.length;e+=1){const t=i.eq(e);let n=e;p&&(n=parseInt(t.attr("data-swiper-slide-index"),10));let o=90*n,a=Math.floor(o/360);s&&(o=-o,a=Math.floor(-o/360));const c=Math.max(Math.min(t[0].progress,1),-1);let h=0,m=0,g=0;n%4==0?(h=4*-a*l,g=0):(n-1)%4==0?(h=0,g=4*-a*l):(n-2)%4==0?(h=l+4*a*l,g=l):(n-3)%4==0&&(h=-l,g=3*l+4*l*a),s&&(h=-h),d||(m=h,h=0);const v=`rotateX(${d?0:-o}deg) rotateY(${d?o:0}deg) translate3d(${h}px, ${m}px, ${g}px)`;c<=1&&c>-1&&(f=90*n+90*c,s&&(f=90*-n-90*c)),t.transform(v),u.slideShadows&&r(t,c,d)}if(n.css({"-webkit-transform-origin":`50% 50% -${l/2}px`,"transform-origin":`50% 50% -${l/2}px`}),u.shadow)if(d)h.transform(`translate3d(0px, ${o/2+u.shadowOffset}px, ${-o/2}px) rotateX(90deg) rotateZ(0deg) scale(${u.shadowScale})`);else{const e=Math.abs(f)-90*Math.floor(Math.abs(f)/90),t=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),n=u.shadowScale,r=u.shadowScale/t,i=u.shadowOffset;h.transform(`scale3d(${n}, 1, ${r}) translate3d(0px, ${a/2+i}px, ${-a/2/r}px) rotateX(-90deg)`)}const m=c.isSafari||c.isWebView?-l/2:0;n.transform(`translate3d(0px,0,${m}px) rotateX(${e.isHorizontal()?0:f}deg) rotateY(${e.isHorizontal()?-f:0}deg)`),n[0].style.setProperty("--swiper-cube-translate-z",`${m}px`)},setTransition:t=>{const{$el:n,slides:r}=e;r.transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t),e.params.cubeEffect.shadow&&!e.isHorizontal()&&n.find(".swiper-cube-shadow").transition(t)},recreateShadows:()=>{const t=e.isHorizontal();e.slides.each((e=>{const n=Math.max(Math.min(e.progress,1),-1);r(g(e),n,t)}))},getEffectParams:()=>e.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}function Ie(e,t,n){const r="swiper-slide-shadow"+(n?`-${n}`:""),i=e.transformEl?t.find(e.transformEl):t;let o=i.children(`.${r}`);return o.length||(o=g(`<div class="swiper-slide-shadow${n?`-${n}`:""}"></div>`),i.append(o)),o}function ke({swiper:e,extendParams:t,on:n}){t({flipEffect:{slideShadows:!0,limitRotation:!0,transformEl:null}});const r=(t,n,r)=>{let i=e.isHorizontal()?t.find(".swiper-slide-shadow-left"):t.find(".swiper-slide-shadow-top"),o=e.isHorizontal()?t.find(".swiper-slide-shadow-right"):t.find(".swiper-slide-shadow-bottom");0===i.length&&(i=Ie(r,t,e.isHorizontal()?"left":"top")),0===o.length&&(o=Ie(r,t,e.isHorizontal()?"right":"bottom")),i.length&&(i[0].style.opacity=Math.max(-n,0)),o.length&&(o[0].style.opacity=Math.max(n,0))};Ae({effect:"flip",swiper:e,on:n,setTranslate:()=>{const{slides:t,rtlTranslate:n}=e,i=e.params.flipEffect;for(let o=0;o<t.length;o+=1){const a=t.eq(o);let s=a[0].progress;e.params.flipEffect.limitRotation&&(s=Math.max(Math.min(a[0].progress,1),-1));const l=a[0].swiperSlideOffset;let c=-180*s,u=0,d=e.params.cssMode?-l-e.translate:-l,p=0;e.isHorizontal()?n&&(c=-c):(p=d,d=0,u=-c,c=0),a[0].style.zIndex=-Math.abs(Math.round(s))+t.length,i.slideShadows&&r(a,s,i);const h=`translate3d(${d}px, ${p}px, 0px) rotateX(${u}deg) rotateY(${c}deg)`;Se(i,a).transform(h)}},setTransition:t=>{const{transformEl:n}=e.params.flipEffect;(n?e.slides.find(n):e.slides).transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t),Ee({swiper:e,duration:t,transformEl:n})},recreateShadows:()=>{const t=e.params.flipEffect;e.slides.each((n=>{const i=g(n);let o=i[0].progress;e.params.flipEffect.limitRotation&&(o=Math.max(Math.min(n.progress,1),-1)),r(i,o,t)}))},getEffectParams:()=>e.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function Te({swiper:e,extendParams:t,on:n}){t({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0,transformEl:null}}),Ae({effect:"coverflow",swiper:e,on:n,setTranslate:()=>{const{width:t,height:n,slides:r,slidesSizesGrid:i}=e,o=e.params.coverflowEffect,a=e.isHorizontal(),s=e.translate,l=a?t/2-s:n/2-s,c=a?o.rotate:-o.rotate,u=o.depth;for(let e=0,t=r.length;e<t;e+=1){const t=r.eq(e),n=i[e],s=(l-t[0].swiperSlideOffset-n/2)/n,d="function"==typeof o.modifier?o.modifier(s):s*o.modifier;let p=a?c*d:0,h=a?0:c*d,f=-u*Math.abs(d),m=o.stretch;"string"==typeof m&&-1!==m.indexOf("%")&&(m=parseFloat(o.stretch)/100*n);let g=a?0:m*d,v=a?m*d:0,y=1-(1-o.scale)*Math.abs(d);Math.abs(v)<.001&&(v=0),Math.abs(g)<.001&&(g=0),Math.abs(f)<.001&&(f=0),Math.abs(p)<.001&&(p=0),Math.abs(h)<.001&&(h=0),Math.abs(y)<.001&&(y=0);const b=`translate3d(${v}px,${g}px,${f}px)  rotateX(${h}deg) rotateY(${p}deg) scale(${y})`;if(Se(o,t).transform(b),t[0].style.zIndex=1-Math.abs(Math.round(d)),o.slideShadows){let e=a?t.find(".swiper-slide-shadow-left"):t.find(".swiper-slide-shadow-top"),n=a?t.find(".swiper-slide-shadow-right"):t.find(".swiper-slide-shadow-bottom");0===e.length&&(e=Ie(o,t,a?"left":"top")),0===n.length&&(n=Ie(o,t,a?"right":"bottom")),e.length&&(e[0].style.opacity=d>0?d:0),n.length&&(n[0].style.opacity=-d>0?-d:0)}}},setTransition:t=>{const{transformEl:n}=e.params.coverflowEffect;(n?e.slides.find(n):e.slides).transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t)},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}function _e({swiper:e,extendParams:t,on:n}){t({creativeEffect:{transformEl:null,limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const r=e=>"string"==typeof e?e:`${e}px`;Ae({effect:"creative",swiper:e,on:n,setTranslate:()=>{const{slides:t,$wrapperEl:n,slidesSizesGrid:i}=e,o=e.params.creativeEffect,{progressMultiplier:a}=o,s=e.params.centeredSlides;if(s){const t=i[0]/2-e.params.slidesOffsetBefore||0;n.transform(`translateX(calc(50% - ${t}px))`)}for(let n=0;n<t.length;n+=1){const i=t.eq(n),l=i[0].progress,c=Math.min(Math.max(i[0].progress,-o.limitProgress),o.limitProgress);let u=c;s||(u=Math.min(Math.max(i[0].originalProgress,-o.limitProgress),o.limitProgress));const d=i[0].swiperSlideOffset,p=[e.params.cssMode?-d-e.translate:-d,0,0],h=[0,0,0];let f=!1;e.isHorizontal()||(p[1]=p[0],p[0]=0);let m={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};c<0?(m=o.next,f=!0):c>0&&(m=o.prev,f=!0),p.forEach(((e,t)=>{p[t]=`calc(${e}px + (${r(m.translate[t])} * ${Math.abs(c*a)}))`})),h.forEach(((e,t)=>{h[t]=m.rotate[t]*Math.abs(c*a)})),i[0].style.zIndex=-Math.abs(Math.round(l))+t.length;const g=p.join(", "),v=`rotateX(${h[0]}deg) rotateY(${h[1]}deg) rotateZ(${h[2]}deg)`,y=u<0?`scale(${1+(1-m.scale)*u*a})`:`scale(${1-(1-m.scale)*u*a})`,b=u<0?1+(1-m.opacity)*u*a:1-(1-m.opacity)*u*a,C=`translate3d(${g}) ${v} ${y}`;if(f&&m.shadow||!f){let e=i.children(".swiper-slide-shadow");if(0===e.length&&m.shadow&&(e=Ie(o,i)),e.length){const t=o.shadowPerProgress?c*(1/o.limitProgress):c;e[0].style.opacity=Math.min(Math.max(Math.abs(t),0),1)}}const A=Se(o,i);A.transform(C).css({opacity:b}),m.origin&&A.css("transform-origin",m.origin)}},setTransition:t=>{const{transformEl:n}=e.params.creativeEffect;(n?e.slides.find(n):e.slides).transition(t).find(".swiper-slide-shadow").transition(t),Ee({swiper:e,duration:t,transformEl:n,allSlides:!0})},perspective:()=>e.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}function Pe({swiper:e,extendParams:t,on:n}){t({cardsEffect:{slideShadows:!0,transformEl:null,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),Ae({effect:"cards",swiper:e,on:n,setTranslate:()=>{const{slides:t,activeIndex:n}=e,r=e.params.cardsEffect,{startTranslate:i,isTouched:o}=e.touchEventsData,a=e.translate;for(let s=0;s<t.length;s+=1){const l=t.eq(s),c=l[0].progress,u=Math.min(Math.max(c,-4),4);let d=l[0].swiperSlideOffset;e.params.centeredSlides&&!e.params.cssMode&&e.$wrapperEl.transform(`translateX(${e.minTranslate()}px)`),e.params.centeredSlides&&e.params.cssMode&&(d-=t[0].swiperSlideOffset);let p=e.params.cssMode?-d-e.translate:-d,h=0;const f=-100*Math.abs(u);let m=1,g=-r.perSlideRotate*u,v=r.perSlideOffset-.75*Math.abs(u);const y=e.virtual&&e.params.virtual.enabled?e.virtual.from+s:s,b=(y===n||y===n-1)&&u>0&&u<1&&(o||e.params.cssMode)&&a<i,C=(y===n||y===n+1)&&u<0&&u>-1&&(o||e.params.cssMode)&&a>i;if(b||C){const e=(1-Math.abs((Math.abs(u)-.5)/.5))**.5;g+=-28*u*e,m+=-.5*e,v+=96*e,h=-25*e*Math.abs(u)+"%"}if(p=u<0?`calc(${p}px + (${v*Math.abs(u)}%))`:u>0?`calc(${p}px + (-${v*Math.abs(u)}%))`:`${p}px`,!e.isHorizontal()){const e=h;h=p,p=e}const A=u<0?""+(1+(1-m)*u):""+(1-(1-m)*u),S=`\n        translate3d(${p}, ${h}, ${f}px)\n        rotateZ(${r.rotate?g:0}deg)\n        scale(${A})\n      `;if(r.slideShadows){let e=l.find(".swiper-slide-shadow");0===e.length&&(e=Ie(r,l)),e.length&&(e[0].style.opacity=Math.min(Math.max((Math.abs(u)-.5)/.5,0),1))}l[0].style.zIndex=-Math.abs(Math.round(c))+t.length,Se(r,l).transform(S)}},setTransition:t=>{const{transformEl:n}=e.params.cardsEffect;(n?e.slides.find(n):e.slides).transition(t).find(".swiper-slide-shadow").transition(t),Ee({swiper:e,duration:t,transformEl:n})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}},4981:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var r=n(5516),i=n.n(r),o=n(1364),a=n.n(o),s=n(3615),l=n.n(s),c=new URL(n(8366),n.b),u=new URL(n(2074),n.b),d=new URL(n(8465),n.b),p=new URL(n(4790),n.b),h=a()(i()),f=l()(c),m=l()(u),g=l()(d),v=l()(p);h.push([e.id,`.ac-image.ac-selectable {\n    cursor: pointer;\n}\n\na.ac-anchor {\n    text-decoration: underline;\n}\n\na.ac-anchor:link {\n    color: #005a9e;\n}\n\na.ac-anchor:visited {\n    color: #005a9e;\n}\n\na.ac-anchor:link:active {\n    color: #005a9e;\n}\n\na.ac-anchor:visited:active {\n    color: #005a9e;\n}\n\n.ac-container:not(.ac-adaptiveCard) {\n    outline: none;\n}\n\n.ac-adaptiveCard {\n    outline-color: #0767b7;\n}\n\n.ac-container.ac-selectable,\n.ac-columnSet.ac-selectable {\n    padding: 0px;\n    outline: none;\n    border: none;\n}\n\n.ac-container.ac-selectable:hover,\n.ac-columnSet.ac-selectable:hover,\n.ac-container.ac-selectable:focus,\n.ac-columnSet.ac-selectable:focus,\na.ac-anchor:focus {\n    background-color: rgba(0, 0, 0, 0.1);\n    outline: none;\n    border: none;\n}\n\n.ac-container.ac-selectable:active,\n.ac-columnSet.ac-selectable:active {\n    background-color: rgba(0, 0, 0, 0.15);\n    outline: none;\n    border: none;\n}\n\n.ac-pushButton {\n    /*default active*/\n    vertical-align: middle;\n    cursor: default;\n    overflow: hidden;\n    font-family: 'Segoe UI';\n    font-size: 14px;\n    line-height: 20px;\n    letter-spacing: -0.15px;\n    font-weight: 500;\n    padding: 6px 8px 6px 8px;\n    -webkit-user-select: none;\n    -moz-user-select: none;\n    -ms-user-select: none;\n    user-select: none;\n    background-color: #ffffff;\n    color: #0078d4;\n    border-radius: 4px;\n    outline: none;\n    border: 1px solid #0078d4;\n    margin: 2px; /* needed for box-shadow */\n}\n\n.ac-pushButton.primary:enabled,\n.ac-pushButton.style-positive:enabled {\n    /*primary, positive active*/\n    background-color: #0078d7;\n    color: #ffffff;\n    border: 1px solid #0078d7;\n}\n\n.ac-pushButton.primary:hover:enabled,\n.ac-pushButton.style-positive:hover:enabled {\n    /*primary, positive hover*/\n    background-color: #106ebe;\n    color: #ffffff;\n    border: 1px solid #106ebe;\n}\n\n.ac-pushButton.primary:active:enabled,\n.ac-pushButton.style-positive:active:enabled {\n    /*primary, positive press*/\n    background-color: #005a9e;\n    color: #ffffff;\n    border: 1px solid #005a9e;\n}\n\n.ac-pushButton.primary:focus:enabled,\n.ac-pushButton.style-positive:focus:enabled {\n    /*primary, positive focus*/\n    background-color: #005a9e;\n    color: #ffffff;\n    border: 1px solid #005a9e;\n    box-shadow: 0 0 0 2px #e3eff9;\n}\n\n.ac-pushButton.primary:disabled,\n.ac-pushButton.style-positive:disabled,\n.ac-pushButton.style-destructive:disabled {\n    /*primary, positive, destructive disabled*/\n    background-color: #d2d0ce;\n    color: #ffffff;\n    border: 1px solid #d2d0ce;\n}\n\n.ac-pushButton.style-destructive:enabled {\n    /*destructive active*/\n    background-color: #e50000;\n    color: #ffffff;\n    border: 1px solid #e50000;\n}\n\n.ac-pushButton.style-destructive:hover:enabled {\n    /*destructive hover*/\n    background-color: #bf0000;\n    color: #ffffff;\n    border: 1px solid #bf0000;\n}\n\n.ac-pushButton.style-destructive:active:enabled {\n    /*destructive press*/\n    background-color: #ac0202;\n    color: #ffffff;\n    border: 1px solid #ac0202;\n}\n\n.ac-pushButton.style-destructive:focus:enabled {\n    /*destructive focus*/\n    background-color: #e50000;\n    color: #ffffff;\n    border: 1px solid #bf0000;\n    box-shadow: 0 0 0 2px #f3bebe;\n}\n\n.ac-pushButton:hover:enabled {\n    /*default hover*/\n    background-color: #eef6fc;\n    color: #3b3a39;\n    border: 1px solid #0078d4;\n}\n\n.ac-pushButton:active:enabled {\n    /*default press*/\n    background-color: #deecf9;\n    color: #3b3a39;\n    border: 1px solid #0078d4;\n}\n\n.ac-pushButton:focus:enabled {\n    /*default focus*/\n    border: 1px solid #0078d4;\n    background-color: #c7e0f4;\n    box-shadow: 0 0 0 2px #e3eff9;\n    color: #3b3a39;\n}\n\n.ac-pushButton:disabled {\n    /*default disabled*/\n    background-color: #ffffff;\n    color: #979593;\n    border: 1px solid #edebe9;\n}\n\n.ac-input {\n    /*rest single line*/\n    font-family: 'Segoe UI';\n    font-size: 14px;\n    line-height: 20px;\n    color: #212121;\n    background-color: inherit;\n    border: 1px solid #605e5c;\n    border-radius: 4px;\n    padding: 4px 4px 4px 8px;\n}\n\n.ac-toggleInput {\n    font-family: 'Segoe UI';\n    font-size: 14px;\n    line-height: 20px;\n    color: #212121;\n    background-color: inherit;\n    padding: 4px 4px 4px 8px;\n    border: none;\n}\n\n.ac-dateInput,\n.ac-timeInput {\n    padding-bottom: 4px;\n    padding-top: 4px;\n    padding-right: 4px;\n    font-family: 'Segoe UI';\n    font-size: 14px;\n    line-height: 20px;\n    letter-spacing: -0.15px;\n}\n\n.ac-input.ac-textInput,\n.ac-input.ac-numberInput {\n    resize: none;\n    background-color: #ffffff;\n}\n\n.ac-numberInputError {\n    border: 1px solid #c8191f;\n    box-shadow: 0 0 0 2px #fbd6d7;\n}\n\n.ac-input.ac-textInput:focus,\n.ac-input.ac-textInput.ac-multiline:focus,\n.ac-input.ac-numberInput:focus,\n.ac-input.ac-textInput:hover,\n.ac-input.ac-textInput.ac-multiline:hover,\n.ac-input.ac-numberInput:hover {\n    border: 1px solid #0078d4;\n}\n\n.ac-fact-title {\n    font-weight: 600;\n}\n\n.ac-fact-value {\n    font-weight: 400;\n}\n\n.ac-multiline {\n    min-height: 72px;\n    box-sizing: border-box;\n}\n\n.ac-input.ac-textInput:focus::placeholder,\n.ac-input.ac-textInput.ac-multiline:focus::placeholder,\n.ac-input.ac-numberInput:focus::placeholder {\n    color: #797775;\n}\n\n.ac-input.ac-textInput::placeholder,\n.ac-input.ac-textInput.ac-multiline::placeholder,\n.ac-input.ac-numberInput::placeholder {\n    color: #797775;\n}\n\n.ac-input,\n.ac-multichoiceInput {\n    outline: none;\n}\n\n.ac-multichoiceInput:focus,\n.ac-multichoiceInput:hover {\n    border: 1px solid #0078d4;\n}\n\n.ac-multiInput,\n.ac-singleInput {\n    border: none;\n}\n\n.ac-choiceSetInput-expanded {\n    border: none;\n}\n\n.ac-choiceSetInput-compact {\n    background-color: #ffffff;\n}\n\n.ac-input.ac-dropdown {\n    padding-bottom: 4px;\n    padding-top: 4px;\n    padding-left: 8px;\n    padding-right: 8px;\n    background-color: #ffffff;\n    appearance: auto;\n}\n\n.ac-input.ac-dropdown:focus,\n.ac-input.ac-dropdown:hover {\n    border: 1px solid #0767b3;\n    box-shadow: 0 0 0 2px #e3eff9;\n    appearance: auto;\n}\n\ninput[type='radio'] {\n    -webkit-appearance: none;\n    height: 16px;\n    width: 16px;\n    background-size: 16px;\n    background-image: url(${f});\n    outline: none;\n}\n\ninput[type='radio']:checked {\n    background-image: url(${m});\n}\n\ninput[type='checkbox'] {\n    -webkit-appearance: none;\n    height: 16px;\n    width: 16px;\n    background-size: 16px;\n    background-image: url(${g});\n    outline: none;\n    background-color: #ffffff;\n}\n\ninput[type='checkbox']:checked {\n    background-image: url(${v});\n}\n\n.ac-spinner {\n    display: inline-block;\n    width: 16px;\n    height: 16px;\n    border: 2px solid;\n    border-radius: 50%;\n    border-top-color: transparent;\n    animation: spin 1s linear infinite;\n    -webkit-animation: spin 1s linear infinite;\n}\n\n.ac-pushButton .ac-spinner {\n    color: #0078d7;\n}\n\n.ac-pushButton.primary:enabled .ac-spinner {\n    color: #ffffff;\n}\n\n@keyframes spin {\n    to {\n        -webkit-transform: rotate(360deg);\n        transform: rotate(360deg);\n    }\n}\n@-webkit-keyframes spin {\n    to {\n        -webkit-transform: rotate(360deg);\n        transform: rotate(360deg);\n    }\n}\n\n.ac-overlay-spinner {\n    display: inline-block;\n    border-top-color: transparent !important;\n    -webkit-animation: spin 1s linear infinite;\n    animation: spin 1s linear infinite;\n    border: 2px solid #0078d7;\n    border-radius: 50%;\n    width: 18px;\n    height: 18px;\n    left: 50%;\n    position: relative;\n    margin-top: 8px;\n    margin-bottom: 16px;\n}\n\n.input-placeholder,\n::placeholder {\n    color: #777777;\n}\n\ninput[type='number']::-webkit-outer-spin-button,\ninput[type='number']::-webkit-inner-spin-button {\n    -webkit-appearance: none;\n    margin: 0;\n}\n\n.ac-input.ac-numberInput.error,\n.ac-input.ac-numberInput.error:focus {\n    border: 1px solid rgb(200, 25, 31);\n    box-shadow: 0 0 0 2px rgb(251, 214, 215);\n}\n\n.ac-requiredPlaceHolder {\n    font-size: 12px;\n    line-height: 20px;\n    font-family: 'Segoe UI';\n    color: #212121;\n    background-color: inherit;\n}\n\n/* ACV2 specific styles */\n\n/* Invisible overlay to disable user interaction in the card */\n.aaf-invisible-overlay {\n    position: absolute;\n    left: 0;\n    top: 0;\n    width: 100%;\n    height: 100%;\n    background-color: transparent;\n    z-index: 1;\n}\n\n/* Overlay for all elements except buttons */\n.aaf-per-action-progress-overlay {\n    position: absolute;\n    left: 0;\n    top: 0;\n    width: 100%;\n    height: 100%;\n    background-color: rgba(255, 255, 255, 0.4);\n    display: flex;\n    justify-content: center;\n    align-items: center;\n}\n\n/* Overlay for auto-refresh action execution*/\n.aaf-per-action-progress-overlay.refresh {\n    align-items: start;\n    margin-top: 8px;\n    position: static;\n    height: 22px;\n}\n\n@keyframes aaf-spinner-rotate {\n    from {\n        transform: rotate(0);\n    }\n    to {\n        transform: rotate(360deg);\n    }\n}\n\n/* Spinner for all elements except buttons */\n.aaf-spinner {\n    width: 18px;\n    height: 18px;\n    border-radius: 50%;\n    border-width: 2px;\n    border-style: solid;\n    border-color: #0078d4 #0078d4 #0078d4 transparent;\n    animation-name: aaf-spinner-rotate;\n    animation: spin 1s linear infinite;\n}\n\n/* Overlay for default button */\n.ac-pushButton .aaf-per-action-progress-overlay {\n    background-color: #ffffff;\n}\n\n/* Spinner for default button */\n.ac-pushButton .aaf-spinner {\n    border-color: #0078d4 #0078d4 #0078d4 transparent;\n}\n\n/* Overlay for positive button */\n.ac-pushButton.style-positive .aaf-per-action-progress-overlay {\n    background-color: #0078d4;\n}\n\n/* Spinner for positive button */\n.ac-pushButton.style-positive .aaf-spinner {\n    border-color: transparent #ffffff #ffffff #ffffff;\n}\n\n/* Overlay for destructive button */\n.ac-pushButton.style-destructive .aaf-per-action-progress-overlay {\n    background-color: #e50000;\n}\n\n/* Spinner for destructive button */\n.ac-pushButton.style-destructive .aaf-spinner {\n    border-color: transparent #ffffff #ffffff #ffffff;\n}\n\n.ac-hidden {\n    display: none !important;\n}\n\n.ac-inlineActionButton {\n    overflow: hidden;\n    text-overflow: ellipsis;\n    text-align: center;\n    vertical-align: middle;\n    cursor: pointer;\n    font-family: 'Segoe UI', sans-serif;\n    font-size: 14px;\n    -webkit-user-select: none;\n    -moz-user-select: none;\n    -ms-user-select: none;\n    user-select: none;\n    border: none;\n    background-color: transparent;\n    height: 31px;\n}\n\n.ac-inlineActionButton.textOnly {\n    padding: 0 8px;\n}\n\n.ac-inlineActionButton.iconOnly {\n    padding: 0;\n}\n\n.ac-inlineActionButton:hover {\n    background-color: #eeeeee;\n}\n\n.ac-inlineActionButton:active {\n    background-color: #cccccc;\n}\n\n.ac-media-poster {\n}\n\n.ac-media-poster.empty {\n    height: 200px;\n    background-color: #f2f2f2;\n}\n\n.ac-media-playButton {\n    width: 56px;\n    height: 56px;\n    border: 1px solid #eeeeee;\n    border-radius: 28px;\n    box-shadow: 0px 0px 10px #eeeeee;\n    background-color: rgba(255, 255, 255, 0.9);\n    color: black;\n    cursor: pointer;\n}\n\n.ac-media-playButton-arrow {\n    color: black;\n    width: auto !important;\n    height: auto !important;\n}\n\n.ac-media-playButton:hover {\n    background-color: white;\n}\n\n/* Fix for markdown list is breaking in TextBlock*/\n.ac-textBlock > ul,\n.ac-textBlock > ol,\n.ac-textBlock > li {\n    width: auto !important;\n}\n`,"",{version:3,sources:["webpack://./src/util/AdaptiveCardStylesLightMode.scss"],names:[],mappings:"AAAA;IACI,eAAe;AACnB;;AAEA;IACI,0BAA0B;AAC9B;;AAEA;IACI,cAAc;AAClB;;AAEA;IACI,cAAc;AAClB;;AAEA;IACI,cAAc;AAClB;;AAEA;IACI,cAAc;AAClB;;AAEA;IACI,aAAa;AACjB;;AAEA;IACI,sBAAsB;AAC1B;;AAEA;;IAEI,YAAY;IACZ,aAAa;IACb,YAAY;AAChB;;AAEA;;;;;IAKI,oCAAoC;IACpC,aAAa;IACb,YAAY;AAChB;;AAEA;;IAEI,qCAAqC;IACrC,aAAa;IACb,YAAY;AAChB;;AAEA;IACI,iBAAiB;IACjB,sBAAsB;IACtB,eAAe;IACf,gBAAgB;IAChB,uBAAuB;IACvB,eAAe;IACf,iBAAiB;IACjB,uBAAuB;IACvB,gBAAgB;IAChB,wBAAwB;IACxB,yBAAyB;IACzB,sBAAsB;IACtB,qBAAqB;IACrB,iBAAiB;IACjB,yBAAyB;IACzB,cAAc;IACd,kBAAkB;IAClB,aAAa;IACb,yBAAyB;IACzB,WAAW,EAAE,0BAA0B;AAC3C;;AAEA;;IAEI,2BAA2B;IAC3B,yBAAyB;IACzB,cAAc;IACd,yBAAyB;AAC7B;;AAEA;;IAEI,0BAA0B;IAC1B,yBAAyB;IACzB,cAAc;IACd,yBAAyB;AAC7B;;AAEA;;IAEI,0BAA0B;IAC1B,yBAAyB;IACzB,cAAc;IACd,yBAAyB;AAC7B;;AAEA;;IAEI,0BAA0B;IAC1B,yBAAyB;IACzB,cAAc;IACd,yBAAyB;IACzB,6BAA6B;AACjC;;AAEA;;;IAGI,0CAA0C;IAC1C,yBAAyB;IACzB,cAAc;IACd,yBAAyB;AAC7B;;AAEA;IACI,qBAAqB;IACrB,yBAAyB;IACzB,cAAc;IACd,yBAAyB;AAC7B;;AAEA;IACI,oBAAoB;IACpB,yBAAyB;IACzB,cAAc;IACd,yBAAyB;AAC7B;;AAEA;IACI,oBAAoB;IACpB,yBAAyB;IACzB,cAAc;IACd,yBAAyB;AAC7B;;AAEA;IACI,oBAAoB;IACpB,yBAAyB;IACzB,cAAc;IACd,yBAAyB;IACzB,6BAA6B;AACjC;;AAEA;IACI,gBAAgB;IAChB,yBAAyB;IACzB,cAAc;IACd,yBAAyB;AAC7B;;AAEA;IACI,gBAAgB;IAChB,yBAAyB;IACzB,cAAc;IACd,yBAAyB;AAC7B;;AAEA;IACI,gBAAgB;IAChB,yBAAyB;IACzB,yBAAyB;IACzB,6BAA6B;IAC7B,cAAc;AAClB;;AAEA;IACI,mBAAmB;IACnB,yBAAyB;IACzB,cAAc;IACd,yBAAyB;AAC7B;;AAEA;IACI,mBAAmB;IACnB,uBAAuB;IACvB,eAAe;IACf,iBAAiB;IACjB,cAAc;IACd,yBAAyB;IACzB,yBAAyB;IACzB,kBAAkB;IAClB,wBAAwB;AAC5B;;AAEA;IACI,uBAAuB;IACvB,eAAe;IACf,iBAAiB;IACjB,cAAc;IACd,yBAAyB;IACzB,wBAAwB;IACxB,YAAY;AAChB;;AAEA;;IAEI,mBAAmB;IACnB,gBAAgB;IAChB,kBAAkB;IAClB,uBAAuB;IACvB,eAAe;IACf,iBAAiB;IACjB,uBAAuB;AAC3B;;AAEA;;IAEI,YAAY;IACZ,yBAAyB;AAC7B;;AAEA;IACI,yBAAyB;IACzB,6BAA6B;AACjC;;AAEA;;;;;;IAMI,yBAAyB;AAC7B;;AAEA;IACI,gBAAgB;AACpB;;AAEA;IACI,gBAAgB;AACpB;;AAEA;IACI,gBAAgB;IAChB,sBAAsB;AAC1B;;AAEA;;;IAGI,cAAc;AAClB;;AAEA;;;IAGI,cAAc;AAClB;;AAEA;;IAEI,aAAa;AACjB;;AAEA;;IAEI,yBAAyB;AAC7B;;AAEA;;IAEI,YAAY;AAChB;;AAEA;IACI,YAAY;AAChB;;AAEA;IACI,yBAAyB;AAC7B;;AAEA;IACI,mBAAmB;IACnB,gBAAgB;IAChB,iBAAiB;IACjB,kBAAkB;IAClB,yBAAyB;IACzB,gBAAgB;AACpB;;AAEA;;IAEI,yBAAyB;IACzB,6BAA6B;IAC7B,gBAAgB;AACpB;;AAEA;IACI,wBAAwB;IACxB,YAAY;IACZ,WAAW;IACX,qBAAqB;IACrB,yDAAoD;IACpD,aAAa;AACjB;;AAEA;IACI,yDAAmD;AACvD;;AAEA;IACI,wBAAwB;IACxB,YAAY;IACZ,WAAW;IACX,qBAAqB;IACrB,yDAA8C;IAC9C,aAAa;IACb,yBAAyB;AAC7B;;AAEA;IACI,yDAAsD;AAC1D;;AAEA;IACI,qBAAqB;IACrB,WAAW;IACX,YAAY;IACZ,iBAAiB;IACjB,kBAAkB;IAClB,6BAA6B;IAC7B,kCAAkC;IAClC,0CAA0C;AAC9C;;AAEA;IACI,cAAc;AAClB;;AAEA;IACI,cAAc;AAClB;;AAEA;IACI;QACI,iCAAiC;QACjC,yBAAyB;IAC7B;AACJ;AACA;IACI;QACI,iCAAiC;QACjC,yBAAyB;IAC7B;AACJ;;AAEA;IACI,qBAAqB;IACrB,wCAAwC;IACxC,0CAA0C;IAC1C,kCAAkC;IAClC,yBAAyB;IACzB,kBAAkB;IAClB,WAAW;IACX,YAAY;IACZ,SAAS;IACT,kBAAkB;IAClB,eAAe;IACf,mBAAmB;AACvB;;AAEA;;IAEI,cAAc;AAClB;;AAEA;;IAEI,wBAAwB;IACxB,SAAS;AACb;;AAEA;;IAEI,kCAAkC;IAClC,wCAAwC;AAC5C;;AAEA;IACI,eAAe;IACf,iBAAiB;IACjB,uBAAuB;IACvB,cAAc;IACd,yBAAyB;AAC7B;;AAEA,yBAAyB;;AAEzB,8DAA8D;AAC9D;IACI,kBAAkB;IAClB,OAAO;IACP,MAAM;IACN,WAAW;IACX,YAAY;IACZ,6BAA6B;IAC7B,UAAU;AACd;;AAEA,4CAA4C;AAC5C;IACI,kBAAkB;IAClB,OAAO;IACP,MAAM;IACN,WAAW;IACX,YAAY;IACZ,0CAA0C;IAC1C,aAAa;IACb,uBAAuB;IACvB,mBAAmB;AACvB;;AAEA,6CAA6C;AAC7C;IACI,kBAAkB;IAClB,eAAe;IACf,gBAAgB;IAChB,YAAY;AAChB;;AAEA;IACI;QACI,oBAAoB;IACxB;IACA;QACI,yBAAyB;IAC7B;AACJ;;AAEA,4CAA4C;AAC5C;IACI,WAAW;IACX,YAAY;IACZ,kBAAkB;IAClB,iBAAiB;IACjB,mBAAmB;IACnB,iDAAiD;IACjD,kCAAkC;IAClC,kCAAkC;AACtC;;AAEA,+BAA+B;AAC/B;IACI,yBAAyB;AAC7B;;AAEA,+BAA+B;AAC/B;IACI,iDAAiD;AACrD;;AAEA,gCAAgC;AAChC;IACI,yBAAyB;AAC7B;;AAEA,gCAAgC;AAChC;IACI,iDAAiD;AACrD;;AAEA,mCAAmC;AACnC;IACI,yBAAyB;AAC7B;;AAEA,mCAAmC;AACnC;IACI,iDAAiD;AACrD;;AAEA;IACI,wBAAwB;AAC5B;;AAEA;IACI,gBAAgB;IAChB,uBAAuB;IACvB,kBAAkB;IAClB,sBAAsB;IACtB,eAAe;IACf,mCAAmC;IACnC,eAAe;IACf,yBAAyB;IACzB,sBAAsB;IACtB,qBAAqB;IACrB,iBAAiB;IACjB,YAAY;IACZ,6BAA6B;IAC7B,YAAY;AAChB;;AAEA;IACI,cAAc;AAClB;;AAEA;IACI,UAAU;AACd;;AAEA;IACI,yBAAyB;AAC7B;;AAEA;IACI,yBAAyB;AAC7B;;AAEA;AACA;;AAEA;IACI,aAAa;IACb,yBAAyB;AAC7B;;AAEA;IACI,WAAW;IACX,YAAY;IACZ,yBAAyB;IACzB,mBAAmB;IACnB,gCAAgC;IAChC,0CAA0C;IAC1C,YAAY;IACZ,eAAe;AACnB;;AAEA;IACI,YAAY;IACZ,sBAAsB;IACtB,uBAAuB;AAC3B;;AAEA;IACI,uBAAuB;AAC3B;;AAEA,kDAAkD;AAClD;;;IAGI,sBAAsB;AAC1B",sourcesContent:[".ac-image.ac-selectable {\r\n    cursor: pointer;\r\n}\r\n\r\na.ac-anchor {\r\n    text-decoration: underline;\r\n}\r\n\r\na.ac-anchor:link {\r\n    color: #005a9e;\r\n}\r\n\r\na.ac-anchor:visited {\r\n    color: #005a9e;\r\n}\r\n\r\na.ac-anchor:link:active {\r\n    color: #005a9e;\r\n}\r\n\r\na.ac-anchor:visited:active {\r\n    color: #005a9e;\r\n}\r\n\r\n.ac-container:not(.ac-adaptiveCard) {\r\n    outline: none;\r\n}\r\n\r\n.ac-adaptiveCard {\r\n    outline-color: #0767b7;\r\n}\r\n\r\n.ac-container.ac-selectable,\r\n.ac-columnSet.ac-selectable {\r\n    padding: 0px;\r\n    outline: none;\r\n    border: none;\r\n}\r\n\r\n.ac-container.ac-selectable:hover,\r\n.ac-columnSet.ac-selectable:hover,\r\n.ac-container.ac-selectable:focus,\r\n.ac-columnSet.ac-selectable:focus,\r\na.ac-anchor:focus {\r\n    background-color: rgba(0, 0, 0, 0.1);\r\n    outline: none;\r\n    border: none;\r\n}\r\n\r\n.ac-container.ac-selectable:active,\r\n.ac-columnSet.ac-selectable:active {\r\n    background-color: rgba(0, 0, 0, 0.15);\r\n    outline: none;\r\n    border: none;\r\n}\r\n\r\n.ac-pushButton {\r\n    /*default active*/\r\n    vertical-align: middle;\r\n    cursor: default;\r\n    overflow: hidden;\r\n    font-family: 'Segoe UI';\r\n    font-size: 14px;\r\n    line-height: 20px;\r\n    letter-spacing: -0.15px;\r\n    font-weight: 500;\r\n    padding: 6px 8px 6px 8px;\r\n    -webkit-user-select: none;\r\n    -moz-user-select: none;\r\n    -ms-user-select: none;\r\n    user-select: none;\r\n    background-color: #ffffff;\r\n    color: #0078d4;\r\n    border-radius: 4px;\r\n    outline: none;\r\n    border: 1px solid #0078d4;\r\n    margin: 2px; /* needed for box-shadow */\r\n}\r\n\r\n.ac-pushButton.primary:enabled,\r\n.ac-pushButton.style-positive:enabled {\r\n    /*primary, positive active*/\r\n    background-color: #0078d7;\r\n    color: #ffffff;\r\n    border: 1px solid #0078d7;\r\n}\r\n\r\n.ac-pushButton.primary:hover:enabled,\r\n.ac-pushButton.style-positive:hover:enabled {\r\n    /*primary, positive hover*/\r\n    background-color: #106ebe;\r\n    color: #ffffff;\r\n    border: 1px solid #106ebe;\r\n}\r\n\r\n.ac-pushButton.primary:active:enabled,\r\n.ac-pushButton.style-positive:active:enabled {\r\n    /*primary, positive press*/\r\n    background-color: #005a9e;\r\n    color: #ffffff;\r\n    border: 1px solid #005a9e;\r\n}\r\n\r\n.ac-pushButton.primary:focus:enabled,\r\n.ac-pushButton.style-positive:focus:enabled {\r\n    /*primary, positive focus*/\r\n    background-color: #005a9e;\r\n    color: #ffffff;\r\n    border: 1px solid #005a9e;\r\n    box-shadow: 0 0 0 2px #e3eff9;\r\n}\r\n\r\n.ac-pushButton.primary:disabled,\r\n.ac-pushButton.style-positive:disabled,\r\n.ac-pushButton.style-destructive:disabled {\r\n    /*primary, positive, destructive disabled*/\r\n    background-color: #d2d0ce;\r\n    color: #ffffff;\r\n    border: 1px solid #d2d0ce;\r\n}\r\n\r\n.ac-pushButton.style-destructive:enabled {\r\n    /*destructive active*/\r\n    background-color: #e50000;\r\n    color: #ffffff;\r\n    border: 1px solid #e50000;\r\n}\r\n\r\n.ac-pushButton.style-destructive:hover:enabled {\r\n    /*destructive hover*/\r\n    background-color: #bf0000;\r\n    color: #ffffff;\r\n    border: 1px solid #bf0000;\r\n}\r\n\r\n.ac-pushButton.style-destructive:active:enabled {\r\n    /*destructive press*/\r\n    background-color: #ac0202;\r\n    color: #ffffff;\r\n    border: 1px solid #ac0202;\r\n}\r\n\r\n.ac-pushButton.style-destructive:focus:enabled {\r\n    /*destructive focus*/\r\n    background-color: #e50000;\r\n    color: #ffffff;\r\n    border: 1px solid #bf0000;\r\n    box-shadow: 0 0 0 2px #f3bebe;\r\n}\r\n\r\n.ac-pushButton:hover:enabled {\r\n    /*default hover*/\r\n    background-color: #eef6fc;\r\n    color: #3b3a39;\r\n    border: 1px solid #0078d4;\r\n}\r\n\r\n.ac-pushButton:active:enabled {\r\n    /*default press*/\r\n    background-color: #deecf9;\r\n    color: #3b3a39;\r\n    border: 1px solid #0078d4;\r\n}\r\n\r\n.ac-pushButton:focus:enabled {\r\n    /*default focus*/\r\n    border: 1px solid #0078d4;\r\n    background-color: #c7e0f4;\r\n    box-shadow: 0 0 0 2px #e3eff9;\r\n    color: #3b3a39;\r\n}\r\n\r\n.ac-pushButton:disabled {\r\n    /*default disabled*/\r\n    background-color: #ffffff;\r\n    color: #979593;\r\n    border: 1px solid #edebe9;\r\n}\r\n\r\n.ac-input {\r\n    /*rest single line*/\r\n    font-family: 'Segoe UI';\r\n    font-size: 14px;\r\n    line-height: 20px;\r\n    color: #212121;\r\n    background-color: inherit;\r\n    border: 1px solid #605e5c;\r\n    border-radius: 4px;\r\n    padding: 4px 4px 4px 8px;\r\n}\r\n\r\n.ac-toggleInput {\r\n    font-family: 'Segoe UI';\r\n    font-size: 14px;\r\n    line-height: 20px;\r\n    color: #212121;\r\n    background-color: inherit;\r\n    padding: 4px 4px 4px 8px;\r\n    border: none;\r\n}\r\n\r\n.ac-dateInput,\r\n.ac-timeInput {\r\n    padding-bottom: 4px;\r\n    padding-top: 4px;\r\n    padding-right: 4px;\r\n    font-family: 'Segoe UI';\r\n    font-size: 14px;\r\n    line-height: 20px;\r\n    letter-spacing: -0.15px;\r\n}\r\n\r\n.ac-input.ac-textInput,\r\n.ac-input.ac-numberInput {\r\n    resize: none;\r\n    background-color: #ffffff;\r\n}\r\n\r\n.ac-numberInputError {\r\n    border: 1px solid #c8191f;\r\n    box-shadow: 0 0 0 2px #fbd6d7;\r\n}\r\n\r\n.ac-input.ac-textInput:focus,\r\n.ac-input.ac-textInput.ac-multiline:focus,\r\n.ac-input.ac-numberInput:focus,\r\n.ac-input.ac-textInput:hover,\r\n.ac-input.ac-textInput.ac-multiline:hover,\r\n.ac-input.ac-numberInput:hover {\r\n    border: 1px solid #0078d4;\r\n}\r\n\r\n.ac-fact-title {\r\n    font-weight: 600;\r\n}\r\n\r\n.ac-fact-value {\r\n    font-weight: 400;\r\n}\r\n\r\n.ac-multiline {\r\n    min-height: 72px;\r\n    box-sizing: border-box;\r\n}\r\n\r\n.ac-input.ac-textInput:focus::placeholder,\r\n.ac-input.ac-textInput.ac-multiline:focus::placeholder,\r\n.ac-input.ac-numberInput:focus::placeholder {\r\n    color: #797775;\r\n}\r\n\r\n.ac-input.ac-textInput::placeholder,\r\n.ac-input.ac-textInput.ac-multiline::placeholder,\r\n.ac-input.ac-numberInput::placeholder {\r\n    color: #797775;\r\n}\r\n\r\n.ac-input,\r\n.ac-multichoiceInput {\r\n    outline: none;\r\n}\r\n\r\n.ac-multichoiceInput:focus,\r\n.ac-multichoiceInput:hover {\r\n    border: 1px solid #0078d4;\r\n}\r\n\r\n.ac-multiInput,\r\n.ac-singleInput {\r\n    border: none;\r\n}\r\n\r\n.ac-choiceSetInput-expanded {\r\n    border: none;\r\n}\r\n\r\n.ac-choiceSetInput-compact {\r\n    background-color: #ffffff;\r\n}\r\n\r\n.ac-input.ac-dropdown {\r\n    padding-bottom: 4px;\r\n    padding-top: 4px;\r\n    padding-left: 8px;\r\n    padding-right: 8px;\r\n    background-color: #ffffff;\r\n    appearance: auto;\r\n}\r\n\r\n.ac-input.ac-dropdown:focus,\r\n.ac-input.ac-dropdown:hover {\r\n    border: 1px solid #0767b3;\r\n    box-shadow: 0 0 0 2px #e3eff9;\r\n    appearance: auto;\r\n}\r\n\r\ninput[type='radio'] {\r\n    -webkit-appearance: none;\r\n    height: 16px;\r\n    width: 16px;\r\n    background-size: 16px;\r\n    background-image: url('./images/radioButtonOff.png');\r\n    outline: none;\r\n}\r\n\r\ninput[type='radio']:checked {\r\n    background-image: url('./images/radioButtonOn.png');\r\n}\r\n\r\ninput[type='checkbox'] {\r\n    -webkit-appearance: none;\r\n    height: 16px;\r\n    width: 16px;\r\n    background-size: 16px;\r\n    background-image: url('./images/checkbox.png');\r\n    outline: none;\r\n    background-color: #ffffff;\r\n}\r\n\r\ninput[type='checkbox']:checked {\r\n    background-image: url('./images/checkboxSelected.png');\r\n}\r\n\r\n.ac-spinner {\r\n    display: inline-block;\r\n    width: 16px;\r\n    height: 16px;\r\n    border: 2px solid;\r\n    border-radius: 50%;\r\n    border-top-color: transparent;\r\n    animation: spin 1s linear infinite;\r\n    -webkit-animation: spin 1s linear infinite;\r\n}\r\n\r\n.ac-pushButton .ac-spinner {\r\n    color: #0078d7;\r\n}\r\n\r\n.ac-pushButton.primary:enabled .ac-spinner {\r\n    color: #ffffff;\r\n}\r\n\r\n@keyframes spin {\r\n    to {\r\n        -webkit-transform: rotate(360deg);\r\n        transform: rotate(360deg);\r\n    }\r\n}\r\n@-webkit-keyframes spin {\r\n    to {\r\n        -webkit-transform: rotate(360deg);\r\n        transform: rotate(360deg);\r\n    }\r\n}\r\n\r\n.ac-overlay-spinner {\r\n    display: inline-block;\r\n    border-top-color: transparent !important;\r\n    -webkit-animation: spin 1s linear infinite;\r\n    animation: spin 1s linear infinite;\r\n    border: 2px solid #0078d7;\r\n    border-radius: 50%;\r\n    width: 18px;\r\n    height: 18px;\r\n    left: 50%;\r\n    position: relative;\r\n    margin-top: 8px;\r\n    margin-bottom: 16px;\r\n}\r\n\r\n.input-placeholder,\r\n::placeholder {\r\n    color: #777777;\r\n}\r\n\r\ninput[type='number']::-webkit-outer-spin-button,\r\ninput[type='number']::-webkit-inner-spin-button {\r\n    -webkit-appearance: none;\r\n    margin: 0;\r\n}\r\n\r\n.ac-input.ac-numberInput.error,\r\n.ac-input.ac-numberInput.error:focus {\r\n    border: 1px solid rgb(200, 25, 31);\r\n    box-shadow: 0 0 0 2px rgb(251, 214, 215);\r\n}\r\n\r\n.ac-requiredPlaceHolder {\r\n    font-size: 12px;\r\n    line-height: 20px;\r\n    font-family: 'Segoe UI';\r\n    color: #212121;\r\n    background-color: inherit;\r\n}\r\n\r\n/* ACV2 specific styles */\r\n\r\n/* Invisible overlay to disable user interaction in the card */\r\n.aaf-invisible-overlay {\r\n    position: absolute;\r\n    left: 0;\r\n    top: 0;\r\n    width: 100%;\r\n    height: 100%;\r\n    background-color: transparent;\r\n    z-index: 1;\r\n}\r\n\r\n/* Overlay for all elements except buttons */\r\n.aaf-per-action-progress-overlay {\r\n    position: absolute;\r\n    left: 0;\r\n    top: 0;\r\n    width: 100%;\r\n    height: 100%;\r\n    background-color: rgba(255, 255, 255, 0.4);\r\n    display: flex;\r\n    justify-content: center;\r\n    align-items: center;\r\n}\r\n\r\n/* Overlay for auto-refresh action execution*/\r\n.aaf-per-action-progress-overlay.refresh {\r\n    align-items: start;\r\n    margin-top: 8px;\r\n    position: static;\r\n    height: 22px;\r\n}\r\n\r\n@keyframes aaf-spinner-rotate {\r\n    from {\r\n        transform: rotate(0);\r\n    }\r\n    to {\r\n        transform: rotate(360deg);\r\n    }\r\n}\r\n\r\n/* Spinner for all elements except buttons */\r\n.aaf-spinner {\r\n    width: 18px;\r\n    height: 18px;\r\n    border-radius: 50%;\r\n    border-width: 2px;\r\n    border-style: solid;\r\n    border-color: #0078d4 #0078d4 #0078d4 transparent;\r\n    animation-name: aaf-spinner-rotate;\r\n    animation: spin 1s linear infinite;\r\n}\r\n\r\n/* Overlay for default button */\r\n.ac-pushButton .aaf-per-action-progress-overlay {\r\n    background-color: #ffffff;\r\n}\r\n\r\n/* Spinner for default button */\r\n.ac-pushButton .aaf-spinner {\r\n    border-color: #0078d4 #0078d4 #0078d4 transparent;\r\n}\r\n\r\n/* Overlay for positive button */\r\n.ac-pushButton.style-positive .aaf-per-action-progress-overlay {\r\n    background-color: #0078d4;\r\n}\r\n\r\n/* Spinner for positive button */\r\n.ac-pushButton.style-positive .aaf-spinner {\r\n    border-color: transparent #ffffff #ffffff #ffffff;\r\n}\r\n\r\n/* Overlay for destructive button */\r\n.ac-pushButton.style-destructive .aaf-per-action-progress-overlay {\r\n    background-color: #e50000;\r\n}\r\n\r\n/* Spinner for destructive button */\r\n.ac-pushButton.style-destructive .aaf-spinner {\r\n    border-color: transparent #ffffff #ffffff #ffffff;\r\n}\r\n\r\n.ac-hidden {\r\n    display: none !important;\r\n}\r\n\r\n.ac-inlineActionButton {\r\n    overflow: hidden;\r\n    text-overflow: ellipsis;\r\n    text-align: center;\r\n    vertical-align: middle;\r\n    cursor: pointer;\r\n    font-family: 'Segoe UI', sans-serif;\r\n    font-size: 14px;\r\n    -webkit-user-select: none;\r\n    -moz-user-select: none;\r\n    -ms-user-select: none;\r\n    user-select: none;\r\n    border: none;\r\n    background-color: transparent;\r\n    height: 31px;\r\n}\r\n\r\n.ac-inlineActionButton.textOnly {\r\n    padding: 0 8px;\r\n}\r\n\r\n.ac-inlineActionButton.iconOnly {\r\n    padding: 0;\r\n}\r\n\r\n.ac-inlineActionButton:hover {\r\n    background-color: #eeeeee;\r\n}\r\n\r\n.ac-inlineActionButton:active {\r\n    background-color: #cccccc;\r\n}\r\n\r\n.ac-media-poster {\r\n}\r\n\r\n.ac-media-poster.empty {\r\n    height: 200px;\r\n    background-color: #f2f2f2;\r\n}\r\n\r\n.ac-media-playButton {\r\n    width: 56px;\r\n    height: 56px;\r\n    border: 1px solid #eeeeee;\r\n    border-radius: 28px;\r\n    box-shadow: 0px 0px 10px #eeeeee;\r\n    background-color: rgba(255, 255, 255, 0.9);\r\n    color: black;\r\n    cursor: pointer;\r\n}\r\n\r\n.ac-media-playButton-arrow {\r\n    color: black;\r\n    width: auto !important;\r\n    height: auto !important;\r\n}\r\n\r\n.ac-media-playButton:hover {\r\n    background-color: white;\r\n}\r\n\r\n/* Fix for markdown list is breaking in TextBlock*/\r\n.ac-textBlock > ul,\r\n.ac-textBlock > ol,\r\n.ac-textBlock > li {\r\n    width: auto !important;\r\n}\r\n"],sourceRoot:""}]);const y=h},5043:function(e,t){"use strict";var n,r,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.LoginRequestResponse=t.ErrorResponse=t.SuccessResponse=t.ActivityResponse=t.ActivityRequestError=t.ActivityRequestTrigger=void 0,(r=t.ActivityRequestTrigger||(t.ActivityRequestTrigger={})).Automatic="automatic",r.Manual="manual";t.ActivityRequestError=function(e,t){this.code=e,this.message=t};var o=function(e){this.request=e};t.ActivityResponse=o;var a=function(e){function t(t,n){var r=e.call(this,t)||this;return r.request=t,r.rawContent=n,r}return i(t,e),t}(o);t.SuccessResponse=a;var s=function(e){function t(t,n){var r=e.call(this,t)||this;return r.request=t,r.error=n,r}return i(t,e),t}(o);t.ErrorResponse=s;var l=function(e){function t(t,n){var r=e.call(this,t)||this;r.request=t,r._auth=n;for(var i=0,o=r._auth.buttons;i<o.length;i++){var a=o[i];if("signin"===a.type&&void 0!==a.value)try{new URL(a.value),r.signinButton=a;break}catch(e){}}return r}return i(t,e),Object.defineProperty(t.prototype,"tokenExchangeResource",{get:function(){return this._auth.tokenExchangeResource},enumerable:!1,configurable:!0}),t}(o);t.LoginRequestResponse=l},5373:(e,t)=>{"use strict";var n=60103,r=60106,i=60107,o=60108,a=60114,s=60109,l=60110,c=60112,u=60113,d=60120,p=60115,h=60116;
/** @license React v17.0.2
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */if("function"==typeof Symbol&&Symbol.for){var f=Symbol.for;n=f("react.element"),r=f("react.portal"),i=f("react.fragment"),o=f("react.strict_mode"),a=f("react.profiler"),s=f("react.provider"),l=f("react.context"),c=f("react.forward_ref"),u=f("react.suspense"),d=f("react.suspense_list"),p=f("react.memo"),h=f("react.lazy"),f("react.block"),f("react.server.block"),f("react.fundamental"),f("react.debug_trace_mode"),f("react.legacy_hidden")}t.isForwardRef=function(e){return function(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case i:case a:case o:case u:case d:return e;default:switch(e=e&&e.$$typeof){case l:case c:case h:case p:case s:return e;default:return t}}case r:return t}}}(e)===c}},5396:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))},s=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.BackgroundImage=t.ContainerBase=t.StylableCardElementContainer=t.ContainerStyleProperty=t.ActionSet=t.ShowCardAction=t.HttpAction=t.HttpHeader=t.ToggleVisibilityAction=t.OpenUrlAction=t.DataQuery=t.ExecuteAction=t.UniversalAction=t.SubmitAction=t.SubmitActionBase=t.Action=t.TimeInput=t.TimeProperty=t.DateInput=t.NumberInput=t.FilteredChoiceSet=t.ChoiceSetInput=t.ChoiceSetInputDataQuery=t.Choice=t.ToggleInput=t.TextInput=t.Input=t.Media=t.YouTubePlayer=t.DailymotionPlayer=t.VimeoPlayer=t.IFrameMediaMediaPlayer=t.CustomMediaPlayer=t.HTML5MediaPlayer=t.MediaPlayer=t.MediaSource=t.CaptionSource=t.ContentSource=t.ImageSet=t.CardElementContainer=t.Image=t.FactSet=t.Fact=t.RichTextBlock=t.TextRun=t.TextBlock=t.BaseTextBlock=t.ActionProperty=t.CardElement=t.renderSeparation=void 0,t.SerializationContext=t.AdaptiveCard=t.Authentication=t.TokenExchangeResource=t.AuthCardButton=t.RefreshDefinition=t.RefreshActionProperty=t.ContainerWithActions=t.ColumnSet=t.Column=t.Container=void 0;var l=n(1050),c=n(3771),u=n(345),d=n(7791),p=n(681),h=n(7222),f=n(5804),m=n(1217),g=n(2378),v=n(4864);function y(e){var t,n,r="undefined"==typeof window?"":null!==(n=null===(t=window.trustedTypes)||void 0===t?void 0:t.emptyHTML)&&void 0!==n?n:"";e.innerHTML=r}function b(e,t,n){if(t.spacing>0||t.lineThickness&&t.lineThickness>0){var r=document.createElement("div");r.className=e.makeCssClassName("ac-"+(n===l.Orientation.Horizontal?"horizontal":"vertical")+"-separator"),r.setAttribute("aria-hidden","true");var i=t.lineColor?u.stringToCssColor(t.lineColor):"";return n===l.Orientation.Horizontal?t.lineThickness?(r.style.paddingTop=t.spacing/2+"px",r.style.marginBottom=t.spacing/2+"px",r.style.borderBottom=t.lineThickness+"px solid "+i):r.style.height=t.spacing+"px":t.lineThickness?(r.style.paddingLeft=t.spacing/2+"px",r.style.marginRight=t.spacing/2+"px",r.style.borderRight=t.lineThickness+"px solid "+i):r.style.width=t.spacing+"px",r.style.overflow="hidden",r.style.flex="0 0 auto",r}}t.renderSeparation=b;var C=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._truncatedDueToOverflow=!1,t}return i(t,e),Object.defineProperty(t.prototype,"lang",{get:function(){return this.getValue(t.langProperty)||(this.parent?this.parent.lang:void 0)},set:function(e){this.setValue(t.langProperty,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isVisible",{get:function(){return this.getValue(t.isVisibleProperty)},set:function(e){c.GlobalSettings.useAdvancedCardBottomTruncation&&!e&&this.undoOverflowTruncation(),this.isVisible!==e&&(this.setValue(t.isVisibleProperty,e),this.updateRenderedElementVisibility(),this._renderedElement&&Te(this)),this._renderedElement&&this._renderedElement.setAttribute("aria-expanded",e.toString())},enumerable:!1,configurable:!0}),t.prototype.internalRenderSeparator=function(){var e=b(this.hostConfig,{spacing:this.hostConfig.getEffectiveSpacing(this.spacing),lineThickness:this.separator?this.hostConfig.separator.lineThickness:void 0,lineColor:this.separator?this.hostConfig.separator.lineColor:void 0},this.separatorOrientation);if(c.GlobalSettings.alwaysBleedSeparators&&e&&this.separatorOrientation===l.Orientation.Horizontal){var t=this.getParentContainer();if(t&&t.getEffectivePadding()){var n=this.hostConfig.paddingDefinitionToSpacingDefinition(t.getEffectivePadding());e.style.marginLeft="-"+n.left+"px",e.style.marginRight="-"+n.right+"px"}}return e},t.prototype.updateRenderedElementVisibility=function(){var e=this.isDesignMode()||this.isVisible?this._defaultRenderedElementDisplayMode:"none";this._renderedElement&&(e?this._renderedElement.style.display=e:this._renderedElement.style.removeProperty("display")),this._separatorElement&&(this.parent&&this.parent.isFirstElement(this)?this._separatorElement.style.display="none":e?this._separatorElement.style.display=e:this._separatorElement.style.removeProperty("display"))},t.prototype.hideElementDueToOverflow=function(){this._renderedElement&&this.isVisible&&(this._renderedElement.style.visibility="hidden",this.isVisible=!1,Te(this,!1))},t.prototype.showElementHiddenDueToOverflow=function(){this._renderedElement&&!this.isVisible&&(this._renderedElement.style.removeProperty("visibility"),this.isVisible=!0,Te(this,!1))},t.prototype.handleOverflow=function(e){if(this.isVisible||this.isHiddenDueToOverflow()){var t=this.truncateOverflow(e);this._truncatedDueToOverflow=t||this._truncatedDueToOverflow,t?t&&!this.isVisible&&this.showElementHiddenDueToOverflow():this.hideElementDueToOverflow()}},t.prototype.resetOverflow=function(){var e=!1;return this._truncatedDueToOverflow&&(this.undoOverflowTruncation(),this._truncatedDueToOverflow=!1,e=!0),this.isHiddenDueToOverflow()&&this.showElementHiddenDueToOverflow(),e},t.prototype.getDefaultSerializationContext=function(){return new Ne},t.prototype.createPlaceholderElement=function(){var e=this.getEffectiveStyleDefinition(),t=u.stringToCssColor(e.foregroundColors.default.subtle),n=document.createElement("div");return n.style.border="1px dashed "+t,n.style.padding="4px",n.style.minHeight="32px",n.style.fontSize="10px",t&&(n.style.color=t),n.innerText=g.Strings.defaults.emptyElementText(this.getJsonTypeName()),n},t.prototype.adjustRenderedElementSize=function(e){"auto"===this.height?e.style.flex="0 0 auto":e.style.flex="1 1 auto"},t.prototype.updateInputsVisualState=function(e){var t=this.getAllInputs(),n=e?W.MouseEnterOnCard:W.MouseLeaveOnCard;t.forEach((function(e){return e.updateVisualState(n)}))},t.prototype.isDisplayed=function(){return void 0!==this._renderedElement&&this.isVisible&&this._renderedElement.offsetHeight>0},t.prototype.overrideInternalRender=function(){return this.internalRender()},t.prototype.applyPadding=function(){if(this.separatorElement&&this.separatorOrientation===l.Orientation.Horizontal)if(c.GlobalSettings.alwaysBleedSeparators&&!this.isBleeding()){var e=new c.PaddingDefinition;this.getImmediateSurroundingPadding(e);var t=this.hostConfig.paddingDefinitionToSpacingDefinition(e);this.separatorElement.style.marginLeft="-"+t.left+"px",this.separatorElement.style.marginRight="-"+t.right+"px"}else this.separatorElement.style.marginRight="0",this.separatorElement.style.marginLeft="0"},t.prototype.truncateOverflow=function(e){return!1},t.prototype.undoOverflowTruncation=function(){},t.prototype.getDefaultPadding=function(){return new c.PaddingDefinition},t.prototype.getHasBackground=function(e){return void 0===e&&(e=!1),!1},t.prototype.getHasBorder=function(){return!1},t.prototype.getPadding=function(){return this._padding},t.prototype.setPadding=function(e){this._padding=e},t.prototype.shouldSerialize=function(e){return void 0!==e.elementRegistry.findByName(this.getJsonTypeName())},Object.defineProperty(t.prototype,"useDefaultSizing",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"separatorOrientation",{get:function(){return l.Orientation.Horizontal},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"defaultStyle",{get:function(){return l.ContainerStyle.Default},enumerable:!1,configurable:!0}),t.prototype.parse=function(t,n){e.prototype.parse.call(this,t,n||new Ne)},t.prototype.asString=function(){return""},t.prototype.isBleeding=function(){return!1},t.prototype.getEffectiveStyle=function(){return this.parent?this.parent.getEffectiveStyle():this.defaultStyle},t.prototype.getEffectiveStyleDefinition=function(){return this.hostConfig.containerStyles.getStyleByName(this.getEffectiveStyle())},t.prototype.getEffectiveTextStyleDefinition=function(){return this.parent?this.parent.getEffectiveTextStyleDefinition():this.hostConfig.textStyles.default},t.prototype.getForbiddenActionTypes=function(){return[]},t.prototype.getImmediateSurroundingPadding=function(e,t,n,r,i){if(void 0===t&&(t=!0),void 0===n&&(n=!0),void 0===r&&(r=!0),void 0===i&&(i=!0),this.parent){var o=t&&this.parent.isTopElement(this),a=n&&this.parent.isRightMostElement(this),s=r&&this.parent.isBottomElement(this),c=i&&this.parent.isLeftMostElement(this),u=this.parent.getEffectivePadding();u&&(o&&u.top!==l.Spacing.None&&(e.top=u.top,o=!1),a&&u.right!==l.Spacing.None&&(e.right=u.right,a=!1),s&&u.bottom!==l.Spacing.None&&(e.bottom=u.bottom,s=!1),c&&u.left!==l.Spacing.None&&(e.left=u.left,c=!1)),(o||a||s||c)&&this.parent.getImmediateSurroundingPadding(e,o,a,s,c)}},t.prototype.getActionCount=function(){return 0},t.prototype.getActionAt=function(e){throw new Error(g.Strings.errors.indexOutOfRange(e))},t.prototype.indexOfAction=function(e){for(var t=0;t<this.getActionCount();t++)if(this.getActionAt(t)===e)return t;return-1},t.prototype.remove=function(){return!!(this.parent&&this.parent instanceof D)&&this.parent.removeItem(this)},t.prototype.render=function(){return this._renderedElement=this.overrideInternalRender(),this._separatorElement=this.internalRenderSeparator(),this._renderedElement?(this.id&&(this._renderedElement.id=this.id),this.customCssSelector&&this._renderedElement.classList.add(this.customCssSelector),this._renderedElement.style.boxSizing="border-box",this._defaultRenderedElementDisplayMode=this._renderedElement.style.display?this._renderedElement.style.display:void 0,this.adjustRenderedElementSize(this._renderedElement),this.updateLayout(!1)):this.isDesignMode()&&(this._renderedElement=this.createPlaceholderElement()),this._renderedElement},t.prototype.updateLayout=function(e){void 0===e&&(e=!0),this.updateRenderedElementVisibility(),this.applyPadding()},t.prototype.updateActionsEnabledState=function(){for(var e=0,t=this.getRootElement().getAllActions();e<t.length;e++)t[e].updateEnabledState()},t.prototype.indexOf=function(e){return-1},t.prototype.isDesignMode=function(){var e=this.getRootElement();return e instanceof Oe&&e.designMode},t.prototype.isFirstElement=function(e){return!0},t.prototype.isLastElement=function(e){return!0},t.prototype.isAtTheVeryLeft=function(){return!this.parent||this.parent.isLeftMostElement(this)&&this.parent.isAtTheVeryLeft()},t.prototype.isAtTheVeryRight=function(){return!this.parent||this.parent.isRightMostElement(this)&&this.parent.isAtTheVeryRight()},t.prototype.isAtTheVeryTop=function(){return!this.parent||this.parent.isFirstElement(this)&&this.parent.isAtTheVeryTop()},t.prototype.isAtTheVeryBottom=function(){return!this.parent||this.parent.isLastElement(this)&&this.parent.isAtTheVeryBottom()},t.prototype.isBleedingAtTop=function(){return!1},t.prototype.isBleedingAtBottom=function(){return!1},t.prototype.isLeftMostElement=function(e){return!0},t.prototype.isRightMostElement=function(e){return!0},t.prototype.isTopElement=function(e){return this.isFirstElement(e)},t.prototype.isBottomElement=function(e){return this.isLastElement(e)},t.prototype.isHiddenDueToOverflow=function(){return void 0!==this._renderedElement&&"hidden"===this._renderedElement.style.visibility},t.prototype.getRootElement=function(){return this.getRootObject()},t.prototype.getParentContainer=function(){for(var e=this.parent;e;){if(e instanceof Se)return e;e=e.parent}},t.prototype.getAllInputs=function(e){return void 0===e&&(e=!0),[]},t.prototype.getAllActions=function(){for(var e=[],t=0;t<this.getActionCount();t++){var n=this.getActionAt(t);n&&e.push(n)}return e},t.prototype.getResourceInformation=function(){return[]},t.prototype.getElementById=function(e){return this.id===e?this:void 0},t.prototype.getActionById=function(e){},t.prototype.getElementByIdFromAction=function(e){for(var t=void 0,n=0;n<this.getActionCount();n++){var r=this.getActionAt(n);if(r instanceof fe&&(t=r.card.getElementById(e)))break}return t},t.prototype.getEffectivePadding=function(){return this.getPadding()||this.getDefaultPadding()},t.prototype.getEffectiveHorizontalAlignment=function(){return void 0!==this.horizontalAlignment?this.horizontalAlignment:this.parent?this.parent.getEffectiveHorizontalAlignment():l.HorizontalAlignment.Left},Object.defineProperty(t.prototype,"hostConfig",{get:function(){return this._hostConfig?this._hostConfig:this.parent?this.parent.hostConfig:d.defaultHostConfig},set:function(e){this._hostConfig=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"index",{get:function(){return this.parent?this.parent.indexOf(this):0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isInteractive",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isStandalone",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isInline",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasVisibleSeparator",{get:function(){return!(!this.parent||!this.separatorElement)&&!this.parent.isFirstElement(this)&&(this.isVisible||this.isDesignMode())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"separatorElement",{get:function(){return this._separatorElement},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!1,configurable:!0}),t.langProperty=new f.StringProperty(f.Versions.v1_1,"lang",!0,/^[a-z]{2,3}$/gi),t.isVisibleProperty=new f.BoolProperty(f.Versions.v1_2,"isVisible",!0),t.separatorProperty=new f.BoolProperty(f.Versions.v1_0,"separator",!1),t.heightProperty=new f.ValueSetProperty(f.Versions.v1_1,"height",[{value:"auto"},{value:"stretch"}],"auto"),t.horizontalAlignmentProperty=new f.EnumProperty(f.Versions.v1_0,"horizontalAlignment",l.HorizontalAlignment),t.spacingProperty=new f.EnumProperty(f.Versions.v1_0,"spacing",l.Spacing,l.Spacing.Default),o([(0,f.property)(t.horizontalAlignmentProperty)],t.prototype,"horizontalAlignment",void 0),o([(0,f.property)(t.spacingProperty)],t.prototype,"spacing",void 0),o([(0,f.property)(t.separatorProperty)],t.prototype,"separator",void 0),o([(0,f.property)(t.heightProperty)],t.prototype,"height",void 0),o([(0,f.property)(t.langProperty)],t.prototype,"lang",null),o([(0,f.property)(t.isVisibleProperty)],t.prototype,"isVisible",null),t}(h.CardObject);t.CardElement=C;var A=function(e){function t(t,n,r){void 0===r&&(r=[]);var i=e.call(this,t,n,void 0)||this;return i.targetVersion=t,i.name=n,i.forbiddenActionTypes=r,i}return i(t,e),t.prototype.parse=function(e,t,n){var r=e;return n.parseAction(r,t[this.name],this.forbiddenActionTypes,r.isDesignMode())},t.prototype.toJSON=function(e,t,n,r){r.serializeValue(t,this.name,n?n.toJSON(r):void 0,void 0,!0)},t}(f.PropertyDefinition);t.ActionProperty=A;var S=function(e){function t(t){var n=e.call(this)||this;return n.ariaHidden=!1,t&&(n.text=t),n}return i(t,e),t.prototype.populateSchema=function(n){e.prototype.populateSchema.call(this,n),n.remove(t.selectActionProperty)},Object.defineProperty(t.prototype,"text",{get:function(){return this.getValue(t.textProperty)},set:function(e){this.setText(e)},enumerable:!1,configurable:!0}),t.prototype.getFontSize=function(e){switch(this.effectiveSize){case l.TextSize.Small:return e.fontSizes.small;case l.TextSize.Medium:return e.fontSizes.medium;case l.TextSize.Large:return e.fontSizes.large;case l.TextSize.ExtraLarge:return e.fontSizes.extraLarge;default:return e.fontSizes.default}},t.prototype.getColorDefinition=function(e,t){switch(t){case l.TextColor.Accent:return e.accent;case l.TextColor.Dark:return e.dark;case l.TextColor.Light:return e.light;case l.TextColor.Good:return e.good;case l.TextColor.Warning:return e.warning;case l.TextColor.Attention:return e.attention;default:return e.default}},t.prototype.setText=function(e){this.setValue(t.textProperty,e)},t.prototype.init=function(e){this.size=e.size,this.weight=e.weight,this.color=e.color,this.isSubtle=e.isSubtle},t.prototype.asString=function(){return this.text},t.prototype.applyStylesTo=function(e){var t,n=this.hostConfig.getFontTypeDefinition(this.effectiveFontType);switch(n.fontFamily&&(e.style.fontFamily=n.fontFamily),this.effectiveSize){case l.TextSize.Small:t=n.fontSizes.small;break;case l.TextSize.Medium:t=n.fontSizes.medium;break;case l.TextSize.Large:t=n.fontSizes.large;break;case l.TextSize.ExtraLarge:t=n.fontSizes.extraLarge;break;default:t=n.fontSizes.default}e.style.fontSize=t+"px";var r,i=this.getColorDefinition(this.getEffectiveStyleDefinition().foregroundColors,this.effectiveColor),o=u.stringToCssColor(this.effectiveIsSubtle?i.subtle:i.default);switch(o&&(e.style.color=o),this.effectiveWeight){case l.TextWeight.Lighter:r=n.fontWeights.lighter;break;case l.TextWeight.Bolder:r=n.fontWeights.bolder;break;default:r=n.fontWeights.default}e.style.fontWeight=r.toString(),this.ariaHidden&&e.setAttribute("aria-hidden","true")},t.prototype.getAllActions=function(){var t=e.prototype.getAllActions.call(this);return this.selectAction&&t.push(this.selectAction),t},Object.defineProperty(t.prototype,"effectiveColor",{get:function(){return void 0!==this.color?this.color:this.getEffectiveTextStyleDefinition().color},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"effectiveFontType",{get:function(){return void 0!==this.fontType?this.fontType:this.getEffectiveTextStyleDefinition().fontType},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"effectiveIsSubtle",{get:function(){return void 0!==this.isSubtle?this.isSubtle:this.getEffectiveTextStyleDefinition().isSubtle},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"effectiveSize",{get:function(){return void 0!==this.size?this.size:this.getEffectiveTextStyleDefinition().size},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"effectiveWeight",{get:function(){return void 0!==this.weight?this.weight:this.getEffectiveTextStyleDefinition().weight},enumerable:!1,configurable:!0}),t.textProperty=new f.StringProperty(f.Versions.v1_0,"text",!0),t.sizeProperty=new f.EnumProperty(f.Versions.v1_0,"size",l.TextSize),t.weightProperty=new f.EnumProperty(f.Versions.v1_0,"weight",l.TextWeight),t.colorProperty=new f.EnumProperty(f.Versions.v1_0,"color",l.TextColor),t.isSubtleProperty=new f.BoolProperty(f.Versions.v1_0,"isSubtle"),t.fontTypeProperty=new f.EnumProperty(f.Versions.v1_2,"fontType",l.FontType),t.selectActionProperty=new A(f.Versions.v1_1,"selectAction",["Action.ShowCard"]),o([(0,f.property)(t.sizeProperty)],t.prototype,"size",void 0),o([(0,f.property)(t.weightProperty)],t.prototype,"weight",void 0),o([(0,f.property)(t.colorProperty)],t.prototype,"color",void 0),o([(0,f.property)(t.fontTypeProperty)],t.prototype,"fontType",void 0),o([(0,f.property)(t.isSubtleProperty)],t.prototype,"isSubtle",void 0),o([(0,f.property)(t.textProperty)],t.prototype,"text",null),o([(0,f.property)(t.selectActionProperty)],t.prototype,"selectAction",void 0),t}(C);t.BaseTextBlock=S;var E=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.wrap=!1,t._treatAsPlainText=!0,t.useMarkdown=!0,t}var n,r;return i(t,e),t.prototype.restoreOriginalContent=function(){var e,n;if(void 0!==this.renderedElement){this.maxLines&&this.maxLines>0&&(this.renderedElement.style.maxHeight=this._computedLineHeight*this.maxLines+"px");var r=null!==(n=null===(e=t._ttRoundtripPolicy)||void 0===e?void 0:e.createHTML(this._originalInnerHtml))&&void 0!==n?n:this._originalInnerHtml;this.renderedElement.innerHTML=r}},t.prototype.truncateIfSupported=function(e){if(void 0!==this.renderedElement){var t=this.renderedElement.children,n=!t.length;if(n||1===t.length&&"p"===t[0].tagName.toLowerCase()&&!t[0].children.length){var r=n?this.renderedElement:t[0];return u.truncateText(r,e,this._computedLineHeight),!0}}return!1},t.prototype.setText=function(t){e.prototype.setText.call(this,t),this._processedText=void 0},t.prototype.internalRender=function(){var e,n,r=this;if(this._processedText=void 0,this.text){var i=this.preProcessPropertyValue(S.textProperty),o=this.hostConfig,a=void 0;if(this.forElementId){var s=document.createElement("label");s.htmlFor=this.forElementId,a=s}else a=document.createElement("div");if(a.classList.add(o.makeCssClassName("ac-textBlock")),a.style.overflow="hidden",this.applyStylesTo(a),"heading"===this.style){a.setAttribute("role","heading");var l=this.hostConfig.textBlock.headingLevel;void 0!==l&&l>0&&a.setAttribute("aria-level",l.toString())}if(this.selectAction&&o.supportsInteractivity&&(a.onclick=function(e){r.selectAction&&r.selectAction.isEffectivelyEnabled()&&(e.preventDefault(),e.cancelBubble=!0,r.selectAction.execute())},this.selectAction.setupElementForAccessibility(a),this.selectAction.isEffectivelyEnabled()&&a.classList.add(o.makeCssClassName("ac-selectable"))),!this._processedText){this._treatAsPlainText=!0;var d=p.formatText(this.lang,i);if(this.useMarkdown&&d){c.GlobalSettings.allowMarkForTextHighlighting&&(d=d.replace(/<mark>/g,"===").replace(/<\/mark>/g,"/==/"));var h=Oe.applyMarkdown(d);if(h.didProcess&&h.outputHtml){if(this._processedText=h.outputHtml,this._treatAsPlainText=!1,c.GlobalSettings.allowMarkForTextHighlighting&&this._processedText){var f="",m=this.getEffectiveStyleDefinition();m.highlightBackgroundColor&&(f+="background-color: "+m.highlightBackgroundColor+";"),m.highlightForegroundColor&&(f+="color: "+m.highlightForegroundColor+";"),f&&(f='style="'+f+'"'),this._processedText=this._processedText.replace(/===/g,"<mark "+f+">").replace(/\/==\//g,"</mark>")}}else this._processedText=d,this._treatAsPlainText=!0}else this._processedText=d,this._treatAsPlainText=!0}if(this._processedText||(this._processedText=""),this._treatAsPlainText)a.innerText=this._processedText;else{var g=null!==(n=null===(e=t._ttMarkdownPolicy)||void 0===e?void 0:e.createHTML(this._processedText))&&void 0!==n?n:this._processedText;a.innerHTML=g}if(a.firstElementChild instanceof HTMLElement){var v=a.firstElementChild;v.style.marginTop="0px",v.style.width="100%",this.wrap||(v.style.overflow="hidden",v.style.textOverflow="ellipsis")}a.lastElementChild instanceof HTMLElement&&(a.lastElementChild.style.marginBottom="0px");for(var y=a.getElementsByTagName("a"),b=function(e){e.classList.add(o.makeCssClassName("ac-anchor")),e.target="_blank",e.onclick=function(t){Ie(r,e,t)&&(t.preventDefault(),t.cancelBubble=!0)},e.oncontextmenu=function(t){return!Ie(r,e,t)||(t.preventDefault(),t.cancelBubble=!0,!1)}},C=0,A=Array.from(y);C<A.length;C++)b(A[C]);return this.wrap?(a.style.wordWrap="break-word",this.maxLines&&this.maxLines>0&&(a.style.overflow="hidden",u.isInternetExplorer()||!c.GlobalSettings.useWebkitLineClamp?a.style.maxHeight=this._computedLineHeight*this.maxLines+"px":(a.style.removeProperty("line-height"),a.style.display="-webkit-box",a.style.webkitBoxOrient="vertical",a.style.webkitLineClamp=this.maxLines.toString()))):(a.style.whiteSpace="nowrap",a.style.textOverflow="ellipsis"),(c.GlobalSettings.useAdvancedTextBlockTruncation||c.GlobalSettings.useAdvancedCardBottomTruncation)&&(this._originalInnerHtml=a.innerHTML),a}},t.prototype.truncateOverflow=function(e){return e>=this._computedLineHeight&&this.truncateIfSupported(e)},t.prototype.undoOverflowTruncation=function(){if(this.restoreOriginalContent(),c.GlobalSettings.useAdvancedTextBlockTruncation&&this.maxLines){var e=this._computedLineHeight*this.maxLines;this.truncateIfSupported(e)}},t.prototype.applyStylesTo=function(t){switch(e.prototype.applyStylesTo.call(this,t),this.getEffectiveHorizontalAlignment()){case l.HorizontalAlignment.Center:t.style.textAlign="center";break;case l.HorizontalAlignment.Right:t.style.textAlign="end";break;default:t.style.textAlign="start"}var n=this.hostConfig.lineHeights;if(n)switch(this.effectiveSize){case l.TextSize.Small:this._computedLineHeight=n.small;break;case l.TextSize.Medium:this._computedLineHeight=n.medium;break;case l.TextSize.Large:this._computedLineHeight=n.large;break;case l.TextSize.ExtraLarge:this._computedLineHeight=n.extraLarge;break;default:this._computedLineHeight=n.default}else this._computedLineHeight=1.33*this.getFontSize(this.hostConfig.getFontTypeDefinition(this.effectiveFontType));t.style.lineHeight=this._computedLineHeight+"px"},t.prototype.getJsonTypeName=function(){return"TextBlock"},t.prototype.getEffectiveTextStyleDefinition=function(){return this.style?this.hostConfig.textStyles.getStyleByName(this.style):e.prototype.getEffectiveTextStyleDefinition.call(this)},t.prototype.updateLayout=function(t){void 0===t&&(t=!1),e.prototype.updateLayout.call(this,t),c.GlobalSettings.useAdvancedTextBlockTruncation&&this.maxLines&&this.isDisplayed()&&(this.restoreOriginalContent(),this.truncateIfSupported(this._computedLineHeight*this.maxLines))},t.wrapProperty=new f.BoolProperty(f.Versions.v1_0,"wrap",!1),t.maxLinesProperty=new f.NumProperty(f.Versions.v1_0,"maxLines"),t.styleProperty=new f.ValueSetProperty(f.Versions.v1_5,"style",[{value:"default"},{value:"columnHeader"},{value:"heading"}]),t._ttMarkdownPolicy="undefined"==typeof window||null===(n=window.trustedTypes)||void 0===n?void 0:n.createPolicy("adaptivecards#markdownPassthroughPolicy",{createHTML:function(e){return e}}),t._ttRoundtripPolicy="undefined"==typeof window||null===(r=window.trustedTypes)||void 0===r?void 0:r.createPolicy("adaptivecards#restoreContentsPolicy",{createHTML:function(e){return e}}),o([(0,f.property)(t.wrapProperty)],t.prototype,"wrap",void 0),o([(0,f.property)(t.maxLinesProperty)],t.prototype,"maxLines",void 0),o([(0,f.property)(t.styleProperty)],t.prototype,"style",void 0),t}(S);t.TextBlock=E;var w=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.italic=!1,t.strikethrough=!1,t.highlight=!1,t.underline=!1,t}return i(t,e),t.prototype.populateSchema=function(t){e.prototype.populateSchema.call(this,t),t.add(S.selectActionProperty)},t.prototype.internalRender=function(){var e=this;if(this.text){var t=this.preProcessPropertyValue(S.textProperty),n=this.hostConfig,r=p.formatText(this.lang,t);r||(r="");var i=document.createElement("span");if(i.classList.add(n.makeCssClassName("ac-textRun")),this.applyStylesTo(i),this.selectAction&&n.supportsInteractivity){var o=document.createElement("a");o.classList.add(n.makeCssClassName("ac-anchor"));var a=this.selectAction.getHref();o.href=a||"",o.target="_blank",o.onclick=function(t){e.selectAction&&e.selectAction.isEffectivelyEnabled()&&(t.preventDefault(),t.cancelBubble=!0,e.selectAction.execute())},this.selectAction.setupElementForAccessibility(o),o.innerText=r,i.appendChild(o)}else i.innerText=r;return i}},t.prototype.applyStylesTo=function(t){if(e.prototype.applyStylesTo.call(this,t),this.italic&&(t.style.fontStyle="italic"),this.strikethrough&&(t.style.textDecoration="line-through"),this.highlight){var n=this.getColorDefinition(this.getEffectiveStyleDefinition().foregroundColors,this.effectiveColor),r=u.stringToCssColor(this.effectiveIsSubtle?n.highlightColors.subtle:n.highlightColors.default);r&&(t.style.backgroundColor=r)}this.underline&&(t.style.textDecoration="underline")},t.prototype.getJsonTypeName=function(){return"TextRun"},Object.defineProperty(t.prototype,"isStandalone",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isInline",{get:function(){return!0},enumerable:!1,configurable:!0}),t.italicProperty=new f.BoolProperty(f.Versions.v1_2,"italic",!1),t.strikethroughProperty=new f.BoolProperty(f.Versions.v1_2,"strikethrough",!1),t.highlightProperty=new f.BoolProperty(f.Versions.v1_2,"highlight",!1),t.underlineProperty=new f.BoolProperty(f.Versions.v1_3,"underline",!1),o([(0,f.property)(t.italicProperty)],t.prototype,"italic",void 0),o([(0,f.property)(t.strikethroughProperty)],t.prototype,"strikethrough",void 0),o([(0,f.property)(t.highlightProperty)],t.prototype,"highlight",void 0),o([(0,f.property)(t.underlineProperty)],t.prototype,"underline",void 0),t}(S);t.TextRun=w;var x=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._inlines=[],t}return i(t,e),t.prototype.internalAddInline=function(e,t){if(void 0===t&&(t=!1),!e.isInline)throw new Error(g.Strings.errors.elementCannotBeUsedAsInline());if(void 0!==e.parent&&!t&&e.parent!==this)throw new Error(g.Strings.errors.inlineAlreadyParented());e.setParent(this),this._inlines.push(e)},t.prototype.internalParse=function(t,n){if(e.prototype.internalParse.call(this,t,n),this._inlines=[],Array.isArray(t.inlines))for(var r=0,i=t.inlines;r<i.length;r++){var o=i[r],a=void 0;if("string"==typeof o){var s=new w;s.text=o,a=s}else a=n.parseElement(this,o,[],!1);a&&this.internalAddInline(a,!0)}},t.prototype.internalToJSON=function(t,n){if(e.prototype.internalToJSON.call(this,t,n),this._inlines.length>0){for(var r=[],i=0,o=this._inlines;i<o.length;i++){var a=o[i];r.push(a.toJSON(n))}n.serializeValue(t,"inlines",r)}},t.prototype.internalRender=function(){if(this._inlines.length>0){var e=void 0;if(this.forElementId){var t=document.createElement("label");t.htmlFor=this.forElementId,e=t}else e=document.createElement("div");switch(e.className=this.hostConfig.makeCssClassName("ac-richTextBlock"),this.getEffectiveHorizontalAlignment()){case l.HorizontalAlignment.Center:e.style.textAlign="center";break;case l.HorizontalAlignment.Right:e.style.textAlign="end";break;default:e.style.textAlign="start"}for(var n=0,r=0,i=this._inlines;r<i.length;r++){var o=i[r].render();o&&(e.appendChild(o),n++)}if(n>0)return e}},t.prototype.asString=function(){for(var e="",t=0,n=this._inlines;t<n.length;t++)e+=n[t].asString();return e},t.prototype.getJsonTypeName=function(){return"RichTextBlock"},t.prototype.getInlineCount=function(){return this._inlines.length},t.prototype.getInlineAt=function(e){if(e>=0&&e<this._inlines.length)return this._inlines[e];throw new Error(g.Strings.errors.indexOutOfRange(e))},t.prototype.addInline=function(e){"string"==typeof e?this.internalAddInline(new w(e)):this.internalAddInline(e)},t.prototype.removeInline=function(e){var t=this._inlines.indexOf(e);return t>=0&&(this._inlines[t].setParent(void 0),this._inlines.splice(t,1),!0)},t}(C);t.RichTextBlock=x;var I=function(e){function t(t,n){var r=e.call(this)||this;return r.name=t,r.value=n,r}return i(t,e),t.prototype.getSchemaKey=function(){return"Fact"},t.titleProperty=new f.StringProperty(f.Versions.v1_0,"title"),t.valueProperty=new f.StringProperty(f.Versions.v1_0,"value"),o([(0,f.property)(t.titleProperty)],t.prototype,"name",void 0),o([(0,f.property)(t.valueProperty)],t.prototype,"value",void 0),t}(f.SerializableObject);t.Fact=I;var k=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),Object.defineProperty(t.prototype,"useDefaultSizing",{get:function(){return!1},enumerable:!1,configurable:!0}),t.prototype.internalRender=function(){var e=void 0,t=this.hostConfig;if(this.facts.length>0){(e=document.createElement("table")).style.borderWidth="0px",e.style.borderSpacing="0px",e.style.borderStyle="none",e.style.borderCollapse="collapse",e.style.display="block",e.style.overflow="hidden",e.classList.add(t.makeCssClassName("ac-factset")),e.setAttribute("role","presentation");for(var n=0;n<this.facts.length;n++){var r=document.createElement("tr");n>0&&(r.style.marginTop=t.factSet.spacing+"px");var i=document.createElement("td");i.style.padding="0",i.classList.add(t.makeCssClassName("ac-fact-title")),t.factSet.title.maxWidth&&(i.style.maxWidth=t.factSet.title.maxWidth+"px"),i.style.verticalAlign="top";var o=new E;o.setParent(this),o.text=!this.facts[n].name&&this.isDesignMode()?"Title":this.facts[n].name,o.size=t.factSet.title.size,o.color=t.factSet.title.color,o.isSubtle=t.factSet.title.isSubtle,o.weight=t.factSet.title.weight,o.wrap=t.factSet.title.wrap,o.spacing=l.Spacing.None,u.appendChild(i,o.render()),u.appendChild(r,i),(i=document.createElement("td")).style.width="10px",u.appendChild(r,i),(i=document.createElement("td")).style.padding="0",i.style.verticalAlign="top",i.classList.add(t.makeCssClassName("ac-fact-value")),(o=new E).setParent(this),o.text=this.facts[n].value,o.size=t.factSet.value.size,o.color=t.factSet.value.color,o.isSubtle=t.factSet.value.isSubtle,o.weight=t.factSet.value.weight,o.wrap=t.factSet.value.wrap,o.spacing=l.Spacing.None,u.appendChild(i,o.render()),u.appendChild(r,i),u.appendChild(e,r)}}return e},t.prototype.getJsonTypeName=function(){return"FactSet"},t.factsProperty=new f.SerializableObjectCollectionProperty(f.Versions.v1_0,"facts",I),o([(0,f.property)(t.factsProperty)],t.prototype,"facts",void 0),t}(C);t.FactSet=k;var T=function(e){function t(t,n,r,i){var o=e.call(this,t,n)||this;return o.targetVersion=t,o.name=n,o.internalName=r,o.fallbackProperty=i,o}return i(t,e),t.prototype.getInternalName=function(){return this.internalName},t.prototype.parse=function(e,t,n){var r=void 0,i=t[this.name];if(void 0===i)return this.defaultValue;var o=!1;if("string"==typeof i){try{var a=c.SizeAndUnit.parse(i,!0);a.unit===l.SizeUnit.Pixel&&(r=a.physicalSize,o=!0)}catch(e){}!o&&this.fallbackProperty&&(o=this.fallbackProperty.isValidValue(i,n))}return o||n.logParseEvent(e,l.ValidationEvent.InvalidPropertyValue,g.Strings.errors.invalidPropertyValue(i,this.name)),r},t.prototype.toJSON=function(e,t,n,r){r.serializeValue(t,this.name,"number"!=typeof n||isNaN(n)?void 0:n+"px")},t}(f.PropertyDefinition),_=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.size=l.Size.Auto,t.style=l.ImageStyle.Default,t}return i(t,e),t.prototype.populateSchema=function(t){e.prototype.populateSchema.call(this,t),t.remove(C.heightProperty)},t.prototype.applySize=function(e){if(this.pixelWidth||this.pixelHeight)this.pixelWidth&&(e.style.width=this.pixelWidth+"px"),this.pixelHeight&&(e.style.height=this.pixelHeight+"px");else if(this.maxHeight){switch(this.size){case l.Size.Small:e.style.height=this.hostConfig.imageSizes.small+"px";break;case l.Size.Large:e.style.height=this.hostConfig.imageSizes.large+"px";break;default:e.style.height=this.hostConfig.imageSizes.medium+"px"}e.style.maxHeight=this.maxHeight+"px"}else{switch(this.size){case l.Size.Stretch:e.style.width="100%";break;case l.Size.Auto:e.style.maxWidth="100%";break;case l.Size.Small:e.style.width=this.hostConfig.imageSizes.small+"px";break;case l.Size.Large:e.style.width=this.hostConfig.imageSizes.large+"px";break;case l.Size.Medium:e.style.width=this.hostConfig.imageSizes.medium+"px"}e.style.maxHeight="100%"}},Object.defineProperty(t.prototype,"useDefaultSizing",{get:function(){return!1},enumerable:!1,configurable:!0}),t.prototype.internalRender=function(){var e=this,n=void 0;if(this.url){(n=document.createElement("div")).style.display="flex",n.style.alignItems="flex-start";var r=this.hostConfig;switch(this.getEffectiveHorizontalAlignment()){case l.HorizontalAlignment.Center:n.style.justifyContent="center";break;case l.HorizontalAlignment.Right:n.style.justifyContent="flex-end";break;default:n.style.justifyContent="flex-start"}var i=document.createElement("img");this.renderedImageElement=i,i.onload=function(t){xe(e)},i.onerror=function(t){if(e.renderedElement){var n=e.getRootElement();if(y(e.renderedElement),n&&n.designMode){var r=document.createElement("div");r.style.display="flex",r.style.alignItems="center",r.style.justifyContent="center",r.style.backgroundColor="#EEEEEE",r.style.color="black",r.innerText=":-(",r.style.padding="10px",e.applySize(r),e.renderedElement.appendChild(r)}}xe(e)},i.style.minWidth="0",i.classList.add(r.makeCssClassName("ac-image")),this.selectAction&&r.supportsInteractivity&&(i.onkeypress=function(t){e.selectAction&&e.selectAction.isEffectivelyEnabled()&&("Enter"===t.code||"Space"===t.code)&&(t.preventDefault(),t.cancelBubble=!0,e.selectAction.execute())},i.onclick=function(t){e.selectAction&&e.selectAction.isEffectivelyEnabled()&&(t.preventDefault(),t.cancelBubble=!0,e.selectAction.execute())},this.selectAction.setupElementForAccessibility(i),this.selectAction.isEffectivelyEnabled()&&i.classList.add(r.makeCssClassName("ac-selectable"))),this.applySize(i),this.style===l.ImageStyle.Person&&(i.style.borderRadius="50%",i.style.backgroundPosition="50% 50%",i.style.backgroundRepeat="no-repeat");var o=u.stringToCssColor(this.backgroundColor);o&&(i.style.backgroundColor=o),this.setImageSource(i);var a=this.preProcessPropertyValue(t.altTextProperty);a&&(i.alt=a),n.appendChild(i)}return n},t.prototype.getJsonTypeName=function(){return"Image"},t.prototype.getAllActions=function(){var t=e.prototype.getAllActions.call(this);return this.selectAction&&t.push(this.selectAction),t},t.prototype.getActionById=function(t){var n=e.prototype.getActionById.call(this,t);return!n&&this.selectAction&&(n=this.selectAction.getActionById(t)),n},t.prototype.getResourceInformation=function(){return this.url?[{url:this.url,mimeType:"image"}]:[]},t.prototype.setImageSource=function(e){var n=new P(this.forceLoad,this.url);n.configureImage(this),e.src=this.preProcessPropertyValue(t.urlProperty),n.resetImage(this)},t.urlProperty=new f.StringProperty(f.Versions.v1_0,"url"),t.altTextProperty=new f.StringProperty(f.Versions.v1_0,"altText"),t.backgroundColorProperty=new f.StringProperty(f.Versions.v1_1,"backgroundColor"),t.styleProperty=new f.EnumProperty(f.Versions.v1_0,"style",l.ImageStyle,l.ImageStyle.Default),t.sizeProperty=new f.EnumProperty(f.Versions.v1_0,"size",l.Size,l.Size.Auto),t.pixelWidthProperty=new T(f.Versions.v1_1,"width","pixelWidth"),t.pixelHeightProperty=new T(f.Versions.v1_1,"height","pixelHeight",C.heightProperty),t.selectActionProperty=new A(f.Versions.v1_1,"selectAction",["Action.ShowCard"]),t.shouldForceLoadProperty=new f.BoolProperty(f.Versions.v1_6,"forceLoad",!1),o([(0,f.property)(t.urlProperty)],t.prototype,"url",void 0),o([(0,f.property)(t.altTextProperty)],t.prototype,"altText",void 0),o([(0,f.property)(t.backgroundColorProperty)],t.prototype,"backgroundColor",void 0),o([(0,f.property)(t.sizeProperty)],t.prototype,"size",void 0),o([(0,f.property)(t.styleProperty)],t.prototype,"style",void 0),o([(0,f.property)(t.pixelWidthProperty)],t.prototype,"pixelWidth",void 0),o([(0,f.property)(t.pixelHeightProperty)],t.prototype,"pixelHeight",void 0),o([(0,f.property)(t.selectActionProperty)],t.prototype,"selectAction",void 0),o([(0,f.property)(t.shouldForceLoadProperty)],t.prototype,"forceLoad",void 0),t}(C);t.Image=_;var P=function(){function e(e,t){this.doForceLoad=e,this.url=t,t&&t.length&&e&&(this.uniqueHash="?"+Date.now(),this.urlWithForceLoadOption=t+this.uniqueHash)}return e.prototype.configureImage=function(e){this.urlWithForceLoadOption&&this.urlWithForceLoadOption.length&&(e.url=this.urlWithForceLoadOption)},e.prototype.resetImage=function(e){e.url=this.url},e}(),D=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.allowVerticalOverflow=!1,t}return i(t,e),t.prototype.populateSchema=function(n){e.prototype.populateSchema.call(this,n),this.isSelectable||n.remove(t.selectActionProperty)},t.prototype.isElementAllowed=function(e){return this.hostConfig.supportsInteractivity||!e.isInteractive},t.prototype.applyPadding=function(){if(e.prototype.applyPadding.call(this),this.renderedElement){var t=new c.SpacingDefinition;this.getEffectivePadding()&&(t=this.hostConfig.paddingDefinitionToSpacingDefinition(this.getEffectivePadding())),this.renderedElement.style.paddingTop=t.top+"px",this.renderedElement.style.paddingRight=t.right+"px",this.renderedElement.style.paddingBottom=t.bottom+"px",this.renderedElement.style.paddingLeft=t.left+"px",this.renderedElement.style.marginRight="0",this.renderedElement.style.marginLeft="0"}},Object.defineProperty(t.prototype,"isSelectable",{get:function(){return!1},enumerable:!1,configurable:!0}),t.prototype.forbiddenChildElements=function(){return[]},t.prototype.releaseDOMResources=function(){e.prototype.releaseDOMResources.call(this);for(var t=0;t<this.getItemCount();t++)this.getItemAt(t).releaseDOMResources()},t.prototype.internalValidateProperties=function(t){e.prototype.internalValidateProperties.call(this,t);for(var n=0;n<this.getItemCount();n++){var r=this.getItemAt(n);!this.hostConfig.supportsInteractivity&&r.isInteractive&&t.addFailure(this,l.ValidationEvent.InteractivityNotAllowed,g.Strings.errors.interactivityNotAllowed()),this.isElementAllowed(r)||t.addFailure(this,l.ValidationEvent.InteractivityNotAllowed,g.Strings.errors.elementTypeNotAllowed(r.getJsonTypeName())),r.internalValidateProperties(t)}this._selectAction&&this._selectAction.internalValidateProperties(t)},t.prototype.render=function(){var t=this,n=e.prototype.render.call(this);if(n){var r=this.hostConfig;this.allowVerticalOverflow&&(n.style.overflowX="hidden",n.style.overflowY="auto"),n&&this.isSelectable&&this._selectAction&&r.supportsInteractivity&&(n.onclick=function(e){t._selectAction&&t._selectAction.isEffectivelyEnabled()&&(e.preventDefault(),e.cancelBubble=!0,t._selectAction.execute())},n.onkeypress=function(e){t._selectAction&&t._selectAction.isEffectivelyEnabled()&&("Enter"===e.code||"Space"===e.code)&&(e.preventDefault(),e.cancelBubble=!0,t._selectAction.execute())},this._selectAction.setupElementForAccessibility(n),this._selectAction.isEffectivelyEnabled()&&n.classList.add(r.makeCssClassName("ac-selectable")))}return n},t.prototype.updateLayout=function(t){if(void 0===t&&(t=!0),e.prototype.updateLayout.call(this,t),t)for(var n=0;n<this.getItemCount();n++)this.getItemAt(n).updateLayout()},t.prototype.getAllInputs=function(e){void 0===e&&(e=!0);for(var t=[],n=0;n<this.getItemCount();n++)t.push.apply(t,this.getItemAt(n).getAllInputs(e));return t},t.prototype.getAllActions=function(){for(var t=e.prototype.getAllActions.call(this),n=0;n<this.getItemCount();n++)t.push.apply(t,this.getItemAt(n).getAllActions());return this._selectAction&&t.push(this._selectAction),t},t.prototype.getResourceInformation=function(){for(var e=[],t=0;t<this.getItemCount();t++)e.push.apply(e,this.getItemAt(t).getResourceInformation());return e},t.prototype.getElementById=function(t){var n=e.prototype.getElementById.call(this,t);if(!n)for(var r=0;r<this.getItemCount()&&!(n=this.getItemAt(r).getElementById(t));r++);return n},t.prototype.findDOMNodeOwner=function(t){for(var n,r=void 0,i=0;i<this.getItemCount();i++)if(r=this.getItemAt(i).findDOMNodeOwner(t))return r;for(i=0;i<this.getActionCount();i++)if(r=null===(n=this.getActionAt(i))||void 0===n?void 0:n.findDOMNodeOwner(t))return r;return e.prototype.findDOMNodeOwner.call(this,t)},t.selectActionProperty=new A(f.Versions.v1_1,"selectAction",["Action.ShowCard"]),o([(0,f.property)(t.selectActionProperty)],t.prototype,"_selectAction",void 0),t}(C);t.CardElementContainer=D;var B=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._images=[],t.imageSize=l.ImageSize.Medium,t.presentationStyle=l.ImageSetPresentationStyle.Default,t.pixelOffset=0,t}return i(t,e),t.prototype.internalRender=function(){var e=void 0;if(this._images.length>0){(e=document.createElement("div")).style.display="flex",e.style.flexWrap="wrap";for(var t=0,n=this._images;t<n.length;t++){var r=n[t];switch(this.imageSize){case l.ImageSize.Small:r.size=l.Size.Small;break;case l.ImageSize.Large:r.size=l.Size.Large;break;default:r.size=l.Size.Medium}r.maxHeight=this.hostConfig.imageSet.maxImageHeight;var i=r.render();i&&(i.style.display="inline-flex",i.style.margin="0px",this.presentationStyle==l.ImageSetPresentationStyle.Default&&(i.style.marginRight="10px"),u.appendChild(e,i))}this.presentationStyle==l.ImageSetPresentationStyle.Stacked&&this.applyStackedPresentationStyle()}return e},t.prototype.applyStackedPresentationStyle=function(){if(this._images[0].renderedImageElement){var e=R.parseNumericPixelDimension(this._images[0].renderedImageElement.style.height),t=this.getEffectiveBackgroundColor();e&&new R(this.pixelOffset,e,t).configureImagesArrayAsStackedLayout(this._images)}},t.prototype.getEffectiveBackgroundColor=function(){var e=this.getParentContainer(),t=null==e?void 0:e.getEffectiveStyle(),n=this.hostConfig.containerStyles.getStyleByName(t,this.hostConfig.containerStyles.getStyleByName(this.defaultStyle));return u.stringToCssColor(n.backgroundColor)},t.prototype.getItemCount=function(){return this._images.length},t.prototype.getItemAt=function(e){return this._images[e]},t.prototype.getFirstVisibleRenderedItem=function(){return this._images&&this._images.length>0?this._images[0]:void 0},t.prototype.getLastVisibleRenderedItem=function(){return this._images&&this._images.length>0?this._images[this._images.length-1]:void 0},t.prototype.removeItem=function(e){if(e instanceof _){var t=this._images.indexOf(e);if(t>=0)return this._images.splice(t,1),e.setParent(void 0),this.updateLayout(),!0}return!1},t.prototype.getJsonTypeName=function(){return"ImageSet"},t.prototype.addImage=function(e){if(e.parent)throw new Error("This image already belongs to another ImageSet");this._images.push(e),e.setParent(this)},t.prototype.indexOf=function(e){return e instanceof _?this._images.indexOf(e):-1},t.imagesProperty=new f.SerializableObjectCollectionProperty(f.Versions.v1_0,"images",_,(function(e,t){t.setParent(e)})),t.imageSizeProperty=new f.EnumProperty(f.Versions.v1_0,"imageSize",l.ImageSize,l.ImageSize.Medium),t.imagePresentationStyle=new f.EnumProperty(f.Versions.v1_6,"style",l.ImageSetPresentationStyle,l.ImageSetPresentationStyle.Default),t.pixelOffset=new f.NumProperty(f.Versions.v1_6,"offset",0,void 0),o([(0,f.property)(t.imagesProperty)],t.prototype,"_images",void 0),o([(0,f.property)(t.imageSizeProperty)],t.prototype,"imageSize",void 0),o([(0,f.property)(t.imagePresentationStyle)],t.prototype,"presentationStyle",void 0),o([(0,f.property)(t.pixelOffset)],t.prototype,"pixelOffset",void 0),t}(D);t.ImageSet=B;var R=function(){function e(e,t,n){this.sign45=.7071,this.maxImageCounts=2,this.offset=0,this.normalizationConstant=0,this.border=5,this.dimension=0,this.dimension=t,this.normalizationConstant=2*(t*this.sign45-.5*t),this.offset=this.sign45*(Math.max(e,-t)-this.normalizationConstant),this.style=n||""}return e.prototype.moveImageRight=function(e){e.style.marginLeft=this.offset+"px"},e.prototype.moveImageUp=function(e){e.style.marginBottom=this.offset+this.dimension+"px"},e.prototype.moveImageDown=function(e){e.style.marginTop=this.offset+this.dimension+"px"},e.prototype.makeImageRound=function(e){e.style.borderRadius="50%",e.style.backgroundPosition="50% 50%",e.style.backgroundRepeat="no-repeat"},e.prototype.applyBorder=function(e){e.style.height=this.dimension+2*this.border+"px",e.style.border=this.border+"px solid "+this.style},e.prototype.configureImageForBottomLeft=function(e){this.moveImageDown(e),this.makeImageRound(e),this.applyBorder(e),e.style.zIndex="2"},e.prototype.configureImageForTopRight=function(e){this.moveImageUp(e),this.moveImageRight(e),this.makeImageRound(e),e.style.zIndex="1"},e.prototype.configureImagesArrayAsStackedLayout=function(e){1==e.length?e[0].renderedImageElement&&this.makeImageRound(e[0].renderedImageElement):e.length<=this.maxImageCounts&&e[0].renderedImageElement&&e[1].renderedImageElement&&(this.configureImageForBottomLeft(e[0].renderedImageElement),this.configureImageForTopRight(e[1].renderedImageElement))},e.parseNumericPixelDimension=function(e){if("px"==(null==e?void 0:e.substring(e.length-2)))return parseInt(e.substring(0,e.length-2))},e}(),M=function(e){function t(t,n){var r=e.call(this)||this;return r.url=t,r.mimeType=n,r}return i(t,e),t.prototype.isValid=function(){return!(!this.mimeType||!this.url)},t.mimeTypeProperty=new f.StringProperty(f.Versions.v1_1,"mimeType"),t.urlProperty=new f.StringProperty(f.Versions.v1_1,"url"),o([(0,f.property)(t.mimeTypeProperty)],t.prototype,"mimeType",void 0),o([(0,f.property)(t.urlProperty)],t.prototype,"url",void 0),t}(f.SerializableObject);t.ContentSource=M;var L=function(e){function t(t,n,r){var i=e.call(this,t,n)||this;return i.label=r,i}return i(t,e),t.prototype.getSchemaKey=function(){return"CaptionSource"},t.prototype.render=function(){var e=void 0;return this.isValid()&&((e=document.createElement("track")).src=this.url,e.kind="captions",e.label=this.label),e},t.labelProperty=new f.StringProperty(f.Versions.v1_6,"label"),o([(0,f.property)(t.labelProperty)],t.prototype,"label",void 0),t}(M);t.CaptionSource=L;var O=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.getSchemaKey=function(){return"MediaSource"},t.prototype.render=function(){var e=void 0;return this.isValid()&&((e=document.createElement("source")).src=this.url,e.type=this.mimeType),e},t}(M);t.MediaSource=O;var F=function(){function e(){}return e.prototype.play=function(){},Object.defineProperty(e.prototype,"posterUrl",{get:function(){return this._posterUrl},set:function(e){this._posterUrl=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"selectedMediaType",{get:function(){},enumerable:!1,configurable:!0}),e}();t.MediaPlayer=F;var N=function(e){function t(t){var n=e.call(this)||this;return n.owner=t,n._selectedSources=[],n._captionSources=[],n.processSources(),n}return i(t,e),t.prototype.processSources=function(){var e;this._selectedSources=[],this._captionSources=[],this._selectedMediaType=void 0;for(var n=0,r=this.owner.sources;n<r.length;n++){var i=r[n],o=i.mimeType?i.mimeType.split("/"):[];if(2===o.length){if(!this._selectedMediaType){var a=t.supportedMediaTypes.indexOf(o[0]);a>=0&&(this._selectedMediaType=t.supportedMediaTypes[a])}o[0]===this._selectedMediaType&&this._selectedSources.push(i)}}(e=this._captionSources).push.apply(e,this.owner.captionSources)},t.prototype.canPlay=function(){return this._selectedSources.length>0},t.prototype.fetchVideoDetails=function(){return a(this,void 0,void 0,(function(){return s(this,(function(e){return[2]}))}))},t.prototype.render=function(){"video"===this._selectedMediaType?this._mediaElement=document.createElement("video"):this._mediaElement=document.createElement("audio"),this._mediaElement.setAttribute("aria-label",this.owner.altText?this.owner.altText:g.Strings.defaults.mediaPlayerAriaLabel()),this._mediaElement.setAttribute("webkit-playsinline",""),this._mediaElement.setAttribute("playsinline",""),this._mediaElement.setAttribute("crossorigin",""),this._mediaElement.autoplay=!0,this._mediaElement.controls=!0,u.isMobileOS()&&(this._mediaElement.muted=!0),this._mediaElement.preload="none",this._mediaElement.style.width="100%";for(var e=0,t=this.owner.sources;e<t.length;e++){var n=t[e].render();u.appendChild(this._mediaElement,n)}for(var r=0,i=this.owner.captionSources;r<i.length;r++){var o=i[r];if("vtt"==o.mimeType){var a=o.render();u.appendChild(this._mediaElement,a)}}return this._mediaElement},t.prototype.play=function(){this._mediaElement&&this._mediaElement.play()},Object.defineProperty(t.prototype,"selectedMediaType",{get:function(){return this._selectedMediaType},enumerable:!1,configurable:!0}),t.supportedMediaTypes=["audio","video"],t}(F);t.HTML5MediaPlayer=N;var H=function(e){function t(t){return e.call(this)||this}return i(t,e),t}(F);t.CustomMediaPlayer=H;var z=function(e){function t(t,n){var r=e.call(this,t)||this;return r.iFrameTitle=n,t.length>=2&&(r._videoId=t[1]),r}return i(t,e),t.prototype.canPlay=function(){return void 0!==this._videoId},t.prototype.render=function(){var e=document.createElement("div");e.style.position="relative",e.style.width="100%",e.style.height="0",e.style.paddingBottom="56.25%";var t=document.createElement("iframe");return t.style.position="absolute",t.style.top="0",t.style.left="0",t.style.width="100%",t.style.height="100%",t.src=this.getEmbedVideoUrl(),t.frameBorder="0",this.iFrameTitle&&(t.title=this.iFrameTitle),t.allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",t.allowFullscreen=!0,e.appendChild(t),e},Object.defineProperty(t.prototype,"videoId",{get:function(){return this._videoId},enumerable:!1,configurable:!0}),t}(H);t.IFrameMediaMediaPlayer=z;var V=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.fetchVideoDetails=function(){return a(this,void 0,void 0,(function(){var e,t,n;return s(this,(function(r){switch(r.label){case 0:return e="https://vimeo.com/api/oembed.json?url=".concat(this.getEmbedVideoUrl()),[4,fetch(e)];case 1:return(t=r.sent()).ok?[4,t.json()]:[3,3];case 2:n=r.sent(),this.posterUrl=n.thumbnail_url,r.label=3;case 3:return[2]}}))}))},t.prototype.getEmbedVideoUrl=function(){return"https://player.vimeo.com/video/".concat(this.videoId,"?autoplay=1")},t}(z);t.VimeoPlayer=V;var U=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.fetchVideoDetails=function(){return a(this,void 0,void 0,(function(){var e,t,n;return s(this,(function(r){switch(r.label){case 0:return e="https://api.dailymotion.com/video/".concat(this.videoId,"?fields=thumbnail_720_url"),[4,fetch(e)];case 1:return(t=r.sent()).ok?[4,t.json()]:[3,3];case 2:n=r.sent(),this.posterUrl=n.thumbnail_720_url,r.label=3;case 3:return[2]}}))}))},t.prototype.getEmbedVideoUrl=function(){return"https://www.dailymotion.com/embed/video/".concat(this.videoId,"?autoplay=1")},t}(z);t.DailymotionPlayer=U;var j=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.iFrameTitle=n,t.length>=3&&void 0!==t[2]&&(r._startTimeIndex=parseInt(t[2])),r}return i(t,e),t.prototype.fetchVideoDetails=function(){return a(this,void 0,void 0,(function(){return s(this,(function(e){return this.posterUrl=this.videoId?"https://img.youtube.com/vi/".concat(this.videoId,"/maxresdefault.jpg"):void 0,[2]}))}))},t.prototype.getEmbedVideoUrl=function(){var e="https://www.youtube.com/embed/".concat(this.videoId,"?autoplay=1");return void 0!==this._startTimeIndex&&(e+="&start=".concat(this._startTimeIndex)),e},t}(z);t.YouTubePlayer=j;var W,$=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.sources=[],t.captionSources=[],t}return i(t,e),t.prototype.createMediaPlayer=function(){for(var e=0,n=t.customMediaPlayers;e<n.length;e++)for(var r=n[e],i=0,o=this.sources;i<o.length;i++){var a=o[i];if(a.url)for(var s=0,l=r.urlPatterns;s<l.length;s++){var c=l[s].exec(a.url);if(null!==c)return r.createMediaPlayer(c)}}return new N(this)},t.prototype.handlePlayButtonInvoke=function(e){if(this.hostConfig.media.allowInlinePlayback){if(e.preventDefault(),e.cancelBubble=!0,this.renderedElement){var n=this._mediaPlayer.render();y(this.renderedElement),this.renderedElement.appendChild(n),this._mediaPlayer.play(),n.focus()}}else t.onPlay&&(e.preventDefault(),e.cancelBubble=!0,t.onPlay(this))},t.prototype.displayPoster=function(){return a(this,void 0,void 0,(function(){var e,t,n,r,i,o,a=this;return s(this,(function(s){return this.renderedElement&&((e=document.createElement("div")).className=this.hostConfig.makeCssClassName("ac-media-poster"),e.setAttribute("role","contentinfo"),e.setAttribute("aria-label",this.altText?this.altText:g.Strings.defaults.mediaPlayerAriaLabel()),e.style.position="relative",e.style.display="flex",(t=this.poster?this.poster:this._mediaPlayer.posterUrl)||(t=this.hostConfig.media.defaultPoster),t?((n=document.createElement("img")).style.width="100%",n.style.height="100%",n.setAttribute("role","presentation"),n.onerror=function(t){n.parentNode&&n.parentNode.removeChild(n),e.classList.add("empty"),e.style.minHeight="150px"},n.src=t,e.appendChild(n)):(e.classList.add("empty"),e.style.minHeight="150px"),this.hostConfig.supportsInteractivity&&this._mediaPlayer.canPlay()&&((r=document.createElement("div")).tabIndex=0,r.setAttribute("role","button"),r.setAttribute("aria-label",g.Strings.defaults.mediaPlayerPlayMedia()),r.className=this.hostConfig.makeCssClassName("ac-media-playButton"),r.style.display="flex",r.style.alignItems="center",r.style.justifyContent="center",r.onclick=function(e){a.handlePlayButtonInvoke(e)},r.onkeypress=function(e){"Enter"!==e.code&&"Space"!==e.code||a.handlePlayButtonInvoke(e)},(i=document.createElement("div")).className=this.hostConfig.makeCssClassName("ac-media-playButton-arrow"),i.style.width="12px",i.style.height="15px",i.style.borderTopWidth="7.5px",i.style.borderBottomWidth="7.5px",i.style.borderLeftWidth="12px",i.style.borderRightWidth="0",i.style.borderStyle="solid",i.style.borderTopColor="transparent",i.style.borderRightColor="transparent",i.style.borderBottomColor="transparent",i.style.transform="translate(1.2px,0px)",r.appendChild(i),(o=document.createElement("div")).style.position="absolute",o.style.left="0",o.style.top="0",o.style.width="100%",o.style.height="100%",o.style.display="flex",o.style.justifyContent="center",o.style.alignItems="center",o.appendChild(r),e.appendChild(o)),y(this.renderedElement),this.renderedElement.appendChild(e)),[2]}))}))},t.prototype.internalRender=function(){var e=document.createElement("div");return e.className=this.hostConfig.makeCssClassName("ac-media"),e},t.prototype.render=function(){var t=this,n=e.prototype.render.call(this);return n&&(this._mediaPlayer=this.createMediaPlayer(),this._mediaPlayer.fetchVideoDetails().then((function(){return t.displayPoster()}))),n},t.prototype.releaseDOMResources=function(){e.prototype.releaseDOMResources.call(this),this.displayPoster()},t.prototype.getJsonTypeName=function(){return"Media"},t.prototype.getResourceInformation=function(){var e=[];if(this._mediaPlayer){var t=this.poster?this.poster:this.hostConfig.media.defaultPoster;t&&e.push({url:t,mimeType:"image"})}for(var n=0,r=this.sources;n<r.length;n++){var i=r[n];i.isValid()&&e.push({url:i.url,mimeType:i.mimeType})}for(var o=0,a=this.captionSources;o<a.length;o++){var s=a[o];s.isValid()&&e.push({url:s.url,mimeType:s.mimeType})}return e},Object.defineProperty(t.prototype,"selectedMediaType",{get:function(){return this._mediaPlayer.selectedMediaType},enumerable:!1,configurable:!0}),t.customMediaPlayers=[{urlPatterns:[/^(?:https?:\/\/)?(?:www.)?youtube.com\/watch\?(?=.*v=([\w\d-_]+))(?=(?:.*t=(\d+))?).*/gi,/^(?:https?:\/\/)?youtu.be\/([\w\d-_]+)(?:\?t=(\d+))?/gi],createMediaPlayer:function(e){return new j(e,g.Strings.defaults.youTubeVideoPlayer())}},{urlPatterns:[/^(?:https?:\/\/)?vimeo.com\/([\w\d-_]+).*/gi],createMediaPlayer:function(e){return new V(e,g.Strings.defaults.vimeoVideoPlayer())}},{urlPatterns:[/^(?:https?:\/\/)?(?:www.)?dailymotion.com\/video\/([\w\d-_]+).*/gi],createMediaPlayer:function(e){return new U(e,g.Strings.defaults.dailymotionVideoPlayer())}}],t.sourcesProperty=new f.SerializableObjectCollectionProperty(f.Versions.v1_1,"sources",O),t.captionSourcesProperty=new f.SerializableObjectCollectionProperty(f.Versions.v1_6,"captionSources",L),t.posterProperty=new f.StringProperty(f.Versions.v1_1,"poster"),t.altTextProperty=new f.StringProperty(f.Versions.v1_1,"altText"),o([(0,f.property)(t.sourcesProperty)],t.prototype,"sources",void 0),o([(0,f.property)(t.captionSourcesProperty)],t.prototype,"captionSources",void 0),o([(0,f.property)(t.posterProperty)],t.prototype,"poster",void 0),o([(0,f.property)(t.altTextProperty)],t.prototype,"altText",void 0),t}(C);t.Media=$,function(e){e[e.InitialRender=0]="InitialRender",e[e.MouseEnterOnCard=1]="MouseEnterOnCard",e[e.MouseLeaveOnCard=2]="MouseLeaveOnCard",e[e.FocusLeave=3]="FocusLeave"}(W||(W={}));var q=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.inputStyle=l.InputStyle.Default,t}return i(t,e),t.prototype.getAllLabelIds=function(){var e=[];return this.labelledBy&&e.push(this.labelledBy),this._renderedLabelElement&&e.push(this._renderedLabelElement.id),this._renderedErrorMessageElement&&e.push(this._renderedErrorMessageElement.id),e},t.prototype.updateInputControlAriaLabelledBy=function(){if(this._renderedInputControlElement){var e=this.getAllLabelIds();e.length>0?this._renderedInputControlElement.setAttribute("aria-labelledby",e.join(" ")):this._renderedInputControlElement.removeAttribute("aria-labelledby")}},Object.defineProperty(t.prototype,"isNullable",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderedInputControlElement",{get:function(){return this._renderedInputControlElement},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"inputControlContainerElement",{get:function(){return this._inputControlContainerElement},enumerable:!1,configurable:!0}),t.prototype.overrideInternalRender=function(){var e=this,t=this.hostConfig;this._outerContainerElement=document.createElement("div"),this._outerContainerElement.style.display="flex",this.labelPosition===l.InputLabelPosition.Inline?this._outerContainerElement.style.flexDirection="row":this._outerContainerElement.style.flexDirection="column";var n=u.generateUniqueId();if(this.label){var r=new x;r.setParent(this),r.forElementId=n;var i=new w(this.label);if(r.addInline(i),this.isRequired){i.init(t.inputs.label.requiredInputs);var o=new w(t.inputs.label.requiredInputs.suffix);o.color=t.inputs.label.requiredInputs.suffixColor,o.ariaHidden=!0,r.addInline(o)}else i.init(t.inputs.label.optionalInputs);this._renderedLabelElement=r.render(),this._renderedLabelElement&&(this._renderedLabelElement.id=u.generateUniqueId(),this.labelPosition===l.InputLabelPosition.Inline?this._renderedLabelElement.style.alignSelf="center":this._renderedLabelElement.style.marginBottom=t.getEffectiveSpacing(t.inputs.label.inputSpacing)+"px",this._outerContainerElement.appendChild(this._renderedLabelElement))}if(this._inputControlContainerElement=document.createElement("div"),this._inputControlContainerElement.className=t.makeCssClassName("ac-input-container"),this._inputControlContainerElement.style.display="flex","stretch"===this.height&&(this._inputControlContainerElement.style.alignItems="stretch",this._inputControlContainerElement.style.flex="1 1 auto"),this._renderedInputControlElement=this.internalRender(),this._renderedInputControlElement){if(this._renderedInputControlElement.id=n,this._renderedInputControlElement.style.minWidth="0px",this.isNullable&&this.isRequired&&(this._renderedInputControlElement.setAttribute("aria-required","true"),this._renderedInputControlElement.classList.add(t.makeCssClassName("ac-input-required"))),this._inputControlContainerElement.appendChild(this._renderedInputControlElement),this._outerContainerElement.appendChild(this._inputControlContainerElement),this._renderedLabelElement&&this.labelPosition===l.InputLabelPosition.Inline)if(this.labelWidth){if(this.labelWidth.unit==l.SizeUnit.Weight){var a=this.labelWidth.physicalSize;this._renderedLabelElement.style.width=a.toString()+"%",this._inputControlContainerElement.style.width=(100-a).toString()+"%"}else if(this.labelWidth.unit==l.SizeUnit.Pixel){var s=this.labelWidth.physicalSize;this._renderedLabelElement.style.width=s.toString()+"px"}}else{var c=t.inputs.label.width;this._renderedLabelElement.style.width=c.toString()+"%",this._inputControlContainerElement.style.width=100-c+"%"}return this.updateVisualState(W.InitialRender),this._renderedInputControlElement&&(this._renderedInputControlElement.onblur=function(t){e.updateVisualState(W.FocusLeave)}),this.updateInputControlAriaLabelledBy(),this._outerContainerElement}this.resetDirtyState()},t.prototype.valueChanged=function(){var e,t,n;this.getRootElement().updateActionsEnabledState(),this.isValid()&&this.resetValidationFailureCue(),this.onValueChanged&&this.onValueChanged(this),(n=(t=(e=this).getRootElement())&&t.onInputValueChanged?t.onInputValueChanged:Oe.onInputValueChanged)&&n(e)},t.prototype.resetValidationFailureCue=function(){this.renderedInputControlElement&&(this.renderedInputControlElement.classList.remove(this.hostConfig.makeCssClassName("ac-input-validation-failed")),this.updateInputControlAriaLabelledBy(),this._renderedErrorMessageElement&&(this._outerContainerElement.removeChild(this._renderedErrorMessageElement),this._renderedErrorMessageElement=void 0))},t.prototype.showValidationErrorMessage=function(){if(this.renderedElement&&this.errorMessage&&c.GlobalSettings.displayInputValidationErrors){var e=new E;e.setParent(this),e.text=this.errorMessage,e.wrap=!0,e.init(this.hostConfig.inputs.errorMessage),this._renderedErrorMessageElement=e.render(),this._renderedErrorMessageElement&&(this._renderedErrorMessageElement.id=u.generateUniqueId(),this._outerContainerElement.appendChild(this._renderedErrorMessageElement),this.updateInputControlAriaLabelledBy())}},Object.defineProperty(t.prototype,"allowRevealOnHoverStyle",{get:function(){return this.hostConfig.inputs&&this.hostConfig.inputs.allowRevealOnHoverStyle},enumerable:!1,configurable:!0}),t.prototype.shouldHideInputAdornersForRevealOnHover=function(e,t){var n=e===document.activeElement,r=this.hostConfig.makeCssClassName("ac-inputStyle-revealOnHover-onhover"),i=e.classList.contains(r);return t===W.InitialRender||t===W.FocusLeave&&!i||t===W.MouseLeaveOnCard&&!n},t.prototype.updateVisualState=function(e){this.allowRevealOnHoverStyle&&this._renderedInputControlElement&&this.inputStyle===l.InputStyle.RevealOnHover&&(e===W.InitialRender?this._renderedInputControlElement.classList.add(this.hostConfig.makeCssClassName("ac-inputStyle-revealOnHover-onrender")):e===W.MouseEnterOnCard?this._renderedInputControlElement.classList.add(this.hostConfig.makeCssClassName("ac-inputStyle-revealOnHover-onhover")):e===W.MouseLeaveOnCard&&this._renderedInputControlElement.classList.remove(this.hostConfig.makeCssClassName("ac-inputStyle-revealOnHover-onhover")))},t.prototype.focus=function(){this._renderedInputControlElement&&this._renderedInputControlElement.focus()},t.prototype.isValid=function(){return!0},t.prototype.isDirty=function(){return this.value!==this._oldValue},t.prototype.resetDirtyState=function(){this._oldValue=this.value},t.prototype.internalValidateProperties=function(t){e.prototype.internalValidateProperties.call(this,t),this.id||t.addFailure(this,l.ValidationEvent.PropertyCantBeNull,g.Strings.errors.inputsMustHaveUniqueId()),this.isRequired&&(this.label||t.addFailure(this,l.ValidationEvent.RequiredInputsShouldHaveLabel,"Required inputs should have a label"),this.errorMessage||t.addFailure(this,l.ValidationEvent.RequiredInputsShouldHaveErrorMessage,"Required inputs should have an error message"))},t.prototype.validateValue=function(){this.resetValidationFailureCue();var e=this.isRequired?this.isSet()&&this.isValid():this.isValid();return!e&&this.renderedInputControlElement&&(this.renderedInputControlElement.classList.add(this.hostConfig.makeCssClassName("ac-input-validation-failed")),this.showValidationErrorMessage()),e},t.prototype.getAllInputs=function(e){return void 0===e&&(e=!0),[this]},t.prototype.render=function(){var t=e.prototype.render.call(this);return this.resetDirtyState(),t},Object.defineProperty(t.prototype,"isInteractive",{get:function(){return!0},enumerable:!1,configurable:!0}),t.labelProperty=new f.StringProperty(f.Versions.v1_3,"label",!0),t.isRequiredProperty=new f.BoolProperty(f.Versions.v1_3,"isRequired",!1),t.errorMessageProperty=new f.StringProperty(f.Versions.v1_3,"errorMessage",!0),t.inputStyleProperty=new f.EnumProperty(f.Versions.v1_6,"inputStyle",l.InputStyle,l.InputStyle.Default,[{value:l.InputStyle.RevealOnHover},{value:l.InputStyle.Default}]),t.labelWidthProperty=new f.CustomProperty(f.Versions.v1_6,"labelWidth",(function(e,t,n,r){var i=t.defaultValue,o=n[t.name],a=!1;if("number"!=typeof o||isNaN(o))if("string"==typeof o)try{i=c.SizeAndUnit.parse(o)}catch(e){a=!0}else a=!0;else((i=new c.SizeAndUnit(o,l.SizeUnit.Weight)).physicalSize<0||i.physicalSize>100)&&(a=!0);return a&&(r.logParseEvent(e,l.ValidationEvent.InvalidPropertyValue,g.Strings.errors.invalidInputLabelWidth()),i=void 0),i}),(function(e,t,n,r,i){r instanceof c.SizeAndUnit&&(r.unit===l.SizeUnit.Pixel?i.serializeValue(n,"labelWidth",r.physicalSize+"px"):i.serializeNumber(n,"labelWidth",r.physicalSize))}),void 0),t.labelPositionProperty=new f.EnumProperty(f.Versions.v1_6,"labelPosition",l.InputLabelPosition,l.InputLabelPosition.Above,[{value:l.InputLabelPosition.Inline},{value:l.InputLabelPosition.Above}]),o([(0,f.property)(t.labelProperty)],t.prototype,"label",void 0),o([(0,f.property)(t.isRequiredProperty)],t.prototype,"isRequired",void 0),o([(0,f.property)(t.errorMessageProperty)],t.prototype,"errorMessage",void 0),o([(0,f.property)(t.inputStyleProperty)],t.prototype,"inputStyle",void 0),o([(0,f.property)(t.labelWidthProperty)],t.prototype,"labelWidth",void 0),o([(0,f.property)(t.labelPositionProperty)],t.prototype,"labelPosition",void 0),t}(C);t.Input=q;var G=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isMultiline=!1,t.style=l.InputTextStyle.Text,t}return i(t,e),t.prototype.setupInput=function(e){var t=this;e.style.flex="1 1 auto",e.tabIndex=this.isDesignMode()?-1:0,this.placeholder&&(e.placeholder=this.placeholder,e.setAttribute("aria-label",this.placeholder)),this.defaultValue&&(e.value=this.defaultValue),this.maxLength&&this.maxLength>0&&(e.maxLength=this.maxLength),e.oninput=function(){t.valueChanged()},e.onkeypress=function(e){e.ctrlKey&&"Enter"===e.code&&t.inlineAction&&t.inlineAction.isEffectivelyEnabled()&&t.inlineAction.execute()}},t.prototype.internalRender=function(){var e;return this.isMultiline&&this.style!==l.InputTextStyle.Password?((e=document.createElement("textarea")).className=this.hostConfig.makeCssClassName("ac-input","ac-textInput","ac-multiline"),"stretch"===this.height&&(e.style.height="initial")):((e=document.createElement("input")).className=this.hostConfig.makeCssClassName("ac-input","ac-textInput"),e.type=l.InputTextStyle[this.style].toLowerCase()),this.setupInput(e),e},t.prototype.overrideInternalRender=function(){var t=this,n=e.prototype.overrideInternalRender.call(this);if(this.inlineAction){var r=document.createElement("button");if(r.className=this.hostConfig.makeCssClassName(this.inlineAction.isEffectivelyEnabled()?"ac-inlineActionButton":"ac-inlineActionButton-disabled"),r.onclick=function(e){t.inlineAction&&t.inlineAction.isEffectivelyEnabled()&&(e.preventDefault(),e.cancelBubble=!0,t.inlineAction.execute())},this.inlineAction.iconUrl){r.classList.add("iconOnly");var i=document.createElement("img");i.style.height="100%",i.setAttribute("role","presentation"),i.style.display="none",i.onload=function(){i.style.removeProperty("display")},i.onerror=function(){r.removeChild(i),r.classList.remove("iconOnly"),r.classList.add("textOnly"),r.textContent=t.inlineAction&&t.inlineAction.title?t.inlineAction.title:g.Strings.defaults.inlineActionTitle()},i.src=this.inlineAction.iconUrl,r.appendChild(i),r.title=this.inlineAction.title?this.inlineAction.title:g.Strings.defaults.inlineActionTitle()}else r.classList.add("textOnly"),r.textContent=this.inlineAction.title?this.inlineAction.title:g.Strings.defaults.inlineActionTitle();this.inlineAction.setupElementForAccessibility(r,!0),r.style.marginLeft="8px",this.inputControlContainerElement.appendChild(r)}return n},t.prototype.updateVisualState=function(t){this.allowRevealOnHoverStyle&&(this.inlineAction||this.isMultiline||e.prototype.updateVisualState.call(this,t))},t.prototype.getJsonTypeName=function(){return"Input.Text"},t.prototype.getAllActions=function(){var t=e.prototype.getAllActions.call(this);return this.inlineAction&&t.push(this.inlineAction),t},t.prototype.getActionById=function(t){var n=e.prototype.getActionById.call(this,t);return!n&&this.inlineAction&&(n=this.inlineAction.getActionById(t)),n},t.prototype.isSet=function(){return!!this.value},t.prototype.isValid=function(){return!this.value||!this.regex||new RegExp(this.regex,"g").test(this.value)},Object.defineProperty(t.prototype,"value",{get:function(){return this.renderedInputControlElement?(this.isMultiline,this.renderedInputControlElement.value):void 0},enumerable:!1,configurable:!0}),t.valueProperty=new f.StringProperty(f.Versions.v1_0,"value"),t.maxLengthProperty=new f.NumProperty(f.Versions.v1_0,"maxLength"),t.isMultilineProperty=new f.BoolProperty(f.Versions.v1_0,"isMultiline",!1),t.placeholderProperty=new f.StringProperty(f.Versions.v1_0,"placeholder"),t.styleProperty=new f.EnumProperty(f.Versions.v1_0,"style",l.InputTextStyle,l.InputTextStyle.Text,[{value:l.InputTextStyle.Text},{value:l.InputTextStyle.Tel},{value:l.InputTextStyle.Url},{value:l.InputTextStyle.Email},{value:l.InputTextStyle.Password,targetVersion:f.Versions.v1_5}]),t.inlineActionProperty=new A(f.Versions.v1_0,"inlineAction",["Action.ShowCard"]),t.regexProperty=new f.StringProperty(f.Versions.v1_3,"regex",!0),o([(0,f.property)(t.valueProperty)],t.prototype,"defaultValue",void 0),o([(0,f.property)(t.maxLengthProperty)],t.prototype,"maxLength",void 0),o([(0,f.property)(t.isMultilineProperty)],t.prototype,"isMultiline",void 0),o([(0,f.property)(t.placeholderProperty)],t.prototype,"placeholder",void 0),o([(0,f.property)(t.styleProperty)],t.prototype,"style",void 0),o([(0,f.property)(t.inlineActionProperty)],t.prototype,"inlineAction",void 0),o([(0,f.property)(t.regexProperty)],t.prototype,"regex",void 0),t}(q);t.TextInput=G;var K=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.valueOn="true",t.valueOff="false",t.wrap=!1,t}return i(t,e),t.prototype.updateInputControlAriaLabelledBy=function(){if(this._checkboxInputElement){var e=this.getAllLabelIds().join(" ");this._checkboxInputLabelElement&&this._checkboxInputLabelElement.id&&(e+=" "+this._checkboxInputLabelElement.id),e?this._checkboxInputElement.setAttribute("aria-labelledby",e):this._checkboxInputElement.removeAttribute("aria-labelledby")}},t.prototype.internalRender=function(){var e=this,t=document.createElement("div");if(t.className=this.hostConfig.makeCssClassName("ac-input","ac-toggleInput"),t.style.width="100%",t.style.display="flex",t.style.alignItems="center",this._checkboxInputElement=document.createElement("input"),this._checkboxInputElement.id=u.generateUniqueId(),this._checkboxInputElement.type="checkbox",this._checkboxInputElement.style.display="inline-block",this._checkboxInputElement.style.verticalAlign="middle",this._checkboxInputElement.style.margin="0",this._checkboxInputElement.style.flex="0 0 auto",this.title&&this._checkboxInputElement.setAttribute("aria-label",this.title),this.isRequired&&this._checkboxInputElement.setAttribute("aria-required","true"),this._checkboxInputElement.tabIndex=this.isDesignMode()?-1:0,this.defaultValue===this.valueOn&&(this._checkboxInputElement.checked=!0),this._oldCheckboxValue=this._checkboxInputElement.checked,this._checkboxInputElement.onchange=function(){e.valueChanged()},u.appendChild(t,this._checkboxInputElement),this.title||this.isDesignMode()){var n=new E;if(n.setParent(this),n.forElementId=this._checkboxInputElement.id,n.hostConfig=this.hostConfig,n.text=this.title?this.title:this.getJsonTypeName(),n.useMarkdown=c.GlobalSettings.useMarkdownInRadioButtonAndCheckbox,n.wrap=this.wrap,this._checkboxInputLabelElement=n.render(),this._checkboxInputLabelElement){this._checkboxInputLabelElement.id=u.generateUniqueId(),this._checkboxInputLabelElement.style.display="inline-block",this._checkboxInputLabelElement.style.flex="1 1 auto",this._checkboxInputLabelElement.style.marginLeft="6px",this._checkboxInputLabelElement.style.verticalAlign="middle";var r=document.createElement("div");r.style.width="6px",u.appendChild(t,r),u.appendChild(t,this._checkboxInputLabelElement)}}return t},Object.defineProperty(t.prototype,"isNullable",{get:function(){return!1},enumerable:!1,configurable:!0}),t.prototype.updateVisualState=function(e){},t.prototype.getJsonTypeName=function(){return"Input.Toggle"},t.prototype.focus=function(){this._checkboxInputElement&&this._checkboxInputElement.focus()},t.prototype.isSet=function(){return this.isRequired?this.value===this.valueOn:!!this.value},t.prototype.isDirty=function(){return!!this._checkboxInputElement&&this._checkboxInputElement.checked!==this._oldCheckboxValue},Object.defineProperty(t.prototype,"value",{get:function(){return this._checkboxInputElement?this._checkboxInputElement.checked?this.valueOn:this.valueOff:void 0},enumerable:!1,configurable:!0}),t.valueProperty=new f.StringProperty(f.Versions.v1_0,"value"),t.titleProperty=new f.StringProperty(f.Versions.v1_0,"title"),t.valueOnProperty=new f.StringProperty(f.Versions.v1_0,"valueOn",!0,void 0,"true",(function(e){return"true"})),t.valueOffProperty=new f.StringProperty(f.Versions.v1_0,"valueOff",!0,void 0,"false",(function(e){return"false"})),t.wrapProperty=new f.BoolProperty(f.Versions.v1_2,"wrap",!1),o([(0,f.property)(t.valueProperty)],t.prototype,"defaultValue",void 0),o([(0,f.property)(t.titleProperty)],t.prototype,"title",void 0),o([(0,f.property)(t.valueOnProperty)],t.prototype,"valueOn",void 0),o([(0,f.property)(t.valueOffProperty)],t.prototype,"valueOff",void 0),o([(0,f.property)(t.wrapProperty)],t.prototype,"wrap",void 0),t}(q);t.ToggleInput=K;var Y=function(e){function t(t,n){var r=e.call(this)||this;return r.title=t,r.value=n,r}return i(t,e),t.prototype.getSchemaKey=function(){return"Choice"},t.titleProperty=new f.StringProperty(f.Versions.v1_0,"title"),t.valueProperty=new f.StringProperty(f.Versions.v1_0,"value"),o([(0,f.property)(t.titleProperty)],t.prototype,"title",void 0),o([(0,f.property)(t.valueProperty)],t.prototype,"value",void 0),t}(f.SerializableObject);t.Choice=Y;var X=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.getSchemaKey=function(){return"choices.data"},t.typeProperty=new f.StringProperty(f.Versions.v1_6,"type",!0,new RegExp("^Data.Query$")),t.datasetProperty=new f.StringProperty(f.Versions.v1_6,"dataset"),t.countProperty=new f.NumProperty(f.Versions.v1_6,"count"),t.skipProperty=new f.NumProperty(f.Versions.v1_6,"skip"),o([(0,f.property)(t.typeProperty)],t.prototype,"type",void 0),o([(0,f.property)(t.datasetProperty)],t.prototype,"dataset",void 0),o([(0,f.property)(t.countProperty)],t.prototype,"count",void 0),o([(0,f.property)(t.skipProperty)],t.prototype,"skip",void 0),t}(f.SerializableObject);t.ChoiceSetInputDataQuery=X;var Z=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isMultiSelect=!1,t.wrap=!1,t.choices=[],t}return i(t,e),Object.defineProperty(t.prototype,"isCompact",{get:function(){return!this.style||"compact"===this.style},set:function(e){this.style=e?void 0:"expanded"},enumerable:!1,configurable:!0}),t.getUniqueCategoryName=function(){var e="__ac-category"+t._uniqueCategoryCounter;return t._uniqueCategoryCounter++,e},t.prototype.isDynamicTypeahead=function(){return!!this.choicesData&&!!this.choicesData.dataset&&"Data.Query"===this.choicesData.type},t.prototype.getFilterForDynamicSearch=function(){var e,t;return null===(t=null===(e=this._filteredChoiceSet)||void 0===e?void 0:e.textInput)||void 0===t?void 0:t.value},t.prototype.renderChoices=function(e){var t;null===(t=this._filteredChoiceSet)||void 0===t||t.processResponse(e)},t.prototype.showLoadingIndicator=function(){var e;null===(e=this._filteredChoiceSet)||void 0===e||e.showLoadingIndicator()},t.prototype.removeLoadingIndicator=function(){var e;null===(e=this._filteredChoiceSet)||void 0===e||e.removeLoadingIndicator()},t.prototype.showErrorIndicator=function(e){var t;null===(t=this._filteredChoiceSet)||void 0===t||t.showErrorIndicator(e)},t.prototype.createPlaceholderOptionWhenValueDoesNotExist=function(){if(!this.value){var e=document.createElement("option");return e.selected=!0,e.disabled=!0,e.hidden=!0,e.value="",this.placeholder&&(e.text=this.placeholder),e}},t.prototype.internalApplyAriaCurrent=function(){if(this._selectElement){var e=this._selectElement.options;if(e)for(var t=0,n=Array.from(e);t<n.length;t++){var r=n[t];r.selected?r.setAttribute("aria-current","true"):r.removeAttribute("aria-current")}}},t.prototype.renderCompoundInput=function(e,t,n){var r=this,i=document.createElement("div");i.className=this.hostConfig.makeCssClassName("ac-input",e),i.style.width="100%",i.tabIndex=this.isDesignMode()?-1:0,this._toggleInputs=[],this._labels=[];for(var o=0,a=this.choices;o<a.length;o++){var s=a[o],l=document.createElement("input");l.id=u.generateUniqueId(),l.type=t,l.style.margin="0",l.style.display="inline-block",l.style.verticalAlign="middle",l.style.flex="0 0 auto",l.name=this.id?this.id:this._uniqueCategoryName,this.isRequired&&l.setAttribute("aria-required","true"),l.tabIndex=this.isDesignMode()?-1:0,s.value&&(l.value=s.value),s.title&&l.setAttribute("aria-label",s.title),n&&s.value&&n.indexOf(s.value)>=0&&(l.checked=!0),l.onchange=function(){r.valueChanged()},this._toggleInputs.push(l);var d=document.createElement("div");d.style.display="flex",d.style.alignItems="center",u.appendChild(d,l);var p=new E;p.setParent(this),p.forElementId=l.id,p.hostConfig=this.hostConfig,p.text=s.title?s.title:"Choice "+this._toggleInputs.length,p.useMarkdown=c.GlobalSettings.useMarkdownInRadioButtonAndCheckbox,p.wrap=this.wrap;var h=p.render();if(this._labels.push(h),h){h.id=u.generateUniqueId(),h.style.display="inline-block",h.style.flex="1 1 auto",h.style.marginLeft="6px",h.style.verticalAlign="middle";var f=document.createElement("div");f.style.width="6px",u.appendChild(d,f),u.appendChild(d,h)}u.appendChild(i,d)}return i},t.prototype.updateInputControlAriaLabelledBy=function(){if((this.isMultiSelect||"expanded"===this.style)&&this._toggleInputs&&this._labels)for(var t=this.getAllLabelIds(),n=0;n<this._toggleInputs.length;n++){var r=t.join(" "),i=this._labels[n];i&&i.id&&(r+=" "+i.id),r?this._toggleInputs[n].setAttribute("aria-labelledby",r):this._toggleInputs[n].removeAttribute("aria-labelledby")}else e.prototype.updateInputControlAriaLabelledBy.call(this)},t.prototype.internalRender=function(){var e=this;if(this._uniqueCategoryName=t.getUniqueCategoryName(),this.isDynamicTypeahead()){var n=new J(t._uniqueCategoryCounter,this.choices,this.hostConfig);if(n.render(),n.textInput){this._textInput=n.textInput,this.defaultValue&&(this._textInput.value=this.defaultValue),this.placeholder&&!this._textInput.value&&(this._textInput.placeholder=this.placeholder,this._textInput.setAttribute("aria-label",this.placeholder)),this._textInput.tabIndex=this.isDesignMode()?-1:0;var r=u.debounce((function(){n.processStaticChoices(),e.valueChanged(),e._textInput&&(e.value?(e._textInput.removeAttribute("placeholder"),e._textInput.removeAttribute("aria-label")):e.placeholder&&(e._textInput.placeholder=e.placeholder,e._textInput.setAttribute("aria-label",e.placeholder)))}),this.hostConfig.inputs.debounceTimeInMilliSeconds);this._textInput.onclick=r,this._textInput.oninput=r}return n.parent=this,this._filteredChoiceSet=n,n.renderedElement}if(this.isMultiSelect)return this.renderCompoundInput("ac-choiceSetInput-multiSelect","checkbox",this.defaultValue?this.defaultValue.split(this.hostConfig.choiceSetInputValueSeparator):void 0);if("expanded"===this.style)return this.renderCompoundInput("ac-choiceSetInput-expanded","radio",this.defaultValue?[this.defaultValue]:void 0);if("filtered"===this.style){var i=document.createElement("div");i.style.width="100%",this._textInput=document.createElement("input"),this._textInput.className=this.hostConfig.makeCssClassName("ac-input","ac-multichoiceInput","ac-choiceSetInput-filtered"),this._textInput.type="text",this._textInput.style.width="100%",this._textInput.oninput=function(){e.valueChanged(),e._textInput&&(e.value?(e._textInput.removeAttribute("placeholder"),e._textInput.removeAttribute("aria-label")):e.placeholder&&(e._textInput.placeholder=e.placeholder,e._textInput.setAttribute("aria-label",e.placeholder)))},this.defaultValue&&(this._textInput.value=this.defaultValue),this.placeholder&&!this._textInput.value&&(this._textInput.placeholder=this.placeholder,this._textInput.setAttribute("aria-label",this.placeholder)),this._textInput.tabIndex=this.isDesignMode()?-1:0;var o=document.createElement("datalist");o.id=u.generateUniqueId();for(var a=0,s=this.choices;a<s.length;a++){var l=s[a],c=document.createElement("option");l.title&&(c.value=l.title,c.setAttribute("aria-label",l.title)),c.tabIndex=this.isDesignMode()?-1:0,o.appendChild(c)}return this._textInput.setAttribute("list",o.id),i.append(this._textInput,o),i}this._selectElement=document.createElement("select"),this._selectElement.className=this.hostConfig.makeCssClassName("ac-input","ac-multichoiceInput","ac-choiceSetInput-compact"),this._selectElement.style.width="100%",this._selectElement.tabIndex=this.isDesignMode()?-1:0;var d=this.createPlaceholderOptionWhenValueDoesNotExist();u.appendChild(this._selectElement,d);for(var p=0,h=this.choices;p<h.length;p++)l=h[p],(c=document.createElement("option")).value=l.value,l.title&&(c.text=l.title,c.setAttribute("aria-label",l.title)),c.tabIndex=this.isDesignMode()?-1:0,l.value===this.defaultValue&&(c.selected=!0),u.appendChild(this._selectElement,c);return this._selectElement.onchange=function(){e.internalApplyAriaCurrent(),e.valueChanged()},this.internalApplyAriaCurrent(),this._selectElement},t.prototype.updateVisualState=function(t){this.allowRevealOnHoverStyle&&!this.isMultiSelect&&this.isCompact&&(e.prototype.updateVisualState.call(this,t),this._selectElement&&this.inputStyle===l.InputStyle.RevealOnHover&&(this.shouldHideInputAdornersForRevealOnHover(this._selectElement,t)?(this._selectElement.style.appearance="none",this._selectElement.classList.remove(this.hostConfig.makeCssClassName("ac-inputStyle-revealOnHover-onfocus"))):(this._selectElement.style.appearance="auto",this._selectElement.classList.add(this.hostConfig.makeCssClassName("ac-inputStyle-revealOnHover-onfocus")))))},t.prototype.getJsonTypeName=function(){return"Input.ChoiceSet"},t.prototype.focus=function(){this._toggleInputs&&(this.isMultiSelect||"expanded"===this.style)?this._toggleInputs.length>0&&this._toggleInputs[0].focus():this._textInput?this._textInput.focus():e.prototype.focus.call(this)},t.prototype.internalValidateProperties=function(t){e.prototype.internalValidateProperties.call(this,t),0===this.choices.length&&t.addFailure(this,l.ValidationEvent.CollectionCantBeEmpty,g.Strings.errors.choiceSetMustHaveAtLeastOneChoice());for(var n=0,r=this.choices;n<r.length;n++){var i=r[n];i.title&&i.value||t.addFailure(this,l.ValidationEvent.PropertyCantBeNull,g.Strings.errors.choiceSetChoicesMustHaveTitleAndValue())}},t.prototype.isSet=function(){return!!this.value},t.prototype.isValid=function(){if(this._textInput){if(""===this.value||this.value===this.placeholder)return!0;for(var t=0,n=this.choices;t<n.length;t++){var r=n[t];if(this.value===r.value)return!0}if(this.dynamicChoices)for(var i=0,o=this.dynamicChoices;i<o.length;i++)if(r=o[i],this.value===r)return!0;return!1}return e.prototype.isValid.call(this)},Object.defineProperty(t.prototype,"value",{get:function(){if(this.isMultiSelect){if(!this._toggleInputs||0===this._toggleInputs.length)return;for(var e="",t=0,n=this._toggleInputs;t<n.length;t++)(l=n[t]).checked&&(""!==e&&(e+=this.hostConfig.choiceSetInputValueSeparator),e+=l.value);return e||void 0}if(this._selectElement)return this._selectElement.selectedIndex>0?this._selectElement.value:void 0;if(this._textInput){for(var r=0,i=this.choices;r<i.length;r++){var o=i[r];if(o.title&&this._textInput.value===o.title)return o.value}return this._textInput.value}if(this._toggleInputs&&this._toggleInputs.length>0)for(var a=0,s=this._toggleInputs;a<s.length;a++){var l;if((l=s[a]).checked)return l.value}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dynamicChoices",{get:function(){var e;return null===(e=this._filteredChoiceSet)||void 0===e?void 0:e.dynamicChoices},enumerable:!1,configurable:!0}),t.valueProperty=new f.StringProperty(f.Versions.v1_0,"value"),t.choicesProperty=new f.SerializableObjectCollectionProperty(f.Versions.v1_0,"choices",Y),t.choicesDataProperty=new f.SerializableObjectProperty(f.Versions.v1_6,"choices.data",X),t.styleProperty=new f.ValueSetProperty(f.Versions.v1_0,"style",[{value:"compact"},{value:"expanded"},{value:"filtered",targetVersion:f.Versions.v1_5}],"compact"),t.isMultiSelectProperty=new f.BoolProperty(f.Versions.v1_0,"isMultiSelect",!1),t.placeholderProperty=new f.StringProperty(f.Versions.v1_0,"placeholder"),t.wrapProperty=new f.BoolProperty(f.Versions.v1_2,"wrap",!1),t._uniqueCategoryCounter=0,o([(0,f.property)(t.valueProperty)],t.prototype,"defaultValue",void 0),o([(0,f.property)(t.styleProperty)],t.prototype,"style",void 0),o([(0,f.property)(t.isMultiSelectProperty)],t.prototype,"isMultiSelect",void 0),o([(0,f.property)(t.placeholderProperty)],t.prototype,"placeholder",void 0),o([(0,f.property)(t.wrapProperty)],t.prototype,"wrap",void 0),o([(0,f.property)(t.choicesProperty)],t.prototype,"choices",void 0),o([(0,f.property)(t.choicesDataProperty)],t.prototype,"choicesData",void 0),t}(q);t.ChoiceSetInput=Z;var J=function(){function e(e,t,n){this._choiceSetId=e,this._choices=t,this._dynamicChoices=[],this._visibleChoiceCount=0,this._hostConfig=n}return e.prototype.render=function(){var e=this,t=document.createElement("div");t.style.position="relative",t.style.width="100%",this._textInput=document.createElement("input"),this._textInput.className=this.hostConfig.makeCssClassName("ac-input","ac-multichoiceInput","ac-choiceSetInput-filtered"),this._textInput.type="text",this._textInput.style.width="100%",this._textInput.onkeydown=function(t){"ArrowDown"===t.key&&e.focusChoice(0)},this._dropdown=document.createElement("div"),this._dropdown.style.display="none",this._dropdown.className=this.hostConfig.makeCssClassName("ac-input","ac-multichoiceInput","ac-choiceSetInput-filtered-dropdown"),t.append(this._textInput,this._dropdown),document.onclick=function(t){if(e._dropdown){for(var n=e._dropdown.firstChild;n&&t.target!==n;)n=n.nextSibling;(n||t.target!==e._textInput)&&(e._dropdown.style.display="none")}},this._renderedElement=t},e.prototype.createChoice=function(e,t,n){var r=this,i=document.createElement("span");return i.className=this.hostConfig.makeCssClassName("ac-input","ac-choiceSetInput-choice"),i.id="ac-choiceSetInput-".concat(this._choiceSetId,"-choice-").concat(n),i.innerHTML=e.replace(t,"<b>".concat(t,"</b>")),i.tabIndex=-1,i.addEventListener("focusin",(function(){i.classList.add("focused")})),i.addEventListener("focusout",(function(){i.classList.remove("focused")})),i.onclick=function(){r._textInput&&(r._textInput.value=i.innerText),r._dropdown&&(r._dropdown.style.display="none")},i.onkeydown=function(e){"ArrowDown"===e.key?r.focusChoice(n+1):"ArrowUp"===e.key?r.focusChoice(n-1):"Enter"===e.key&&i.click()},i.onmouseover=function(){r.focusChoice(n)},i},e.prototype.focusChoice=function(e){var t=document.getElementById("ac-choiceSetInput-".concat(this._choiceSetId,"-choice-").concat(e));if(t)t.focus();else if(this._textInput){this._textInput.focus();var n=this._textInput.value.length;this._textInput.setSelectionRange(n,n)}},e.prototype.filterChoices=function(e){var t,n,r=null===(t=this._textInput)||void 0===t?void 0:t.value.toLowerCase();if(r)for(var i=0,o=e?this._dynamicChoices:this._choices;i<o.length;i++){var a=o[i];if(a.title){var s=a.title.toLowerCase().indexOf(r);if(-1!==s){var l=a.title.substring(s,s+r.length),c=this.createChoice(a.title,l,this._visibleChoiceCount++);null===(n=this._dropdown)||void 0===n||n.appendChild(c)}}}},e.prototype.getStatusIndicator=function(e){if(e){if(!this._errorIndicator){var t=document.createElement("div");t.className=this.hostConfig.makeCssClassName("ac-input","ac-choiceSetInput-statusIndicator","ac-choiceSetInput-errorIndicator"),this._errorIndicator=t}return this._errorIndicator.innerText=e,this._errorIndicator}if(!this._loadingIndicator){var n=document.createElement("div");n.className=this.hostConfig.makeCssClassName("ac-input","ac-choiceSetInput-statusIndicator"),this._loadingIndicator=n}return this._loadingIndicator.innerText=0===this._visibleChoiceCount?"Loading...":"Loading more...",this._loadingIndicator},e.prototype.resetDropdown=function(){this._dynamicChoices=[],this._dropdown&&(u.clearElementChildren(this._dropdown),this._visibleChoiceCount=0)},e.prototype.showDropdown=function(){var e;(null===(e=this._dropdown)||void 0===e?void 0:e.hasChildNodes)&&(this._dropdown.style.display="block")},e.prototype.processStaticChoices=function(){this.resetDropdown(),this.filterChoices(),this.showDropdown()},e.prototype.processResponse=function(e){this._dynamicChoices=e,this.filterChoices(!0),0===this._visibleChoiceCount&&this.showErrorIndicator("No results found.")},e.prototype.showLoadingIndicator=function(){var e,t=this.getStatusIndicator();null===(e=this._dropdown)||void 0===e||e.appendChild(t),this.showDropdown()},e.prototype.removeLoadingIndicator=function(){var e,t;this._loadingIndicator&&(null===(e=this._dropdown)||void 0===e?void 0:e.contains(this._loadingIndicator))&&(null===(t=this._dropdown)||void 0===t||t.removeChild(this._loadingIndicator))},e.prototype.showErrorIndicator=function(e){var t;this.removeLoadingIndicator();var n=this.getStatusIndicator(e);null===(t=this._dropdown)||void 0===t||t.appendChild(n)},Object.defineProperty(e.prototype,"dynamicChoices",{get:function(){var e;return null===(e=this._dynamicChoices)||void 0===e?void 0:e.map((function(e){return e.title}))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hostConfig",{get:function(){return this._hostConfig?this._hostConfig:this.parent?this.parent.hostConfig:d.defaultHostConfig},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},set:function(e){this._parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"renderedElement",{get:function(){return this._renderedElement},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"textInput",{get:function(){return this._textInput},enumerable:!1,configurable:!0}),e}();t.FilteredChoiceSet=J;var Q=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.internalRender=function(){var e=this;return this._numberInputElement=document.createElement("input"),this._numberInputElement.setAttribute("type","number"),void 0!==this.min&&this._numberInputElement.setAttribute("min",this.min.toString()),void 0!==this.max&&this._numberInputElement.setAttribute("max",this.max.toString()),this._numberInputElement.className=this.hostConfig.makeCssClassName("ac-input","ac-numberInput"),this._numberInputElement.style.width="100%",this._numberInputElement.tabIndex=this.isDesignMode()?-1:0,void 0!==this.defaultValue&&(this._numberInputElement.valueAsNumber=this.defaultValue),this.placeholder&&(this._numberInputElement.placeholder=this.placeholder,this._numberInputElement.setAttribute("aria-label",this.placeholder)),this._numberInputElement.oninput=function(){e.valueChanged()},this._numberInputElement},t.prototype.getJsonTypeName=function(){return"Input.Number"},t.prototype.isSet=function(){return void 0!==this.value&&!isNaN(this.value)},t.prototype.isValid=function(){if(void 0===this.value)return!this.isRequired;var e=!0;return void 0!==this.min&&(e=e&&this.value>=this.min),void 0!==this.max&&(e=e&&this.value<=this.max),e},Object.defineProperty(t.prototype,"value",{get:function(){return this._numberInputElement?this._numberInputElement.valueAsNumber:void 0},set:function(e){e&&this._numberInputElement&&(this._numberInputElement.value=e.toString())},enumerable:!1,configurable:!0}),t.valueProperty=new f.NumProperty(f.Versions.v1_0,"value"),t.placeholderProperty=new f.StringProperty(f.Versions.v1_0,"placeholder"),t.minProperty=new f.NumProperty(f.Versions.v1_0,"min"),t.maxProperty=new f.NumProperty(f.Versions.v1_0,"max"),o([(0,f.property)(t.valueProperty)],t.prototype,"defaultValue",void 0),o([(0,f.property)(t.minProperty)],t.prototype,"min",void 0),o([(0,f.property)(t.maxProperty)],t.prototype,"max",void 0),o([(0,f.property)(t.placeholderProperty)],t.prototype,"placeholder",void 0),t}(q);t.NumberInput=Q;var ee=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.internalRender=function(){var e=this;return this._dateInputElement=document.createElement("input"),this._dateInputElement.setAttribute("type","date"),this.min&&this._dateInputElement.setAttribute("min",this.min),this.max&&this._dateInputElement.setAttribute("max",this.max),this.placeholder&&(this._dateInputElement.placeholder=this.placeholder,this._dateInputElement.setAttribute("aria-label",this.placeholder)),this._dateInputElement.tabIndex=this.isDesignMode()?-1:0,this._dateInputElement.className=this.hostConfig.makeCssClassName("ac-input","ac-dateInput"),this._dateInputElement.style.width="100%",this._dateInputElement.oninput=function(){e.valueChanged()},this.defaultValue&&(this._dateInputElement.value=this.defaultValue),this._dateInputElement},t.prototype.updateVisualState=function(t){if(this.allowRevealOnHoverStyle&&(e.prototype.updateVisualState.call(this,t),this._dateInputElement&&this.inputStyle===l.InputStyle.RevealOnHover)){var n=this.shouldHideInputAdornersForRevealOnHover(this._dateInputElement,t);n?this._dateInputElement.classList.remove(this.hostConfig.makeCssClassName("ac-inputStyle-revealOnHover-onfocus")):this._dateInputElement.classList.add(this.hostConfig.makeCssClassName("ac-inputStyle-revealOnHover-onfocus")),_e(this._dateInputElement,n)}},t.prototype.getJsonTypeName=function(){return"Input.Date"},t.prototype.isSet=function(){return!!this.value},t.prototype.isValid=function(){if(!this.value)return!this.isRequired;var e=new Date(this.value),t=!0;if(this.min){var n=new Date(this.min);t=t&&e>=n}if(this.max){var r=new Date(this.max);t=t&&e<=r}return t},Object.defineProperty(t.prototype,"value",{get:function(){return this._dateInputElement?this._dateInputElement.value:void 0},enumerable:!1,configurable:!0}),t.valueProperty=new f.StringProperty(f.Versions.v1_0,"value"),t.placeholderProperty=new f.StringProperty(f.Versions.v1_0,"placeholder"),t.minProperty=new f.StringProperty(f.Versions.v1_0,"min"),t.maxProperty=new f.StringProperty(f.Versions.v1_0,"max"),o([(0,f.property)(t.valueProperty)],t.prototype,"defaultValue",void 0),o([(0,f.property)(t.minProperty)],t.prototype,"min",void 0),o([(0,f.property)(t.maxProperty)],t.prototype,"max",void 0),o([(0,f.property)(t.placeholderProperty)],t.prototype,"placeholder",void 0),t}(q);t.DateInput=ee;var te=function(e){function t(t,n){var r=e.call(this,t,n,(function(e,t,n,r){var i=n[t.name];if("string"==typeof i&&i&&/^[0-9]{2}:[0-9]{2}$/.test(i))return i}),(function(e,t,n,r,i){i.serializeValue(n,t.name,r)}))||this;return r.targetVersion=t,r.name=n,r}return i(t,e),t}(f.CustomProperty);t.TimeProperty=te;var ne=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.convertTimeStringToDate=function(e){return new Date("1973-09-04T"+e+":00Z")},t.prototype.internalRender=function(){var e=this;return this._timeInputElement=document.createElement("input"),this._timeInputElement.setAttribute("type","time"),this.min&&this._timeInputElement.setAttribute("min",this.min),this.max&&this._timeInputElement.setAttribute("max",this.max),this._timeInputElement.className=this.hostConfig.makeCssClassName("ac-input","ac-timeInput"),this._timeInputElement.style.width="100%",this._timeInputElement.oninput=function(){e.valueChanged()},this.placeholder&&(this._timeInputElement.placeholder=this.placeholder,this._timeInputElement.setAttribute("aria-label",this.placeholder)),this._timeInputElement.tabIndex=this.isDesignMode()?-1:0,this.defaultValue&&(this._timeInputElement.value=this.defaultValue),this._timeInputElement},t.prototype.updateVisualState=function(t){if(this.allowRevealOnHoverStyle&&(e.prototype.updateVisualState.call(this,t),this._timeInputElement&&this.inputStyle===l.InputStyle.RevealOnHover)){var n=this.shouldHideInputAdornersForRevealOnHover(this._timeInputElement,t);n?this._timeInputElement.classList.remove(this.hostConfig.makeCssClassName("ac-inputStyle-revealOnHover-onfocus")):this._timeInputElement.classList.add(this.hostConfig.makeCssClassName("ac-inputStyle-revealOnHover-onfocus")),_e(this._timeInputElement,n)}},t.prototype.getJsonTypeName=function(){return"Input.Time"},t.prototype.isSet=function(){return!!this.value},t.prototype.isValid=function(){if(!this.value)return!this.isRequired;var e=t.convertTimeStringToDate(this.value),n=!0;if(this.min){var r=t.convertTimeStringToDate(this.min);n=n&&e>=r}if(this.max){var i=t.convertTimeStringToDate(this.max);n=n&&e<=i}return n},Object.defineProperty(t.prototype,"value",{get:function(){return this._timeInputElement?this._timeInputElement.value:void 0},enumerable:!1,configurable:!0}),t.valueProperty=new te(f.Versions.v1_0,"value"),t.placeholderProperty=new f.StringProperty(f.Versions.v1_0,"placeholder"),t.minProperty=new te(f.Versions.v1_0,"min"),t.maxProperty=new te(f.Versions.v1_0,"max"),o([(0,f.property)(t.valueProperty)],t.prototype,"defaultValue",void 0),o([(0,f.property)(t.minProperty)],t.prototype,"min",void 0),o([(0,f.property)(t.maxProperty)],t.prototype,"max",void 0),o([(0,f.property)(t.placeholderProperty)],t.prototype,"placeholder",void 0),t}(q);t.TimeInput=ne;var re=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.style=l.ActionStyle.Default,t.mode=l.ActionMode.Primary,t._state=0,t._isFocusable=!0,t}return i(t,e),t.prototype.renderButtonContent=function(){if(this.renderedElement){var e=this.hostConfig,t=document.createElement("div");if(t.style.overflow="hidden",t.style.textOverflow="ellipsis",e.actions.iconPlacement===l.ActionIconPlacement.AboveTitle||e.actions.allowTitleToWrap||(t.style.whiteSpace="nowrap"),this.title&&(t.innerText=this.title),this.iconUrl){var n=document.createElement("img");n.src=this.iconUrl,n.style.width=e.actions.iconSize+"px",n.style.height=e.actions.iconSize+"px",n.style.flex="0 0 auto",e.actions.iconPlacement===l.ActionIconPlacement.AboveTitle?(this.renderedElement.classList.add("iconAbove"),this.renderedElement.style.flexDirection="column",this.title&&(n.style.marginBottom="6px")):(this.renderedElement.classList.add("iconLeft"),n.style.maxHeight="100%",this.title&&(n.style.marginRight="6px")),this.renderedElement.appendChild(n),this.renderedElement.appendChild(t)}else this.renderedElement.classList.add("noIcon"),this.renderedElement.appendChild(t)}},t.prototype.getParentContainer=function(){return this.parent instanceof Se?this.parent:this.parent?this.parent.getParentContainer():void 0},t.prototype.isDesignMode=function(){var e=this.getRootObject();return e instanceof C&&e.isDesignMode()},t.prototype.updateCssClasses=function(){var e,t;if(this.parent&&this.renderedElement){var n=this.parent.hostConfig;this.renderedElement.className=n.makeCssClassName(this.isEffectivelyEnabled()?"ac-pushButton":"ac-pushButton-disabled");var r=this.getParentContainer();if(r){var i=r.getEffectiveStyle();i&&this.renderedElement.classList.add("style-"+i)}switch(this.renderedElement.tabIndex=!this.isDesignMode()&&this.isFocusable?0:-1,this._state){case 0:break;case 1:this.renderedElement.classList.add(n.makeCssClassName("expanded"));break;case 2:this.renderedElement.classList.add(n.makeCssClassName("subdued"))}this.style&&this.isEffectivelyEnabled()&&(this.style===l.ActionStyle.Positive?(e=this.renderedElement.classList).add.apply(e,n.makeCssClassNames("primary","style-positive")):(t=this.renderedElement.classList).add.apply(t,n.makeCssClassNames("style-"+this.style.toLowerCase())))}},t.prototype.getDefaultSerializationContext=function(){return new Ne},t.prototype.internalGetReferencedInputs=function(){return{}},t.prototype.internalPrepareForExecution=function(e){},t.prototype.internalValidateInputs=function(e){var t=[];if(e)for(var n=0,r=Object.keys(e);n<r.length;n++){var i=e[r[n]];i.validateValue()||t.push(i)}return t},t.prototype.shouldSerialize=function(e){return void 0!==e.actionRegistry.findByName(this.getJsonTypeName())},t.prototype.raiseExecuteActionEvent=function(){var e,t,n;this.onExecute&&this.onExecute(this),n=(t=(e=this).parent?e.parent.getRootElement():void 0)&&t.onExecuteAction?t.onExecuteAction:Oe.onExecuteAction,e.prepareForExecution()&&n&&n(e)},t.prototype.internalAfterExecute=function(){var e=this.getRootObject();e instanceof C&&e.updateActionsEnabledState()},t.prototype.getHref=function(){return""},t.prototype.getAriaRole=function(){var e=this.getAriaRoleFromEnum();return null!=e?e:"button"},t.prototype.getAriaRoleFromEnum=function(){switch(this.role){case l.ActionRole.Button:return"button";case l.ActionRole.Link:return"link";case l.ActionRole.Menu:return"menu";case l.ActionRole.MenuItem:return"menuitem";case l.ActionRole.Tab:return"tab";default:return}},t.prototype.setupElementForAccessibility=function(e,t){void 0===t&&(t=!1),e.tabIndex=this.isEffectivelyEnabled()&&!this.isDesignMode()?0:-1,e.setAttribute("role",this.getAriaRole()),e instanceof HTMLButtonElement&&(e.disabled=!this.isEffectivelyEnabled()),this.isEffectivelyEnabled()?(e.removeAttribute("aria-disabled"),e.classList.add(this.hostConfig.makeCssClassName("ac-selectable"))):e.setAttribute("aria-disabled","true"),this.title?(e.setAttribute("aria-label",this.title),e.title=this.title):(e.removeAttribute("aria-label"),e.removeAttribute("title")),this.tooltip&&(t&&!this.title&&e.setAttribute("aria-label",this.tooltip),e.title=this.tooltip)},t.prototype.parse=function(t,n){return e.prototype.parse.call(this,t,n||new Ne)},t.prototype.render=function(){var e=this,t=document.createElement("button");t.type="button",t.style.display="flex",t.style.alignItems="center",t.style.justifyContent="center",t.onclick=function(t){e.isEffectivelyEnabled()&&(t.preventDefault(),t.cancelBubble=!0,e.execute())},this._renderedElement=t,this.renderButtonContent(),this.updateCssClasses(),this.setupElementForAccessibility(t)},t.prototype.execute=function(){this._actionCollection&&this._actionCollection.actionExecuted(this),this.raiseExecuteActionEvent(),this.internalAfterExecute()},t.prototype.prepareForExecution=function(){var e=this.getReferencedInputs(),t=this.internalValidateInputs(e);return t.length>0?(t[0].focus(),!1):(this.internalPrepareForExecution(e),!0)},t.prototype.remove=function(){return!!this._actionCollection&&this._actionCollection.removeAction(this)},t.prototype.getAllInputs=function(e){return void 0===e&&(e=!0),[]},t.prototype.getAllActions=function(){return[this]},t.prototype.getResourceInformation=function(){return this.iconUrl?[{url:this.iconUrl,mimeType:"image"}]:[]},t.prototype.getActionById=function(e){return this.id===e?this:void 0},t.prototype.getReferencedInputs=function(){return this.internalGetReferencedInputs()},t.prototype.validateInputs=function(){return this.internalValidateInputs(this.getReferencedInputs())},t.prototype.updateEnabledState=function(){},t.prototype.isEffectivelyEnabled=function(){return this.isEnabled},Object.defineProperty(t.prototype,"isPrimary",{get:function(){return this.style===l.ActionStyle.Positive},set:function(e){e?this.style=l.ActionStyle.Positive:this.style===l.ActionStyle.Positive&&(this.style=l.ActionStyle.Default)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hostConfig",{get:function(){return this.parent?this.parent.hostConfig:d.defaultHostConfig},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"state",{get:function(){return this._state},set:function(e){this._state!==e&&(this._state=e,this.updateCssClasses())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isFocusable",{get:function(){return this._isFocusable},set:function(e){this._isFocusable!==e&&(this._isFocusable=e,this.updateCssClasses())},enumerable:!1,configurable:!0}),t.titleProperty=new f.StringProperty(f.Versions.v1_0,"title"),t.iconUrlProperty=new f.StringProperty(f.Versions.v1_1,"iconUrl"),t.styleProperty=new f.ValueSetProperty(f.Versions.v1_2,"style",[{value:l.ActionStyle.Default},{value:l.ActionStyle.Positive},{value:l.ActionStyle.Destructive}],l.ActionStyle.Default),t.modeProperty=new f.ValueSetProperty(f.Versions.v1_5,"mode",[{value:l.ActionMode.Primary},{value:l.ActionMode.Secondary}],l.ActionMode.Primary),t.tooltipProperty=new f.StringProperty(f.Versions.v1_5,"tooltip"),t.isEnabledProperty=new f.BoolProperty(f.Versions.v1_5,"isEnabled",!0),t.roleProperty=new f.EnumProperty(f.Versions.v1_6,"role",l.ActionRole),o([(0,f.property)(t.titleProperty)],t.prototype,"title",void 0),o([(0,f.property)(t.iconUrlProperty)],t.prototype,"iconUrl",void 0),o([(0,f.property)(t.styleProperty)],t.prototype,"style",void 0),o([(0,f.property)(t.modeProperty)],t.prototype,"mode",void 0),o([(0,f.property)(t.tooltipProperty)],t.prototype,"tooltip",void 0),o([(0,f.property)(t.isEnabledProperty)],t.prototype,"isEnabled",void 0),o([(0,f.property)(t.roleProperty)],t.prototype,"role",void 0),t}(h.CardObject);t.Action=re;var ie=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.disabledUnlessAssociatedInputsChange=!1,t._isPrepared=!1,t._areReferencedInputsDirty=!1,t}return i(t,e),t.prototype.internalGetReferencedInputs=function(){var e={};if("none"!==this.associatedInputs){for(var t=this.parent,n=[];t;)n.push.apply(n,t.getAllInputs(!1)),t=t.parent;for(var r=0,i=n;r<i.length;r++){var o=i[r];o.id&&(e[o.id]=o)}}return e},t.prototype.internalPrepareForExecution=function(e){if(this._originalData?this._processedData=JSON.parse(JSON.stringify(this._originalData)):this._processedData={},this._processedData&&e)for(var t=0,n=Object.keys(e);t<n.length;t++){var r=e[n[t]];r.id&&r.isSet()&&(this._processedData[r.id]="string"==typeof r.value?r.value:r.value.toString())}this._isPrepared=!0},t.prototype.internalAfterExecute=function(){c.GlobalSettings.resetInputsDirtyStateAfterActionExecution&&this.resetReferencedInputsDirtyState()},t.prototype.resetReferencedInputsDirtyState=function(){var e=this.getReferencedInputs();if(this._areReferencedInputsDirty=!1,e)for(var t=0,n=Object.keys(e);t<n.length;t++)e[n[t]].resetDirtyState()},t.prototype.updateEnabledState=function(){this._areReferencedInputsDirty=!1;var e=this.getReferencedInputs();if(e)for(var t=0,n=Object.keys(e);t<n.length;t++)if(e[n[t]].isDirty()){this._areReferencedInputsDirty=!0;break}this.updateCssClasses(),this._renderedElement&&this.setupElementForAccessibility(this._renderedElement)},t.prototype.isEffectivelyEnabled=function(){var t=e.prototype.isEffectivelyEnabled.call(this);return this.disabledUnlessAssociatedInputsChange?t&&this._areReferencedInputsDirty:t},Object.defineProperty(t.prototype,"data",{get:function(){return this._isPrepared?this._processedData:this._originalData},set:function(e){this._originalData=e,this._isPrepared=!1},enumerable:!1,configurable:!0}),t.dataProperty=new f.PropertyDefinition(f.Versions.v1_0,"data"),t.associatedInputsProperty=new f.CustomProperty(f.Versions.v1_3,"associatedInputs",(function(e,t,n,r){var i=n[t.name];if(void 0!==i&&"string"==typeof i)return"none"===i.toLowerCase()?"none":"auto"}),(function(e,t,n,r,i){i.serializeValue(n,t.name,r)})),t.disabledUnlessAssociatedInputsChangeProperty=new f.BoolProperty(f.Versions.v1_6,"disabledUnlessAssociatedInputsChange",!1),o([(0,f.property)(t.dataProperty)],t.prototype,"_originalData",void 0),o([(0,f.property)(t.associatedInputsProperty)],t.prototype,"associatedInputs",void 0),o([(0,f.property)(t.disabledUnlessAssociatedInputsChangeProperty)],t.prototype,"disabledUnlessAssociatedInputsChange",void 0),t}(re);t.SubmitActionBase=ie;var oe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.getJsonTypeName=function(){return t.JsonTypeName},t.JsonTypeName="Action.Submit",t}(ie);t.SubmitAction=oe;var ae=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t}(ie);t.UniversalAction=ae;var se=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.getJsonTypeName=function(){return t.JsonTypeName},t.JsonTypeName="Action.Execute",t.verbProperty=new f.StringProperty(f.Versions.v1_4,"verb"),o([(0,f.property)(t.verbProperty)],t.prototype,"verb",void 0),t}(ae);t.ExecuteAction=se;var le=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.getJsonTypeName=function(){return t.JsonTypeName},Object.defineProperty(t.prototype,"isStandalone",{get:function(){return!1},enumerable:!1,configurable:!0}),t.JsonTypeName="Data.Query",t.datasetProperty=new f.StringProperty(f.Versions.v1_6,"dataset"),t.filterProperty=new f.StringProperty(f.Versions.v1_6,"filter"),t.countProperty=new f.NumProperty(f.Versions.v1_6,"count"),t.skipProperty=new f.NumProperty(f.Versions.v1_6,"skip"),o([(0,f.property)(t.datasetProperty)],t.prototype,"dataset",void 0),o([(0,f.property)(t.filterProperty)],t.prototype,"filter",void 0),o([(0,f.property)(t.countProperty)],t.prototype,"count",void 0),o([(0,f.property)(t.skipProperty)],t.prototype,"skip",void 0),t}(ae);t.DataQuery=le;var ce=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.getJsonTypeName=function(){return t.JsonTypeName},t.prototype.getAriaRole=function(){var e=this.getAriaRoleFromEnum();return null!=e?e:"link"},t.prototype.internalValidateProperties=function(t){e.prototype.internalValidateProperties.call(this,t),this.url||t.addFailure(this,l.ValidationEvent.PropertyCantBeNull,g.Strings.errors.propertyMustBeSet("url"))},t.prototype.getHref=function(){return this.url},t.urlProperty=new f.StringProperty(f.Versions.v1_0,"url"),t.JsonTypeName="Action.OpenUrl",o([(0,f.property)(t.urlProperty)],t.prototype,"url",void 0),t}(re);t.OpenUrlAction=ce;var ue=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.targetElements={},t}return i(t,e),t.prototype.updateAriaControlsAttribute=function(){if(this.targetElements){var e=Object.keys(this.targetElements);this._renderedElement&&(e.length>0?this._renderedElement.setAttribute("aria-controls",e.join(" ")):this._renderedElement.removeAttribute("aria-controls"))}},t.prototype.internalValidateProperties=function(t){e.prototype.internalValidateProperties.call(this,t),this.targetElements||t.addFailure(this,l.ValidationEvent.PropertyCantBeNull,g.Strings.errors.propertyMustBeSet("targetElements"))},t.prototype.getJsonTypeName=function(){return t.JsonTypeName},t.prototype.render=function(){e.prototype.render.call(this),this.updateAriaControlsAttribute()},t.prototype.execute=function(){if(e.prototype.execute.call(this),this.parent)for(var t=0,n=Object.keys(this.targetElements);t<n.length;t++){var r=n[t],i=this.parent.getRootElement().getElementById(r);i&&("boolean"==typeof this.targetElements[r]?i.isVisible=this.targetElements[r]:i.isVisible=!i.isVisible)}},t.prototype.addTargetElement=function(e,t){void 0===t&&(t=void 0),this.targetElements[e]=t,this.updateAriaControlsAttribute()},t.prototype.removeTargetElement=function(e){delete this.targetElements[e],this.updateAriaControlsAttribute()},t.targetElementsProperty=new f.CustomProperty(f.Versions.v1_2,"targetElements",(function(e,t,n,r){var i={};if(Array.isArray(n[t.name]))for(var o=0,a=n[t.name];o<a.length;o++){var s=a[o];if("string"==typeof s)i[s]=void 0;else if("object"==typeof s){var l=s.elementId;"string"==typeof l&&(i[l]=u.parseBool(s.isVisible))}}return i}),(function(e,t,n,r,i){for(var o=[],a=0,s=Object.keys(r);a<s.length;a++){var l=s[a];"boolean"==typeof r[l]?o.push({elementId:l,isVisible:r[l]}):o.push(l)}i.serializeArray(n,t.name,o)}),{},(function(e){return{}})),t.JsonTypeName="Action.ToggleVisibility",o([(0,f.property)(t.targetElementsProperty)],t.prototype,"targetElements",void 0),t}(re);t.ToggleVisibilityAction=ue;var de=function(e){function t(t,n){var r=e.call(this,t,n,void 0,(function(){return new c.StringWithSubstitutions}))||this;return r.targetVersion=t,r.name=n,r}return i(t,e),t.prototype.parse=function(e,t,n){var r=new c.StringWithSubstitutions;return r.set(u.parseString(t[this.name])),r},t.prototype.toJSON=function(e,t,n,r){r.serializeValue(t,this.name,n.getOriginal())},t}(f.PropertyDefinition),pe=function(e){function t(t,n){void 0===t&&(t=""),void 0===n&&(n="");var r=e.call(this)||this;return r.name=t,r.value=n,r}return i(t,e),t.prototype.getSchemaKey=function(){return"HttpHeader"},t.prototype.getReferencedInputs=function(e,t){this._value.getReferencedInputs(e,t)},t.prototype.prepareForExecution=function(e){this._value.substituteInputValues(e,c.ContentTypes.applicationXWwwFormUrlencoded)},Object.defineProperty(t.prototype,"value",{get:function(){return this._value.get()},set:function(e){this._value.set(e)},enumerable:!1,configurable:!0}),t.nameProperty=new f.StringProperty(f.Versions.v1_0,"name"),t.valueProperty=new de(f.Versions.v1_0,"value"),o([(0,f.property)(t.nameProperty)],t.prototype,"name",void 0),o([(0,f.property)(t.valueProperty)],t.prototype,"_value",void 0),t}(f.SerializableObject);t.HttpHeader=pe;var he=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._ignoreInputValidation=!1,t}return i(t,e),t.prototype.internalGetReferencedInputs=function(){var e=this.parent?this.parent.getRootElement().getAllInputs():[],t={};this._url.getReferencedInputs(e,t);for(var n=0,r=this.headers;n<r.length;n++)r[n].getReferencedInputs(e,t);return this._body.getReferencedInputs(e,t),t},t.prototype.internalPrepareForExecution=function(e){if(e){this._url.substituteInputValues(e,c.ContentTypes.applicationXWwwFormUrlencoded);for(var t=c.ContentTypes.applicationJson,n=0,r=this.headers;n<r.length;n++){var i=r[n];i.prepareForExecution(e),i.name&&"content-type"===i.name.toLowerCase()&&(t=i.value)}this._body.substituteInputValues(e,t)}},t.prototype.getJsonTypeName=function(){return t.JsonTypeName},t.prototype.internalValidateProperties=function(t){if(e.prototype.internalValidateProperties.call(this,t),this.url||t.addFailure(this,l.ValidationEvent.PropertyCantBeNull,g.Strings.errors.propertyMustBeSet("url")),this.headers.length>0)for(var n=0,r=this.headers;n<r.length;n++)r[n].name||t.addFailure(this,l.ValidationEvent.PropertyCantBeNull,g.Strings.errors.actionHttpHeadersMustHaveNameAndValue())},Object.defineProperty(t.prototype,"ignoreInputValidation",{get:function(){return this._ignoreInputValidation},set:function(e){this._ignoreInputValidation=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"url",{get:function(){return this._url.get()},set:function(e){this._url.set(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"body",{get:function(){return this._body.get()},set:function(e){this._body.set(e)},enumerable:!1,configurable:!0}),t.urlProperty=new de(f.Versions.v1_0,"url"),t.bodyProperty=new de(f.Versions.v1_0,"body"),t.methodProperty=new f.StringProperty(f.Versions.v1_0,"method"),t.headersProperty=new f.SerializableObjectCollectionProperty(f.Versions.v1_0,"headers",pe),t.ignoreInputValidationProperty=new f.BoolProperty(f.Versions.v1_3,"ignoreInputValidation",!1),t.JsonTypeName="Action.Http",o([(0,f.property)(t.urlProperty)],t.prototype,"_url",void 0),o([(0,f.property)(t.bodyProperty)],t.prototype,"_body",void 0),o([(0,f.property)(t.methodProperty)],t.prototype,"method",void 0),o([(0,f.property)(t.headersProperty)],t.prototype,"headers",void 0),o([(0,f.property)(t.ignoreInputValidationProperty)],t.prototype,"_ignoreInputValidation",void 0),t}(re);t.HttpAction=he;var fe=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.card=new Fe,t}return i(t,e),t.prototype.updateCssClasses=function(){if(e.prototype.updateCssClasses.call(this),this.renderedElement){var t=this.parent?this.parent.hostConfig:d.defaultHostConfig;this.renderedElement.classList.add(t.makeCssClassName("expandable")),this.renderedElement.setAttribute("aria-expanded",(1===this.state).toString())}},t.prototype.internalParse=function(t,n){e.prototype.internalParse.call(this,t,n);var r=t.card;r?this.card.parse(r,n):n.logParseEvent(this,l.ValidationEvent.PropertyCantBeNull,g.Strings.errors.showCardMustHaveCard())},t.prototype.internalToJSON=function(t,n){e.prototype.internalToJSON.call(this,t,n),this.card&&n.serializeValue(t,"card",this.card.toJSON(n))},t.prototype.raiseExecuteActionEvent=function(){this.hostConfig.actions.showCard.actionMode===l.ShowCardActionMode.Popup&&e.prototype.raiseExecuteActionEvent.call(this)},t.prototype.releaseDOMResources=function(){e.prototype.releaseDOMResources.call(this),this.card.releaseDOMResources()},t.prototype.getJsonTypeName=function(){return t.JsonTypeName},t.prototype.internalValidateProperties=function(t){e.prototype.internalValidateProperties.call(this,t),this.card.internalValidateProperties(t)},t.prototype.setParent=function(t){e.prototype.setParent.call(this,t),this.card.setParent(t)},t.prototype.getAllInputs=function(e){return void 0===e&&(e=!0),this.card.getAllInputs(e)},t.prototype.getAllActions=function(){var t=e.prototype.getAllActions.call(this);return t.push.apply(t,this.card.getAllActions()),t},t.prototype.getResourceInformation=function(){var t=e.prototype.getResourceInformation.call(this);return t.push.apply(t,this.card.getResourceInformation()),t},t.prototype.getActionById=function(t){var n=e.prototype.getActionById.call(this,t);return n||(n=this.card.getActionById(t)),n},t.JsonTypeName="Action.ShowCard",t}(re);t.ShowCardAction=fe;var me=function(e){function t(t){var n=e.call(this)||this;return n._actions=t,n.title=g.Strings.defaults.overflowButtonText(),n.tooltip=g.Strings.defaults.overflowButtonTooltip(),n}return i(t,e),t.prototype.getActions=function(){return this._actions},t.prototype.getAllActions=function(){var t=e.prototype.getAllActions.call(this);return t.push.apply(t,this._actions),t},t.prototype.getJsonTypeName=function(){return fe.JsonTypeName},t.prototype.execute=function(){var e,t,n,r,i,o=this;if(t=this,n=this.renderedElement,(void 0===(i=(r=t.parent?t.parent.getRootElement():void 0)&&r.onDisplayOverflowActionMenu?r.onDisplayOverflowActionMenu:Oe.onDisplayOverflowActionMenu)||!i(t.getActions(),n))&&this.renderedElement){var a=new v.PopupMenu;a.hostConfig=this.hostConfig;for(var s=function(t){var n=new v.MenuItem(t.toString(),null!==(e=l._actions[t].title)&&void 0!==e?e:"");n.isEnabled=l._actions[t].isEnabled,n.onClick=function(){var e=o._actions[t];a.closePopup(!1),e.isEnabled&&e.execute()},a.items.add(n)},l=this,c=0;c<this._actions.length;c++)s(c);a.onClose=function(){var e;null===(e=o.renderedElement)||void 0===e||e.setAttribute("aria-expanded","false")},this.renderedElement.setAttribute("aria-expanded","true"),a.popup(this.renderedElement)}},t.prototype.setupElementForAccessibility=function(t,n){void 0===n&&(n=!1),e.prototype.setupElementForAccessibility.call(this,t,n),t.setAttribute("aria-label",g.Strings.defaults.overflowButtonTooltip()),t.setAttribute("aria-expanded","false")},t.JsonTypeName="Action.Overflow",t}(re),ge=function(){function e(e){this._items=[],this._renderedActions=[],this._owner=e}return e.prototype.isActionAllowed=function(e){var t=this._owner.getForbiddenActionTypes();if(t)for(var n=0,r=t;n<r.length;n++){var i=r[n];if(e.constructor===i)return!1}return!0},e.prototype.refreshContainer=function(){if(y(this._actionCardContainer),this._actionCard){this._actionCardContainer.style.marginTop=this.renderedActionCount>0?this._owner.hostConfig.actions.showCard.inlineTopMargin+"px":"0px";var e=this._owner.getEffectivePadding();this._owner.getImmediateSurroundingPadding(e);var t=this._owner.hostConfig.paddingDefinitionToSpacingDefinition(e);this._actionCard&&(this._actionCard.style.paddingLeft=t.left+"px",this._actionCard.style.paddingRight=t.right+"px",this._actionCard.style.marginLeft="-"+t.left+"px",this._actionCard.style.marginRight="-"+t.right+"px",0===t.bottom||this._owner.isDesignMode()||(this._actionCard.style.paddingBottom=t.bottom+"px",this._actionCard.style.marginBottom="-"+t.bottom+"px"),u.appendChild(this._actionCardContainer,this._actionCard))}else this._actionCardContainer.style.marginTop="0px"},e.prototype.layoutChanged=function(){this._owner.getRootElement().updateLayout()},e.prototype.showActionCard=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!0),e.card.suppressStyle=t;var r=e.card.renderedElement&&!this._owner.isDesignMode()?e.card.renderedElement:e.card.render();this._actionCard=r,this._expandedAction=e,this.refreshContainer(),n&&(this.layoutChanged(),ke(e,!0))},e.prototype.collapseExpandedAction=function(){for(var e=0,t=this._renderedActions;e<t.length;e++)t[e].state=0;var n=this._expandedAction;this._expandedAction=void 0,this._actionCard=void 0,this.refreshContainer(),n&&(this.layoutChanged(),ke(n,!1))},e.prototype.expandShowCardAction=function(e,t){for(var n=this,r=!1,i=0,o=this._renderedActions;i<o.length;i++){var a=o[i];this._owner.hostConfig.actions.actionsOrientation==l.Orientation.Horizontal&&r&&(a.isFocusable=!1),a!==e?a.state=2:(a.state=1,r=!0,a.renderedElement&&(a.renderedElement.onblur=function(e){for(var t=0,r=n._renderedActions;t<r.length;t++)r[t].isFocusable=!0}))}this.showActionCard(e,!(this._owner.isAtTheVeryLeft()&&this._owner.isAtTheVeryRight()),t)},e.prototype.releaseDOMResources=function(){for(var e=0,t=this._renderedActions;e<t.length;e++)t[e].releaseDOMResources()},e.prototype.actionExecuted=function(e){e instanceof fe?e===this._expandedAction?this.collapseExpandedAction():this._owner.hostConfig.actions.showCard.actionMode===l.ShowCardActionMode.Inline&&this.expandShowCardAction(e,!0):this.collapseExpandedAction()},e.prototype.parse=function(e,t){if(this.clear(),Array.isArray(e))for(var n=0,r=e;n<r.length;n++){var i=r[n],o=[];this._owner instanceof Pe&&(o=this._owner.getForbiddenActionNames());var a=t.parseAction(this._owner,i,o,!this._owner.isDesignMode());a&&this.addAction(a)}},e.prototype.toJSON=function(e,t,n){n.serializeArray(e,t,this._items)},e.prototype.getActionAt=function(e){return this._items[e]},e.prototype.getActionCount=function(){return this._items.length},e.prototype.getActionById=function(e){for(var t=void 0,n=0,r=this._items;n<r.length&&!(t=r[n].getActionById(e));n++);return t},e.prototype.validateProperties=function(e){this._owner.hostConfig.actions.maxActions&&this._items.length>this._owner.hostConfig.actions.maxActions&&e.addFailure(this._owner,l.ValidationEvent.TooManyActions,g.Strings.errors.tooManyActions(this._owner.hostConfig.actions.maxActions)),this._items.length>0&&!this._owner.hostConfig.supportsInteractivity&&e.addFailure(this._owner,l.ValidationEvent.InteractivityNotAllowed,g.Strings.errors.interactivityNotAllowed());for(var t=0,n=this._items;t<n.length;t++){var r=n[t];this.isActionAllowed(r)||e.addFailure(this._owner,l.ValidationEvent.ActionTypeNotAllowed,g.Strings.errors.actionTypeNotAllowed(r.getJsonTypeName())),r.internalValidateProperties(e)}},e.prototype.render=function(e){var t=this._owner.hostConfig;if(t.supportsInteractivity){var n=document.createElement("div"),r=t.actions.maxActions?Math.min(t.actions.maxActions,this._items.length):this._items.length;if(this._actionCardContainer=document.createElement("div"),this._renderedActions=[],t.actions.preExpandSingleShowCardAction&&1===r&&this._items[0]instanceof fe&&this.isActionAllowed(this._items[0]))this.showActionCard(this._items[0],!0),this._renderedActions.push(this._items[0]);else{var i=document.createElement("div");if(i.className=t.makeCssClassName("ac-actionSet"),i.style.display="flex",e===l.Orientation.Horizontal)if(i.style.flexDirection="row",this._owner.horizontalAlignment&&t.actions.actionAlignment!==l.ActionAlignment.Stretch)switch(this._owner.horizontalAlignment){case l.HorizontalAlignment.Center:i.style.justifyContent="center";break;case l.HorizontalAlignment.Right:i.style.justifyContent="flex-end";break;default:i.style.justifyContent="flex-start"}else switch(t.actions.actionAlignment){case l.ActionAlignment.Center:i.style.justifyContent="center";break;case l.ActionAlignment.Right:i.style.justifyContent="flex-end";break;default:i.style.justifyContent="flex-start"}else if(i.style.flexDirection="column",this._owner.horizontalAlignment&&t.actions.actionAlignment!==l.ActionAlignment.Stretch)switch(this._owner.horizontalAlignment){case l.HorizontalAlignment.Center:i.style.alignItems="center";break;case l.HorizontalAlignment.Right:i.style.alignItems="flex-end";break;default:i.style.alignItems="flex-start"}else switch(t.actions.actionAlignment){case l.ActionAlignment.Center:i.style.alignItems="center";break;case l.ActionAlignment.Right:i.style.alignItems="flex-end";break;case l.ActionAlignment.Stretch:i.style.alignItems="stretch";break;default:i.style.alignItems="flex-start"}var o=this._items.filter(this.isActionAllowed.bind(this)),a=[],s=[];if(this._owner.isDesignMode())a=o;else{o.forEach((function(e){return e.mode===l.ActionMode.Secondary?s.push(e):a.push(e)}));var d=a.splice(t.actions.maxActions);c.GlobalSettings.allowMoreThanMaxActionsInOverflowMenu&&s.push.apply(s,d);var p=!0;if(s.length>0){this._overflowAction||(this._overflowAction=new me(s),this._overflowAction.setParent(this._owner),this._overflowAction._actionCollection=this);var h=this._owner instanceof Oe&&!this._owner.parent;p=!function(e,t){var n=e.parent?e.parent.getRootElement():void 0,r=n&&n.onRenderOverflowActions?n.onRenderOverflowActions:Oe.onRenderOverflowActions;return void 0!==r&&r(e.getActions(),t)}(this._overflowAction,h)}this._overflowAction&&p&&a.push(this._overflowAction)}for(var f=0;f<a.length;f++){var m=a[f];if(m.render(),m.renderedElement&&(t.actions.actionsOrientation===l.Orientation.Horizontal&&t.actions.actionAlignment===l.ActionAlignment.Stretch?m.renderedElement.style.flex="0 1 100%":m.renderedElement.style.flex="0 1 auto",i.appendChild(m.renderedElement),this._renderedActions.push(m),f<a.length-1&&t.actions.buttonSpacing>0)){var g=document.createElement("div");e===l.Orientation.Horizontal?(g.style.flex="0 0 auto",g.style.width=t.actions.buttonSpacing+"px"):g.style.height=t.actions.buttonSpacing+"px",u.appendChild(i,g)}}var v=document.createElement("div");v.style.overflow="hidden",v.appendChild(i),u.appendChild(n,v)}u.appendChild(n,this._actionCardContainer);for(var y=0,b=this._renderedActions;y<b.length;y++){var C=b[y];if(1===C.state){this.expandShowCardAction(C,!1);break}}return this._renderedActions.length>0?n:void 0}},e.prototype.addAction=function(e){if(!e)throw new Error("The action parameter cannot be null.");if(e.parent&&e.parent!==this._owner||!(this._items.indexOf(e)<0))throw new Error(g.Strings.errors.actionAlreadyParented());this._items.push(e),e.parent||e.setParent(this._owner),e._actionCollection=this},e.prototype.removeAction=function(e){this.expandedAction&&this._expandedAction===e&&this.collapseExpandedAction();var t=this._items.indexOf(e);if(t>=0){this._items.splice(t,1),e.setParent(void 0),e._actionCollection=void 0;for(var n=0;n<this._renderedActions.length;n++)if(this._renderedActions[n]===e){this._renderedActions.splice(n,1);break}return!0}return!1},e.prototype.clear=function(){this._items=[],this._renderedActions=[],this._expandedAction=void 0},e.prototype.getAllInputs=function(e){void 0===e&&(e=!0);var t=[];if(e)for(var n=0,r=this._items;n<r.length;n++){var i=r[n];t.push.apply(t,i.getAllInputs())}return t},e.prototype.getResourceInformation=function(){for(var e=[],t=0,n=this._items;t<n.length;t++){var r=n[t];e.push.apply(e,r.getResourceInformation())}return e},Object.defineProperty(e.prototype,"renderedActionCount",{get:function(){return this._renderedActions.length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"expandedAction",{get:function(){return this._expandedAction},enumerable:!1,configurable:!0}),e}(),ve=function(e){function t(){var t=e.call(this)||this;return t._actionCollection=new ge(t),t}return i(t,e),t.prototype.internalParse=function(t,n){e.prototype.internalParse.call(this,t,n),this._actionCollection.parse(t.actions,n)},t.prototype.internalToJSON=function(t,n){e.prototype.internalToJSON.call(this,t,n),this._actionCollection.toJSON(t,"actions",n)},t.prototype.internalRender=function(){return this._actionCollection.render(void 0!==this.orientation?this.orientation:this.hostConfig.actions.actionsOrientation)},t.prototype.releaseDOMResources=function(){e.prototype.releaseDOMResources.call(this),this._actionCollection.releaseDOMResources()},t.prototype.isBleedingAtBottom=function(){return 0===this._actionCollection.renderedActionCount?e.prototype.isBleedingAtBottom.call(this):1===this._actionCollection.getActionCount()?void 0!==this._actionCollection.expandedAction&&!this.hostConfig.actions.preExpandSingleShowCardAction:void 0!==this._actionCollection.expandedAction},t.prototype.getJsonTypeName=function(){return"ActionSet"},t.prototype.getActionCount=function(){return this._actionCollection.getActionCount()},t.prototype.getActionAt=function(t){return t>=0&&t<this.getActionCount()?this._actionCollection.getActionAt(t):e.prototype.getActionAt.call(this,t)},t.prototype.getActionById=function(t){return this._actionCollection.getActionById(t)||e.prototype.getActionById.call(this,t)},t.prototype.getAllActions=function(){for(var t=e.prototype.getAllActions.call(this),n=0;n<this.getActionCount();n++){var r=this.getActionAt(n);r&&t.push(r)}return t},t.prototype.internalValidateProperties=function(t){e.prototype.internalValidateProperties.call(this,t),this._actionCollection.validateProperties(t)},t.prototype.addAction=function(e){this._actionCollection.addAction(e)},t.prototype.getAllInputs=function(e){return void 0===e&&(e=!0),e?this._actionCollection.getAllInputs():[]},t.prototype.getResourceInformation=function(){return this._actionCollection.getResourceInformation()},t.prototype.findDOMNodeOwner=function(t){for(var n=void 0,r=0;r<this.getActionCount();r++){var i=this.getActionAt(r);if(i&&(n=i.findDOMNodeOwner(t)))return n}return e.prototype.findDOMNodeOwner.call(this,t)},t.prototype.getElementById=function(t){var n=e.prototype.getElementById.call(this,t);return n||(n=this.getElementByIdFromAction(t)),n},Object.defineProperty(t.prototype,"isInteractive",{get:function(){return!0},enumerable:!1,configurable:!0}),t.orientationProperty=new f.EnumProperty(f.Versions.v1_1,"orientation",l.Orientation),o([(0,f.property)(t.orientationProperty)],t.prototype,"orientation",void 0),t}(C);t.ActionSet=ve;var ye=function(e){function t(t,n,r,i){var o=e.call(this,t,n,[{value:l.ContainerStyle.Default},{value:l.ContainerStyle.Emphasis},{targetVersion:f.Versions.v1_2,value:l.ContainerStyle.Accent},{targetVersion:f.Versions.v1_2,value:l.ContainerStyle.Good},{targetVersion:f.Versions.v1_2,value:l.ContainerStyle.Attention},{targetVersion:f.Versions.v1_2,value:l.ContainerStyle.Warning}],r,i)||this;return o.targetVersion=t,o.name=n,o.defaultValue=r,o.onGetInitialValue=i,o}return i(t,e),t}(f.ValueSetProperty);t.ContainerStyleProperty=ye;var be=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),Object.defineProperty(t.prototype,"style",{get:function(){if(this.allowCustomStyle){var e=this.getValue(t.styleProperty);if(e&&this.hostConfig.containerStyles.getStyleByName(e))return e}},set:function(e){this.setValue(t.styleProperty,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allowCustomStyle",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasExplicitStyle",{get:function(){return void 0!==this.getValue(t.styleProperty)},enumerable:!1,configurable:!0}),t.prototype.applyBorder=function(){},t.prototype.applyBackground=function(){if(this.renderedElement){var e=this.hostConfig.containerStyles.getStyleByName(this.style,this.hostConfig.containerStyles.getStyleByName(this.defaultStyle));if(e.backgroundColor){var t=u.stringToCssColor(e.backgroundColor);t&&(this.renderedElement.style.backgroundColor=t)}}},t.prototype.applyPadding=function(){if(e.prototype.applyPadding.call(this),this.renderedElement){var t=new c.SpacingDefinition;if(this.getEffectivePadding()&&(t=this.hostConfig.paddingDefinitionToSpacingDefinition(this.getEffectivePadding())),this.renderedElement.style.paddingTop=t.top+"px",this.renderedElement.style.paddingRight=t.right+"px",this.renderedElement.style.paddingBottom=t.bottom+"px",this.renderedElement.style.paddingLeft=t.left+"px",this.isBleeding()){var n=new c.PaddingDefinition;this.getImmediateSurroundingPadding(n);var r=this.hostConfig.paddingDefinitionToSpacingDefinition(n);this.renderedElement.style.marginRight="-"+r.right+"px",this.renderedElement.style.marginLeft="-"+r.left+"px",this.isDesignMode()||(this.renderedElement.style.marginTop="-"+r.top+"px",this.renderedElement.style.marginBottom="-"+r.bottom+"px"),this.separatorElement&&this.separatorOrientation===l.Orientation.Horizontal&&(this.separatorElement.style.marginLeft="-"+r.left+"px",this.separatorElement.style.marginRight="-"+r.right+"px")}else this.renderedElement.style.marginRight="0",this.renderedElement.style.marginLeft="0",this.renderedElement.style.marginTop="0",this.renderedElement.style.marginBottom="0",this.separatorElement&&this.separatorOrientation===l.Orientation.Horizontal&&(this.separatorElement.style.marginRight="0",this.separatorElement.style.marginLeft="0")}},t.prototype.getHasBackground=function(e){void 0===e&&(e=!1);for(var n=this.parent;n;){var r;if(r=!e&&n instanceof Se&&n.backgroundImage.isValid(),n instanceof t&&this.hasExplicitStyle&&(n.getEffectiveStyle()!==this.getEffectiveStyle()||r))return!0;n=n.parent}return!1},t.prototype.getDefaultPadding=function(){return this.getHasBackground()||this.getHasBorder()?new c.PaddingDefinition(l.Spacing.Padding,l.Spacing.Padding,l.Spacing.Padding,l.Spacing.Padding):e.prototype.getDefaultPadding.call(this)},t.prototype.internalValidateProperties=function(n){e.prototype.internalValidateProperties.call(this,n);var r=this.getValue(t.styleProperty);void 0!==r&&(this.hostConfig.containerStyles.getStyleByName(r)||n.addFailure(this,l.ValidationEvent.InvalidPropertyValue,g.Strings.errors.invalidPropertyValue(r,"style")))},t.prototype.render=function(){var t=e.prototype.render.call(this);return t&&this.getHasBackground()&&this.applyBackground(),this.applyBorder(),t},t.prototype.getEffectiveStyle=function(){return this.style||e.prototype.getEffectiveStyle.call(this)},t.styleProperty=new ye(f.Versions.v1_0,"style"),o([(0,f.property)(t.styleProperty)],t.prototype,"style",null),t}(D);t.StylableCardElementContainer=be;var Ce=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._bleed=!1,t}return i(t,e),t.prototype.adjustRenderedElementSize=function(t){e.prototype.adjustRenderedElementSize.call(this,t),this.minPixelHeight&&(t.style.minHeight=this.minPixelHeight+"px")},t.prototype.getHasExpandedAction=function(){return!1},t.prototype.getBleed=function(){return this._bleed},t.prototype.setBleed=function(e){this._bleed=e},Object.defineProperty(t.prototype,"renderedActionCount",{get:function(){return 0},enumerable:!1,configurable:!0}),t.prototype.isBleeding=function(){return(this.getHasBackground()||this.hostConfig.alwaysAllowBleed)&&this.getBleed()},t.bleedProperty=new f.BoolProperty(f.Versions.v1_2,"bleed",!1),t.minHeightProperty=new f.PixelSizeProperty(f.Versions.v1_2,"minHeight"),o([(0,f.property)(t.bleedProperty)],t.prototype,"_bleed",void 0),o([(0,f.property)(t.minHeightProperty)],t.prototype,"minPixelHeight",void 0),t}(be);t.ContainerBase=Ce;var Ae=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.getSchemaKey=function(){return"BackgroundImage"},t.prototype.internalParse=function(t,n){if("string"!=typeof t)return e.prototype.internalParse.call(this,t,n);this.resetDefaultValues(),this.url=t},t.prototype.apply=function(e){if(this.url&&e.renderedElement){switch(e.renderedElement.style.backgroundImage="url('"+e.preProcessPropertyValue(t.urlProperty,this.url)+"')",this.fillMode){case l.FillMode.Repeat:e.renderedElement.style.backgroundRepeat="repeat";break;case l.FillMode.RepeatHorizontally:e.renderedElement.style.backgroundRepeat="repeat-x";break;case l.FillMode.RepeatVertically:e.renderedElement.style.backgroundRepeat="repeat-y";break;case l.FillMode.Cover:default:e.renderedElement.style.backgroundRepeat="no-repeat",e.renderedElement.style.backgroundSize="cover"}switch(this.horizontalAlignment){case l.HorizontalAlignment.Left:break;case l.HorizontalAlignment.Center:e.renderedElement.style.backgroundPositionX="center";break;case l.HorizontalAlignment.Right:e.renderedElement.style.backgroundPositionX="right"}switch(this.verticalAlignment){case l.VerticalAlignment.Top:break;case l.VerticalAlignment.Center:e.renderedElement.style.backgroundPositionY="center";break;case l.VerticalAlignment.Bottom:e.renderedElement.style.backgroundPositionY="bottom"}}},t.prototype.isValid=function(){return!!this.url},t.urlProperty=new f.StringProperty(f.Versions.v1_0,"url"),t.fillModeProperty=new f.EnumProperty(f.Versions.v1_2,"fillMode",l.FillMode,l.FillMode.Cover),t.horizontalAlignmentProperty=new f.EnumProperty(f.Versions.v1_2,"horizontalAlignment",l.HorizontalAlignment,l.HorizontalAlignment.Left),t.verticalAlignmentProperty=new f.EnumProperty(f.Versions.v1_2,"verticalAlignment",l.VerticalAlignment,l.VerticalAlignment.Top),o([(0,f.property)(t.urlProperty)],t.prototype,"url",void 0),o([(0,f.property)(t.fillModeProperty)],t.prototype,"fillMode",void 0),o([(0,f.property)(t.horizontalAlignmentProperty)],t.prototype,"horizontalAlignment",void 0),o([(0,f.property)(t.verticalAlignmentProperty)],t.prototype,"verticalAlignment",void 0),t}(f.SerializableObject);t.BackgroundImage=Ae;var Se=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._items=[],t._renderedItems=[],t}return i(t,e),Object.defineProperty(t.prototype,"backgroundImage",{get:function(){return this.getValue(t.backgroundImageProperty)},enumerable:!1,configurable:!0}),t.prototype.insertItemAt=function(e,t,n){if(e.parent&&!n)throw new Error(g.Strings.errors.elementAlreadyParented());if(!e.isStandalone)throw new Error(g.Strings.errors.elementTypeNotStandalone(e.getJsonTypeName()));t<0||t>=this._items.length?this._items.push(e):this._items.splice(t,0,e),e.setParent(this)},t.prototype.getItemsCollectionPropertyName=function(){return"items"},t.prototype.applyBackground=function(){this.backgroundImage.isValid()&&this.renderedElement&&this.backgroundImage.apply(this),e.prototype.applyBackground.call(this)},t.prototype.applyRTL=function(e){void 0!==this.rtl&&(e.dir=this.rtl?"rtl":"ltr")},t.prototype.internalRender=function(){this._renderedItems=[];var e=this.hostConfig,t=document.createElement("div");switch(this.applyRTL(t),t.classList.add(e.makeCssClassName("ac-container")),t.style.display="flex",t.style.flexDirection="column",c.GlobalSettings.useAdvancedCardBottomTruncation&&(t.style.minHeight="-webkit-min-content"),this.getEffectiveVerticalContentAlignment()){case l.VerticalAlignment.Center:t.style.justifyContent="center";break;case l.VerticalAlignment.Bottom:t.style.justifyContent="flex-end";break;default:t.style.justifyContent="flex-start"}if(this._items.length>0)for(var n=0,r=this._items;n<r.length;n++){var i=r[n],o=this.isElementAllowed(i)?i.render():void 0;o&&(this._renderedItems.length>0&&i.separatorElement&&(i.separatorElement.style.flex="0 0 auto",u.appendChild(t,i.separatorElement)),u.appendChild(t,o),this._renderedItems.push(i))}else if(this.isDesignMode()){var a=this.createPlaceholderElement();a.style.width="100%",a.style.height="100%",t.appendChild(a)}return t},t.prototype.truncateOverflow=function(e){if(this.renderedElement){for(var t=this.renderedElement.offsetTop+e+1,n=function(e){var r=e.renderedElement;if(r)switch(u.getFitStatus(r,t)){case l.ContainerFitStatus.FullyInContainer:e.resetOverflow()&&n(e);break;case l.ContainerFitStatus.Overflowing:var i=t-r.offsetTop;e.handleOverflow(i);break;case l.ContainerFitStatus.FullyOutOfContainer:e.handleOverflow(0)}},r=0,i=this._items;r<i.length;r++){var o=i[r];n(o)}return!0}return!1},t.prototype.undoOverflowTruncation=function(){for(var e=0,t=this._items;e<t.length;e++)t[e].resetOverflow()},t.prototype.getHasBackground=function(t){return void 0===t&&(t=!1),!t&&this.backgroundImage.isValid()||e.prototype.getHasBackground.call(this,t)},t.prototype.internalParse=function(t,n){e.prototype.internalParse.call(this,t,n),this.clear(),this.setShouldFallback(!1);var r=t[this.getItemsCollectionPropertyName()];if(Array.isArray(r))for(var i=0,o=r;i<o.length;i++){var a=o[i],s=n.parseElement(this,a,this.forbiddenChildElements(),!this.isDesignMode());s&&this.insertItemAt(s,-1,!0)}},t.prototype.internalToJSON=function(t,n){e.prototype.internalToJSON.call(this,t,n);var r=this.getItemsCollectionPropertyName();n.serializeArray(t,r,this._items)},Object.defineProperty(t.prototype,"isSelectable",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.getEffectivePadding=function(){return c.GlobalSettings.removePaddingFromContainersWithBackgroundImage&&!this.getHasBackground(!0)?new c.PaddingDefinition:e.prototype.getEffectivePadding.call(this)},t.prototype.getEffectiveVerticalContentAlignment=function(){if(void 0!==this.verticalContentAlignment)return this.verticalContentAlignment;var e=this.getParentContainer();return e?e.getEffectiveVerticalContentAlignment():l.VerticalAlignment.Top},t.prototype.getItemCount=function(){return this._items.length},t.prototype.getItemAt=function(e){return this._items[e]},t.prototype.getFirstVisibleRenderedItem=function(){if(this.renderedElement&&this._renderedItems&&this._renderedItems.length>0)for(var e=0,t=this._renderedItems;e<t.length;e++){var n=t[e];if(n.isVisible)return n}},t.prototype.getLastVisibleRenderedItem=function(){if(this.renderedElement&&this._renderedItems&&this._renderedItems.length>0)for(var e=this._renderedItems.length-1;e>=0;e--)if(this._renderedItems[e].isVisible)return this._renderedItems[e]},t.prototype.getJsonTypeName=function(){return"Container"},t.prototype.isFirstElement=function(e){for(var t=this.isDesignMode(),n=0,r=this._items;n<r.length;n++){var i=r[n];if(i.isVisible||t)return i===e}return!1},t.prototype.isLastElement=function(e){for(var t=this.isDesignMode(),n=this._items.length-1;n>=0;n--)if(this._items[n].isVisible||t)return this._items[n]===e;return!1},t.prototype.isRtl=function(){if(void 0!==this.rtl)return this.rtl;var e=this.getParentContainer();return!!e&&e.isRtl()},t.prototype.isBleedingAtTop=function(){var e=this.getFirstVisibleRenderedItem();return this.isBleeding()||!!e&&e.isBleedingAtTop()},t.prototype.isBleedingAtBottom=function(){var e=this.getLastVisibleRenderedItem();return this.isBleeding()||!!e&&e.isBleedingAtBottom()&&e.getEffectiveStyle()===this.getEffectiveStyle()},t.prototype.indexOf=function(e){return this._items.indexOf(e)},t.prototype.addItem=function(e){this.insertItemAt(e,-1,!1)},t.prototype.insertItemBefore=function(e,t){this.insertItemAt(e,this._items.indexOf(t),!1)},t.prototype.insertItemAfter=function(e,t){this.insertItemAt(e,this._items.indexOf(t)+1,!1)},t.prototype.removeItem=function(e){var t=this._items.indexOf(e);return t>=0&&(this._items.splice(t,1),e.setParent(void 0),this.updateLayout(),!0)},t.prototype.clear=function(){this._items=[],this._renderedItems=[]},t.prototype.getResourceInformation=function(){var t=e.prototype.getResourceInformation.call(this);return this.backgroundImage.isValid()&&t.push({url:this.backgroundImage.url,mimeType:"image"}),t},t.prototype.getActionById=function(t){var n=e.prototype.getActionById.call(this,t);if(!n&&(this.selectAction&&(n=this.selectAction.getActionById(t)),!n))for(var r=0,i=this._items;r<i.length&&!(n=i[r].getActionById(t));r++);return n},Object.defineProperty(t.prototype,"padding",{get:function(){return this.getPadding()},set:function(e){this.setPadding(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectAction",{get:function(){return this._selectAction},set:function(e){this._selectAction=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bleed",{get:function(){return this.getBleed()},set:function(e){this.setBleed(e)},enumerable:!1,configurable:!0}),t.backgroundImageProperty=new f.SerializableObjectProperty(f.Versions.v1_0,"backgroundImage",Ae),t.verticalContentAlignmentProperty=new f.EnumProperty(f.Versions.v1_1,"verticalContentAlignment",l.VerticalAlignment),t.rtlProperty=new f.BoolProperty(f.Versions.v1_0,"rtl"),o([(0,f.property)(t.backgroundImageProperty)],t.prototype,"backgroundImage",null),o([(0,f.property)(t.verticalContentAlignmentProperty)],t.prototype,"verticalContentAlignment",void 0),o([(0,f.property)(t.rtlProperty)],t.prototype,"rtl",void 0),t}(Ce);t.Container=Se;var Ee=function(e){function t(t){void 0===t&&(t="stretch");var n=e.call(this)||this;return n.width="stretch",n._computedWeight=0,n.width=t,n}return i(t,e),t.prototype.adjustRenderedElementSize=function(e){this.isDesignMode()?(e.style.minWidth="20px",e.style.minHeight=(this.minPixelHeight?Math.max(this.minPixelHeight,20):20)+"px"):(e.style.minWidth="0",this.minPixelHeight&&(e.style.minHeight=this.minPixelHeight+"px")),"auto"===this.width?e.style.flex="0 1 auto":"stretch"===this.width?e.style.flex="1 1 50px":this.width instanceof c.SizeAndUnit&&(this.width.unit===l.SizeUnit.Pixel?(e.style.flex="0 0 auto",e.style.width=this.width.physicalSize+"px"):e.style.flex="1 1 "+(this._computedWeight>0?this._computedWeight:this.width.physicalSize)+"%")},t.prototype.shouldSerialize=function(e){return!0},Object.defineProperty(t.prototype,"separatorOrientation",{get:function(){return l.Orientation.Vertical},enumerable:!1,configurable:!0}),t.prototype.getJsonTypeName=function(){return"Column"},Object.defineProperty(t.prototype,"hasVisibleSeparator",{get:function(){return!!(this.parent&&this.parent instanceof we)&&void 0!==this.separatorElement&&!this.parent.isLeftMostElement(this)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isStandalone",{get:function(){return!1},enumerable:!1,configurable:!0}),t.widthProperty=new f.CustomProperty(f.Versions.v1_0,"width",(function(e,t,n,r){var i=t.defaultValue,o=n[t.name],a=!1;if("number"!=typeof o||isNaN(o))if("auto"===o||"stretch"===o)i=o;else if("string"==typeof o)try{(i=c.SizeAndUnit.parse(o)).unit===l.SizeUnit.Pixel&&t.targetVersion.compareTo(r.targetVersion)>0&&(a=!0)}catch(e){a=!0}else a=!0;else i=new c.SizeAndUnit(o,l.SizeUnit.Weight);return a&&(r.logParseEvent(e,l.ValidationEvent.InvalidPropertyValue,g.Strings.errors.invalidColumnWidth(o)),i="auto"),i}),(function(e,t,n,r,i){r instanceof c.SizeAndUnit?r.unit===l.SizeUnit.Pixel?i.serializeValue(n,"width",r.physicalSize+"px"):i.serializeNumber(n,"width",r.physicalSize):i.serializeValue(n,"width",r)}),"stretch"),o([(0,f.property)(t.widthProperty)],t.prototype,"width",void 0),t}(Se);t.Column=Ee;var we=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._columns=[],t}return i(t,e),t.prototype.createColumnInstance=function(e,t){return t.parseCardObject(this,e,[],!this.isDesignMode(),(function(e){return e&&"Column"!==e?void 0:new Ee}),(function(e,n){t.logParseEvent(void 0,l.ValidationEvent.ElementTypeNotAllowed,g.Strings.errors.elementTypeNotAllowed(e))}))},t.prototype.internalRender=function(){if(this._renderedColumns=[],this._columns.length>0){var e=this.hostConfig,t=document.createElement("div");switch(t.className=e.makeCssClassName("ac-columnSet"),t.style.display="flex",c.GlobalSettings.useAdvancedCardBottomTruncation&&(t.style.minHeight="-webkit-min-content"),this.getEffectiveHorizontalAlignment()){case l.HorizontalAlignment.Center:t.style.justifyContent="center";break;case l.HorizontalAlignment.Right:t.style.justifyContent="flex-end";break;default:t.style.justifyContent="flex-start"}for(var n=0,r=0,i=this._columns;r<i.length;r++)(s=i[r]).width instanceof c.SizeAndUnit&&s.width.unit===l.SizeUnit.Weight&&(n+=s.width.physicalSize);for(var o=0,a=this._columns;o<a.length;o++){var s;if((s=a[o]).width instanceof c.SizeAndUnit&&s.width.unit===l.SizeUnit.Weight&&n>0){var d=100/n*s.width.physicalSize;s._computedWeight=d}var p=s.render();p&&(this._renderedColumns.length>0&&s.separatorElement&&(s.separatorElement.style.flex="0 0 auto",u.appendChild(t,s.separatorElement)),u.appendChild(t,p),this._renderedColumns.push(s))}return this._renderedColumns.length>0?t:void 0}},t.prototype.truncateOverflow=function(e){for(var t=0,n=this._columns;t<n.length;t++)n[t].handleOverflow(e);return!0},t.prototype.undoOverflowTruncation=function(){for(var e=0,t=this._columns;e<t.length;e++)t[e].resetOverflow()},Object.defineProperty(t.prototype,"isSelectable",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.internalParse=function(t,n){e.prototype.internalParse.call(this,t,n),this._columns=[],this._renderedColumns=[];var r=t.columns;if(Array.isArray(r))for(var i=0,o=r;i<o.length;i++){var a=o[i],s=this.createColumnInstance(a,n);s&&this._columns.push(s)}},t.prototype.internalToJSON=function(t,n){e.prototype.internalToJSON.call(this,t,n),n.serializeArray(t,"columns",this._columns)},t.prototype.isFirstElement=function(e){for(var t=0,n=this._columns;t<n.length;t++){var r=n[t];if(r.isVisible)return r===e}return!1},t.prototype.isBleedingAtTop=function(){if(this.isBleeding())return!0;if(this._renderedColumns&&this._renderedColumns.length>0)for(var e=0,t=this._columns;e<t.length;e++)if(t[e].isBleedingAtTop())return!0;return!1},t.prototype.isBleedingAtBottom=function(){if(this.isBleeding())return!0;if(this._renderedColumns&&this._renderedColumns.length>0)for(var e=0,t=this._columns;e<t.length;e++)if(t[e].isBleedingAtBottom())return!0;return!1},t.prototype.getItemCount=function(){return this._columns.length},t.prototype.getFirstVisibleRenderedItem=function(){return this.renderedElement&&this._renderedColumns&&this._renderedColumns.length>0?this._renderedColumns[0]:void 0},t.prototype.getLastVisibleRenderedItem=function(){return this.renderedElement&&this._renderedColumns&&this._renderedColumns.length>0?this._renderedColumns[this._renderedColumns.length-1]:void 0},t.prototype.getColumnAt=function(e){return this._columns[e]},t.prototype.getItemAt=function(e){return this.getColumnAt(e)},t.prototype.getJsonTypeName=function(){return"ColumnSet"},t.prototype.internalValidateProperties=function(t){e.prototype.internalValidateProperties.call(this,t);for(var n=0,r=0,i=0,o=this._columns;i<o.length;i++){var a=o[i];"number"==typeof a.width?n++:"stretch"===a.width&&r++}n>0&&r>0&&t.addFailure(this,l.ValidationEvent.Hint,g.Strings.hints.dontUseWeightedAndStrecthedColumnsInSameSet())},t.prototype.addColumn=function(e){if(e.parent)throw new Error(g.Strings.errors.columnAlreadyBelongsToAnotherSet());this._columns.push(e),e.setParent(this)},t.prototype.removeItem=function(e){if(e instanceof Ee){var t=this._columns.indexOf(e);if(t>=0)return this._columns.splice(t,1),e.setParent(void 0),this.updateLayout(),!0}return!1},t.prototype.indexOf=function(e){return e instanceof Ee?this._columns.indexOf(e):-1},t.prototype.isLeftMostElement=function(e){return 0===this._columns.indexOf(e)},t.prototype.isRightMostElement=function(e){return this._columns.indexOf(e)===this._columns.length-1},t.prototype.isTopElement=function(e){return this._columns.indexOf(e)>=0},t.prototype.isBottomElement=function(e){return this._columns.indexOf(e)>=0},t.prototype.getActionById=function(e){for(var t=void 0,n=0,r=this._columns;n<r.length&&!(t=r[n].getActionById(e));n++);return t},Object.defineProperty(t.prototype,"bleed",{get:function(){return this.getBleed()},set:function(e){this.setBleed(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"padding",{get:function(){return this.getPadding()},set:function(e){this.setPadding(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectAction",{get:function(){return this._selectAction},set:function(e){this._selectAction=e},enumerable:!1,configurable:!0}),t}(Ce);function xe(e){var t=e.getRootElement(),n=t&&t.onImageLoaded?t.onImageLoaded:Oe.onImageLoaded;n&&n(e)}function Ie(e,t,n){var r=e.getRootElement(),i=r&&r.onAnchorClicked?r.onAnchorClicked:Oe.onAnchorClicked;return void 0!==i&&i(e,t,n)}function ke(e,t){var n=e.parent?e.parent.getRootElement():void 0,r=n&&n.onInlineCardExpanded?n.onInlineCardExpanded:Oe.onInlineCardExpanded;r&&r(e,t)}function Te(e,t){void 0===t&&(t=!0);var n=e.getRootElement();t&&n.updateLayout();var r=n,i=r&&r.onElementVisibilityChanged?r.onElementVisibilityChanged:Oe.onElementVisibilityChanged;void 0!==i&&i(e)}function _e(e,t){t?(e.readOnly=!0,e.required=!0):(e.readOnly=!1,e.required=!1)}t.ColumnSet=we;var Pe=function(e){function t(){var t=e.call(this)||this;return t._actionCollection=new ge(t),t}return i(t,e),t.prototype.internalParse=function(t,n){e.prototype.internalParse.call(this,t,n),this.parseActions(t,n)},t.prototype.parseActions=function(e,t){this._actionCollection.parse(e.actions,t)},t.prototype.internalToJSON=function(t,n){e.prototype.internalToJSON.call(this,t,n),this._actionCollection.toJSON(t,"actions",n)},t.prototype.internalRender=function(){var t=e.prototype.internalRender.call(this);if(t){var n=this._actionCollection.render(this.hostConfig.actions.actionsOrientation);return n&&(u.appendChild(t,b(this.hostConfig,{spacing:this.hostConfig.getEffectiveSpacing(this.hostConfig.actions.spacing)},l.Orientation.Horizontal)),u.appendChild(t,n)),this.renderIfEmpty||t.children.length>0?t:void 0}},t.prototype.getHasExpandedAction=function(){return 0!==this.renderedActionCount&&(1===this.renderedActionCount?void 0!==this._actionCollection.expandedAction&&!this.hostConfig.actions.preExpandSingleShowCardAction:void 0!==this._actionCollection.expandedAction)},Object.defineProperty(t.prototype,"renderedActionCount",{get:function(){return this._actionCollection.renderedActionCount},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderIfEmpty",{get:function(){return!1},enumerable:!1,configurable:!0}),t.prototype.releaseDOMResources=function(){e.prototype.releaseDOMResources.call(this),this._actionCollection.releaseDOMResources()},t.prototype.getActionCount=function(){return this._actionCollection.getActionCount()},t.prototype.getActionAt=function(t){return t>=0&&t<this.getActionCount()?this._actionCollection.getActionAt(t):e.prototype.getActionAt.call(this,t)},t.prototype.getActionById=function(t){return this._actionCollection.getActionById(t)||e.prototype.getActionById.call(this,t)},t.prototype.internalValidateProperties=function(t){e.prototype.internalValidateProperties.call(this,t),this._actionCollection&&this._actionCollection.validateProperties(t)},t.prototype.isLastElement=function(t){return e.prototype.isLastElement.call(this,t)&&0===this._actionCollection.getActionCount()},t.prototype.addAction=function(e){this._actionCollection.addAction(e)},t.prototype.clear=function(){e.prototype.clear.call(this),this._actionCollection.clear()},t.prototype.getAllInputs=function(t){void 0===t&&(t=!0);var n=e.prototype.getAllInputs.call(this,t);return t&&n.push.apply(n,this._actionCollection.getAllInputs(t)),n},t.prototype.getResourceInformation=function(){var t=e.prototype.getResourceInformation.call(this);return t.push.apply(t,this._actionCollection.getResourceInformation()),t},t.prototype.isBleedingAtBottom=function(){return 0===this._actionCollection.renderedActionCount?e.prototype.isBleedingAtBottom.call(this):1===this._actionCollection.getActionCount()?void 0!==this._actionCollection.expandedAction&&!this.hostConfig.actions.preExpandSingleShowCardAction:void 0!==this._actionCollection.expandedAction},t.prototype.getForbiddenActionNames=function(){return[]},t.prototype.getElementById=function(t){var n=e.prototype.getElementById.call(this,t);return n||(n=this.getElementByIdFromAction(t)),n},Object.defineProperty(t.prototype,"isStandalone",{get:function(){return!1},enumerable:!1,configurable:!0}),t}(Se);t.ContainerWithActions=Pe;var De=function(e){function t(t,n){var r=e.call(this,t,n,void 0)||this;return r.targetVersion=t,r.name=n,r}return i(t,e),t.prototype.parse=function(e,t,n){var r=n.parseAction(e.parent,t[this.name],[],!1);if(void 0!==r){if(r instanceof se)return r;n.logParseEvent(e,l.ValidationEvent.ActionTypeNotAllowed,g.Strings.errors.actionTypeNotAllowed(r.getJsonTypeName()))}n.logParseEvent(e,l.ValidationEvent.PropertyCantBeNull,g.Strings.errors.propertyMustBeSet("action"))},t.prototype.toJSON=function(e,t,n,r){r.serializeValue(t,this.name,n?n.toJSON(r):void 0,void 0,!0)},t}(f.PropertyDefinition);t.RefreshActionProperty=De;var Be=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),Object.defineProperty(t.prototype,"action",{get:function(){return this.getValue(t.actionProperty)},set:function(e){this.setValue(t.actionProperty,e),e&&e.setParent(this.parent)},enumerable:!1,configurable:!0}),t.prototype.getSchemaKey=function(){return"RefreshDefinition"},t.actionProperty=new De(f.Versions.v1_4,"action"),t.userIdsProperty=new f.StringArrayProperty(f.Versions.v1_4,"userIds"),o([(0,f.property)(t.actionProperty)],t.prototype,"action",null),o([(0,f.property)(t.userIdsProperty)],t.prototype,"userIds",void 0),t}(f.SerializableObject);t.RefreshDefinition=Be;var Re=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.getSchemaKey=function(){return"AuthCardButton"},t.typeProperty=new f.StringProperty(f.Versions.v1_4,"type"),t.titleProperty=new f.StringProperty(f.Versions.v1_4,"title"),t.imageProperty=new f.StringProperty(f.Versions.v1_4,"image"),t.valueProperty=new f.StringProperty(f.Versions.v1_4,"value"),o([(0,f.property)(t.typeProperty)],t.prototype,"type",void 0),o([(0,f.property)(t.titleProperty)],t.prototype,"title",void 0),o([(0,f.property)(t.imageProperty)],t.prototype,"image",void 0),o([(0,f.property)(t.valueProperty)],t.prototype,"value",void 0),t}(f.SerializableObject);t.AuthCardButton=Re;var Me=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.getSchemaKey=function(){return"TokenExchangeResource"},t.idProperty=new f.StringProperty(f.Versions.v1_4,"id"),t.uriProperty=new f.StringProperty(f.Versions.v1_4,"uri"),t.providerIdProperty=new f.StringProperty(f.Versions.v1_4,"providerId"),o([(0,f.property)(t.idProperty)],t.prototype,"id",void 0),o([(0,f.property)(t.uriProperty)],t.prototype,"uri",void 0),o([(0,f.property)(t.providerIdProperty)],t.prototype,"providerId",void 0),t}(f.SerializableObject);t.TokenExchangeResource=Me;var Le=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.getSchemaKey=function(){return"Authentication"},t.textProperty=new f.StringProperty(f.Versions.v1_4,"text"),t.connectionNameProperty=new f.StringProperty(f.Versions.v1_4,"connectionName"),t.buttonsProperty=new f.SerializableObjectCollectionProperty(f.Versions.v1_4,"buttons",Re),t.tokenExchangeResourceProperty=new f.SerializableObjectProperty(f.Versions.v1_4,"tokenExchangeResource",Me,!0),o([(0,f.property)(t.textProperty)],t.prototype,"text",void 0),o([(0,f.property)(t.connectionNameProperty)],t.prototype,"connectionName",void 0),o([(0,f.property)(t.buttonsProperty)],t.prototype,"buttons",void 0),o([(0,f.property)(t.tokenExchangeResourceProperty)],t.prototype,"tokenExchangeResource",void 0),t}(f.SerializableObject);t.Authentication=Le;var Oe=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.designMode=!1,t}return i(t,e),Object.defineProperty(t.prototype,"refresh",{get:function(){return this.getValue(t.refreshProperty)},set:function(e){this.setValue(t.refreshProperty,e),e&&(e.parent=this)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"processMarkdown",{get:function(){throw new Error(g.Strings.errors.processMarkdownEventRemoved())},set:function(e){throw new Error(g.Strings.errors.processMarkdownEventRemoved())},enumerable:!1,configurable:!0}),t.applyMarkdown=function(e){var n={didProcess:!1};if(t.onProcessMarkdown)t.onProcessMarkdown(e,n);else if(window.markdownit){var r=window.markdownit;n.outputHtml=r().render(e),n.didProcess=!0}else t._haveWarnedAboutNoMarkdownProcessing||(console.warn(g.Strings.errors.markdownProcessingNotEnabled),t._haveWarnedAboutNoMarkdownProcessing=!0);return n},t.prototype.isVersionSupported=function(){return!!this.bypassVersionCheck||!(!this.version||!this.version.isValid||this.maxVersion.major<this.version.major||this.maxVersion.major===this.version.major&&this.maxVersion.minor<this.version.minor)},t.prototype.getDefaultSerializationContext=function(){return new Ne(this.version)},t.prototype.getItemsCollectionPropertyName=function(){return"body"},t.prototype.internalParse=function(n,r){this._fallbackCard=void 0;var i=r.parseElement(void 0,n.fallback,this.forbiddenChildElements(),!this.isDesignMode());i&&(this._fallbackCard=new t,this._fallbackCard.addItem(i)),e.prototype.internalParse.call(this,n,r)},t.prototype.internalToJSON=function(n,r){this.setValue(t.versionProperty,r.targetVersion),e.prototype.internalToJSON.call(this,n,r)},t.prototype.internalRender=function(){var t=e.prototype.internalRender.call(this);return c.GlobalSettings.useAdvancedCardBottomTruncation&&t&&t.style.removeProperty("minHeight"),t},t.prototype.getHasBackground=function(e){return void 0===e&&(e=!1),!0},t.prototype.getDefaultPadding=function(){return new c.PaddingDefinition(l.Spacing.Padding,l.Spacing.Padding,l.Spacing.Padding,l.Spacing.Padding)},t.prototype.shouldSerialize=function(e){return!0},Object.defineProperty(t.prototype,"renderIfEmpty",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bypassVersionCheck",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allowCustomStyle",{get:function(){return this.hostConfig.adaptiveCard&&this.hostConfig.adaptiveCard.allowCustomStyle},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasBackground",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.getJsonTypeName=function(){return"AdaptiveCard"},t.prototype.internalValidateProperties=function(t){e.prototype.internalValidateProperties.call(this,t),"AdaptiveCard"!==this.getValue(C.typeNameProperty)&&t.addFailure(this,l.ValidationEvent.MissingCardType,g.Strings.errors.invalidCardType()),this.bypassVersionCheck||this.version?this.isVersionSupported()||t.addFailure(this,l.ValidationEvent.UnsupportedCardVersion,g.Strings.errors.unsupportedCardVersion(this.version.toString(),this.maxVersion.toString())):t.addFailure(this,l.ValidationEvent.PropertyCantBeNull,g.Strings.errors.propertyMustBeSet("version"))},t.prototype.render=function(t){var n,r=this;return this.shouldFallback()&&this._fallbackCard?(this._fallbackCard.hostConfig=this.hostConfig,n=this._fallbackCard.render()):(n=e.prototype.render.call(this))&&(n.classList.add(this.hostConfig.makeCssClassName("ac-adaptiveCard")),c.GlobalSettings.setTabIndexAtCardRoot&&(n.tabIndex=0),this.speak&&n.setAttribute("aria-label",this.speak),n.onmouseenter=function(e){r.updateInputsVisualState(!0)},n.onmouseleave=function(e){r.updateInputsVisualState(!1)},this.getRootElement().updateActionsEnabledState()),t&&(u.appendChild(t,n),this.updateLayout()),n},t.prototype.updateLayout=function(t){if(void 0===t&&(t=!0),e.prototype.updateLayout.call(this,t),c.GlobalSettings.useAdvancedCardBottomTruncation&&this.isDisplayed()){var n=this.hostConfig.getEffectiveSpacing(l.Spacing.Default);this.handleOverflow(this.renderedElement.offsetHeight-n)}},t.prototype.shouldFallback=function(){return e.prototype.shouldFallback.call(this)||!this.isVersionSupported()},Object.defineProperty(t.prototype,"hasVisibleSeparator",{get:function(){return!1},enumerable:!1,configurable:!0}),t.schemaUrl="http://adaptivecards.io/schemas/adaptive-card.json",t.$schemaProperty=new f.CustomProperty(f.Versions.v1_0,"$schema",(function(e,n,r,i){return t.schemaUrl}),(function(e,n,r,i,o){o.serializeValue(r,n.name,t.schemaUrl)})),t.versionProperty=new f.CustomProperty(f.Versions.v1_0,"version",(function(e,t,n,r){var i=f.Version.parse(n[t.name],r);return void 0===i&&(i=f.Versions.latest,r.logParseEvent(e,l.ValidationEvent.InvalidPropertyValue,g.Strings.errors.invalidCardVersion(i.toString()))),i}),(function(e,t,n,r,i){void 0!==r&&i.serializeValue(n,t.name,r.toString())}),f.Versions.v1_0),t.fallbackTextProperty=new f.StringProperty(f.Versions.v1_0,"fallbackText"),t.speakProperty=new f.StringProperty(f.Versions.v1_0,"speak"),t.refreshProperty=new f.SerializableObjectProperty(f.Versions.v1_4,"refresh",Be,!0),t.authenticationProperty=new f.SerializableObjectProperty(f.Versions.v1_4,"authentication",Le,!0),t._haveWarnedAboutNoMarkdownProcessing=!1,o([(0,f.property)(t.versionProperty)],t.prototype,"version",void 0),o([(0,f.property)(t.fallbackTextProperty)],t.prototype,"fallbackText",void 0),o([(0,f.property)(t.speakProperty)],t.prototype,"speak",void 0),o([(0,f.property)(t.refreshProperty)],t.prototype,"refresh",null),o([(0,f.property)(t.authenticationProperty)],t.prototype,"authentication",void 0),t}(Pe);t.AdaptiveCard=Oe;var Fe=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.suppressStyle=!1,t}return i(t,e),t.prototype.getSchemaKey=function(){return"InlineAdaptiveCard"},t.prototype.populateSchema=function(t){e.prototype.populateSchema.call(this,t),t.remove(Oe.$schemaProperty,Oe.versionProperty)},t.prototype.getDefaultPadding=function(){return new c.PaddingDefinition(this.suppressStyle?l.Spacing.None:l.Spacing.Padding,l.Spacing.Padding,this.suppressStyle?l.Spacing.None:l.Spacing.Padding,l.Spacing.Padding)},Object.defineProperty(t.prototype,"bypassVersionCheck",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"defaultStyle",{get:function(){return this.suppressStyle?l.ContainerStyle.Default:this.hostConfig.actions.showCard.style?this.hostConfig.actions.showCard.style:l.ContainerStyle.Emphasis},enumerable:!1,configurable:!0}),t.prototype.render=function(t){var n=e.prototype.render.call(this,t);return n&&(n.setAttribute("aria-live","polite"),n.removeAttribute("tabindex")),n},t}(Oe),Ne=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._forbiddenTypes=new Set,t}return i(t,e),t.prototype.internalParseCardObject=function(e,t,n,r,i,o){var a=this,s=void 0;if(t&&"object"==typeof t){var d=new Set;this._forbiddenTypes.forEach((function(e){d.add(e)})),n.forEach((function(e){a._forbiddenTypes.add(e)}));var p=u.parseString(t.type);if(p&&this._forbiddenTypes.has(p))o(p,l.TypeErrorType.ForbiddenType);else{var h=!1;if((s=i(p))?(s.setParent(e),s.parse(t,this),h=c.GlobalSettings.enableFallback&&r&&s.shouldFallback()):(h=c.GlobalSettings.enableFallback&&r,o(p,l.TypeErrorType.UnknownType)),h){var f=t.fallback;!f&&e&&e.setShouldFallback(!0),"string"==typeof f&&"drop"===f.toLowerCase()?s=void 0:"object"==typeof f&&(s=this.internalParseCardObject(e,f,n,!0,i,o))}}this._forbiddenTypes=d}return s},t.prototype.cardObjectParsed=function(e,t){e instanceof re&&this.onParseAction?this.onParseAction(e,t,this):e instanceof C&&this.onParseElement&&this.onParseElement(e,t,this)},t.prototype.shouldSerialize=function(e){return e instanceof re?void 0!==this.actionRegistry.findByName(e.getJsonTypeName()):!(e instanceof C)||void 0!==this.elementRegistry.findByName(e.getJsonTypeName())},t.prototype.parseCardObject=function(e,t,n,r,i,o){var a=new Set(n),s=this.internalParseCardObject(e,t,a,r,i,o);return void 0!==s&&this.cardObjectParsed(s,t),s},t.prototype.parseElement=function(e,t,n,r){var i=this;return this.parseCardObject(e,t,n,r,(function(e){return i.elementRegistry.createInstance(e,i.targetVersion)}),(function(e,t){t===l.TypeErrorType.UnknownType?i.logParseEvent(void 0,l.ValidationEvent.UnknownElementType,g.Strings.errors.unknownElementType(e)):i.logParseEvent(void 0,l.ValidationEvent.ElementTypeNotAllowed,g.Strings.errors.elementTypeNotAllowed(e))}))},t.prototype.parseAction=function(e,t,n,r){var i=this;return this.parseCardObject(e,t,n,r,(function(e){return i.actionRegistry.createInstance(e,i.targetVersion)}),(function(e,t){t===l.TypeErrorType.UnknownType?i.logParseEvent(void 0,l.ValidationEvent.UnknownActionType,g.Strings.errors.unknownActionType(e)):i.logParseEvent(void 0,l.ValidationEvent.ActionTypeNotAllowed,g.Strings.errors.actionTypeNotAllowed(e))}))},Object.defineProperty(t.prototype,"elementRegistry",{get:function(){var e;return null!==(e=this._elementRegistry)&&void 0!==e?e:m.GlobalRegistry.elements},enumerable:!1,configurable:!0}),t.prototype.setElementRegistry=function(e){this._elementRegistry=e},Object.defineProperty(t.prototype,"actionRegistry",{get:function(){var e;return null!==(e=this._actionRegistry)&&void 0!==e?e:m.GlobalRegistry.actions},enumerable:!1,configurable:!0}),t.prototype.setActionRegistry=function(e){this._actionRegistry=e},t}(f.BaseSerializationContext);t.SerializationContext=Ne,m.GlobalRegistry.defaultElements.register("Container",Se),m.GlobalRegistry.defaultElements.register("TextBlock",E),m.GlobalRegistry.defaultElements.register("RichTextBlock",x,f.Versions.v1_2),m.GlobalRegistry.defaultElements.register("TextRun",w,f.Versions.v1_2),m.GlobalRegistry.defaultElements.register("Image",_),m.GlobalRegistry.defaultElements.register("ImageSet",B),m.GlobalRegistry.defaultElements.register("Media",$,f.Versions.v1_1),m.GlobalRegistry.defaultElements.register("FactSet",k),m.GlobalRegistry.defaultElements.register("ColumnSet",we),m.GlobalRegistry.defaultElements.register("ActionSet",ve,f.Versions.v1_2),m.GlobalRegistry.defaultElements.register("Input.Text",G),m.GlobalRegistry.defaultElements.register("Input.Date",ee),m.GlobalRegistry.defaultElements.register("Input.Time",ne),m.GlobalRegistry.defaultElements.register("Input.Number",Q),m.GlobalRegistry.defaultElements.register("Input.ChoiceSet",Z),m.GlobalRegistry.defaultElements.register("Input.Toggle",K),m.GlobalRegistry.defaultActions.register(ce.JsonTypeName,ce),m.GlobalRegistry.defaultActions.register(oe.JsonTypeName,oe),m.GlobalRegistry.defaultActions.register(fe.JsonTypeName,fe),m.GlobalRegistry.defaultActions.register(ue.JsonTypeName,ue,f.Versions.v1_2),m.GlobalRegistry.defaultActions.register(se.JsonTypeName,se,f.Versions.v1_4)},5516:e=>{"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),o="/*# ".concat(i," */");return[t].concat([o]).join("\n")}return[t].join("\n")}},5677:(e,t,n)=>{"use strict";
/** @license React v17.0.2
 * react.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var r=n(5946),i=60103,o=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var a=60109,s=60110,l=60112;t.Suspense=60113;var c=60115,u=60116;if("function"==typeof Symbol&&Symbol.for){var d=Symbol.for;i=d("react.element"),o=d("react.portal"),t.Fragment=d("react.fragment"),t.StrictMode=d("react.strict_mode"),t.Profiler=d("react.profiler"),a=d("react.provider"),s=d("react.context"),l=d("react.forward_ref"),t.Suspense=d("react.suspense"),c=d("react.memo"),u=d("react.lazy")}var p="function"==typeof Symbol&&Symbol.iterator;function h(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var f={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m={};function g(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||f}function v(){}function y(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||f}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(h(85));this.updater.enqueueSetState(this,e,t,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=g.prototype;var b=y.prototype=new v;b.constructor=y,r(b,g.prototype),b.isPureReactComponent=!0;var C={current:null},A=Object.prototype.hasOwnProperty,S={key:!0,ref:!0,__self:!0,__source:!0};function E(e,t,n){var r,o={},a=null,s=null;if(null!=t)for(r in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)A.call(t,r)&&!S.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(1===l)o.children=n;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];o.children=c}if(e&&e.defaultProps)for(r in l=e.defaultProps)void 0===o[r]&&(o[r]=l[r]);return{$$typeof:i,type:e,key:a,ref:s,props:o,_owner:C.current}}function w(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var x=/\/+/g;function I(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function k(e,t,n,r,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case i:case o:l=!0}}if(l)return a=a(l=e),e=""===r?"."+I(l,0):r,Array.isArray(a)?(n="",null!=e&&(n=e.replace(x,"$&/")+"/"),k(a,t,n,"",(function(e){return e}))):null!=a&&(w(a)&&(a=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,n+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(x,"$&/")+"/")+e)),t.push(a)),1;if(l=0,r=""===r?".":r+":",Array.isArray(e))for(var c=0;c<e.length;c++){var u=r+I(s=e[c],c);l+=k(s,t,n,u,a)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"==typeof u)for(e=u.call(e),c=0;!(s=e.next()).done;)l+=k(s=s.value,t,n,u=r+I(s,c++),a);else if("object"===s)throw t=""+e,Error(h(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return l}function T(e,t,n){if(null==e)return e;var r=[],i=0;return k(e,r,"","",(function(e){return t.call(n,e,i++)})),r}function _(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var P={current:null};function D(){var e=P.current;if(null===e)throw Error(h(321));return e}var B={ReactCurrentDispatcher:P,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:C,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:T,forEach:function(e,t,n){T(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return T(e,(function(){t++})),t},toArray:function(e){return T(e,(function(e){return e}))||[]},only:function(e){if(!w(e))throw Error(h(143));return e}},t.Component=g,t.PureComponent=y,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=B,t.cloneElement=function(e,t,n){if(null==e)throw Error(h(267,e));var o=r({},e.props),a=e.key,s=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,l=C.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(u in t)A.call(t,u)&&!S.hasOwnProperty(u)&&(o[u]=void 0===t[u]&&void 0!==c?c[u]:t[u])}var u=arguments.length-2;if(1===u)o.children=n;else if(1<u){c=Array(u);for(var d=0;d<u;d++)c[d]=arguments[d+2];o.children=c}return{$$typeof:i,type:e.type,key:a,ref:s,props:o,_owner:l}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:s,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},t.createElement=E,t.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:l,render:e}},t.isValidElement=w,t.lazy=function(e){return{$$typeof:u,_payload:{_status:-1,_result:e},_init:_}},t.memo=function(e,t){return{$$typeof:c,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return D().useCallback(e,t)},t.useContext=function(e,t){return D().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return D().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return D().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return D().useLayoutEffect(e,t)},t.useMemo=function(e,t){return D().useMemo(e,t)},t.useReducer=function(e,t,n){return D().useReducer(e,t,n)},t.useRef=function(e){return D().useRef(e)},t.useState=function(e){return D().useState(e)},t.version="17.0.2"},5705:e=>{"use strict";e.exports=function(e,t,n,r,i,o,a,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,o,a,s],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},5744:(e,t,n)=>{const r=n(2306);e.exports=(e,t)=>new r(e,t).minor},5804:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.SerializableObject=t.property=t.SerializableObjectSchema=t.CustomProperty=t.SerializableObjectCollectionProperty=t.SerializableObjectProperty=t.EnumProperty=t.ValueSetProperty=t.StringArrayProperty=t.PixelSizeProperty=t.NumProperty=t.BoolProperty=t.StringProperty=t.PropertyDefinition=t.BaseSerializationContext=t.isVersionLessOrEqual=t.Versions=t.Version=void 0;var o=n(3771),a=n(345),s=n(1050),l=n(2378),c=function(){function e(e,t,n){void 0===e&&(e=1),void 0===t&&(t=1),this._isValid=!0,this._major=e,this._minor=t,this._label=n}return e.parse=function(t,n){if(t){var r=new e;r._versionString=t;var i=/(\d+).(\d+)/gi.exec(t);return null!=i&&3===i.length?(r._major=parseInt(i[1]),r._minor=parseInt(i[2])):r._isValid=!1,r._isValid||n.logParseEvent(void 0,s.ValidationEvent.InvalidPropertyValue,l.Strings.errors.invalidVersionString(r._versionString)),r}},e.prototype.toString=function(){return this._isValid?this._major+"."+this._minor:this._versionString},e.prototype.toJSON=function(){return this.toString()},e.prototype.compareTo=function(e){if(!this.isValid||!e.isValid)throw new Error("Cannot compare invalid version.");return this.major>e.major?1:this.major<e.major?-1:this.minor>e.minor?1:this.minor<e.minor?-1:0},Object.defineProperty(e.prototype,"label",{get:function(){return this._label?this._label:this.toString()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"major",{get:function(){return this._major},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"minor",{get:function(){return this._minor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isValid",{get:function(){return this._isValid},enumerable:!1,configurable:!0}),e}();t.Version=c;var u=function(){function e(){}return e.getAllDeclaredVersions=function(){var t=e,n=[];for(var r in t)if(r.match(/^v[0-9_]*$/))try{var i=t[r];i instanceof c&&n.push(i)}catch(e){}return n.sort((function(e,t){return e.compareTo(t)}))},e.v1_0=new c(1,0),e.v1_1=new c(1,1),e.v1_2=new c(1,2),e.v1_3=new c(1,3),e.v1_4=new c(1,4),e.v1_5=new c(1,5),e.v1_6=new c(1,6,"1.6 Preview"),e.latest=e.v1_5,e}();t.Versions=u,t.isVersionLessOrEqual=function(e,t){return!(e instanceof c)||!(t instanceof c)||t.compareTo(e)>=0};var d=function(){function e(e){void 0===e&&(e=u.latest),this._validationEvents=[],this.targetVersion=e}return e.prototype.isTemplateString=function(e){return"string"==typeof e&&e.startsWith("${")},e.prototype.tryDeleteValue=function(e,t){o.GlobalSettings.enableFullJsonRoundTrip||delete e[t]},e.prototype.tryDeleteDefaultValue=function(e,t){o.GlobalSettings.enableFullJsonRoundTrip&&this.isTemplateString(e[t])||delete e[t]},e.prototype.serializeValue=function(e,t,n,r,i){void 0===r&&(r=void 0),void 0===i&&(i=!1),null==n?o.GlobalSettings.enableFullJsonRoundTrip&&!i||delete e[t]:n===r?o.GlobalSettings.enableFullJsonRoundTrip&&!i&&this.isTemplateString(e[t])||delete e[t]:e[t]=n},e.prototype.serializeString=function(e,t,n,r){null==n?this.tryDeleteValue(e,t):n===r?this.tryDeleteDefaultValue(e,t):e[t]=n},e.prototype.serializeBool=function(e,t,n,r){null==n?this.tryDeleteValue(e,t):n===r?this.tryDeleteDefaultValue(e,t):e[t]=n},e.prototype.serializeNumber=function(e,t,n,r){null==n||isNaN(n)?this.tryDeleteValue(e,t):n===r?this.tryDeleteDefaultValue(e,t):e[t]=n},e.prototype.serializeEnum=function(e,t,n,r,i){void 0===i&&(i=void 0),null==r?this.tryDeleteValue(t,n):r===i?this.tryDeleteDefaultValue(t,n):t[n]=e[r]},e.prototype.serializeArray=function(e,t,n){var r=[];if(n)for(var i=0,o=n;i<o.length;i++){var a,s=o[i];void 0!==(a=s instanceof x?s.toJSON(this):s.toJSON?s.toJSON():s)&&r.push(a)}0===r.length?e.hasOwnProperty(t)&&Array.isArray(e[t])&&delete e[t]:this.serializeValue(e,t,r)},e.prototype.clearEvents=function(){this._validationEvents=[]},e.prototype.logEvent=function(e,t,n,r){this._validationEvents.push({source:e,phase:t,event:n,message:r})},e.prototype.logParseEvent=function(e,t,n){this.logEvent(e,s.ValidationPhase.Parse,t,n)},e.prototype.getEventAt=function(e){return this._validationEvents[e]},Object.defineProperty(e.prototype,"eventCount",{get:function(){return this._validationEvents.length},enumerable:!1,configurable:!0}),e}();t.BaseSerializationContext=d;var p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t}(d),h=function(){function e(t,n,r,i){this.targetVersion=t,this.name=n,this.defaultValue=r,this.onGetInitialValue=i,this.isSerializationEnabled=!0,this.sequentialNumber=e._sequentialNumber,e._sequentialNumber++}return e.prototype.getInternalName=function(){return this.name},e.prototype.parse=function(e,t,n){return t[this.name]},e.prototype.toJSON=function(e,t,n,r){r.serializeValue(t,this.name,n,this.defaultValue)},e._sequentialNumber=0,e}();t.PropertyDefinition=h;var f=function(e){function t(t,n,r,i,o,a){void 0===r&&(r=!0);var s=e.call(this,t,n,o,a)||this;return s.targetVersion=t,s.name=n,s.treatEmptyAsUndefined=r,s.regEx=i,s.defaultValue=o,s.onGetInitialValue=a,s}return i(t,e),t.prototype.parse=function(e,t,n){var r=a.parseString(t[this.name],this.defaultValue);if(void 0===r||""===r&&this.treatEmptyAsUndefined||void 0===this.regEx||this.regEx.exec(r))return r;n.logParseEvent(e,s.ValidationEvent.InvalidPropertyValue,l.Strings.errors.invalidPropertyValue(r,this.name))},t.prototype.toJSON=function(e,t,n,r){r.serializeString(t,this.name,""===n&&this.treatEmptyAsUndefined?void 0:n,this.defaultValue)},t}(h);t.StringProperty=f;var m=function(e){function t(t,n,r,i){var o=e.call(this,t,n,r,i)||this;return o.targetVersion=t,o.name=n,o.defaultValue=r,o.onGetInitialValue=i,o}return i(t,e),t.prototype.parse=function(e,t,n){return a.parseBool(t[this.name],this.defaultValue)},t.prototype.toJSON=function(e,t,n,r){r.serializeBool(t,this.name,n,this.defaultValue)},t}(h);t.BoolProperty=m;var g=function(e){function t(t,n,r,i){var o=e.call(this,t,n,r,i)||this;return o.targetVersion=t,o.name=n,o.defaultValue=r,o.onGetInitialValue=i,o}return i(t,e),t.prototype.parse=function(e,t,n){return a.parseNumber(t[this.name],this.defaultValue)},t.prototype.toJSON=function(e,t,n,r){r.serializeNumber(t,this.name,n,this.defaultValue)},t}(h);t.NumProperty=g;var v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.parse=function(e,t,n){var r=void 0,i=t[this.name];if("string"==typeof i){var a=!1;try{var c=o.SizeAndUnit.parse(i,!0);c.unit===s.SizeUnit.Pixel&&(r=c.physicalSize,a=!0)}catch(e){}a||n.logParseEvent(e,s.ValidationEvent.InvalidPropertyValue,l.Strings.errors.invalidPropertyValue(t[this.name],this.name))}return r},t.prototype.toJSON=function(e,t,n,r){r.serializeValue(t,this.name,"number"!=typeof n||isNaN(n)?void 0:n+"px")},t}(h);t.PixelSizeProperty=v;var y=function(e){function t(t,n,r,i){var o=e.call(this,t,n,r,i)||this;return o.targetVersion=t,o.name=n,o.defaultValue=r,o.onGetInitialValue=i,o}return i(t,e),t.prototype.parse=function(e,t,n){var r=t[this.name];if(void 0===r||!Array.isArray(r))return this.defaultValue;for(var i=[],o=0,a=r;o<a.length;o++){var l=a[o];"string"==typeof l?i.push(l):n.logParseEvent(e,s.ValidationEvent.InvalidPropertyValue,'Invalid array value "'.concat(JSON.stringify(l),'" of type "').concat(typeof l,'" ignored for "').concat(this.name,'".'))}return i},t.prototype.toJSON=function(e,t,n,r){r.serializeArray(t,this.name,n)},t}(h);t.StringArrayProperty=y;var b=function(e){function t(t,n,r,i,o){var a=e.call(this,t,n,i,o)||this;return a.targetVersion=t,a.name=n,a.values=r,a.defaultValue=i,a.onGetInitialValue=o,a}return i(t,e),t.prototype.isValidValue=function(e,t){for(var n=0,r=this.values;n<r.length;n++){var i=r[n];if(e.toLowerCase()===i.value.toLowerCase())return(i.targetVersion?i.targetVersion:this.targetVersion).compareTo(t.targetVersion)<=0}return!1},t.prototype.parse=function(e,t,n){var r=t[this.name];if(void 0===r)return this.defaultValue;if("string"==typeof r)for(var i=0,o=this.values;i<o.length;i++){var a=o[i];if(r.toLowerCase()===a.value.toLowerCase()){var c=a.targetVersion?a.targetVersion:this.targetVersion;return c.compareTo(n.targetVersion)<=0?a.value:(n.logParseEvent(e,s.ValidationEvent.InvalidPropertyValue,l.Strings.errors.propertyValueNotSupported(r,this.name,c.toString(),n.targetVersion.toString())),this.defaultValue)}}return n.logParseEvent(e,s.ValidationEvent.InvalidPropertyValue,l.Strings.errors.invalidPropertyValue(r,this.name)),this.defaultValue},t.prototype.toJSON=function(e,t,n,r){var i=!1;if(void 0!==n){i=!0;for(var o=0,a=this.values;o<a.length;o++){var c=a[o];if(c.value===n){var u=c.targetVersion?c.targetVersion:this.targetVersion;if(u.compareTo(r.targetVersion)<=0){i=!1;break}r.logEvent(e,s.ValidationPhase.ToJSON,s.ValidationEvent.InvalidPropertyValue,l.Strings.errors.propertyValueNotSupported(n,this.name,u.toString(),r.targetVersion.toString()))}}}i||r.serializeValue(t,this.name,n,this.defaultValue,!0)},t}(h);t.ValueSetProperty=b;var C=function(e){function t(t,n,r,i,o,a){var s=e.call(this,t,n,i,a)||this;if(s.targetVersion=t,s.name=n,s.enumType=r,s.defaultValue=i,s.onGetInitialValue=a,s._values=[],o)s._values=o;else for(var l in r){var c=parseInt(l,10);c>=0&&s._values.push({value:c})}return s}return i(t,e),t.prototype.parse=function(e,t,n){var r=t[this.name];if("string"!=typeof r)return this.defaultValue;var i=a.getEnumValueByName(this.enumType,r);if(void 0!==i)for(var o=0,c=this.values;o<c.length;o++){var u=c[o];if(u.value===i){var d=u.targetVersion?u.targetVersion:this.targetVersion;return d.compareTo(n.targetVersion)<=0?i:(n.logParseEvent(e,s.ValidationEvent.InvalidPropertyValue,l.Strings.errors.propertyValueNotSupported(r,this.name,d.toString(),n.targetVersion.toString())),this.defaultValue)}}return n.logParseEvent(e,s.ValidationEvent.InvalidPropertyValue,l.Strings.errors.invalidPropertyValue(r,this.name)),this.defaultValue},t.prototype.toJSON=function(e,t,n,r){var i=!1;if(void 0!==n){i=!0;for(var o=0,a=this.values;o<a.length;o++){var c=a[o];if(c.value===n){if((c.targetVersion?c.targetVersion:this.targetVersion).compareTo(r.targetVersion)<=0){i=!1;break}r.logEvent(e,s.ValidationPhase.ToJSON,s.ValidationEvent.InvalidPropertyValue,l.Strings.errors.invalidPropertyValue(n,this.name))}}}i||r.serializeEnum(this.enumType,t,this.name,n,this.defaultValue)},Object.defineProperty(t.prototype,"values",{get:function(){return this._values},enumerable:!1,configurable:!0}),t}(h);t.EnumProperty=C;var A=function(e){function t(t,n,r,i,o){void 0===i&&(i=!1);var a=e.call(this,t,n,o,(function(e){return a.nullable?void 0:new a.objectType}))||this;return a.targetVersion=t,a.name=n,a.objectType=r,a.nullable=i,a}return i(t,e),t.prototype.parse=function(e,t,n){var r=t[this.name];if(void 0===r)return this.onGetInitialValue?this.onGetInitialValue(e):this.defaultValue;var i=new this.objectType;return i.parse(r,n),i},t.prototype.toJSON=function(e,t,n,r){var i=void 0;void 0===n||n.hasAllDefaultValues()||(i=n.toJSON(r)),"object"==typeof i&&0===Object.keys(i).length&&(i=void 0),r.serializeValue(t,this.name,i,this.defaultValue,!0)},t}(h);t.SerializableObjectProperty=A;var S=function(e){function t(t,n,r,i){var o=e.call(this,t,n,void 0,(function(e){return[]}))||this;return o.targetVersion=t,o.name=n,o.objectType=r,o.onItemAdded=i,o}return i(t,e),t.prototype.parse=function(e,t,n){var r=[],i=t[this.name];if(Array.isArray(i))for(var o=0,a=i;o<a.length;o++){var s=a[o],l=new this.objectType;l.parse(s,n),r.push(l),this.onItemAdded&&this.onItemAdded(e,l)}return r.length>0?r:this.onGetInitialValue?this.onGetInitialValue(e):void 0},t.prototype.toJSON=function(e,t,n,r){r.serializeArray(t,this.name,n)},t}(h);t.SerializableObjectCollectionProperty=S;var E=function(e){function t(t,n,r,i,o,a){var s=e.call(this,t,n,o,a)||this;if(s.targetVersion=t,s.name=n,s.onParse=r,s.onToJSON=i,s.defaultValue=o,s.onGetInitialValue=a,!s.onParse)throw new Error("CustomPropertyDefinition instances must have an onParse handler.");if(!s.onToJSON)throw new Error("CustomPropertyDefinition instances must have an onToJSON handler.");return s}return i(t,e),t.prototype.parse=function(e,t,n){return this.onParse(e,this,t,n)},t.prototype.toJSON=function(e,t,n,r){this.onToJSON(e,this,t,n,r)},t}(h);t.CustomProperty=E;var w=function(){function e(){this._properties=[]}return e.prototype.indexOf=function(e){for(var t=0;t<this._properties.length;t++)if(this._properties[t]===e)return t;return-1},e.prototype.add=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var i=r[n];-1===this.indexOf(i)&&this._properties.push(i)}},e.prototype.remove=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++)for(var i=r[n];;){var o=this.indexOf(i);if(!(o>=0))break;this._properties.splice(o,1)}},e.prototype.getItemAt=function(e){return this._properties[e]},e.prototype.getCount=function(){return this._properties.length},e}();t.SerializableObjectSchema=w,t.property=function(e){return function(t,n){var r=Object.getOwnPropertyDescriptor(t,n)||{};r.get||r.set||(r.get=function(){return this.getValue(e)},r.set=function(t){this.setValue(e,t)},Object.defineProperty(t,n,r))}};var x=function(){function e(){this._propertyBag={},this._rawProperties={},this.maxVersion=e.defaultMaxVersion;for(var t=this.getSchema(),n=0;n<t.getCount();n++){var r=t.getItemAt(n);r.onGetInitialValue&&this.setValue(r,r.onGetInitialValue(this))}}return e.prototype.getDefaultSerializationContext=function(){return new p},e.prototype.populateSchema=function(t){var n=this.constructor,r=[];for(var i in n)try{var o=n[i];o instanceof h&&r.push(o)}catch(e){}if(r.length>0){var a=r.sort((function(e,t){return e.sequentialNumber>t.sequentialNumber?1:e.sequentialNumber<t.sequentialNumber?-1:0}));t.add.apply(t,a)}e.onRegisterCustomProperties&&e.onRegisterCustomProperties(this,t)},e.prototype.getValue=function(e){return this._propertyBag.hasOwnProperty(e.getInternalName())?this._propertyBag[e.getInternalName()]:e.defaultValue},e.prototype.setValue=function(e,t){null==t?delete this._propertyBag[e.getInternalName()]:this._propertyBag[e.getInternalName()]=t},e.prototype.internalParse=function(e,t){if(this._propertyBag={},this._rawProperties=o.GlobalSettings.enableFullJsonRoundTrip&&e||{},e)for(var n=this.getSchema(),r=0;r<n.getCount();r++){var i=n.getItemAt(r);if(i.isSerializationEnabled){var a=i.onGetInitialValue?i.onGetInitialValue(this):void 0;e.hasOwnProperty(i.name)&&(i.targetVersion.compareTo(t.targetVersion)<=0?a=i.parse(this,e,t):t.logParseEvent(this,s.ValidationEvent.UnsupportedProperty,l.Strings.errors.propertyNotSupported(i.name,i.targetVersion.toString(),t.targetVersion.toString()))),this.setValue(i,a)}}else this.resetDefaultValues()},e.prototype.internalToJSON=function(e,t){for(var n=this.getSchema(),r=[],i=0;i<n.getCount();i++){var o=n.getItemAt(i);o.isSerializationEnabled&&o.targetVersion.compareTo(t.targetVersion)<=0&&-1===r.indexOf(o.name)&&(o.toJSON(this,e,this.getValue(o),t),r.push(o.name))}},e.prototype.shouldSerialize=function(e){return!0},e.prototype.parse=function(e,t){this.internalParse(e,t||new p)},e.prototype.toJSON=function(e){var t;if(e&&e instanceof d?t=e:(t=this.getDefaultSerializationContext()).toJSONOriginalParam=e,this.shouldSerialize(t)){var n;return n=o.GlobalSettings.enableFullJsonRoundTrip&&this._rawProperties&&"object"==typeof this._rawProperties?this._rawProperties:{},this.internalToJSON(n,t),n}},e.prototype.hasDefaultValue=function(e){return this.getValue(e)===e.defaultValue},e.prototype.hasAllDefaultValues=function(){for(var e=this.getSchema(),t=0;t<e.getCount();t++){var n=e.getItemAt(t);if(!this.hasDefaultValue(n))return!1}return!0},e.prototype.resetDefaultValues=function(){for(var e=this.getSchema(),t=0;t<e.getCount();t++){var n=e.getItemAt(t);this.setValue(n,n.defaultValue)}},e.prototype.setCustomProperty=function(e,t){"string"==typeof t&&!t||null==t?delete this._rawProperties[e]:this._rawProperties[e]=t},e.prototype.getCustomProperty=function(e){return this._rawProperties[e]},e.prototype.getSchema=function(){var t=e._schemaCache[this.getSchemaKey()];return t||(t=new w,this.populateSchema(t),e._schemaCache[this.getSchemaKey()]=t),t},e.defaultMaxVersion=u.latest,e._schemaCache={},e}();t.SerializableObject=x},5923:(e,t,n)=>{const r=n(2306);e.exports=(e,t,n)=>{const i=new r(e,n),o=new r(t,n);return i.compare(o)||i.compareBuild(o)}},5946:e=>{"use strict";
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,i){for(var o,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){for(var c in o=Object(arguments[l]))n.call(o,c)&&(s[c]=o[c]);if(t){a=t(o);for(var u=0;u<a.length;u++)r.call(o,a[u])&&(s[a[u]]=o[a[u]])}}return s}},5969:(e,t,n)=>{const r=n(3682);e.exports=(e,t)=>r(e,t,!0)},6036:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>v});var r=n(6186),i=n.n(r),o=n(2155),a=n.n(o),s=n(7433),l=n.n(s),c=n(8626),u=n.n(c),d=n(8990),p=n.n(d),h=n(9827),f=n.n(h),m=n(4701),g={};g.styleTagTransform=f(),g.setAttributes=u(),g.insert=l().bind(null,"head"),g.domAPI=a(),g.insertStyleElement=p(),i()(m.A,g);const v=m.A&&m.A.locals?m.A.locals:void 0},6186:e=>{"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var o={},a=[],s=0;s<e.length;s++){var l=e[s],c=r.base?l[0]+r.base:l[0],u=o[c]||0,d="".concat(c," ").concat(u);o[c]=u+1;var p=n(d),h={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==p)t[p].references++,t[p].updater(h);else{var f=i(h,r);r.byIndex=s,t.splice(s,0,{identifier:d,updater:f,references:1})}a.push(d)}return a}function i(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,i){var o=r(e=e||[],i=i||{});return function(e){e=e||[];for(var a=0;a<o.length;a++){var s=n(o[a]);t[s].references--}for(var l=r(e,i),c=0;c<o.length;c++){var u=n(o[c]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=l}}},6231:(e,t,n)=>{const r=n(2306);e.exports=(e,t)=>new r(e,t).patch},6286:e=>{const t="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},6345:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.AdaptiveApplet=void 0;var o=n(1050),a=n(345),s=n(3771),l=n(5043),c=n(2378),u=n(5396),d=n(5804);function p(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];if(s.GlobalSettings.applets.logEnabled)if(s.GlobalSettings.applets.onLogEvent)s.GlobalSettings.applets.onLogEvent(e,t,n);else switch(e){case o.LogLevel.Warning:console.warn(t,n);break;case o.LogLevel.Error:console.error(t,n);break;default:console.log(t,n)}}var h=function(){function e(e,t,n){this.action=e,this.trigger=t,this.consecutiveActions=n,this.attemptNumber=0}return e.prototype.retryAsync=function(){return r(this,void 0,void 0,(function(){return i(this,(function(e){return this.onSend&&this.onSend(this),[2]}))}))},e}(),f=function(){function e(){this._allowAutomaticCardUpdate=!1,this.renderedElement=document.createElement("div"),this.renderedElement.className="aaf-cardHost",this.renderedElement.style.position="relative",this.renderedElement.style.display="flex",this.renderedElement.style.flexDirection="column",this._cardHostElement=document.createElement("div"),this._refreshButtonHostElement=document.createElement("div"),this._refreshButtonHostElement.className="aaf-refreshButtonHost",this._refreshButtonHostElement.style.display="none",this.renderedElement.appendChild(this._cardHostElement),this.renderedElement.appendChild(this._refreshButtonHostElement)}return e.prototype.displayCard=function(e){if(!e.renderedElement)throw new Error("displayCard: undefined card.");a.clearElementChildren(this._cardHostElement),this._refreshButtonHostElement.style.display="none",this._cardHostElement.appendChild(e.renderedElement)},e.prototype.showManualRefreshButton=function(e){var t=this;if(!this.onShowManualRefreshButton||this.onShowManualRefreshButton(this)){this._refreshButtonHostElement.style.display="none";var n=void 0;if(this.onRenderManualRefreshButton)n=this.onRenderManualRefreshButton(this);else{var r=c.Strings.runtime.refreshThisCard();if(s.GlobalSettings.applets.refresh.mode===o.RefreshMode.Automatic){var i=c.Strings.runtime.automaticRefreshPaused();" "!==i[i.length-1]&&(i+=" "),r=c.Strings.runtime.clckToRestartAutomaticRefresh()}var p={type:"AdaptiveCard",version:"1.2",body:[{type:"RichTextBlock",horizontalAlignment:"right",inlines:[{type:"TextRun",text:r,selectAction:{type:"Action.Submit",id:"refreshCard"}}]}]},h=new u.AdaptiveCard;h.parse(p,new u.SerializationContext(d.Versions.v1_2)),h.onExecuteAction=function(n){"refreshCard"===n.id&&(a.clearElementChildren(t._refreshButtonHostElement),t.internalExecuteAction(e,l.ActivityRequestTrigger.Automatic,0))},n=h.render()}n&&(a.clearElementChildren(this._refreshButtonHostElement),this._refreshButtonHostElement.appendChild(n),this._refreshButtonHostElement.style.removeProperty("display"))}},e.prototype.createActivityRequest=function(e,t,n){var r=this;if(this.card){var i=new h(e,t,n);return i.onSend=function(e){e.attemptNumber++,r.internalSendActivityRequestAsync(i)},this.onPrepareActivityRequest&&!this.onPrepareActivityRequest(this,i,e)?void 0:i}throw new Error("createActivityRequest: no card has been set.")},e.prototype.createMagicCodeInputCard=function(t){var n={type:"AdaptiveCard",version:"1.0",body:[{type:"TextBlock",color:"attention",text:1===t?void 0:"That didn't work... let's try again.",wrap:!0,horizontalAlignment:"center"},{type:"TextBlock",text:'Please login in the popup. You will obtain a magic code. Paste that code below and select "Submit"',wrap:!0,horizontalAlignment:"center"},{type:"Input.Text",id:"magicCode",placeholder:"Enter magic code"},{type:"ActionSet",horizontalAlignment:"center",actions:[{type:"Action.Submit",id:e._submitMagicCodeActionId,title:"Submit"},{type:"Action.Submit",id:e._cancelMagicCodeAuthActionId,title:"Cancel"}]}]},r=new u.AdaptiveCard;return r.parse(n),r},e.prototype.cancelAutomaticRefresh=function(){this._allowAutomaticCardUpdate&&p(o.LogLevel.Warning,"Automatic card refresh has been cancelled as a result of the user interacting with the card."),this._allowAutomaticCardUpdate=!1},e.prototype.createSerializationContext=function(){return this.onCreateSerializationContext?this.onCreateSerializationContext(this):new u.SerializationContext},e.prototype.internalSetCard=function(e,t){var n=this;if("object"==typeof e&&"AdaptiveCard"===e.type&&(this._cardPayload=e),this._cardPayload)try{var r=new u.AdaptiveCard;this.hostConfig&&(r.hostConfig=this.hostConfig);var i=this.createSerializationContext();if(r.parse(this._cardPayload,i),(!this.onCardChanging||this.onCardChanging(this,this._cardPayload))&&(this._card=r,this._card.authentication&&this._card.authentication.tokenExchangeResource&&this.onPrefetchSSOToken&&this.onPrefetchSSOToken(this,this._card.authentication.tokenExchangeResource),this._card.onExecuteAction=function(e){n.cancelAutomaticRefresh(),n.internalExecuteAction(e,l.ActivityRequestTrigger.Manual,0)},this._card.onInputValueChanged=function(e){var t,r,i;if(n.cancelAutomaticRefresh(),e instanceof u.ChoiceSetInput&&e.isDynamicTypeahead()){var o=e.getFilterForDynamicSearch();if(o){var a=new u.DataQuery;a.filter=o,a.dataset=(null===(t=e.choicesData)||void 0===t?void 0:t.dataset)||"",a.count=null===(r=e.choicesData)||void 0===r?void 0:r.count,a.skip=null===(i=e.choicesData)||void 0===i?void 0:i.skip,n._choiceSet=e,n.internalExecuteAction(a,l.ActivityRequestTrigger.Manual,0)}}},this._card.render(),this._card.renderedElement&&(this.displayCard(this._card),this.onCardChanged&&this.onCardChanged(this),this._card.refresh)))if(s.GlobalSettings.applets.refresh.mode===o.RefreshMode.Automatic&&t<s.GlobalSettings.applets.refresh.maximumConsecutiveAutomaticRefreshes)if(s.GlobalSettings.applets.refresh.timeBetweenAutomaticRefreshes<=0)p(o.LogLevel.Info,"Triggering automatic card refresh number "+(t+1)),this.internalExecuteAction(this._card.refresh.action,l.ActivityRequestTrigger.Automatic,t+1);else{p(o.LogLevel.Info,"Scheduling automatic card refresh number "+(t+1)+" in "+s.GlobalSettings.applets.refresh.timeBetweenAutomaticRefreshes+"ms");var a=this._card.refresh.action;this._allowAutomaticCardUpdate=!0,window.setTimeout((function(){n._allowAutomaticCardUpdate&&n.internalExecuteAction(a,l.ActivityRequestTrigger.Automatic,t+1)}),s.GlobalSettings.applets.refresh.timeBetweenAutomaticRefreshes)}else s.GlobalSettings.applets.refresh.mode!==o.RefreshMode.Disabled&&(p(o.LogLevel.Warning,t>0?"Stopping automatic refreshes after "+t+" consecutive refreshes.":"The card has a refresh section, but automatic refreshes are disabled."),(s.GlobalSettings.applets.refresh.allowManualRefreshesAfterAutomaticRefreshes||s.GlobalSettings.applets.refresh.mode===o.RefreshMode.Manual)&&(p(o.LogLevel.Info,"Showing manual refresh button."),this.showManualRefreshButton(this._card.refresh.action)))}catch(e){p(o.LogLevel.Error,"setCard: "+e)}},e.prototype.internalExecuteAction=function(e,t,n){if(e instanceof u.UniversalAction){if(!this.channelAdapter)throw new Error("internalExecuteAction: No channel adapter set.");var r=this.createActivityRequest(e,t,n);r&&r.retryAsync()}this.onAction&&this.onAction(this,e)},e.prototype.createProgressOverlay=function(e){if(!this._progressOverlay)if(this.onCreateProgressOverlay)this._progressOverlay=this.onCreateProgressOverlay(this,e);else{this._progressOverlay=document.createElement("div"),this._progressOverlay.className="aaf-progress-overlay";var t=document.createElement("div");t.className="aaf-spinner",t.style.width="28px",t.style.height="28px",this._progressOverlay.appendChild(t)}return this._progressOverlay},e.prototype.removeProgressOverlay=function(e){this.onRemoveProgressOverlay&&this.onRemoveProgressOverlay(this,e),void 0!==this._progressOverlay&&(this.renderedElement.removeChild(this._progressOverlay),this._progressOverlay=void 0)},e.prototype.activityRequestSucceeded=function(e,t){this.onActivityRequestSucceeded&&this.onActivityRequestSucceeded(this,e,t)},e.prototype.activityRequestFailed=function(e){return this.onActivityRequestFailed?this.onActivityRequestFailed(this,e):s.GlobalSettings.applets.defaultTimeBetweenRetryAttempts},e.prototype.showAuthCodeInputDialog=function(t){var n=this;if(!this.onShowAuthCodeInputDialog||this.onShowAuthCodeInputDialog(this,t)){var r=this.createMagicCodeInputCard(t.attemptNumber);r.render(),r.onExecuteAction=function(r){if(n.card&&r instanceof u.SubmitAction)switch(r.id){case e._submitMagicCodeActionId:var i=void 0;r.data&&"string"==typeof r.data.magicCode&&(i=r.data.magicCode),i?(n.displayCard(n.card),t.authCode=i,t.retryAsync()):alert("Please enter the magic code you received.");break;case e._cancelMagicCodeAuthActionId:p(o.LogLevel.Warning,"Authentication cancelled by user."),n.displayCard(n.card);break;default:p(o.LogLevel.Error,"Unexpected action taken from magic code input card (id = "+r.id+")"),alert(c.Strings.magicCodeInputCard.somethingWentWrong())}},this.displayCard(r)}},e.prototype.internalSendActivityRequestAsync=function(e){return r(this,void 0,void 0,(function(){var t;return i(this,(function(n){switch(n.label){case 0:if(!this.channelAdapter)throw new Error("internalSendActivityRequestAsync: channelAdapter is not set.");return(t=e.action)instanceof u.ExecuteAction?[4,this.internalSendExecuteRequestAsync(e)]:[3,2];case 1:case 3:return n.sent(),[3,5];case 2:return t instanceof u.DataQuery?[4,this.internalSendDataQueryRequestAsync(e)]:[3,4];case 4:throw new Error("internalSendActivityRequestAsync: Unhandled Action Type");case 5:return[2]}}))}))},e.prototype.internalSendExecuteRequestAsync=function(e){return r(this,void 0,void 0,(function(){var t,n,r,a;return i(this,(function(u){switch(u.label){case 0:if(!this.channelAdapter)throw new Error("internalSendExecuteRequestAsync: channelAdapter is not set.");void 0!==(t=this.createProgressOverlay(e))&&this.renderedElement.appendChild(t),n=!1,r=function(){var t,r,u,d,h,f,m;return i(this,(function(i){switch(i.label){case 0:t=void 0,1===e.attemptNumber?p(o.LogLevel.Info,"Sending activity request to channel (attempt "+e.attemptNumber+")"):p(o.LogLevel.Info,"Re-sending activity request to channel (attempt "+e.attemptNumber+")"),i.label=1;case 1:return i.trys.push([1,3,,4]),[4,a.channelAdapter.sendRequestAsync(e)];case 2:return t=i.sent(),[3,4];case 3:return r=i.sent(),p(o.LogLevel.Error,"Activity request failed: "+r),a.removeProgressOverlay(e),n=!0,[3,4];case 4:if(!t)return[3,10];if(!(t instanceof l.SuccessResponse))return[3,5];if(a.removeProgressOverlay(e),void 0===t.rawContent)throw new Error("internalSendActivityRequestAsync: Action.Execute result is undefined");u=t.rawContent;try{u=JSON.parse(t.rawContent)}catch(e){}if("string"==typeof u)p(o.LogLevel.Info,"The activity request returned a string after "+e.attemptNumber+" attempt(s)."),a.activityRequestSucceeded(t,u);else{if("object"!=typeof u||"AdaptiveCard"!==u.type)throw new Error("internalSendActivityRequestAsync: Action.Execute result is of unsupported type ("+typeof t.rawContent+")");p(o.LogLevel.Info,"The activity request returned an Adaptive Card after "+e.attemptNumber+" attempt(s)."),a.internalSetCard(u,e.consecutiveActions),a.activityRequestSucceeded(t,a.card)}return n=!0,[3,10];case 5:return t instanceof l.ErrorResponse?(d=a.activityRequestFailed(t))>=0&&e.attemptNumber<s.GlobalSettings.applets.maximumRetryAttempts?(p(o.LogLevel.Warning,"Activity request failed: ".concat(t.error.message,". Retrying in ").concat(d,"ms")),e.attemptNumber++,[4,new Promise((function(e,t){window.setTimeout((function(){e()}),d)}))]):[3,7]:[3,9];case 6:return i.sent(),[3,8];case 7:p(o.LogLevel.Error,"Activity request failed: ".concat(t.error.message,". Giving up after ").concat(e.attemptNumber," attempt(s)")),a.removeProgressOverlay(e),n=!0,i.label=8;case 8:return[3,10];case 9:if(t instanceof l.LoginRequestResponse){if(p(o.LogLevel.Info,"The activity request returned a LoginRequestResponse after "+e.attemptNumber+" attempt(s)."),e.attemptNumber<=s.GlobalSettings.applets.maximumRetryAttempts){if(h=!0,t.tokenExchangeResource&&a.onSSOTokenNeeded&&(h=!a.onSSOTokenNeeded(a,e,t.tokenExchangeResource)),h){if(a.removeProgressOverlay(e),void 0===t.signinButton)throw new Error("internalSendActivityRequestAsync: the login request doesn't contain a valid signin URL.");p(o.LogLevel.Info,"Login required at "+t.signinButton.value),a.onShowSigninPrompt?a.onShowSigninPrompt(a,e,t.signinButton):(a.showAuthCodeInputDialog(e),f=window.screenX+(window.outerWidth-s.GlobalSettings.applets.authPromptWidth)/2,m=window.screenY+(window.outerHeight-s.GlobalSettings.applets.authPromptHeight)/2,window.open(t.signinButton.value,t.signinButton.title?t.signinButton.title:"Sign in","width=".concat(s.GlobalSettings.applets.authPromptWidth,",height=").concat(s.GlobalSettings.applets.authPromptHeight,",left=").concat(f,",top=").concat(m)))}}else p(o.LogLevel.Error,"Authentication failed. Giving up after "+e.attemptNumber+" attempt(s)"),alert(c.Strings.magicCodeInputCard.authenticationFailed());return[2,"break"]}throw new Error("Unhandled response type: "+JSON.stringify(t));case 10:return[2]}}))},a=this,u.label=1;case 1:return n?[3,3]:[5,r()];case 2:return"break"===u.sent()?[3,3]:[3,1];case 3:return[2]}}))}))},e.prototype.internalSendDataQueryRequestAsync=function(e){return r(this,void 0,void 0,(function(){var t,n,r,a;return i(this,(function(i){switch(i.label){case 0:if(!this.channelAdapter)throw new Error("internalSendDataQueryRequestAsync: channel adapter not set");if(!this._choiceSet)return[3,5];this._choiceSet.showLoadingIndicator(),t=void 0,i.label=1;case 1:return i.trys.push([1,3,,4]),[4,this.channelAdapter.sendRequestAsync(e)];case 2:return t=i.sent(),[3,4];case 3:return n=i.sent(),p(o.LogLevel.Error,"Activity request failed: "+n),this._choiceSet.showErrorIndicator("Unable to load"),[3,4];case 4:if(this._choiceSet.removeLoadingIndicator(),t)if(t instanceof l.SuccessResponse){if(r=t.rawContent){a=r;try{a=JSON.parse(a)}catch(e){throw new Error("Cannot parse response object: "+r)}if("object"!=typeof a)throw new Error("internalSendDataQueryRequestAsync: Data.Query result is of unsupported type ("+typeof r+")");this._choiceSet.renderChoices(a),this.activityRequestSucceeded(t,a)}}else{if(!(t instanceof l.ErrorResponse))throw this._choiceSet.showErrorIndicator("Unable to load"),new Error("Unhandled response type: "+JSON.stringify(t));this._choiceSet.showErrorIndicator("Error loading results."),p(o.LogLevel.Error,"Activity request failed: ".concat(t.error.message,".")),this.activityRequestFailed(t)}i.label=5;case 5:return[2]}}))}))},e.prototype.refreshCard=function(){this._card&&this._card.refresh&&this.internalExecuteAction(this._card.refresh.action,l.ActivityRequestTrigger.Manual,0)},e.prototype.setCard=function(e){this.internalSetCard(e,0)},Object.defineProperty(e.prototype,"card",{get:function(){return this._card},enumerable:!1,configurable:!0}),e._submitMagicCodeActionId="submitMagicCode",e._cancelMagicCodeAuthActionId="cancelMagicCodeAuth",e}();t.AdaptiveApplet=f},6365:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChannelAdapter=void 0;t.ChannelAdapter=function(){}},6516:(e,t,n)=>{const{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:i,MAX_LENGTH:o}=n(504),a=n(6286),s=(t=e.exports={}).re=[],l=t.safeRe=[],c=t.src=[],u=t.safeSrc=[],d=t.t={};let p=0;const h="[a-zA-Z0-9-]",f=[["\\s",1],["\\d",o],[h,i]],m=(e,t,n)=>{const r=(e=>{for(const[t,n]of f)e=e.split(`${t}*`).join(`${t}{0,${n}}`).split(`${t}+`).join(`${t}{1,${n}}`);return e})(t),i=p++;a(e,i,t),d[e]=i,c[i]=t,u[i]=r,s[i]=new RegExp(t,n?"g":void 0),l[i]=new RegExp(r,n?"g":void 0)};m("NUMERICIDENTIFIER","0|[1-9]\\d*"),m("NUMERICIDENTIFIERLOOSE","\\d+"),m("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${h}*`),m("MAINVERSION",`(${c[d.NUMERICIDENTIFIER]})\\.(${c[d.NUMERICIDENTIFIER]})\\.(${c[d.NUMERICIDENTIFIER]})`),m("MAINVERSIONLOOSE",`(${c[d.NUMERICIDENTIFIERLOOSE]})\\.(${c[d.NUMERICIDENTIFIERLOOSE]})\\.(${c[d.NUMERICIDENTIFIERLOOSE]})`),m("PRERELEASEIDENTIFIER",`(?:${c[d.NUMERICIDENTIFIER]}|${c[d.NONNUMERICIDENTIFIER]})`),m("PRERELEASEIDENTIFIERLOOSE",`(?:${c[d.NUMERICIDENTIFIERLOOSE]}|${c[d.NONNUMERICIDENTIFIER]})`),m("PRERELEASE",`(?:-(${c[d.PRERELEASEIDENTIFIER]}(?:\\.${c[d.PRERELEASEIDENTIFIER]})*))`),m("PRERELEASELOOSE",`(?:-?(${c[d.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[d.PRERELEASEIDENTIFIERLOOSE]})*))`),m("BUILDIDENTIFIER",`${h}+`),m("BUILD",`(?:\\+(${c[d.BUILDIDENTIFIER]}(?:\\.${c[d.BUILDIDENTIFIER]})*))`),m("FULLPLAIN",`v?${c[d.MAINVERSION]}${c[d.PRERELEASE]}?${c[d.BUILD]}?`),m("FULL",`^${c[d.FULLPLAIN]}$`),m("LOOSEPLAIN",`[v=\\s]*${c[d.MAINVERSIONLOOSE]}${c[d.PRERELEASELOOSE]}?${c[d.BUILD]}?`),m("LOOSE",`^${c[d.LOOSEPLAIN]}$`),m("GTLT","((?:<|>)?=?)"),m("XRANGEIDENTIFIERLOOSE",`${c[d.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),m("XRANGEIDENTIFIER",`${c[d.NUMERICIDENTIFIER]}|x|X|\\*`),m("XRANGEPLAIN",`[v=\\s]*(${c[d.XRANGEIDENTIFIER]})(?:\\.(${c[d.XRANGEIDENTIFIER]})(?:\\.(${c[d.XRANGEIDENTIFIER]})(?:${c[d.PRERELEASE]})?${c[d.BUILD]}?)?)?`),m("XRANGEPLAINLOOSE",`[v=\\s]*(${c[d.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[d.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[d.XRANGEIDENTIFIERLOOSE]})(?:${c[d.PRERELEASELOOSE]})?${c[d.BUILD]}?)?)?`),m("XRANGE",`^${c[d.GTLT]}\\s*${c[d.XRANGEPLAIN]}$`),m("XRANGELOOSE",`^${c[d.GTLT]}\\s*${c[d.XRANGEPLAINLOOSE]}$`),m("COERCEPLAIN",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?`),m("COERCE",`${c[d.COERCEPLAIN]}(?:$|[^\\d])`),m("COERCEFULL",c[d.COERCEPLAIN]+`(?:${c[d.PRERELEASE]})?`+`(?:${c[d.BUILD]})?(?:$|[^\\d])`),m("COERCERTL",c[d.COERCE],!0),m("COERCERTLFULL",c[d.COERCEFULL],!0),m("LONETILDE","(?:~>?)"),m("TILDETRIM",`(\\s*)${c[d.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",m("TILDE",`^${c[d.LONETILDE]}${c[d.XRANGEPLAIN]}$`),m("TILDELOOSE",`^${c[d.LONETILDE]}${c[d.XRANGEPLAINLOOSE]}$`),m("LONECARET","(?:\\^)"),m("CARETTRIM",`(\\s*)${c[d.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",m("CARET",`^${c[d.LONECARET]}${c[d.XRANGEPLAIN]}$`),m("CARETLOOSE",`^${c[d.LONECARET]}${c[d.XRANGEPLAINLOOSE]}$`),m("COMPARATORLOOSE",`^${c[d.GTLT]}\\s*(${c[d.LOOSEPLAIN]})$|^$`),m("COMPARATOR",`^${c[d.GTLT]}\\s*(${c[d.FULLPLAIN]})$|^$`),m("COMPARATORTRIM",`(\\s*)${c[d.GTLT]}\\s*(${c[d.LOOSEPLAIN]}|${c[d.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",m("HYPHENRANGE",`^\\s*(${c[d.XRANGEPLAIN]})\\s+-\\s+(${c[d.XRANGEPLAIN]})\\s*$`),m("HYPHENRANGELOOSE",`^\\s*(${c[d.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[d.XRANGEPLAINLOOSE]})\\s*$`),m("STAR","(<|>)?=?\\s*\\*"),m("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),m("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},6633:e=>{const t=Object.freeze({loose:!0}),n=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:n},6652:(e,t,n)=>{const r=n(9433);e.exports=(e,t,n)=>{try{t=new r(t,n)}catch(e){return!1}return t.test(e)}},7042:e=>{e.exports="data:image/svg+xml,%3csvg width='160' height='160' viewBox='0 0 160 160' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cpath d='M130.45 70.9998L96.1196 105.53C95.183 106.476 94.8221 107.851 95.1727 109.135C95.5232 110.42 96.532 111.42 97.8196 111.76L144.91 124.21C146.197 124.548 147.567 124.176 148.505 123.231C149.443 122.287 149.807 120.915 149.46 119.63L136.7 72.6298C136.346 71.3456 135.334 70.3476 134.045 70.0114C132.756 69.6753 131.386 70.052 130.45 70.9998Z' fill='url(%23paint0_linear)'/%3e %3cpath d='M30.6596 31.7804L10.3496 76.0504C9.79449 77.2603 9.9262 78.6743 10.6952 79.7608C11.4642 80.8474 12.754 81.4417 14.0796 81.3204L62.5796 76.7704C63.9068 76.6476 65.0675 75.8259 65.6245 74.615C66.1814 73.4041 66.05 71.9881 65.2796 70.9004L37.0896 31.1704C36.3172 30.0853 35.0247 29.4944 33.6986 29.6202C32.3726 29.746 31.2142 30.5694 30.6596 31.7804Z' fill='url(%23paint1_linear)'/%3e %3cpath d='M69.511 38.0003L10.591 125.32C8.98078 127.709 8.76634 130.776 10.0283 133.365C11.2903 135.955 13.8372 137.676 16.711 137.88L121.781 145.25C124.654 145.447 127.414 144.099 129.024 141.712C130.634 139.324 130.85 136.26 129.591 133.67L83.441 39.0003C82.1844 36.4072 79.639 34.6822 76.7649 34.4758C73.8907 34.2695 71.1251 35.6132 69.511 38.0003Z' fill='%230086F0'/%3e %3cpath fill-rule='evenodd' clip-rule='evenodd' d='M78.665 64.3512C78.8195 62.1474 77.1582 60.2357 74.9545 60.0812C72.7508 59.9268 70.8391 61.588 70.6846 63.7917L67.8174 104.691C67.6629 106.895 69.3242 108.807 71.5279 108.961C73.7316 109.116 75.6434 107.455 75.7978 105.251L78.665 64.3512ZM75.3594 118.5C75.3594 116.015 73.3447 114 70.8594 114C68.3741 114 66.3594 116.015 66.3594 118.5C66.3594 120.985 68.3741 123 70.8594 123C73.3447 123 75.3594 120.985 75.3594 118.5Z' fill='black'/%3e %3cpath d='M28.1699 73.3203C30.6552 73.3203 32.6699 71.3056 32.6699 68.8203C32.6699 66.335 30.6552 64.3203 28.1699 64.3203C25.6846 64.3203 23.6699 66.335 23.6699 68.8203C23.6699 71.3056 25.6846 73.3203 28.1699 73.3203Z' fill='%2328C2D1'/%3e %3cpath fill-rule='evenodd' clip-rule='evenodd' d='M146.274 58.5565L146.252 58.5499C144.138 57.9111 141.905 59.1075 141.267 61.2223L132.56 90.0441C131.921 92.1588 133.118 94.3911 135.232 95.0299L135.453 95.091C137.507 95.5996 139.621 94.4127 140.24 92.3641L148.947 63.5423C149.585 61.4275 148.389 59.1953 146.274 58.5565ZM136.811 103.68C136.811 101.194 134.796 99.1798 132.311 99.1798C129.825 99.1798 127.811 101.194 127.811 103.68C127.811 106.165 129.825 108.18 132.311 108.18C134.796 108.18 136.811 106.165 136.811 103.68Z' fill='%23B3AFAB'/%3e %3cpath fill-rule='evenodd' clip-rule='evenodd' d='M28.3278 54.6914L20.1544 25.8263C19.5525 23.7007 17.3415 22.4655 15.2159 23.0674C13.0904 23.6693 11.8552 25.8803 12.457 28.0059L20.6305 56.871C21.2324 58.9965 23.4434 60.2317 25.569 59.6299C27.6945 59.028 28.9297 56.817 28.3278 54.6914ZM32.67 68.8204C32.67 66.3351 30.6553 64.3204 28.17 64.3204C25.6847 64.3204 23.67 66.3351 23.67 68.8204C23.67 71.3057 25.6847 73.3204 28.17 73.3204C30.6553 73.3204 32.67 71.3057 32.67 68.8204Z' fill='%23B3AFAB'/%3e %3cpath fill-rule='evenodd' clip-rule='evenodd' d='M78.0705 17.8367C77.802 16.5992 76.6235 15.7592 75.3503 15.9303C74.7088 16.0171 74.1285 16.3562 73.738 16.8725C73.3476 17.3887 73.1792 18.0395 73.2703 18.6803L74.1603 25.1003L74.1881 25.2585C74.4501 26.5075 75.6381 27.3571 76.9203 27.1803C77.5625 27.0911 78.1429 26.7499 78.5331 26.232C78.9234 25.7142 79.0915 25.0623 79.0003 24.4203L78.1003 18.0003L78.0705 17.8367ZM86.3703 27.2803L89.4803 22.0703C90.1402 20.9628 91.5399 20.5675 92.674 21.1401L92.8203 21.2203L93.0903 21.4003C93.9942 22.13 94.2585 23.3853 93.7474 24.4105L93.6603 24.5703L90.5403 29.7903C89.8483 30.9423 88.355 31.3179 87.2003 30.6303C87.0913 30.5648 86.9878 30.4908 86.8908 30.4089L86.7503 30.2803L86.6209 30.1449C85.9634 29.4012 85.8274 28.3279 86.2788 27.4437L86.3703 27.2803ZM97.0003 35.1303L102.16 32.5303C102.739 32.2308 103.414 32.1803 104.03 32.3903C104.297 32.4778 104.547 32.6097 104.77 32.7803C105.054 33.0022 105.283 33.2861 105.44 33.6103C106.017 34.7617 105.598 36.1523 104.506 36.8001L104.36 36.8803L99.2003 39.4803C98.6239 39.7799 97.9507 39.833 97.3345 39.6276C96.7799 39.4427 96.3141 39.0626 96.0213 38.5617L95.9303 38.3903H95.9203C95.3443 37.2417 95.7642 35.8541 96.8543 35.21L97.0003 35.1303Z' fill='%2333312D'/%3e %3cdefs%3e %3clinearGradient id='paint0_linear' x1='96.9876' y1='125.262' x2='134.066' y2='117.517' gradientUnits='userSpaceOnUse'%3e %3cstop stop-color='%23605D5A'/%3e %3cstop offset='1' stop-color='%23797673'/%3e %3c/linearGradient%3e %3clinearGradient id='paint1_linear' x1='70.8909' y1='65.4114' x2='44.482' y2='46.915' gradientUnits='userSpaceOnUse'%3e %3cstop stop-color='%23605D5A'/%3e %3cstop offset='0.999947' stop-color='%23797673'/%3e %3c/linearGradient%3e %3c/defs%3e %3c/svg%3e"},7045:(e,t,n)=>{"use strict";var r=n(7810),i=n(5946),o=n(2328);
/** @license React v17.0.2
 * react-dom.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(a(227));var s=new Set,l={};function c(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(l[e]=t,e=0;e<t.length;e++)s.add(t[e])}var d=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),p=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,h=Object.prototype.hasOwnProperty,f={},m={};function g(e,t,n,r,i,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var v={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){v[e]=new g(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];v[t]=new g(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){v[e]=new g(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){v[e]=new g(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){v[e]=new g(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){v[e]=new g(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){v[e]=new g(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){v[e]=new g(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){v[e]=new g(e,5,!1,e.toLowerCase(),null,!1,!1)}));var y=/[\-:]([a-z])/g;function b(e){return e[1].toUpperCase()}function C(e,t,n,r){var i=v.hasOwnProperty(t)?v[t]:null;(null!==i?0===i.type:!r&&2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1]))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!h.call(m,e)||!h.call(f,e)&&(p.test(e)?m[e]=!0:(f[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(y,b);v[t]=new g(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(y,b);v[t]=new g(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(y,b);v[t]=new g(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){v[e]=new g(e,1,!1,e.toLowerCase(),null,!1,!1)})),v.xlinkHref=new g("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){v[e]=new g(e,1,!1,e.toLowerCase(),null,!0,!0)}));var A=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,S=60103,E=60106,w=60107,x=60108,I=60114,k=60109,T=60110,_=60112,P=60113,D=60120,B=60115,R=60116,M=60121,L=60128,O=60129,F=60130,N=60131;if("function"==typeof Symbol&&Symbol.for){var H=Symbol.for;S=H("react.element"),E=H("react.portal"),w=H("react.fragment"),x=H("react.strict_mode"),I=H("react.profiler"),k=H("react.provider"),T=H("react.context"),_=H("react.forward_ref"),P=H("react.suspense"),D=H("react.suspense_list"),B=H("react.memo"),R=H("react.lazy"),M=H("react.block"),H("react.scope"),L=H("react.opaque.id"),O=H("react.debug_trace_mode"),F=H("react.offscreen"),N=H("react.legacy_hidden")}var z,V="function"==typeof Symbol&&Symbol.iterator;function U(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=V&&e[V]||e["@@iterator"])?e:null}function j(e){if(void 0===z)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);z=t&&t[1]||""}return"\n"+z+e}var W=!1;function $(e,t){if(!e||W)return"";W=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(e){if(e&&r&&"string"==typeof e.stack){for(var i=e.stack.split("\n"),o=r.stack.split("\n"),a=i.length-1,s=o.length-1;1<=a&&0<=s&&i[a]!==o[s];)s--;for(;1<=a&&0<=s;a--,s--)if(i[a]!==o[s]){if(1!==a||1!==s)do{if(a--,0>--s||i[a]!==o[s])return"\n"+i[a].replace(" at new "," at ")}while(1<=a&&0<=s);break}}}finally{W=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?j(e):""}function q(e){switch(e.tag){case 5:return j(e.type);case 16:return j("Lazy");case 13:return j("Suspense");case 19:return j("SuspenseList");case 0:case 2:case 15:return $(e.type,!1);case 11:return $(e.type.render,!1);case 22:return $(e.type._render,!1);case 1:return $(e.type,!0);default:return""}}function G(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case w:return"Fragment";case E:return"Portal";case I:return"Profiler";case x:return"StrictMode";case P:return"Suspense";case D:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case T:return(e.displayName||"Context")+".Consumer";case k:return(e._context.displayName||"Context")+".Provider";case _:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case B:return G(e.type);case M:return G(e._render);case R:t=e._payload,e=e._init;try{return G(e(t))}catch(e){}}return null}function K(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Y(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function X(e){e._valueTracker||(e._valueTracker=function(e){var t=Y(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Z(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Y(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function J(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Q(e,t){var n=t.checked;return i({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ee(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=K(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function te(e,t){null!=(t=t.checked)&&C(e,"checked",t,!1)}function ne(e,t){te(e,t);var n=K(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ie(e,t.type,n):t.hasOwnProperty("defaultValue")&&ie(e,t.type,K(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function re(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ie(e,t,n){"number"===t&&J(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function oe(e,t){return e=i({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function ae(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+K(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function se(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return i({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function le(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:K(n)}}function ce(e,t){var n=K(t.value),r=K(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ue(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var de="http://www.w3.org/1999/xhtml";function pe(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function he(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?pe(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var fe,me,ge=(me=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((fe=fe||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=fe.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return me(e,t)}))}:me);function ve(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var ye={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},be=["Webkit","ms","Moz","O"];function Ce(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ye.hasOwnProperty(e)&&ye[e]?(""+t).trim():t+"px"}function Ae(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=Ce(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(ye).forEach((function(e){be.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ye[t]=ye[e]}))}));var Se=i({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ee(e,t){if(t){if(Se[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62))}}function we(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function xe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Ie=null,ke=null,Te=null;function _e(e){if(e=ti(e)){if("function"!=typeof Ie)throw Error(a(280));var t=e.stateNode;t&&(t=ri(t),Ie(e.stateNode,e.type,t))}}function Pe(e){ke?Te?Te.push(e):Te=[e]:ke=e}function De(){if(ke){var e=ke,t=Te;if(Te=ke=null,_e(e),t)for(e=0;e<t.length;e++)_e(t[e])}}function Be(e,t){return e(t)}function Re(e,t,n,r,i){return e(t,n,r,i)}function Me(){}var Le=Be,Oe=!1,Fe=!1;function Ne(){null===ke&&null===Te||(Me(),De())}function He(e,t){var n=e.stateNode;if(null===n)return null;var r=ri(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(a(231,t,typeof n));return n}var ze=!1;if(d)try{var Ve={};Object.defineProperty(Ve,"passive",{get:function(){ze=!0}}),window.addEventListener("test",Ve,Ve),window.removeEventListener("test",Ve,Ve)}catch(me){ze=!1}function Ue(e,t,n,r,i,o,a,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var je=!1,We=null,$e=!1,qe=null,Ge={onError:function(e){je=!0,We=e}};function Ke(e,t,n,r,i,o,a,s,l){je=!1,We=null,Ue.apply(Ge,arguments)}function Ye(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Xe(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function Ze(e){if(Ye(e)!==e)throw Error(a(188))}function Je(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var Qe,et,tt,nt,rt=!1,it=[],ot=null,at=null,st=null,lt=new Map,ct=new Map,ut=[],dt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function pt(e,t,n,r,i){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:i,targetContainers:[r]}}function ht(e,t){switch(e){case"focusin":case"focusout":ot=null;break;case"dragenter":case"dragleave":at=null;break;case"mouseover":case"mouseout":st=null;break;case"pointerover":case"pointerout":lt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ct.delete(t.pointerId)}}function ft(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e=pt(t,n,r,i,o),null!==t&&null!==(t=ti(t))&&et(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function mt(e){var t=ei(e.target);if(null!==t){var n=Ye(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Xe(n)))return e.blockedOn=t,void nt(e.lanePriority,(function(){o.unstable_runWithPriority(e.priority,(function(){tt(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function gt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Zt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=ti(n))&&et(t),e.blockedOn=n,!1;t.shift()}return!0}function vt(e,t,n){gt(e)&&n.delete(t)}function yt(){for(rt=!1;0<it.length;){var e=it[0];if(null!==e.blockedOn){null!==(e=ti(e.blockedOn))&&Qe(e);break}for(var t=e.targetContainers;0<t.length;){var n=Zt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&it.shift()}null!==ot&&gt(ot)&&(ot=null),null!==at&&gt(at)&&(at=null),null!==st&&gt(st)&&(st=null),lt.forEach(vt),ct.forEach(vt)}function bt(e,t){e.blockedOn===t&&(e.blockedOn=null,rt||(rt=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,yt)))}function Ct(e){function t(t){return bt(t,e)}if(0<it.length){bt(it[0],e);for(var n=1;n<it.length;n++){var r=it[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==ot&&bt(ot,e),null!==at&&bt(at,e),null!==st&&bt(st,e),lt.forEach(t),ct.forEach(t),n=0;n<ut.length;n++)(r=ut[n]).blockedOn===e&&(r.blockedOn=null);for(;0<ut.length&&null===(n=ut[0]).blockedOn;)mt(n),null===n.blockedOn&&ut.shift()}function At(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var St={animationend:At("Animation","AnimationEnd"),animationiteration:At("Animation","AnimationIteration"),animationstart:At("Animation","AnimationStart"),transitionend:At("Transition","TransitionEnd")},Et={},wt={};function xt(e){if(Et[e])return Et[e];if(!St[e])return e;var t,n=St[e];for(t in n)if(n.hasOwnProperty(t)&&t in wt)return Et[e]=n[t];return e}d&&(wt=document.createElement("div").style,"AnimationEvent"in window||(delete St.animationend.animation,delete St.animationiteration.animation,delete St.animationstart.animation),"TransitionEvent"in window||delete St.transitionend.transition);var It=xt("animationend"),kt=xt("animationiteration"),Tt=xt("animationstart"),_t=xt("transitionend"),Pt=new Map,Dt=new Map,Bt=["abort","abort",It,"animationEnd",kt,"animationIteration",Tt,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",_t,"transitionEnd","waiting","waiting"];function Rt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],i=e[n+1];i="on"+(i[0].toUpperCase()+i.slice(1)),Dt.set(r,t),Pt.set(r,i),c(i,[r])}}(0,o.unstable_now)();var Mt=8;function Lt(e){if(1&e)return Mt=15,1;if(2&e)return Mt=14,2;if(4&e)return Mt=13,4;var t=24&e;return 0!==t?(Mt=12,t):32&e?(Mt=11,32):0!=(t=192&e)?(Mt=10,t):256&e?(Mt=9,256):0!=(t=3584&e)?(Mt=8,t):4096&e?(Mt=7,4096):0!=(t=4186112&e)?(Mt=6,t):0!=(t=62914560&e)?(Mt=5,t):67108864&e?(Mt=4,67108864):134217728&e?(Mt=3,134217728):0!=(t=805306368&e)?(Mt=2,t):1073741824&e?(Mt=1,1073741824):(Mt=8,e)}function Ot(e,t){var n=e.pendingLanes;if(0===n)return Mt=0;var r=0,i=0,o=e.expiredLanes,a=e.suspendedLanes,s=e.pingedLanes;if(0!==o)r=o,i=Mt=15;else if(0!=(o=134217727&n)){var l=o&~a;0!==l?(r=Lt(l),i=Mt):0!=(s&=o)&&(r=Lt(s),i=Mt)}else 0!=(o=n&~a)?(r=Lt(o),i=Mt):0!==s&&(r=Lt(s),i=Mt);if(0===r)return 0;if(r=n&((0>(r=31-Ut(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&!(t&a)){if(Lt(t),i<=Mt)return t;Mt=i}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)i=1<<(n=31-Ut(t)),r|=e[n],t&=~i;return r}function Ft(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Nt(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=Ht(24&~t))?Nt(10,t):e;case 10:return 0===(e=Ht(192&~t))?Nt(8,t):e;case 8:return 0===(e=Ht(3584&~t))&&0===(e=Ht(4186112&~t))&&(e=512),e;case 2:return 0===(t=Ht(805306368&~t))&&(t=268435456),t}throw Error(a(358,e))}function Ht(e){return e&-e}function zt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Vt(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-Ut(t)]=n}var Ut=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(jt(e)/Wt|0)|0},jt=Math.log,Wt=Math.LN2,$t=o.unstable_UserBlockingPriority,qt=o.unstable_runWithPriority,Gt=!0;function Kt(e,t,n,r){Oe||Me();var i=Xt,o=Oe;Oe=!0;try{Re(i,e,t,n,r)}finally{(Oe=o)||Ne()}}function Yt(e,t,n,r){qt($t,Xt.bind(null,e,t,n,r))}function Xt(e,t,n,r){var i;if(Gt)if((i=!(4&t))&&0<it.length&&-1<dt.indexOf(e))e=pt(null,e,t,n,r),it.push(e);else{var o=Zt(e,t,n,r);if(null===o)i&&ht(e,r);else{if(i){if(-1<dt.indexOf(e))return e=pt(o,e,t,n,r),void it.push(e);if(function(e,t,n,r,i){switch(t){case"focusin":return ot=ft(ot,e,t,n,r,i),!0;case"dragenter":return at=ft(at,e,t,n,r,i),!0;case"mouseover":return st=ft(st,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return lt.set(o,ft(lt.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,ct.set(o,ft(ct.get(o)||null,e,t,n,r,i)),!0}return!1}(o,e,t,n,r))return;ht(e,r)}Rr(e,t,r,null,n)}}}function Zt(e,t,n,r){var i=xe(r);if(null!==(i=ei(i))){var o=Ye(i);if(null===o)i=null;else{var a=o.tag;if(13===a){if(null!==(i=Xe(o)))return i;i=null}else if(3===a){if(o.stateNode.hydrate)return 3===o.tag?o.stateNode.containerInfo:null;i=null}else o!==i&&(i=null)}}return Rr(e,t,r,i,n),null}var Jt=null,Qt=null,en=null;function tn(){if(en)return en;var e,t,n=Qt,r=n.length,i="value"in Jt?Jt.value:Jt.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);return en=i.slice(e,1<t?1-t:void 0)}function nn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function rn(){return!0}function on(){return!1}function an(e){function t(t,n,r,i,o){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(i):i[a]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?rn:on,this.isPropagationStopped=on,this}return i(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=rn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=rn)},persist:function(){},isPersistent:rn}),t}var sn,ln,cn,un={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},dn=an(un),pn=i({},un,{view:0,detail:0}),hn=an(pn),fn=i({},pn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:In,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==cn&&(cn&&"mousemove"===e.type?(sn=e.screenX-cn.screenX,ln=e.screenY-cn.screenY):ln=sn=0,cn=e),sn)},movementY:function(e){return"movementY"in e?e.movementY:ln}}),mn=an(fn),gn=an(i({},fn,{dataTransfer:0})),vn=an(i({},pn,{relatedTarget:0})),yn=an(i({},un,{animationName:0,elapsedTime:0,pseudoElement:0})),bn=i({},un,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Cn=an(bn),An=an(i({},un,{data:0})),Sn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},En={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},wn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function xn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=wn[e])&&!!t[e]}function In(){return xn}var kn=i({},pn,{key:function(e){if(e.key){var t=Sn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=nn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?En[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:In,charCode:function(e){return"keypress"===e.type?nn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?nn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Tn=an(kn),_n=an(i({},fn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Pn=an(i({},pn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:In})),Dn=an(i({},un,{propertyName:0,elapsedTime:0,pseudoElement:0})),Bn=i({},fn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Rn=an(Bn),Mn=[9,13,27,32],Ln=d&&"CompositionEvent"in window,On=null;d&&"documentMode"in document&&(On=document.documentMode);var Fn=d&&"TextEvent"in window&&!On,Nn=d&&(!Ln||On&&8<On&&11>=On),Hn=String.fromCharCode(32),zn=!1;function Vn(e,t){switch(e){case"keyup":return-1!==Mn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Un(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var jn=!1,Wn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function $n(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Wn[e.type]:"textarea"===t}function qn(e,t,n,r){Pe(r),0<(t=Lr(t,"onChange")).length&&(n=new dn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Gn=null,Kn=null;function Yn(e){kr(e,0)}function Xn(e){if(Z(ni(e)))return e}function Zn(e,t){if("change"===e)return t}var Jn=!1;if(d){var Qn;if(d){var er="oninput"in document;if(!er){var tr=document.createElement("div");tr.setAttribute("oninput","return;"),er="function"==typeof tr.oninput}Qn=er}else Qn=!1;Jn=Qn&&(!document.documentMode||9<document.documentMode)}function nr(){Gn&&(Gn.detachEvent("onpropertychange",rr),Kn=Gn=null)}function rr(e){if("value"===e.propertyName&&Xn(Kn)){var t=[];if(qn(t,Kn,e,xe(e)),e=Yn,Oe)e(t);else{Oe=!0;try{Be(e,t)}finally{Oe=!1,Ne()}}}}function ir(e,t,n){"focusin"===e?(nr(),Kn=n,(Gn=t).attachEvent("onpropertychange",rr)):"focusout"===e&&nr()}function or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Xn(Kn)}function ar(e,t){if("click"===e)return Xn(t)}function sr(e,t){if("input"===e||"change"===e)return Xn(t)}var lr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},cr=Object.prototype.hasOwnProperty;function ur(e,t){if(lr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!cr.call(t,n[r])||!lr(e[n[r]],t[n[r]]))return!1;return!0}function dr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function pr(e,t){var n,r=dr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=dr(r)}}function hr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?hr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fr(){for(var e=window,t=J();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=J((e=t.contentWindow).document)}return t}function mr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var gr=d&&"documentMode"in document&&11>=document.documentMode,vr=null,yr=null,br=null,Cr=!1;function Ar(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Cr||null==vr||vr!==J(r)||(r="selectionStart"in(r=vr)&&mr(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},br&&ur(br,r)||(br=r,0<(r=Lr(yr,"onSelect")).length&&(t=new dn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=vr)))}Rt("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Rt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Rt(Bt,2);for(var Sr="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Er=0;Er<Sr.length;Er++)Dt.set(Sr[Er],0);u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var wr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),xr=new Set("cancel close invalid load scroll toggle".split(" ").concat(wr));function Ir(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,i,o,s,l,c){if(Ke.apply(this,arguments),je){if(!je)throw Error(a(198));var u=We;je=!1,We=null,$e||($e=!0,qe=u)}}(r,t,void 0,e),e.currentTarget=null}function kr(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==o&&i.isPropagationStopped())break e;Ir(i,s,c),o=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,c=s.currentTarget,s=s.listener,l!==o&&i.isPropagationStopped())break e;Ir(i,s,c),o=l}}}if($e)throw e=qe,$e=!1,qe=null,e}function Tr(e,t){var n=ii(t),r=e+"__bubble";n.has(r)||(Br(t,e,2,!1),n.add(r))}var _r="_reactListening"+Math.random().toString(36).slice(2);function Pr(e){e[_r]||(e[_r]=!0,s.forEach((function(t){xr.has(t)||Dr(t,!1,e,null),Dr(t,!0,e,null)})))}function Dr(e,t,n,r){var i=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,o=n;if("selectionchange"===e&&9!==n.nodeType&&(o=n.ownerDocument),null!==r&&!t&&xr.has(e)){if("scroll"!==e)return;i|=2,o=r}var a=ii(o),s=e+"__"+(t?"capture":"bubble");a.has(s)||(t&&(i|=4),Br(o,e,i,t),a.add(s))}function Br(e,t,n,r){var i=Dt.get(t);switch(void 0===i?2:i){case 0:i=Kt;break;case 1:i=Yt;break;default:i=Xt}n=i.bind(null,t,n,e),i=void 0,!ze||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),r?void 0!==i?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):void 0!==i?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Rr(e,t,n,r,i){var o=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===i||8===s.nodeType&&s.parentNode===i)break;if(4===a)for(a=r.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===i||8===l.nodeType&&l.parentNode===i))return;a=a.return}for(;null!==s;){if(null===(a=ei(s)))return;if(5===(l=a.tag)||6===l){r=o=a;continue e}s=s.parentNode}}r=r.return}!function(e,t,n){if(Fe)return e();Fe=!0;try{return Le(e,t,n)}finally{Fe=!1,Ne()}}((function(){var r=o,i=xe(n),a=[];e:{var s=Pt.get(e);if(void 0!==s){var l=dn,c=e;switch(e){case"keypress":if(0===nn(n))break e;case"keydown":case"keyup":l=Tn;break;case"focusin":c="focus",l=vn;break;case"focusout":c="blur",l=vn;break;case"beforeblur":case"afterblur":l=vn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=mn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=gn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Pn;break;case It:case kt:case Tt:l=yn;break;case _t:l=Dn;break;case"scroll":l=hn;break;case"wheel":l=Rn;break;case"copy":case"cut":case"paste":l=Cn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=_n}var u=!!(4&t),d=!u&&"scroll"===e,p=u?null!==s?s+"Capture":null:s;u=[];for(var h,f=r;null!==f;){var m=(h=f).stateNode;if(5===h.tag&&null!==m&&(h=m,null!==p&&null!=(m=He(f,p))&&u.push(Mr(f,m,h))),d)break;f=f.return}0<u.length&&(s=new l(s,c,null,n,i),a.push({event:s,listeners:u}))}}if(!(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||16&t||!(c=n.relatedTarget||n.fromElement)||!ei(c)&&!c[Jr])&&(l||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(c=(c=n.relatedTarget||n.toElement)?ei(c):null)&&(c!==(d=Ye(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=r),l!==c)){if(u=mn,m="onMouseLeave",p="onMouseEnter",f="mouse","pointerout"!==e&&"pointerover"!==e||(u=_n,m="onPointerLeave",p="onPointerEnter",f="pointer"),d=null==l?s:ni(l),h=null==c?s:ni(c),(s=new u(m,f+"leave",l,n,i)).target=d,s.relatedTarget=h,m=null,ei(i)===r&&((u=new u(p,f+"enter",c,n,i)).target=h,u.relatedTarget=d,m=u),d=m,l&&c)e:{for(p=c,f=0,h=u=l;h;h=Or(h))f++;for(h=0,m=p;m;m=Or(m))h++;for(;0<f-h;)u=Or(u),f--;for(;0<h-f;)p=Or(p),h--;for(;f--;){if(u===p||null!==p&&u===p.alternate)break e;u=Or(u),p=Or(p)}u=null}else u=null;null!==l&&Fr(a,s,l,u,!1),null!==c&&null!==d&&Fr(a,d,c,u,!0)}if("select"===(l=(s=r?ni(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var g=Zn;else if($n(s))if(Jn)g=sr;else{g=or;var v=ir}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(g=ar);switch(g&&(g=g(e,r))?qn(a,g,n,i):(v&&v(e,s,r),"focusout"===e&&(v=s._wrapperState)&&v.controlled&&"number"===s.type&&ie(s,"number",s.value)),v=r?ni(r):window,e){case"focusin":($n(v)||"true"===v.contentEditable)&&(vr=v,yr=r,br=null);break;case"focusout":br=yr=vr=null;break;case"mousedown":Cr=!0;break;case"contextmenu":case"mouseup":case"dragend":Cr=!1,Ar(a,n,i);break;case"selectionchange":if(gr)break;case"keydown":case"keyup":Ar(a,n,i)}var y;if(Ln)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else jn?Vn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Nn&&"ko"!==n.locale&&(jn||"onCompositionStart"!==b?"onCompositionEnd"===b&&jn&&(y=tn()):(Qt="value"in(Jt=i)?Jt.value:Jt.textContent,jn=!0)),0<(v=Lr(r,b)).length&&(b=new An(b,e,null,n,i),a.push({event:b,listeners:v}),(y||null!==(y=Un(n)))&&(b.data=y))),(y=Fn?function(e,t){switch(e){case"compositionend":return Un(t);case"keypress":return 32!==t.which?null:(zn=!0,Hn);case"textInput":return(e=t.data)===Hn&&zn?null:e;default:return null}}(e,n):function(e,t){if(jn)return"compositionend"===e||!Ln&&Vn(e,t)?(e=tn(),en=Qt=Jt=null,jn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Nn&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(r=Lr(r,"onBeforeInput")).length&&(i=new An("onBeforeInput","beforeinput",null,n,i),a.push({event:i,listeners:r}),i.data=y)}kr(a,t)}))}function Mr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Lr(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,o=i.stateNode;5===i.tag&&null!==o&&(i=o,null!=(o=He(e,n))&&r.unshift(Mr(e,o,i)),null!=(o=He(e,t))&&r.push(Mr(e,o,i))),e=e.return}return r}function Or(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Fr(e,t,n,r,i){for(var o=t._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==c&&(s=c,i?null!=(l=He(n,o))&&a.unshift(Mr(n,l,s)):i||null!=(l=He(n,o))&&a.push(Mr(n,l,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}function Nr(){}var Hr=null,zr=null;function Vr(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Ur(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var jr="function"==typeof setTimeout?setTimeout:void 0,Wr="function"==typeof clearTimeout?clearTimeout:void 0;function $r(e){(1===e.nodeType||9===e.nodeType&&null!=(e=e.body))&&(e.textContent="")}function qr(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Gr(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var Kr=0,Yr=Math.random().toString(36).slice(2),Xr="__reactFiber$"+Yr,Zr="__reactProps$"+Yr,Jr="__reactContainer$"+Yr,Qr="__reactEvents$"+Yr;function ei(e){var t=e[Xr];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Jr]||n[Xr]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Gr(e);null!==e;){if(n=e[Xr])return n;e=Gr(e)}return t}n=(e=n).parentNode}return null}function ti(e){return!(e=e[Xr]||e[Jr])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function ni(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function ri(e){return e[Zr]||null}function ii(e){var t=e[Qr];return void 0===t&&(t=e[Qr]=new Set),t}var oi=[],ai=-1;function si(e){return{current:e}}function li(e){0>ai||(e.current=oi[ai],oi[ai]=null,ai--)}function ci(e,t){ai++,oi[ai]=e.current,e.current=t}var ui={},di=si(ui),pi=si(!1),hi=ui;function fi(e,t){var n=e.type.contextTypes;if(!n)return ui;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function mi(e){return null!=e.childContextTypes}function gi(){li(pi),li(di)}function vi(e,t,n){if(di.current!==ui)throw Error(a(168));ci(di,t),ci(pi,n)}function yi(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw Error(a(108,G(t)||"Unknown",o));return i({},n,r)}function bi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ui,hi=di.current,ci(di,e),ci(pi,pi.current),!0}function Ci(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=yi(e,t,hi),r.__reactInternalMemoizedMergedChildContext=e,li(pi),li(di),ci(di,e)):li(pi),ci(pi,n)}var Ai=null,Si=null,Ei=o.unstable_runWithPriority,wi=o.unstable_scheduleCallback,xi=o.unstable_cancelCallback,Ii=o.unstable_shouldYield,ki=o.unstable_requestPaint,Ti=o.unstable_now,_i=o.unstable_getCurrentPriorityLevel,Pi=o.unstable_ImmediatePriority,Di=o.unstable_UserBlockingPriority,Bi=o.unstable_NormalPriority,Ri=o.unstable_LowPriority,Mi=o.unstable_IdlePriority,Li={},Oi=void 0!==ki?ki:function(){},Fi=null,Ni=null,Hi=!1,zi=Ti(),Vi=1e4>zi?Ti:function(){return Ti()-zi};function Ui(){switch(_i()){case Pi:return 99;case Di:return 98;case Bi:return 97;case Ri:return 96;case Mi:return 95;default:throw Error(a(332))}}function ji(e){switch(e){case 99:return Pi;case 98:return Di;case 97:return Bi;case 96:return Ri;case 95:return Mi;default:throw Error(a(332))}}function Wi(e,t){return e=ji(e),Ei(e,t)}function $i(e,t,n){return e=ji(e),wi(e,t,n)}function qi(){if(null!==Ni){var e=Ni;Ni=null,xi(e)}Gi()}function Gi(){if(!Hi&&null!==Fi){Hi=!0;var e=0;try{var t=Fi;Wi(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Fi=null}catch(t){throw null!==Fi&&(Fi=Fi.slice(e+1)),wi(Pi,qi),t}finally{Hi=!1}}}var Ki=A.ReactCurrentBatchConfig;function Yi(e,t){if(e&&e.defaultProps){for(var n in t=i({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var Xi=si(null),Zi=null,Ji=null,Qi=null;function eo(){Qi=Ji=Zi=null}function to(e){var t=Xi.current;li(Xi),e.type._context._currentValue=t}function no(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function ro(e,t){Zi=e,Qi=Ji=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(!!(e.lanes&t)&&(La=!0),e.firstContext=null)}function io(e,t){if(Qi!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(Qi=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Ji){if(null===Zi)throw Error(a(308));Ji=t,Zi.dependencies={lanes:0,firstContext:t,responders:null}}else Ji=Ji.next=t;return e._currentValue}var oo=!1;function ao(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function so(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function lo(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function co(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function uo(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?i=o=a:o=o.next=a,n=n.next}while(null!==n);null===o?i=o=t:o=o.next=t}else i=o=t;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function po(e,t,n,r){var o=e.updateQueue;oo=!1;var a=o.firstBaseUpdate,s=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var c=l,u=c.next;c.next=null,null===s?a=u:s.next=u,s=c;var d=e.alternate;if(null!==d){var p=(d=d.updateQueue).lastBaseUpdate;p!==s&&(null===p?d.firstBaseUpdate=u:p.next=u,d.lastBaseUpdate=c)}}if(null!==a){for(p=o.baseState,s=0,d=u=c=null;;){l=a.lane;var h=a.eventTime;if((r&l)===l){null!==d&&(d=d.next={eventTime:h,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var f=e,m=a;switch(l=t,h=n,m.tag){case 1:if("function"==typeof(f=m.payload)){p=f.call(h,p,l);break e}p=f;break e;case 3:f.flags=-4097&f.flags|64;case 0:if(null==(l="function"==typeof(f=m.payload)?f.call(h,p,l):f))break e;p=i({},p,l);break e;case 2:oo=!0}}null!==a.callback&&(e.flags|=32,null===(l=o.effects)?o.effects=[a]:l.push(a))}else h={eventTime:h,lane:l,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===d?(u=d=h,c=p):d=d.next=h,s|=l;if(null===(a=a.next)){if(null===(l=o.shared.pending))break;a=l.next,l.next=null,o.lastBaseUpdate=l,o.shared.pending=null}}null===d&&(c=p),o.baseState=c,o.firstBaseUpdate=u,o.lastBaseUpdate=d,Ns|=s,e.lanes=s,e.memoizedState=p}}function ho(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=n,"function"!=typeof i)throw Error(a(191,i));i.call(r)}}}var fo=(new r.Component).refs;function mo(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:i({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var go={isMounted:function(e){return!!(e=e._reactInternals)&&Ye(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=cl(),i=ul(e),o=lo(r,i);o.payload=t,null!=n&&(o.callback=n),co(e,o),dl(e,i,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=cl(),i=ul(e),o=lo(r,i);o.tag=1,o.payload=t,null!=n&&(o.callback=n),co(e,o),dl(e,i,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=cl(),r=ul(e),i=lo(n,r);i.tag=2,null!=t&&(i.callback=t),co(e,i),dl(e,r,n)}};function vo(e,t,n,r,i,o,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!(t.prototype&&t.prototype.isPureReactComponent&&ur(n,r)&&ur(i,o))}function yo(e,t,n){var r=!1,i=ui,o=t.contextType;return"object"==typeof o&&null!==o?o=io(o):(i=mi(t)?hi:di.current,o=(r=null!=(r=t.contextTypes))?fi(e,i):ui),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=go,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function bo(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&go.enqueueReplaceState(t,t.state,null)}function Co(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=fo,ao(e);var o=t.contextType;"object"==typeof o&&null!==o?i.context=io(o):(o=mi(t)?hi:di.current,i.context=fi(e,o)),po(e,n,i,r),i.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(mo(e,t,o,n),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&go.enqueueReplaceState(i,i.state,null),po(e,n,i,r),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.flags|=4)}var Ao=Array.isArray;function So(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=r.refs;t===fo&&(t=r.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function Eo(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function wo(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=Vl(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags=2,n):r:(t.flags=2,n):n}function s(t){return e&&null===t.alternate&&(t.flags=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=$l(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function c(e,t,n,r){return null!==t&&t.elementType===n.type?((r=i(t,n.props)).ref=So(e,t,n),r.return=e,r):((r=Ul(n.type,n.key,n.props,null,e.mode,r)).ref=So(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=ql(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=jl(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function p(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=$l(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case S:return(n=Ul(t.type,t.key,t.props,null,e.mode,n)).ref=So(e,null,t),n.return=e,n;case E:return(t=ql(t,e.mode,n)).return=e,t}if(Ao(t)||U(t))return(t=jl(t,e.mode,n,null)).return=e,t;Eo(e,t)}return null}function h(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==i?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case S:return n.key===i?n.type===w?d(e,t,n.props.children,r,i):c(e,t,n,r):null;case E:return n.key===i?u(e,t,n,r):null}if(Ao(n)||U(n))return null!==i?null:d(e,t,n,r,null);Eo(e,n)}return null}function f(e,t,n,r,i){if("string"==typeof r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case S:return e=e.get(null===r.key?n:r.key)||null,r.type===w?d(t,e,r.props.children,i,r.key):c(t,e,r,i);case E:return u(t,e=e.get(null===r.key?n:r.key)||null,r,i)}if(Ao(r)||U(r))return d(t,e=e.get(n)||null,r,i,null);Eo(t,r)}return null}function m(i,a,s,l){for(var c=null,u=null,d=a,m=a=0,g=null;null!==d&&m<s.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var v=h(i,d,s[m],l);if(null===v){null===d&&(d=g);break}e&&d&&null===v.alternate&&t(i,d),a=o(v,a,m),null===u?c=v:u.sibling=v,u=v,d=g}if(m===s.length)return n(i,d),c;if(null===d){for(;m<s.length;m++)null!==(d=p(i,s[m],l))&&(a=o(d,a,m),null===u?c=d:u.sibling=d,u=d);return c}for(d=r(i,d);m<s.length;m++)null!==(g=f(d,i,m,s[m],l))&&(e&&null!==g.alternate&&d.delete(null===g.key?m:g.key),a=o(g,a,m),null===u?c=g:u.sibling=g,u=g);return e&&d.forEach((function(e){return t(i,e)})),c}function g(i,s,l,c){var u=U(l);if("function"!=typeof u)throw Error(a(150));if(null==(l=u.call(l)))throw Error(a(151));for(var d=u=null,m=s,g=s=0,v=null,y=l.next();null!==m&&!y.done;g++,y=l.next()){m.index>g?(v=m,m=null):v=m.sibling;var b=h(i,m,y.value,c);if(null===b){null===m&&(m=v);break}e&&m&&null===b.alternate&&t(i,m),s=o(b,s,g),null===d?u=b:d.sibling=b,d=b,m=v}if(y.done)return n(i,m),u;if(null===m){for(;!y.done;g++,y=l.next())null!==(y=p(i,y.value,c))&&(s=o(y,s,g),null===d?u=y:d.sibling=y,d=y);return u}for(m=r(i,m);!y.done;g++,y=l.next())null!==(y=f(m,i,g,y.value,c))&&(e&&null!==y.alternate&&m.delete(null===y.key?g:y.key),s=o(y,s,g),null===d?u=y:d.sibling=y,d=y);return e&&m.forEach((function(e){return t(i,e)})),u}return function(e,r,o,l){var c="object"==typeof o&&null!==o&&o.type===w&&null===o.key;c&&(o=o.props.children);var u="object"==typeof o&&null!==o;if(u)switch(o.$$typeof){case S:e:{for(u=o.key,c=r;null!==c;){if(c.key===u){if(7===c.tag){if(o.type===w){n(e,c.sibling),(r=i(c,o.props.children)).return=e,e=r;break e}}else if(c.elementType===o.type){n(e,c.sibling),(r=i(c,o.props)).ref=So(e,c,o),r.return=e,e=r;break e}n(e,c);break}t(e,c),c=c.sibling}o.type===w?((r=jl(o.props.children,e.mode,l,o.key)).return=e,e=r):((l=Ul(o.type,o.key,o.props,null,e.mode,l)).ref=So(e,r,o),l.return=e,e=l)}return s(e);case E:e:{for(c=o.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),(r=i(r,o.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=ql(o,e.mode,l)).return=e,e=r}return s(e)}if("string"==typeof o||"number"==typeof o)return o=""+o,null!==r&&6===r.tag?(n(e,r.sibling),(r=i(r,o)).return=e,e=r):(n(e,r),(r=$l(o,e.mode,l)).return=e,e=r),s(e);if(Ao(o))return m(e,r,o,l);if(U(o))return g(e,r,o,l);if(u&&Eo(e,o),void 0===o&&!c)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(a(152,G(e.type)||"Component"))}return n(e,r)}}var xo=wo(!0),Io=wo(!1),ko={},To=si(ko),_o=si(ko),Po=si(ko);function Do(e){if(e===ko)throw Error(a(174));return e}function Bo(e,t){switch(ci(Po,t),ci(_o,e),ci(To,ko),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:he(null,"");break;default:t=he(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}li(To),ci(To,t)}function Ro(){li(To),li(_o),li(Po)}function Mo(e){Do(Po.current);var t=Do(To.current),n=he(t,e.type);t!==n&&(ci(_o,e),ci(To,n))}function Lo(e){_o.current===e&&(li(To),li(_o))}var Oo=si(0);function Fo(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(64&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var No=null,Ho=null,zo=!1;function Vo(e,t){var n=Hl(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Uo(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function jo(e){if(zo){var t=Ho;if(t){var n=t;if(!Uo(e,t)){if(!(t=qr(n.nextSibling))||!Uo(e,t))return e.flags=-1025&e.flags|2,zo=!1,void(No=e);Vo(No,n)}No=e,Ho=qr(t.firstChild)}else e.flags=-1025&e.flags|2,zo=!1,No=e}}function Wo(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;No=e}function $o(e){if(e!==No)return!1;if(!zo)return Wo(e),zo=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Ur(t,e.memoizedProps))for(t=Ho;t;)Vo(e,t),t=qr(t.nextSibling);if(Wo(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Ho=qr(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Ho=null}}else Ho=No?qr(e.stateNode.nextSibling):null;return!0}function qo(){Ho=No=null,zo=!1}var Go=[];function Ko(){for(var e=0;e<Go.length;e++)Go[e]._workInProgressVersionPrimary=null;Go.length=0}var Yo=A.ReactCurrentDispatcher,Xo=A.ReactCurrentBatchConfig,Zo=0,Jo=null,Qo=null,ea=null,ta=!1,na=!1;function ra(){throw Error(a(321))}function ia(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!lr(e[n],t[n]))return!1;return!0}function oa(e,t,n,r,i,o){if(Zo=o,Jo=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Yo.current=null===e||null===e.memoizedState?Da:Ba,e=n(r,i),na){o=0;do{if(na=!1,!(25>o))throw Error(a(301));o+=1,ea=Qo=null,t.updateQueue=null,Yo.current=Ra,e=n(r,i)}while(na)}if(Yo.current=Pa,t=null!==Qo&&null!==Qo.next,Zo=0,ea=Qo=Jo=null,ta=!1,t)throw Error(a(300));return e}function aa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ea?Jo.memoizedState=ea=e:ea=ea.next=e,ea}function sa(){if(null===Qo){var e=Jo.alternate;e=null!==e?e.memoizedState:null}else e=Qo.next;var t=null===ea?Jo.memoizedState:ea.next;if(null!==t)ea=t,Qo=e;else{if(null===e)throw Error(a(310));e={memoizedState:(Qo=e).memoizedState,baseState:Qo.baseState,baseQueue:Qo.baseQueue,queue:Qo.queue,next:null},null===ea?Jo.memoizedState=ea=e:ea=ea.next=e}return ea}function la(e,t){return"function"==typeof t?t(e):t}function ca(e){var t=sa(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=Qo,i=r.baseQueue,o=n.pending;if(null!==o){if(null!==i){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(null!==i){i=i.next,r=r.baseState;var l=s=o=null,c=i;do{var u=c.lane;if((Zo&u)===u)null!==l&&(l=l.next={lane:0,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),r=c.eagerReducer===e?c.eagerState:e(r,c.action);else{var d={lane:u,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===l?(s=l=d,o=r):l=l.next=d,Jo.lanes|=u,Ns|=u}c=c.next}while(null!==c&&c!==i);null===l?o=r:l.next=s,lr(r,t.memoizedState)||(La=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function ua(e){var t=sa(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{o=e(o,s.action),s=s.next}while(s!==i);lr(o,t.memoizedState)||(La=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function da(e,t,n){var r=t._getVersion;r=r(t._source);var i=t._workInProgressVersionPrimary;if(null!==i?e=i===r:(e=e.mutableReadLanes,(e=(Zo&e)===e)&&(t._workInProgressVersionPrimary=r,Go.push(t))),e)return n(t._source);throw Go.push(t),Error(a(350))}function pa(e,t,n,r){var i=Ps;if(null===i)throw Error(a(349));var o=t._getVersion,s=o(t._source),l=Yo.current,c=l.useState((function(){return da(i,t,n)})),u=c[1],d=c[0];c=ea;var p=e.memoizedState,h=p.refs,f=h.getSnapshot,m=p.source;p=p.subscribe;var g=Jo;return e.memoizedState={refs:h,source:t,subscribe:r},l.useEffect((function(){h.getSnapshot=n,h.setSnapshot=u;var e=o(t._source);if(!lr(s,e)){e=n(t._source),lr(d,e)||(u(e),e=ul(g),i.mutableReadLanes|=e&i.pendingLanes),e=i.mutableReadLanes,i.entangledLanes|=e;for(var r=i.entanglements,a=e;0<a;){var l=31-Ut(a),c=1<<l;r[l]|=e,a&=~c}}}),[n,t,r]),l.useEffect((function(){return r(t._source,(function(){var e=h.getSnapshot,n=h.setSnapshot;try{n(e(t._source));var r=ul(g);i.mutableReadLanes|=r&i.pendingLanes}catch(e){n((function(){throw e}))}}))}),[t,r]),lr(f,n)&&lr(m,t)&&lr(p,r)||((e={pending:null,dispatch:null,lastRenderedReducer:la,lastRenderedState:d}).dispatch=u=_a.bind(null,Jo,e),c.queue=e,c.baseQueue=null,d=da(i,t,n),c.memoizedState=c.baseState=d),d}function ha(e,t,n){return pa(sa(),e,t,n)}function fa(e){var t=aa();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:la,lastRenderedState:e}).dispatch=_a.bind(null,Jo,e),[t.memoizedState,e]}function ma(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Jo.updateQueue)?(t={lastEffect:null},Jo.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function ga(e){return e={current:e},aa().memoizedState=e}function va(){return sa().memoizedState}function ya(e,t,n,r){var i=aa();Jo.flags|=e,i.memoizedState=ma(1|t,n,void 0,void 0===r?null:r)}function ba(e,t,n,r){var i=sa();r=void 0===r?null:r;var o=void 0;if(null!==Qo){var a=Qo.memoizedState;if(o=a.destroy,null!==r&&ia(r,a.deps))return void ma(t,n,o,r)}Jo.flags|=e,i.memoizedState=ma(1|t,n,o,r)}function Ca(e,t){return ya(516,4,e,t)}function Aa(e,t){return ba(516,4,e,t)}function Sa(e,t){return ba(4,2,e,t)}function Ea(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function wa(e,t,n){return n=null!=n?n.concat([e]):null,ba(4,2,Ea.bind(null,t,e),n)}function xa(){}function Ia(e,t){var n=sa();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ia(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function ka(e,t){var n=sa();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ia(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ta(e,t){var n=Ui();Wi(98>n?98:n,(function(){e(!0)})),Wi(97<n?97:n,(function(){var n=Xo.transition;Xo.transition=1;try{e(!1),t()}finally{Xo.transition=n}}))}function _a(e,t,n){var r=cl(),i=ul(e),o={lane:i,action:n,eagerReducer:null,eagerState:null,next:null},a=t.pending;if(null===a?o.next=o:(o.next=a.next,a.next=o),t.pending=o,a=e.alternate,e===Jo||null!==a&&a===Jo)na=ta=!0;else{if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var s=t.lastRenderedState,l=a(s,n);if(o.eagerReducer=a,o.eagerState=l,lr(l,s))return}catch(e){}dl(e,i,r)}}var Pa={readContext:io,useCallback:ra,useContext:ra,useEffect:ra,useImperativeHandle:ra,useLayoutEffect:ra,useMemo:ra,useReducer:ra,useRef:ra,useState:ra,useDebugValue:ra,useDeferredValue:ra,useTransition:ra,useMutableSource:ra,useOpaqueIdentifier:ra,unstable_isNewReconciler:!1},Da={readContext:io,useCallback:function(e,t){return aa().memoizedState=[e,void 0===t?null:t],e},useContext:io,useEffect:Ca,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,ya(4,2,Ea.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ya(4,2,e,t)},useMemo:function(e,t){var n=aa();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=aa();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=_a.bind(null,Jo,e),[r.memoizedState,e]},useRef:ga,useState:fa,useDebugValue:xa,useDeferredValue:function(e){var t=fa(e),n=t[0],r=t[1];return Ca((function(){var t=Xo.transition;Xo.transition=1;try{r(e)}finally{Xo.transition=t}}),[e]),n},useTransition:function(){var e=fa(!1),t=e[0];return ga(e=Ta.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=aa();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},pa(r,e,t,n)},useOpaqueIdentifier:function(){if(zo){var e=!1,t=function(e){return{$$typeof:L,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+(Kr++).toString(36))),Error(a(355))})),n=fa(t)[1];return!(2&Jo.mode)&&(Jo.flags|=516,ma(5,(function(){n("r:"+(Kr++).toString(36))}),void 0,null)),t}return fa(t="r:"+(Kr++).toString(36)),t},unstable_isNewReconciler:!1},Ba={readContext:io,useCallback:Ia,useContext:io,useEffect:Aa,useImperativeHandle:wa,useLayoutEffect:Sa,useMemo:ka,useReducer:ca,useRef:va,useState:function(){return ca(la)},useDebugValue:xa,useDeferredValue:function(e){var t=ca(la),n=t[0],r=t[1];return Aa((function(){var t=Xo.transition;Xo.transition=1;try{r(e)}finally{Xo.transition=t}}),[e]),n},useTransition:function(){var e=ca(la)[0];return[va().current,e]},useMutableSource:ha,useOpaqueIdentifier:function(){return ca(la)[0]},unstable_isNewReconciler:!1},Ra={readContext:io,useCallback:Ia,useContext:io,useEffect:Aa,useImperativeHandle:wa,useLayoutEffect:Sa,useMemo:ka,useReducer:ua,useRef:va,useState:function(){return ua(la)},useDebugValue:xa,useDeferredValue:function(e){var t=ua(la),n=t[0],r=t[1];return Aa((function(){var t=Xo.transition;Xo.transition=1;try{r(e)}finally{Xo.transition=t}}),[e]),n},useTransition:function(){var e=ua(la)[0];return[va().current,e]},useMutableSource:ha,useOpaqueIdentifier:function(){return ua(la)[0]},unstable_isNewReconciler:!1},Ma=A.ReactCurrentOwner,La=!1;function Oa(e,t,n,r){t.child=null===e?Io(t,null,n,r):xo(t,e.child,n,r)}function Fa(e,t,n,r,i){n=n.render;var o=t.ref;return ro(t,i),r=oa(e,t,n,r,o,i),null===e||La?(t.flags|=1,Oa(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,ns(e,t,i))}function Na(e,t,n,r,i,o){if(null===e){var a=n.type;return"function"!=typeof a||zl(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Ul(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Ha(e,t,a,r,i,o))}return a=e.child,i&o||(i=a.memoizedProps,!(n=null!==(n=n.compare)?n:ur)(i,r)||e.ref!==t.ref)?(t.flags|=1,(e=Vl(a,r)).ref=t.ref,e.return=t,t.child=e):ns(e,t,o)}function Ha(e,t,n,r,i,o){if(null!==e&&ur(e.memoizedProps,r)&&e.ref===t.ref){if(La=!1,!(o&i))return t.lanes=e.lanes,ns(e,t,o);16384&e.flags&&(La=!0)}return Ua(e,t,n,r,o)}function za(e,t,n){var r=t.pendingProps,i=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(4&t.mode){if(!(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},vl(0,e),null;t.memoizedState={baseLanes:0},vl(0,null!==o?o.baseLanes:n)}else t.memoizedState={baseLanes:0},vl(0,n);else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,vl(0,r);return Oa(e,t,i,n),t.child}function Va(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function Ua(e,t,n,r,i){var o=mi(n)?hi:di.current;return o=fi(t,o),ro(t,i),n=oa(e,t,n,r,o,i),null===e||La?(t.flags|=1,Oa(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,ns(e,t,i))}function ja(e,t,n,r,i){if(mi(n)){var o=!0;bi(t)}else o=!1;if(ro(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),yo(t,n,r),Co(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=n.contextType;c="object"==typeof c&&null!==c?io(c):fi(t,c=mi(n)?hi:di.current);var u=n.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||l!==c)&&bo(t,a,r,c),oo=!1;var p=t.memoizedState;a.state=p,po(t,r,a,i),l=t.memoizedState,s!==r||p!==l||pi.current||oo?("function"==typeof u&&(mo(t,n,u,r),l=t.memoizedState),(s=oo||vo(t,n,s,r,p,l,c))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4)):("function"==typeof a.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=c,r=s):("function"==typeof a.componentDidMount&&(t.flags|=4),r=!1)}else{a=t.stateNode,so(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:Yi(t.type,s),a.props=c,d=t.pendingProps,p=a.context,l="object"==typeof(l=n.contextType)&&null!==l?io(l):fi(t,l=mi(n)?hi:di.current);var h=n.getDerivedStateFromProps;(u="function"==typeof h||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==d||p!==l)&&bo(t,a,r,l),oo=!1,p=t.memoizedState,a.state=p,po(t,r,a,i);var f=t.memoizedState;s!==d||p!==f||pi.current||oo?("function"==typeof h&&(mo(t,n,h,r),f=t.memoizedState),(c=oo||vo(t,n,c,r,p,f,l))?(u||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,f,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,f,l)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=f),a.props=r,a.state=f,a.context=l,r=c):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=256),r=!1)}return Wa(e,t,n,r,o,i)}function Wa(e,t,n,r,i,o){Va(e,t);var a=!!(64&t.flags);if(!r&&!a)return i&&Ci(t,n,!1),ns(e,t,o);r=t.stateNode,Ma.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=xo(t,e.child,null,o),t.child=xo(t,null,s,o)):Oa(e,t,s,o),t.memoizedState=r.state,i&&Ci(t,n,!0),t.child}function $a(e){var t=e.stateNode;t.pendingContext?vi(0,t.pendingContext,t.pendingContext!==t.context):t.context&&vi(0,t.context,!1),Bo(e,t.containerInfo)}var qa,Ga,Ka,Ya,Xa={dehydrated:null,retryLane:0};function Za(e,t,n){var r,i=t.pendingProps,o=Oo.current,a=!1;return(r=!!(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&!!(2&o)),r?(a=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===i.fallback||!0===i.unstable_avoidThisFallback||(o|=1),ci(Oo,1&o),null===e?(void 0!==i.fallback&&jo(t),e=i.children,o=i.fallback,a?(e=Ja(t,e,o,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Xa,e):"number"==typeof i.unstable_expectedLoadTime?(e=Ja(t,e,o,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Xa,t.lanes=33554432,e):((n=Wl({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):(e.memoizedState,a?(i=function(e,t,n,r,i){var o=t.mode,a=e.child;e=a.sibling;var s={mode:"hidden",children:n};return 2&o||t.child===a?n=Vl(a,s):((n=t.child).childLanes=0,n.pendingProps=s,null!==(a=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=a,a.nextEffect=null):t.firstEffect=t.lastEffect=null),null!==e?r=Vl(e,r):(r=jl(r,o,i,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}(e,t,i.children,i.fallback,n),a=t.child,o=e.child.memoizedState,a.memoizedState=null===o?{baseLanes:n}:{baseLanes:o.baseLanes|n},a.childLanes=e.childLanes&~n,t.memoizedState=Xa,i):(n=function(e,t,n,r){var i=e.child;return e=i.sibling,n=Vl(i,{mode:"visible",children:n}),!(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}(e,t,i.children,n),t.memoizedState=null,n))}function Ja(e,t,n,r){var i=e.mode,o=e.child;return t={mode:"hidden",children:t},2&i||null===o?o=Wl(t,i,0,null):(o.childLanes=0,o.pendingProps=t),n=jl(n,i,r,null),o.return=e,n.return=e,o.sibling=n,e.child=o,n}function Qa(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),no(e.return,t)}function es(e,t,n,r,i,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,lastEffect:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i,a.lastEffect=o)}function ts(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Oa(e,t,r.children,n),2&(r=Oo.current))r=1&r|2,t.flags|=64;else{if(null!==e&&64&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Qa(e,n);else if(19===e.tag)Qa(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ci(Oo,r),2&t.mode)switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===Fo(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),es(t,!1,i,n,o,t.lastEffect);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===Fo(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}es(t,!0,n,null,o,t.lastEffect);break;case"together":es(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function ns(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Ns|=t.lanes,n&t.childLanes){if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Vl(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Vl(e,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function rs(e,t){if(!zo)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function is(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return mi(t.type)&&gi(),null;case 3:return Ro(),li(pi),li(di),Ko(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||($o(t)?t.flags|=4:r.hydrate||(t.flags|=256)),Ga(t),null;case 5:Lo(t);var o=Do(Po.current);if(n=t.type,null!==e&&null!=t.stateNode)Ka(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(a(166));return null}if(e=Do(To.current),$o(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[Xr]=t,r[Zr]=s,n){case"dialog":Tr("cancel",r),Tr("close",r);break;case"iframe":case"object":case"embed":Tr("load",r);break;case"video":case"audio":for(e=0;e<wr.length;e++)Tr(wr[e],r);break;case"source":Tr("error",r);break;case"img":case"image":case"link":Tr("error",r),Tr("load",r);break;case"details":Tr("toggle",r);break;case"input":ee(r,s),Tr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},Tr("invalid",r);break;case"textarea":le(r,s),Tr("invalid",r)}for(var c in Ee(n,s),e=null,s)s.hasOwnProperty(c)&&(o=s[c],"children"===c?"string"==typeof o?r.textContent!==o&&(e=["children",o]):"number"==typeof o&&r.textContent!==""+o&&(e=["children",""+o]):l.hasOwnProperty(c)&&null!=o&&"onScroll"===c&&Tr("scroll",r));switch(n){case"input":X(r),re(r,s,!0);break;case"textarea":X(r),ue(r);break;case"select":case"option":break;default:"function"==typeof s.onClick&&(r.onclick=Nr)}r=e,t.updateQueue=r,null!==r&&(t.flags|=4)}else{switch(c=9===o.nodeType?o:o.ownerDocument,e===de&&(e=pe(n)),e===de?"script"===n?((e=c.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=c.createElement(n,{is:r.is}):(e=c.createElement(n),"select"===n&&(c=e,r.multiple?c.multiple=!0:r.size&&(c.size=r.size))):e=c.createElementNS(e,n),e[Xr]=t,e[Zr]=r,qa(e,t,!1,!1),t.stateNode=e,c=we(n,r),n){case"dialog":Tr("cancel",e),Tr("close",e),o=r;break;case"iframe":case"object":case"embed":Tr("load",e),o=r;break;case"video":case"audio":for(o=0;o<wr.length;o++)Tr(wr[o],e);o=r;break;case"source":Tr("error",e),o=r;break;case"img":case"image":case"link":Tr("error",e),Tr("load",e),o=r;break;case"details":Tr("toggle",e),o=r;break;case"input":ee(e,r),o=Q(e,r),Tr("invalid",e);break;case"option":o=oe(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=i({},r,{value:void 0}),Tr("invalid",e);break;case"textarea":le(e,r),o=se(e,r),Tr("invalid",e);break;default:o=r}Ee(n,o);var u=o;for(s in u)if(u.hasOwnProperty(s)){var d=u[s];"style"===s?Ae(e,d):"dangerouslySetInnerHTML"===s?null!=(d=d?d.__html:void 0)&&ge(e,d):"children"===s?"string"==typeof d?("textarea"!==n||""!==d)&&ve(e,d):"number"==typeof d&&ve(e,""+d):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(l.hasOwnProperty(s)?null!=d&&"onScroll"===s&&Tr("scroll",e):null!=d&&C(e,s,d,c))}switch(n){case"input":X(e),re(e,r,!1);break;case"textarea":X(e),ue(e);break;case"option":null!=r.value&&e.setAttribute("value",""+K(r.value));break;case"select":e.multiple=!!r.multiple,null!=(s=r.value)?ae(e,!!r.multiple,s,!1):null!=r.defaultValue&&ae(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Nr)}Vr(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Ya(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(a(166));n=Do(Po.current),Do(To.current),$o(t)?(r=t.stateNode,n=t.memoizedProps,r[Xr]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Xr]=t,t.stateNode=r)}return null;case 13:return li(Oo),r=t.memoizedState,64&t.flags?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&$o(t):n=null!==e.memoizedState,r&&!n&&2&t.mode&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||1&Oo.current?0===Ls&&(Ls=3):(0!==Ls&&3!==Ls||(Ls=4),null===Ps||!(134217727&Ns)&&!(134217727&Hs)||ml(Ps,Bs))),(r||n)&&(t.flags|=4),null);case 4:return Ro(),Ga(t),null===e&&Pr(t.stateNode.containerInfo),null;case 10:return to(t),null;case 19:if(li(Oo),null===(r=t.memoizedState))return null;if(s=!!(64&t.flags),null===(c=r.rendering))if(s)rs(r,!1);else{if(0!==Ls||null!==e&&64&e.flags)for(e=t.child;null!==e;){if(null!==(c=Fo(e))){for(t.flags|=64,rs(r,!1),null!==(s=c.updateQueue)&&(t.updateQueue=s,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(s=n).flags&=2,s.nextEffect=null,s.firstEffect=null,s.lastEffect=null,null===(c=s.alternate)?(s.childLanes=0,s.lanes=e,s.child=null,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=c.childLanes,s.lanes=c.lanes,s.child=c.child,s.memoizedProps=c.memoizedProps,s.memoizedState=c.memoizedState,s.updateQueue=c.updateQueue,s.type=c.type,e=c.dependencies,s.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ci(Oo,1&Oo.current|2),t.child}e=e.sibling}null!==r.tail&&Vi()>js&&(t.flags|=64,s=!0,rs(r,!1),t.lanes=33554432)}else{if(!s)if(null!==(e=Fo(c))){if(t.flags|=64,s=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),rs(r,!0),null===r.tail&&"hidden"===r.tailMode&&!c.alternate&&!zo)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Vi()-r.renderingStartTime>js&&1073741824!==n&&(t.flags|=64,s=!0,rs(r,!1),t.lanes=33554432);r.isBackwards?(c.sibling=t.child,t.child=c):(null!==(n=r.last)?n.sibling=c:t.child=c,r.last=c)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Vi(),n.sibling=null,t=Oo.current,ci(Oo,s?1&t|2:1&t),n):null;case 23:case 24:return yl(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(a(156,t.tag))}function os(e){switch(e.tag){case 1:mi(e.type)&&gi();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Ro(),li(pi),li(di),Ko(),64&(t=e.flags))throw Error(a(285));return e.flags=-4097&t|64,e;case 5:return Lo(e),null;case 13:return li(Oo),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return li(Oo),null;case 4:return Ro(),null;case 10:return to(e),null;case 23:case 24:return yl(),null;default:return null}}function as(e,t){try{var n="",r=t;do{n+=q(r),r=r.return}while(r);var i=n}catch(e){i="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:i}}function ss(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}qa=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ga=function(){},Ka=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Do(To.current);var a,s=null;switch(n){case"input":o=Q(e,o),r=Q(e,r),s=[];break;case"option":o=oe(e,o),r=oe(e,r),s=[];break;case"select":o=i({},o,{value:void 0}),r=i({},r,{value:void 0}),s=[];break;case"textarea":o=se(e,o),r=se(e,r),s=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Nr)}for(d in Ee(n,r),n=null,o)if(!r.hasOwnProperty(d)&&o.hasOwnProperty(d)&&null!=o[d])if("style"===d){var c=o[d];for(a in c)c.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==d&&"children"!==d&&"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&"autoFocus"!==d&&(l.hasOwnProperty(d)?s||(s=[]):(s=s||[]).push(d,null));for(d in r){var u=r[d];if(c=null!=o?o[d]:void 0,r.hasOwnProperty(d)&&u!==c&&(null!=u||null!=c))if("style"===d)if(c){for(a in c)!c.hasOwnProperty(a)||u&&u.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in u)u.hasOwnProperty(a)&&c[a]!==u[a]&&(n||(n={}),n[a]=u[a])}else n||(s||(s=[]),s.push(d,n)),n=u;else"dangerouslySetInnerHTML"===d?(u=u?u.__html:void 0,c=c?c.__html:void 0,null!=u&&c!==u&&(s=s||[]).push(d,u)):"children"===d?"string"!=typeof u&&"number"!=typeof u||(s=s||[]).push(d,""+u):"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&(l.hasOwnProperty(d)?(null!=u&&"onScroll"===d&&Tr("scroll",e),s||c===u||(s=[])):"object"==typeof u&&null!==u&&u.$$typeof===L?u.toString():(s=s||[]).push(d,u))}n&&(s=s||[]).push("style",n);var d=s;(t.updateQueue=d)&&(t.flags|=4)}},Ya=function(e,t,n,r){n!==r&&(t.flags|=4)};var ls="function"==typeof WeakMap?WeakMap:Map;function cs(e,t,n){(n=lo(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Gs||(Gs=!0,Ks=r),ss(0,t)},n}function us(e,t,n){(n=lo(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return ss(0,t),r(i)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Ys?Ys=new Set([this]):Ys.add(this),ss(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var ds="function"==typeof WeakSet?WeakSet:Set;function ps(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Ll(e,t)}else t.current=null}function hs(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Yi(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&$r(t.stateNode.containerInfo))}throw Error(a(163))}function fs(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(!(3&~e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var i=e;r=i.next,4&(i=i.tag)&&1&i&&(Bl(n,e),Dl(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Yi(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&ho(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}ho(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Vr(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Ct(n)))))}throw Error(a(163))}function ms(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"==typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var i=n.memoizedProps.style;i=null!=i&&i.hasOwnProperty("display")?i.display:null,r.style.display=Ce("display",i)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function gs(e,t){if(Si&&"function"==typeof Si.onCommitFiberUnmount)try{Si.onCommitFiberUnmount(Ai,t)}catch(e){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,i=r.destroy;if(r=r.tag,void 0!==i)if(4&r)Bl(t,n);else{r=t;try{i()}catch(e){Ll(r,e)}}n=n.next}while(n!==e)}break;case 1:if(ps(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){Ll(t,e)}break;case 5:ps(t);break;case 4:Ss(e,t)}}function vs(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function ys(e){return 5===e.tag||3===e.tag||4===e.tag}function bs(e){e:{for(var t=e.return;null!==t;){if(ys(t))break e;t=t.return}throw Error(a(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.flags&&(ve(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||ys(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?Cs(e,n,t):As(e,n,t)}function Cs(e,t,n){var r=e.tag,i=5===r||6===r;if(i)e=i?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Nr));else if(4!==r&&null!==(e=e.child))for(Cs(e,t,n),e=e.sibling;null!==e;)Cs(e,t,n),e=e.sibling}function As(e,t,n){var r=e.tag,i=5===r||6===r;if(i)e=i?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(As(e,t,n),e=e.sibling;null!==e;)As(e,t,n),e=e.sibling}function Ss(e,t){for(var n,r,i=t,o=!1;;){if(!o){o=i.return;e:for(;;){if(null===o)throw Error(a(160));switch(n=o.stateNode,o.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}o=o.return}o=!0}if(5===i.tag||6===i.tag){e:for(var s=e,l=i,c=l;;)if(gs(s,c),null!==c.child&&4!==c.tag)c.child.return=c,c=c.child;else{if(c===l)break e;for(;null===c.sibling;){if(null===c.return||c.return===l)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}r?(s=n,l=i.stateNode,8===s.nodeType?s.parentNode.removeChild(l):s.removeChild(l)):n.removeChild(i.stateNode)}else if(4===i.tag){if(null!==i.child){n=i.stateNode.containerInfo,r=!0,i.child.return=i,i=i.child;continue}}else if(gs(e,i),null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)return;4===(i=i.return).tag&&(o=!1)}i.sibling.return=i.return,i=i.sibling}}function Es(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{!(3&~r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:case 12:case 17:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var i=null!==e?e.memoizedProps:r;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,null!==o){for(n[Zr]=r,"input"===e&&"radio"===r.type&&null!=r.name&&te(n,r),we(e,i),t=we(e,r),i=0;i<o.length;i+=2){var s=o[i],l=o[i+1];"style"===s?Ae(n,l):"dangerouslySetInnerHTML"===s?ge(n,l):"children"===s?ve(n,l):C(n,s,l,t)}switch(e){case"input":ne(n,r);break;case"textarea":ce(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(o=r.value)?ae(n,!!r.multiple,o,!1):e!==!!r.multiple&&(null!=r.defaultValue?ae(n,!!r.multiple,r.defaultValue,!0):ae(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,Ct(n.containerInfo)));case 13:return null!==t.memoizedState&&(Us=Vi(),ms(t.child,!0)),void ws(t);case 19:return void ws(t);case 23:case 24:return void ms(t,null!==t.memoizedState)}throw Error(a(163))}function ws(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new ds),t.forEach((function(t){var r=Fl.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function xs(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&null!==(t=t.memoizedState)&&null===t.dehydrated}var Is=Math.ceil,ks=A.ReactCurrentDispatcher,Ts=A.ReactCurrentOwner,_s=0,Ps=null,Ds=null,Bs=0,Rs=0,Ms=si(0),Ls=0,Os=null,Fs=0,Ns=0,Hs=0,zs=0,Vs=null,Us=0,js=1/0;function Ws(){js=Vi()+500}var $s,qs=null,Gs=!1,Ks=null,Ys=null,Xs=!1,Zs=null,Js=90,Qs=[],el=[],tl=null,nl=0,rl=null,il=-1,ol=0,al=0,sl=null,ll=!1;function cl(){return 48&_s?Vi():-1!==il?il:il=Vi()}function ul(e){if(!(2&(e=e.mode)))return 1;if(!(4&e))return 99===Ui()?1:2;if(0===ol&&(ol=Fs),0!==Ki.transition){0!==al&&(al=null!==Vs?Vs.pendingLanes:0),e=ol;var t=4186112&~al;return 0==(t&=-t)&&0==(t=(e=4186112&~e)&-e)&&(t=8192),t}return e=Ui(),e=Nt(4&_s&&98===e?12:e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),ol)}function dl(e,t,n){if(50<nl)throw nl=0,rl=null,Error(a(185));if(null===(e=pl(e,t)))return null;Vt(e,t,n),e===Ps&&(Hs|=t,4===Ls&&ml(e,Bs));var r=Ui();1===t?8&_s&&!(48&_s)?gl(e):(hl(e,n),0===_s&&(Ws(),qi())):(!(4&_s)||98!==r&&99!==r||(null===tl?tl=new Set([e]):tl.add(e)),hl(e,n)),Vs=e}function pl(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function hl(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,i=e.pingedLanes,o=e.expirationTimes,s=e.pendingLanes;0<s;){var l=31-Ut(s),c=1<<l,u=o[l];if(-1===u){if(!(c&r)||c&i){u=t,Lt(c);var d=Mt;o[l]=10<=d?u+250:6<=d?u+5e3:-1}}else u<=t&&(e.expiredLanes|=c);s&=~c}if(r=Ot(e,e===Ps?Bs:0),t=Mt,0===r)null!==n&&(n!==Li&&xi(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Li&&xi(n)}15===t?(n=gl.bind(null,e),null===Fi?(Fi=[n],Ni=wi(Pi,Gi)):Fi.push(n),n=Li):14===t?n=$i(99,gl.bind(null,e)):(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(a(358,e))}}(t),n=$i(n,fl.bind(null,e))),e.callbackPriority=t,e.callbackNode=n}}function fl(e){if(il=-1,al=ol=0,48&_s)throw Error(a(327));var t=e.callbackNode;if(Pl()&&e.callbackNode!==t)return null;var n=Ot(e,e===Ps?Bs:0);if(0===n)return null;var r=n,i=_s;_s|=16;var o=Al();for(Ps===e&&Bs===r||(Ws(),bl(e,r));;)try{wl();break}catch(t){Cl(e,t)}if(eo(),ks.current=o,_s=i,null!==Ds?r=0:(Ps=null,Bs=0,r=Ls),Fs&Hs)bl(e,0);else if(0!==r){if(2===r&&(_s|=64,e.hydrate&&(e.hydrate=!1,$r(e.containerInfo)),0!==(n=Ft(e))&&(r=Sl(e,n))),1===r)throw t=Os,bl(e,0),ml(e,n),hl(e,Vi()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(a(345));case 2:case 5:kl(e);break;case 3:if(ml(e,n),(62914560&n)===n&&10<(r=Us+500-Vi())){if(0!==Ot(e,0))break;if(((i=e.suspendedLanes)&n)!==n){cl(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=jr(kl.bind(null,e),r);break}kl(e);break;case 4:if(ml(e,n),(4186112&n)===n)break;for(r=e.eventTimes,i=-1;0<n;){var s=31-Ut(n);o=1<<s,(s=r[s])>i&&(i=s),n&=~o}if(n=i,10<(n=(120>(n=Vi()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Is(n/1960))-n)){e.timeoutHandle=jr(kl.bind(null,e),n);break}kl(e);break;default:throw Error(a(329))}}return hl(e,Vi()),e.callbackNode===t?fl.bind(null,e):null}function ml(e,t){for(t&=~zs,t&=~Hs,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Ut(t),r=1<<n;e[n]=-1,t&=~r}}function gl(e){if(48&_s)throw Error(a(327));if(Pl(),e===Ps&&e.expiredLanes&Bs){var t=Bs,n=Sl(e,t);Fs&Hs&&(n=Sl(e,t=Ot(e,t)))}else n=Sl(e,t=Ot(e,0));if(0!==e.tag&&2===n&&(_s|=64,e.hydrate&&(e.hydrate=!1,$r(e.containerInfo)),0!==(t=Ft(e))&&(n=Sl(e,t))),1===n)throw n=Os,bl(e,0),ml(e,t),hl(e,Vi()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,kl(e),hl(e,Vi()),null}function vl(e,t){ci(Ms,Rs),Rs|=t,Fs|=t}function yl(){Rs=Ms.current,li(Ms)}function bl(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Wr(n)),null!==Ds)for(n=Ds.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&gi();break;case 3:Ro(),li(pi),li(di),Ko();break;case 5:Lo(r);break;case 4:Ro();break;case 13:case 19:li(Oo);break;case 10:to(r);break;case 23:case 24:yl()}n=n.return}Ps=e,Ds=Vl(e.current,null),Bs=Rs=Fs=t,Ls=0,Os=null,zs=Hs=Ns=0}function Cl(e,t){for(;;){var n=Ds;try{if(eo(),Yo.current=Pa,ta){for(var r=Jo.memoizedState;null!==r;){var i=r.queue;null!==i&&(i.pending=null),r=r.next}ta=!1}if(Zo=0,ea=Qo=Jo=null,na=!1,Ts.current=null,null===n||null===n.return){Ls=1,Os=t,Ds=null;break}e:{var o=e,a=n.return,s=n,l=t;if(t=Bs,s.flags|=2048,s.firstEffect=s.lastEffect=null,null!==l&&"object"==typeof l&&"function"==typeof l.then){var c=l;if(!(2&s.mode)){var u=s.alternate;u?(s.updateQueue=u.updateQueue,s.memoizedState=u.memoizedState,s.lanes=u.lanes):(s.updateQueue=null,s.memoizedState=null)}var d=!!(1&Oo.current),p=a;do{var h;if(h=13===p.tag){var f=p.memoizedState;if(null!==f)h=null!==f.dehydrated;else{var m=p.memoizedProps;h=void 0!==m.fallback&&(!0!==m.unstable_avoidThisFallback||!d)}}if(h){var g=p.updateQueue;if(null===g){var v=new Set;v.add(c),p.updateQueue=v}else g.add(c);if(!(2&p.mode)){if(p.flags|=64,s.flags|=16384,s.flags&=-2981,1===s.tag)if(null===s.alternate)s.tag=17;else{var y=lo(-1,1);y.tag=2,co(s,y)}s.lanes|=1;break e}l=void 0,s=t;var b=o.pingCache;if(null===b?(b=o.pingCache=new ls,l=new Set,b.set(c,l)):void 0===(l=b.get(c))&&(l=new Set,b.set(c,l)),!l.has(s)){l.add(s);var C=Ol.bind(null,o,c,s);c.then(C,C)}p.flags|=4096,p.lanes=t;break e}p=p.return}while(null!==p);l=Error((G(s.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Ls&&(Ls=2),l=as(l,s),p=a;do{switch(p.tag){case 3:o=l,p.flags|=4096,t&=-t,p.lanes|=t,uo(p,cs(0,o,t));break e;case 1:o=l;var A=p.type,S=p.stateNode;if(!(64&p.flags||"function"!=typeof A.getDerivedStateFromError&&(null===S||"function"!=typeof S.componentDidCatch||null!==Ys&&Ys.has(S)))){p.flags|=4096,t&=-t,p.lanes|=t,uo(p,us(p,o,t));break e}}p=p.return}while(null!==p)}Il(n)}catch(e){t=e,Ds===n&&null!==n&&(Ds=n=n.return);continue}break}}function Al(){var e=ks.current;return ks.current=Pa,null===e?Pa:e}function Sl(e,t){var n=_s;_s|=16;var r=Al();for(Ps===e&&Bs===t||bl(e,t);;)try{El();break}catch(t){Cl(e,t)}if(eo(),_s=n,ks.current=r,null!==Ds)throw Error(a(261));return Ps=null,Bs=0,Ls}function El(){for(;null!==Ds;)xl(Ds)}function wl(){for(;null!==Ds&&!Ii();)xl(Ds)}function xl(e){var t=$s(e.alternate,e,Rs);e.memoizedProps=e.pendingProps,null===t?Il(e):Ds=t,Ts.current=null}function Il(e){var t=e;do{var n=t.alternate;if(e=t.return,2048&t.flags){if(null!==(n=os(t)))return n.flags&=2047,void(Ds=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}else{if(null!==(n=is(n,t,Rs)))return void(Ds=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||1073741824&Rs||!(4&n.mode)){for(var r=0,i=n.child;null!==i;)r|=i.lanes|i.childLanes,i=i.sibling;n.childLanes=r}null!==e&&!(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}if(null!==(t=t.sibling))return void(Ds=t);Ds=t=e}while(null!==t);0===Ls&&(Ls=5)}function kl(e){var t=Ui();return Wi(99,Tl.bind(null,e,t)),null}function Tl(e,t){do{Pl()}while(null!==Zs);if(48&_s)throw Error(a(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(a(177));e.callbackNode=null;var r=n.lanes|n.childLanes,i=r,o=e.pendingLanes&~i;e.pendingLanes=i,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=i,e.mutableReadLanes&=i,e.entangledLanes&=i,i=e.entanglements;for(var s=e.eventTimes,l=e.expirationTimes;0<o;){var c=31-Ut(o),u=1<<c;i[c]=0,s[c]=-1,l[c]=-1,o&=~u}if(null!==tl&&!(24&r)&&tl.has(e)&&tl.delete(e),e===Ps&&(Ds=Ps=null,Bs=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(i=_s,_s|=32,Ts.current=null,Hr=Gt,mr(s=fr())){if("selectionStart"in s)l={start:s.selectionStart,end:s.selectionEnd};else e:if(l=(l=s.ownerDocument)&&l.defaultView||window,(u=l.getSelection&&l.getSelection())&&0!==u.rangeCount){l=u.anchorNode,o=u.anchorOffset,c=u.focusNode,u=u.focusOffset;try{l.nodeType,c.nodeType}catch(e){l=null;break e}var d=0,p=-1,h=-1,f=0,m=0,g=s,v=null;t:for(;;){for(var y;g!==l||0!==o&&3!==g.nodeType||(p=d+o),g!==c||0!==u&&3!==g.nodeType||(h=d+u),3===g.nodeType&&(d+=g.nodeValue.length),null!==(y=g.firstChild);)v=g,g=y;for(;;){if(g===s)break t;if(v===l&&++f===o&&(p=d),v===c&&++m===u&&(h=d),null!==(y=g.nextSibling))break;v=(g=v).parentNode}g=y}l=-1===p||-1===h?null:{start:p,end:h}}else l=null;l=l||{start:0,end:0}}else l=null;zr={focusedElem:s,selectionRange:l},Gt=!1,sl=null,ll=!1,qs=r;do{try{_l()}catch(e){if(null===qs)throw Error(a(330));Ll(qs,e),qs=qs.nextEffect}}while(null!==qs);sl=null,qs=r;do{try{for(s=e;null!==qs;){var b=qs.flags;if(16&b&&ve(qs.stateNode,""),128&b){var C=qs.alternate;if(null!==C){var A=C.ref;null!==A&&("function"==typeof A?A(null):A.current=null)}}switch(1038&b){case 2:bs(qs),qs.flags&=-3;break;case 6:bs(qs),qs.flags&=-3,Es(qs.alternate,qs);break;case 1024:qs.flags&=-1025;break;case 1028:qs.flags&=-1025,Es(qs.alternate,qs);break;case 4:Es(qs.alternate,qs);break;case 8:Ss(s,l=qs);var S=l.alternate;vs(l),null!==S&&vs(S)}qs=qs.nextEffect}}catch(e){if(null===qs)throw Error(a(330));Ll(qs,e),qs=qs.nextEffect}}while(null!==qs);if(A=zr,C=fr(),b=A.focusedElem,s=A.selectionRange,C!==b&&b&&b.ownerDocument&&hr(b.ownerDocument.documentElement,b)){null!==s&&mr(b)&&(C=s.start,void 0===(A=s.end)&&(A=C),"selectionStart"in b?(b.selectionStart=C,b.selectionEnd=Math.min(A,b.value.length)):(A=(C=b.ownerDocument||document)&&C.defaultView||window).getSelection&&(A=A.getSelection(),l=b.textContent.length,S=Math.min(s.start,l),s=void 0===s.end?S:Math.min(s.end,l),!A.extend&&S>s&&(l=s,s=S,S=l),l=pr(b,S),o=pr(b,s),l&&o&&(1!==A.rangeCount||A.anchorNode!==l.node||A.anchorOffset!==l.offset||A.focusNode!==o.node||A.focusOffset!==o.offset)&&((C=C.createRange()).setStart(l.node,l.offset),A.removeAllRanges(),S>s?(A.addRange(C),A.extend(o.node,o.offset)):(C.setEnd(o.node,o.offset),A.addRange(C))))),C=[];for(A=b;A=A.parentNode;)1===A.nodeType&&C.push({element:A,left:A.scrollLeft,top:A.scrollTop});for("function"==typeof b.focus&&b.focus(),b=0;b<C.length;b++)(A=C[b]).element.scrollLeft=A.left,A.element.scrollTop=A.top}Gt=!!Hr,zr=Hr=null,e.current=n,qs=r;do{try{for(b=e;null!==qs;){var E=qs.flags;if(36&E&&fs(b,qs.alternate,qs),128&E){C=void 0;var w=qs.ref;if(null!==w){var x=qs.stateNode;qs.tag,C=x,"function"==typeof w?w(C):w.current=C}}qs=qs.nextEffect}}catch(e){if(null===qs)throw Error(a(330));Ll(qs,e),qs=qs.nextEffect}}while(null!==qs);qs=null,Oi(),_s=i}else e.current=n;if(Xs)Xs=!1,Zs=e,Js=t;else for(qs=r;null!==qs;)t=qs.nextEffect,qs.nextEffect=null,8&qs.flags&&((E=qs).sibling=null,E.stateNode=null),qs=t;if(0===(r=e.pendingLanes)&&(Ys=null),1===r?e===rl?nl++:(nl=0,rl=e):nl=0,n=n.stateNode,Si&&"function"==typeof Si.onCommitFiberRoot)try{Si.onCommitFiberRoot(Ai,n,void 0,!(64&~n.current.flags))}catch(e){}if(hl(e,Vi()),Gs)throw Gs=!1,e=Ks,Ks=null,e;return 8&_s||qi(),null}function _l(){for(;null!==qs;){var e=qs.alternate;ll||null===sl||(8&qs.flags?Je(qs,sl)&&(ll=!0):13===qs.tag&&xs(e,qs)&&Je(qs,sl)&&(ll=!0));var t=qs.flags;256&t&&hs(e,qs),!(512&t)||Xs||(Xs=!0,$i(97,(function(){return Pl(),null}))),qs=qs.nextEffect}}function Pl(){if(90!==Js){var e=97<Js?97:Js;return Js=90,Wi(e,Rl)}return!1}function Dl(e,t){Qs.push(t,e),Xs||(Xs=!0,$i(97,(function(){return Pl(),null})))}function Bl(e,t){el.push(t,e),Xs||(Xs=!0,$i(97,(function(){return Pl(),null})))}function Rl(){if(null===Zs)return!1;var e=Zs;if(Zs=null,48&_s)throw Error(a(331));var t=_s;_s|=32;var n=el;el=[];for(var r=0;r<n.length;r+=2){var i=n[r],o=n[r+1],s=i.destroy;if(i.destroy=void 0,"function"==typeof s)try{s()}catch(e){if(null===o)throw Error(a(330));Ll(o,e)}}for(n=Qs,Qs=[],r=0;r<n.length;r+=2){i=n[r],o=n[r+1];try{var l=i.create;i.destroy=l()}catch(e){if(null===o)throw Error(a(330));Ll(o,e)}}for(l=e.current.firstEffect;null!==l;)e=l.nextEffect,l.nextEffect=null,8&l.flags&&(l.sibling=null,l.stateNode=null),l=e;return _s=t,qi(),!0}function Ml(e,t,n){co(e,t=cs(0,t=as(n,t),1)),t=cl(),null!==(e=pl(e,1))&&(Vt(e,1,t),hl(e,t))}function Ll(e,t){if(3===e.tag)Ml(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Ml(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Ys||!Ys.has(r))){var i=us(n,e=as(t,e),1);if(co(n,i),i=cl(),null!==(n=pl(n,1)))Vt(n,1,i),hl(n,i);else if("function"==typeof r.componentDidCatch&&(null===Ys||!Ys.has(r)))try{r.componentDidCatch(t,e)}catch(e){}break}}n=n.return}}function Ol(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=cl(),e.pingedLanes|=e.suspendedLanes&n,Ps===e&&(Bs&n)===n&&(4===Ls||3===Ls&&(62914560&Bs)===Bs&&500>Vi()-Us?bl(e,0):zs|=n),hl(e,t)}function Fl(e,t){var n=e.stateNode;null!==n&&n.delete(t),0==(t=0)&&(2&(t=e.mode)?4&t?(0===ol&&(ol=Fs),0===(t=Ht(62914560&~ol))&&(t=4194304)):t=99===Ui()?1:2:t=1),n=cl(),null!==(e=pl(e,t))&&(Vt(e,t,n),hl(e,n))}function Nl(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Hl(e,t,n,r){return new Nl(e,t,n,r)}function zl(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Vl(e,t){var n=e.alternate;return null===n?((n=Hl(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ul(e,t,n,r,i,o){var s=2;if(r=e,"function"==typeof e)zl(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case w:return jl(n.children,i,o,t);case O:s=8,i|=16;break;case x:s=8,i|=1;break;case I:return(e=Hl(12,n,t,8|i)).elementType=I,e.type=I,e.lanes=o,e;case P:return(e=Hl(13,n,t,i)).type=P,e.elementType=P,e.lanes=o,e;case D:return(e=Hl(19,n,t,i)).elementType=D,e.lanes=o,e;case F:return Wl(n,i,o,t);case N:return(e=Hl(24,n,t,i)).elementType=N,e.lanes=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case k:s=10;break e;case T:s=9;break e;case _:s=11;break e;case B:s=14;break e;case R:s=16,r=null;break e;case M:s=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Hl(s,n,t,i)).elementType=e,t.type=r,t.lanes=o,t}function jl(e,t,n,r){return(e=Hl(7,e,r,t)).lanes=n,e}function Wl(e,t,n,r){return(e=Hl(23,e,r,t)).elementType=F,e.lanes=n,e}function $l(e,t,n){return(e=Hl(6,e,null,t)).lanes=n,e}function ql(e,t,n){return(t=Hl(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Gl(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=zt(0),this.expirationTimes=zt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=zt(0),this.mutableSourceEagerHydrationData=null}function Kl(e,t,n,r){var i=t.current,o=cl(),s=ul(i);e:if(n){t:{if(Ye(n=n._reactInternals)!==n||1!==n.tag)throw Error(a(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(mi(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(a(171))}if(1===n.tag){var c=n.type;if(mi(c)){n=yi(n,c,l);break e}}n=l}else n=ui;return null===t.context?t.context=n:t.pendingContext=n,(t=lo(o,s)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),co(i,t),dl(i,s,o),s}function Yl(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Xl(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Zl(e,t){Xl(e,t),(e=e.alternate)&&Xl(e,t)}function Jl(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new Gl(e,t,null!=n&&!0===n.hydrate),t=Hl(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,ao(t),e[Jr]=n.current,Pr(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var i=(t=r[e])._getVersion;i=i(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,i]:n.mutableSourceEagerHydrationData.push(t,i)}this._internalRoot=n}function Ql(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function ec(e,t,n,r,i){var o=n._reactRootContainer;if(o){var a=o._internalRoot;if("function"==typeof i){var s=i;i=function(){var e=Yl(a);s.call(e)}}Kl(t,a,e,i)}else{if(o=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Jl(e,0,t?{hydrate:!0}:void 0)}(n,r),a=o._internalRoot,"function"==typeof i){var l=i;i=function(){var e=Yl(a);l.call(e)}}!function(e,t){var n=_s;_s&=-2,_s|=8;try{return e(t)}finally{0===(_s=n)&&(Ws(),qi())}}((function(){Kl(t,a,e,i)}))}return Yl(a)}$s=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||pi.current)La=!0;else{if(!(n&r)){switch(La=!1,t.tag){case 3:$a(t),qo();break;case 5:Mo(t);break;case 1:mi(t.type)&&bi(t);break;case 4:Bo(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var i=t.type._context;ci(Xi,i._currentValue),i._currentValue=r;break;case 13:if(null!==t.memoizedState)return n&t.child.childLanes?Za(e,t,n):(ci(Oo,1&Oo.current),null!==(t=ns(e,t,n))?t.sibling:null);ci(Oo,1&Oo.current);break;case 19:if(r=!!(n&t.childLanes),64&e.flags){if(r)return ts(e,t,n);t.flags|=64}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),ci(Oo,Oo.current),r)break;return null;case 23:case 24:return t.lanes=0,za(e,t,n)}return ns(e,t,n)}La=!!(16384&e.flags)}else La=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,i=fi(t,di.current),ro(t,n),i=oa(null,t,r,e,i,n),t.flags|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,mi(r)){var o=!0;bi(t)}else o=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,ao(t);var s=r.getDerivedStateFromProps;"function"==typeof s&&mo(t,r,s,e),i.updater=go,t.stateNode=i,i._reactInternals=t,Co(t,r,e,n),t=Wa(null,t,r,!0,o,n)}else t.tag=0,Oa(null,t,i,n),t=t.child;return t;case 16:i=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,i=(o=i._init)(i._payload),t.type=i,o=t.tag=function(e){if("function"==typeof e)return zl(e)?1:0;if(null!=e){if((e=e.$$typeof)===_)return 11;if(e===B)return 14}return 2}(i),e=Yi(i,e),o){case 0:t=Ua(null,t,i,e,n);break e;case 1:t=ja(null,t,i,e,n);break e;case 11:t=Fa(null,t,i,e,n);break e;case 14:t=Na(null,t,i,Yi(i.type,e),r,n);break e}throw Error(a(306,i,""))}return t;case 0:return r=t.type,i=t.pendingProps,Ua(e,t,r,i=t.elementType===r?i:Yi(r,i),n);case 1:return r=t.type,i=t.pendingProps,ja(e,t,r,i=t.elementType===r?i:Yi(r,i),n);case 3:if($a(t),r=t.updateQueue,null===e||null===r)throw Error(a(282));if(r=t.pendingProps,i=null!==(i=t.memoizedState)?i.element:null,so(e,t),po(t,r,null,n),(r=t.memoizedState.element)===i)qo(),t=ns(e,t,n);else{if((o=(i=t.stateNode).hydrate)&&(Ho=qr(t.stateNode.containerInfo.firstChild),No=t,o=zo=!0),o){if(null!=(e=i.mutableSourceEagerHydrationData))for(i=0;i<e.length;i+=2)(o=e[i])._workInProgressVersionPrimary=e[i+1],Go.push(o);for(n=Io(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Oa(e,t,r,n),qo();t=t.child}return t;case 5:return Mo(t),null===e&&jo(t),r=t.type,i=t.pendingProps,o=null!==e?e.memoizedProps:null,s=i.children,Ur(r,i)?s=null:null!==o&&Ur(r,o)&&(t.flags|=16),Va(e,t),Oa(e,t,s,n),t.child;case 6:return null===e&&jo(t),null;case 13:return Za(e,t,n);case 4:return Bo(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=xo(t,null,r,n):Oa(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,Fa(e,t,r,i=t.elementType===r?i:Yi(r,i),n);case 7:return Oa(e,t,t.pendingProps,n),t.child;case 8:case 12:return Oa(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,i=t.pendingProps,s=t.memoizedProps,o=i.value;var l=t.type._context;if(ci(Xi,l._currentValue),l._currentValue=o,null!==s)if(l=s.value,0==(o=lr(l,o)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(l,o):1073741823))){if(s.children===i.children&&!pi.current){t=ns(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var c=l.dependencies;if(null!==c){s=l.child;for(var u=c.firstContext;null!==u;){if(u.context===r&&u.observedBits&o){1===l.tag&&((u=lo(-1,n&-n)).tag=2,co(l,u)),l.lanes|=n,null!==(u=l.alternate)&&(u.lanes|=n),no(l.return,n),c.lanes|=n;break}u=u.next}}else s=10===l.tag&&l.type===t.type?null:l.child;if(null!==s)s.return=l;else for(s=l;null!==s;){if(s===t){s=null;break}if(null!==(l=s.sibling)){l.return=s.return,s=l;break}s=s.return}l=s}Oa(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=(o=t.pendingProps).children,ro(t,n),r=r(i=io(i,o.unstable_observedBits)),t.flags|=1,Oa(e,t,r,n),t.child;case 14:return o=Yi(i=t.type,t.pendingProps),Na(e,t,i,o=Yi(i.type,o),r,n);case 15:return Ha(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Yi(r,i),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,mi(r)?(e=!0,bi(t)):e=!1,ro(t,n),yo(t,r,i),Co(t,r,i,n),Wa(null,t,r,!0,e,n);case 19:return ts(e,t,n);case 23:case 24:return za(e,t,n)}throw Error(a(156,t.tag))},Jl.prototype.render=function(e){Kl(e,this._internalRoot,null,null)},Jl.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Kl(null,e,null,(function(){t[Jr]=null}))},Qe=function(e){13===e.tag&&(dl(e,4,cl()),Zl(e,4))},et=function(e){13===e.tag&&(dl(e,67108864,cl()),Zl(e,67108864))},tt=function(e){if(13===e.tag){var t=cl(),n=ul(e);dl(e,n,t),Zl(e,n)}},nt=function(e,t){return t()},Ie=function(e,t,n){switch(t){case"input":if(ne(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=ri(r);if(!i)throw Error(a(90));Z(r),ne(r,i)}}}break;case"textarea":ce(e,n);break;case"select":null!=(t=n.value)&&ae(e,!!n.multiple,t,!1)}},Be=function(e,t){var n=_s;_s|=1;try{return e(t)}finally{0===(_s=n)&&(Ws(),qi())}},Re=function(e,t,n,r,i){var o=_s;_s|=4;try{return Wi(98,e.bind(null,t,n,r,i))}finally{0===(_s=o)&&(Ws(),qi())}},Me=function(){!(49&_s)&&(function(){if(null!==tl){var e=tl;tl=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,hl(e,Vi())}))}qi()}(),Pl())},Le=function(e,t){var n=_s;_s|=2;try{return e(t)}finally{0===(_s=n)&&(Ws(),qi())}};var tc={findFiberByHostInstance:ei,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},nc={bundleType:tc.bundleType,version:tc.version,rendererPackageName:tc.rendererPackageName,rendererConfig:tc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:A.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=function(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ye(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(r=i.return)){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return Ze(i),e;if(o===r)return Ze(i),t;o=o.sibling}throw Error(a(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,l=i.child;l;){if(l===n){s=!0,n=i,r=o;break}if(l===r){s=!0,r=i,n=o;break}l=l.sibling}if(!s){for(l=o.child;l;){if(l===n){s=!0,n=o,r=i;break}if(l===r){s=!0,r=o,n=i;break}l=l.sibling}if(!s)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}(e))?null:e.stateNode},findFiberByHostInstance:tc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var rc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!rc.isDisabled&&rc.supportsFiber)try{Ai=rc.inject(nc),Si=rc}catch(me){}}t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Ql(t))throw Error(a(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:E,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.render=function(e,t,n){if(!Ql(t))throw Error(a(200));return ec(null,e,t,!1,n)}},7222:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.CardObject=t.ValidationResults=void 0;var a=n(1050),s=n(2378),l=n(3771),c=n(1391),u=n(5804),d=function(){function e(){this.allIds={},this.validationEvents=[]}return e.prototype.addFailure=function(e,t,n){this.validationEvents.push({phase:a.ValidationPhase.Validation,source:e,event:t,message:n})},e}();t.ValidationResults=d;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._shouldFallback=!1,t}return i(t,e),t.prototype.getSchemaKey=function(){return this.getJsonTypeName()},Object.defineProperty(t.prototype,"requires",{get:function(){return this.getValue(t.requiresProperty)},enumerable:!1,configurable:!0}),t.prototype.contains=function(e){return!!this._renderedElement&&this._renderedElement.contains(e)},t.prototype.preProcessPropertyValue=function(e,t){var n=void 0===t?this.getValue(e):t;if(l.GlobalSettings.allowPreProcessingPropertyValues){for(var r=this;r&&!r.onPreProcessPropertyValue;)r=r.parent;if(r&&r.onPreProcessPropertyValue)return r.onPreProcessPropertyValue(this,e,n)}return n},t.prototype.setParent=function(e){this._parent=e},t.prototype.setShouldFallback=function(e){this._shouldFallback=e},t.prototype.shouldFallback=function(){return this._shouldFallback||!this.requires.areAllMet(this.hostConfig.hostCapabilities)},t.prototype.getRootObject=function(){for(var e=this;e.parent;)e=e.parent;return e},t.prototype.internalValidateProperties=function(e){this.id&&(e.allIds.hasOwnProperty(this.id)?(1===e.allIds[this.id]&&e.addFailure(this,a.ValidationEvent.DuplicateId,s.Strings.errors.duplicateId(this.id)),e.allIds[this.id]+=1):e.allIds[this.id]=1)},t.prototype.validateProperties=function(){var e=new d;return this.internalValidateProperties(e),e},t.prototype.findDOMNodeOwner=function(e){return this.contains(e)?this:void 0},t.prototype.releaseDOMResources=function(){},Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderedElement",{get:function(){return this._renderedElement},enumerable:!1,configurable:!0}),t.typeNameProperty=new u.StringProperty(u.Versions.v1_0,"type",void 0,void 0,void 0,(function(e){return e.getJsonTypeName()})),t.idProperty=new u.StringProperty(u.Versions.v1_0,"id"),t.requiresProperty=new u.SerializableObjectProperty(u.Versions.v1_2,"requires",c.HostCapabilities,!1,new c.HostCapabilities),o([(0,u.property)(t.idProperty)],t.prototype,"id",void 0),o([(0,u.property)(t.requiresProperty)],t.prototype,"requires",null),t}(u.SerializableObject);t.CardObject=p},7403:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(5516),i=n.n(r),o=n(1364),a=n.n(o)()(i());a.push([e.id,'/* .rootContainer sits directly under #outlookAppHostRoot */\n.EQodOR8gbsjEUgjdH8xL {\n  flex: 1;\n  display: flex;\n  flex-direction: column;\n}\n\n/* .contentContainer holds the hosted content (app, card, etc) */\n.EHsj9c0rTf_ceHJS4FSa {\n  flex: 1;\n  display: flex;\n  flex-direction: column;\n  overflow: auto;\n  background-color: #ffffff;\n}\n\n.okO83cEKRprGBrYpzuax .EHsj9c0rTf_ceHJS4FSa {\n  background-color: #262626;\n}\n\n.EHsj9c0rTf_ceHJS4FSa > iframe {\n  display: block;\n}\n\n.u9lRHoEv99LjRvV847Mv {\n  width: 100%;\n  height: 100%;\n}\n\n.okO83cEKRprGBrYpzuax .u9lRHoEv99LjRvV847Mv {\n  background-color: #262626;\n  color: #ffffff;\n}\n\n.xo7bKL4KAE8fJjiPAEKZ {\n  position: absolute;\n  top: 50%;\n  left: 50%;\n  transform: translate(-50%, -50%);\n  text-align: center;\n}\n\n.voNsM7pLewtpBui5c3Mq {\n  font-family: "Segoe UI";\n  font-size: 14px;\n  text-align: center;\n}\n\n.A2ufXB4cMwlnDNgb3ix9 {\n  font-family: "Segoe UI";\n  font-size: 14px;\n  text-align: center;\n}\n\n.hHb8eAkGsSkJ0tMqvpe2 {\n  display: none;\n}\n\n.MKos7NIHJB12B8G7n3TL {\n  flex: none;\n  display: flex;\n  flex-direction: row;\n  align-items: center;\n  padding: 10px 16px;\n  -webkit-user-select: none;\n  user-select: none;\n  border-bottom: 1px solid #d1d1d1;\n}\n\n.okO83cEKRprGBrYpzuax .MKos7NIHJB12B8G7n3TL {\n  background-color: #262626;\n  color: #ffffff;\n  border-bottom-color: #3b3a39;\n}\n\n.MKos7NIHJB12B8G7n3TL .ZGbh_TIhG4P1r3gQee2S {\n  flex: none;\n  width: 28px;\n  height: 28px;\n  margin-inline-end: 12px;\n  background: white;\n  border: 0.5px solid #d2d0ce;\n  border-radius: 4px;\n}\n\n.okO83cEKRprGBrYpzuax .MKos7NIHJB12B8G7n3TL .ZGbh_TIhG4P1r3gQee2S {\n  border: 0.5px solid #1f1f1f;\n}\n\n@media screen and (-ms-high-contrast: black-on-white) {\n  /*\n   * On HC themes, we render the outline app icon in the header. The outline icon is white, however,\n   * so on black-on-white themes, it becomes invisible. Fix this here by setting the background color\n   * of the image back to black in this case.\n   */\n   .MKos7NIHJB12B8G7n3TL .ZGbh_TIhG4P1r3gQee2S {\n    background: windowText;\n  }\n}\n\n.MKos7NIHJB12B8G7n3TL .HNOwEmMqirddQ_eQDqxE {\n  flex: none;\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n}\n\n.MKos7NIHJB12B8G7n3TL .ROssaA7D9F1VkqZ3EOBR {\n  font-family: "Segoe UI";\n  color: #242424;\n  white-space: nowrap;\n}\n\n.okO83cEKRprGBrYpzuax .MKos7NIHJB12B8G7n3TL .ROssaA7D9F1VkqZ3EOBR {\n  color: #ffffff;\n}\n\n.MKos7NIHJB12B8G7n3TL .sxoDwIprdRf3HwiF1mfR {\n  font-size: 14px;\n  font-weight: bolder;\n  height: 20px;\n}\n\n.MKos7NIHJB12B8G7n3TL .rdAepbxUQfWxcwZqtWhd {\n  font-size: 12px;\n  height: 16px;\n}\n\n.MKos7NIHJB12B8G7n3TL .SbtmHhpL4ECZKsUmQnaB {\n  flex: none;\n  display: flex;\n  justify-content: flex-start;\n}\n\n.MKos7NIHJB12B8G7n3TL .QC8Cq8j9rmB2SxOOoC9u {\n  flex: none;\n  height: 28px;\n  width: 28px;\n  color: #666666;\n}\n\n.MKos7NIHJB12B8G7n3TL .QC8Cq8j9rmB2SxOOoC9u:not(:first-child) {\n  margin-inline-start: 10px;\n}\n\n.MKos7NIHJB12B8G7n3TL .QC8Cq8j9rmB2SxOOoC9u:focus,\n.MKos7NIHJB12B8G7n3TL .QC8Cq8j9rmB2SxOOoC9u:hover {\n  color: #242424;\n  background-color: #ff2800;\n}\n\n.okO83cEKRprGBrYpzuax .MKos7NIHJB12B8G7n3TL .QC8Cq8j9rmB2SxOOoC9u {\n  color: #808080;\n}\n\n.okO83cEKRprGBrYpzuax .MKos7NIHJB12B8G7n3TL .QC8Cq8j9rmB2SxOOoC9u:focus,\n.okO83cEKRprGBrYpzuax .MKos7NIHJB12B8G7n3TL .QC8Cq8j9rmB2SxOOoC9u:hover {\n  color: #ffffff;\n  background-color: #ff2800;\n}\n\n.c0QPtAd3xPf_gtbPDKSt {\n  flex: 1 1 0;\n  overflow-x: hidden;\n}\n\n.k2PaKo30siP5S6NVSAJb {\n  -webkit-user-select: none;\n  user-select: none;\n}\n\n.k2PaKo30siP5S6NVSAJb.okO83cEKRprGBrYpzuax {\n  background-color: #262626;\n  color: #ffffff;\n}\n\n.LTi1eVUPxzMrcZlY053Q {\n  padding: 20px;\n  font-family: "Segoe UI";\n  font-size: 14px;\n  text-align: center;\n}\n\n.tPswn4bVRwD3MnGDFJFV {\n  padding: 20px;\n  font-family: "Segoe UI";\n  font-size: 14px;\n  text-align: center;\n  color: #ff2800;\n}',"",{version:3,sources:["webpack://./src/styles.module.css"],names:[],mappings:"AAAA,2DAA2D;AAC3D;EACE,OAAO;EACP,aAAa;EACb,sBAAsB;AACxB;;AAEA,gEAAgE;AAChE;EACE,OAAO;EACP,aAAa;EACb,sBAAsB;EACtB,cAAc;EACd,yBAAyB;AAC3B;;AAEA;EACE,yBAAyB;AAC3B;;AAEA;EACE,cAAc;AAChB;;AAEA;EACE,WAAW;EACX,YAAY;AACd;;AAEA;EACE,yBAAyB;EACzB,cAAc;AAChB;;AAEA;EACE,kBAAkB;EAClB,QAAQ;EACR,SAAS;EACT,gCAAgC;EAChC,kBAAkB;AACpB;;AAEA;EACE,uBAAuB;EACvB,eAAe;EACf,kBAAkB;AACpB;;AAEA;EACE,uBAAuB;EACvB,eAAe;EACf,kBAAkB;AACpB;;AAEA;EACE,aAAa;AACf;;AAEA;EACE,UAAU;EACV,aAAa;EACb,mBAAmB;EACnB,mBAAmB;EACnB,kBAAkB;EAClB,yBAAyB;EACzB,iBAAiB;EACjB,gCAAgC;AAClC;;AAEA;EACE,yBAAyB;EACzB,cAAc;EACd,4BAA4B;AAC9B;;AAEA;EACE,UAAU;EACV,WAAW;EACX,YAAY;EACZ,uBAAuB;EACvB,iBAAiB;EACjB,2BAA2B;EAC3B,kBAAkB;AACpB;;AAEA;EACE,2BAA2B;AAC7B;;AAEA;EACE;;;;IAIE;GACD;IACC,sBAAsB;EACxB;AACF;;AAEA;EACE,UAAU;EACV,aAAa;EACb,sBAAsB;EACtB,uBAAuB;AACzB;;AAEA;EACE,uBAAuB;EACvB,cAAc;EACd,mBAAmB;AACrB;;AAEA;EACE,cAAc;AAChB;;AAEA;EACE,eAAe;EACf,mBAAmB;EACnB,YAAY;AACd;;AAEA;EACE,eAAe;EACf,YAAY;AACd;;AAEA;EACE,UAAU;EACV,aAAa;EACb,2BAA2B;AAC7B;;AAEA;EACE,UAAU;EACV,YAAY;EACZ,WAAW;EACX,cAAc;AAChB;;AAEA;EACE,yBAAyB;AAC3B;;AAEA;;EAEE,cAAc;EACd,yBAAyB;AAC3B;;AAEA;EACE,cAAc;AAChB;;AAEA;;EAEE,cAAc;EACd,yBAAyB;AAC3B;;AAEA;EACE,WAAW;EACX,kBAAkB;AACpB;;AAEA;EACE,yBAAyB;EACzB,iBAAiB;AACnB;;AAEA;EACE,yBAAyB;EACzB,cAAc;AAChB;;AAEA;EACE,aAAa;EACb,uBAAuB;EACvB,eAAe;EACf,kBAAkB;AACpB;;AAEA;EACE,aAAa;EACb,uBAAuB;EACvB,eAAe;EACf,kBAAkB;EAClB,cAAc;AAChB",sourcesContent:['/* .rootContainer sits directly under #outlookAppHostRoot */\r\n.rootContainer {\r\n  flex: 1;\r\n  display: flex;\r\n  flex-direction: column;\r\n}\r\n\r\n/* .contentContainer holds the hosted content (app, card, etc) */\r\n.contentContainer {\r\n  flex: 1;\r\n  display: flex;\r\n  flex-direction: column;\r\n  overflow: auto;\r\n  background-color: #ffffff;\r\n}\r\n\r\n.darkMode .contentContainer {\r\n  background-color: #262626;\r\n}\r\n\r\n.contentContainer > iframe {\r\n  display: block;\r\n}\r\n\r\n.imageContainer {\r\n  width: 100%;\r\n  height: 100%;\r\n}\r\n\r\n.darkMode .imageContainer {\r\n  background-color: #262626;\r\n  color: #ffffff;\r\n}\r\n\r\n.centerImage {\r\n  position: absolute;\r\n  top: 50%;\r\n  left: 50%;\r\n  transform: translate(-50%, -50%);\r\n  text-align: center;\r\n}\r\n\r\n.textLabel {\r\n  font-family: "Segoe UI";\r\n  font-size: 14px;\r\n  text-align: center;\r\n}\r\n\r\n.buttonText {\r\n  font-family: "Segoe UI";\r\n  font-size: 14px;\r\n  text-align: center;\r\n}\r\n\r\n.dialogLabel {\r\n  display: none;\r\n}\r\n\r\n.dialogHeader {\r\n  flex: none;\r\n  display: flex;\r\n  flex-direction: row;\r\n  align-items: center;\r\n  padding: 10px 16px;\r\n  -webkit-user-select: none;\r\n  user-select: none;\r\n  border-bottom: 1px solid #d1d1d1;\r\n}\r\n\r\n.darkMode .dialogHeader {\r\n  background-color: #262626;\r\n  color: #ffffff;\r\n  border-bottom-color: #3b3a39;\r\n}\r\n\r\n.dialogHeader .dialogHeaderImage {\r\n  flex: none;\r\n  width: 28px;\r\n  height: 28px;\r\n  margin-inline-end: 12px;\r\n  background: white;\r\n  border: 0.5px solid #d2d0ce;\r\n  border-radius: 4px;\r\n}\r\n\r\n.darkMode .dialogHeader .dialogHeaderImage {\r\n  border: 0.5px solid #1f1f1f;\r\n}\r\n\r\n@media screen and (-ms-high-contrast: black-on-white) {\r\n  /*\r\n   * On HC themes, we render the outline app icon in the header. The outline icon is white, however,\r\n   * so on black-on-white themes, it becomes invisible. Fix this here by setting the background color\r\n   * of the image back to black in this case.\r\n   */\r\n   .dialogHeader .dialogHeaderImage {\r\n    background: windowText;\r\n  }\r\n}\r\n\r\n.dialogHeader .dialogHeaderInfo {\r\n  flex: none;\r\n  display: flex;\r\n  flex-direction: column;\r\n  justify-content: center;\r\n}\r\n\r\n.dialogHeader .dialogHeaderText {\r\n  font-family: "Segoe UI";\r\n  color: #242424;\r\n  white-space: nowrap;\r\n}\r\n\r\n.darkMode .dialogHeader .dialogHeaderText {\r\n  color: #ffffff;\r\n}\r\n\r\n.dialogHeader .dialogHeaderAppName {\r\n  font-size: 14px;\r\n  font-weight: bolder;\r\n  height: 20px;\r\n}\r\n\r\n.dialogHeader .dialogHeaderTitle {\r\n  font-size: 12px;\r\n  height: 16px;\r\n}\r\n\r\n.dialogHeader .dialogHeaderRight {\r\n  flex: none;\r\n  display: flex;\r\n  justify-content: flex-start;\r\n}\r\n\r\n.dialogHeader .dialogChromeButton {\r\n  flex: none;\r\n  height: 28px;\r\n  width: 28px;\r\n  color: #666666;\r\n}\r\n\r\n.dialogHeader .dialogChromeButton:not(:first-child) {\r\n  margin-inline-start: 10px;\r\n}\r\n\r\n.dialogHeader .dialogChromeButton:focus,\r\n.dialogHeader .dialogChromeButton:hover {\r\n  color: #242424;\r\n  background-color: #ff2800;\r\n}\r\n\r\n.darkMode .dialogHeader .dialogChromeButton {\r\n  color: #808080;\r\n}\r\n\r\n.darkMode .dialogHeader .dialogChromeButton:focus,\r\n.darkMode .dialogHeader .dialogChromeButton:hover {\r\n  color: #ffffff;\r\n  background-color: #ff2800;\r\n}\r\n\r\n.popOutTabButtons {\r\n  flex: 1 1 0;\r\n  overflow-x: hidden;\r\n}\r\n\r\n.configPageButtonContainer {\r\n  -webkit-user-select: none;\r\n  user-select: none;\r\n}\r\n\r\n.configPageButtonContainer.darkMode {\r\n  background-color: #262626;\r\n  color: #ffffff;\r\n}\r\n\r\n.dialogMessage {\r\n  padding: 20px;\r\n  font-family: "Segoe UI";\r\n  font-size: 14px;\r\n  text-align: center;\r\n}\r\n\r\n.dialogError {\r\n  padding: 20px;\r\n  font-family: "Segoe UI";\r\n  font-size: 14px;\r\n  text-align: center;\r\n  color: #ff2800;\r\n}'],sourceRoot:""}]),a.locals={rootContainer:"EQodOR8gbsjEUgjdH8xL",contentContainer:"EHsj9c0rTf_ceHJS4FSa",darkMode:"okO83cEKRprGBrYpzuax",imageContainer:"u9lRHoEv99LjRvV847Mv",centerImage:"xo7bKL4KAE8fJjiPAEKZ",textLabel:"voNsM7pLewtpBui5c3Mq",buttonText:"A2ufXB4cMwlnDNgb3ix9",dialogLabel:"hHb8eAkGsSkJ0tMqvpe2",dialogHeader:"MKos7NIHJB12B8G7n3TL",dialogHeaderImage:"ZGbh_TIhG4P1r3gQee2S",dialogHeaderInfo:"HNOwEmMqirddQ_eQDqxE",dialogHeaderText:"ROssaA7D9F1VkqZ3EOBR",dialogHeaderAppName:"sxoDwIprdRf3HwiF1mfR",dialogHeaderTitle:"rdAepbxUQfWxcwZqtWhd",dialogHeaderRight:"SbtmHhpL4ECZKsUmQnaB",dialogChromeButton:"QC8Cq8j9rmB2SxOOoC9u",popOutTabButtons:"c0QPtAd3xPf_gtbPDKSt",configPageButtonContainer:"k2PaKo30siP5S6NVSAJb",dialogMessage:"LTi1eVUPxzMrcZlY053Q",dialogError:"tPswn4bVRwD3MnGDFJFV"};const s=a},7433:e=>{"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},7457:(e,t,n)=>{const r=n(9433);e.exports=(e,t)=>new r(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},7536:(e,t,n)=>{const r=n(9433);e.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(e){return null}}},7625:(e,t,n)=>{const r=n(2827),i=n(3961),o=n(330),a=n(1859),s=n(9245),l=n(3870);e.exports=(e,t,n,c)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return r(e,n,c);case"!=":return i(e,n,c);case">":return o(e,n,c);case">=":return a(e,n,c);case"<":return s(e,n,c);case"<=":return l(e,n,c);default:throw new TypeError(`Invalid operator: ${t}`)}}},7791:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.defaultHostConfig=t.HostConfig=t.CarouselConfig=t.FontTypeSet=t.FontTypeDefinition=t.ContainerStyleSet=t.ContainerStyleDefinition=t.ColorSetDefinition=t.ActionsConfig=t.ShowCardActionConfig=t.FactSetConfig=t.FactTitleDefinition=t.FactTextDefinition=t.InputConfig=t.InputLabelConfig=t.RequiredInputLabelTextDefinition=t.TextBlockConfig=t.TextStyleSet=t.TextStyleDefinition=t.BaseTextDefinition=t.TableConfig=t.MediaConfig=t.ImageSetConfig=t.AdaptiveCardConfig=t.TextColorDefinition=t.ColorDefinition=void 0;var o=n(1050),a=n(345),s=n(3771),l=n(1391);function c(e,t,n){if("string"==typeof t){var r=a.parseEnum(e,t,n);return void 0!==r?r:n}return"number"==typeof t?t:n}var u=function(){function e(e,t){this.default="#000000",this.subtle="#666666",e&&(this.default=e),t&&(this.subtle=t)}return e.prototype.parse=function(e){e&&(this.default=e.default||this.default,this.subtle=e.subtle||this.subtle)},e}();t.ColorDefinition=u;var d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.highlightColors=new u("#22000000","#11000000"),t}return i(t,e),t.prototype.parse=function(t){e.prototype.parse.call(this,t),t&&this.highlightColors.parse(t.highlightColors)},t}(u);t.TextColorDefinition=d;var p=function(e){this.allowCustomStyle=!1,e&&(this.allowCustomStyle=e.allowCustomStyle||this.allowCustomStyle)};t.AdaptiveCardConfig=p;var h=function(){function e(e){this.imageSize=o.Size.Medium,this.maxImageHeight=100,e&&(this.imageSize=null!=e.imageSize?e.imageSize:this.imageSize,this.maxImageHeight=a.parseNumber(e.maxImageHeight,100))}return e.prototype.toJSON=function(){return{imageSize:o.Size[this.imageSize],maxImageHeight:this.maxImageHeight}},e}();t.ImageSetConfig=h;var f=function(){function e(e){this.allowInlinePlayback=!0,e&&(this.defaultPoster=e.defaultPoster,this.allowInlinePlayback=e.allowInlinePlayback||this.allowInlinePlayback)}return e.prototype.toJSON=function(){return{defaultPoster:this.defaultPoster,allowInlinePlayback:this.allowInlinePlayback}},e}();t.MediaConfig=f;var m=function(){function e(e){this.cellSpacing=8,e&&(this.cellSpacing=e.cellSpacing&&"number"==typeof e.cellSpacing?e.cellSpacing:this.cellSpacing)}return e.prototype.toJSON=function(){return{cellSpacing:this.cellSpacing}},e}();t.TableConfig=m;var g=function(){function e(e){this.size=o.TextSize.Default,this.color=o.TextColor.Default,this.isSubtle=!1,this.weight=o.TextWeight.Default,this.parse(e)}return e.prototype.parse=function(e){e&&(this.size=c(o.TextSize,e.size,this.size),this.color=c(o.TextColor,e.color,this.color),this.isSubtle=void 0!==e.isSubtle&&"boolean"==typeof e.isSubtle?e.isSubtle:this.isSubtle,this.weight=c(o.TextWeight,e.weight,this.getDefaultWeight()))},e.prototype.getDefaultWeight=function(){return o.TextWeight.Default},e.prototype.toJSON=function(){return{size:o.TextSize[this.size],color:o.TextColor[this.color],isSubtle:this.isSubtle,weight:o.TextWeight[this.weight]}},e}();t.BaseTextDefinition=g;var v=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.fontType=o.FontType.Default,t}return i(t,e),t.prototype.parse=function(t){e.prototype.parse.call(this,t),t&&(this.fontType=c(o.FontType,t.fontType,this.fontType))},t}(g);t.TextStyleDefinition=v;var y=function(){function e(e){this.default=new v,this.heading=new v({size:"Large",weight:"Bolder"}),this.columnHeader=new v({weight:"Bolder"}),e&&(this.heading.parse(e.heading),this.columnHeader.parse(e.columnHeader))}return e.prototype.getStyleByName=function(e){switch(e.toLowerCase()){case"heading":return this.heading;case"columnHeader":return this.columnHeader;default:return this.default}},e}();t.TextStyleSet=y;var b=function(e){e&&(this.headingLevel=a.parseNumber(e.headingLevel))};t.TextBlockConfig=b;var C=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.suffix=" *",t.suffixColor=o.TextColor.Attention,t}return i(t,e),t.prototype.parse=function(t){e.prototype.parse.call(this,t),t&&(this.suffix=t.suffix||this.suffix,this.suffixColor=c(o.TextColor,t.suffixColor,this.suffixColor))},t.prototype.toJSON=function(){var t=e.prototype.toJSON.call(this);return t.suffix=this.suffix,t.suffixColor=o.TextColor[this.suffixColor],t},t}(g);t.RequiredInputLabelTextDefinition=C;var A=function(e){this.inputSpacing=o.Spacing.Small,this.width=30,this.requiredInputs=new C,this.optionalInputs=new g,e&&(this.inputSpacing=c(o.Spacing,e.inputSpacing,this.inputSpacing),this.requiredInputs=new C(e.requiredInputs),this.optionalInputs=new g(e.optionalInputs),this.width=null!=e.width?e.width:this.width)};t.InputLabelConfig=A;var S=function(e){this.label=new A,this.errorMessage=new g({color:o.TextColor.Attention}),this.debounceTimeInMilliSeconds=0,this.allowRevealOnHoverStyle=!1,e&&(this.label=new A(e.label),this.errorMessage=new g(e.errorMessage),this.allowRevealOnHoverStyle=e.allowRevealOnHoverStyle||this.allowRevealOnHoverStyle,this.debounceTimeInMilliSeconds=e.debounceTimeInMilliSeconds)};t.InputConfig=S;var E=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.wrap=!0,t}return i(t,e),t.prototype.parse=function(t){e.prototype.parse.call(this,t),t&&(this.wrap=null!=t.wrap?t.wrap:this.wrap)},t.prototype.toJSON=function(){var t=e.prototype.toJSON.call(this);return t.wrap=this.wrap,t},t}(g);t.FactTextDefinition=E;var w=function(e){function t(t){var n=e.call(this,t)||this;return n.maxWidth=150,n.weight=o.TextWeight.Bolder,t&&(n.maxWidth=null!=t.maxWidth?t.maxWidth:n.maxWidth,n.weight=c(o.TextWeight,t.weight,o.TextWeight.Bolder)),n}return i(t,e),t.prototype.getDefaultWeight=function(){return o.TextWeight.Bolder},t}(E);t.FactTitleDefinition=w;var x=function(e){this.title=new w,this.value=new E,this.spacing=10,e&&(this.title=new w(e.title),this.value=new E(e.value),this.spacing=e.spacing&&null!=e.spacing?e.spacing&&e.spacing:this.spacing)};t.FactSetConfig=x;var I=function(){function e(e){this.actionMode=o.ShowCardActionMode.Inline,this.inlineTopMargin=16,this.style=o.ContainerStyle.Emphasis,e&&(this.actionMode=c(o.ShowCardActionMode,e.actionMode,o.ShowCardActionMode.Inline),this.inlineTopMargin=null!=e.inlineTopMargin?e.inlineTopMargin:this.inlineTopMargin,this.style=e.style&&"string"==typeof e.style?e.style:o.ContainerStyle.Emphasis)}return e.prototype.toJSON=function(){return{actionMode:o.ShowCardActionMode[this.actionMode],inlineTopMargin:this.inlineTopMargin,style:this.style}},e}();t.ShowCardActionConfig=I;var k=function(){function e(e){if(this.maxActions=5,this.spacing=o.Spacing.Default,this.buttonSpacing=20,this.showCard=new I,this.preExpandSingleShowCardAction=!1,this.actionsOrientation=o.Orientation.Horizontal,this.actionAlignment=o.ActionAlignment.Left,this.iconPlacement=o.ActionIconPlacement.LeftOfTitle,this.allowTitleToWrap=!1,this.iconSize=16,e){this.maxActions=null!=e.maxActions?e.maxActions:this.maxActions,this.spacing=c(o.Spacing,e.spacing&&e.spacing,o.Spacing.Default),this.buttonSpacing=null!=e.buttonSpacing?e.buttonSpacing:this.buttonSpacing,this.showCard=new I(e.showCard),this.preExpandSingleShowCardAction=a.parseBool(e.preExpandSingleShowCardAction,!1),this.actionsOrientation=c(o.Orientation,e.actionsOrientation,o.Orientation.Horizontal),this.actionAlignment=c(o.ActionAlignment,e.actionAlignment,o.ActionAlignment.Left),this.iconPlacement=c(o.ActionIconPlacement,e.iconPlacement,o.ActionIconPlacement.LeftOfTitle),this.allowTitleToWrap=null!=e.allowTitleToWrap?e.allowTitleToWrap:this.allowTitleToWrap;try{var t=s.SizeAndUnit.parse(e.iconSize);t.unit===o.SizeUnit.Pixel&&(this.iconSize=t.physicalSize)}catch(e){}}}return e.prototype.toJSON=function(){return{maxActions:this.maxActions,spacing:o.Spacing[this.spacing],buttonSpacing:this.buttonSpacing,showCard:this.showCard,preExpandSingleShowCardAction:this.preExpandSingleShowCardAction,actionsOrientation:o.Orientation[this.actionsOrientation],actionAlignment:o.ActionAlignment[this.actionAlignment]}},e}();t.ActionsConfig=k;var T=function(){function e(e){this.default=new d,this.dark=new d,this.light=new d,this.accent=new d,this.good=new d,this.warning=new d,this.attention=new d,this.parse(e)}return e.prototype.parseSingleColor=function(e,t){e&&this[t].parse(e[t])},e.prototype.parse=function(e){e&&(this.parseSingleColor(e,"default"),this.parseSingleColor(e,"dark"),this.parseSingleColor(e,"light"),this.parseSingleColor(e,"accent"),this.parseSingleColor(e,"good"),this.parseSingleColor(e,"warning"),this.parseSingleColor(e,"attention"))},e}();t.ColorSetDefinition=T;var _=function(){function e(e){this.foregroundColors=new T({default:{default:"#333333",subtle:"#EE333333"},dark:{default:"#000000",subtle:"#66000000"},light:{default:"#FFFFFF",subtle:"#33000000"},accent:{default:"#2E89FC",subtle:"#882E89FC"},good:{default:"#028A02",subtle:"#DD027502"},warning:{default:"#E69500",subtle:"#DDE69500"},attention:{default:"#CC3300",subtle:"#DDCC3300"}}),this.parse(e)}return e.prototype.parse=function(e){e&&(this.backgroundColor=e.backgroundColor,this.foregroundColors.parse(e.foregroundColors),this.highlightBackgroundColor=e.highlightBackgroundColor,this.highlightForegroundColor=e.highlightForegroundColor,this.borderColor=e.borderColor)},Object.defineProperty(e.prototype,"isBuiltIn",{get:function(){return!1},enumerable:!1,configurable:!0}),e}();t.ContainerStyleDefinition=_;var P=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),Object.defineProperty(t.prototype,"isBuiltIn",{get:function(){return!0},enumerable:!1,configurable:!0}),t}(_),D=function(){function e(e){if(this._allStyles={},this._allStyles[o.ContainerStyle.Default]=new P,this._allStyles[o.ContainerStyle.Emphasis]=new P,this._allStyles[o.ContainerStyle.Accent]=new P,this._allStyles[o.ContainerStyle.Good]=new P,this._allStyles[o.ContainerStyle.Attention]=new P,this._allStyles[o.ContainerStyle.Warning]=new P,e){this._allStyles[o.ContainerStyle.Default].parse(e[o.ContainerStyle.Default]),this._allStyles[o.ContainerStyle.Emphasis].parse(e[o.ContainerStyle.Emphasis]),this._allStyles[o.ContainerStyle.Accent].parse(e[o.ContainerStyle.Accent]),this._allStyles[o.ContainerStyle.Good].parse(e[o.ContainerStyle.Good]),this._allStyles[o.ContainerStyle.Attention].parse(e[o.ContainerStyle.Attention]),this._allStyles[o.ContainerStyle.Warning].parse(e[o.ContainerStyle.Warning]);var t=e.customStyles;if(t&&Array.isArray(t))for(var n=0,r=t;n<r.length;n++){var i=r[n];if(i){var a=i.name;a&&"string"==typeof a&&(this._allStyles.hasOwnProperty(a)?this._allStyles[a].parse(i.style):this._allStyles[a]=new _(i.style))}}}}return e.prototype.toJSON=function(){var e=this,t=[];Object.keys(this._allStyles).forEach((function(n){e._allStyles[n].isBuiltIn||t.push({name:n,style:e._allStyles[n]})}));var n={default:this.default,emphasis:this.emphasis};return t.length>0&&(n.customStyles=t),n},e.prototype.getStyleByName=function(e,t){return e&&this._allStyles.hasOwnProperty(e)?this._allStyles[e]:t||this._allStyles[o.ContainerStyle.Default]},Object.defineProperty(e.prototype,"default",{get:function(){return this._allStyles[o.ContainerStyle.Default]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"emphasis",{get:function(){return this._allStyles[o.ContainerStyle.Emphasis]},enumerable:!1,configurable:!0}),e}();t.ContainerStyleSet=D;var B=function(){function e(e){this.fontFamily="Segoe UI,Segoe,Segoe WP,Helvetica Neue,Helvetica,sans-serif",this.fontSizes={small:12,default:14,medium:17,large:21,extraLarge:26},this.fontWeights={lighter:200,default:400,bolder:600},e&&(this.fontFamily=e)}return e.prototype.parse=function(e){this.fontFamily=e.fontFamily||this.fontFamily,this.fontSizes={small:e.fontSizes&&e.fontSizes.small||this.fontSizes.small,default:e.fontSizes&&e.fontSizes.default||this.fontSizes.default,medium:e.fontSizes&&e.fontSizes.medium||this.fontSizes.medium,large:e.fontSizes&&e.fontSizes.large||this.fontSizes.large,extraLarge:e.fontSizes&&e.fontSizes.extraLarge||this.fontSizes.extraLarge},this.fontWeights={lighter:e.fontWeights&&e.fontWeights.lighter||this.fontWeights.lighter,default:e.fontWeights&&e.fontWeights.default||this.fontWeights.default,bolder:e.fontWeights&&e.fontWeights.bolder||this.fontWeights.bolder}},e.monospace=new e("'Courier New', Courier, monospace"),e}();t.FontTypeDefinition=B;var R=function(){function e(e){this.default=new B,this.monospace=new B("'Courier New', Courier, monospace"),e&&(this.default.parse(e.default),this.monospace.parse(e.monospace))}return e.prototype.getStyleDefinition=function(e){switch(e){case o.FontType.Monospace:return this.monospace;case o.FontType.Default:default:return this.default}},e}();t.FontTypeSet=R;var M=function(){function e(e){this.maxCarouselPages=10,this.minAutoplayDelay=5e3,e&&(this.maxCarouselPages=null!=e.maxCarouselPages?e.maxCarouselPages:this.maxCarouselPages,this.minAutoplayDelay=null!=e.minAutoplayDelay?e.minAutoplayDelay:this.minAutoplayDelay)}return e.prototype.toJSON=function(){return{maxCarouselPages:this.maxCarouselPages,minAutoplayDelay:this.minAutoplayDelay}},e}();t.CarouselConfig=M;var L=function(){function e(e){this.hostCapabilities=new l.HostCapabilities,this.choiceSetInputValueSeparator=",",this.supportsInteractivity=!0,this.spacing={small:3,default:8,medium:20,large:30,extraLarge:40,padding:15},this.separator={lineThickness:1,lineColor:"#EEEEEE"},this.imageSizes={small:40,medium:80,large:160},this.containerStyles=new D,this.inputs=new S,this.actions=new k,this.adaptiveCard=new p,this.imageSet=new h,this.media=new f,this.factSet=new x,this.table=new m,this.textStyles=new y,this.textBlock=new b,this.carousel=new M,this.alwaysAllowBleed=!1,e&&(("string"==typeof e||e instanceof String)&&(e=JSON.parse(e)),this.choiceSetInputValueSeparator=e&&"string"==typeof e.choiceSetInputValueSeparator?e.choiceSetInputValueSeparator:this.choiceSetInputValueSeparator,this.supportsInteractivity=e&&"boolean"==typeof e.supportsInteractivity?e.supportsInteractivity:this.supportsInteractivity,this._legacyFontType=new B,this._legacyFontType.parse(e),e.fontTypes&&(this.fontTypes=new R(e.fontTypes)),e.lineHeights&&(this.lineHeights={small:e.lineHeights.small,default:e.lineHeights.default,medium:e.lineHeights.medium,large:e.lineHeights.large,extraLarge:e.lineHeights.extraLarge}),this.imageSizes={small:e.imageSizes&&e.imageSizes.small||this.imageSizes.small,medium:e.imageSizes&&e.imageSizes.medium||this.imageSizes.medium,large:e.imageSizes&&e.imageSizes.large||this.imageSizes.large},this.containerStyles=new D(e.containerStyles),this.spacing={small:e.spacing&&e.spacing.small||this.spacing.small,default:e.spacing&&e.spacing.default||this.spacing.default,medium:e.spacing&&e.spacing.medium||this.spacing.medium,large:e.spacing&&e.spacing.large||this.spacing.large,extraLarge:e.spacing&&e.spacing.extraLarge||this.spacing.extraLarge,padding:e.spacing&&e.spacing.padding||this.spacing.padding},this.separator={lineThickness:e.separator&&e.separator.lineThickness||this.separator.lineThickness,lineColor:e.separator&&e.separator.lineColor||this.separator.lineColor},this.inputs=new S(e.inputs||this.inputs),this.actions=new k(e.actions||this.actions),this.adaptiveCard=new p(e.adaptiveCard||this.adaptiveCard),this.imageSet=new h(e.imageSet),this.factSet=new x(e.factSet),this.textStyles=new y(e.textStyles),this.textBlock=new b(e.textBlock),this.carousel=new M(e.carousel))}return e.prototype.getFontTypeDefinition=function(e){return this.fontTypes?this.fontTypes.getStyleDefinition(e):e===o.FontType.Monospace?B.monospace:this._legacyFontType},e.prototype.getEffectiveSpacing=function(e){switch(e){case o.Spacing.Small:return this.spacing.small;case o.Spacing.Default:return this.spacing.default;case o.Spacing.Medium:return this.spacing.medium;case o.Spacing.Large:return this.spacing.large;case o.Spacing.ExtraLarge:return this.spacing.extraLarge;case o.Spacing.Padding:return this.spacing.padding;default:return 0}},e.prototype.paddingDefinitionToSpacingDefinition=function(e){return new s.SpacingDefinition(this.getEffectiveSpacing(e.top),this.getEffectiveSpacing(e.right),this.getEffectiveSpacing(e.bottom),this.getEffectiveSpacing(e.left))},e.prototype.makeCssClassNames=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=[],r=0,i=e;r<i.length;r++){var o=i[r];n.push((this.cssClassNamePrefix?this.cssClassNamePrefix+"-":"")+o)}return n},e.prototype.makeCssClassName=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this.makeCssClassNames.apply(this,e).join(" ")||""},Object.defineProperty(e.prototype,"fontFamily",{get:function(){return this._legacyFontType.fontFamily},set:function(e){this._legacyFontType.fontFamily=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"fontSizes",{get:function(){return this._legacyFontType.fontSizes},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"fontWeights",{get:function(){return this._legacyFontType.fontWeights},enumerable:!1,configurable:!0}),e}();t.HostConfig=L,t.defaultHostConfig=new L({supportsInteractivity:!0,spacing:{small:10,default:20,medium:30,large:40,extraLarge:50,padding:20},separator:{lineThickness:1,lineColor:"#EEEEEE"},fontTypes:{default:{fontFamily:"'Segoe UI', Tahoma, Geneva, Verdana, sans-serif",fontSizes:{small:12,default:14,medium:17,large:21,extraLarge:26},fontWeights:{lighter:200,default:400,bolder:600}},monospace:{fontFamily:"'Courier New', Courier, monospace",fontSizes:{small:12,default:14,medium:17,large:21,extraLarge:26},fontWeights:{lighter:200,default:400,bolder:600}}},imageSizes:{small:40,medium:80,large:160},containerStyles:{default:{backgroundColor:"#FFFFFF",foregroundColors:{default:{default:"#333333",subtle:"#EE333333"},dark:{default:"#000000",subtle:"#66000000"},light:{default:"#FFFFFF",subtle:"#33000000"},accent:{default:"#2E89FC",subtle:"#882E89FC"},attention:{default:"#cc3300",subtle:"#DDcc3300"},good:{default:"#028A02",subtle:"#DD027502"},warning:{default:"#e69500",subtle:"#DDe69500"}}},emphasis:{backgroundColor:"#08000000",foregroundColors:{default:{default:"#333333",subtle:"#EE333333"},dark:{default:"#000000",subtle:"#66000000"},light:{default:"#FFFFFF",subtle:"#33000000"},accent:{default:"#2E89FC",subtle:"#882E89FC"},attention:{default:"#cc3300",subtle:"#DDcc3300"},good:{default:"#028A02",subtle:"#DD027502"},warning:{default:"#e69500",subtle:"#DDe69500"}}},accent:{backgroundColor:"#C7DEF9",foregroundColors:{default:{default:"#333333",subtle:"#EE333333"},dark:{default:"#000000",subtle:"#66000000"},light:{default:"#FFFFFF",subtle:"#33000000"},accent:{default:"#2E89FC",subtle:"#882E89FC"},attention:{default:"#cc3300",subtle:"#DDcc3300"},good:{default:"#028A02",subtle:"#DD027502"},warning:{default:"#e69500",subtle:"#DDe69500"}}},good:{backgroundColor:"#CCFFCC",foregroundColors:{default:{default:"#333333",subtle:"#EE333333"},dark:{default:"#000000",subtle:"#66000000"},light:{default:"#FFFFFF",subtle:"#33000000"},accent:{default:"#2E89FC",subtle:"#882E89FC"},attention:{default:"#cc3300",subtle:"#DDcc3300"},good:{default:"#028A02",subtle:"#DD027502"},warning:{default:"#e69500",subtle:"#DDe69500"}}},attention:{backgroundColor:"#FFC5B2",foregroundColors:{default:{default:"#333333",subtle:"#EE333333"},dark:{default:"#000000",subtle:"#66000000"},light:{default:"#FFFFFF",subtle:"#33000000"},accent:{default:"#2E89FC",subtle:"#882E89FC"},attention:{default:"#cc3300",subtle:"#DDcc3300"},good:{default:"#028A02",subtle:"#DD027502"},warning:{default:"#e69500",subtle:"#DDe69500"}}},warning:{backgroundColor:"#FFE2B2",foregroundColors:{default:{default:"#333333",subtle:"#EE333333"},dark:{default:"#000000",subtle:"#66000000"},light:{default:"#FFFFFF",subtle:"#33000000"},accent:{default:"#2E89FC",subtle:"#882E89FC"},attention:{default:"#cc3300",subtle:"#DDcc3300"},good:{default:"#028A02",subtle:"#DD027502"},warning:{default:"#e69500",subtle:"#DDe69500"}}}},inputs:{label:{requiredInputs:{weight:o.TextWeight.Bolder,suffix:" *",suffixColor:o.TextColor.Attention},optionalInputs:{weight:o.TextWeight.Bolder}},errorMessage:{color:o.TextColor.Attention,weight:o.TextWeight.Bolder},debounceTimeInMilliSeconds:250},actions:{maxActions:5,spacing:o.Spacing.Default,buttonSpacing:10,showCard:{actionMode:o.ShowCardActionMode.Inline,inlineTopMargin:16},actionsOrientation:o.Orientation.Horizontal,actionAlignment:o.ActionAlignment.Left},adaptiveCard:{allowCustomStyle:!1},imageSet:{imageSize:o.Size.Medium,maxImageHeight:100},factSet:{title:{color:o.TextColor.Default,size:o.TextSize.Default,isSubtle:!1,weight:o.TextWeight.Bolder,wrap:!0,maxWidth:150},value:{color:o.TextColor.Default,size:o.TextSize.Default,isSubtle:!1,weight:o.TextWeight.Default,wrap:!0},spacing:10},carousel:{maxCarouselPages:10,minAutoplayDuration:5e3},textBlock:{headingLevel:2}})},7810:(e,t,n)=>{"use strict";e.exports=n(5677)},8301:(e,t,n)=>{const r=n(9789);e.exports=(e,t,n)=>r(e,t,">",n)},8366:e=>{"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAABFhJREFUWAnNmUtIVFEYx//njm/H1AolS4y0gmoTUUQtImhvSRFE1C7CatMTIcoiiOixKhftijZRGK7aFBE9iELaRFBpFJWWmFaOj9GZOX3/c8eZO+PNx+SdmQ90nHvnnO8359xzzvf/q5BqnPxQi3CkHtBroFEFpaukK/4wuqBVF5S8QrXDZ7Xh3NJO+9bMfqsZfby5owKjoYPQeptArXK2LchRWFCSYy51D4QwEtLO28KJN1DqHvJyrqK5rifx5r/fTQ+wucePkf4jUJGjAub3SauNNYWoX1GCLXVFWFSai7lFvoQsfUNhfP09hgcdQ2h7O4Bnn4cRJrNCANq6hILyy2iuCCQ0cnkzNWDT+wYg3CJglXPyLZzYNBf71pVhfrE9Wi59ul7qHQzh+stfuPC4D3+CEYL+AHyNOL+s1bVB9OK/AbVWaHp/Sp6x03k+rRrXl+Pk5vmYV5w4UpN17nbv52AY5x71ouVFP0bDSsZUnRHIszL9Sc+E3dod8MqXQvQM3hC4HZV+H1p3L8SGmiK3fClfe/55CA23vuFHICx9qDuoKN6Lw9XDyR1ayRdkAahxuNUL8vHqwOJZh2NOfmH2zRwcCJOTuZNi4nwFd52WBgfY8Mn+mhk/a0n9T/q2tMCH3atLcf9dAN8DoZV42Kfx9OpjZ6NEYi4IHblb6bcUv111Wa7zs579/eXXGNZe+yTTHdFQ1nbnwolPMbcSWa1cEHzm0gXHb81czMncZscwLPZ4xAG5z8lWwtU62wtiOkPPnMxNBrPnRhvZU8wTIjjWOSfP8n88VvvfW8l0gNw+wy1oycVO/BmNBJCfW8sTxx7BYOgQTwhuwv+7z7klnu415iYDWcyRKg2jU6y38vjiCZHpIANZzHlvAFmVyMHPs3Wmx5cXX4YMZCEThM2ySyaYg9+LhKn0ySLEhJRzMsVSz0mwKsmWiLPoNZYMpSky07nvTTUQMRZhs1gJs9gsL5x46k3VkVf3yUImsnEVV41Xwl4lTKXfKJMAavc6LJVOZ72NsHGKu6khsi0Mk7BxBLsocPqHWThmR1DPGNElbDKClIYAS55sCYotE8Imi0R0qwTVV7ZEnEW1W0ZUCxmlYbZEjEUEv2UUv4hq6lZKw0wHGchihL64EXY1I4qfopq6NdNBBlvgiwshYQPSjhDFT1HNojFTwdxkIIuxSGKA9ErEjqDip6jOVDC3cR1ojUT9G3sESUSvROwIKn6K6nQHczI3GQxLFCAOaIwcXyPtCCr+dO6LzMWcthUifo3DVIoDktgYOeoM7Yj6m18xOComj8fBHMwVtUDo0ySYSbaqc0IY0+jdbSlkd9BdaNuzyDONzJEj3OvuoBCIP3N++c5kEylxBAlKl4lGjjRgQyp+L55J9sm+Y3DM6eJwTRzB8dHMavttHJKvDgOzVAzM41ljYDohp7CAqSGSJQPLNz5j3lvACaC0SMSFgN5qdKvjXmZNdAdI7M80/RviL5eWC7SyM/fYAAAAAElFTkSuQmCC"},8465:e=>{"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAAAOVJREFUWAntmLENwlAMRO9HCLECC5Bh2IE1iChQRAF7MAOwCgoLsEKElHxim0h0pjIpzgUFLu7pfTc5YGKTlKfOc7TNASlvkLEMZUx4IqczFuUedXrNNFxgkLcDTPyogCG7bSS7MiAzA6RijVN5C6XaPdbou4u+zgBUaPj4TNEwEn5cXb8ZDEj/mcYPgbx3oCEa8gx4e94QDXkGvD1viIY8A96eN0RDngFvzxuiIc+At+cN0ZBnwNvbDUklIiMf/tEzZn4YrP2QfkbqGGkhqnssUt9ZnjIABiRlkfQz/y6sYlX8lvYG5l47/xbUu7kAAAAASUVORK5CYII="},8496:e=>{e.exports="data:image/svg+xml,%3csvg width='160' height='160' viewBox='0 0 160 160' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cpath d='M131.319 98.9017C131.319 132.646 103.964 160.001 70.2201 160.001C36.4761 160.001 9.12109 132.646 9.12109 98.9017C9.12109 65.1577 36.4761 37.8027 70.2201 37.8027C103.964 37.8027 131.319 65.1577 131.319 98.9017Z' fill='%23FFD590'/%3e %3cpath d='M70.2195 37.8027C103.964 37.8027 131.319 65.1567 131.319 98.9017C131.319 106.322 129.994 113.431 127.571 120.01C119.332 128.044 108.837 133.775 97.1227 136.152C97.3155 136.943 97.4183 137.771 97.4183 138.623C97.4183 144.346 92.7783 148.984 87.0573 148.984C81.3353 148.984 76.6963 144.346 76.6963 138.623C76.6963 138.015 76.7487 137.419 76.8492 136.84C55.7367 134.052 38.0233 120.483 29.4221 101.844C23.9127 101.605 19.5195 97.0635 19.5195 91.4951C19.5195 87.8794 21.3719 84.6965 24.1793 82.8432C23.9479 80.6852 23.8295 78.4928 23.8295 76.2727C23.8295 68.8527 25.1545 61.7417 27.5765 55.1627C38.5875 44.4267 53.6265 37.8027 70.2195 37.8027Z' fill='%23FFE5B9'/%3e %3cpath d='M65.372 66.1313C65.372 72.6073 60.122 77.8583 53.645 77.8583C47.169 77.8583 41.918 72.6073 41.918 66.1313C41.918 59.6543 47.169 54.4033 53.645 54.4033C60.122 54.4033 65.372 59.6543 65.372 66.1313Z' fill='%23FFD590'/%3e %3cpath d='M82.7698 106.014C82.7698 111.736 78.1308 116.374 72.4098 116.374C66.6868 116.374 62.0488 111.736 62.0488 106.014C62.0488 100.291 66.6868 95.6533 72.4098 95.6533C78.1308 95.6533 82.7698 100.291 82.7698 106.014Z' fill='%23FFD590'/%3e %3cpath d='M117.936 114.968C117.936 117.958 115.512 120.382 112.522 120.382C109.533 120.382 107.109 117.958 107.109 114.968C107.109 111.979 109.533 109.555 112.522 109.555C115.512 109.555 117.936 111.979 117.936 114.968Z' fill='%23FFD590'/%3e %3cpath d='M93.113 138.623C93.113 141.969 90.401 144.68 87.056 144.68C83.712 144.68 81 141.969 81 138.623C81 135.278 83.712 132.566 87.056 132.566C90.401 132.566 93.113 135.278 93.113 138.623Z' fill='%23FFD590'/%3e %3cpath d='M35.9372 91.4955C35.9372 94.8405 33.2262 97.5525 29.8802 97.5525C26.5362 97.5525 23.8242 94.8405 23.8242 91.4955C23.8242 88.1505 26.5362 85.4385 29.8802 85.4385C33.2262 85.4385 35.9372 88.1505 35.9372 91.4955Z' fill='%23FFD590'/%3e %3cpath d='M80.9734 0C79.8464 1.892 78.4434 4.477 78.4434 8.93C78.4434 13.65 80.0224 16.281 81.1744 18.202C82.1244 19.787 82.6984 20.744 82.6984 23.12C82.6984 25.492 82.1254 26.449 81.1744 28.032C80.0224 29.953 78.4434 32.583 78.4434 37.3C78.4434 42.016 80.0224 44.648 81.1744 46.568C82.1254 48.153 82.6984 49.109 82.6984 51.483C82.6984 53.857 82.1254 54.812 81.1744 56.396C80.0224 58.316 78.4434 60.945 78.4434 65.663C78.4434 70.38 81.9014 71.58 81.9014 71.58L86.9044 65.663C86.9044 63.29 87.4784 62.334 88.4284 60.75C89.5814 58.83 91.1604 56.201 91.1604 51.483C91.1604 46.766 89.5814 44.135 88.4284 42.215C87.4784 40.63 86.9044 39.673 86.9044 37.3C86.9044 34.927 87.4784 33.969 88.4284 32.387C89.5814 30.467 91.1604 27.837 91.1604 23.12C91.1604 18.401 89.5814 15.77 88.4294 13.85C87.4784 12.264 86.9044 11.306 86.9044 8.93C86.9044 6.555 87.4784 5.598 88.4294 4.013C89.0584 2.965 89.8054 1.692 90.3624 0H80.9734Z' fill='url(%23paint0_linear)'/%3e %3cpath d='M119.043 71.2471C125.557 77.7611 148.673 65.1521 148.673 65.1521L135.434 51.9141C135.434 51.9141 112.528 64.7321 119.043 71.2471Z' fill='%233E8EED'/%3e %3cpath d='M94.6811 46.8849C88.1671 40.3709 100.776 17.2549 100.776 17.2549L114.014 30.4939C114.014 30.4939 101.196 53.3999 94.6811 46.8849Z' fill='%233E8EED'/%3e %3cpath d='M80.5631 86.0717C84.6764 90.5717 105.067 86.6134 127.034 69.6872C134.098 64.2442 144.416 49.2458 144.416 49.2458L116.817 23.502C116.817 23.502 101.406 35.099 95.7208 42.4841C79.9574 62.9614 76.5679 81.7009 80.5631 86.0717Z' fill='url(%23paint1_linear)'/%3e %3cpath d='M118.266 19.6472L146.265 47.6462C147.585 48.9672 147.585 51.1082 146.265 52.4292C144.945 53.7502 142.803 53.7502 141.483 52.4292L113.483 24.4292C112.162 23.1092 112.162 20.9672 113.483 19.6472C114.804 18.3272 116.945 18.3272 118.266 19.6472Z' fill='%233E8EED'/%3e %3cpath d='M103.959 47.7806C108.146 43.5926 114.938 43.5926 119.125 47.7806C123.313 51.9676 123.313 58.7586 119.125 62.9466C114.938 67.1346 108.146 67.1346 103.959 62.9466C99.7714 58.7586 99.7714 51.9676 103.959 47.7806Z' fill='%233E8EED'/%3e %3cpath d='M106.18 50.001C109.142 47.04 113.943 47.04 116.905 50.001C119.866 52.963 119.866 57.764 116.905 60.726C113.943 63.687 109.142 63.687 106.18 60.726C103.219 57.764 103.219 52.963 106.18 50.001Z' fill='%23B3D6FF'/%3e %3cpath d='M77.5935 66.043C81.5785 69.324 85.0465 68.242 87.5615 70.456C90.0795 72.672 88.7135 74.224 91.2305 76.439C93.7505 78.657 95.1155 77.106 97.6355 79.323C100.153 81.54 98.7885 83.092 101.307 85.31L95.0835 100.696L68.3965 75.491L77.5935 66.043Z' fill='%23FFE5B9'/%3e %3cpath d='M111.308 93.9519C111.308 98.5029 107.619 102.192 103.068 102.192C98.5171 102.192 94.8281 98.5029 94.8281 93.9519C94.8281 89.4009 98.5171 85.7119 103.068 85.7119C107.619 85.7119 111.308 89.4009 111.308 93.9519Z' fill='%23FFD590'/%3e %3cpath d='M129.296 15.3401C129.261 15.9071 129.417 16.4781 129.736 16.9481C130.192 17.6091 130.905 18.0251 131.71 18.0761C133.128 18.1631 134.356 17.0811 134.445 15.6621L134.877 8.81113C134.918 8.12013 134.682 7.47513 134.265 6.98413C133.826 6.46913 133.189 6.12413 132.461 6.07813C131.043 5.99113 129.817 7.07513 129.728 8.49313L129.296 15.3401Z' fill='%23E1DFDD'/%3e %3cpath d='M141.479 20.1852C140.668 21.0702 140.575 22.3812 141.249 23.3732H141.25C141.371 23.5512 141.51 23.7112 141.645 23.8312C142.695 24.7872 144.329 24.7122 145.288 23.6642L149.626 18.9142C150.094 18.4022 150.333 17.7382 150.297 17.0432C150.269 16.4692 150.056 15.9362 149.697 15.5132C149.624 15.4272 149.544 15.3462 149.46 15.2712C148.41 14.3152 146.776 14.3882 145.817 15.4372L141.479 20.1852Z' fill='%23E1DFDD'/%3e %3cpath d='M149.037 33.7201C149.111 33.9981 149.23 34.2601 149.391 34.4981C150.016 35.4211 151.14 35.8311 152.205 35.5401L158.098 33.9351C158.764 33.7541 159.318 33.3241 159.66 32.7231C160.001 32.1241 160.089 31.4291 159.908 30.7741C159.808 30.4001 159.628 30.0611 159.384 29.7751C159.193 29.5511 158.964 29.3591 158.701 29.2081C158.102 28.8651 157.406 28.7771 156.741 28.9581L150.847 30.5631C150.182 30.7451 149.626 31.1771 149.285 31.7771C148.943 32.3761 148.857 33.0721 149.037 33.7201Z' fill='%23E1DFDD'/%3e %3cdefs%3e %3clinearGradient id='paint0_linear' x1='77.612' y1='0' x2='77.612' y2='80.9394' gradientUnits='userSpaceOnUse'%3e %3cstop stop-opacity='0.01'/%3e %3cstop offset='0.572879' stop-color='%23353433' stop-opacity='0.297834'/%3e %3cstop offset='1' stop-color='%23B3AFAB'/%3e %3c/linearGradient%3e %3clinearGradient id='paint1_linear' x1='107.104' y1='110.957' x2='156.038' y2='58.8696' gradientUnits='userSpaceOnUse'%3e %3cstop stop-color='%233E8EED'/%3e %3cstop offset='1' stop-color='%2372ACF1'/%3e %3c/linearGradient%3e %3c/defs%3e %3c/svg%3e"},8529:(e,t,n)=>{"use strict";e.exports=n(5373)},8626:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},8686:e=>{"use strict";e.exports={rE:"8.3.0"}},8812:(e,t,n)=>{const r=n(2306),i=n(9433);e.exports=(e,t,n)=>{let o=null,a=null,s=null;try{s=new i(t,n)}catch(e){return null}return e.forEach((e=>{s.test(e)&&(o&&1!==a.compare(e)||(o=e,a=new r(o,n)))})),o}},8950:(e,t,n)=>{const r=n(2306);e.exports=(e,t,n=!1)=>{if(e instanceof r)return e;try{return new r(e,t)}catch(e){if(!n)return null;throw e}}},8990:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},9029:(e,t)=>{
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,l=(1<<s)-1,c=l>>1,u=-7,d=n?i-1:0,p=n?-1:1,h=e[t+d];for(d+=p,o=h&(1<<-u)-1,h>>=-u,u+=s;u>0;o=256*o+e[t+d],d+=p,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=r;u>0;a=256*a+e[t+d],d+=p,u-=8);if(0===o)o=1-c;else{if(o===l)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=c}return(h?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,l,c=8*o-i-1,u=(1<<c)-1,d=u>>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,f=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+d>=1?p/l:p*Math.pow(2,1-d))*l>=2&&(a++,l/=2),a+d>=u?(s=0,a=u):a+d>=1?(s=(t*l-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&s,h+=f,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;e[n+h]=255&a,h+=f,a/=256,c-=8);e[n+h-f]|=128*m}},9085:e=>{"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAAH7+Yj7AAAAAXNSR0IArs4c6QAABXZJREFUWAm9WUlsHEUU/dXTUQCN3T4kznK1WSS44bDdEAe4BARhkcghBzgBEiiBEFtksSNmwhKSSIAUiUhEIkiETSiIG1cWiZwwS1gOXIIdQJoeDwQUzzT/dfWfqq7unmmPRy5pXFW/fr16tf3/u0wkqRaeoVpzN6oqltUakbQh9wgaTvJY+Xwsay50m3K7d1up1liSiqJ62KEo0j0grVR2eCnB8duI2u0PeSBOrT+IIHjmq7jqkVKHqLqxK6CZMWWwXOy4D/9Bp+lgtg9N0cbM641mXMX4+EkCFyuVRjQcX1p6ANOzQHSRJ4KCUUTt5cYEtdVnRNFFmh67EyJJWhEriVnnpQRRL2SREjom+877nT4AKdCTd+tqPZzzUw125cTtRE9/qSVRtF8PjerMmFE7cYdRSqQGsdbQyptvZKUvTCdLscXlalyHcl5aV9mkl6fXhNCRl0hzTNYqC6YWoQS5RnQ16uFBPr2HXLFTb1EQbKEnFah3kwHstYtd9YKCovf5aDyMVg1YjlEBmiXmaav4AC7TL5a4XBEHIWJrktxb6eQnp1nqRKeZ+Y43eUM3GJldKgASFT44fDWIrhMB7TqrbyxO3PQFopFNugmnLuKL4jDq9ksKeg2Lzk3rT74tk0TjN/QFSvDmNeAbUZXCsGsG3VHL1XEWg83m2KBXvXGWInqoHICldVVwDe1WlyFJA1o6bP8P86K9YIus8jytq9xFz41csmRxsRgQzXA5qrOdWU+xYb7I+TfkRwdo79ivLpDUs4B6PX9nBW0JRNPNE8ufEacEK70xSkW0b7TC7Lv+0jAcdEPAaDqAg4tBtVmCsxhkd2V6R5ptKWrAPM8jGmVybakOQhXhAR+PARJu0dvWkU3sp+rpf4rGkSs5w0bKNiI+TRr3U9TZlReBQW9ZzWUBT97jQph6LzBoKZrKAl5ml3b8VgMipb//0pbHnaa0x3m0JQsY2zs+nsduMaoAe3GC3Z+zZkZDSuezgGgCKDznsW1EXbCf0xsgEHYeeeewy9+y7CZb3i0jvrr0IzMDGId5/RI7KT82Q1fai7m6fcy90yf2z562aWxtV5vg9DnpNWTTvSo8mLIkgjCbAjM+SIqjhmBWuhrzJZJauMCmP/GdIizIOYSn50c+sluzgGh9ZWmcrrQ/51L+7it1mG3gARtIyvmA0urmGGi58xSHIPdzU/5gbh9Tn2cj/DH53ut5zs2opUv9CcaRf4djnZLLmsbvUeOTWvGecLfA7ZBP8LXoavovPL0qL+OO1KuOg7c+2CWxh61qTrVI4Zj/Df9ZM3IYF+4WY2JsJ5kVjMOPJlvPYW+lM2LfKm99MDopdkET1LcMwVS1b/+1UWixiZ7AZdJbrE3A2pCDE8Y3BD4H5BM2O+lqYpbYJ8cvIp2jWZ0hS0Ds1HaixR/058Tjn/Z3n+Tt8ZPYechsLDiXWP8gwXTmuN7nGzRlJDklbMNvXyezPlfOzwMGgcZbWLHvdd+VEBMazA0PJhfYM5hPRmm0czz6YDAEI+PXEz3GREfGbQ1TdomV2krTPVVS6ic+g3h3ix5NNRRVbKIbryXC4PLNC2Kn7iVa+G7lq100Hql3B3sWsIlu4G9of/2QiSWMOfDXdpBfqnib9xdOpKgBF+DMTt26853y57MIz5YnEY7xJCv99rTBhl22PpYNQQyCyKXT+YBXMy0fNoEiPHwTe96DdoSTJQJyR8L31jRYAGFENPuCR+TDXeaQJSgtMdEmolw8HRbrif4guX5FmOVnijmXmMCVGxiRTrO5h4k+yx1X67NbTOZVGh09KhGLkMnLyxHM64ln82XvPrahN5OKtvIebeUJcM4JT054M4yQ878y/M4nvZ6e8uBF9j/Fr+s/h6QsDAAAAABJRU5ErkJggg=="},9245:(e,t,n)=>{const r=n(3682);e.exports=(e,t,n)=>r(e,t,n)<0},9315:(e,t,n)=>{const r=n(6516),i=n(504),o=n(2306),a=n(2329),s=n(8950),l=n(3899),c=n(3212),u=n(2221),d=n(4410),p=n(2492),h=n(5744),f=n(6231),m=n(9503),g=n(3682),v=n(3588),y=n(5969),b=n(5923),C=n(3413),A=n(971),S=n(330),E=n(9245),w=n(2827),x=n(3961),I=n(1859),k=n(3870),T=n(7625),_=n(9332),P=n(9398),D=n(9433),B=n(6652),R=n(7457),M=n(542),L=n(8812),O=n(623),F=n(7536),N=n(9789),H=n(8301),z=n(1716),V=n(2782),U=n(4563),j=n(9730);e.exports={parse:s,valid:l,clean:c,inc:u,diff:d,major:p,minor:h,patch:f,prerelease:m,compare:g,rcompare:v,compareLoose:y,compareBuild:b,sort:C,rsort:A,gt:S,lt:E,eq:w,neq:x,gte:I,lte:k,cmp:T,coerce:_,Comparator:P,Range:D,satisfies:B,toComparators:R,maxSatisfying:M,minSatisfying:L,minVersion:O,validRange:F,outside:N,gtr:H,ltr:z,intersects:V,simplifyRange:U,subset:j,SemVer:o,re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:i.SEMVER_SPEC_VERSION,RELEASE_TYPES:i.RELEASE_TYPES,compareIdentifiers:a.compareIdentifiers,rcompareIdentifiers:a.rcompareIdentifiers}},9332:(e,t,n)=>{const r=n(2306),i=n(8950),{safeRe:o,t:a}=n(6516);e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let n=null;if((t=t||{}).rtl){const r=t.includePrerelease?o[a.COERCERTLFULL]:o[a.COERCERTL];let i;for(;(i=r.exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&i.index+i[0].length===n.index+n[0].length||(n=i),r.lastIndex=i.index+i[1].length+i[2].length;r.lastIndex=-1}else n=e.match(t.includePrerelease?o[a.COERCEFULL]:o[a.COERCE]);if(null===n)return null;const s=n[2],l=n[3]||"0",c=n[4]||"0",u=t.includePrerelease&&n[5]?`-${n[5]}`:"",d=t.includePrerelease&&n[6]?`+${n[6]}`:"";return i(`${s}.${l}.${c}${u}${d}`,t)}},9397:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(5516),i=n.n(r),o=n(1364),a=n.n(o)()(i());a.push([e.id,"body {\n  margin: 0;\n}\n\n#outlookAppHostRoot {\n  display: flex;\n  flex-direction: column;\n  height: 100vh;\n}","",{version:3,sources:["webpack://./src/styles.css"],names:[],mappings:"AAAA;EACE,SAAS;AACX;;AAEA;EACE,aAAa;EACb,sBAAsB;EACtB,aAAa;AACf",sourcesContent:["body {\r\n  margin: 0;\r\n}\r\n\r\n#outlookAppHostRoot {\r\n  display: flex;\r\n  flex-direction: column;\r\n  height: 100vh;\r\n}"],sourceRoot:""}]);const s=a},9398:(e,t,n)=>{const r=Symbol("SemVer ANY");class i{static get ANY(){return r}constructor(e,t){if(t=o(t),e instanceof i){if(e.loose===!!t.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),c("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,c("comp",this)}parse(e){const t=this.options.loose?a[s.COMPARATORLOOSE]:a[s.COMPARATOR],n=e.match(t);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new u(n[2],this.options.loose):this.semver=r}toString(){return this.value}test(e){if(c("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new u(e,this.options)}catch(e){return!1}return l(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof i))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new d(e.value,t).test(this.value):""===e.operator?""===e.value||new d(this.value,t).test(e.semver):!((t=o(t)).includePrerelease&&("<0.0.0-0"===this.value||"<0.0.0-0"===e.value)||!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))||(!this.operator.startsWith(">")||!e.operator.startsWith(">"))&&(!this.operator.startsWith("<")||!e.operator.startsWith("<"))&&(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))&&!(l(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))&&!(l(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}}e.exports=i;const o=n(6633),{safeRe:a,t:s}=n(6516),l=n(7625),c=n(6286),u=n(2306),d=n(9433)},9433:(e,t,n)=>{const r=/\s+/g;class i{constructor(e,t){if(t=a(t),e instanceof i)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new i(e.raw,t);if(e instanceof s)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().replace(r," "),this.set=this.raw.split("||").map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!v(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&y(e[0])){this.set=[e];break}}this.formatted=void 0}get range(){if(void 0===this.formatted){this.formatted="";for(let e=0;e<this.set.length;e++){e>0&&(this.formatted+="||");const t=this.set[e];for(let e=0;e<t.length;e++)e>0&&(this.formatted+=" "),this.formatted+=t[e].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){const t=((this.options.includePrerelease&&m)|(this.options.loose&&g))+":"+e,n=o.get(t);if(n)return n;const r=this.options.loose,i=r?u[d.HYPHENRANGELOOSE]:u[d.HYPHENRANGE];e=e.replace(i,P(this.options.includePrerelease)),l("hyphen replace",e),e=e.replace(u[d.COMPARATORTRIM],p),l("comparator trim",e),e=e.replace(u[d.TILDETRIM],h),l("tilde trim",e),e=e.replace(u[d.CARETTRIM],f),l("caret trim",e);let a=e.split(" ").map((e=>C(e,this.options))).join(" ").split(/\s+/).map((e=>_(e,this.options)));r&&(a=a.filter((e=>(l("loose invalid filter",e,this.options),!!e.match(u[d.COMPARATORLOOSE]))))),l("range list",a);const c=new Map,y=a.map((e=>new s(e,this.options)));for(const e of y){if(v(e))return[e];c.set(e.value,e)}c.size>1&&c.has("")&&c.delete("");const b=[...c.values()];return o.set(t,b),b}intersects(e,t){if(!(e instanceof i))throw new TypeError("a Range is required");return this.set.some((n=>b(n,t)&&e.set.some((e=>b(e,t)&&n.every((n=>e.every((e=>n.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new c(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(D(this.set[t],e,this.options))return!0;return!1}}e.exports=i;const o=new(n(3560)),a=n(6633),s=n(9398),l=n(6286),c=n(2306),{safeRe:u,t:d,comparatorTrimReplace:p,tildeTrimReplace:h,caretTrimReplace:f}=n(6516),{FLAG_INCLUDE_PRERELEASE:m,FLAG_LOOSE:g}=n(504),v=e=>"<0.0.0-0"===e.value,y=e=>""===e.value,b=(e,t)=>{let n=!0;const r=e.slice();let i=r.pop();for(;n&&r.length;)n=r.every((e=>i.intersects(e,t))),i=r.pop();return n},C=(e,t)=>(l("comp",e,t),e=w(e,t),l("caret",e),e=S(e,t),l("tildes",e),e=I(e,t),l("xrange",e),e=T(e,t),l("stars",e),e),A=e=>!e||"x"===e.toLowerCase()||"*"===e,S=(e,t)=>e.trim().split(/\s+/).map((e=>E(e,t))).join(" "),E=(e,t)=>{const n=t.loose?u[d.TILDELOOSE]:u[d.TILDE];return e.replace(n,((t,n,r,i,o)=>{let a;return l("tilde",e,t,n,r,i,o),A(n)?a="":A(r)?a=`>=${n}.0.0 <${+n+1}.0.0-0`:A(i)?a=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:o?(l("replaceTilde pr",o),a=`>=${n}.${r}.${i}-${o} <${n}.${+r+1}.0-0`):a=`>=${n}.${r}.${i} <${n}.${+r+1}.0-0`,l("tilde return",a),a}))},w=(e,t)=>e.trim().split(/\s+/).map((e=>x(e,t))).join(" "),x=(e,t)=>{l("caret",e,t);const n=t.loose?u[d.CARETLOOSE]:u[d.CARET],r=t.includePrerelease?"-0":"";return e.replace(n,((t,n,i,o,a)=>{let s;return l("caret",e,t,n,i,o,a),A(n)?s="":A(i)?s=`>=${n}.0.0${r} <${+n+1}.0.0-0`:A(o)?s="0"===n?`>=${n}.${i}.0${r} <${n}.${+i+1}.0-0`:`>=${n}.${i}.0${r} <${+n+1}.0.0-0`:a?(l("replaceCaret pr",a),s="0"===n?"0"===i?`>=${n}.${i}.${o}-${a} <${n}.${i}.${+o+1}-0`:`>=${n}.${i}.${o}-${a} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${o}-${a} <${+n+1}.0.0-0`):(l("no pr"),s="0"===n?"0"===i?`>=${n}.${i}.${o}${r} <${n}.${i}.${+o+1}-0`:`>=${n}.${i}.${o}${r} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${o} <${+n+1}.0.0-0`),l("caret return",s),s}))},I=(e,t)=>(l("replaceXRanges",e,t),e.split(/\s+/).map((e=>k(e,t))).join(" ")),k=(e,t)=>{e=e.trim();const n=t.loose?u[d.XRANGELOOSE]:u[d.XRANGE];return e.replace(n,((n,r,i,o,a,s)=>{l("xRange",e,n,r,i,o,a,s);const c=A(i),u=c||A(o),d=u||A(a),p=d;return"="===r&&p&&(r=""),s=t.includePrerelease?"-0":"",c?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&p?(u&&(o=0),a=0,">"===r?(r=">=",u?(i=+i+1,o=0,a=0):(o=+o+1,a=0)):"<="===r&&(r="<",u?i=+i+1:o=+o+1),"<"===r&&(s="-0"),n=`${r+i}.${o}.${a}${s}`):u?n=`>=${i}.0.0${s} <${+i+1}.0.0-0`:d&&(n=`>=${i}.${o}.0${s} <${i}.${+o+1}.0-0`),l("xRange return",n),n}))},T=(e,t)=>(l("replaceStars",e,t),e.trim().replace(u[d.STAR],"")),_=(e,t)=>(l("replaceGTE0",e,t),e.trim().replace(u[t.includePrerelease?d.GTE0PRE:d.GTE0],"")),P=e=>(t,n,r,i,o,a,s,l,c,u,d,p)=>`${n=A(r)?"":A(i)?`>=${r}.0.0${e?"-0":""}`:A(o)?`>=${r}.${i}.0${e?"-0":""}`:a?`>=${n}`:`>=${n}${e?"-0":""}`} ${l=A(c)?"":A(u)?`<${+c+1}.0.0-0`:A(d)?`<${c}.${+u+1}.0-0`:p?`<=${c}.${u}.${d}-${p}`:e?`<${c}.${u}.${+d+1}-0`:`<=${l}`}`.trim(),D=(e,t,n)=>{for(let n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(let n=0;n<e.length;n++)if(l(e[n].semver),e[n].semver!==s.ANY&&e[n].semver.prerelease.length>0){const r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}},9503:(e,t,n)=>{const r=n(8950);e.exports=(e,t)=>{const n=r(e,t);return n&&n.prerelease.length?n.prerelease:null}},9688:e=>{e.exports="data:image/svg+xml,%3csvg width='280' height='280' viewBox='0 0 280 280' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cg clip-path='url(%23clip0)'%3e %3cpath d='M182.823 243.2H156.532C155.133 243.2 153.996 242.07 153.996 240.68C153.996 239.29 155.133 238.16 156.532 238.16H182.823C184.222 238.16 185.359 239.29 185.359 240.68C185.359 242.07 184.222 243.2 182.823 243.2Z' fill='%23797673'/%3e %3cpath d='M185.379 203.71L146.58 165.15L164.169 147.67L199.767 183.05C201.538 184.81 201.538 187.66 199.767 189.41L185.379 203.71Z' fill='%23858585'/%3e %3cpath d='M190.893 178.42H176.072L182.531 213.63L176.072 232.95H179.382C191.295 232.95 200.944 223.35 200.944 211.52V188.42C200.944 182.89 196.447 178.42 190.893 178.42Z' fill='%23858585'/%3e %3cpath d='M174.784 90.9999H207.293V90.6399C207.293 87.8599 205.029 85.6099 202.232 85.6099H174.784V90.9999Z' fill='%23989898'/%3e %3cpath d='M159.48 51.96H174.774V117.93L105.679 143.51V105.42C105.689 75.9 129.777 51.96 159.48 51.96Z' fill='%23858585'/%3e %3cpath d='M119.232 122.43C83.3219 122.43 54.203 151.37 54.203 187.06V243.15H150.394L174.784 117.93L119.232 122.43Z' fill='url(%23paint0_radial)'/%3e %3cpath d='M191.074 80.33V82.21C191.074 83.55 190.983 84.87 190.802 86.17C190.681 87.05 190.51 87.92 190.309 88.77C188.649 95.8 184.383 101.83 178.567 105.8C178.054 106.15 177.521 106.49 176.987 106.8C175.508 107.68 173.928 108.43 172.288 109.03C170.145 109.82 167.891 110.36 165.537 110.62C164.48 110.74 163.404 110.8 162.317 110.8H160.426C155.193 110.8 150.303 109.42 146.067 106.99C142.757 105.09 139.869 102.56 137.555 99.56C133.852 94.74 131.659 88.73 131.659 82.22V80.34C131.659 75.82 132.705 71.55 134.587 67.74C136.297 64.28 138.702 61.21 141.59 58.71C141.6 58.69 141.63 58.67 141.65 58.65C143.461 57.11 145.464 55.78 147.617 54.72C147.969 54.55 148.311 54.39 148.663 54.23H148.673C149.78 53.73 150.937 53.3 152.114 52.95C154.751 52.17 157.528 51.75 160.415 51.75H162.307C168.344 51.75 173.939 53.59 178.567 56.75C179.654 57.49 180.68 58.3 181.646 59.19C183.87 61.18 185.771 63.53 187.27 66.13C187.311 66.19 187.351 66.26 187.391 66.32C187.653 66.79 187.904 67.27 188.136 67.74C189.071 69.61 189.796 71.6 190.299 73.67C190.4 74.1 190.49 74.53 190.581 74.97C190.681 75.5 190.772 76.04 190.842 76.58C190.993 77.81 191.074 79.07 191.074 80.33Z' fill='%23858585'/%3e %3cpath d='M151.46 67.74H132.514C132.142 67.74 131.84 67.44 131.84 67.07V56.49C131.85 45.73 140.624 37 151.46 37C151.833 37 152.135 37.3 152.135 37.67V67.08C152.124 67.44 151.823 67.74 151.46 67.74Z' fill='%23858585'/%3e %3cpath d='M180.972 67.74H162.035C161.663 67.74 161.361 67.44 161.361 67.07V56.49C161.361 45.73 170.145 37 180.972 37C181.344 37 181.646 37.3 181.646 37.67V67.08C181.646 67.44 181.344 67.74 180.972 67.74Z' fill='%23858585'/%3e %3cpath d='M168.857 117.93V91H149.881C139.396 91 130.904 99.44 130.904 109.86C130.904 120.28 139.396 128.72 149.881 128.72C151.118 128.72 152.125 129.72 152.125 130.95V243.14H153.272L174.784 117.92H168.857V117.93Z' fill='%23989898'/%3e %3cpath d='M165.849 86.16C167.171 86.16 168.244 84.5572 168.244 82.58C168.244 80.6028 167.171 79 165.849 79C164.526 79 163.454 80.6028 163.454 82.58C163.454 84.5572 164.526 86.16 165.849 86.16Z' fill='%2333312D'/%3e %3cpath d='M184.996 86.16C186.319 86.16 187.391 84.5572 187.391 82.58C187.391 80.6028 186.319 79 184.996 79C183.674 79 182.602 80.6028 182.602 82.58C182.602 84.5572 183.674 86.16 184.996 86.16Z' fill='%2333312D'/%3e %3cpath d='M146.46 243.15H129.063L118.84 174.24L137.484 167.46L152.124 174.31L146.46 243.15Z' fill='%23858585'/%3e %3cpath d='M126.779 227.21H147.094C155.968 227.21 163.172 234.36 163.172 243.19H128.882L126.779 227.21Z' fill='%23989898'/%3e %3cpath d='M181.988 117.93H174.774H148.13V91H207.293V92.78C207.293 106.67 195.964 117.93 181.988 117.93Z' fill='url(%23paint1_radial)'/%3e %3cpath d='M166.07 76.3102H160.858C158.564 76.3102 156.703 74.4602 156.703 72.1802V71.6002C156.703 69.3202 158.564 67.4702 160.858 67.4702H166.07C168.364 67.4702 170.226 69.3202 170.226 71.6002V72.1802C170.226 74.4602 168.364 76.3102 166.07 76.3102Z' fill='%23989898'/%3e %3cpath d='M54.2029 187.06C54.2029 187.06 76.3288 159.94 99.7427 177.19C121.667 193.34 107.037 228.34 107.037 228.34C107.037 228.34 120.581 228.34 121.939 243.15C109.744 243.15 34.7937 243.15 34.7937 243.15L54.3035 215.2L54.2029 187.06Z' fill='url(%23paint2_radial)'/%3e %3cpath d='M207.293 93.6999H206.76C202.564 93.6999 199.173 90.3199 199.173 86.1599V85.6299H203.51C205.603 85.6299 207.303 87.3199 207.303 89.3999V93.6999H207.293Z' fill='%2333312D'/%3e %3cpath d='M30.5275 243.15C47.3874 243.15 61.0551 229.567 61.0551 212.81C61.0551 196.054 47.3874 182.47 30.5275 182.47C13.6676 182.47 0 196.054 0 212.81C0 229.567 13.6676 243.15 30.5275 243.15Z' fill='%23989898'/%3e %3cpath d='M34.7937 243.15C49.5253 243.15 61.4676 231.281 61.4676 216.64C61.4676 201.999 49.5253 190.13 34.7937 190.13C20.0622 190.13 8.11987 201.999 8.11987 216.64C8.11987 231.281 20.0622 243.15 34.7937 243.15Z' fill='url(%23paint3_radial)'/%3e %3cpath d='M53.3477 197.8C53.3477 197.8 67.1625 217.04 55.1991 233.5C45.3989 246.99 22.961 246.16 17.7993 232.11C12.3257 217.22 22.5284 208.79 25.4966 206.16C25.4966 206.16 24.1785 212.99 31.423 213.93C36.313 214.56 44.936 206.02 33.2241 194.21L53.3477 197.8Z' fill='%23858585'/%3e %3cpath d='M151.4 128.66L171.745 136.11L174.784 117.93H137.163L151.4 128.66Z' fill='url(%23paint4_radial)'/%3e %3cpath d='M192.985 76.3102H187.773C185.479 76.3102 183.618 74.4602 183.618 72.1802V71.6002C183.618 69.3202 185.479 67.4702 187.773 67.4702H192.985C195.28 67.4702 197.141 69.3202 197.141 71.6002V72.1802C197.141 74.4602 195.28 76.3102 192.985 76.3102Z' fill='%23989898'/%3e %3cpath d='M203.43 243.21H182.823C181.425 243.21 180.288 242.08 180.288 240.69C180.288 239.3 181.425 238.17 182.823 238.17H203.43C210.946 238.17 217.064 232.78 217.064 225.31V225.13C217.064 217.66 210.946 211.58 203.43 211.58C180.207 211.58 161.311 192.8 161.311 169.72V131.12C161.311 117.03 172.852 105.56 187.029 105.56C201.206 105.56 212.747 117.02 212.747 131.12V136.46C212.747 137.85 211.61 138.98 210.211 138.98C208.813 138.98 207.676 137.85 207.676 136.46V131.12C207.676 119.81 198.419 110.61 187.039 110.61C175.659 110.61 166.402 119.81 166.402 131.12V169.72C166.402 190.02 183.014 206.53 203.44 206.53C213.753 206.53 222.145 214.87 222.145 225.12V225.3C222.135 235.56 213.743 243.21 203.43 243.21Z' fill='%2333312D'/%3e %3cpath d='M276.378 181.83H240.155C238.153 181.83 236.533 180.22 236.533 178.23V120.64C236.533 118.65 238.153 117.04 240.155 117.04H276.378C278.38 117.04 280 118.65 280 120.64V178.23C280 180.22 278.38 181.83 276.378 181.83Z' fill='%2333312D'/%3e %3cpath d='M263.449 146.35H253.095C249.1 146.35 245.85 143.13 245.85 139.15V131.95C245.85 127.98 249.09 124.75 253.095 124.75H263.449C267.443 124.75 270.693 127.97 270.693 131.95V139.15C270.683 143.13 267.443 146.35 263.449 146.35Z' fill='%23797673'/%3e %3cpath d='M263.267 141.53H262.573C261.909 141.53 261.366 140.99 261.366 140.33V130.39C261.366 129.73 261.909 129.19 262.573 129.19H263.267C263.931 129.19 264.475 129.73 264.475 130.39V140.33C264.475 140.99 263.942 141.53 263.267 141.53Z' fill='%2333312D'/%3e %3cpath d='M253.96 141.53H253.266C252.602 141.53 252.059 140.99 252.059 140.33V130.39C252.059 129.73 252.602 129.19 253.266 129.19H253.96C254.624 129.19 255.168 129.73 255.168 130.39V140.33C255.168 140.99 254.624 141.53 253.96 141.53Z' fill='%2333312D'/%3e %3cpath d='M263.449 174.12H253.095C249.1 174.12 245.85 170.9 245.85 166.92V159.72C245.85 155.75 249.09 152.52 253.095 152.52H263.449C267.443 152.52 270.693 155.74 270.693 159.72V166.92C270.683 170.9 267.443 174.12 263.449 174.12Z' fill='%23797673'/%3e %3cpath d='M263.267 169.29H262.573C261.909 169.29 261.366 168.75 261.366 168.09V158.15C261.366 157.49 261.909 156.95 262.573 156.95H263.267C263.931 156.95 264.475 157.49 264.475 158.15V168.09C264.475 168.76 263.942 169.29 263.267 169.29Z' fill='%2333312D'/%3e %3cpath d='M253.96 169.29H253.266C252.602 169.29 252.059 168.75 252.059 168.09V158.15C252.059 157.49 252.602 156.95 253.266 156.95H253.96C254.624 156.95 255.168 157.49 255.168 158.15V168.09C255.168 168.76 254.624 169.29 253.96 169.29Z' fill='%2333312D'/%3e %3cpath d='M188.347 108.13C198.912 108.09 204.587 105.69 204.587 105.69L206.549 101.52H160.908C160.918 101.52 166.935 108.21 188.347 108.13Z' fill='%23989898'/%3e %3cpath d='M209.406 132.79L211.167 132.8C218.039 132.85 223.563 138.42 223.513 145.25L223.443 154.58C223.443 155.27 222.869 155.82 222.185 155.82L198.057 155.65C197.362 155.65 196.809 155.08 196.809 154.4L196.88 145.07C196.93 138.23 202.534 132.74 209.406 132.79Z' fill='%2333312D'/%3e %3cpath d='M216.128 168.12H216.359C217.275 168.13 218.019 167.39 218.029 166.48L218.11 155.78L214.558 155.75L214.478 166.45C214.478 167.38 215.212 168.12 216.128 168.12Z' fill='%23989898'/%3e %3cpath d='M203.701 168.04H203.933C204.848 168.05 205.593 167.31 205.603 166.4L205.684 155.7L202.132 155.67L202.051 166.37C202.051 167.29 202.786 168.03 203.701 168.04Z' fill='%23989898'/%3e %3cpath d='M182.531 213.63L176.072 232.95H179.382C191.295 232.95 200.945 225.63 200.945 213.8L182.531 213.63Z' fill='%23989898'/%3e %3c/g%3e %3cdefs%3e %3cradialGradient id='paint0_radial' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='translate(112.136 224.955) scale(61.6559 61.2771)'%3e %3cstop stop-color='%235E5E5E'/%3e %3cstop offset='0.9582' stop-color='%23858585'/%3e %3c/radialGradient%3e %3cradialGradient id='paint1_radial' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='translate(172.832 120.546) scale(20.3563 20.2313)'%3e %3cstop offset='0.00031407' stop-color='%23656565'/%3e %3cstop offset='1' stop-color='%23989898'/%3e %3c/radialGradient%3e %3cradialGradient id='paint2_radial' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='translate(45.9415 220.353) scale(39.9996 39.7539)'%3e %3cstop stop-color='%235E5E5E'/%3e %3cstop offset='0.9582' stop-color='%23858585'/%3e %3c/radialGradient%3e %3cradialGradient id='paint3_radial' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='translate(17.4382 234.503) scale(39.4077 39.1656)'%3e %3cstop stop-color='%235E5E5E'/%3e %3cstop offset='0.8916' stop-color='%23858585'/%3e %3c/radialGradient%3e %3cradialGradient id='paint4_radial' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='translate(173.346 117.265) rotate(-179.5) scale(21.2237 15.358)'%3e %3cstop offset='0.00031407' stop-color='%23656565'/%3e %3cstop offset='1' stop-color='%23989898'/%3e %3c/radialGradient%3e %3cclipPath id='clip0'%3e %3crect width='280' height='280' fill='white'/%3e %3c/clipPath%3e %3c/defs%3e %3c/svg%3e"},9730:(e,t,n)=>{const r=n(9433),i=n(9398),{ANY:o}=i,a=n(6652),s=n(3682),l=[new i(">=0.0.0-0")],c=[new i(">=0.0.0")],u=(e,t,n)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===o){if(1===t.length&&t[0].semver===o)return!0;e=n.includePrerelease?l:c}if(1===t.length&&t[0].semver===o){if(n.includePrerelease)return!0;t=c}const r=new Set;let i,u,h,f,m,g,v;for(const t of e)">"===t.operator||">="===t.operator?i=d(i,t,n):"<"===t.operator||"<="===t.operator?u=p(u,t,n):r.add(t.semver);if(r.size>1)return null;if(i&&u){if(h=s(i.semver,u.semver,n),h>0)return null;if(0===h&&(">="!==i.operator||"<="!==u.operator))return null}for(const e of r){if(i&&!a(e,String(i),n))return null;if(u&&!a(e,String(u),n))return null;for(const r of t)if(!a(e,String(r),n))return!1;return!0}let y=!(!u||n.includePrerelease||!u.semver.prerelease.length)&&u.semver,b=!(!i||n.includePrerelease||!i.semver.prerelease.length)&&i.semver;y&&1===y.prerelease.length&&"<"===u.operator&&0===y.prerelease[0]&&(y=!1);for(const e of t){if(v=v||">"===e.operator||">="===e.operator,g=g||"<"===e.operator||"<="===e.operator,i)if(b&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===b.major&&e.semver.minor===b.minor&&e.semver.patch===b.patch&&(b=!1),">"===e.operator||">="===e.operator){if(f=d(i,e,n),f===e&&f!==i)return!1}else if(">="===i.operator&&!a(i.semver,String(e),n))return!1;if(u)if(y&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch&&(y=!1),"<"===e.operator||"<="===e.operator){if(m=p(u,e,n),m===e&&m!==u)return!1}else if("<="===u.operator&&!a(u.semver,String(e),n))return!1;if(!e.operator&&(u||i)&&0!==h)return!1}return!(i&&g&&!u&&0!==h||u&&v&&!i&&0!==h||b||y)},d=(e,t,n)=>{if(!e)return t;const r=s(e.semver,t.semver,n);return r>0?e:r<0||">"===t.operator&&">="===e.operator?t:e},p=(e,t,n)=>{if(!e)return t;const r=s(e.semver,t.semver,n);return r<0?e:r>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,n={})=>{if(e===t)return!0;e=new r(e,n),t=new r(t,n);let i=!1;e:for(const r of e.set){for(const e of t.set){const t=u(r,e,n);if(i=i||null!==t,t)continue e}if(i)return!1}return!0}},9784:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.CarouselEvent=t.Carousel=t.CarouselPage=void 0;var s=n(5396),l=n(1050),c=n(5804),u=n(1217),d=n(1050),p=n(2378),h=n(4979),f=n(345),m=n(3771),g=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.populateSchema=function(t){e.prototype.populateSchema.call(this,t),t.remove(s.Container.styleProperty),t.remove(s.Container.bleedProperty),t.remove(s.Container.isVisibleProperty)},t.prototype.internalRender=function(){var t=document.createElement("div");t.className=this.hostConfig.makeCssClassName("swiper-slide"),this.rtl=this.isRtl();var n=e.prototype.internalRender.call(this);return f.appendChild(t,n),t},t.prototype.getForbiddenActionTypes=function(){return[s.ShowCardAction,s.ToggleVisibilityAction]},t.prototype.getForbiddenChildElements=function(){return this.forbiddenChildElements()},t.prototype.forbiddenChildElements=function(){return a([s.ToggleVisibilityAction.JsonTypeName,s.ShowCardAction.JsonTypeName,"Media","ActionSet","Input.Text","Input.Date","Input.Time","Input.Number","Input.ChoiceSet","Input.Toggle","Carousel"],e.prototype.forbiddenChildElements.call(this),!0)},t.prototype.internalParse=function(t,n){e.prototype.internalParse.call(this,t,n),this.setShouldFallback(!1)},t.prototype.shouldSerialize=function(e){return!0},t.prototype.getJsonTypeName=function(){return"CarouselPage"},Object.defineProperty(t.prototype,"isStandalone",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasVisibleSeparator",{get:function(){return!1},enumerable:!1,configurable:!0}),t}(s.Container);t.CarouselPage=g;var v=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.carouselLoop=!0,t.carouselOrientation=l.Orientation.Horizontal,t._pages=[],t._currentIndex=0,t._previousEventType=l.CarouselInteractionEvent.Pagination,t}return i(t,e),t.prototype.populateSchema=function(t){e.prototype.populateSchema.call(this,t),t.remove(s.Container.styleProperty),t.remove(s.Container.bleedProperty),t.remove(s.Container.isVisibleProperty)},Object.defineProperty(t.prototype,"timer",{get:function(){var e=this.getValue(t.timerProperty);return e&&e<this.hostConfig.carousel.minAutoplayDelay&&(console.warn(p.Strings.errors.tooLittleTimeDelay),e=this.hostConfig.carousel.minAutoplayDelay),e},set:function(e){e&&e<this.hostConfig.carousel.minAutoplayDelay?(console.warn(p.Strings.errors.tooLittleTimeDelay),this.setValue(t.timerProperty,this.hostConfig.carousel.minAutoplayDelay)):this.setValue(t.timerProperty,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"initialPageIndex",{get:function(){return this.getValue(t.initialPageProperty)},set:function(e){this.isValidParsedPageIndex(e)?this.setValue(t.initialPageProperty,e):(console.warn(p.Strings.errors.invalidInitialPageIndex(e)),this.setValue(t.initialPageProperty,0))},enumerable:!1,configurable:!0}),t.prototype.isValidParsedPageIndex=function(e){return!!this._pages&&this.isValidPageIndex(e,this._pages.length)},t.prototype.isValidRenderedPageIndex=function(e){return!!this._renderedPages&&this.isValidPageIndex(e,this._renderedPages.length)},t.prototype.isValidPageIndex=function(e,t){return t>0&&0<=e&&e<t},Object.defineProperty(t.prototype,"previousEventType",{get:function(){return this._previousEventType},set:function(e){this._previousEventType=e},enumerable:!1,configurable:!0}),t.prototype.forbiddenChildElements=function(){return a([s.ToggleVisibilityAction.JsonTypeName,s.ShowCardAction.JsonTypeName,"Media","ActionSet","Input.Text","Input.Date","Input.Time","Input.Number","Input.ChoiceSet","Input.Toggle"],e.prototype.forbiddenChildElements.call(this),!0)},t.prototype.adjustRenderedElementSize=function(t){e.prototype.adjustRenderedElementSize.call(this,t),"stretch"==this.height&&void 0!==this._containerForAdorners&&(this._containerForAdorners.style.height="100%"),this.carouselHeight&&(this._carouselPageContainer.style.height=this.carouselHeight+"px")},t.prototype.getJsonTypeName=function(){return"Carousel"},t.prototype.getItemCount=function(){return this._pages.length},t.prototype.getItemAt=function(e){return this._pages[e]},t.prototype.addPage=function(e){this._pages.push(e),e.setParent(this)},t.prototype.removeItem=function(e){if(e instanceof g){var t=this._pages.indexOf(e);if(t>=0)return this._pages.splice(t,1),e.setParent(void 0),this.updateLayout(),!0}return!1},t.prototype.getFirstVisibleRenderedItem=function(){var e;return this.renderedElement&&(null===(e=this._renderedPages)||void 0===e?void 0:e.length)>0?this._renderedPages[0]:void 0},t.prototype.getLastVisibleRenderedItem=function(){var e;return this.renderedElement&&(null===(e=this._renderedPages)||void 0===e?void 0:e.length)>0?this._renderedPages[this._renderedPages.length-1]:void 0},Object.defineProperty(t.prototype,"currentPageId",{get:function(){var e,t;if(null===(t=null===(e=this._carousel)||void 0===e?void 0:e.slides)||void 0===t?void 0:t.length)return this._carousel.slides[this._carousel.activeIndex].id},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"currentPageIndex",{get:function(){var e;return null===(e=this._carousel)||void 0===e?void 0:e.realIndex},enumerable:!1,configurable:!0}),t.prototype.internalParse=function(t,n){e.prototype.internalParse.call(this,t,n),this._pages=[];var r=t.pages;if(Array.isArray(r))for(var i=0,o=r;i<o.length;i++){var a=o[i],s=this.createCarouselPageInstance(a,n);s&&this._pages.push(s)}this.validateParsing(n)},t.prototype.validateParsing=function(e){this.isValidParsedPageIndex(this.initialPageIndex)||e.logParseEvent(this,l.ValidationEvent.InvalidPropertyValue,p.Strings.errors.invalidInitialPageIndex(this.initialPageIndex))},t.prototype.internalToJSON=function(t,n){e.prototype.internalToJSON.call(this,t,n),n.serializeArray(t,"pages",this._pages)},t.prototype.internalRender=function(){var e;if(this._renderedPages=[],!(this._pages.length<=0)){this.validateOrientationProperties();var t=document.createElement("div");t.className=this.hostConfig.makeCssClassName("ac-carousel-card-level-container");var n=document.createElement("div");n.className=this.hostConfig.makeCssClassName("swiper","ac-carousel"),this._carouselPageContainer=n;var r=document.createElement("div");r.className=this.hostConfig.makeCssClassName("ac-carousel-container"),this._containerForAdorners=r,t.appendChild(r);var i=document.createElement("div");i.className=this.hostConfig.makeCssClassName("ac-carousel-navigation"),r.appendChild(i);var o=document.createElement("div");switch(o.className=this.hostConfig.makeCssClassName("swiper-wrapper","ac-carousel-card-container"),o.style.display="flex",this.getEffectiveVerticalContentAlignment()){case l.VerticalAlignment.Top:o.style.alignItems="flex-start";break;case l.VerticalAlignment.Bottom:o.style.alignItems="flex-end";break;default:o.style.alignItems="center"}m.GlobalSettings.useAdvancedCardBottomTruncation&&(o.style.minHeight="-webkit-min-content");var a=document.createElement("div");a.className=this.hostConfig.makeCssClassName("swiper-button-prev");var s=document.createElement("div");s.className=this.hostConfig.makeCssClassName("swiper-button-next"),this.carouselOrientation===l.Orientation.Horizontal?this.updateCssForHorizontalCarousel(a,s):this.updateCssForVerticalCarousel(i,a,s);var c=document.createElement("div");c.className=this.hostConfig.makeCssClassName("swiper-pagination","ac-carousel-pagination"),i.appendChild(a),f.addCancelSelectActionEventHandler(a),i.appendChild(c),f.addCancelSelectActionEventHandler(c),i.appendChild(s),f.addCancelSelectActionEventHandler(s),this.isDesignMode()&&(a.style.zIndex="20",s.style.zIndex="20",c.style.zIndex="20");var u=Math.min(this._pages.length,this.hostConfig.carousel.maxCarouselPages);if(this._pages.length>this.hostConfig.carousel.maxCarouselPages&&console.warn(p.Strings.errors.tooManyCarouselPages),this._pages.length>0)for(var d=0;d<u;d++){var h=this._pages[d],g=this.isElementAllowed(h)?h.render():void 0;null==g||g.classList.add("ac-carousel-page"),null===(e=null==g?void 0:g.children[0])||void 0===e||e.classList.add("ac-carousel-page-container"),g&&(f.appendChild(o,g),this._renderedPages.push(h))}return n.appendChild(o),n.tabIndex=this.isDesignMode()?-1:0,r.appendChild(n),this.rtl=this.isRtl(),this.applyRTL(c),this.isDesignMode()||(this.isValidRenderedPageIndex(this.initialPageIndex)?this._currentIndex=this.initialPageIndex:(console.warn(p.Strings.errors.invalidInitialPageIndex(this.initialPageIndex)),this._currentIndex=0)),this.initializeCarouselControl(n,s,a,c,this.rtl),this._renderedPages.length>0?t:void 0}},t.prototype.applyRTL=function(t){e.prototype.applyRTL.call(this,this._carouselPageContainer),this.rtl&&t.classList.add(this.hostConfig.makeCssClassName("ac-carousel-pagination-rtl"))},t.prototype.validateOrientationProperties=function(){this.carouselHeight||(this.carouselOrientation=l.Orientation.Horizontal)},t.prototype.updateCssForHorizontalCarousel=function(e,t){e.classList.add(this.hostConfig.makeCssClassName("ac-carousel-left")),t.classList.add(this.hostConfig.makeCssClassName("ac-carousel-right"))},t.prototype.updateCssForVerticalCarousel=function(e,t,n){this._containerForAdorners.classList.add(this.hostConfig.makeCssClassName("ac-carousel-container-vertical")),e.classList.add(this.hostConfig.makeCssClassName("ac-carousel-navigation-vertical")),t.classList.add(this.hostConfig.makeCssClassName("ac-carousel-up")),n.classList.add(this.hostConfig.makeCssClassName("ac-carousel-down"))},t.prototype.initializeCarouselControl=function(e,t,n,r,i){var o,a,s,c=this,u=void 0!==i&&i?n:t,d=void 0!==i&&i?t:n,f=l.Orientation.Horizontal===this.carouselOrientation?d:n,m=l.Orientation.Horizontal===this.carouselOrientation?u:t,g={loop:!this.isDesignMode()&&this.carouselLoop,modules:[h.Navigation,h.Pagination,h.Scrollbar,h.A11y,h.History,h.Keyboard],pagination:{el:r,clickable:!0},navigation:{prevEl:f,nextEl:m},a11y:{enabled:!0},keyboard:{enabled:!1,onlyInViewport:!0},direction:this.carouselOrientation===l.Orientation.Horizontal?"horizontal":"vertical",resizeObserver:!1,initialSlide:this._currentIndex};this.timer&&!this.isDesignMode()&&(null===(o=g.modules)||void 0===o||o.push(h.Autoplay),g.autoplay={delay:this.timer,pauseOnMouseEnter:!0});var v=new h.Swiper(e,g);e.addEventListener("mouseenter",(function(e){var t;null===(t=v.autoplay)||void 0===t||t.stop()})),e.addEventListener("mouseleave",(function(e){var t;null===(t=v.autoplay)||void 0===t||t.start()})),v.on("navigationNext",(function(e){c.raiseCarouselEvent(l.CarouselInteractionEvent.NavigationNext)})),v.on("navigationPrev",(function(e){c.raiseCarouselEvent(l.CarouselInteractionEvent.NavigationPrevious)})),v.on("slideChangeTransitionEnd",(function(e){c.currentIndex=e.realIndex,c.raiseCarouselEvent(l.CarouselInteractionEvent.Pagination)})),v.on("autoplay",(function(){c.raiseCarouselEvent(l.CarouselInteractionEvent.Autoplay)})),v.on("paginationRender",(function(e,t){e.pagination.bullets.forEach((function(t,n){t.addEventListener("keypress",(function(t){"Enter"==t.key&&(t.preventDefault(),e.slideTo(n+1))}))}))})),v.on("destroy",(function(){c.destroyResizeObserver()})),n.title=null!==(a=n.ariaLabel)&&void 0!==a?a:p.Strings.defaults.carouselNavigationPreviousTooltip(),t.title=null!==(s=t.ariaLabel)&&void 0!==s?s:p.Strings.defaults.carouselNavigationNextTooltip(),this._carousel=v,this.createResizeObserver()},t.prototype.createCarouselPageInstance=function(e,t){return t.parseCardObject(this,e,this.forbiddenChildElements(),!this.isDesignMode(),(function(e){return e&&"CarouselPage"!==e?void 0:new g}),(function(e,n){t.logParseEvent(void 0,d.ValidationEvent.ElementTypeNotAllowed,p.Strings.errors.elementTypeNotAllowed(e))}))},t.prototype.slideTo=function(e){var t;null===(t=this._carousel)||void 0===t||t.slideTo(e)},Object.defineProperty(t.prototype,"carouselPageContainer",{get:function(){return this._carouselPageContainer},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"currentIndex",{get:function(){return this._currentIndex},set:function(e){this._currentIndex=e},enumerable:!1,configurable:!0}),t.prototype.createCarouselEvent=function(e){var t;return null!=this.currentPageIndex&&(t=this.getItemAt(this.currentPageIndex).id),new y(e,this.id,t,this.currentPageIndex)},t.prototype.raiseCarouselEvent=function(e){var t=this.parent?this.parent.getRootElement():void 0,n=t&&t.onCarouselEvent?t.onCarouselEvent:s.AdaptiveCard.onCarouselEvent;n&&e==l.CarouselInteractionEvent.Pagination&&n(this.createCarouselEvent(this.previousEventType)),this.previousEventType=e},t.prototype.createResizeObserver=function(){var e,t=this;this.checkIfCarouselInValidStateForResizeEvent()&&(this._observer=new ResizeObserver((function(e){var n,r,i,o,a=null===(n=t._carousel)||void 0===n?void 0:n.width,s=null===(r=t._carousel)||void 0===r?void 0:r.height,l=a,c=s;e.forEach((function(e){var n,r=e.contentBoxSize,i=e.contentRect,o=e.target;o&&o!==(null===(n=t._carousel)||void 0===n?void 0:n.el)||(l=i?i.width:(r[0]||r).inlineSize,c=i?i.height:(r[0]||r).blockSize)})),l===a&&c===s||t.checkIfCarouselInValidStateForResizeEvent()&&(null===(i=t._carousel)||void 0===i||i.emit("beforeResize"),null===(o=t._carousel)||void 0===o||o.emit("resize"))})),this._observer.observe(null===(e=this._carousel)||void 0===e?void 0:e.el))},t.prototype.destroyResizeObserver=function(){var e;this._observer&&this._observer.unobserve&&(null===(e=this._carousel)||void 0===e?void 0:e.el)&&(this._observer.unobserve(this._carousel.el),this._observer=null)},t.prototype.checkIfCarouselInValidStateForResizeEvent=function(){return this._carousel&&!this._carousel.destroyed},t.timerProperty=new c.NumProperty(c.Versions.v1_6,"timer",void 0),t.initialPageProperty=new c.NumProperty(c.Versions.v1_6,"initialPage",0),t.loopProperty=new c.BoolProperty(c.Versions.v1_6,"loop",!0),t.orientationProperty=new c.EnumProperty(c.Versions.v1_6,"orientation",l.Orientation,l.Orientation.Horizontal),t.carouselHeightProperty=new c.PixelSizeProperty(c.Versions.v1_6,"heightInPixels"),o([(0,c.property)(t.timerProperty)],t.prototype,"timer",null),o([(0,c.property)(t.initialPageProperty)],t.prototype,"initialPageIndex",null),o([(0,c.property)(t.loopProperty)],t.prototype,"carouselLoop",void 0),o([(0,c.property)(t.orientationProperty)],t.prototype,"carouselOrientation",void 0),o([(0,c.property)(t.carouselHeightProperty)],t.prototype,"carouselHeight",void 0),t}(s.Container);t.Carousel=v;var y=function(e,t,n,r){this.type=e,this.carouselId=t,this.activeCarouselPageId=n,this.activeCarouselPageIndex=r};t.CarouselEvent=y,u.GlobalRegistry.defaultElements.register("Carousel",v,c.Versions.v1_6)},9789:(e,t,n)=>{const r=n(2306),i=n(9398),{ANY:o}=i,a=n(9433),s=n(6652),l=n(330),c=n(9245),u=n(3870),d=n(1859);e.exports=(e,t,n,p)=>{let h,f,m,g,v;switch(e=new r(e,p),t=new a(t,p),n){case">":h=l,f=u,m=c,g=">",v=">=";break;case"<":h=c,f=d,m=l,g="<",v="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(s(e,t,p))return!1;for(let n=0;n<t.set.length;++n){const r=t.set[n];let a=null,s=null;if(r.forEach((e=>{e.semver===o&&(e=new i(">=0.0.0")),a=a||e,s=s||e,h(e.semver,a.semver,p)?a=e:m(e.semver,s.semver,p)&&(s=e)})),a.operator===g||a.operator===v)return!1;if((!s.operator||s.operator===g)&&f(e,s.semver))return!1;if(s.operator===v&&m(e,s.semver))return!1}return!0}},9827:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},9970:e=>{e.exports="data:image/svg+xml,%3csvg width='160' height='160' viewBox='0 0 160 160' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cpath d='M130.45 70.9998L96.1196 105.53C95.183 106.476 94.8221 107.851 95.1727 109.135C95.5232 110.42 96.532 111.42 97.8196 111.76L144.91 124.21C146.197 124.548 147.567 124.176 148.505 123.231C149.443 122.287 149.807 120.915 149.46 119.63L136.7 72.6298C136.346 71.3456 135.334 70.3476 134.045 70.0114C132.756 69.6753 131.386 70.052 130.45 70.9998Z' fill='url(%23paint0_linear)'/%3e %3cpath d='M30.6596 31.7804L10.3496 76.0504C9.79449 77.2603 9.9262 78.6743 10.6952 79.7608C11.4642 80.8474 12.754 81.4417 14.0796 81.3204L62.5796 76.7704C63.9068 76.6476 65.0675 75.8259 65.6245 74.615C66.1814 73.4041 66.05 71.9881 65.2796 70.9004L37.0896 31.1704C36.3172 30.0853 35.0247 29.4944 33.6986 29.6202C32.3726 29.746 31.2142 30.5694 30.6596 31.7804Z' fill='url(%23paint1_linear)'/%3e %3cpath d='M69.511 38.0003L10.591 125.32C8.98078 127.709 8.76634 130.776 10.0283 133.365C11.2903 135.955 13.8372 137.676 16.711 137.88L121.781 145.25C124.654 145.447 127.414 144.099 129.024 141.712C130.634 139.324 130.85 136.26 129.591 133.67L83.441 39.0003C82.1844 36.4072 79.639 34.6822 76.7649 34.4758C73.8907 34.2695 71.1251 35.6132 69.511 38.0003Z' fill='%23FFD590'/%3e %3cpath fill-rule='evenodd' clip-rule='evenodd' d='M78.665 64.3512C78.8195 62.1474 77.1582 60.2357 74.9545 60.0812C72.7508 59.9268 70.8391 61.588 70.6846 63.7917L67.8174 104.691C67.6629 106.895 69.3242 108.807 71.5279 108.961C73.7316 109.116 75.6434 107.455 75.7978 105.251L78.665 64.3512ZM75.3594 118.5C75.3594 116.015 73.3447 114 70.8594 114C68.3741 114 66.3594 116.015 66.3594 118.5C66.3594 120.985 68.3741 123 70.8594 123C73.3447 123 75.3594 120.985 75.3594 118.5Z' fill='white'/%3e %3cpath d='M28.1699 73.3203C30.6552 73.3203 32.6699 71.3056 32.6699 68.8203C32.6699 66.335 30.6552 64.3203 28.1699 64.3203C25.6846 64.3203 23.6699 66.335 23.6699 68.8203C23.6699 71.3056 25.6846 73.3203 28.1699 73.3203Z' fill='%2328C2D1'/%3e %3cpath fill-rule='evenodd' clip-rule='evenodd' d='M146.274 58.5565L146.252 58.5499C144.138 57.9111 141.905 59.1075 141.267 61.2223L132.56 90.0441C131.921 92.1588 133.118 94.3911 135.232 95.0299L135.453 95.091C137.507 95.5996 139.621 94.4127 140.24 92.3641L148.947 63.5423C149.585 61.4275 148.389 59.1953 146.274 58.5565ZM136.811 103.68C136.811 101.194 134.796 99.1798 132.311 99.1798C129.825 99.1798 127.811 101.194 127.811 103.68C127.811 106.165 129.825 108.18 132.311 108.18C134.796 108.18 136.811 106.165 136.811 103.68Z' fill='%233E8EED'/%3e %3cpath fill-rule='evenodd' clip-rule='evenodd' d='M28.3278 54.6914L20.1544 25.8263C19.5525 23.7007 17.3415 22.4655 15.2159 23.0674C13.0904 23.6693 11.8552 25.8803 12.457 28.0059L20.6305 56.871C21.2324 58.9965 23.4434 60.2317 25.569 59.6299C27.6945 59.028 28.9297 56.817 28.3278 54.6914ZM32.67 68.8204C32.67 66.3351 30.6553 64.3204 28.17 64.3204C25.6847 64.3204 23.67 66.3351 23.67 68.8204C23.67 71.3057 25.6847 73.3204 28.17 73.3204C30.6553 73.3204 32.67 71.3057 32.67 68.8204Z' fill='%2328C2D1'/%3e %3cpath fill-rule='evenodd' clip-rule='evenodd' d='M78.0705 17.8367C77.802 16.5992 76.6235 15.7592 75.3503 15.9303C74.7088 16.0171 74.1285 16.3562 73.738 16.8725C73.3476 17.3887 73.1792 18.0395 73.2703 18.6803L74.1603 25.1003L74.1881 25.2585C74.4501 26.5075 75.6381 27.3571 76.9203 27.1803C77.5625 27.0911 78.1429 26.7499 78.5331 26.232C78.9234 25.7142 79.0915 25.0623 79.0003 24.4203L78.1003 18.0003L78.0705 17.8367ZM86.3703 27.2803L89.4803 22.0703C90.1402 20.9628 91.5399 20.5675 92.674 21.1401L92.8203 21.2203L93.0903 21.4003C93.9942 22.13 94.2585 23.3853 93.7474 24.4105L93.6603 24.5703L90.5403 29.7903C89.8483 30.9423 88.355 31.3179 87.2003 30.6303C87.0913 30.5648 86.9878 30.4908 86.8908 30.4089L86.7503 30.2803L86.6209 30.1449C85.9634 29.4012 85.8274 28.3279 86.2788 27.4437L86.3703 27.2803ZM97.0003 35.1303L102.16 32.5303C102.739 32.2308 103.414 32.1803 104.03 32.3903C104.297 32.4778 104.547 32.6097 104.77 32.7803C105.054 33.0022 105.283 33.2861 105.44 33.6103C106.017 34.7617 105.598 36.1523 104.506 36.8001L104.36 36.8803L99.2003 39.4803C98.6239 39.7799 97.9507 39.833 97.3345 39.6276C96.7799 39.4427 96.3141 39.0626 96.0213 38.5617L95.9303 38.3903H95.9203C95.3443 37.2417 95.7642 35.8541 96.8543 35.21L97.0003 35.1303Z' fill='%23E1DFDD'/%3e %3cdefs%3e %3clinearGradient id='paint0_linear' x1='96.9876' y1='125.262' x2='134.066' y2='117.517' gradientUnits='userSpaceOnUse'%3e %3cstop stop-color='%2372ACF1'/%3e %3cstop offset='1' stop-color='%23A7CBF6'/%3e %3c/linearGradient%3e %3clinearGradient id='paint1_linear' x1='70.8923' y1='65.4093' x2='44.4792' y2='46.91' gradientUnits='userSpaceOnUse'%3e %3cstop stop-color='%237BDDEF'/%3e %3cstop offset='1' stop-color='%23C3F2F4'/%3e %3c/linearGradient%3e %3c/defs%3e %3c/svg%3e"}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var o=r[e]={id:e,exports:{}};return n[e].call(o.exports,o,o.exports,i),o.exports}i.m=n,i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var o=Object.create(null);i.r(o);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>n[e]));return a.default=()=>n,i.d(o,a),o},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.b=document.baseURI||self.location.href,i.nc=void 0,(()=>{"use strict";var e={};i.r(e),i.d(e,{decode:()=>zk,encode:()=>jk,format:()=>Wk,parse:()=>rT});var t={};i.r(t),i.d(t,{Any:()=>aT,Cc:()=>sT,Cf:()=>lT,P:()=>iT,S:()=>oT,Z:()=>cT});var n={};i.r(n),i.d(n,{arrayReplaceAt:()=>LT,assign:()=>MT,escapeHtml:()=>GT,escapeRE:()=>YT,fromCodePoint:()=>FT,has:()=>RT,isMdAsciiPunct:()=>QT,isPunctChar:()=>JT,isSpace:()=>XT,isString:()=>DT,isValidEntityCode:()=>OT,isWhiteSpace:()=>ZT,lib:()=>t_,normalizeReference:()=>e_,unescapeAll:()=>UT,unescapeMd:()=>VT});var r={};i.r(r),i.d(r,{parseLinkDestination:()=>r_,parseLinkLabel:()=>n_,parseLinkTitle:()=>i_});var o,a=i(4922),s=i.t(a,2),l=i(7810),c=i.t(l,2),u=i(2483),d="__global__",p="__shadow_dom_stylesheet__",h={stylesheetKey:d,inShadow:!1,window:void 0,__isShadowConfig__:!0},f=function(e){return!(!e||!function(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}(e))&&!0===e.__isShadowConfig__};function m(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=[],i=[],o=e;return function e(t){for(var n=0,a=t;n<a.length;n++){var s=a[n];if(s&&!f(s))if("string"==typeof s)if(s.indexOf(" ")>=0)e(s.split(" "));else{var l=o.argsFromClassName(s);l?e(l):-1===r.indexOf(s)&&r.push(s)}else Array.isArray(s)?e(s):"object"==typeof s&&i.push(s)}}(t),{classes:r,objects:i}}function g(e){o!==e&&(o=e)}function v(){return void 0===o&&(o="undefined"!=typeof document&&!!document.documentElement&&"rtl"===document.documentElement.getAttribute("dir")),o}function y(){return{rtl:v(),shadowConfig:h}}o=v();var b=function(e,t){return b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},b(e,t)};function C(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}b(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var A=function(){return A=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},A.apply(this,arguments)};function S(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function E(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function w(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}function x(e,t){var n,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!((i=(i=o.trys).length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}function I(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function k(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function T(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var _,P="__stylesheet__",D="undefined"!=typeof navigator&&/rv:11.0/.test(navigator.userAgent),B={};try{B=window||{}}catch(N){}var R,M=function(){function e(e,t){var n,r,i,o,a,s;this._rules=[],this._preservedRules=[],this._counter=0,this._keyToClassName={},this._onInsertRuleCallbacks=[],this._onResetCallbacks=[],this._classNameToArgs={},this._config=A({injectionMode:"undefined"==typeof document?0:1,defaultPrefix:"css",namespace:void 0,cspSettings:void 0},e),this._classNameToArgs=null!==(n=null==t?void 0:t.classNameToArgs)&&void 0!==n?n:this._classNameToArgs,this._counter=null!==(r=null==t?void 0:t.counter)&&void 0!==r?r:this._counter,this._keyToClassName=null!==(o=null!==(i=this._config.classNameCache)&&void 0!==i?i:null==t?void 0:t.keyToClassName)&&void 0!==o?o:this._keyToClassName,this._preservedRules=null!==(a=null==t?void 0:t.preservedRules)&&void 0!==a?a:this._preservedRules,this._rules=null!==(s=null==t?void 0:t.rules)&&void 0!==s?s:this._rules}return e.getInstance=function(t){if(_=B[P],B[p])return B[p].getInstance(t);if(!_||_._lastStyleElement&&_._lastStyleElement.ownerDocument!==document){var n=(null==B?void 0:B.FabricConfig)||{},r=new e(n.mergeStyles,n.serializedStylesheet);_=r,B[P]=r}return _},e.prototype.serialize=function(){return JSON.stringify({classNameToArgs:this._classNameToArgs,counter:this._counter,keyToClassName:this._keyToClassName,preservedRules:this._preservedRules,rules:this._rules})},e.prototype.setConfig=function(e){this._config=A(A({},this._config),e)},e.prototype.onReset=function(e){var t=this;return this._onResetCallbacks.push(e),function(){t._onResetCallbacks=t._onResetCallbacks.filter((function(t){return t!==e}))}},e.prototype.onInsertRule=function(e){var t=this;return this._onInsertRuleCallbacks.push(e),function(){t._onInsertRuleCallbacks=t._onInsertRuleCallbacks.filter((function(t){return t!==e}))}},e.prototype.getClassName=function(e){var t=this._config.namespace,n=e||this._config.defaultPrefix;return"".concat(t?t+"-":"").concat(n,"-").concat(this._counter++)},e.prototype.cacheClassName=function(e,t,n,r){this._keyToClassName[this._getCacheKey(t)]=e,this._classNameToArgs[e]={args:n,rules:r}},e.prototype.classNameFromKey=function(e){return this._keyToClassName[this._getCacheKey(e)]},e.prototype.getClassNameCache=function(){return this._keyToClassName},e.prototype.argsFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.args},e.prototype.insertedRulesFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.rules},e.prototype.insertRule=function(e,t,n){void 0===n&&(n=d);var r=this._config.injectionMode,i=0!==r?this._getStyleElement():void 0;if(t&&this._preservedRules.push(e),i)switch(r){case 1:this._insertRuleIntoSheet(i.sheet,e);break;case 2:i.appendChild(document.createTextNode(e))}else this._rules.push(e);this._config.onInsertRule&&this._config.onInsertRule(e),this._onInsertRuleCallbacks.forEach((function(t){return t({key:n,sheet:i?i.sheet:void 0,rule:e})}))},e.prototype.getRules=function(e){return(e?this._preservedRules.join(""):"")+this._rules.join("")},e.prototype.reset=function(){this._rules=[],this._counter=0,this._classNameToArgs={},this._keyToClassName={},this._onResetCallbacks.forEach((function(e){return e()}))},e.prototype.resetKeys=function(){this._keyToClassName={}},e.prototype._createStyleElement=function(){var e,t=(null===(e=this._config.window)||void 0===e?void 0:e.document)||document,n=t.head,r=t.createElement("style"),i=null;r.setAttribute("data-merge-styles","true");var o=this._config.cspSettings;if(o&&o.nonce&&r.setAttribute("nonce",o.nonce),this._lastStyleElement)i=this._lastStyleElement.nextElementSibling;else{var a=this._findPlaceholderStyleTag();i=a?a.nextElementSibling:n.childNodes[0]}return n.insertBefore(r,n.contains(i)?i:null),this._lastStyleElement=r,r},e.prototype._insertRuleIntoSheet=function(e,t){if(!e)return!1;try{return e.insertRule(t,e.cssRules.length),!0}catch(e){}return!1},e.prototype._getCacheKey=function(e){return e},e.prototype._getStyleElement=function(){var e=this;return this._styleElement||(this._styleElement=this._createStyleElement(),D||(this._config.window||window).requestAnimationFrame((function(){e._styleElement=void 0}))),this._styleElement},e.prototype._findPlaceholderStyleTag=function(){var e=document.head;return e?e.querySelector("style[data-merge-styles]"):null},e}(),L={},O={"user-select":1};function F(e,t){var n=function(){var e;if(!R){var t="undefined"!=typeof document?document:void 0,n="undefined"!=typeof navigator?navigator:void 0,r=null===(e=null==n?void 0:n.userAgent)||void 0===e?void 0:e.toLowerCase();R=t?{isWebkit:!(!t||!("WebkitAppearance"in t.documentElement.style)),isMoz:!!(r&&r.indexOf("firefox")>-1),isOpera:!!(r&&r.indexOf("opera")>-1),isMs:!(!n||!/rv:11.0/i.test(n.userAgent)&&!/Edge\/\d./i.test(navigator.userAgent))}:{isWebkit:!0,isMoz:!0,isOpera:!0,isMs:!0}}return R}(),r=e[t];if(O[r]){var i=e[t+1];O[r]&&(n.isWebkit&&e.push("-webkit-"+r,i),n.isMoz&&e.push("-moz-"+r,i),n.isMs&&e.push("-ms-"+r,i),n.isOpera&&e.push("-o-"+r,i))}}var N,H=["column-count","font-weight","flex","flex-grow","flex-shrink","fill-opacity","opacity","order","z-index","zoom"];function z(e,t){var n=e[t],r=e[t+1];if("number"==typeof r){var i=H.indexOf(n)>-1,o=n.indexOf("--")>-1,a=i||o?"":"px";e[t+1]="".concat(r).concat(a)}}var V="left",U="right",j=((N={})[V]=U,N[U]=V,N),W={"w-resize":"e-resize","sw-resize":"se-resize","nw-resize":"ne-resize"};function $(e,t,n){if(e.rtl){var r=t[n];if(!r)return;var i=t[n+1];if("string"==typeof i&&i.indexOf("@noflip")>=0)t[n+1]=i.replace(/\s*(?:\/\*\s*)?\@noflip\b(?:\s*\*\/)?\s*?/g,"");else if(r.indexOf(V)>=0)t[n]=r.replace(V,U);else if(r.indexOf(U)>=0)t[n]=r.replace(U,V);else if(String(i).indexOf(V)>=0)t[n+1]=i.replace(V,U);else if(String(i).indexOf(U)>=0)t[n+1]=i.replace(U,V);else if(j[r])t[n]=j[r];else if(W[i])t[n+1]=W[i];else switch(r){case"margin":case"padding":t[n+1]=function(e){if("string"==typeof e){var t=e.split(" ");if(4===t.length)return"".concat(t[0]," ").concat(t[3]," ").concat(t[2]," ").concat(t[1])}return e}(i);break;case"box-shadow":t[n+1]=function(e){var t=e.split(" "),n=parseInt(t[0],10);return t[0]=t[0].replace(String(n),String(-1*n)),t.join(" ")}(i)}}}var q=/\:global\((.+?)\)/g;function G(e,t){return e.indexOf(":global(")>=0?e.replace(q,"$1"):0===e.indexOf(":host(")?e:0===e.indexOf(":")?t+e:e.indexOf("&")<0?t+" "+e:e}function K(e,t,n,r,i){void 0===t&&(t={__order:[]}),0===n.indexOf("@")?Y([r],t,n=n+"{"+e,i):n.indexOf(",")>-1?function(e){if(!q.test(e))return e;for(var t=[],n=/\:global\((.+?)\)/g,r=null;r=n.exec(e);)r[1].indexOf(",")>-1&&t.push([r.index,r.index+r[0].length,r[1].split(",").map((function(e){return":global(".concat(e.trim(),")")})).join(", ")]);return t.reverse().reduce((function(e,t){var n=t[0],r=t[1],i=t[2];return e.slice(0,n)+i+e.slice(r)}),e)}(n).split(",").map((function(e){return e.trim()})).forEach((function(n){return Y([r],t,G(n,e),i)})):Y([r],t,G(n,e),i)}function Y(e,t,n,r){void 0===t&&(t={__order:[]}),void 0===n&&(n="&");var i,o=t[n];o||(o={},t[n]=o,t.__order.push(n));for(var a=0,s=e;a<s.length;a++){var l=s[a];if("string"==typeof l){var c=r.argsFromClassName(l);c&&Y(c,t,n,r)}else if(Array.isArray(l))Y(l,t,n,r);else for(var u in l)if(l.hasOwnProperty(u)){var d=l[u];if("selectors"===u){var p=l.selectors;for(var h in p)p.hasOwnProperty(h)&&K(n,t,h,p[h],r)}else"object"==typeof d||(i=u).indexOf(":global(")>=0||0===i.indexOf(":")?null!=d&&K(n,t,u,d,r):void 0!==d&&("margin"===u||"padding"===u?X(o,u,d):o[u]=d)}}return t}function X(e,t,n){var r="string"==typeof n?function(e){for(var t=[],n=0,r=0,i=0;i<e.length;i++)switch(e[i]){case"(":r++;break;case")":r&&r--;break;case"\t":case" ":r||(i>n&&t.push(e.substring(n,i)),n=i+1)}return n<e.length&&t.push(e.substring(n)),t}(n):[n];0===r.length&&r.push(n),"!important"===r[r.length-1]&&(r=r.slice(0,-1).map((function(e){return e+" !important"}))),e[t+"Top"]=r[0],e[t+"Right"]=r[1]||r[0],e[t+"Bottom"]=r[2]||r[0],e[t+"Left"]=r[3]||r[1]||r[0]}function Z(e,t){return t<=0?"":1===t?e:e+Z(e,t-1)}function J(e,t){if(!t)return"";var n,r,i,o=[];for(var a in t)t.hasOwnProperty(a)&&"displayName"!==a&&void 0!==t[a]&&o.push(a,t[a]);for(var s=0;s<o.length;s+=2)i=void 0,"-"!==(i=(n=o)[r=s]).charAt(0)&&(n[r]=L[i]=L[i]||i.replace(/([A-Z])/g,"-$1").toLowerCase()),z(o,s),$(e,o,s),F(o,s);for(s=1;s<o.length;s+=4)o.splice(s,1,":",o[s],";");return o.join("")}function Q(e){for(var t,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var i=null!==(t=e.stylesheet)&&void 0!==t?t:M.getInstance(e.shadowConfig),o=Y(n,void 0,void 0,i),a=function(e,t){for(var n=[e.rtl?"rtl":"ltr"],r=!1,i=0,o=t.__order;i<o.length;i++){var a=o[i];n.push(a);var s=t[a];for(var l in s)s.hasOwnProperty(l)&&void 0!==s[l]&&(r=!0,n.push(l,s[l]))}return r?n.join(""):void 0}(e,o);if(a){var s={className:i.classNameFromKey(a),key:a,args:n};if(!s.className){s.className=i.getClassName(function(e){var t=e&&e["&"];return t?t.displayName:void 0}(o));for(var l=[],c=0,u=o.__order;c<u.length;c++){var d=u[c];l.push(d,J(e,o[d]))}s.rulesToInsert=l}return s}}function ee(e,t,n,r){void 0===t&&(t=1);var i=null!=r?r:M.getInstance(n),o=e.className,a=e.key,s=e.args,l=e.rulesToInsert;if(l){for(var c=0;c<l.length;c+=2){var u=l[c+1];if(u){var d=l[c];d=d.replace(/&/g,Z(".".concat(e.className),t));var p="".concat(d,"{").concat(u,"}").concat(0===d.indexOf("@")?"}":"");i.insertRule(p)}}i.cacheClassName(o,a,s,l)}}function te(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return ne(e,y())}function ne(e,t){var n=e instanceof Array?e:[e],r=t||{};f(n[0])&&(r.shadowConfig=n[0]),r.stylesheet=M.getInstance(r.shadowConfig);var i=m(r.stylesheet,n),o=i.classes,a=i.objects;return a.length&&o.push(function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=Q.apply(void 0,k([e],t,!1));return r?(ee(r,e.specificityMultiplier,e.shadowConfig,e.stylesheet),r.className):""}(r,a)),o.join(" ")}function re(e){var t=M.getInstance(),n=[];for(var r in e)e.hasOwnProperty(r)&&n.push(r,"{",J(y(),e[r]),"}");var i=n.join(""),o=t.classNameFromKey(i);if(o)return o;var a=t.getClassName();return t.insertRule("@keyframes ".concat(a,"{").concat(i,"}"),!0),t.cacheClassName(a,i,[],["keyframes",i]),a}var ie="cubic-bezier(.1,.9,.2,1)",oe="cubic-bezier(.1,.25,.75,.9)",ae="0.167s",se="0.267s",le="0.367s",ce="0.467s",ue=re({from:{opacity:0},to:{opacity:1}}),de=re({from:{opacity:1},to:{opacity:0,visibility:"hidden"}}),pe=je(-10),he=je(-20),fe=je(-40),me=je(-400),ge=je(10),ve=je(20),ye=je(40),be=je(400),Ce=We(10),Ae=We(20),Se=We(-10),Ee=We(-20),we=$e(10),xe=$e(20),Ie=$e(40),ke=$e(400),Te=$e(-10),_e=$e(-20),Pe=$e(-40),De=$e(-400),Be=qe(-10),Re=qe(-20),Me=qe(10),Le=qe(20),Oe=re({from:{transform:"scale3d(.98,.98,1)"},to:{transform:"scale3d(1,1,1)"}}),Fe=re({from:{transform:"scale3d(1,1,1)"},to:{transform:"scale3d(.98,.98,1)"}}),Ne=re({from:{transform:"scale3d(1.03,1.03,1)"},to:{transform:"scale3d(1,1,1)"}}),He=re({from:{transform:"scale3d(1,1,1)"},to:{transform:"scale3d(1.03,1.03,1)"}}),ze=re({from:{transform:"rotateZ(0deg)"},to:{transform:"rotateZ(90deg)"}}),Ve=re({from:{transform:"rotateZ(0deg)"},to:{transform:"rotateZ(-90deg)"}});function Ue(e,t,n){return{animationName:e,animationDuration:t,animationTimingFunction:n,animationFillMode:"both"}}function je(e){return re({from:{transform:"translate3d(".concat(e,"px,0,0)"),pointerEvents:"none"},to:{transform:"translate3d(0,0,0)",pointerEvents:"auto"}})}function We(e){return re({from:{transform:"translate3d(0,".concat(e,"px,0)"),pointerEvents:"none"},to:{transform:"translate3d(0,0,0)",pointerEvents:"auto"}})}function $e(e){return re({from:{transform:"translate3d(0,0,0)"},to:{transform:"translate3d(".concat(e,"px,0,0)")}})}function qe(e){return re({from:{transform:"translate3d(0,0,0)"},to:{transform:"translate3d(0,".concat(e,"px,0)")}})}var Ge,Ke,Ye,Xe,Ze,Je=function(e){var t={},n=function(n){var r;e.hasOwnProperty(n)&&Object.defineProperty(t,n,{get:function(){return void 0===r&&(r=te(e[n]).toString()),r},enumerable:!0,configurable:!0})};for(var r in e)n(r);return t}({slideRightIn10:Ue("".concat(ue,",").concat(pe),le,ie),slideRightIn20:Ue("".concat(ue,",").concat(he),le,ie),slideRightIn40:Ue("".concat(ue,",").concat(fe),le,ie),slideRightIn400:Ue("".concat(ue,",").concat(me),le,ie),slideLeftIn10:Ue("".concat(ue,",").concat(ge),le,ie),slideLeftIn20:Ue("".concat(ue,",").concat(ve),le,ie),slideLeftIn40:Ue("".concat(ue,",").concat(ye),le,ie),slideLeftIn400:Ue("".concat(ue,",").concat(be),le,ie),slideUpIn10:Ue("".concat(ue,",").concat(Ce),le,ie),slideUpIn20:Ue("".concat(ue,",").concat(Ae),le,ie),slideDownIn10:Ue("".concat(ue,",").concat(Se),le,ie),slideDownIn20:Ue("".concat(ue,",").concat(Ee),le,ie),slideRightOut10:Ue("".concat(de,",").concat(we),le,ie),slideRightOut20:Ue("".concat(de,",").concat(xe),le,ie),slideRightOut40:Ue("".concat(de,",").concat(Ie),le,ie),slideRightOut400:Ue("".concat(de,",").concat(ke),le,ie),slideLeftOut10:Ue("".concat(de,",").concat(Te),le,ie),slideLeftOut20:Ue("".concat(de,",").concat(_e),le,ie),slideLeftOut40:Ue("".concat(de,",").concat(Pe),le,ie),slideLeftOut400:Ue("".concat(de,",").concat(De),le,ie),slideUpOut10:Ue("".concat(de,",").concat(Be),le,ie),slideUpOut20:Ue("".concat(de,",").concat(Re),le,ie),slideDownOut10:Ue("".concat(de,",").concat(Me),le,ie),slideDownOut20:Ue("".concat(de,",").concat(Le),le,ie),scaleUpIn100:Ue("".concat(ue,",").concat(Oe),le,ie),scaleDownIn100:Ue("".concat(ue,",").concat(Ne),le,ie),scaleUpOut103:Ue("".concat(de,",").concat(He),ae,oe),scaleDownOut98:Ue("".concat(de,",").concat(Fe),ae,oe),fadeIn100:Ue(ue,ae,oe),fadeIn200:Ue(ue,se,oe),fadeIn400:Ue(ue,le,oe),fadeIn500:Ue(ue,ce,oe),fadeOut100:Ue(de,ae,oe),fadeOut200:Ue(de,se,oe),fadeOut400:Ue(de,le,oe),fadeOut500:Ue(de,ce,oe),rotate90deg:Ue(ze,"0.1s",oe),rotateN90deg:Ue(Ve,"0.1s",oe)});!function(e){e.Arabic="Segoe UI Web (Arabic)",e.Cyrillic="Segoe UI Web (Cyrillic)",e.EastEuropean="Segoe UI Web (East European)",e.Greek="Segoe UI Web (Greek)",e.Hebrew="Segoe UI Web (Hebrew)",e.Thai="Leelawadee UI Web",e.Vietnamese="Segoe UI Web (Vietnamese)",e.WestEuropean="Segoe UI Web (West European)",e.Selawik="Selawik Web",e.Armenian="Segoe UI Web (Armenian)",e.Georgian="Segoe UI Web (Georgian)"}(Ge||(Ge={})),function(e){e.Arabic="'".concat(Ge.Arabic,"'"),e.ChineseSimplified="'Microsoft Yahei UI', Verdana, Simsun",e.ChineseTraditional="'Microsoft Jhenghei UI', Pmingliu",e.Cyrillic="'".concat(Ge.Cyrillic,"'"),e.EastEuropean="'".concat(Ge.EastEuropean,"'"),e.Greek="'".concat(Ge.Greek,"'"),e.Hebrew="'".concat(Ge.Hebrew,"'"),e.Hindi="'Nirmala UI'",e.Japanese="'Yu Gothic UI', 'Meiryo UI', Meiryo, 'MS Pgothic', Osaka",e.Korean="'Malgun Gothic', Gulim",e.Selawik="'".concat(Ge.Selawik,"'"),e.Thai="'Leelawadee UI Web', 'Kmer UI'",e.Vietnamese="'".concat(Ge.Vietnamese,"'"),e.WestEuropean="'".concat(Ge.WestEuropean,"'"),e.Armenian="'".concat(Ge.Armenian,"'"),e.Georgian="'".concat(Ge.Georgian,"'")}(Ke||(Ke={})),function(e){e.size10="10px",e.size12="12px",e.size14="14px",e.size16="16px",e.size18="18px",e.size20="20px",e.size24="24px",e.size28="28px",e.size32="32px",e.size42="42px",e.size68="68px",e.mini="10px",e.xSmall="10px",e.small="12px",e.smallPlus="12px",e.medium="14px",e.mediumPlus="16px",e.icon="16px",e.large="18px",e.xLarge="20px",e.xLargePlus="24px",e.xxLarge="28px",e.xxLargePlus="32px",e.superLarge="42px",e.mega="68px"}(Ye||(Ye={})),function(e){e.light=100,e.semilight=300,e.regular=400,e.semibold=600,e.bold=700}(Xe||(Xe={})),function(e){e.xSmall="10px",e.small="12px",e.medium="16px",e.large="20px"}(Ze||(Ze={}));var Qe={position:"absolute",width:1,height:1,margin:-1,padding:0,border:0,overflow:"hidden",whiteSpace:"nowrap"},et=!1,tt=0,nt={empty:!0},rt={},it="undefined"==typeof WeakMap?null:WeakMap;function ot(){tt++}function at(e,t,n){if(void 0===t&&(t=100),void 0===n&&(n=!1),!it)return e;if(!et){var r=M.getInstance();r&&r.onReset&&M.getInstance().onReset(ot),et=!0}var i,o=0,a=tt;return function(){for(var r=[],s=0;s<arguments.length;s++)r[s]=arguments[s];var l,c=i;(void 0===i||a!==tt||t>0&&o>t)&&(i=lt(),o=0,a=tt),c=i;for(var u=0;u<r.length;u++){var d=(l=r[u])?"object"==typeof l||"function"==typeof l?l:(rt[l]||(rt[l]={val:l}),rt[l]):nt;c.map.has(d)||c.map.set(d,lt()),c=c.map.get(d)}return c.hasOwnProperty("value")||(c.value=e.apply(void 0,r),o++),!n||null!==c.value&&void 0!==c.value||(c.value=e.apply(void 0,r)),c.value}}function st(e){if(!it)return e;var t=new it;return function(n){if(!n||"function"!=typeof n&&"object"!=typeof n)return e(n);if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}}function lt(){return{map:it?new it:null}}var ct=at((function(e,t){var n=M.getInstance();return t?Object.keys(e).reduce((function(t,r){return t[r]=n.getClassName(e[r]),t}),{}):e}));function ut(e,t,n){return ct(e,void 0!==n?n:t.disableGlobalClassNames)}var dt="@media screen and (-ms-high-contrast: active), screen and (forced-colors: active)";function pt(e,t){var n="number"==typeof e?" and (min-width: ".concat(e,"px)"):"",r="number"==typeof t?" and (max-width: ".concat(t,"px)"):"";return"@media only screen".concat(n).concat(r)}function ht(){return"undefined"!=typeof window&&!(!window.document||!window.document.createElement)}var ft=void 0;try{ft=window}catch(e){}function mt(e){if(ht()&&void 0!==ft){var t=e;return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:ft}}var gt,vt="ms-Fabric--isFocusVisible",yt="ms-Fabric--isFocusHidden";function bt(e,t){e&&(e.classList.add(t?vt:yt),e.classList.remove(t?yt:vt))}function Ct(e,t,n){var r;n?n.forEach((function(t){return bt(t.current,e)})):bt(null===(r=mt(t))||void 0===r?void 0:r.document.body,e)}function At(e,t,n,r,i,o,a,s){return function(e,t){var n,r;void 0===t&&(t={});var i=t.borderRadius,o=t.inset,a=void 0===o?0:o,s=t.width,l=void 0===s?1:s,c=t.position,u=void 0===c?"relative":c,d=t.highContrastStyle,p=t.borderColor,h=void 0===p?e.palette.white:p,f=t.outlineColor,m=void 0===f?e.palette.neutralSecondary:f,g=t.isFocusedOnly,v=void 0===g||g,y=t.pointerEvents;return{outline:"transparent",position:u,selectors:(n={"::-moz-focus-inner":{border:"0"}},n[".".concat(vt," &").concat(v?":focus":"",":after, :host(.").concat(vt,") &").concat(v?":focus":"",":after")]={content:'""',position:"absolute",pointerEvents:y,left:a+1,top:a+1,bottom:a+1,right:a+1,border:"".concat(l,"px solid ").concat(h),outline:"".concat(l,"px solid ").concat(m),zIndex:gt.FocusStyle,borderRadius:i,selectors:(r={},r[dt]=d,r)},n)}}(e,"number"!=typeof t&&t?t:{inset:t,position:n,highContrastStyle:r,borderColor:i,outlineColor:o,isFocusedOnly:a,borderRadius:s})}!function(e){e.Nav=1,e.ScrollablePane=1,e.FocusStyle=1,e.Coachmark=1e3,e.Layer=1e6,e.KeytipLayer=1000001}(gt||(gt={}));var St="__globalSettings__",Et="__callbacks__",wt=0,xt=function(){function e(){}return e.getValue=function(e,t){var n=It();return void 0===n[e]&&(n[e]="function"==typeof t?t():t),n[e]},e.setValue=function(e,t){var n=It(),r=n[Et],i=n[e];if(t!==i){n[e]=t;var o={oldValue:i,value:t,key:e};for(var a in r)r.hasOwnProperty(a)&&r[a](o)}return t},e.addChangeListener=function(e){var t=e.__id__,n=kt();t||(t=e.__id__=String(wt++)),n[t]=e},e.removeChangeListener=function(e){delete kt()[e.__id__]},e}();function It(){var e,t=mt()||{};return t[St]||(t[St]=((e={})[Et]={},e)),t[St]}function kt(){return It()[Et]}var Tt,_t={settings:{},scopedSettings:{},inCustomizerContext:!1},Pt=xt.getValue("customizations",{settings:{},scopedSettings:{},inCustomizerContext:!1}),Dt=[],Bt=function(){function e(){}return e.reset=function(){Pt.settings={},Pt.scopedSettings={}},e.applySettings=function(t){Pt.settings=A(A({},Pt.settings),t),e._raiseChange()},e.applyScopedSettings=function(t,n){Pt.scopedSettings[t]=A(A({},Pt.scopedSettings[t]),n),e._raiseChange()},e.getSettings=function(e,t,n){void 0===n&&(n=_t);for(var r={},i=t&&n.scopedSettings[t]||{},o=t&&Pt.scopedSettings[t]||{},a=0,s=e;a<s.length;a++){var l=s[a];r[l]=i[l]||n.settings[l]||o[l]||Pt.settings[l]}return r},e.applyBatchedUpdates=function(t,n){e._suppressUpdates=!0;try{t()}catch(e){}e._suppressUpdates=!1,n||e._raiseChange()},e.observe=function(e){Dt.push(e)},e.unobserve=function(e){Dt=Dt.filter((function(t){return t!==e}))},e._raiseChange=function(){e._suppressUpdates||Dt.forEach((function(e){return e()}))},e}(),Rt=function(){return Rt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Rt.apply(this,arguments)},Mt="undefined"==typeof window?i.g:window,Lt=Mt&&Mt.CSPSettings&&Mt.CSPSettings.nonce,Ot=((Tt=Mt.__themeState__||{theme:void 0,lastStyleElement:void 0,registeredStyles:[]}).runState||(Tt=Rt(Rt({},Tt),{perf:{count:0,duration:0},runState:{flushTimer:0,mode:0,buffer:[]}})),Tt.registeredThemableStyles||(Tt=Rt(Rt({},Tt),{registeredThemableStyles:[]})),Mt.__themeState__=Tt,Tt);function Ft(e){Ot.theme=e,function(){if(Ot.theme){for(var e=[],t=0,n=Ot.registeredThemableStyles;t<n.length;t++){var r=n[t];e.push(r.themableStyle)}e.length>0&&(void 0===(o=1)&&(o=3),3!==o&&2!==o||(Nt(Ot.registeredStyles),Ot.registeredStyles=[]),3!==o&&1!==o||(Nt(Ot.registeredThemableStyles),Ot.registeredThemableStyles=[]),i=[].concat.apply([],e),Ot.loadStyles?Ot.loadStyles(Ht(i).styleString,i):function(e){if("undefined"!=typeof document){var t=document.getElementsByTagName("head")[0],n=document.createElement("style"),r=Ht(e),i=r.styleString,o=r.themable;n.setAttribute("data-load-themed-styles","true"),Lt&&n.setAttribute("nonce",Lt),n.appendChild(document.createTextNode(i)),Ot.perf.count++,t.appendChild(n);var a=document.createEvent("HTMLEvents");a.initEvent("styleinsert",!0,!1),a.args={newStyle:n},document.dispatchEvent(a);var s={styleElement:n,themableStyle:e};o?Ot.registeredThemableStyles.push(s):Ot.registeredStyles.push(s)}}(i))}var i,o}()}function Nt(e){e.forEach((function(e){var t=e&&e.styleElement;t&&t.parentElement&&t.parentElement.removeChild(t)}))}function Ht(e){var t=Ot.theme,n=!1;return{styleString:(e||[]).map((function(e){var r=e.theme;if(r){n=!0;var i=t?t[r]:void 0,o=e.defaultValue||"inherit";return t&&!i&&console&&!(r in t)&&"undefined"!=typeof DEBUG&&DEBUG&&console.warn('Theming value not provided for "'.concat(r,'". Falling back to "').concat(o,'".')),i||o}return e.rawString})).join(""),themable:n}}var zt,Vt={themeDarker:"#004578",themeDark:"#005a9e",themeDarkAlt:"#106ebe",themePrimary:"#0078d4",themeSecondary:"#2b88d8",themeTertiary:"#71afe5",themeLight:"#c7e0f4",themeLighter:"#deecf9",themeLighterAlt:"#eff6fc",black:"#000000",blackTranslucent40:"rgba(0,0,0,.4)",neutralDark:"#201f1e",neutralPrimary:"#323130",neutralPrimaryAlt:"#3b3a39",neutralSecondary:"#605e5c",neutralSecondaryAlt:"#8a8886",neutralTertiary:"#a19f9d",neutralTertiaryAlt:"#c8c6c4",neutralQuaternary:"#d2d0ce",neutralQuaternaryAlt:"#e1dfdd",neutralLight:"#edebe9",neutralLighter:"#f3f2f1",neutralLighterAlt:"#faf9f8",accent:"#0078d4",white:"#ffffff",whiteTranslucent40:"rgba(255,255,255,.4)",yellowDark:"#d29200",yellow:"#ffb900",yellowLight:"#fff100",orange:"#d83b01",orangeLight:"#ea4300",orangeLighter:"#ff8c00",redDark:"#a4262c",red:"#e81123",magentaDark:"#5c005c",magenta:"#b4009e",magentaLight:"#e3008c",purpleDark:"#32145a",purple:"#5c2d91",purpleLight:"#b4a0ff",blueDark:"#002050",blueMid:"#00188f",blue:"#0078d4",blueLight:"#00bcf2",tealDark:"#004b50",teal:"#008272",tealLight:"#00b294",greenDark:"#004b1c",green:"#107c10",greenLight:"#bad80a"};!function(e){e.depth0="0 0 0 0 transparent",e.depth4="0 1.6px 3.6px 0 rgba(0, 0, 0, 0.132), 0 0.3px 0.9px 0 rgba(0, 0, 0, 0.108)",e.depth8="0 3.2px 7.2px 0 rgba(0, 0, 0, 0.132), 0 0.6px 1.8px 0 rgba(0, 0, 0, 0.108)",e.depth16="0 6.4px 14.4px 0 rgba(0, 0, 0, 0.132), 0 1.2px 3.6px 0 rgba(0, 0, 0, 0.108)",e.depth64="0 25.6px 57.6px 0 rgba(0, 0, 0, 0.22), 0 4.8px 14.4px 0 rgba(0, 0, 0, 0.18)"}(zt||(zt={}));var Ut={elevation4:zt.depth4,elevation8:zt.depth8,elevation16:zt.depth16,elevation64:zt.depth64,roundedCorner2:"2px",roundedCorner4:"4px",roundedCorner6:"6px"};function jt(e){var t=M.getInstance(),n=J(y(),e);if(!t.classNameFromKey(n)){var r=t.getClassName();t.insertRule("@font-face{".concat(n,"}"),!0),t.cacheClassName(r,n,[],["font-face",n])}}var Wt,$t="'Segoe UI', '".concat(Ge.WestEuropean,"'"),qt={ar:Ke.Arabic,bg:Ke.Cyrillic,cs:Ke.EastEuropean,el:Ke.Greek,et:Ke.EastEuropean,he:Ke.Hebrew,hi:Ke.Hindi,hr:Ke.EastEuropean,hu:Ke.EastEuropean,ja:Ke.Japanese,kk:Ke.EastEuropean,ko:Ke.Korean,lt:Ke.EastEuropean,lv:Ke.EastEuropean,pl:Ke.EastEuropean,ru:Ke.Cyrillic,sk:Ke.EastEuropean,"sr-latn":Ke.EastEuropean,th:Ke.Thai,tr:Ke.EastEuropean,uk:Ke.Cyrillic,vi:Ke.Vietnamese,"zh-hans":Ke.ChineseSimplified,"zh-hant":Ke.ChineseTraditional,hy:Ke.Armenian,ka:Ke.Georgian};function Gt(e,t,n){return{fontFamily:n,MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontSize:e,fontWeight:t}}function Kt(e){if(ht()&&"undefined"!=typeof document){var t=e;return t&&t.ownerDocument?t.ownerDocument:document}}function Yt(e){var t=null;try{var n=mt();t=n?n.sessionStorage.getItem(e):null}catch(e){}return t}var Xt,Zt,Jt,Qt="language",en=(Xt=function(e){if(void 0===e&&(e="sessionStorage"),void 0===Wt){var t=Kt(),n="localStorage"===e?function(e){var t=null;try{var n=mt();t=n?n.localStorage.getItem(e):null}catch(e){}return t}(Qt):"sessionStorage"===e?Yt(Qt):void 0;n&&(Wt=n),void 0===Wt&&t&&(Wt=t.documentElement.getAttribute("lang")),void 0===Wt&&(Wt="en")}return Wt}(),Zt=function(e){for(var t in qt)if(qt.hasOwnProperty(t)&&e&&0===t.indexOf(e))return qt[t];return $t}(Xt),Jt="".concat(Zt,", ").concat("'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', sans-serif"),{tiny:Gt(Ye.mini,Xe.regular,Jt),xSmall:Gt(Ye.xSmall,Xe.regular,Jt),small:Gt(Ye.small,Xe.regular,Jt),smallPlus:Gt(Ye.smallPlus,Xe.regular,Jt),medium:Gt(Ye.medium,Xe.regular,Jt),mediumPlus:Gt(Ye.mediumPlus,Xe.regular,Jt),large:Gt(Ye.large,Xe.regular,Jt),xLarge:Gt(Ye.xLarge,Xe.semibold,Jt),xLargePlus:Gt(Ye.xLargePlus,Xe.semibold,Jt),xxLarge:Gt(Ye.xxLarge,Xe.semibold,Jt),xxLargePlus:Gt(Ye.xxLargePlus,Xe.semibold,Jt),superLarge:Gt(Ye.superLarge,Xe.semibold,Jt),mega:Gt(Ye.mega,Xe.semibold,Jt)});function tn(e,t,n,r){jt({fontFamily:e="'".concat(e,"'"),src:(void 0!==r?"local('".concat(r,"'),"):"")+"url('".concat(t,".woff2') format('woff2'),")+"url('".concat(t,".woff') format('woff')"),fontWeight:n,fontStyle:"normal",fontDisplay:"swap"})}function nn(e,t,n,r,i){void 0===r&&(r="segoeui");var o="".concat(e,"/").concat(n,"/").concat(r);tn(t,o+"-light",Xe.light,i&&i+" Light"),tn(t,o+"-semilight",Xe.semilight,i&&i+" SemiLight"),tn(t,o+"-regular",Xe.regular,i),tn(t,o+"-semibold",Xe.semibold,i&&i+" SemiBold"),tn(t,o+"-bold",Xe.bold,i&&i+" Bold")}function rn(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0,i=t;r<i.length;r++)on(e||{},i[r]);return e}function on(e,t,n){for(var r in void 0===n&&(n=[]),n.push(t),t)if(t.hasOwnProperty(r)&&"__proto__"!==r&&"constructor"!==r&&"prototype"!==r){var i=t[r];if("object"!=typeof i||null===i||Array.isArray(i))e[r]=i;else{var o=n.indexOf(i)>-1;e[r]=o?i:on(e[r]||{},i,n)}}return n.pop(),e}function an(e,t,n,r,i){return void 0===i&&(i=!1),function(e,t){var n="";return!0===t&&(n=" /* @deprecated */"),e.listTextColor=e.listText+n,e.menuItemBackgroundChecked+=n,e.warningHighlight+=n,e.warningText=e.messageText+n,e.successText+=n,e}(sn(e,t,A({primaryButtonBorder:"transparent",errorText:r?"#F1707B":"#a4262c",messageText:r?"#F3F2F1":"#323130",messageLink:r?"#6CB8F6":"#005A9E",messageLinkHovered:r?"#82C7FF":"#004578",infoIcon:r?"#C8C6C4":"#605e5c",errorIcon:r?"#F1707B":"#A80000",blockingIcon:r?"#442726":"#FDE7E9",warningIcon:r?"#C8C6C4":"#797775",severeWarningIcon:r?"#FCE100":"#D83B01",successIcon:r?"#92C353":"#107C10",infoBackground:r?"#323130":"#f3f2f1",errorBackground:r?"#442726":"#FDE7E9",blockingBackground:r?"#442726":"#FDE7E9",warningBackground:r?"#433519":"#FFF4CE",severeWarningBackground:r?"#4F2A0F":"#FED9CC",successBackground:r?"#393D1B":"#DFF6DD",warningHighlight:r?"#fff100":"#ffb900",successText:r?"#92c353":"#107C10"},n),r),i)}function sn(e,t,n,r,i){void 0===i&&(i=!1);var o={},a=e||{},s=a.white,l=a.black,c=a.themePrimary,u=a.themeDark,d=a.themeDarker,p=a.themeDarkAlt,h=a.themeLighter,f=a.neutralLight,m=a.neutralLighter,g=a.neutralDark,v=a.neutralQuaternary,y=a.neutralQuaternaryAlt,b=a.neutralPrimary,C=a.neutralSecondary,S=a.neutralSecondaryAlt,E=a.neutralTertiary,w=a.neutralTertiaryAlt,x=a.neutralLighterAlt,I=a.accent;return s&&(o.bodyBackground=s,o.bodyFrameBackground=s,o.accentButtonText=s,o.buttonBackground=s,o.primaryButtonText=s,o.primaryButtonTextHovered=s,o.primaryButtonTextPressed=s,o.inputBackground=s,o.inputForegroundChecked=s,o.listBackground=s,o.menuBackground=s,o.cardStandoutBackground=s),l&&(o.bodyTextChecked=l,o.buttonTextCheckedHovered=l),c&&(o.link=c,o.primaryButtonBackground=c,o.inputBackgroundChecked=c,o.inputIcon=c,o.inputFocusBorderAlt=c,o.menuIcon=c,o.menuHeader=c,o.accentButtonBackground=c),u&&(o.primaryButtonBackgroundPressed=u,o.inputBackgroundCheckedHovered=u,o.inputIconHovered=u),d&&(o.linkHovered=d),p&&(o.primaryButtonBackgroundHovered=p),h&&(o.inputPlaceholderBackgroundChecked=h),f&&(o.bodyBackgroundChecked=f,o.bodyFrameDivider=f,o.bodyDivider=f,o.variantBorder=f,o.buttonBackgroundCheckedHovered=f,o.buttonBackgroundPressed=f,o.listItemBackgroundChecked=f,o.listHeaderBackgroundPressed=f,o.menuItemBackgroundPressed=f,o.menuItemBackgroundChecked=f),m&&(o.bodyBackgroundHovered=m,o.buttonBackgroundHovered=m,o.buttonBackgroundDisabled=m,o.buttonBorderDisabled=m,o.primaryButtonBackgroundDisabled=m,o.disabledBackground=m,o.listItemBackgroundHovered=m,o.listHeaderBackgroundHovered=m,o.menuItemBackgroundHovered=m),v&&(o.primaryButtonTextDisabled=v,o.disabledSubtext=v),y&&(o.listItemBackgroundCheckedHovered=y),E&&(o.disabledBodyText=E,o.variantBorderHovered=(null==n?void 0:n.variantBorderHovered)||E,o.buttonTextDisabled=E,o.inputIconDisabled=E,o.disabledText=E),b&&(o.bodyText=b,o.actionLink=b,o.buttonText=b,o.inputBorderHovered=b,o.inputText=b,o.listText=b,o.menuItemText=b),x&&(o.bodyStandoutBackground=x,o.defaultStateBackground=x),g&&(o.actionLinkHovered=g,o.buttonTextHovered=g,o.buttonTextChecked=g,o.buttonTextPressed=g,o.inputTextHovered=g,o.menuItemTextHovered=g),C&&(o.bodySubtext=C,o.focusBorder=C,o.inputBorder=C,o.smallInputBorder=C,o.inputPlaceholderText=C),S&&(o.buttonBorder=S),w&&(o.disabledBodySubtext=w,o.disabledBorder=w,o.buttonBackgroundChecked=w,o.menuDivider=w),I&&(o.accentButtonBackground=I),(null==t?void 0:t.elevation4)&&(o.cardShadow=t.elevation4),!r&&(null==t?void 0:t.elevation8)?o.cardShadowHovered=t.elevation8:o.variantBorderHovered&&(o.cardShadowHovered="0 0 1px "+o.variantBorderHovered),A(A({},o),n)}function ln(e,t){var n,r,i;void 0===t&&(t={});var o=rn({},e,t,{semanticColors:sn(t.palette,t.effects,t.semanticColors,void 0===t.isInverted?e.isInverted:t.isInverted)});if((null===(n=t.palette)||void 0===n?void 0:n.themePrimary)&&!(null===(r=t.palette)||void 0===r?void 0:r.accent)&&(o.palette.accent=t.palette.themePrimary),t.defaultFontStyle)for(var a=0,s=Object.keys(o.fonts);a<s.length;a++){var l=s[a];o.fonts[l]=rn(o.fonts[l],t.defaultFontStyle,null===(i=null==t?void 0:t.fonts)||void 0===i?void 0:i[l])}return o}!function(e){if(e){var t="".concat(e,"/fonts");nn(t,Ge.Thai,"leelawadeeui-thai","leelawadeeui"),nn(t,Ge.Arabic,"segoeui-arabic"),nn(t,Ge.Cyrillic,"segoeui-cyrillic"),nn(t,Ge.EastEuropean,"segoeui-easteuropean"),nn(t,Ge.Greek,"segoeui-greek"),nn(t,Ge.Hebrew,"segoeui-hebrew"),nn(t,Ge.Vietnamese,"segoeui-vietnamese"),nn(t,Ge.WestEuropean,"segoeui-westeuropean","segoeui","Segoe UI"),nn(t,Ke.Selawik,"selawik","selawik"),nn(t,Ge.Armenian,"segoeui-armenian"),nn(t,Ge.Georgian,"segoeui-georgian"),tn("Leelawadee UI Web","".concat(t,"/leelawadeeui-thai/leelawadeeui-semilight"),Xe.light),tn("Leelawadee UI Web","".concat(t,"/leelawadeeui-thai/leelawadeeui-bold"),Xe.semibold)}}(function(){var e,t,n=null===(e=mt())||void 0===e?void 0:e.FabricConfig;return null!==(t=null==n?void 0:n.fontBaseUrl)&&void 0!==t?t:"https://res-1.cdn.office.net/files/fabric-cdn-prod_20230815.002/assets"}());var cn={s2:"4px",s1:"8px",m:"16px",l1:"20px",l2:"32px"};function un(e,t){void 0===e&&(e={}),void 0===t&&(t=!1);var n=!!e.isInverted;return ln({palette:Vt,effects:Ut,fonts:en,spacing:cn,isInverted:n,disableGlobalClassNames:!1,semanticColors:an(Vt,Ut,void 0,n,t),rtl:void 0},e)}var dn=un({}),pn=[],hn="theme";function fn(){var e,t,n,r=mt();(null===(t=null==r?void 0:r.FabricConfig)||void 0===t?void 0:t.legacyTheme)?function(e,t){var n;void 0===t&&(t=!1),dn=un(e,t),Ft(A(A(A(A({},dn.palette),dn.semanticColors),dn.effects),function(e){for(var t={},n=0,r=Object.keys(e.fonts);n<r.length;n++)for(var i=r[n],o=e.fonts[i],a=0,s=Object.keys(o);a<s.length;a++){var l=s[a],c=i+l.charAt(0).toUpperCase()+l.slice(1),u=o[l];"fontSize"===l&&"number"==typeof u&&(u+="px"),t[c]=u}return t}(dn))),Bt.applySettings(((n={})[hn]=dn,n)),pn.forEach((function(e){try{e(dn)}catch(e){}}))}(r.FabricConfig.legacyTheme):Bt.getSettings([hn]).theme||((null===(n=null==r?void 0:r.FabricConfig)||void 0===n?void 0:n.theme)&&(dn=un(r.FabricConfig.theme)),Bt.applySettings(((e={})[hn]=dn,e)))}function mn(e){console&&console.warn&&console.warn(e)}fn();var gn=xt.getValue("icons",{__options:{disableWarnings:!1,warnOnMissingIcons:!0},__remapped:{}}),vn=M.getInstance();vn&&vn.onReset&&vn.onReset((function(){for(var e in gn)gn.hasOwnProperty(e)&&gn[e].subset&&(gn[e].subset.className=void 0)}));var yn=function(e){return e.toLowerCase()};function bn(e,t){var n=A(A({},e),{isRegistered:!1,className:void 0}),r=e.icons;for(var i in t=t?A(A({},gn.__options),t):gn.__options,r)if(r.hasOwnProperty(i)){var o=r[i],a=yn(i);gn[a]?En(i):gn[a]={code:o,subset:n}}}function Cn(e,t){gn.__remapped[yn(e)]=yn(t)}var An=[],Sn=void 0;function En(e){gn.__options.disableWarnings||(An.push(e),void 0===Sn&&(Sn=setTimeout((function(){mn("Some icons were re-registered. Applications should only call registerIcons for any given icon once. Redefining what an icon is may have unintended consequences. Duplicates include: \n"+An.slice(0,10).join(", ")+(An.length>10?" (+ ".concat(An.length-10," more)"):"")),Sn=void 0,An=[]}),2e3)))}function wn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(e&&1===e.length&&e[0]&&!e[0].subComponentStyles&&!f(e[0]))return e[0];for(var n={},r={},i=0,o=e;i<o.length;i++){var a=o[i];if(a&&!f(a))for(var s in a)if(a.hasOwnProperty(s)){if("subComponentStyles"===s&&void 0!==a.subComponentStyles){var l=a.subComponentStyles;for(var c in l)l.hasOwnProperty(c)&&(r.hasOwnProperty(c)?r[c].push(l[c]):r[c]=[l[c]]);continue}var u=n[s],d=a[s];n[s]=void 0===u?d:k(k([],Array.isArray(u)?u:[u],!0),Array.isArray(d)?d:[d],!0)}}if(Object.keys(r).length>0){n.subComponentStyles={};var p=n.subComponentStyles,h=function(e){if(r.hasOwnProperty(e)){var t=r[e];p[e]=function(e){return wn.apply(void 0,t.map((function(t){return"function"==typeof t?t(e):t})))}}};for(var c in r)h(c)}return n}function xn(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=[],i=0,o=t;i<o.length;i++){var a=o[i];a&&r.push("function"==typeof a?a(e):a)}return 1===r.length?r[0]:r.length?wn.apply(void 0,r):{}}function In(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return kn(e,y())}function kn(e,t){var n,r={subComponentStyles:{}},i=void 0;f(e[0])?(i=e[0],n=e[1]):n=e[0],null!=i||(i=null==t?void 0:t.shadowConfig);var o=A(A({},t),{shadowConfig:i});if(!n&&e.length<=1)return{subComponentStyles:{}};var a=M.getInstance(i);o.stylesheet=a;var s=wn.apply(void 0,e),l=[];for(var c in s)if(s.hasOwnProperty(c)){if("subComponentStyles"===c){r.subComponentStyles=s.subComponentStyles||{};continue}if("__shadowConfig__"===c)continue;var u=m(a,s[c]),d=u.classes,p=u.objects;(null==p?void 0:p.length)?(v=Q(o||{},{displayName:c},p))&&(l.push(v),r[c]=d.concat([v.className]).join(" ")):r[c]=d.join(" ")}for(var h=0,g=l;h<g.length;h++){var v;(v=g[h])&&ee(v,null==t?void 0:t.specificityMultiplier,i)}return r}var Tn={},_n=void 0;try{_n=window}catch(e){}function Pn(e,t){if(void 0!==_n){var n=_n.__packages__=_n.__packages__||{};n[e]&&Tn[e]||(Tn[e]=t,(n[e]=n[e]||[]).push(t))}}function Dn(e,t){void 0===e&&(e=""),bn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons"',src:"url('".concat(e,"fabric-icons-a13498cf.woff') format('woff')")},icons:{GlobalNavButton:"",ChevronDown:"",ChevronUp:"",Edit:"",Add:"",Cancel:"",More:"",Settings:"",Mail:"",Filter:"",Search:"",Share:"",BlockedSite:"",FavoriteStar:"",FavoriteStarFill:"",CheckMark:"",Delete:"",ChevronLeft:"",ChevronRight:"",Calendar:"",Megaphone:"",Undo:"",Flag:"",Page:"",Pinned:"",View:"",Clear:"",Download:"",Upload:"",Folder:"",Sort:"",AlignRight:"",AlignLeft:"",Tag:"",AddFriend:"",Info:"",SortLines:"",List:"",CircleRing:"",Heart:"",HeartFill:"",Tiles:"",Embed:"",Glimmer:"",Ascending:"",Descending:"",SortUp:"",SortDown:"",SyncToPC:"",LargeGrid:"",SkypeCheck:"",SkypeClock:"",SkypeMinus:"",ClearFilter:"",Flow:"",StatusCircleCheckmark:"",MoreVertical:""}},t)}function Bn(e,t){void 0===e&&(e=""),bn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-0"',src:"url('".concat(e,"fabric-icons-0-467ee27f.woff') format('woff')")},icons:{PageLink:"",CommentSolid:"",ChangeEntitlements:"",Installation:"",WebAppBuilderModule:"",WebAppBuilderFragment:"",WebAppBuilderSlot:"",BullseyeTargetEdit:"",WebAppBuilderFragmentCreate:"",PageData:"",PageHeaderEdit:"",ProductList:"",UnpublishContent:"",DependencyAdd:"",DependencyRemove:"",EntitlementPolicy:"",EntitlementRedemption:"",SchoolDataSyncLogo:"",PinSolid12:"",PinSolidOff12:"",AddLink:"",SharepointAppIcon16:"",DataflowsLink:"",TimePicker:"",UserWarning:"",ComplianceAudit:"",InternetSharing:"",Brightness:"",MapPin:"",Airplane:"",Tablet:"",QuickNote:"",Video:"",People:"",Phone:"",Pin:"",Shop:"",Stop:"",Link:"",AllApps:"",Zoom:"",ZoomOut:"",Microphone:"",Camera:"",Attach:"",Send:"",FavoriteList:"",PageSolid:"",Forward:"",Back:"",Refresh:"",Lock:"",ReportHacked:"",EMI:"",MiniLink:"",Blocked:"",ReadingMode:"",Favicon:"",Remove:"",Checkbox:"",CheckboxComposite:"",CheckboxFill:"",CheckboxIndeterminate:"",CheckboxCompositeReversed:"",BackToWindow:"",FullScreen:"",Print:"",Up:"",Down:"",OEM:"",Save:"",ReturnKey:"",Cloud:"",Flashlight:"",CommandPrompt:"",Sad:"",RealEstate:"",SIPMove:"",EraseTool:"",GripperTool:"",Dialpad:"",PageLeft:"",PageRight:"",MultiSelect:"",KeyboardClassic:"",Play:"",Pause:"",InkingTool:"",Emoji2:"",GripperBarHorizontal:"",System:"",Personalize:"",SearchAndApps:"",Globe:"",EaseOfAccess:"",ContactInfo:"",Unpin:"",Contact:"",Memo:"",IncomingCall:""}},t)}function Rn(e,t){void 0===e&&(e=""),bn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-1"',src:"url('".concat(e,"fabric-icons-1-4d521695.woff') format('woff')")},icons:{Paste:"",WindowsLogo:"",Error:"",GripperBarVertical:"",Unlock:"",Slideshow:"",Trim:"",AutoEnhanceOn:"",AutoEnhanceOff:"",Color:"",SaveAs:"",Light:"",Filters:"",AspectRatio:"",Contrast:"",Redo:"",Crop:"",PhotoCollection:"",Album:"",Rotate:"",PanoIndicator:"",Translate:"",RedEye:"",ViewOriginal:"",ThumbnailView:"",Package:"",Telemarketer:"",Warning:"",Financial:"",Education:"",ShoppingCart:"",Train:"",Move:"",TouchPointer:"",Merge:"",TurnRight:"",Ferry:"",Highlight:"",PowerButton:"",Tab:"",Admin:"",TVMonitor:"",Speakers:"",Game:"",HorizontalTabKey:"",UnstackSelected:"",StackIndicator:"",Nav2DMapView:"",StreetsideSplitMinimize:"",Car:"",Bus:"",EatDrink:"",SeeDo:"",LocationCircle:"",Home:"",SwitcherStartEnd:"",ParkingLocation:"",IncidentTriangle:"",Touch:"",MapDirections:"",CaretHollow:"",CaretSolid:"",History:"",Location:"",MapLayers:"",SearchNearby:"",Work:"",Recent:"",Hotel:"",Bank:"",LocationDot:"",Dictionary:"",ChromeBack:"",FolderOpen:"",PinnedFill:"",RevToggleKey:"",USB:"",Previous:"",Next:"",Sync:"",Help:"",Emoji:"",MailForward:"",ClosePane:"",OpenPane:"",PreviewLink:"",ZoomIn:"",Bookmarks:"",Document:"",ProtectedDocument:"",OpenInNewWindow:"",MailFill:"",ViewAll:"",Switch:"",Rename:"",Go:"",Remote:"",SelectAll:"",Orientation:"",Import:""}},t)}function Mn(e,t){void 0===e&&(e=""),bn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-2"',src:"url('".concat(e,"fabric-icons-2-63c99abf.woff') format('woff')")},icons:{Picture:"",ChromeClose:"",ShowResults:"",Message:"",CalendarDay:"",CalendarWeek:"",MailReplyAll:"",Read:"",Cut:"",PaymentCard:"",Copy:"",Important:"",MailReply:"",GotoToday:"",Font:"",FontColor:"",FolderFill:"",Permissions:"",DisableUpdates:"",Unfavorite:"",Italic:"",Underline:"",Bold:"",MoveToFolder:"",Dislike:"",Like:"",AlignCenter:"",OpenFile:"",ClearSelection:"",FontDecrease:"",FontIncrease:"",FontSize:"",CellPhone:"",RepeatOne:"",RepeatAll:"",Calculator:"",Library:"",PostUpdate:"",NewFolder:"",CalendarReply:"",UnsyncFolder:"",SyncFolder:"",BlockContact:"",Accept:"",BulletedList:"",Preview:"",News:"",Chat:"",Group:"",World:"",Comment:"",DockLeft:"",DockRight:"",Repair:"",Accounts:"",Street:"",RadioBullet:"",Stopwatch:"",Clock:"",WorldClock:"",AlarmClock:"",Photo:"",ActionCenter:"",Hospital:"",Timer:"",FullCircleMask:"",LocationFill:"",ChromeMinimize:"",ChromeRestore:"",Annotation:"",Fingerprint:"",Handwriting:"",ChromeFullScreen:"",Completed:"",Label:"",FlickDown:"",FlickUp:"",FlickLeft:"",FlickRight:"",MiniExpand:"",MiniContract:"",Streaming:"",MusicInCollection:"",OneDriveLogo:"",CompassNW:"",Code:"",LightningBolt:"",CalculatorMultiply:"",CalculatorAddition:"",CalculatorSubtract:"",CalculatorPercentage:"",CalculatorEqualTo:"",PrintfaxPrinterFile:"",StorageOptical:"",Communications:"",Headset:"",Health:"",Webcam2:"",FrontCamera:"",ChevronUpSmall:""}},t)}function Ln(e,t){void 0===e&&(e=""),bn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-3"',src:"url('".concat(e,"fabric-icons-3-089e217a.woff') format('woff')")},icons:{ChevronDownSmall:"",ChevronLeftSmall:"",ChevronRightSmall:"",ChevronUpMed:"",ChevronDownMed:"",ChevronLeftMed:"",ChevronRightMed:"",Devices2:"",PC1:"",PresenceChickletVideo:"",Reply:"",HalfAlpha:"",ConstructionCone:"",DoubleChevronLeftMed:"",Volume0:"",Volume1:"",Volume2:"",Volume3:"",Chart:"",Robot:"",Manufacturing:"",LockSolid:"",FitPage:"",FitWidth:"",BidiLtr:"",BidiRtl:"",RightDoubleQuote:"",Sunny:"",CloudWeather:"",Cloudy:"",PartlyCloudyDay:"",PartlyCloudyNight:"",ClearNight:"",RainShowersDay:"",Rain:"",Thunderstorms:"",RainSnow:"",Snow:"",BlowingSnow:"",Frigid:"",Fog:"",Squalls:"",Duststorm:"",Unknown:"",Precipitation:"",Ribbon:"",AreaChart:"",Assign:"",FlowChart:"",CheckList:"",Diagnostic:"",Generate:"",LineChart:"",Equalizer:"",BarChartHorizontal:"",BarChartVertical:"",Freezing:"",FunnelChart:"",Processing:"",Quantity:"",ReportDocument:"",StackColumnChart:"",SnowShowerDay:"",HailDay:"",WorkFlow:"",HourGlass:"",StoreLogoMed20:"",TimeSheet:"",TriangleSolid:"",UpgradeAnalysis:"",VideoSolid:"",RainShowersNight:"",SnowShowerNight:"",Teamwork:"",HailNight:"",PeopleAdd:"",Glasses:"",DateTime2:"",Shield:"",Header1:"",PageAdd:"",NumberedList:"",PowerBILogo:"",Info2:"",MusicInCollectionFill:"",Asterisk:"",ErrorBadge:"",CircleFill:"",Record2:"",AllAppsMirrored:"",BookmarksMirrored:"",BulletedListMirrored:"",CaretHollowMirrored:"",CaretSolidMirrored:"",ChromeBackMirrored:"",ClearSelectionMirrored:"",ClosePaneMirrored:"",DockLeftMirrored:"",DoubleChevronLeftMedMirrored:"",GoMirrored:""}},t)}function On(e,t){void 0===e&&(e=""),bn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-4"',src:"url('".concat(e,"fabric-icons-4-a656cc0a.woff') format('woff')")},icons:{HelpMirrored:"",ImportMirrored:"",ImportAllMirrored:"",ListMirrored:"",MailForwardMirrored:"",MailReplyMirrored:"",MailReplyAllMirrored:"",MiniContractMirrored:"",MiniExpandMirrored:"",OpenPaneMirrored:"",ParkingLocationMirrored:"",SendMirrored:"",ShowResultsMirrored:"",ThumbnailViewMirrored:"",Media:"",Devices3:"",Focus:"",VideoLightOff:"",Lightbulb:"",StatusTriangle:"",VolumeDisabled:"",Puzzle:"",EmojiNeutral:"",EmojiDisappointed:"",HomeSolid:"",Ringer:"",PDF:"",HeartBroken:"",StoreLogo16:"",MultiSelectMirrored:"",Broom:"",AddToShoppingList:"",Cocktails:"",Wines:"",Articles:"",Cycling:"",DietPlanNotebook:"",Pill:"",ExerciseTracker:"",HandsFree:"",Medical:"",Running:"",Weights:"",Trackers:"",AddNotes:"",AllCurrency:"",BarChart4:"",CirclePlus:"",Coffee:"",Cotton:"",Market:"",Money:"",PieDouble:"",PieSingle:"",RemoveFilter:"",Savings:"",Sell:"",StockDown:"",StockUp:"",Lamp:"",Source:"",MSNVideos:"",Cricket:"",Golf:"",Baseball:"",Soccer:"",MoreSports:"",AutoRacing:"",CollegeHoops:"",CollegeFootball:"",ProFootball:"",ProHockey:"",Rugby:"",SubstitutionsIn:"",Tennis:"",Arrivals:"",Design:"",Website:"",Drop:"",HistoricalWeather:"",SkiResorts:"",Snowflake:"",BusSolid:"",FerrySolid:"",AirplaneSolid:"",TrainSolid:"",Ticket:"",WifiWarning4:"",Devices4:"",AzureLogo:"",BingLogo:"",MSNLogo:"",OutlookLogoInverse:"",OfficeLogo:"",SkypeLogo:"",Door:"",EditMirrored:"",GiftCard:"",DoubleBookmark:"",StatusErrorFull:""}},t)}function Fn(e,t){void 0===e&&(e=""),bn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-5"',src:"url('".concat(e,"fabric-icons-5-f95ba260.woff') format('woff')")},icons:{Certificate:"",FastForward:"",Rewind:"",Photo2:"",OpenSource:"",Movers:"",CloudDownload:"",Family:"",WindDirection:"",Bug:"",SiteScan:"",BrowserScreenShot:"",F12DevTools:"",CSS:"",JS:"",DeliveryTruck:"",ReminderPerson:"",ReminderGroup:"",ReminderTime:"",TabletMode:"",Umbrella:"",NetworkTower:"",CityNext:"",CityNext2:"",Section:"",OneNoteLogoInverse:"",ToggleFilled:"",ToggleBorder:"",SliderThumb:"",ToggleThumb:"",Documentation:"",Badge:"",Giftbox:"",VisualStudioLogo:"",HomeGroup:"",ExcelLogoInverse:"",WordLogoInverse:"",PowerPointLogoInverse:"",Cafe:"",SpeedHigh:"",Commitments:"",ThisPC:"",MusicNote:"",MicOff:"",PlaybackRate1x:"",EdgeLogo:"",CompletedSolid:"",AlbumRemove:"",MessageFill:"",TabletSelected:"",MobileSelected:"",LaptopSelected:"",TVMonitorSelected:"",DeveloperTools:"",Shapes:"",InsertTextBox:"",LowerBrightness:"",WebComponents:"",OfflineStorage:"",DOM:"",CloudUpload:"",ScrollUpDown:"",DateTime:"",Event:"",Cake:"",Org:"",PartyLeader:"",DRM:"",CloudAdd:"",AppIconDefault:"",Photo2Add:"",Photo2Remove:"",Calories:"",POI:"",AddTo:"",RadioBtnOff:"",RadioBtnOn:"",ExploreContent:"",Product:"",ProgressLoopInner:"",ProgressLoopOuter:"",Blocked2:"",FangBody:"",Toolbox:"",PageHeader:"",ChatInviteFriend:"",Brush:"",Shirt:"",Crown:"",Diamond:"",ScaleUp:"",QRCode:"",Feedback:"",SharepointLogoInverse:"",YammerLogo:"",Hide:"",Uneditable:"",ReturnToSession:"",OpenFolderHorizontal:"",CalendarMirrored:""}},t)}function Nn(e,t){void 0===e&&(e=""),bn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-6"',src:"url('".concat(e,"fabric-icons-6-ef6fd590.woff') format('woff')")},icons:{SwayLogoInverse:"",OutOfOffice:"",Trophy:"",ReopenPages:"",EmojiTabSymbols:"",AADLogo:"",AccessLogo:"",AdminALogoInverse32:"",AdminCLogoInverse32:"",AdminDLogoInverse32:"",AdminELogoInverse32:"",AdminLLogoInverse32:"",AdminMLogoInverse32:"",AdminOLogoInverse32:"",AdminPLogoInverse32:"",AdminSLogoInverse32:"",AdminYLogoInverse32:"",DelveLogoInverse:"",ExchangeLogoInverse:"",LyncLogo:"",OfficeVideoLogoInverse:"",SocialListeningLogo:"",VisioLogoInverse:"",Balloons:"",Cat:"",MailAlert:"",MailCheck:"",MailLowImportance:"",MailPause:"",MailRepeat:"",SecurityGroup:"",Table:"",VoicemailForward:"",VoicemailReply:"",Waffle:"",RemoveEvent:"",EventInfo:"",ForwardEvent:"",WipePhone:"",AddOnlineMeeting:"",JoinOnlineMeeting:"",RemoveLink:"",PeopleBlock:"",PeopleRepeat:"",PeopleAlert:"",PeoplePause:"",TransferCall:"",AddPhone:"",UnknownCall:"",NoteReply:"",NoteForward:"",NotePinned:"",RemoveOccurrence:"",Timeline:"",EditNote:"",CircleHalfFull:"",Room:"",Unsubscribe:"",Subscribe:"",HardDrive:"",RecurringTask:"",TaskManager:"",TaskManagerMirrored:"",Combine:"",Split:"",DoubleChevronUp:"",DoubleChevronLeft:"",DoubleChevronRight:"",TextBox:"",TextField:"",NumberField:"",Dropdown:"",PenWorkspace:"",BookingsLogo:"",ClassNotebookLogoInverse:"",DelveAnalyticsLogo:"",DocsLogoInverse:"",Dynamics365Logo:"",DynamicSMBLogo:"",OfficeAssistantLogo:"",OfficeStoreLogo:"",OneNoteEduLogoInverse:"",PlannerLogo:"",PowerApps:"",Suitcase:"",ProjectLogoInverse:"",CaretLeft8:"",CaretRight8:"",CaretUp8:"",CaretDown8:"",CaretLeftSolid8:"",CaretRightSolid8:"",CaretUpSolid8:"",CaretDownSolid8:"",ClearFormatting:"",Superscript:"",Subscript:"",Strikethrough:"",Export:"",ExportMirrored:""}},t)}function Hn(e,t){void 0===e&&(e=""),bn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-7"',src:"url('".concat(e,"fabric-icons-7-2b97bb99.woff') format('woff')")},icons:{SingleBookmark:"",SingleBookmarkSolid:"",DoubleChevronDown:"",FollowUser:"",ReplyAll:"",WorkforceManagement:"",RecruitmentManagement:"",Questionnaire:"",ManagerSelfService:"",ProductionFloorManagement:"",ProductRelease:"",ProductVariant:"",ReplyMirrored:"",ReplyAllMirrored:"",Medal:"",AddGroup:"",QuestionnaireMirrored:"",CloudImportExport:"",TemporaryUser:"",CaretSolid16:"",GroupedDescending:"",GroupedAscending:"",AwayStatus:"",MyMoviesTV:"",GenericScan:"",AustralianRules:"",WifiEthernet:"",TrackersMirrored:"",DateTimeMirrored:"",StopSolid:"",DoubleChevronUp12:"",DoubleChevronDown12:"",DoubleChevronLeft12:"",DoubleChevronRight12:"",CalendarAgenda:"",ConnectVirtualMachine:"",AddEvent:"",AssetLibrary:"",DataConnectionLibrary:"",DocLibrary:"",FormLibrary:"",FormLibraryMirrored:"",ReportLibrary:"",ReportLibraryMirrored:"",ContactCard:"",CustomList:"",CustomListMirrored:"",IssueTracking:"",IssueTrackingMirrored:"",PictureLibrary:"",OfficeAddinsLogo:"",OfflineOneDriveParachute:"",OfflineOneDriveParachuteDisabled:"",TriangleSolidUp12:"",TriangleSolidDown12:"",TriangleSolidLeft12:"",TriangleSolidRight12:"",TriangleUp12:"",TriangleDown12:"",TriangleLeft12:"",TriangleRight12:"",ArrowUpRight8:"",ArrowDownRight8:"",DocumentSet:"",GoToDashboard:"",DelveAnalytics:"",ArrowUpRightMirrored8:"",ArrowDownRightMirrored8:"",CompanyDirectory:"",OpenEnrollment:"",CompanyDirectoryMirrored:"",OneDriveAdd:"",ProfileSearch:"",Header2:"",Header3:"",Header4:"",RingerSolid:"",Eyedropper:"",MarketDown:"",CalendarWorkWeek:"",SidePanel:"",GlobeFavorite:"",CaretTopLeftSolid8:"",CaretTopRightSolid8:"",ViewAll2:"",DocumentReply:"",PlayerSettings:"",ReceiptForward:"",ReceiptReply:"",ReceiptCheck:"",Fax:"",RecurringEvent:"",ReplyAlt:"",ReplyAllAlt:"",EditStyle:"",EditMail:"",Lifesaver:"",LifesaverLock:"",InboxCheck:"",FolderSearch:""}},t)}function zn(e,t){void 0===e&&(e=""),bn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-8"',src:"url('".concat(e,"fabric-icons-8-6fdf1528.woff') format('woff')")},icons:{CollapseMenu:"",ExpandMenu:"",Boards:"",SunAdd:"",SunQuestionMark:"",LandscapeOrientation:"",DocumentSearch:"",PublicCalendar:"",PublicContactCard:"",PublicEmail:"",PublicFolder:"",WordDocument:"",PowerPointDocument:"",ExcelDocument:"",GroupedList:"",ClassroomLogo:"",Sections:"",EditPhoto:"",Starburst:"",ShareiOS:"",AirTickets:"",PencilReply:"",Tiles2:"",SkypeCircleCheck:"",SkypeCircleClock:"",SkypeCircleMinus:"",SkypeMessage:"",ClosedCaption:"",ATPLogo:"",OfficeFormsLogoInverse:"",RecycleBin:"",EmptyRecycleBin:"",Hide2:"",Breadcrumb:"",BirthdayCake:"",TimeEntry:"",CRMProcesses:"",PageEdit:"",PageArrowRight:"",PageRemove:"",Database:"",DataManagementSettings:"",CRMServices:"",EditContact:"",ConnectContacts:"",AppIconDefaultAdd:"",AppIconDefaultList:"",ActivateOrders:"",DeactivateOrders:"",ProductCatalog:"",ScatterChart:"",AccountActivity:"",DocumentManagement:"",CRMReport:"",KnowledgeArticle:"",Relationship:"",HomeVerify:"",ZipFolder:"",SurveyQuestions:"",TextDocument:"",TextDocumentShared:"",PageCheckedOut:"",PageShared:"",SaveAndClose:"",Script:"",Archive:"",ActivityFeed:"",Compare:"",EventDate:"",ArrowUpRight:"",CaretRight:"",SetAction:"",ChatBot:"",CaretSolidLeft:"",CaretSolidDown:"",CaretSolidRight:"",CaretSolidUp:"",PowerAppsLogo:"",PowerApps2Logo:"",SearchIssue:"",SearchIssueMirrored:"",FabricAssetLibrary:"",FabricDataConnectionLibrary:"",FabricDocLibrary:"",FabricFormLibrary:"",FabricFormLibraryMirrored:"",FabricReportLibrary:"",FabricReportLibraryMirrored:"",FabricPublicFolder:"",FabricFolderSearch:"",FabricMovetoFolder:"",FabricUnsyncFolder:"",FabricSyncFolder:"",FabricOpenFolderHorizontal:"",FabricFolder:"",FabricFolderFill:"",FabricNewFolder:"",FabricPictureLibrary:"",PhotoVideoMedia:"",AddFavorite:""}},t)}function Vn(e,t){void 0===e&&(e=""),bn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-9"',src:"url('".concat(e,"fabric-icons-9-c6162b42.woff') format('woff')")},icons:{AddFavoriteFill:"",BufferTimeBefore:"",BufferTimeAfter:"",BufferTimeBoth:"",PublishContent:"",ClipboardList:"",ClipboardListMirrored:"",CannedChat:"",SkypeForBusinessLogo:"",TabCenter:"",PageCheckedin:"",PageList:"",ReadOutLoud:"",CaretBottomLeftSolid8:"",CaretBottomRightSolid8:"",FolderHorizontal:"",MicrosoftStaffhubLogo:"",GiftboxOpen:"",StatusCircleOuter:"",StatusCircleInner:"",StatusCircleRing:"",StatusTriangleOuter:"",StatusTriangleInner:"",StatusTriangleExclamation:"",StatusCircleExclamation:"",StatusCircleErrorX:"",StatusCircleInfo:"",StatusCircleBlock:"",StatusCircleBlock2:"",StatusCircleQuestionMark:"",StatusCircleSync:"",Toll:"",ExploreContentSingle:"",CollapseContent:"",CollapseContentSingle:"",InfoSolid:"",GroupList:"",ProgressRingDots:"",CaloriesAdd:"",BranchFork:"",MuteChat:"",AddHome:"",AddWork:"",MobileReport:"",ScaleVolume:"",HardDriveGroup:"",FastMode:"",ToggleLeft:"",ToggleRight:"",TriangleShape:"",RectangleShape:"",CubeShape:"",Trophy2:"",BucketColor:"",BucketColorFill:"",Taskboard:"",SingleColumn:"",DoubleColumn:"",TripleColumn:"",ColumnLeftTwoThirds:"",ColumnRightTwoThirds:"",AccessLogoFill:"",AnalyticsLogo:"",AnalyticsQuery:"",NewAnalyticsQuery:"",AnalyticsReport:"",WordLogo:"",WordLogoFill:"",ExcelLogo:"",ExcelLogoFill:"",OneNoteLogo:"",OneNoteLogoFill:"",OutlookLogo:"",OutlookLogoFill:"",PowerPointLogo:"",PowerPointLogoFill:"",PublisherLogo:"",PublisherLogoFill:"",ScheduleEventAction:"",FlameSolid:"",ServerProcesses:"",Server:"",SaveAll:"",LinkedInLogo:"",Decimals:"",SidePanelMirrored:"",ProtectRestrict:"",Blog:"",UnknownMirrored:"",PublicContactCardMirrored:"",GridViewSmall:"",GridViewMedium:"",GridViewLarge:"",Step:"",StepInsert:"",StepShared:"",StepSharedAdd:"",StepSharedInsert:"",ViewDashboard:"",ViewList:""}},t)}function Un(e,t){void 0===e&&(e=""),bn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-10"',src:"url('".concat(e,"fabric-icons-10-c4ded8e4.woff') format('woff')")},icons:{ViewListGroup:"",ViewListTree:"",TriggerAuto:"",TriggerUser:"",PivotChart:"",StackedBarChart:"",StackedLineChart:"",BuildQueue:"",BuildQueueNew:"",UserFollowed:"",ContactLink:"",Stack:"",Bullseye:"",VennDiagram:"",FiveTileGrid:"",FocalPoint:"",Insert:"",RingerRemove:"",TeamsLogoInverse:"",TeamsLogo:"",TeamsLogoFill:"",SkypeForBusinessLogoFill:"",SharepointLogo:"",SharepointLogoFill:"",DelveLogo:"",DelveLogoFill:"",OfficeVideoLogo:"",OfficeVideoLogoFill:"",ExchangeLogo:"",ExchangeLogoFill:"",Signin:"",DocumentApproval:"",CloneToDesktop:"",InstallToDrive:"",Blur:"",Build:"",ProcessMetaTask:"",BranchFork2:"",BranchLocked:"",BranchCommit:"",BranchCompare:"",BranchMerge:"",BranchPullRequest:"",BranchSearch:"",BranchShelveset:"",RawSource:"",MergeDuplicate:"",RowsGroup:"",RowsChild:"",Deploy:"",Redeploy:"",ServerEnviroment:"",VisioDiagram:"",HighlightMappedShapes:"",TextCallout:"",IconSetsFlag:"",VisioLogo:"",VisioLogoFill:"",VisioDocument:"",TimelineProgress:"",TimelineDelivery:"",Backlog:"",TeamFavorite:"",TaskGroup:"",TaskGroupMirrored:"",ScopeTemplate:"",AssessmentGroupTemplate:"",NewTeamProject:"",CommentAdd:"",CommentNext:"",CommentPrevious:"",ShopServer:"",LocaleLanguage:"",QueryList:"",UserSync:"",UserPause:"",StreamingOff:"",ArrowTallUpLeft:"",ArrowTallUpRight:"",ArrowTallDownLeft:"",ArrowTallDownRight:"",FieldEmpty:"",FieldFilled:"",FieldChanged:"",FieldNotChanged:"",RingerOff:"",PlayResume:"",BulletedList2:"",BulletedList2Mirrored:"",ImageCrosshair:"",GitGraph:"",Repo:"",RepoSolid:"",FolderQuery:"",FolderList:"",FolderListMirrored:"",LocationOutline:"",POISolid:"",CalculatorNotEqualTo:"",BoxSubtractSolid:""}},t)}function jn(e,t){void 0===e&&(e=""),bn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-11"',src:"url('".concat(e,"fabric-icons-11-2a8393d6.woff') format('woff')")},icons:{BoxAdditionSolid:"",BoxMultiplySolid:"",BoxPlaySolid:"",BoxCheckmarkSolid:"",CirclePauseSolid:"",CirclePause:"",MSNVideosSolid:"",CircleStopSolid:"",CircleStop:"",NavigateBack:"",NavigateBackMirrored:"",NavigateForward:"",NavigateForwardMirrored:"",UnknownSolid:"",UnknownMirroredSolid:"",CircleAddition:"",CircleAdditionSolid:"",FilePDB:"",FileTemplate:"",FileSQL:"",FileJAVA:"",FileASPX:"",FileCSS:"",FileSass:"",FileLess:"",FileHTML:"",JavaScriptLanguage:"",CSharpLanguage:"",CSharp:"",VisualBasicLanguage:"",VB:"",CPlusPlusLanguage:"",CPlusPlus:"",FSharpLanguage:"",FSharp:"",TypeScriptLanguage:"",PythonLanguage:"",PY:"",CoffeeScript:"",MarkDownLanguage:"",FullWidth:"",FullWidthEdit:"",Plug:"",PlugSolid:"",PlugConnected:"",PlugDisconnected:"",UnlockSolid:"",Variable:"",Parameter:"",CommentUrgent:"",Storyboard:"",DiffInline:"",DiffSideBySide:"",ImageDiff:"",ImagePixel:"",FileBug:"",FileCode:"",FileComment:"",BusinessHoursSign:"",FileImage:"",FileSymlink:"",AutoFillTemplate:"",WorkItem:"",WorkItemBug:"",LogRemove:"",ColumnOptions:"",Packages:"",BuildIssue:"",AssessmentGroup:"",VariableGroup:"",FullHistory:"",Wheelchair:"",SingleColumnEdit:"",DoubleColumnEdit:"",TripleColumnEdit:"",ColumnLeftTwoThirdsEdit:"",ColumnRightTwoThirdsEdit:"",StreamLogo:"",PassiveAuthentication:"",AlertSolid:"",MegaphoneSolid:"",TaskSolid:"",ConfigurationSolid:"",BugSolid:"",CrownSolid:"",Trophy2Solid:"",QuickNoteSolid:"",ConstructionConeSolid:"",PageListSolid:"",PageListMirroredSolid:"",StarburstSolid:"",ReadingModeSolid:"",SadSolid:"",HealthSolid:"",ShieldSolid:"",GiftBoxSolid:"",ShoppingCartSolid:"",MailSolid:"",ChatSolid:"",RibbonSolid:""}},t)}function Wn(e,t){void 0===e&&(e=""),bn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-12"',src:"url('".concat(e,"fabric-icons-12-7e945a1e.woff') format('woff')")},icons:{FinancialSolid:"",FinancialMirroredSolid:"",HeadsetSolid:"",PermissionsSolid:"",ParkingSolid:"",ParkingMirroredSolid:"",DiamondSolid:"",AsteriskSolid:"",OfflineStorageSolid:"",BankSolid:"",DecisionSolid:"",Parachute:"",ParachuteSolid:"",FiltersSolid:"",ColorSolid:"",ReviewSolid:"",ReviewRequestSolid:"",ReviewRequestMirroredSolid:"",ReviewResponseSolid:"",FeedbackRequestSolid:"",FeedbackRequestMirroredSolid:"",FeedbackResponseSolid:"",WorkItemBar:"",WorkItemBarSolid:"",Separator:"",NavigateExternalInline:"",PlanView:"",TimelineMatrixView:"",EngineeringGroup:"",ProjectCollection:"",CaretBottomRightCenter8:"",CaretBottomLeftCenter8:"",CaretTopRightCenter8:"",CaretTopLeftCenter8:"",DonutChart:"",ChevronUnfold10:"",ChevronFold10:"",DoubleChevronDown8:"",DoubleChevronUp8:"",DoubleChevronLeft8:"",DoubleChevronRight8:"",ChevronDownEnd6:"",ChevronUpEnd6:"",ChevronLeftEnd6:"",ChevronRightEnd6:"",ContextMenu:"",AzureAPIManagement:"",AzureServiceEndpoint:"",VSTSLogo:"",VSTSAltLogo1:"",VSTSAltLogo2:"",FileTypeSolution:"",WordLogoInverse16:"",WordLogo16:"",WordLogoFill16:"",PowerPointLogoInverse16:"",PowerPointLogo16:"",PowerPointLogoFill16:"",ExcelLogoInverse16:"",ExcelLogo16:"",ExcelLogoFill16:"",OneNoteLogoInverse16:"",OneNoteLogo16:"",OneNoteLogoFill16:"",OutlookLogoInverse16:"",OutlookLogo16:"",OutlookLogoFill16:"",PublisherLogoInverse16:"",PublisherLogo16:"",PublisherLogoFill16:"",VisioLogoInverse16:"",VisioLogo16:"",VisioLogoFill16:"",TestBeaker:"",TestBeakerSolid:"",TestExploreSolid:"",TestAutoSolid:"",TestUserSolid:"",TestImpactSolid:"",TestPlan:"",TestStep:"",TestParameter:"",TestSuite:"",TestCase:"",Sprint:"",SignOut:"",TriggerApproval:"",Rocket:"",AzureKeyVault:"",Onboarding:"",Transition:"",LikeSolid:"",DislikeSolid:"",CRMCustomerInsightsApp:"",EditCreate:"",PlayReverseResume:"",PlayReverse:"",SearchData:"",UnSetColor:"",DeclineCall:""}},t)}function $n(e,t){void 0===e&&(e=""),bn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-13"',src:"url('".concat(e,"fabric-icons-13-c3989a02.woff') format('woff')")},icons:{RectangularClipping:"",TeamsLogo16:"",TeamsLogoFill16:"",Spacer:"",SkypeLogo16:"",SkypeForBusinessLogo16:"",SkypeForBusinessLogoFill16:"",FilterSolid:"",MailUndelivered:"",MailTentative:"",MailTentativeMirrored:"",MailReminder:"",ReceiptUndelivered:"",ReceiptTentative:"",ReceiptTentativeMirrored:"",Inbox:"",IRMReply:"",IRMReplyMirrored:"",IRMForward:"",IRMForwardMirrored:"",VoicemailIRM:"",EventAccepted:"",EventTentative:"",EventTentativeMirrored:"",EventDeclined:"",IDBadge:"",BackgroundColor:"",OfficeFormsLogoInverse16:"",OfficeFormsLogo:"",OfficeFormsLogoFill:"",OfficeFormsLogo16:"",OfficeFormsLogoFill16:"",OfficeFormsLogoInverse24:"",OfficeFormsLogo24:"",OfficeFormsLogoFill24:"",PageLock:"",NotExecuted:"",NotImpactedSolid:"",FieldReadOnly:"",FieldRequired:"",BacklogBoard:"",ExternalBuild:"",ExternalTFVC:"",ExternalXAML:"",IssueSolid:"",DefectSolid:"",LadybugSolid:"",NugetLogo:"",TFVCLogo:"",ProjectLogo32:"",ProjectLogoFill32:"",ProjectLogo16:"",ProjectLogoFill16:"",SwayLogo32:"",SwayLogoFill32:"",SwayLogo16:"",SwayLogoFill16:"",ClassNotebookLogo32:"",ClassNotebookLogoFill32:"",ClassNotebookLogo16:"",ClassNotebookLogoFill16:"",ClassNotebookLogoInverse32:"",ClassNotebookLogoInverse16:"",StaffNotebookLogo32:"",StaffNotebookLogoFill32:"",StaffNotebookLogo16:"",StaffNotebookLogoFill16:"",StaffNotebookLogoInverted32:"",StaffNotebookLogoInverted16:"",KaizalaLogo:"",TaskLogo:"",ProtectionCenterLogo32:"",GallatinLogo:"",Globe2:"",Guitar:"",Breakfast:"",Brunch:"",BeerMug:"",Vacation:"",Teeth:"",Taxi:"",Chopsticks:"",SyncOccurence:"",UnsyncOccurence:"",GIF:"",PrimaryCalendar:"",SearchCalendar:"",VideoOff:"",MicrosoftFlowLogo:"",BusinessCenterLogo:"",ToDoLogoBottom:"",ToDoLogoTop:"",EditSolid12:"",EditSolidMirrored12:"",UneditableSolid12:"",UneditableSolidMirrored12:"",UneditableMirrored:"",AdminALogo32:"",AdminALogoFill32:"",ToDoLogoInverse:""}},t)}function qn(e,t){void 0===e&&(e=""),bn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-14"',src:"url('".concat(e,"fabric-icons-14-5cf58db8.woff') format('woff')")},icons:{Snooze:"",WaffleOffice365:"",ImageSearch:"",NewsSearch:"",VideoSearch:"",R:"",FontColorA:"",FontColorSwatch:"",LightWeight:"",NormalWeight:"",SemiboldWeight:"",GroupObject:"",UngroupObject:"",AlignHorizontalLeft:"",AlignHorizontalCenter:"",AlignHorizontalRight:"",AlignVerticalTop:"",AlignVerticalCenter:"",AlignVerticalBottom:"",HorizontalDistributeCenter:"",VerticalDistributeCenter:"",Ellipse:"",Line:"",Octagon:"",Hexagon:"",Pentagon:"",RightTriangle:"",HalfCircle:"",QuarterCircle:"",ThreeQuarterCircle:"","6PointStar":"","12PointStar":"",ArrangeBringToFront:"",ArrangeSendToBack:"",ArrangeSendBackward:"",ArrangeBringForward:"",BorderDash:"",BorderDot:"",LineStyle:"",LineThickness:"",WindowEdit:"",HintText:"",MediaAdd:"",AnchorLock:"",AutoHeight:"",ChartSeries:"",ChartXAngle:"",ChartYAngle:"",Combobox:"",LineSpacing:"",Padding:"",PaddingTop:"",PaddingBottom:"",PaddingLeft:"",PaddingRight:"",NavigationFlipper:"",AlignJustify:"",TextOverflow:"",VisualsFolder:"",VisualsStore:"",PictureCenter:"",PictureFill:"",PicturePosition:"",PictureStretch:"",PictureTile:"",Slider:"",SliderHandleSize:"",DefaultRatio:"",NumberSequence:"",GUID:"",ReportAdd:"",DashboardAdd:"",MapPinSolid:"",WebPublish:"",PieSingleSolid:"",BlockedSolid:"",DrillDown:"",DrillDownSolid:"",DrillExpand:"",DrillShow:"",SpecialEvent:"",OneDriveFolder16:"",FunctionalManagerDashboard:"",BIDashboard:"",CodeEdit:"",RenewalCurrent:"",RenewalFuture:"",SplitObject:"",BulkUpload:"",DownloadDocument:"",GreetingCard:"",Flower:"",WaitlistConfirm:"",WaitlistConfirmMirrored:"",LaptopSecure:"",DragObject:"",EntryView:"",EntryDecline:"",ContactCardSettings:"",ContactCardSettingsMirrored:""}},t)}function Gn(e,t){void 0===e&&(e=""),bn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-15"',src:"url('".concat(e,"fabric-icons-15-3807251b.woff') format('woff')")},icons:{CalendarSettings:"",CalendarSettingsMirrored:"",HardDriveLock:"",HardDriveUnlock:"",AccountManagement:"",ReportWarning:"",TransitionPop:"",TransitionPush:"",TransitionEffect:"",LookupEntities:"",ExploreData:"",AddBookmark:"",SearchBookmark:"",DrillThrough:"",MasterDatabase:"",CertifiedDatabase:"",MaximumValue:"",MinimumValue:"",VisualStudioIDELogo32:"",PasteAsText:"",PasteAsCode:"",BrowserTab:"",BrowserTabScreenshot:"",DesktopScreenshot:"",FileYML:"",ClipboardSolid:"",FabricUserFolder:"",FabricNetworkFolder:"",BullseyeTarget:"",AnalyticsView:"",Video360Generic:"",Untag:"",Leave:"",Trending12:"",Blocked12:"",Warning12:"",CheckedOutByOther12:"",CheckedOutByYou12:"",CircleShapeSolid:"",SquareShapeSolid:"",TriangleShapeSolid:"",DropShapeSolid:"",RectangleShapeSolid:"",ZoomToFit:"",InsertColumnsLeft:"",InsertColumnsRight:"",InsertRowsAbove:"",InsertRowsBelow:"",DeleteColumns:"",DeleteRows:"",DeleteRowsMirrored:"",DeleteTable:"",AccountBrowser:"",VersionControlPush:"",StackedColumnChart2:"",TripleColumnWide:"",QuadColumn:"",WhiteBoardApp16:"",WhiteBoardApp32:"",PinnedSolid:"",InsertSignatureLine:"",ArrangeByFrom:"",Phishing:"",CreateMailRule:"",PublishCourse:"",DictionaryRemove:"",UserRemove:"",UserEvent:"",Encryption:"",PasswordField:"",OpenInNewTab:"",Hide3:"",VerifiedBrandSolid:"",MarkAsProtected:"",AuthenticatorApp:"",WebTemplate:"",DefenderTVM:"",MedalSolid:"",D365TalentLearn:"",D365TalentInsight:"",D365TalentHRCore:"",BacklogList:"",ButtonControl:"",TableGroup:"",MountainClimbing:"",TagUnknown:"",TagUnknownMirror:"",TagUnknown12:"",TagUnknown12Mirror:"",Link12:"",Presentation:"",Presentation12:"",Lock12:"",BuildDefinition:"",ReleaseDefinition:"",SaveTemplate:"",UserGauge:"",BlockedSiteSolid12:"",TagSolid:"",OfficeChat:""}},t)}function Kn(e,t){void 0===e&&(e=""),bn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-16"',src:"url('".concat(e,"fabric-icons-16-9cf93f3b.woff') format('woff')")},icons:{OfficeChatSolid:"",MailSchedule:"",WarningSolid:"",Blocked2Solid:"",SkypeCircleArrow:"",SkypeArrow:"",SyncStatus:"",SyncStatusSolid:"",ProjectDocument:"",ToDoLogoOutline:"",VisioOnlineLogoFill32:"",VisioOnlineLogo32:"",VisioOnlineLogoCloud32:"",VisioDiagramSync:"",Event12:"",EventDateMissed12:"",UserOptional:"",ResponsesMenu:"",DoubleDownArrow:"",DistributeDown:"",BookmarkReport:"",FilterSettings:"",GripperDotsVertical:"",MailAttached:"",AddIn:"",LinkedDatabase:"",TableLink:"",PromotedDatabase:"",BarChartVerticalFilter:"",BarChartVerticalFilterSolid:"",MicOff2:"",MicrosoftTranslatorLogo:"",ShowTimeAs:"",FileRequest:"",WorkItemAlert:"",PowerBILogo16:"",PowerBILogoBackplate16:"",BulletedListText:"",BulletedListBullet:"",BulletedListTextMirrored:"",BulletedListBulletMirrored:"",NumberedListText:"",NumberedListNumber:"",NumberedListTextMirrored:"",NumberedListNumberMirrored:"",RemoveLinkChain:"",RemoveLinkX:"",FabricTextHighlight:"",ClearFormattingA:"",ClearFormattingEraser:"",Photo2Fill:"",IncreaseIndentText:"",IncreaseIndentArrow:"",DecreaseIndentText:"",DecreaseIndentArrow:"",IncreaseIndentTextMirrored:"",IncreaseIndentArrowMirrored:"",DecreaseIndentTextMirrored:"",DecreaseIndentArrowMirrored:"",CheckListText:"",CheckListCheck:"",CheckListTextMirrored:"",CheckListCheckMirrored:"",NumberSymbol:"",Coupon:"",VerifiedBrand:"",ReleaseGate:"",ReleaseGateCheck:"",ReleaseGateError:"",M365InvoicingLogo:"",RemoveFromShoppingList:"",ShieldAlert:"",FabricTextHighlightComposite:"",Dataflows:"",GenericScanFilled:"",DiagnosticDataBarTooltip:"",SaveToMobile:"",Orientation2:"",ScreenCast:"",ShowGrid:"",SnapToGrid:"",ContactList:"",NewMail:"",EyeShadow:"",FabricFolderConfirm:"",InformationBarriers:"",CommentActive:"",ColumnVerticalSectionEdit:"",WavingHand:"",ShakeDevice:"",SmartGlassRemote:"",Rotate90Clockwise:"",Rotate90CounterClockwise:"",CampaignTemplate:"",ChartTemplate:"",PageListFilter:"",SecondaryNav:"",ColumnVerticalSection:"",SkypeCircleSlash:"",SkypeSlash:""}},t)}function Yn(e,t){void 0===e&&(e=""),bn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-17"',src:"url('".concat(e,"fabric-icons-17-0c4ed701.woff') format('woff')")},icons:{CustomizeToolbar:"",DuplicateRow:"",RemoveFromTrash:"",MailOptions:"",Childof:"",Footer:"",Header:"",BarChartVerticalFill:"",StackedColumnChart2Fill:"",PlainText:"",AccessibiltyChecker:"",DatabaseSync:"",ReservationOrders:"",TabOneColumn:"",TabTwoColumn:"",TabThreeColumn:"",BulletedTreeList:"",MicrosoftTranslatorLogoGreen:"",MicrosoftTranslatorLogoBlue:"",InternalInvestigation:"",AddReaction:"",ContactHeart:"",VisuallyImpaired:"",EventToDoLogo:"",Variable2:"",ModelingView:"",DisconnectVirtualMachine:"",ReportLock:"",Uneditable2:"",Uneditable2Mirrored:"",BarChartVerticalEdit:"",GlobalNavButtonActive:"",PollResults:"",Rerun:"",QandA:"",QandAMirror:"",BookAnswers:"",AlertSettings:"",TrimStart:"",TrimEnd:"",TableComputed:"",DecreaseIndentLegacy:"",IncreaseIndentLegacy:"",SizeLegacy:""}},t)}Pn("@fluentui/set-version","6.0.0"),Pn("@fluentui/style-utilities","8.11.7"),fn();Pn("@fluentui/font-icons-mdl2","8.5.58");var Xn,Zn="".concat("https://res.cdn.office.net/files/fabric-cdn-prod_20241209.001","/assets/icons/"),Jn=mt(),Qn=new Uint8Array(16);function er(){if(!Xn&&!(Xn="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Xn(Qn)}const tr=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,nr=function(e){return"string"==typeof e&&tr.test(e)};for(var rr=[],ir=0;ir<256;++ir)rr.push((ir+256).toString(16).substr(1));const or=function(e,t,n){var r=(e=e||{}).random||(e.rng||er)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var i=0;i<16;++i)t[n+i]=r[i];return t}return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(rr[e[t+0]]+rr[e[t+1]]+rr[e[t+2]]+rr[e[t+3]]+"-"+rr[e[t+4]]+rr[e[t+5]]+"-"+rr[e[t+6]]+rr[e[t+7]]+"-"+rr[e[t+8]]+rr[e[t+9]]+"-"+rr[e[t+10]]+rr[e[t+11]]+rr[e[t+12]]+rr[e[t+13]]+rr[e[t+14]]+rr[e[t+15]]).toLowerCase();if(!nr(n))throw TypeError("Stringified UUID is invalid");return n}(r)};class ar{constructor(e){this.uuid=or(),this.uuid=e||or(),nr(this.uuid)}toString(){return this.uuid}static validate(e){return nr(e)}}var sr,lr,cr,ur,dr,pr,hr,fr;!function(e){e.bing="Bing",e.cmc="CMC",e.cmcMobile="CMCMobile",e.edge="Edge",e.edgeSidebar="EdgeSidebar",e.office="Office",e.orange="Orange",e.outlook="Outlook",e.outlookWin32="OutlookWin32",e.teams="Teams",e.teamsModern="TeamsModern",e.windowsCopilot="WindowsCopilot"}(sr||(sr={})),function(e){e.windows="windows",e.macOs="macos"}(lr||(lr={})),function(e){e.default="default",e.dark="dark",e.highContrast="contrast"}(cr||(cr={})),function(e){e.fileOpenPreference="fileOpenPreference",e.theme="theme"}(ur||(ur={})),function(e){e.web="web",e.desktop="desktop"}(dr||(dr={})),function(e){e.settings="settings",e.content="content",e.authentication="authentication",e.remove="remove",e.task="task",e.sidePanel="sidePanel",e.meetingStage="meetingStage"}(pr||(pr={})),function(e){e.copilotSidePanel="copilotSidePanel"}(hr||(hr={})),function(e){e.TextPlain="text/plain",e.TextHtml="text/html",e.ImagePNG="image/png",e.ImageJPEG="image/jpeg"}(fr||(fr={}));const mr=e=>{const{uuidAsString:t}=e,n=S(e,["uuidAsString"]);return Object.assign(Object.assign({},n),{uuid:new ar(t)})};var gr,vr,yr;!function(e){e.DisplayCapture="displayCapture",e.GeoLocation="geolocation",e.Media="media",e.Midi="midi",e.Notifications="notifications",e.OpenExternal="openExternal"}(gr||(gr={})),function(e){e.Consented="consented",e.Revoked="revoked",e.NeverAsked="neverAsked"}(vr||(vr={}));class br{constructor(e){this.listeners={},this.element=e}addListener(e,t){this.element&&(this.removeListener(e),this.element.addEventListener(e,t),this.listeners[e]=t)}removeListener(e){this.element&&this.listeners[e]&&(this.element.removeEventListener(e,this.listeners[e]),delete this.listeners[e])}removeAllListeners(){for(const e of Object.keys(this.listeners))this.removeListener(e)}}!function(e){e.Debug="Debug",e.Info="Info",e.Warn="Warn",e.Error="Error"}(yr||(yr={}));const Cr=i(8686).rE,Ar="appInitialization.appLoaded",Sr="appInitialization.expectedFailure",Er="appInitialization.failure",wr="appInitialization.success",xr="appInstallDialog.openAppInstallDialog",Ir="authentication.getAuthToken",kr="authentication.getUser",Tr="authentication.authenticate",_r="authentication.authenticate.success",Pr="authentication.authenticate.failure",Dr="appEntity.selectAppEntity",Br="media.scanBarCode",Rr="calendar.composeMeeting",Mr="calendar.openCalendarItem",Lr="call.startCall",Or="chat.openChat",Fr="clipboard.writeToClipboard",Nr="clipboard.readFromClipboard",Hr="conversations.openConversation",zr="conversations.closeConversation",Vr="getChatMembers",Ur={sendCustomTelemetryData:"copilot.customTelemetry.sendCustomTelemetryData"},jr={getEligibilityInfo:"copilot.eligibility.getEligibilityInfo"},Wr="tasks.startTask",$r="tasks.completeTask",qr={resize:"tasks.updateTask"},Gr="externalAppCardActions.processActionOpenUrl",Kr="externalAppCardActions.processActionSubmit",Yr="externalAppCardActionsForCEA.processActionOpenUrl",Xr="externalAppCardActionsForCEA.processActionSubmit",Zr="externalAppCardActionsForDA.processActionOpenUrlDialog",Jr="externalAppCommands.processActionCommand",Qr="externalAppAuthentication.authenticateAndResendRequest",ei="externalAppAuthentication.authenticateWithSSO",ti="externalAppAuthentication.authenticateWithSSOAndResendRequest",ni="externalAppAuthentication.authenticateWithOauth2",ri="externalAppAuthentication.authenticateWithPowerPlatformConnectorPlugins",ii="externalAppAuthenticationForCEA.authenticateWithSSO",oi="externalAppAuthenticationForCEA.authenticateWithOauth",ai="externalAppAuthenticationForCEA.authenticateAndResendRequest",si="externalAppAuthenticationForCEA.authenticateWithSSOAndResendRequest",li="files.addCloudStorageFolder",ci="files.copyMoveFiles",ui="files.deleteCloudStorageFolder",di="files.getCloudStorageFolders",pi="openFilePreview",hi="files.getExternalProviders",fi="files.openCloudStorageFile",mi="files.getCloudStorageFolderContents",gi="getContext",vi="initialize",yi={addAndConfigure:"hostEntity.tab.addAndConfigure",reconfigure:"hostEntity.tab.reconfigure",rename:"hostEntity.tab.rename",remove:"hostEntity.tab.remove",getAll:"hostEntity.tab.getAll"},bi="location.getLocation",Ci={showLocation:"location.showLocation"},Ai="interactive.getFluidTenantInfo",Si="interactive.getFluidToken",Ei="interactive.getFluidContainerId",wi="interactive.setFluidContainerId",xi="interactive.getNtpTime",Ii="interactive.registerClientId",ki="interactive.getClientRoles",Ti="interactive.getClientInfo",_i="executeDeepLink",Pi="log.receive",Di="mail.composeMail",Bi="mail.openMailItem",Ri={composeMail:"mail.handoff.composeMail"},Mi="marketplace.getCart",Li="marketplace.addOrUpdateCartItems",Oi="marketplace.removeCartItems",Fi="marketplace.updateCartStatus",Ni="captureImage",Hi="getMedia",zi="selectMedia",Vi="viewImages",Ui="meeting.getAppContentStageSharingCapabilities",ji="meeting.getAppContentStageSharingState",Wi="meeting.getAuthenticationTokenForAnonymousUser",$i="getIncomingClientAudioState",qi="meeting.getLiveStreamState",Gi="meeting.getMeetingDetails",Ki={setOptions:"meeting.appShareButton.setOptions"},Yi="meeting.requestStartLiveStreaming",Xi="meeting.requestStopLiveStreaming",Zi="meeting.shareAppContentToStage",Ji="meeting.stopSharingAppContentToStage",Qi="toggleIncomingClientAudio",eo="meeting.requestAppAudioHandling",to="meeting.updateMicState",no="meeting.joinMeeting",ro="meetingRoom.getPairedMeetingRoomInfo",io="meetingRoom.sendCommandToPairedMeetingRoom",oo="monetization.openPurchaseExperience",ao="nestedAppAuth.execute",so="nestedAppAuth.manageNAATrustedOrigins",lo="notifications.showNotification",co="otherApp.unregisterInstall",uo="otherApp.notifyInstallCompleted",po="settings.getSettings",ho="navigateCrossDomain",fo="pages.navigateToApp",mo="returnFocus",go="setFrameContext",vo="shareDeepLink",yo={navigateBack:"navigateBack"},bo={navigateTo:"pages.currentApp.navigateTo",navigateToDefaultPage:"pages.currentApp.navigateToDefaultPage"},Co={getTabInstances:"getTabInstances",getMruTabInstances:"getMruTabInstances",navigateToTab:"navigateToTab"},Ao={setConfig:"settings.setSettings",setValidityState:"settings.setValidityState",save:{success:"settings.save.success",failure:"settings.save.failure"},remove:{success:"settings.remove.success",failure:"settings.remove.failure"}},So={enterFullscreen:"enterFullscreen",exitFullscreen:"exitFullscreen"},Eo="people.selectPeople",wo={getPermissionStatus:"permissions.has"},xo="permissions.request",Io="profile.showProfile",ko="remoteCamera.getCapableParticipants",To="remoteCamera.requestControl",_o="remoteCamera.sendControlCommand",Po="remoteCamera.terminateSession",Do="readyToUnload",Bo="registerHandler",Ro="search.unregister",Mo="search.closeSearch",Lo="sharing.shareWebContent",Oo={getContent:"sharing.history.getContent"},Fo="stageView.open",No={close:"stageView.self.close"},Ho="store.openFullStore",zo="store.openAppDetail",Vo="store.openInContextStore",Uo="store.openSpecificStore",jo="teams.getTeamChannels",Wo="teams.refreshSiteUrl",$o={getConfigSetting:"getConfigSetting",joinedTeams:{getUserJoinedTeams:"getUserJoinedTeams"}},qo={getTelemetryPort:"messageChannels.telemetry.getTelemetryPort"},Go={getDataLayerPort:"messageChannels.dataLayer.getDataLayerPort"},Ko="thirdPartyCloudStorage.getDragAndDropFiles",Yo="video.effectParameterChange",Xo={registerForVideoFrame:"video.mediaStream.registerForVideoFrame",audioInferenceDiscardStatusChange:"video.mediaStream.audioInferenceDiscardStatusChange"},Zo="video.notifyError",Jo="video.personalizedEffectsChanged",Qo="video.registerForVideoEffect",ea={registerForVideoFrame:"video.registerForVideoFrame"},ta="video.startVideoExtensibilityVideoStream",na="video.videoEffectChanged",ra="video.videoEffectReadiness",ia="video.videoExtensibilityIpcChangedEvent",oa={performanceDataGenerated:"video.performance.performanceDataGenerated",frameProcessingSlow:"video.performance.frameProcessingSlow",firstFrameProcessed:"video.performance.firstFrameProcessed",textureStreamAcquired:"video.performance.textureStreamAcquired"},aa="video.setFrameProcessTimeLimit",sa="webStorage.isWebStorageClearedOnUserLogOut";var la,ca,ua,da;!function(e){e.ME="ME",e.CEA="CEA"}(la||(la={})),function(e){e.AuthFailed="AuthFailed",e.Timeout="Timeout",e.Other="Other",e.AppInitTimeout="AppInitTimeout",e.CachedAppLoadTimedOut="CachedAppLoadTimedOut",e.Validation="Validation",e.Validation_InvalidDomains="Validation_InvalidDomains"}(ca||(ca={})),function(e){e.AppExpiration="app expiration",e.AppNotifyFailure="app sent notify failure",e.AppUnloadTimeout="app unload timeout",e.FreeMemoryUnderMinimum="insufficient memory to retain the cached app",e.HostExplicitRemoval="host explicitly removed the app",e.HostMemoryLimitExceeded="host memory limit exceeded",e.AppDidNotRegisterForCaching="app did not register for caching",e.NumAppsExceeded="number of apps exceeded"}(ua||(ua={})),function(e){e.PermissionError="PermissionError",e.NotFound="NotFound",e.Throttling="Throttling",e.Offline="Offline",e.Other="Other"}(da||(da={}));const pa={resourceDomainParameter:"{resourceDomain}",validResourcePattern:"^((https|api)://{resourceDomain}([:/].*)?)$"},ha=/^(\*\.)*[^*]+$/i,fa=new Set(["b5abf2ae-c16b-4310-8f8a-d3bcdb52f162","d870f6cd-4aa5-4d42-9626-ab690c041429","43a6e7fb-bd10-4c0a-b02e-6a9c86ba272a"]),ma=new Set(["f3a6e67f-850d-4dd9-960a-04c6638ded39","f3a6e67f-850d-4dd9-960a-04c6638ded36","b6b18421-3bba-40df-a983-05fbbc9e2d13","a9750531-44bc-4346-84a7-c4ceda140ef4"]),ga=["com.example.microsoftteamstabs.test","com.example.m365testapp.test"],va=new Set([...fa,...ga]),ya="Url is invalid",ba="Invalid dialog URL",Ca="There is at least one improperly formatted domain in the provided app definition's validDomains field",Aa="Authorization code exceeds max length of 4096 characters",Sa="Authorization code contains unexpected characters. Allowed characters are a-z, A-Z, 0-9, ., _, +, /, =, ~, and -",Ea="Desktop clients must provide implementation for externalAuthService on IAuthenticationService. External auth flows may not work as expected when externalAuthService is not provided.",wa="App does not have the required permissions for this operation",xa="RequestedForAppID",Ia="IsExternal",ka=["www.microsoft365.com","bing.com","edgeservices.bing.com","www.bing.com","www.staging-bing-int.com","teams.cloud.microsoft","outlook.cloud.microsoft","m365.cloud.microsoft","copilot.microsoft.com","windows.msn.com"],Ta="2.19",_a="The detected TeamsJS Version is < 2.19. App may not be able to run on this domain. Please update TeamsJS.",Pa=["localhost","local.teams.office.com","local.teams.microsoft.com","local.office.com"];var Da,Ba,Ra,Ma,La,Oa,Fa,Na,Ha,za,Va,Ua,ja;!function(e){e.Unknown="unknown",e.Loading="loading",e.WaitingForAppLoad="WaitingForAppLoad",e.Loaded="loaded",e.Failed="failed",e.Unloading="unloading",e.Unloaded="unloaded",e.Cached="cached"}(Da||(Da={})),function(e){e[e.NOT_SUPPORTED_ON_PLATFORM=100]="NOT_SUPPORTED_ON_PLATFORM",e[e.INTERNAL_ERROR=500]="INTERNAL_ERROR",e[e.NOT_SUPPORTED_IN_CURRENT_CONTEXT=501]="NOT_SUPPORTED_IN_CURRENT_CONTEXT",e[e.PERMISSION_DENIED=1e3]="PERMISSION_DENIED",e[e.NETWORK_ERROR=2e3]="NETWORK_ERROR",e[e.NO_HW_SUPPORT=3e3]="NO_HW_SUPPORT",e[e.INVALID_ARGUMENTS=4e3]="INVALID_ARGUMENTS",e[e.UNAUTHORIZED_USER_OPERATION=5e3]="UNAUTHORIZED_USER_OPERATION",e[e.INSUFFICIENT_RESOURCES=6e3]="INSUFFICIENT_RESOURCES",e[e.THROTTLE=7e3]="THROTTLE",e[e.USER_ABORT=8e3]="USER_ABORT",e[e.OPERATION_TIMED_OUT=8001]="OPERATION_TIMED_OUT",e[e.OLD_PLATFORM=9e3]="OLD_PLATFORM",e[e.FILE_NOT_FOUND=404]="FILE_NOT_FOUND",e[e.SIZE_EXCEEDED=1e4]="SIZE_EXCEEDED"}(Ba||(Ba={})),function(e){e.INTERNAL_ERROR="INTERNAL_ERROR"}(Ra||(Ra={})),function(e){e[e.Standard=0]="Standard",e[e.Edu=1]="Edu",e[e.Class=2]="Class",e[e.Plc=3]="Plc",e[e.Staff=4]="Staff"}(Ma||(Ma={})),function(e){e.Regular="Regular",e.Private="Private",e.Shared="Shared"}(La||(La={})),function(e){e[e.Admin=0]="Admin",e[e.User=1]="User",e[e.Guest=2]="Guest"}(Oa||(Oa={})),function(e){e.Inline="inline",e.Desktop="desktop",e.Web="web"}(Fa||(Fa={})),function(e){e.M365Content="m365content"}(Na||(Na={})),function(e){e.DriveId="driveId",e.GroupId="groupId",e.SiteId="siteId",e.UserId="userId"}(Ha||(Ha={})),function(e){e.Public="public",e.EUDB="eudb",e.DOD="dod",e.DOJ="doj"}(za||(za={})),function(e){e.Public="public",e.EUDB="eudb",e.Other="other"}(Va||(Va={})),function(e){e[e.PreviousLandmark=0]="PreviousLandmark",e[e.NextLandmark=1]="NextLandmark",e[e.Read=2]="Read",e[e.Compose=3]="Compose"}(Ua||(Ua={})),function(e){e[e.PreviousLandmark=0]="PreviousLandmark",e[e.NextLandmark=1]="NextLandmark",e[e.GoToActivityFeed=2]="GoToActivityFeed"}(ja||(ja={}));class Wa{constructor(){this.items=new Map,this.add=e=>{if(e){const t=e.toLowerCase();if(!this.items.has(t))return this.items.set(t,e),!0}return!1},this.values=()=>Array.from(this.items.values())}}let $a={wildcardValidDomainRuleDetection:!0,extendedAppLoadTimeoutInMillis:void 0,authExtensionContextForUrlValidation:!0,escapeRegExSpecialCharactersInValidDomains:!0,useUrlClassForValidDomains:!0,useStrictValidDomainRuleDetection:!0,resetTimerWhenInitCalledAndWaitForNotifySuccess:!1,createAndSendSignalsToSubstrate:!0,useGlobalMonotonicTimersForTelemetry:!1,shouldLazilyWriteDefaultDevicePermissions:!0,disableFirstPartyAppsAsMicrosoftOwned:!1,shouldCustomTelemetryScenarioReceiveAppInitTelemetry:!1,disableDebuggingTelemetryToAria:!1,disableExtendedTelemetryForMetaOSStoreApps:!1,useStrictAppIdValidationInStorage:!1,recreateCommBridgeListenersBeforeLoadingApp:!1,overrideForEachInitStateChangeTimeoutsInMs:void 0,useNewAppInitializationExperience:!1,showErrorBanners:!0,disableNewMessageHandlingExperience:!1,enableNotificationsUI:!1,enableDevicePermissionDBV2:!1};function qa(){return $a}const Ga=e=>e&&new URL(e).host,Ka=/([\[\]\^\$\|\(\)\\\.\+\*\?\{\}\=\!\<\>\-])/gi,Ya=(e,t,n,r)=>{try{return void 0!==n&&fs(new URL(e),Ja(n,r),t)}catch(e){return t.log(yr.Error,"isValidOriginForApp","Invalid origin",null),!1}},Xa=(e,t,n,r)=>{const i=As(n,r),o=vs(e,n,i);if(void 0!==r&&fs(new URL(o),Ja(r,n),t))return o;throw t.log(yr.Error,"tryFormatAndGetValidUrl",ya,null),ya},Za=e=>{let t=[];for(const n of e)n.match(ha)||t.push(n);return t},Ja=(e,t)=>{var n,r,i;const o=new Wa;return e.validDomains&&e.validDomains.forEach((e=>o.add(us(e,t)))),null===(n=e.pages.configurable)||void 0===n||n.forEach((e=>o.add(Ga(cs(e.configurationUrl,t))))),null===(r=e.pages.static)||void 0===r||r.forEach((e=>{e.contentUrl&&o.add(Ga(cs(e.contentUrl,t)))})),(null===(i=null==e?void 0:e.connector)||void 0===i?void 0:i.configurationUrl)&&o.add(Ga(e.connector.configurationUrl)),Array.from(o.values())},Qa=e=>!!e&&fa.has(e.toLowerCase()),es=e=>Qa(null==e?void 0:e.id),ts=(e,t,n,r,i,o=!1,a=!1,s)=>{var l,c,u,d;const p=a&&r?ns(r):void 0;if((n.name===sr.teams||n.name===sr.teamsModern)&&t&&t.length>0&&(!r||r.isFullTrust||(h=r.id)&&-1!==ga.indexOf(h.toLowerCase()))){if(r){const n=qa().restrictedFullTrustOverrides;if(n){let o;if(n.forEach((e=>{e.appId===r.id&&(o=e)})),o)return ls(e,t,i,o,a?p:void 0,s)}}return a&&p&&ss(t[0],p),Promise.resolve(t)}var h;if(null===(l=null==r?void 0:r.webApplicationInfo)||void 0===l?void 0:l.resource){let n;return n=1===(null==t?void 0:t.length)&&("api://{teamSiteDomain}"===t[0]&&"https://{teamSiteDomain}"===(null===(c=null==r?void 0:r.webApplicationInfo)||void 0===c?void 0:c.resource)||"api://{mySiteDomain}"===t[0]&&"https://{mySiteDomain}"===(null===(u=null==r?void 0:r.webApplicationInfo)||void 0===u?void 0:u.resource))?cs(t[0],i):ds(r,i),n&&(ps(n,e)||o)?(a&&p&&ss(n,p),Promise.resolve([n])):(n&&(null===(d=null==s?void 0:s.addDetails)||void 0===d||d.call(s,{invalidResource:n,isRestrictedFullTrustValidation:!1})),Promise.reject("App resource defined in manifest and iframe origin do not match"))}return Promise.reject("App webApplicationInfo or resource not defined in manifest")},ns=e=>os(e)||as(e),rs=e=>{var t;return"BotBased"===(null===(t=e.composeExtension)||void 0===t?void 0:t.type)},is=e=>{var t;return null===(t=null==e?void 0:e.copilotAgents)||void 0===t?void 0:t.customEngineAgents.length},os=e=>{if(rs(e)){const t=e.composeExtension.botId;if(!t)throw"botID cannot be undefined in BotBased composeExtension";return t}},as=e=>{if(is(e)){const t=e.copilotAgents.customEngineAgents.filter((e=>"bot"===e.type));if(!t.length)throw"The type bot is missing from the customEngineAgents";if(t.length>1)throw"There cannot be multiple bot types in the customEngineAgents";const n=t[0].id;if(!n)throw"bot id cannot be undefined in CEA";return n.toString()}},ss=(e,t)=>{let n;if(qa().useUrlClassForValidDomains)n=(e.startsWith("https://")||e.startsWith("api://"))&&nr(t)&&e.includes(`/botid-${t}`);else{const r="^((https|api):/(/.+)?/botid-{botId})".replace("{botId}",t);n=new RegExp(r,"i").test(e)}if(!n)throw"Resource is not valid"},ls=(e,t,n,r,i,o)=>{var a;let s=!0;return r?t.forEach((t=>{var i;if(s){const o=cs(t,n);let a=!1;null===(i=r.resources)||void 0===i||i.forEach((r=>{if(!a&&r){const i=cs(r.resource,n);if(o===i)if(r.requireOriginMatch){try{const n=new URL(e),r=new URL(t);n.hostname===r.hostname&&(a=!0)}catch(e){}e===i&&(a=!0)}else a=!0}})),a||(s=!1)}})):s=!1,s?(i&&ss(t[0],i),Promise.resolve(t)):(t.length>=1&&(null===(a=null==o?void 0:o.addDetails)||void 0===a||a.call(o,{invalidResource:t[0],isRestrictedFullTrustValidation:!0})),Promise.reject("App resource defined in manifest and iframe origin do not match"))},cs=(e,t)=>{var n,r,i,o,a,s,l,c,u,d,p,h;if(!t)return e;const f=void 0!==t.page?t:void 0,m={teamSiteDomain:(null===(n=null==f?void 0:f.sharePointSite)||void 0===n?void 0:n.teamSiteDomain)||"",teamSitePath:(null===(r=null==f?void 0:f.sharePointSite)||void 0===r?void 0:r.teamSitePath)||"",teamSiteUrl:(null===(i=null==f?void 0:f.sharePointSite)||void 0===i?void 0:i.teamSiteUrl)||"",mySiteDomain:(null===(o=null==f?void 0:f.sharePointSite)||void 0===o?void 0:o.mySiteDomain)||"",mySitePath:(null===(a=null==f?void 0:f.sharePointSite)||void 0===a?void 0:a.mySitePath)||"",channelRelativeUrl:(null===(s=null==f?void 0:f.channel)||void 0===s?void 0:s.relativeUrl)||"",sharePointSite:{teamSiteDomain:(null===(l=null==f?void 0:f.sharePointSite)||void 0===l?void 0:l.teamSiteDomain)||"",teamSitePath:(null===(c=null==f?void 0:f.sharePointSite)||void 0===c?void 0:c.teamSitePath)||"",teamSiteUrl:(null===(u=null==f?void 0:f.sharePointSite)||void 0===u?void 0:u.teamSiteUrl)||"",mySiteDomain:(null===(d=null==f?void 0:f.sharePointSite)||void 0===d?void 0:d.mySiteDomain)||"",mySitePath:(null===(p=null==f?void 0:f.sharePointSite)||void 0===p?void 0:p.mySitePath)||""},channel:{relativeUrl:(null===(h=null==f?void 0:f.channel)||void 0===h?void 0:h.relativeUrl)||""}};return ys(e,m)},us=(e,t)=>{var n,r,i,o;if(!t)return e;const a={teamSiteDomain:(null===(n=t.sharePointSite)||void 0===n?void 0:n.teamSiteDomain)||"",mySiteDomain:(null===(r=t.sharePointSite)||void 0===r?void 0:r.mySiteDomain)||"",sharePointSite:{teamSiteDomain:(null===(i=t.sharePointSite)||void 0===i?void 0:i.teamSiteDomain)||"",mySiteDomain:(null===(o=t.sharePointSite)||void 0===o?void 0:o.mySiteDomain)||""}};return ys(e,a)},ds=(e,t)=>{var n,r;return(null===(n=e.webApplicationInfo)||void 0===n?void 0:n.resource)&&cs(null===(r=e.webApplicationInfo)||void 0===r?void 0:r.resource,t)},ps=(e,t)=>{if(!e.startsWith("https:")&&!e.startsWith("api:"))return!1;if(!(e=e.replace("api://","https://"))||!t)return!1;if(e===t)return!0;if(qa().useStrictValidDomainRuleDetection)try{const n=new URL(t),r=new URL(e);return!(n.origin!==r.origin||!n.origin||!r.origin)}catch(e){return!1}else{if(!qa().useUrlClassForValidDomains){const r=qa().escapeRegExSpecialCharactersInValidDomains?(n=t)&&new URL(n).host.replace(Ka,"\\$1"):Ga(t),i=pa.validResourcePattern.replace(pa.resourceDomainParameter,r);return new RegExp(i,"i").test(e)}try{const n=new URL(t),r=new URL(e);return!(n.hostname!==r.hostname||!n.origin||!r.origin)}catch(e){return!1}}var n},hs=e=>{try{const t=new URL(e);return"https:"===t.protocol||"api:"===t.protocol}catch(e){return!1}},fs=(e,t,n)=>{const r=gs(e),i=new Wa;let o=[...t];const a=Za([...t]);a.length>0&&(n.log(yr.Debug,"isUrlInDomainList",`Invalid domain detected with ${a}}`),qa().wildcardValidDomainRuleDetection&&(o=o.filter((e=>!a.includes(e)))));for(const e of o){if(!i.add(e))continue;const t=ms(e),n=new RegExp(`^https://${t}((/|\\?).*)?$`,"i");if(r.match(n))return!0}return!1},ms=e=>{if(!0===qa().wildcardValidDomainRuleDetection&&Za([e]).length>0)throw new Error("The wildcardValidDomainRuleDetection flag is enabled and an improper wildcard domain segment was detected: "+e);return e.replaceAll(".","[.]").replaceAll("*","[^/^.]+")},gs=e=>e.href,vs=(e,t,n)=>{let r=ys(e,Cs(t));return r=ys(r,n),r},ys=(e,t,n=[])=>{const r=e.indexOf("?");let i="",o="";return r>0?(i=e.substring(0,r),o=e.substring(r)):i=e,i&&(i=bs(i,t,n,(e=>encodeURI(e)))),o&&(o=bs(o,t,n,(e=>encodeURIComponent(e)))),i+o},bs=(e,t,n=[],r)=>{if(void 0!==t)if("object"==typeof t)for(const i in t)e=bs(e,t[i],n.concat(i),r);else if(qa().useUrlClassForValidDomains)e=e.replaceAll(`{${n.join(".")}}`,r(t));else{const i=n.join("."),o=new RegExp(`{${i.replace(".","\\.")}}`,"g");e=e.replace(o,r(t))}return e},Cs=e=>{var t,n,r,i,o;return{actionInfo:{actionId:(null===(t=e.actionInfo)||void 0===t?void 0:t.actionId)||"",actionObjects:(null===(n=e.actionInfo)||void 0===n?void 0:n.actionObjects)||[]},user:Object.assign(Object.assign({id:"",licenseType:""},e.user),{tenant:Object.assign({id:"",sku:""},null===(r=e.user)||void 0===r?void 0:r.tenant)}),app:Object.assign({iconPositionVertical:0,parentMessageId:"",userFileOpenPreference:Fa.Inline,userClickTime:0,userClickTimeV2:0},e.app),page:Object.assign({isFullScreen:!1,subPageId:"",isMultiWindow:!1,sourceOrigin:""},e.page),meeting:{id:(null===(i=e.meeting)||void 0===i?void 0:i.id)||""},chat:{id:(null===(o=e.chat)||void 0===o?void 0:o.id)||""},channel:e.channel,sharePointSite:e.sharePointSite,sharepoint:e.sharepoint,team:e.team}};function As(e,t){var n,r,i,o;return{actionInfo:e.actionInfo,locale:e.app.locale,appSessionId:e.app.sessionId||"",appLaunchId:e.app.launchId||"",appId:null!==(n=null==t?void 0:t.id)&&void 0!==n?n:"",theme:e.app.theme,appIconPosition:e.app.iconPositionVertical||0,osLocaleInfo:e.app.osLocaleInfo,parentMessageId:e.app.parentMessageId||"",userClickTime:e.app.userClickTime||0,userClickTimeV2:e.app.userClickTimeV2||0,userFileOpenPreference:e.app.userFileOpenPreference||Fa.Inline,manifestVersion:(null==t?void 0:t.manifestVersion)||"",hostName:e.app.host.name,hostClientType:e.app.host.clientType,sessionId:e.app.host.sessionId||"",ringId:e.app.host.ringId,entityId:e.page.id||"",frameContext:e.page.frameContext,renderingSurface:null===(r=e.page)||void 0===r?void 0:r.renderingSurface,subEntityId:e.page.subPageId||"",isFullScreen:e.page.isFullScreen||!1,isMultiWindow:e.page.isMultiWindow||!1,isBackgroundLoad:e.page.isBackgroundLoad,sourceOrigin:e.page.sourceOrigin||"",userObjectId:void 0!==e.user?e.user.id:void 0,isCallingAllowed:void 0!==e.user?e.user.isCallingAllowed:void 0,isPSTNCallingAllowed:void 0!==e.user?e.user.isPSTNCallingAllowed:void 0,userLicenseType:void 0!==e.user?e.user.licenseType:"",loginHint:void 0!==e.user?e.user.loginHint:void 0,userPrincipalName:void 0!==e.user?e.user.userPrincipalName:void 0,upn:void 0!==e.user?e.user.userPrincipalName:void 0,userDisplayName:void 0!==e.user?e.user.displayName:void 0,tid:void 0!==e.user&&void 0!==e.user.tenant?e.user.tenant.id:void 0,tenantSKU:(null===(o=null===(i=null==e?void 0:e.user)||void 0===i?void 0:i.tenant)||void 0===o?void 0:o.sku)||"",channelId:void 0!==e.channel?e.channel.id:void 0,channelName:void 0!==e.channel?e.channel.displayName:void 0,channelRelativeUrl:void 0!==e.channel?e.channel.relativeUrl:void 0,channelType:void 0!==e.channel?e.channel.membershipType:void 0,defaultOneNoteSectionId:void 0!==e.channel?e.channel.defaultOneNoteSectionId:void 0,hostTeamGroupId:void 0!==e.channel?e.channel.ownerGroupId:void 0,hostTeamTenantId:void 0!==e.channel?e.channel.ownerTenantId:void 0,chatId:void 0!==e.chat?e.chat.id:"",meetingId:void 0!==e.meeting?e.meeting.id:"",sharepoint:e.sharepoint,teamId:void 0!==e.team?e.team.internalId:void 0,teamName:void 0!==e.team?e.team.displayName:void 0,teamType:void 0!==e.team?e.team.type:void 0,groupId:void 0!==e.team?e.team.groupId:void 0,teamTemplateId:void 0!==e.team?e.team.templateId:void 0,isTeamArchived:void 0!==e.team?e.team.isArchived:void 0,userTeamRole:void 0!==e.team?e.team.userRole:void 0,teamSiteId:void 0!==e.sharePointSite?e.sharePointSite.teamSiteId:void 0,teamSiteUrl:void 0!==e.sharePointSite?e.sharePointSite.teamSiteUrl:void 0,teamSiteDomain:void 0!==e.sharePointSite?e.sharePointSite.teamSiteDomain:void 0,teamSitePath:void 0!==e.sharePointSite?e.sharePointSite.teamSitePath:void 0,mySiteDomain:void 0!==e.sharePointSite?e.sharePointSite.mySiteDomain:void 0,mySitePath:void 0!==e.sharePointSite?e.sharePointSite.mySitePath:void 0,dialogParameters:e.dialogParameters}}const Ss=new RegExp("[a-zA-Z0-9_\\-\\.]+(@|%40|%2540)[a-zA-Z0-9_\\-\\.]+\\.[a-zA-Z]{2,5}","g"),Es="https://teams.microsoft.com",ws=new URL(`${Es}/l/`),xs=(e,t)=>{var n,r;const i=null===(r=null===(n=e.pages)||void 0===n?void 0:n.static)||void 0===r?void 0:r.find((e=>e.entityId===t));return null==i?void 0:i.name},Is=e=>"userSettingsChange"===e,ks=e=>{let t;try{t=new URL(e).hostname}catch(t){return console.error("Invalid URL:",e),!1}return!(!t.startsWith("local.")&&!Pa.some((e=>t===e||t.endsWith("."+e))))||ka.some((e=>t===e||t.endsWith("."+e)))},Ts=(e,t)=>{var n,r;const i=e.split(".").map(Number),o=t.split(".").map(Number),a=Math.max(i.length,o.length);for(let e=0;e<a;e++){const t=null!==(n=i[e])&&void 0!==n?n:0,a=null!==(r=o[e])&&void 0!==r?r:0;if(t<a)return!0;if(t>a)return!1}return!1},_s=(e,t)=>{if(!qa().showErrorBanners)return!1;if(!ks(window.location.href))return!1;const n=e.state===Da.Loaded&&ks(window.location.href)&&Ts(e.appSdkVersion||"0",Ta),r=e.state===Da.Failed||n;return!t&&r},Ps=e=>!!e&&void 0!==e.user.id;function Ds(e){return e.majorVersion<1||1==e.majorVersion&&e.minorVersion<5}const Bs=e=>{let t;return t=e===za.Public?Va.Public:e===za.EUDB?Va.EUDB:Va.Other,t};function Rs(e){return e?((t=e)&&(t=t.replace(Ss,"email_removed")),t):"";var t}class Ms extends Error{constructor(e){super(e),this.name="MosServiceError"}}class Ls{constructor(e){this.endpointUrl=e}static build(e,t){return w(this,void 0,void 0,(function*(){try{Ls.mos3TokenGenerationService=e;let n=yield Ls.acquireToken(!0),r=yield Ls.getEndpointUrl(n);return Ls.jestDelay=t,new Ls(r)}catch(e){throw e instanceof Ls?e:new Ms(`Failed to build MOS3Service: ${e}`)}}))}getSignInUrlInfo(e,t){var n;return w(this,void 0,void 0,(function*(){try{const r=yield Ls.acquireToken(!0);let i=null!==(n=this.endpointUrl)&&void 0!==n?n:Ls.DEFAULT_ENDPOINT;i=`${i}/catalog/v1/users/titles/${e}/signInInfo`;const o=function(e,t){if(t&&t.size>0){let n=[];t.forEach(((e,t)=>{t&&e&&n.push(`${t}=${e}`)})),e+="?"+n.join("&")}return e}(i,t);return yield this.getRequestWithRetry(r,o,Ls.retryCount)}catch(e){throw e instanceof Ls?e:new Ms(`Failed to get sign in URL info: ${e}`)}}))}activateOauth2Token(e,t,n){var r;return w(this,void 0,void 0,(function*(){try{const i=yield Ls.acquireToken(!0);let o=null!==(r=this.endpointUrl)&&void 0!==r?r:Ls.DEFAULT_ENDPOINT;o=`${o}/catalog/v1/users/titles/${e}/signInCode`;const a={authConfigId:t,authCode:n};yield this.postRequestWithRetry(i,o,a,Ls.retryCount)}catch(e){throw e instanceof Ls?e:new Ms(`Failed to activate Oauth2 token: ${e}`)}}))}static requestMOS3ForEndpointURL(e,t){return w(this,void 0,void 0,(function*(){const n=yield fetch(t,{headers:{Authorization:"Bearer "+e}});if(n.ok)return n.json();throw new Ms(`Request failed with status code: ${n.status}`)}))}getRequestWithRetry(e,t,n){return w(this,void 0,void 0,(function*(){if(n<0)throw new Ms("Retry limit reached for fetching token: status code 401");const r=yield fetch(t,{headers:{Authorization:"Bearer "+e}});if(r.ok)return r.json();if(401===r.status){const e=yield this.handle401Error(r);return this.getRequestWithRetry(e,t,n-1)}throw new Ms(`Request failed with status code: ${r.status}`)}))}postRequestWithRetry(e,t,n,r){return w(this,void 0,void 0,(function*(){if(r<0)throw new Ms("Retry limit reached for fetching token: status code 401");const i=yield fetch(t,{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer "+e},body:JSON.stringify(n)});if(i.ok)return i;if(401===i.status){const e=yield this.handle401Error(i);return this.postRequestWithRetry(e,t,n,r-1)}throw new Ms(`Request failed with status code: ${i.status}`)}))}handle401Error(e){var t,n;return w(this,void 0,void 0,(function*(){let r,i=!0;const o=null!==(n=null===(t=e.headers)||void 0===t?void 0:t.get("www-authenticate"))&&void 0!==n?n:void 0;return o&&(r=function(e){const t=e.trim(),n=t.indexOf(" ");if(-1!==n){const e=t.substring(n+1).split(",").filter(Boolean).map((e=>e.trim())),r=3,i={error:void 0,claims:void 0};if(e.forEach((e=>{const t=e.split('"');if(t.length===r)switch(t[0].toLocaleLowerCase()){case"error=":i.error=t[1];break;case"claims=":i.claims=t[1]}})),"insufficient_claims"===i.error)return i.claims}}(o),i=!1),yield Ls.acquireToken(i,r?[r]:void 0,o)}))}}Ls.DEFAULT_ENDPOINT="https://titles.prod.mos.microsoft.com",Ls.retryCount=3,Ls.getEndpointUrl=e=>w(void 0,void 0,void 0,(function*(){let t=Ls.DEFAULT_ENDPOINT+"/config/v1/environment";const n=yield Ls.requestMOS3ForEndpointURL(e,t);if(hs(n.titlesServiceUrl))return n.titlesServiceUrl;throw new Ms("Invalid endpoint URL")})),Ls.acquireToken=(e,t,n)=>w(void 0,void 0,void 0,(function*(){const r=yield Ls.mos3TokenGenerationService.acquireToken(Ls.DEFAULT_ENDPOINT,t,n,e);if(!r)throw new Ms("Token generation service returned null or undefined.");if(!r.token)throw new Ms("Token generation service returned an object without a token.");return r.token}));class Os{constructor(){this.logSubscribers=new Set}subscribeToLogs(e){if(this.logSubscribers.has(e)){const e="This logger has already been subscribed; duplicate subscriptions are not allowed.";throw console.log(e),new Error(e)}this.logSubscribers.add(e)}unsubscribeFromLogs(e){return this.logSubscribers.delete(e)}unsubscribeAll(){return this.logSubscribers.clear()}log(e,t,n,r){this.logSubscribers.forEach((i=>{i.log(e,t,n,r)}))}}class Fs{constructor(){}static getInstance(){return Fs.instance||(Fs.instance=new Os),Fs.instance}}function Ns(){return Fs.getInstance()}const Hs="An internal error occurred",zs=new Set([ao]),Vs={errorCode:Ba.INTERNAL_ERROR,message:Hs},Us={errorCode:Ra.INTERNAL_ERROR,message:Hs};function js(e,t,n,r,i,o){const a=function(e,t,n){const r=(null==e?void 0:e.errorCode)&&Object.values(t).includes(null==e?void 0:e.errorCode)?e.errorCode:n.errorCode,i=function(e){return Zs(e)?e.message:"string"==typeof e?e:e instanceof Ms?e.message:Vs.message}(e);return{errorCode:r,message:i||n.message}}(t,n,r);return null==o||o.fail(`${e} Api failed ${a.message}`),i(a)}const Ws=(e,t,n)=>w(void 0,void 0,void 0,(function*(){return null==n||n.fail(`${e} Api failed ${rl(t)}`),Zs(t)?Js(t):Js(Vs)})),$s=(e,t,n)=>w(void 0,void 0,void 0,(function*(){return null==n||n.fail(`${e} Api failed ${rl(t)}`),Js([!1,t])})),qs=(e,t)=>({errorCode:e,message:t}),Gs=e=>({errorCode:Ra.INTERNAL_ERROR,message:Ks(e)});function Ks(e){return Zs(e)?e.message||Hs:"string"==typeof e?e:e instanceof Ms?e.message:JSON.stringify(e)}const Ys=(e,t,n,r=!1)=>w(void 0,void 0,void 0,(function*(){const i=yield t(e);if(Zs(i))return Promise.reject(i);{const e=n?n(i):i;return r&&Array.isArray(e)?Js([null,...e]):Js([null,e])}}));function Xs(e){return Zs(e)?e:Vs}const Zs=e=>void 0!==(null==e?void 0:e.errorCode),Js=e=>w(void 0,void 0,void 0,(function*(){return null!=e?{kind:"appResponse",data:e}:{kind:"appResponse"}})),Qs=(e,...t)=>w(void 0,void 0,void 0,(function*(){const n=yield e(...t);return Js(n)})),el={kind:"logResponse"},tl=(e,...t)=>w(void 0,void 0,void 0,(function*(){return yield e(...t),el})),nl=(e,t)=>w(void 0,void 0,void 0,(function*(){let n;if(!e)throw qs(Ba.INTERNAL_ERROR,"PermissionService is not provided");try{n=yield e.storageService.getPermissionStatus(t)}catch(e){throw JSON.stringify(e)}if(n==vr.NeverAsked)throw qs(Ba.INTERNAL_ERROR,"The app must specify "+t+" permission in its manifest and must be granted by the user. (the user has not been asked to grant permission).");if(n==vr.Revoked)throw qs(Ba.PERMISSION_DENIED,"user has explicitly not consented for device permission");if(n!==vr.Consented)throw qs(Ba.INTERNAL_ERROR,`Unrecognized device permission state: ${n}`)})),rl=e=>{const t="An unknown error occurred that could not be converted into a string description.";return Zs(e)||e instanceof Error?e.message||t:"string"==typeof e?e:"object"==typeof e&&JSON.stringify(e)||t};function il(e,t){var n;return{data:e.data,isDeeplyNestedRequest:t,origin:e.origin,source:null!==(n=e.source)&&void 0!==n?n:void 0}}const ol=e=>{var t;return e.uuid?e.uuid.toString():null===(t=e.id)||void 0===t?void 0:t.toString()};var al,sl=(al=[],{fireEvent:function(e){al.forEach((function(t){return t(e)}))},addListener:function(e){e&&al.push(e)}});function ll(e,t,n){sl.fireEvent({level:e,category:t,message:n})}function cl(e,t,n){ll(0,e,(function(){var e=n instanceof Error?n.message:"";return"".concat(t,": ").concat(e)}))}var ul={};function dl(e,t){"Office."===e.substring(0,7)&&"."!==e[e.length-1]?ul[e]?(t.ariaTenantToken&&(ul[e].ariaTenantToken=t.ariaTenantToken),t.dnmToken&&(ul[e].dnmToken=t.dnmToken)):ul[e]=t:ll(0,0,(function(){return"Namespace: ".concat(e)}))}function pl(e,t){for(var n=e.length;n>0;){var r=e.substr(0,n);if(ul[r]){var i=ul[r];return t.ariaTenantToken=i.ariaTenantToken,t.dnmToken=i.dnmToken,!0}n=e.lastIndexOf(".",n-1)}return!1}var hl=9007199254740991,fl=-hl,ml=/^Office(\.[A-Z][a-zA-Z0-9]*){2,}$/,gl=/^[a-zA-Z0-9_\.]{1,95}$/;function vl(e){return gl.test(e)}function yl(e){e&&e.forEach((function(e){if("string"!=typeof e.name||!vl(e.name))throw new Error("Invalid dataField name");2===e.dataType&&function(e){if("number"!=typeof e||!isFinite(e)||Math.floor(e)!==e||e<fl||e>hl)throw new Error("Invalid integer ".concat(JSON.stringify(e)))}(e.value)}))}function bl(e,t,n){return Sl(e,1,t,n)}function Cl(e,t,n){return Sl(e,2,t,n)}function Al(e,t,n){return Sl(e,0,t,n)}function Sl(e,t,n,r){return{name:e,dataType:t,value:n,classification:r||4}}function El(e){var t={eventName:e.eventName,eventFlags:e.eventFlags||{},telemetryProperties:e.telemetryProperties?A({},e.telemetryProperties):{},dataFields:e.dataFields?e.dataFields.slice():[],timestamp:e.timestamp||(new Date).getTime()};return e.eventContract&&(t.eventContract={name:e.eventContract.name,dataFields:e.eventContract.dataFields.slice()}),t}var wl,xl,Il,kl,Tl,_l,Pl,Dl=function(){function e(e,t,n){var r,i,o;this.telemetrySinks=[],this.persistentDataFields=[],this.partAFields=[],this.eventQueue=[],this.config=n||{},e&&(this.telemetrySinks=e.telemetrySinks,(r=this.persistentDataFields).push.apply(r,e.persistentDataFields),this.config=A(A({},e.getConfig()),this.config),(i=this.partAFields).push.apply(i,e.partAFields)),t&&(o=this.persistentDataFields).push.apply(o,t)}return e.prototype.addEventContentType=function(e,t){e.push(Cl("EventContent.Type",t))},e.prototype.sendTelemetryEvent=function(e){var t=El(e),n=t.telemetryProperties;n.nexusTenantToken=-1;var r=n.ariaTenantToken;r||pl(t.eventName,n)||r?this.sendTelemetryEventInternal(t,1):ll(0,0,(function(){return"No tenant token: "+e.eventName}))},e.prototype.sendNonStandardEvent=function(e,t){var n=El(e);this.sendTelemetryEventInternal(n,t)},e.prototype.sendCustomerContent=function(e){var t=El(e),n=t.telemetryProperties,r=n.customerContentVersion;return(!r||r>2)&&(n.customerContentVersion=2),n.ariaTenantToken=void 0,n.nexusTenantToken=void 0,n.dnmToken=void 0,this.addEventContentType(t.dataFields,2),this.sendTelemetryEventInternal(t,2)},e.prototype.sendDirectNumericEvent=function(e){var t=El(e),n=t.telemetryProperties;n.dnmToken||pl(t.eventName,n)||n.dnmToken?(this.addEventContentType(t.dataFields,1),this.sendTelemetryEventInternal(t,3)):ll(0,0,(function(){return"No dnm token: "+t.eventName}))},e.prototype.sendTelemetryEventInternal=function(e,t){if(2===t||!e.telemetryProperties.customerContentVersion&&!e.telemetryProperties.customerContentType){try{if(0===this.telemetrySinks.length)return void(this.config.enableQueue&&this.eventQueue.length<1e3?this.eventQueue.push([e,t]):ll(1,0,(function(){return"No telemetry sinks are attached."})));this.processTelemetryEvent(e,t)}catch(e){return void cl(0,"SendTelemetryEvent",e)}this.telemetrySinks.forEach((function(n){try{3===t||2===t?n.sendNonStandardEvent&&n.sendNonStandardEvent(e,t):n.sendTelemetryEvent(e)}catch(e){}}))}else ll(0,0,(function(){return"Customer content"}))},e.prototype.processTelemetryEvent=function(e,t){var n,r,i;if(e.dataFields&&(null===(i=e.dataFields)||void 0===i||i.unshift(Al("OTelJS.Version","4.22.404")),3!==t&&this.persistentDataFields&&(n=e.dataFields).unshift.apply(n,this.persistentDataFields)),this.partAFields.length>0){var o=e.eventContract||{name:"",dataFields:[]};(r=o.dataFields).push.apply(r,this.partAFields),e.eventContract=o}this.config.disableValidation||function(e){if(!(t=e.eventName)||t.length>98||!ml.test(t))throw new Error("Invalid eventName");var t,n=e.eventContract;if(n){if(n.name&&!vl(n.name))throw new Error("Invalid eventContract");yl(n.dataFields)}yl(e.dataFields)}(e)},e.prototype.addSink=function(e){this.telemetrySinks.push(e),this.flushQueue()},e.prototype.flushQueue=function(){var e=this.eventQueue;if(this.eventQueue=[],this.telemetrySinks.length>0)for(var t=0,n=e;t<n.length;t++){var r=n[t],i=r[0],o=r[1];this.sendTelemetryEventInternal(i,o)}},e.prototype.setTenantToken=function(e,t,n){dl(e,{ariaTenantToken:t,nexusTenantToken:n})},e.prototype.setDNMToken=function(e,t){dl(e,{dnmToken:t})},e.prototype.cloneEvent=function(e){return El(e)},e.prototype.getConfig=function(){return this.config},e}();!function(e){e.getFields=function(e,t){var n=[];return n.push(Cl("".concat(e,".Code"),t.code)),void 0!==t.type&&n.push(Al("".concat(e,".Type"),t.type)),void 0!==t.tag&&n.push(Cl("".concat(e,".Tag"),t.tag)),void 0!==t.isExpected&&n.push(bl("".concat(e,".IsExpected"),t.isExpected)),n.push(Al("zC.Activity.Result","Office.System.Result")),n}}(wl||(wl={})),function(e){e.contractName="Office.System.Activity",e.getFields=function(t){var n="Activity",r=[];return void 0!==t.cV&&r.push(Al("".concat(n,".CV"),t.cV)),r.push(Cl("".concat(n,".Duration"),t.duration)),r.push(Cl("".concat(n,".Count"),t.count)),r.push(Cl("".concat(n,".AggMode"),t.aggMode)),void 0!==t.success&&r.push(bl("".concat(n,".Success"),t.success)),void 0!==t.result&&r.push.apply(r,wl.getFields("".concat(n,".Result"),t.result)),r.push(Al("zC.Activity",e.contractName)),r}}(xl||(xl={})),function(e){e.getFields=function(e,t){var n=[];return void 0!==t.id&&n.push(Al("".concat(e,".Id"),t.id)),void 0!==t.version&&n.push(Al("".concat(e,".Version"),t.version)),void 0!==t.sessionId&&n.push(Al("".concat(e,".SessionId"),t.sessionId)),n}}(Il||(Il={})),function(e){e.getFields=function(e,t){var n=[];return void 0!==t.alias&&n.push(Al("".concat(e,".Alias"),t.alias)),void 0!==t.primaryIdentityHash&&n.push(Al("".concat(e,".PrimaryIdentityHash"),t.primaryIdentityHash)),void 0!==t.primaryIdentitySpace&&n.push(Al("".concat(e,".PrimaryIdentitySpace"),t.primaryIdentitySpace)),void 0!==t.tenantId&&n.push(Al("".concat(e,".TenantId"),t.tenantId)),void 0!==t.tenantGroup&&n.push(Al("".concat(e,".TenantGroup"),t.tenantGroup)),void 0!==t.isAnonymous&&n.push(bl("".concat(e,".IsAnonymous"),t.isAnonymous)),n}}(kl||(kl={})),function(e){e.getFields=function(e,t){var n=[];return void 0!==t.name&&n.push(Al("".concat(e,".Name"),t.name)),void 0!==t.state&&n.push(Al("".concat(e,".State"),t.state)),n}}(Tl||(Tl={})),function(e){e.getFields=function(e,t){var n=[];return void 0!==t.id&&n.push(Cl("".concat(e,".Id"),t.id)),void 0!==t.name&&n.push(Al("".concat(e,".Name"),t.name)),void 0!==t.commandSurface&&n.push(Al("".concat(e,".CommandSurface"),t.commandSurface)),void 0!==t.parentName&&n.push(Al("".concat(e,".ParentName"),t.parentName)),void 0!==t.triggerMethod&&n.push(Al("".concat(e,".TriggerMethod"),t.triggerMethod)),void 0!==t.timeOffsetMs&&n.push(Cl("".concat(e,".TimeOffsetMs"),t.timeOffsetMs)),n}}(_l||(_l={})),function(e){e.getFields=function(e,t){var n=[];return n.push(Al("".concat(e,".ErrorGroup"),t.errorGroup)),n.push(Cl("".concat(e,".Tag"),t.tag)),void 0!==t.code&&n.push(Cl("".concat(e,".Code"),t.code)),void 0!==t.id&&n.push(Cl("".concat(e,".Id"),t.id)),void 0!==t.count&&n.push(Cl("".concat(e,".Count"),t.count)),n}}(Pl||(Pl={}));var Bl,Rl=xl,Ml=wl,Ll=Pl,Ol=Tl,Fl=Il,Nl=_l,Hl=kl;function zl(e,t){return e?e+"."+t:t}function Vl(e,t,n,r,i){void 0===i&&(i=4),r&&e.push(Al("".concat(zl(t,n)),r,i))}function Ul(e,t,n,r){"boolean"==typeof r&&e.push(bl("".concat(zl(t,n)),r))}function jl(e,t,n,r){"number"==typeof r&&e.push(Cl("".concat(zl(t,n)),r))}!function(e){var t,n;t=e.Office||(e.Office={}),(n=t.System||(t.System={})).Activity=Rl,n.Result=Ml,n.Error=Ll,n.Funnel=Ol,n.Host=Fl,n.User=Hl,n.UserAction=Nl}(Bl||(Bl={}));var Wl,$l={contractName:"Office.System.Activity",getFields:function(e){var t="Activity",n=[];return Vl(n,t,"CV",e.cV),jl(n,t,"Duration",e.duration),jl(n,t,"Count",e.count),jl(n,t,"AggMode",e.aggMode),Ul(n,t,"Success",e.success),e.result&&n.push.apply(n,function(e){var t="Activity.Result",n=[];return jl(n,t,"Code",e.code),Vl(n,t,"Type",e.type),jl(n,t,"Tag",e.tag),Ul(n,t,"IsExpected",e.isExpected),n.push(Al("zC.Activity.Result","Office.System.Result")),n}(e.result)),n.push(Al("zC.Activity",this.contractName)),n}},ql=function(e){var t="User",n=[];return Vl(n,t,"PrimaryIdentityHash",e.primaryIdentityHash),Vl(n,t,"PrimaryIdentitySpace",e.primaryIdentitySpace),Vl(n,t,"TenantId",e.tenantId,1),Vl(n,t,"TenantGroup",e.tenantGroup,1),Ul(n,t,"IsAnonymous",e.isAnonymous),Ul(n,t,"IsSignedIn",e.isSignedIn),n};!function(e){e.Web="Web",e.Desktop="Desktop",e.Universal="Universal",e.Mobile="Mobile",e.Win32="Win32",e.Mac="Mac",e.iOS="iOS",e.Android="Android"}(Wl||(Wl={}));var Gl,Kl=function(e){var t="App",n=[];return Vl(n,t,"Name",e.name,1),Vl(n,t,"Platform",e.platform,1),Vl(n,t,"Version",e.version,1),n},Yl=function(e){var t="Session",n=[];return Vl(n,t,"Id",e.id,1),Vl(n,t,"EcsETag",e.ecsETag,1),n};!function(e){e.Automation="Automation",e.Dogfood="Dogfood",e.Microsoft="Microsoft",e.Insiders="Insiders",e.Production="Production"}(Gl||(Gl={}));var Xl,Zl;!function(e){var t,n,r,i,o="Copilot";(i=e.FeatureActionType||(e.FeatureActionType={})).IsEnabled="IsEnabled",i.IsSeen="IsSeen",i.IsTried="IsTried",i.IsKept="IsKept",i.IsRejected="IsRejected",(r=e.Capability||(e.Capability={})).ContentGeneration="Content Generation",r.Commanding="Commanding",r.QAandSummaries="QA and Summaries",r.Collaboration="Collaboration",r.Suggestions="Suggestions",(n=e.EntryPoint||(e.EntryPoint={})).Chat="Chat",n.Canvas="Canvas",n.SuggestionsPane="Suggestions Pane",n.Backstage="Backstage",(t=e.Verb||(e.Verb={})).Create="Create",t.Command="Command",t.Ask="Ask",t.Summarize="Summarize",t.Share="Share",t.Analyze="Analyze",e.getFields=function(e){var t=[];return Vl(t,o,"FeatureActionType",e.featureActionType),Ul(t,o,"IsUserInitiated",e.isUserInitiated),Vl(t,o,"FeatureName",e.featureName),Vl(t,o,"SubFeatureName",e.subFeatureName),Vl(t,o,"Capability",e.capability),Ul(t,o,"IsThumbsUp",e.isThumbsUp),Vl(t,o,"EntryPoint",e.entryPoint),Vl(t,o,"Verb",e.verb),Vl(t,o,"InteractionId",e.interactionId),Vl(t,o,"ConversationId",e.conversationId),t.push(Al("zC.".concat(o),"Office.System.Copilot")),t}}(Xl||(Xl={})),function(e){var t,n="Asha";(t=e.EventType||(e.EventType={})).Pillar="Pillar",t.Error="Error",e.getFields=function(e){var t=[];return Vl(t,n,"EventType",e.eventType),Vl(t,n,"Pillar",e.pillar),Vl(t,n,"Scenario",e.scenario),Vl(t,n,"Veto",e.veto),Vl(t,n,"Error",e.error),Ul(t,n,"InStaging",e.inStaging),Ul(t,n,"IsSessionEndingError",e.isSessionEndingError),Ul(t,n,"IsIntentional",e.isIntentional),Ul(t,n,"IsInternal",e.isInternal),t.push(Al("zC.".concat(n),"Office.System.Asha")),t}}(Zl||(Zl={}));var Jl,Ql=function(){return(Ql="object"==typeof self&&"object"==typeof self.performance&&"function"==typeof self.performance.now?function(){return self.performance.now()}:function(){return Date.now()})()},ec=function(e){var t,n=Ql(),r=El(e.telemetryEvent);return A(A({cv:e.parentCv.getNext()},r),{createChildActivity:function(t){return ec({telemetryEvent:t,sendTelemetryEvent:e.sendTelemetryEvent,parentCv:this.cv})},setResult:function(e,t,n){this.result={code:e,type:t,tag:n}},endNow:function(){var r,i,o=this;if(!t){void 0===this.success&&void 0===this.result&&ll(1,0,(function(){return"Activity does not have success or result set"}));var a=Ql(),s=Math.floor(1e3*(a-n));t=!0;var l={duration:s,count:1,aggMode:0,cV:this.cv.value,success:this.success,result:this.result},c=null!==(i=null===(r=this.eventContract)||void 0===r?void 0:r.dataFields)&&void 0!==i?i:[];return c.push.apply(c,$l.getFields(l)),this.eventContract={name:$l.contractName,dataFields:c},e.sendTelemetryEvent(this)}ll(0,0,(function(){return"'".concat(o.eventName,"' already ended")}))}})},tc=function(){function e(e){this.value=e,this.nextChild=0}return e.prototype.getNext=function(){return new e("".concat(this.value,".").concat(++this.nextChild))},e}(),nc=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.baseCv=function(){if(!Jl){for(var e=[],t=0;t<22;t++)e.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(Math.floor(64*Math.random())));Jl=new tc(e.join(""))}return Jl}(),i}return C(t,e),t.prototype.createActivity=function(e){return ec({sendTelemetryEvent:this.sendTelemetryEvent.bind(this),telemetryEvent:e,parentCv:this.baseCv})},t.prototype.sendActivity=function(e,t,n,r){return this.sendTelemetryEvent({eventName:e,eventContract:{name:$l.contractName,dataFields:$l.getFields(t)},dataFields:n,eventFlags:r})},t.prototype.sendError=function(e){var t=function(e){var t="Error",n=[];return n.push(Al("".concat(t,".ErrorGroup"),e.errorGroup)),n.push(Cl("".concat(t,".Tag"),e.tag)),void 0!==e.code&&n.push(Cl("".concat(t,".Code"),e.code)),void 0!==e.id&&n.push(Cl("".concat(t,".Id"),e.id)),void 0!==e.count&&n.push(Cl("".concat(t,".Count"),e.count)),n}(e.error);return null!=e.dataFields&&t.push.apply(t,e.dataFields),this.sendTelemetryEvent({eventName:e.eventName,dataFields:t,eventFlags:e.eventFlags})},t.prototype.createCustomerContentActivity=function(e){return ec({sendTelemetryEvent:this.sendCustomerContent.bind(this),telemetryEvent:e,parentCv:this.baseCv})},t}(Dl),rc="function",ic="object",oc="undefined",ac="prototype",sc="hasOwnProperty",lc=Object,cc=lc[ac],uc=lc.assign,dc=lc.create,pc=lc.defineProperty,hc=cc[sc],fc=null;function mc(e){void 0===e&&(e=!0);var t=!1===e?null:fc;return t||(typeof globalThis!==oc&&(t=globalThis),t||typeof self===oc||(t=self),t||typeof window===oc||(t=window),t||typeof i.g===oc||(t=i.g),fc=t),t}function gc(e){throw new TypeError(e)}function vc(e){if(dc)return dc(e);if(null==e)return{};var t=typeof e;function n(){}return t!==ic&&t!==rc&&gc("Object prototype may only be an Object:"+e),n[ac]=e,new n}var yc="initialize",bc="name",Cc="getNotifyMgr",Ac="identifier",Sc="push",Ec="isInitialized",wc="config",xc="instrumentationKey",Ic="logger",kc="length",Tc="time",_c="processNext",Pc="getProcessTelContext",Dc="addNotificationListener",Bc="removeNotificationListener",Rc="stopPollingInternalLogs",Mc="onComplete",Lc="getPlugin",Oc="flush",Fc="_extensions",Nc="splice",Hc="teardown",zc="messageId",Vc="message",Uc="isAsync",jc="_doTeardown",Wc="update",$c="getNext",qc="diagLog",Gc="setNextPlugin",Kc="createNew",Yc="cookieCfg",Xc="indexOf",Zc="substring",Jc="userAgent",Qc="split",eu="setEnabled",tu="substr",nu="nodeType",ru="apply",iu="replace",ou="enableDebugExceptions",au="call",su="type",lu="handler",cu="listeners",uu="isChildEvt",du="getCtx",pu="setCtx",hu="complete",fu="traceId",mu="spanId",gu="traceFlags",vu="",yu="channels",bu="core",Cu="createPerfMgr",Au="disabled",Su="extensionConfig",Eu="processTelemetry",wu="priority",xu="eventsSent",Iu="eventsDiscarded",ku="eventsSendRequest",Tu="perfEvent",_u="errorToConsole",Pu="warnToConsole",Du="getPerfMgr",Bu="toISOString",Ru="endsWith",Mu="startsWith",Lu="indexOf",Ou="trim",Fu="toString",Nu="constructor",Hu=pc,zu=lc.freeze,Vu=(lc.seal,lc.keys),Uu=String[ac],ju=Uu[Ou],Wu=Uu[Ru],$u=Uu[Mu],qu=Date[ac][Bu],Gu=Array.isArray,Ku=cc[Fu],Yu=hc[Fu],Xu=Yu[au](lc),Zu=/-([a-z])/g,Ju=/([^\w\d_$])/g,Qu=/^(\d+[\w\d_$])/,ed=Object.getPrototypeOf;function td(e){return void 0===e||typeof e===oc}function nd(e){return null===e||td(e)}function rd(e){return!nd(e)}function id(e,t){return!(!e||!hc[au](e,t))}function od(e){return!(!e||typeof e!==ic)}function ad(e){return!(!e||typeof e!==rc)}function sd(e){var t=e;return t&&pd(t)&&(t=(t=(t=t[iu](Zu,(function(e,t){return t.toUpperCase()})))[iu](Ju,"_"))[iu](Qu,(function(e,t){return"_"+t}))),t}function ld(e,t){if(e)for(var n in e)hc[au](e,n)&&t[au](e,n,e[n])}function cd(e,t){var n=!1;return e&&t&&!(n=e===t)&&(n=$u?e[Mu](t):function(e,t){var n=!1,r=t?t[kc]:0;if(e&&r&&e[kc]>=r&&!(n=e===t)){for(var i=0;i<r;i++)if(e[i]!==t[i])return!1;n=!0}return n}(e,t)),n}function ud(e,t){return!(!e||!t)&&-1!==e[Xc](t)}var dd=Gu||function(e){return!(!e||"[object Array]"!==Ku[au](e))};function pd(e){return"string"==typeof e}function hd(e){return"number"==typeof e}function fd(e){return"boolean"==typeof e}function md(e){var t=!1;if(e&&"object"==typeof e){var n=ed?ed(e):function(e){if(e){if(ed)return ed(e);var t=e.__proto__||e[ac]||e[Nu];if(t)return t}return null}(e);n?(n[Nu]&&hc[au](n,Nu)&&(n=n[Nu]),t=typeof n===rc&&Yu[au](n)===Xu):t=!0}return t}function gd(e){if(e)return qu?e[Bu]():function(e){if(e&&e.getUTCFullYear){var t=function(e){var t=String(e);return 1===t[kc]&&(t="0"+t),t};return e.getUTCFullYear()+"-"+t(e.getUTCMonth()+1)+"-"+t(e.getUTCDate())+"T"+t(e.getUTCHours())+":"+t(e.getUTCMinutes())+":"+t(e.getUTCSeconds())+"."+String((e.getUTCMilliseconds()/1e3).toFixed(3)).slice(2,5)+"Z"}}(e)}function vd(e,t,n){var r=e[kc];try{for(var i=0;i<r&&(!(i in e)||-1!==t[au](n||e,e[i],i,e));i++);}catch(e){}}function yd(e,t,n){if(e){if(e[Lu])return e[Lu](t,n);var r=e[kc],i=n||0;try{for(var o=Math.max(i>=0?i:r-Math.abs(i),0);o<r;o++)if(o in e&&e[o]===t)return o}catch(e){}}return-1}function bd(e){return e&&(e=ju&&e[Ou]?e[Ou]():e[iu]?e[iu](/^\s+|(?=\s)\s+$/g,vu):e),e}var Cd=!{toString:null}.propertyIsEnumerable("toString"),Ad=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"];function Sd(e){var t=typeof e;if(t===rc||t===ic&&null!==e||gc("objKeys called on non-object"),!Cd&&Vu)return Vu(e);var n=[];for(var r in e)e&&hc[au](e,r)&&n[Sc](r);if(Cd)for(var i=Ad[kc],o=0;o<i;o++)e&&hc[au](e,Ad[o])&&n[Sc](Ad[o]);return n}function Ed(e,t,n,r){if(Hu)try{var i={enumerable:!0,configurable:!0};return n&&(i.get=n),r&&(i.set=r),Hu(e,t,i),!0}catch(e){}return!1}var wd=zu||function(e){return e};function xd(){var e=Date;return e.now?e.now():(new e).getTime()}function Id(e){return(t=e)&&"[object Error]"===Ku[au](t)?e[bc]:vu;var t}function kd(e,t,n,r,i){var o=n;return e&&((o=e[t])===n||i&&!i(o)||r&&!r(n)||(o=n,e[t]=o)),o}function Td(e,t,n){var r;return e?!(r=e[t])&&nd(r)&&(r=td(n)?{}:n,e[t]=r):r=td(n)?{}:n,r}function _d(e,t){return nd(e)?t:e}function Pd(e){return!!e}function Dd(e){throw new Error(e)}function Bd(e,t,n,r,i){e&&t&&n&&(!1!==i||td(e[t]))&&(e[t]=function(e,t){var n=null,r=null;return ad(e)?n=e:r=e,function(){var e=arguments;if(n&&(r=n()),r)return r[t][ru](r,e)}}(n,r))}function Rd(e){return e&&uc&&(e=lc(uc({},e))),e}function Md(e,t,n,r,i,o){var a=arguments,s=a[0]||{},l=a[kc],c=!1,u=1;for(l>0&&fd(s)&&(c=s,s=a[u]||{},u++),od(s)||(s={});u<l;u++){var d=a[u],p=dd(d),h=od(d);for(var f in d)if(p&&f in d||h&&hc[au](d,f)){var m=d[f],g=void 0;if(c&&m&&((g=dd(m))||md(m))){var v=s[f];g?dd(v)||(v=[]):md(v)||(v={}),m=Md(c,v,m)}void 0!==m&&(s[f]=m)}}return s}var Ld,Od="Data.",Fd="User.PrimaryIdentityHash",Nd="User.PrimaryIdentitySpace",Hd="User.TenantId",zd="User.IsAnonymous",Vd="User.IsSignedIn",Ud="f998cc5ba4d448d6a1e8e913ff18be94-dd122e0a-fcf8-4dc5-9dbb-6afac5325183-7405";function jd(e,t,n,r){var i=!0;if(t)for(var o=function(t){var o=t.classification,a=t.dataType,s=t.name;if(o&&!(4===o||1===o||2===r&&32===o||3===r&&2048===o))return i=!1,"break";if(3===r&&n&&3!==a&&1!==a&&2!==a&&"OTelJS.Version"!==s&&"OTelJS.Sink"!==s)return ll(0,1,(function(){return"DNM: Invalid field type "+s})),i=!1,"break";var l;l=n?"zC."===s.substr(0,3)?"zC."+Od+s.substr(3):Od+s:s;var c=void 0;switch(a){case 3:c=6;break;case 2:c=4;break;case 4:c=8;break;case 0:return e[l]="string"==typeof t.value?t.value.substr(0,25e3):t.value,"continue";default:return e[l]=t.value,"continue"}var u={value:t.value,propertyType:c};e[l]=u},a=0,s=t;a<s.length&&"break"!==o(s[a]);a++);return i}function Wd(e){ll(0,1,(function(){return"Invalid "+e}))}function $d(e){return pd(e)&&""!==e}function qd(e,t){return Object.values(t).includes(e)}function Gd(e){return qd(e,Wl)}function Kd(e){return qd(e,Gl)}function Yd(e){return["MSACID","MSAPUID","OrgIdCID","OrgIdPUID","UserObjectId","Other"].includes(e)}function Xd(e){return!e||"Other"===e}function Zd(e,t){var n=!0;function r(t,r){r(e[t])||(Wd(t),n=!1)}function i(e){return new RegExp("^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$",t?"":"i").test(e)}return r("App.Name",$d),r("App.Platform",t?Gd:$d),r("App.Version",$d),r("Session.Id",i),t?(r("Release.AudienceGroup",Kd),r(Vd,fd),e[Vd]?(r(Fd,$d),r(Nd,Yd),["OrgIdCID","OrgIdPUID","UserObjectId"].includes(e[Nd])?r(Hd,i):r(Hd,nd)):(r(Nd,Xd),r(Hd,nd))):e[zd]||!1===e[Vd]||(r(Fd,$d),r(Nd,$d),e[Hd]&&r(Hd,i)),nd(e[zd])||e[Vd]!==e[zd]||(Wd(zd),n=!1),n}var Jd,Qd="undefined",ep="constructor",tp="prototype",np="function",rp="_dynInstFuncs",ip="_isDynProxy",op="_dynClass",ap="_dynInstChk",sp=ap,lp="_dfOpts",cp="_unknown_",up="__proto__",dp="_dyn"+up,pp="__dynProto$Gbl",hp="_dynInstProto",fp="useBaseInst",mp="setInstFuncs",gp=Object,vp=gp.getPrototypeOf,yp=gp.getOwnPropertyNames,bp=(typeof globalThis!==Qd&&(Jd=globalThis),Jd||typeof self===Qd||(Jd=self),Jd||typeof window===Qd||(Jd=window),Jd||typeof i.g===Qd||(Jd=i.g),Jd||{}),Cp=bp[pp]||(bp[pp]={o:(Ld={},Ld[mp]=!0,Ld[fp]=!0,Ld),n:1e3});function Ap(e,t){return e&&gp[tp].hasOwnProperty.call(e,t)}function Sp(e){return e&&(e===gp[tp]||e===Array[tp])}function Ep(e){return Sp(e)||e===Function[tp]}function wp(e){var t;if(e){if(vp)return vp(e);var n=e[up]||e[tp]||(e[ep]?e[ep][tp]:null);t=e[dp]||n,Ap(e,dp)||(delete e[hp],t=e[dp]=e[hp]||e[dp],e[hp]=n)}return t}function xp(e,t){var n=[];if(yp)n=yp(e);else for(var r in e)"string"==typeof r&&Ap(e,r)&&n.push(r);if(n&&n.length>0)for(var i=0;i<n.length;i++)t(n[i])}function Ip(e,t,n){return t!==ep&&typeof e[t]===np&&(n||Ap(e,t))&&t!==up&&t!==tp}function kp(e){throw new TypeError("DynamicProto: "+e)}function Tp(){return Object.create?(e=Object.create)?e(null):{}:{};var e}function _p(e,t){for(var n=e.length-1;n>=0;n--)if(e[n]===t)return!0;return!1}function Pp(e,t,n,r,i){if(!Sp(e)){var o=n[rp]=n[rp]||Tp();if(!Sp(o)){var a=o[t]=o[t]||Tp();!1!==o[sp]&&(o[sp]=!!i),Sp(a)||xp(n,(function(t){Ip(n,t,!1)&&n[t]!==r[t]&&(a[t]=n[t],delete n[t],(!Ap(e,t)||e[t]&&!e[t][ip])&&(e[t]=function(e,t){var n=function(){var r=function(e,t,n,r){var i=null;if(e&&Ap(n,op)){var o=e[rp]||Tp();if((i=(o[n[op]]||Tp())[t])||kp("Missing ["+t+"] "+np),!i[ap]&&!1!==o[sp]){for(var a=!Ap(e,t),s=wp(e),l=[];a&&s&&!Ep(s)&&!_p(l,s);){var c=s[t];if(c){a=c===r;break}l.push(s),s=wp(s)}try{a&&(e[t]=i),i[ap]=1}catch(e){o[sp]=!1}}}return i}(this,t,e,n)||function(e,t,n){var r=t[e];return r===n&&(r=wp(t)[e]),typeof r!==np&&kp("["+e+"] is not a "+np),r}(t,e,n);return r.apply(this,arguments)};return n[ip]=1,n}(e,t)))}))}}}function Dp(e,t){return Ap(e,tp)?e.name||t||cp:((e||{})[ep]||{}).name||t||cp}function Bp(e,t,n,r){Ap(e,tp)||kp("theClass is an invalid class definition.");var i=e[tp];(function(e,t){if(vp){for(var n=[],r=wp(t);r&&!Ep(r)&&!_p(n,r);){if(r===e)return!0;n.push(r),r=wp(r)}return!1}return!0})(i,t)||kp("["+Dp(e)+"] not in hierarchy of ["+Dp(t)+"]");var o=null;Ap(i,op)?o=i[op]:(o="_dynCls$"+Dp(e,"_")+"$"+Cp.n,Cp.n++,i[op]=o);var a=Bp[lp],s=!!a[fp];s&&r&&void 0!==r[fp]&&(s=!!r[fp]);var l=function(e){var t=Tp();return xp(e,(function(n){!t[n]&&Ip(e,n,!1)&&(t[n]=e[n])})),t}(t),c=function(e,t,n,r){function i(e,t,n){var i=t[n];if(i[ip]&&r){var o=e[rp]||{};!1!==o[sp]&&(i=(o[t[op]]||{})[n]||i)}return function(){return i.apply(e,arguments)}}var o=Tp();xp(n,(function(e){o[e]=i(t,n,e)}));for(var a=wp(e),s=[];a&&!Ep(a)&&!_p(s,a);)xp(a,(function(e){!o[e]&&Ip(a,e,!vp)&&(o[e]=i(t,a,e))})),s.push(a),a=wp(a);return o}(i,t,l,s);n(t,c);var u=!!vp&&!!a[mp];u&&r&&(u=!!r[mp]),Pp(i,o,t,l,!1!==u)}Bp[lp]=Cp.o;var Rp="window",Mp="JSON",Lp="XMLHttpRequest",Op=null,Fp=null,Np=null,Hp=null;function zp(e,t){var n=!1;if(e){try{if(!(n=t in e)){var r=e[ac];r&&(n=t in r)}}catch(e){}if(!n)try{n=!td((new e)[t])}catch(e){}}return n}function Vp(e){var t=mc();return t&&t[e]?t[e]:e===Rp&&Up()?window:null}function Up(){return Boolean(typeof window===ic&&window)}function jp(){return Up()?window:Vp(Rp)}function Wp(){return Boolean(typeof document===ic&&document)?document:Vp("document")}function $p(){return Boolean(typeof navigator===ic&&navigator)}function qp(){return $p()?navigator:Vp("navigator")}function Gp(e){return typeof location===ic&&location?location:Vp("location")}function Kp(){return Boolean(typeof JSON===ic&&JSON||null!==Vp(Mp))}function Yp(){return Kp()?JSON||Vp(Mp):null}function Xp(){var e=qp();return!(!e||!e.product)&&"ReactNative"===e.product}function Zp(){var e=qp();if(e&&(e[Jc]!==Fp||null===Op)){var t=((Fp=e[Jc])||vu).toLowerCase();Op=ud(t,"msie")||ud(t,"trident/")}return Op}function Jp(e){var t=Object[ac].toString[au](e),n=vu;return"[object Error]"===t?n="{ stack: '"+e.stack+"', message: '"+e.message+"', name: '"+e[bc]+"'":Kp()&&(n=Yp().stringify(e)),t+n}function Qp(){return null===Hp&&(Hp=$p()&&Boolean(qp().sendBeacon)),Hp}function eh(e){var t=!1;try{t=!!Vp("fetch");var n=Vp("Request");t&&e&&n&&(t=zp(n,"keepalive"))}catch(e){}return t}function th(){var e=!1;try{e=!!Vp(Lp)}catch(e){}return e}var nh,rh=["eventsSent","eventsDiscarded","eventsSendRequest","perfEvent"],ih=null;function oh(e,t){return function(){var n=arguments,r=ah(t);if(r){var i=r.listener;i&&i[e]&&i[e][ru](i,n)}}}function ah(e){var t,n=ih;return n||!0===e.disableDbgExt||(n=ih||((t=Vp("Microsoft"))&&(ih=t.ApplicationInsights),ih)),n?n.ChromeDbgExt:null}function sh(e){if(!nh){nh={};for(var t=0;t<rh[kc];t++)nh[rh[t]]=oh(rh[t],e)}return nh}function lh(e){return e?'"'+e[iu](/\"/g,vu)+'"':vu}function ch(e,t){var n=typeof console!==oc?console:Vp("console");if(n){var r="log";n[e]&&(r=e),ad(n[r])&&n[r](t)}}var uh=function(){function e(e,t,n,r){void 0===n&&(n=!1);var i=this;i[zc]=e,i[Vc]=(n?"AI: ":"AI (Internal): ")+e;var o=vu;Kp()&&(o=Yp().stringify(r));var a=(t?" message:"+lh(t):vu)+(r?" props:"+lh(o):vu);i[Vc]+=a}return e.dataType="MessageData",e}(),dh=function(){function e(t){this.identifier="DiagnosticLogger",this.queue=[];var n,r,i,o,a=0,s={};Bp(e,this,(function(e){function l(t,n){if(!(a>=i)){var o=!0,l="AITR_"+n[zc];if(s[l]?o=!1:s[l]=!0,o&&(t<=r&&(e.queue[Sc](n),a++,c(1===t?"error":"warn",n)),a===i)){var u="Internal events throttle limit per PageView reached for this app.",d=new uh(23,u,!1);e.queue[Sc](d),1===t?e[_u](u):e[Pu](u)}}}function c(e,n){var r=ah(t||{});r&&r[qc]&&r[qc](e,n)}!function(e){n=_d(e.loggingLevelConsole,0),r=_d(e.loggingLevelTelemetry,1),i=_d(e.maxMessageLimit,25),o=_d(e.enableDebug,_d(e[ou],!1))}(t||{}),e.consoleLoggingLevel=function(){return n},e.telemetryLoggingLevel=function(){return r},e.maxInternalMessageLimit=function(){return i},e[ou]=function(){return o},e.throwInternal=function(t,r,i,a,u){void 0===u&&(u=!1);var d=new uh(r,i,u,a);if(o)throw Jp(d);var p=1===t?_u:Pu;if(td(d[Vc]))c("throw"+(1===t?"Critical":"Warning"),d);else{if(u){var h=+d[zc];!s[h]&&n>=t&&(e[p](d[Vc]),s[h]=!0)}else n>=t&&e[p](d[Vc]);l(t,d)}},e[Pu]=function(e){ch("warn",e),c("warning",e)},e[_u]=function(e){ch("error",e),c("error",e)},e.resetInternalMessageCount=function(){a=0,s={}},e.logInternalMessage=l}))}return e.__ieDyn=1,e}();function ph(e){return e||new dh}function hh(e,t,n,r,i,o){void 0===o&&(o=!1),ph(e).throwInternal(t,n,r,i,o)}function fh(e,t){ph(e)[Pu](t)}var mh="toGMTString",gh="toUTCString",vh="cookie",yh="expires",bh="enabled",Ch="isCookieUseDisabled",Ah="disableCookiesUsage",Sh="_ckMgr",Eh=null,wh=null,xh=null,Ih=Wp(),kh={},Th={};function _h(e){return!e||e.isEnabled()}function Ph(e,t){return!!(t&&e&&dd(e.ignoreCookies))&&-1!==e.ignoreCookies[Xc](t)}function Dh(e,t){var n,r=function(e){var t=e[Yc]=e[Yc]||{};if(kd(t,"domain",e.cookieDomain,rd,nd),kd(t,"path",e.cookiePath||"/",null,nd),nd(t[bh])){var n=void 0;td(e[Ch])||(n=!e[Ch]),td(e[Ah])||(n=!e[Ah]),t[bh]=n}return t}(e||Th),i=r.path||"/",o=r.domain,a=!1!==r[bh],s=((n={isEnabled:function(){var e=a&&Bh(t),n=Th[Sh];return e&&n&&s!==n&&(e=_h(n)),e}})[eu]=function(e){a=!1!==e},n.set=function(e,t,n,a,l){var c,u=!1;if(_h(s)&&!function(e,t){return!!(t&&e&&dd(e.blockedCookies)&&-1!==e.blockedCookies[Xc](t))||Ph(e,t)}(r,e)){var d={},p=bd(t||vu),h=p[Xc](";");if(-1!==h&&(p=bd(t[Zc](0,h)),d=Rh(t[Zc](h+1))),kd(d,"domain",a||o,Pd,td),!nd(n)){var f=Zp();if(td(d[yh])){var m=xd()+1e3*n;if(m>0){var g=new Date;g.setTime(m),kd(d,yh,Mh(g,f?mh:gh)||Mh(g,f?mh:gh)||vu,Pd)}}f||kd(d,"max-age",vu+n,null,td)}var v=Gp();v&&"https:"===v.protocol&&(kd(d,"secure",null,null,td),null===wh&&(c=(qp()||{})[Jc],wh=!(pd(c)&&(ud(c,"CPU iPhone OS 12")||ud(c,"iPad; CPU OS 12")||ud(c,"Macintosh; Intel Mac OS X 10_14")&&ud(c,"Version/")&&ud(c,"Safari")||ud(c,"Macintosh; Intel Mac OS X 10_14")&&function(e,t){var n=!1;return e&&t&&!(n=e===t)&&(n=Wu?e[Ru](t):function(e,t){var n=!1,r=t?t[kc]:0,i=e?e[kc]:0;if(r&&i&&i>=r&&!(n=e===t)){for(var o=i-1,a=r-1;a>=0;a--){if(e[o]!=t[a])return!1;o--}n=!0}return n}(e,t)),n}(c,"AppleWebKit/605.1.15 (KHTML, like Gecko)")||ud(c,"Chrome/5")||ud(c,"Chrome/6")||ud(c,"UnrealEngine")&&!ud(c,"Chrome")||ud(c,"UCBrowser/12")||ud(c,"UCBrowser/11")))),wh&&kd(d,"SameSite","None",null,td)),kd(d,"path",l||i,null,td),(r.setCookie||Fh)(e,Lh(p,d)),u=!0}return u},n.get=function(e){var t=vu;return _h(s)&&!Ph(r,e)&&(t=(r.getCookie||Oh)(e)),t},n.del=function(e,t){var n=!1;return _h(s)&&(n=s.purge(e,t)),n},n.purge=function(e,n){var i,o=!1;if(Bh(t)){var a=((i={}).path=n||"/",i[yh]="Thu, 01 Jan 1970 00:00:01 GMT",i);Zp()||(a["max-age"]="0"),(r.delCookie||Fh)(e,Lh(vu,a)),o=!0}return o},n);return s[Sh]=s,s}function Bh(e){if(null===Eh){Eh=!1;try{Eh=void 0!==(Ih||{})[vh]}catch(t){hh(e,2,68,"Cannot access document.cookie - "+Id(t),{exception:Jp(t)})}}return Eh}function Rh(e){var t={};return e&&e[kc]&&vd(bd(e)[Qc](";"),(function(e){if(e=bd(e||vu)){var n=e[Xc]("=");-1===n?t[e]=null:t[bd(e[Zc](0,n))]=bd(e[Zc](n+1))}})),t}function Mh(e,t){return ad(e[t])?e[t]():null}function Lh(e,t){var n=e||vu;return ld(t,(function(e,t){n+="; "+e+(nd(t)?vu:"="+t)})),n}function Oh(e){var t=vu;if(Ih){var n=Ih[vh]||vu;xh!==n&&(kh=Rh(n),xh=n),t=bd(kh[e]||vu)}return t}function Fh(e,t){Ih&&(Ih[vh]=e+"="+t)}var Nh=4294967296,Hh=4294967295,zh=!1,Vh=123456789,Uh=987654321;function jh(){try{var e=2147483647&xd();(t=(Math.random()*Nh^e)+e)<0&&(t>>>=0),Vh=123456789+t&Hh,Uh=987654321-t&Hh,zh=!0}catch(e){}var t}function Wh(e){var t=0,n=Vp("crypto")||Vp("msCrypto");return n&&n.getRandomValues&&(t=n.getRandomValues(new Uint32Array(1))[0]&Hh),0===t&&Zp()&&(zh||jh(),t=function(e){var t=((Uh=36969*(65535&Uh)+(Uh>>16)&Hh)<<16)+(65535&(Vh=18e3*(65535&Vh)+(Vh>>16)&Hh))>>>0&Hh;return e||(t>>>=0),t}()&Hh),0===t&&(t=Math.floor(Nh*Math.random()|0)),e||(t>>>=0),t}var $h=pc,qh="2.8.18",Gh="."+function(e){void 0===e&&(e=22);for(var t=Wh()>>>0,n=0,r=vu;r[kc]<e;)n++,r+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(63&t),t>>>=6,5===n&&(t=(Wh()<<2&4294967295|3&t)>>>0,n=0);return r}(6),Kh=0;function Yh(e){return 1===e[nu]||9===e[nu]||!+e[nu]}function Xh(e,t){return void 0===t&&(t=!1),sd(e+Kh+++(t?"."+qh:vu)+Gh)}function Zh(e){var t={id:Xh("_aiData-"+(e||vu)+"."+qh),accept:function(e){return Yh(e)},get:function(e,n,r,i){var o=e[t.id];return o?o[sd(n)]:(i&&((o=function(e,t){var n=t[e.id];if(!n){n={};try{Yh(t)&&(function(e,t,n){if($h)try{return $h(e,t,{value:n,enumerable:!1,configurable:!0}),!0}catch(e){}return!1}(t,e.id,n)||(t[e.id]=n))}catch(e){}}return n}(t,e))[sd(n)]=r),r)},kill:function(e,t){if(e&&e[t])try{delete e[t]}catch(e){}}};return t}var Jh="attachEvent",Qh="addEventListener",ef="detachEvent",tf="removeEventListener",nf="events",rf="visibilitychange",of="pagehide",af="pageshow",sf="unload",lf="beforeunload",cf=Xh("aiEvtPageHide"),uf=Xh("aiEvtPageShow"),df=/\.[\.]+/g,pf=/[\.]+$/,hf=1,ff=Zh("events"),mf=/^([^.]*)(?:\.(.+)|)/;function gf(e){return e&&e[iu]?e[iu](/^[\s\.]+|(?=[\s\.])[\.\s]+$/g,vu):e}function vf(e,t){var n;if(t){var r=vu;dd(t)?(r=vu,vd(t,(function(e){(e=gf(e))&&("."!==e[0]&&(e="."+e),r+=e)}))):r=gf(t),r&&("."!==r[0]&&(r="."+r),e=(e||vu)+r)}var i=mf.exec(e||vu)||[];return(n={})[su]=i[1],n.ns=(i[2]||vu).replace(df,".").replace(pf,vu)[Qc](".").sort().join("."),n}function yf(e,t,n){void 0===n&&(n=!0);var r=ff.get(e,nf,{},n),i=r[t];return i||(i=r[t]=[]),i}function bf(e,t,n,r){e&&t&&t[su]&&(e[tf]?e[tf](t[su],n,r):e[ef]&&e[ef]("on"+t[su],n))}function Cf(e,t,n,r){for(var i=t[kc];i--;){var o=t[i];o&&(n.ns&&n.ns!==o.evtName.ns||r&&!r(o)||(bf(e,o.evtName,o[lu],o.capture),t[Nc](i,1)))}}function Af(e,t){return t?vf("xx",dd(t)?[e].concat(t):[e,t]).ns[Qc]("."):e}function Sf(e,t,n,r,i){var o;void 0===i&&(i=!1);var a=!1;if(e)try{var s=vf(t,r);if(a=function(e,t,n,r){var i=!1;return e&&t&&t[su]&&n&&(e[Qh]?(e[Qh](t[su],n,r),i=!0):e[Jh]&&(e[Jh]("on"+t[su],n),i=!0)),i}(e,s,n,i),a&&ff.accept(e)){var l=((o={guid:hf++,evtName:s})[lu]=n,o.capture=i,o);yf(e,s.type)[Sc](l)}}catch(e){}return a}function Ef(e,t,n,r,i){if(void 0===i&&(i=!1),e)try{var o=vf(t,r),a=!1;!function(e,t,n){if(t[su])Cf(e,yf(e,t[su]),t,n);else{var r=ff.get(e,nf,{});ld(r,(function(r,i){Cf(e,i,t,n)})),0===Sd(r)[kc]&&ff.kill(e,nf)}}(e,o,(function(e){return!((!o.ns||n)&&e[lu]!==n||(a=!0,0))})),a||bf(e,o,n,i)}catch(e){}}function wf(e,t,n,r){var i=!1;return t&&e&&e[kc]>0&&vd(e,(function(e){e&&(n&&-1!==yd(n,e)||(i=function(e,t,n){var r=!1,i=jp();i&&(r=Sf(i,e,t,n),r=Sf(i.body,e,t,n)||r);var o=Wp();return o&&(r=Sf(o,e,t,n)||r),r}(e,t,r)||i))})),i}function xf(e,t,n){e&&dd(e)&&vd(e,(function(e){e&&function(e,t,n){var r=jp();r&&(Ef(r,e,t,n),Ef(r.body,e,t,n));var i=Wp();i&&Ef(i,e,t,n)}(e,t,n)}))}function If(e,t,n){var r=Af(cf,n),i=wf([of],e,t,r);return t&&-1!==yd(t,rf)||(i=wf([rf],(function(t){var n=Wp();e&&n&&"hidden"===n.visibilityState&&e(t)}),t,r)||i),!i&&t&&(i=If(e,null,n)),i}function kf(e,t,n){var r=Af(uf,n),i=wf([af],e,t,r);return!(i=wf([rf],(function(t){var n=Wp();e&&n&&"visible"===n.visibilityState&&e(t)}),t,r)||i)&&t&&(i=kf(e,null,n)),i}function Tf(){var e=function(){for(var e,t=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],n=vu,r=0;r<4;r++)n+=t[15&(e=Wh())]+t[e>>4&15]+t[e>>8&15]+t[e>>12&15]+t[e>>16&15]+t[e>>20&15]+t[e>>24&15]+t[e>>28&15];var i=t[8+(3&Wh())|0];return n[tu](0,8)+n[tu](9,4)+"4"+n[tu](13,3)+i+n[tu](16,3)+n[tu](19,12)}();return e[Zc](0,8)+"-"+e[Zc](8,12)+"-"+e[Zc](12,16)+"-"+e[Zc](16,20)+"-"+e[Zc](20)}var _f=((mc()||{}).Symbol,(mc()||{}).Reflect,function(e,t){return _f=lc.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t[sc](n)&&(e[n]=t[n])},_f(e,t)});function Pf(e,t){function n(){this.constructor=e}typeof t!==rc&&null!==t&&gc("Class extends value "+String(t)+" is not a constructor or null"),_f(e,t),e[ac]=null===t?vc(t):(n[ac]=t[ac],new n)}function Df(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}var Bf="ctx",Rf="ParentContextKey",Mf="ChildrenContextKey",Lf=function(){function e(t,n,r){var i,o=this,a=!1;o.start=xd(),o[bc]=t,o[Uc]=r,o[uu]=function(){return!1},ad(n)&&(a=Ed(o,"payload",(function(){return!i&&ad(n)&&(i=n(),n=null),i}))),o[du]=function(t){return t?t===e[Rf]||t===e[Mf]?o[t]:(o[Bf]||{})[t]:null},o[pu]=function(t,n){t&&(t===e[Rf]?(o[t]||(o[uu]=function(){return!0}),o[t]=n):t===e[Mf]?o[t]=n:(o[Bf]=o[Bf]||{})[t]=n)},o[hu]=function(){var t=0,r=o[du](e[Mf]);if(dd(r))for(var i=0;i<r[kc];i++){var s=r[i];s&&(t+=s[Tc])}o[Tc]=xd()-o.start,o.exTime=o[Tc]-t,o[hu]=function(){},!a&&ad(n)&&(o.payload=n())}}return e.ParentContextKey="parent",e.ChildrenContextKey="childEvts",e}(),Of=function(){function e(t){this.ctx={},Bp(e,this,(function(e){e.create=function(e,t,n){return new Lf(e,t,n)},e.fire=function(e){e&&(e[hu](),t&&ad(t[Tu])&&t[Tu](e))},e[pu]=function(t,n){t&&((e[Bf]=e[Bf]||{})[t]=n)},e[du]=function(t){return(e[Bf]||{})[t]}}))}return e.__ieDyn=1,e}(),Ff="CoreUtils.doPerf";function Nf(e,t,n,r,i){if(e){var o=e;if(o[Du]&&(o=o[Du]()),o){var a=void 0,s=o[du](Ff);try{if(a=o.create(t(),r,i)){if(s&&a[pu]&&(a[pu](Lf[Rf],s),s[du]&&s[pu])){var l=s[du](Lf[Mf]);l||(l=[],s[pu](Lf[Mf],l)),l[Sc](a)}return o[pu](Ff,a),n(a)}}catch(e){a&&a[pu]&&a[pu]("exception",e)}finally{a&&o.fire(a),o[pu](Ff,s)}}}return n()}function Hf(e,t,n){return!(!e||e[kc]!==t||e===n||!e.match(/^[\da-f]*$/i))}var zf=Zh("plugin");function Vf(e){return zf.get(e,"state",{},!0)}function Uf(e,t){for(var n,r=[],i=null,o=e[$c]();o;){var a=o[Lc]();a&&(i&&ad(i[Gc])&&ad(a[Eu])&&i[Gc](a),(ad(a[Ec])?a[Ec]():(n=Vf(a))[Ec])||r[Sc](a),i=a,o=o[$c]())}vd(r,(function(r){var i=e[bu]();r[yc](e.getCfg(),i,t,e[$c]()),n=Vf(r),r[bu]||n[bu]||(n[bu]=i),n[Ec]=!0,delete n[Hc]}))}function jf(e){return e.sort((function(e,t){var n=0;if(t){var r=ad(t[Eu]);ad(e[Eu])?n=r?e[wu]-t[wu]:1:r&&(n=-1)}else n=e?1:-1;return n}))}var Wf="_hasRun",$f="_getTelCtx",qf=0;function Gf(e,t,n,r){var i=null,o=[];null!==r&&(i=r?function(e,t,n){for(;e;){if(e[Lc]()===n)return e;e=e[$c]()}return Zf([n],t[wc]||{},t)}(e,n,r):e);var a={_next:function(){var e=i;if(i=e?e[$c]():null,!e){var t=o;t&&t[kc]>0&&(vd(t,(function(e){try{e.func[au](e.self,e.args)}catch(e){hh(n[Ic],2,73,"Unexpected Exception during onComplete - "+Jp(e))}})),o=[])}return e},ctx:{core:function(){return n},diagLog:function(){return function(e,t){return(e||{})[Ic]||new dh(t)}(n,t)},getCfg:function(){return t},getExtCfg:s,getConfig:function(e,n,r){void 0===r&&(r=!1);var i,o=s(e,null);return o&&!nd(o[n])?i=o[n]:t&&!nd(t[n])&&(i=t[n]),nd(i)?r:i},hasNext:function(){return!!i},getNext:function(){return i},setNext:function(e){i=e},iterate:function(e){for(var t;t=a._next();){var n=t[Lc]();n&&e(n)}},onComplete:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];e&&o[Sc]({func:e,self:td(t)?a.ctx:t,args:n})}}};function s(e,n,r){var i;if(void 0===n&&(n={}),void 0===r&&(r=0),t){var o=t[Su];o&&e&&(i=o[e])}if(i){if(od(n)&&0!==r){var a=Md(!0,n,i);t&&2===r&&ld(n,(function(e){if(nd(a[e])){var n=t[e];nd(n)||(a[e]=n)}})),i=a}}else i=n;return i}return a}function Kf(e,t,n,r){var i=Gf(e,t,n,r),o=i.ctx;return o[_c]=function(e){var t=i._next();return t&&t[Eu](e,o),!t},o[Kc]=function(e,r){return void 0===e&&(e=null),dd(e)&&(e=Zf(e,t,n,r)),Kf(e||o[$c](),t,n,r)},o}function Yf(e,t,n){var r=t[wc]||{},i=Gf(e,r,t,n),o=i.ctx;return o[_c]=function(e){var t=i._next();return t&&t.unload(o,e),!t},o[Kc]=function(e,n){return void 0===e&&(e=null),dd(e)&&(e=Zf(e,r,t,n)),Yf(e||o[$c](),t,n)},o}function Xf(e,t,n){var r=t[wc]||{},i=Gf(e,r,t,n).ctx;return i[_c]=function(e){return i.iterate((function(t){ad(t[Wc])&&t[Wc](i,e)}))},i[Kc]=function(e,n){return void 0===e&&(e=null),dd(e)&&(e=Zf(e,r,t,n)),Xf(e||i[$c](),t,n)},i}function Zf(e,t,n,r){var i=null,o=!r;if(dd(e)&&e[kc]>0){var a=null;vd(e,(function(e){if(o||r!==e||(o=!0),o&&e&&ad(e[Eu])){var s=function(e,t,n){var r,i=null,o=ad(e[Eu]),a=ad(e[Gc]),s={getPlugin:function(){return e},getNext:function(){return i},processTelemetry:function(r,c){l(c=c||function(){var r;return e&&ad(e[$f])&&(r=e[$f]()),r||(r=Kf(s,t,n)),r}(),(function(t){if(!e||!o)return!1;var n=Vf(e);return!n[Hc]&&!n[Au]&&(a&&e[Gc](i),e[Eu](r,t),!0)}),"processTelemetry",(function(){return{item:r}}),!r.sync)||c[_c](r)},unload:function(t,n){l(t,(function(){var r=!1;if(e){var i=Vf(e),o=e[bu]||i[bu];!e||o&&o!==t.core()||i[Hc]||(i[bu]=null,i[Hc]=!0,i[Ec]=!1,e[Hc]&&!0===e[Hc](t,n)&&(r=!0))}return r}),"unload",(function(){}),n[Uc])||t[_c](n)},update:function(t,n){l(t,(function(){var r=!1;if(e){var i=Vf(e),o=e[bu]||i[bu];!e||o&&o!==t.core()||i[Hc]||e[Wc]&&!0===e[Wc](t,n)&&(r=!0)}return r}),"update",(function(){}),!1)||t[_c](n)},_id:r=e?e[Ac]+"-"+e[wu]+"-"+qf++:"Unknown-0-"+qf++,_setNext:function(e){i=e}};function l(t,n,o,a,s){var l=!1,c=e?e[Ac]:"TelemetryPluginChain",u=t[Wf];return u||(u=t[Wf]={}),t.setNext(i),e&&Nf(t[bu](),(function(){return c+":"+o}),(function(){u[r]=!0;try{var e=i?i._id:vu;e&&(u[e]=!1),l=n(t)}catch(e){var a=!i||u[i._id];a&&(l=!0),i&&a||hh(t[qc](),1,73,"Plugin ["+c+"] failed during "+o+" - "+Jp(e)+", run flags: "+Jp(u))}}),a,s),l}return wd(s)}(e,t,n);i||(i=s),a&&a._setNext(s),a=s}}))}return r&&!i?Zf([r],t,n):i}var Jf=500;function Qf(e,t,n){t&&dd(t)&&t[kc]>0&&(vd(t=t.sort((function(e,t){return e[wu]-t[wu]})),(function(e){e[wu]<Jf&&Dd("Channel has invalid priority - "+e[Ac])})),e[Sc]({queue:wd(t),chain:Zf(t,n[wc],n)}))}function em(){var e=[];return{add:function(t){t&&e[Sc](t)},run:function(t,n){vd(e,(function(e){try{e(t,n)}catch(e){hh(t[qc](),2,73,"Unexpected error calling unload handler - "+Jp(e))}})),e=[]}}}var tm="getPlugin",nm=function(){function e(){var t,n,r,i,o,a=this;function s(e){void 0===e&&(e=null);var t=e;if(!t){var i=n||Kf(null,{},a[bu]);t=r&&r[tm]?i[Kc](null,r[tm]):i[Kc](null,r)}return t}function l(e,t,i){e&&kd(e,Su,[],null,nd),!i&&t&&(i=t[Pc]()[$c]());var o=r;r&&r[tm]&&(o=r[tm]()),a[bu]=t,n=Kf(i,e,t,o)}function c(){t=!1,a[bu]=null,n=null,r=null,o=[],i=em()}c(),Bp(e,a,(function(e){e[yc]=function(e,n,r,i){l(e,n,i),t=!0},e[Hc]=function(t,n){var a,s=e[bu];if(s&&(!t||s===t[bu]())){var l,u=!1,d=t||Yf(null,s,r&&r[tm]?r[tm]():r),p=n||((a={reason:0})[Uc]=!1,a);return e[jc]&&!0===e[jc](d,p,h)?l=!0:h(),l}function h(){if(!u){u=!0,i.run(d,n);var e=o;o=[],vd(e,(function(e){e.rm()})),!0===l&&d[_c](p),c()}}},e[Wc]=function(t,n){var i=e[bu];if(i&&(!t||i===t[bu]())){var o,a=!1,s=t||Xf(null,i,r&&r[tm]?r[tm]():r),c=n||{reason:0};return e._doUpdate&&!0===e._doUpdate(s,c,u)?o=!0:u(),o}function u(){a||(a=!0,l(s.getCfg(),s.core(),s[$c]()))}},e._addHook=function(e){e&&(dd(e)?o=o.concat(e):o[Sc](e))},Bd(e,"_addUnloadCb",(function(){return i}),"add")})),a[qc]=function(e){return s(e)[qc]()},a[Ec]=function(){return t},a.setInitialized=function(e){t=e},a[Gc]=function(e){r=e},a[_c]=function(e,t){t?t[_c](e):r&&ad(r[Eu])&&r[Eu](e,null)},a._getTelCtx=s}return e.__ieDyn=1,e}(),rm=function(e){function t(){var n,r,i=e.call(this)||this;function o(){n=0,r=[]}return i.identifier="TelemetryInitializerPlugin",i.priority=199,o(),Bp(t,i,(function(e,t){e.addTelemetryInitializer=function(e){var t={id:n++,fn:e};return r[Sc](t),{remove:function(){vd(r,(function(e,n){if(e.id===t.id)return r[Nc](n,1),-1}))}}},e[Eu]=function(t,n){for(var i=!1,o=r[kc],a=0;a<o;++a){var s=r[a];if(s)try{if(!1===s.fn[ru](null,[t])){i=!0;break}}catch(e){hh(n[qc](),1,64,"One of telemetry initializers failed, telemetry item will not be sent: "+Id(e),{exception:Jp(e)},!0)}}i||e[_c](t,n)},e[jc]=function(){o()}})),i}return Pf(t,e),t.__ieDyn=1,t}(nm),im="Plugins must provide initialize method",om="_notificationManager",am="SDK is still unloading...",sm={loggingLevelConsole:1};function lm(e,t){return new Of(t)}function cm(e,t){var n=!1;return vd(t,(function(t){if(t===e)return n=!0,-1})),n}var um=function(){function e(){var t,n,r,i,o,a,s,l,c,u,d,p,h,f,m,g,v,y,b,C,A=0,S=!1;Bp(e,this,(function(e){function E(n){if(!A&&!S&&(n||e[Ic]&&e[Ic].queue[kc]>0)){var r=_d(t.diagnosticLogInterval);r&&r>0||(r=1e4),A=setInterval((function(){clearInterval(A),A=0,P()}),r)}return A}function w(){n=!1,t=Md(!0,{},sm),e[wc]=t,e[Ic]=new dh(t),e[Fc]=[],m=new rm,r=[],i=null,o=null,a=null,s=null,l=null,u=null,c=[],d=null,p=null,h=null,f=!1,g=null,v=Xh("AIBaseCore",!0),y=em(),C=null}function x(){var n=Kf(T(),t,e);return n[Mc](E),n}function I(n){var r=function(e,t,n){var r,i=[],o={};return vd(n,(function(t){(nd(t)||nd(t[yc]))&&Dd(im);var n=t[wu],r=t[Ac];t&&n&&(nd(o[n])?o[n]=r:fh(e,"Two extensions have same priority #"+n+" - "+o[n]+", "+r)),(!n||n<500)&&i[Sc](t)})),(r={all:n})[bu]=i,r}(e[Ic],0,c);u=r[bu],l=null;var i=r.all;if(h=wd(function(e,t,n){var r=[];if(e&&vd(e,(function(e){return Qf(r,e,n)})),t){var i=[];vd(t,(function(e){e[wu]>Jf&&i[Sc](e)})),Qf(r,i,n)}return r}(p,i,e)),d){var o=yd(i,d);-1!==o&&i[Nc](o,1),-1!==(o=yd(u,d))&&u[Nc](o,1),d._setQueue(h)}else d=function(e,t){function n(){return Kf(null,t[wc],t,null)}function r(e,t,n,r){var i=e?e[kc]+1:1;function o(){0==--i&&(r&&r(),r=null)}i>0&&vd(e,(function(e){if(e&&e.queue[kc]>0){var r=e.chain,a=t[Kc](r);a[Mc](o),n(a)}else i--})),o()}var i=!1,o={identifier:"ChannelControllerPlugin",priority:Jf,initialize:function(t,n,r,o){i=!0,vd(e,(function(e){e&&e.queue[kc]>0&&Uf(Kf(e.chain,t,n),r)}))},isInitialized:function(){return i},processTelemetry:function(t,i){r(e,i||n(),(function(e){e[_c](t)}),(function(){i[_c](t)}))},update:function(t,n){var i=n||{reason:0};return r(e,t,(function(e){e[_c](i)}),(function(){t[_c](i)})),!0},pause:function(){r(e,n(),(function(e){e.iterate((function(e){e.pause&&e.pause()}))}),null)},resume:function(){r(e,n(),(function(e){e.iterate((function(e){e.resume&&e.resume()}))}),null)},teardown:function(t,n){var o=n||{reason:0,isAsync:!1};return r(e,t,(function(e){e[_c](o)}),(function(){t[_c](o),i=!1})),!0},getChannel:function(t){var n=null;return e&&e[kc]>0&&vd(e,(function(e){if(e&&e.queue[kc]>0&&(vd(e.queue,(function(e){if(e[Ac]===t)return n=e,-1})),n))return-1})),n},flush:function(t,i,o,a){var s=1,l=!1,c=null;function u(){s--,l&&0===s&&(c&&(clearTimeout(c),c=null),i&&i(l),i=null)}return a=a||5e3,r(e,n(),(function(e){e.iterate((function(e){if(e[Oc]){s++;var n=!1;e[Oc](t,(function(){n=!0,u()}),o)||n||(t&&null==c?c=setTimeout((function(){c=null,u()}),a):u())}}))}),(function(){l=!0,u()})),!0},_setQueue:function(t){e=t}};return o}(h,e);i[Sc](d),u[Sc](d),e[Fc]=jf(i),d[yc](t,e,i),Uf(x(),i),e[Fc]=wd(jf(u||[])).slice(),n&&function(t){var n=Xf(T(),e);n[Mc](E),e._updateHook&&!0===e._updateHook(n,t)||n[_c](t)}(n)}function k(t){var n,r=null,i=null;return vd(e[Fc],(function(e){if(e[Ac]===t&&e!==d&&e!==m)return i=e,-1})),!i&&d&&(i=d.getChannel(t)),i&&((n={plugin:i})[eu]=function(e){Vf(i)[Au]=!e},n.isEnabled=function(){var e=Vf(i);return!e[Hc]&&!e[Au]},n.remove=function(e,t){var n;void 0===e&&(e=!0);var r=[i],o=((n={reason:1})[Uc]=e,n);_(r,o,(function(e){e&&I({reason:32,removed:r}),t&&t(e)}))},r=n),r}function T(){if(!l){var n=(u||[]).slice();-1===yd(n,m)&&n[Sc](m),l=Zf(jf(n),t,e)}return l}function _(n,r,i){if(n&&n[kc]>0){var o=Yf(Zf(n,t,e),e);o[Mc]((function(){var e=!1,t=[];vd(c,(function(r,i){cm(r,n)?e=!0:t[Sc](r)})),c=t;var r=[];p&&(vd(p,(function(t,i){var o=[];vd(t,(function(t){cm(t,n)?e=!0:o[Sc](t)})),r[Sc](o)})),p=r),i&&i(e),E()})),o[_c](r)}else i(!1)}function P(){if(e[Ic]&&e[Ic].queue){var n=e[Ic].queue.slice(0);e[Ic].queue[kc]=0,vd(n,(function(n){var r,i=((r={})[bc]=g||"InternalMessageId: "+n[zc],r.iKey=_d(t[xc]),r.time=gd(new Date),r.baseType=uh.dataType,r.baseData={message:n[Vc]},r);e.track(i)}))}}function D(e,t,n,r){return d?d[Oc](e,t,n||6,r):(t&&t(!1),!0)}function B(t){var n=e[Ic];n?(hh(n,2,73,t),E()):Dd(t)}var R,M,L,O;w(),e[Ec]=function(){return n},e[yc]=function(r,o,s,l){var u,d;f&&Dd(am),e[Ec]()&&Dd("Core should not be initialized more than once"),t=r||{},e[wc]=t,nd(r[xc])&&Dd("Please provide instrumentation key"),i=l,e[om]=l,!0===(d=_d(t.disableDbgExt))&&b&&(i[Bc](b),b=null),i&&!b&&!0!==d&&(b=sh(t),i[Dc](b)),!(u=_d(t.enablePerfMgr))&&a&&(a=null),u&&Td(t,Cu,lm),Td(t,Su,{}).NotificationManager=i,s&&(e[Ic]=s);var m=Td(t,"extensions",[]);(c=[])[Sc].apply(c,Df(Df([],o),m)),p=Td(t,yu,[]),I(null),h&&0!==h[kc]||Dd("No "+yu+" available"),n=!0,e.releaseQueue()},e.getTransmissionControls=function(){var e=[];return h&&vd(h,(function(t){e[Sc](t.queue)})),wd(e)},e.track=function(n){n.iKey=n.iKey||t[xc],n[Tc]=n[Tc]||gd(new Date),n.ver=n.ver||"4.0",!f&&e[Ec]()?x()[_c](n):r[Sc](n)},e[Pc]=x,e[Cc]=function(){return i||(i=function(){var e;return vc(((e={})[Dc]=function(e){},e[Bc]=function(e){},e[xu]=function(e){},e[Iu]=function(e,t){},e[ku]=function(e,t){},e))}(),e[om]=i),i},e[Dc]=function(e){i&&i[Dc](e)},e[Bc]=function(e){i&&i[Bc](e)},e.getCookieMgr=function(){return s||(s=Dh(t,e[Ic])),s},e.setCookieMgr=function(e){s=e},e[Du]=function(){if(!o&&!a&&_d(t.enablePerfMgr)){var n=_d(t[Cu]);ad(n)&&(a=n(e,e[Cc]()))}return o||a||null},e.setPerfMgr=function(e){o=e},e.eventCnt=function(){return r[kc]},e.releaseQueue=function(){if(n&&r[kc]>0){var e=r;r=[],vd(e,(function(e){x()[_c](e)}))}},e.pollInternalLogs=function(e){return g=e||null,S=!1,A&&(clearInterval(A),A=null),E(!0)},e[Rc]=function(){S=!0,A&&(clearInterval(A),A=0,P())},M=function(){return m},L=["addTelemetryInitializer"],(R=e)&&M&&od(R)&&dd(L)&&vd(L,(function(e){pd(e)&&Bd(R,e,M,e,O)})),e.unload=function(t,r,i){var o;void 0===t&&(t=!0),n||Dd("SDK is not initialized"),f&&Dd(am);var a=((o={reason:50})[Uc]=t,o.flushComplete=!1,o),s=Yf(T(),e);function l(t){a.flushComplete=t,f=!0,y.run(s,a),e[Rc](),s[_c](a)}s[Mc]((function(){w(),r&&r(a)}),e),P(),D(t,l,6,i)||l(!1)},e[Lc]=k,e.addPlugin=function(e,t,n,r){if(!e)return r&&r(!1),void B(im);var i=k(e[Ac]);if(i&&!t)return r&&r(!1),void B("Plugin ["+e[Ac]+"] is already loaded!");var o={reason:16};function a(t){c[Sc](e),o.added=[e],I(o),r&&r(!0)}if(i){var s=[i.plugin];_(s,{reason:2,isAsync:!!n},(function(e){e?(o.removed=s,o.reason|=32,a()):r&&r(!1)}))}else a()},e.evtNamespace=function(){return v},e[Oc]=D,e.getTraceCtx=function(e){var t;return C||(t={},C={getName:function(){return t[bc]},setName:function(e){t[bc]=e},getTraceId:function(){return t[fu]},setTraceId:function(e){(function(e){return Hf(e,32,"00000000000000000000000000000000")})(e)&&(t[fu]=e)},getSpanId:function(){return t[mu]},setSpanId:function(e){(function(e){return Hf(e,16,"0000000000000000")})(e)&&(t[mu]=e)},getTraceFlags:function(){return t[gu]},setTraceFlags:function(e){t[gu]=e}}),C},e.setTraceCtx=function(e){C=e||null},Bd(e,"addUnloadCb",(function(){return y}),"add")}))}return e.__ieDyn=1,e}();function dm(e,t,n,r){vd(e,(function(e){if(e&&e[t])if(n)setTimeout((function(){return r(e)}),0);else try{r(e)}catch(e){}}))}var pm,hm=function(){function e(t){this.listeners=[];var n=!!(t||{}).perfEvtsSendAll;Bp(e,this,(function(e){e[Dc]=function(t){e.listeners[Sc](t)},e[Bc]=function(t){for(var n=yd(e[cu],t);n>-1;)e.listeners[Nc](n,1),n=yd(e[cu],t)},e[xu]=function(t){dm(e[cu],xu,!0,(function(e){e[xu](t)}))},e[Iu]=function(t,n){dm(e[cu],Iu,!0,(function(e){e[Iu](t,n)}))},e[ku]=function(t,n){dm(e[cu],ku,n,(function(e){e[ku](t,n)}))},e[Tu]=function(t){t&&(!n&&t[uu]()||dm(e[cu],Tu,!1,(function(e){t[Uc]?setTimeout((function(){return e[Tu](t)}),0):e[Tu](t)})))}}))}return e.__ieDyn=1,e}(),fm=function(e){function t(){var n=e.call(this)||this;return Bp(t,n,(function(e,t){function n(t){var n=e[Cc]();n&&n[Iu]([t],2)}e[yc]=function(e,n,r,i){t[yc](e,n,r||new dh(e),i||new hm(e))},e.track=function(r){Nf(e[Du](),(function(){return"AppInsightsCore:track"}),(function(){null===r&&(n(r),Dd("Invalid telemetry item")),function(e){nd(e[bc])&&(n(e),Dd("telemetry name required"))}(r),t.track(r)}),(function(){return{item:r}}),!r.sync)}})),n}return Pf(t,e),t.__ieDyn=1,t}(um),mm="version",gm="properties",vm="1DS-Web-JS-3.2.18",ym="withCredentials",bm=((pm={})[0]=0,pm[2]=6,pm[1]=1,pm[3]=7,pm[4098]=6,pm[4097]=1,pm[4099]=7,pm);function Cm(e){return!(""===e||nd(e))}function Am(e,t,n){var r=-1;if(!td(e))if(t>0&&(32===t?r=8192:t<=13&&(r=t<<5)),function(e){return e>=0&&e<=9}(n))-1===r&&(r=0),r|=n;else{var i=bm[xm(e)]||-1;-1!==r&&-1!==i?r|=i:6===i&&(r=i)}return r}function Sm(e,t,n,r,i){var o={},a=!1,s=0,l=arguments.length,c=arguments;for("[object Boolean]"===Object[ac].toString.call(c[0])&&(a=c[0],s++);s<l;s++)ld(c[s],(function(e,t){a&&t&&od(t)?dd(t)?(o[e]=o[e]||[],vd(t,(function(t,n){t&&od(t)?o[e][n]=Sm(!0,o[e][n],t):o[e][n]=t}))):o[e]=Sm(!0,o[e],t):o[e]=t}));return o}Boolean(Wp()),Boolean(jp());var Em=function(){var e=Vp("performance");return e&&e.now?e.now():xd()};function wm(e,t){var n=e;n.timings=n.timings||{},n.timings.processTelemetryStart=n.timings.processTelemetryStart||{},n.timings.processTelemetryStart[t]=Em()}function xm(e){var t=0;if(null!=e){var n=typeof e;"string"===n?t=1:"number"===n?t=2:"boolean"===n?t=3:n===ic&&(t=4,dd(e)?(t=4096,e.length>0&&(t|=xm(e[0]))):hc.call(e,"value")&&(t=8192|xm(e.value)))}return t}var Im=function(e){function t(){var n=e.call(this)||this;return n.pluginVersionStringArr=[],Bp(t,n,(function(e,t){e.logger&&e.logger.queue||(e.logger=new dh({loggingLevelConsole:1})),e.initialize=function(n,r,i,o){Nf(e,(function(){return"AppInsightsCore.initialize"}),(function(){var a=e.pluginVersionStringArr;if(n){n.endpointUrl||(n.endpointUrl="https://browser.events.data.microsoft.com/OneCollector/1.0/");var s=n.propertyStorageOverride;!s||s.getProperty&&s.setProperty||Dd("Invalid property storage override passed."),n.channels&&vd(n.channels,(function(e){e&&vd(e,(function(e){if(e.identifier&&e.version){var t=e.identifier+"="+e.version;a.push(t)}}))}))}e.getWParam=function(){return"undefined"!=typeof document||n.enableWParam?0:-1},r&&vd(r,(function(e){if(e&&e.identifier&&e.version){var t=e.identifier+"="+e.version;a.push(t)}})),e.pluginVersionString=a.join(";"),e.pluginVersionStringArr=a;try{t.initialize(n,r,i,o),e.pollInternalLogs("InternalLog")}catch(t){var l=e.logger,c=Jp(t);-1!==c.indexOf("channels")&&(c+="\n - Channels must be provided through config.channels only!"),hh(l,1,514,"SDK Initialization Failed - no telemetry will be sent: "+c)}}),(function(){return{config:n,extensions:r,logger:i,notificationManager:o}}))},e.track=function(n){Nf(e,(function(){return"AppInsightsCore.track"}),(function(){var r=n;if(r){r.timings=r.timings||{},r.timings.trackStart=Em(),function(e){return!!(e&&hd(e)&&e>=1&&e<=4)}(r.latency)||(r.latency=1);var i=r.ext=r.ext||{};i.sdk=i.sdk||{},i.sdk.ver=vm;var o=r.baseData=r.baseData||{};o[gm]=o[gm]||{};var a=o[gm];a[mm]=a[mm]||e.pluginVersionString||""}t.track(r)}),(function(){return{item:n}}),!n.sync)}})),n}return Pf(t,e),t.__ieDyn=1,t}(fm);const km=Im;var Tm,_m,Pm=(_m={},ld({Unknown:0,NonRetryableStatus:1,InvalidEvent:2,SizeLimitExceeded:3,KillSwitch:4,QueueFull:5},(function(e,t){_m[e]=t,_m[t]=e})),Tm=_m,zu&&ld(Tm,(function(e,t){(dd(t)||od(t))&&zu(t)})),wd(Tm)),Dm="REAL_TIME",Bm="",Rm="POST",Mm="drop",Lm="requeue",Om="application/x-json-stream",Fm="cache-control",Nm="content-type",Hm="kill-duration",zm="time-delta-millis",Vm="client-version",Um="client-id",jm="time-delta-to-apply-millis",Wm="upload-time",$m="apikey",qm="AuthMsaDeviceTicket",Gm="AuthXToken",Km="msfpc",Ym="trace",Xm="user";function Zm(e){var t=(e.ext||{}).intweb;return t&&Cm(t[Km])?t[Km]:null}function Jm(e){for(var t=null,n=0;null===t&&n<e.length;n++)t=Zm(e[n]);return t}var Qm=function(){function e(t,n){var r=n?[].concat(n):[],i=this,o=Jm(r);i.iKey=function(){return t},i.Msfpc=function(){return o||Bm},i.count=function(){return r.length},i.events=function(){return r},i.addEvent=function(e){return!!e&&(r.push(e),o||(o=Zm(e)),!0)},i.split=function(n,i){var a;if(n<r.length){var s=r.length-n;nd(i)||(s=i<s?i:s),a=r.splice(n,s),o=Jm(r)}return new e(t,a)}}return e.create=function(t,n){return new e(t,n)},e}();const eg=function(){function e(){var t=!0,n=!0,r=!0,i="use-collector-delta",o=!1;Bp(e,this,(function(e){e.allowRequestSending=function(){return t},e.firstRequestSent=function(){r&&(r=!1,o||(t=!1))},e.shouldAddClockSkewHeaders=function(){return n},e.getClockSkewHeaderValue=function(){return i},e.setClockSkew=function(e){o||(e?(i=e,n=!0,o=!0):n=!1,t=!0)}}))}return e.__ieDyn=1,e}();var tg=function(){function e(){var t={};Bp(e,this,(function(e){e.setKillSwitchTenants=function(e,n){if(e&&n)try{var r=function(e){var t=[];return e&&vd(e,(function(e){t.push(bd(e))})),t}(e.split(","));if("this-request-only"===n)return r;for(var i=1e3*parseInt(n,10),o=0;o<r.length;++o)t[r[o]]=xd()+i}catch(e){return[]}return[]},e.isTenantKilled=function(e){var n=t,r=bd(e);return void 0!==n[r]&&n[r]>xd()||(delete n[r],!1)}}))}return e.__ieDyn=1,e}();const ng=tg;function rg(e){var t,n=Math.floor(1200*Math.random())+2400;return t=Math.pow(2,e)*n,Math.min(t,6e5)}var ig,og=2e6,ag=Math.min(og,65e3),sg="metadata",lg="f",cg=/\./,ug=function(){function e(t,n,r,i){var o="data",a="baseData",s=!!i,l=!0,c=n,u={};Bp(e,this,(function(e){function n(e,t,i,o,a,l,d){ld(e,(function(e,p){var h=null;if(p||Cm(p)){var f=i,m=e,g=a,v=t;if(s&&!o&&cg.test(e)){var y=e.split("."),b=y.length;if(b>1){g&&(g=g.slice());for(var C=0;C<b-1;C++){var A=y[C];v=v[A]=v[A]||{},f+="."+A,g&&g.push(A)}m=y[b-1]}}var S=o&&function(e){var t=u[e];return void 0===t&&(e.length>=7&&(t=cd(e,"ext.metadata")||cd(e,"ext.web")),u[e]=t),t}(f);if(h=!S&&c&&c.handleField(f,m)?c.value(f,m,p,r):function(e,t,n){if(!t&&!Cm(t)||"string"!=typeof e)return null;var r=typeof t;if("string"===r||"number"===r||"boolean"===r||dd(t))t={value:t};else if("object"!==r||hc.call(t,"value")){if(nd(t.value)||""===t.value||!pd(t.value)&&!hd(t.value)&&!fd(t.value)&&!dd(t.value))return null}else t={value:n?JSON.stringify(t):t};if(dd(t.value)&&!function(e){return e.length>0}(t.value))return null;if(!nd(t.kind)){if(dd(t.value)||!function(e){return 0===e||e>0&&e<=13||32===e}(t.kind))return null;t.value=t.value.toString()}return t}(m,p,r)){var E=h.value;if(v[m]=E,l&&l(g,m,h),d&&"object"==typeof E&&!dd(E)){var w=g;w&&(w=w.slice()).push(m),n(p,E,f+"."+m,o,w,l,d)}}}}))}e.createPayload=function(e,t,n,r,i,o){return{apiKeys:[],payloadBlob:Bm,overflow:null,sizeExceed:[],failedEvts:[],batches:[],numEvents:0,retryCnt:e,isTeardown:t,isSync:n,isBeacon:r,sendType:o,sendReason:i}},e.appendPayload=function(n,r,i){var o=n&&r&&!n.overflow;return o&&Nf(t,(function(){return"Serializer:appendPayload"}),(function(){for(var t=r.events(),o=n.payloadBlob,a=n.numEvents,s=!1,l=[],c=[],u=n.isBeacon,d=u?65e3:3984588,p=u?ag:og,h=0,f=0;h<t.length;){var m=t[h];if(m){if(a>=i){n.overflow=r.split(h);break}var g=e.getEventBlob(m);if(g&&g.length<=p){var v=g.length;if(o.length+v>d){n.overflow=r.split(h);break}o&&(o+="\n"),o+=g,++f>20&&(o.substr(0,1),f=0),s=!0,a++}else g?l.push(m):c.push(m),t.splice(h,1),h--}h++}if(l&&l.length>0&&n.sizeExceed.push(Qm.create(r.iKey(),l)),c&&c.length>0&&n.failedEvts.push(Qm.create(r.iKey(),c)),s){n.batches.push(r),n.payloadBlob=o,n.numEvents=a;var y=r.iKey();-1===yd(n.apiKeys,y)&&n.apiKeys.push(y)}}),(function(){return{payload:n,theBatch:{iKey:r.iKey(),evts:r.events()},max:i}})),o},e.getEventBlob=function(e){try{return Nf(t,(function(){return"Serializer.getEventBlob"}),(function(){var t={};t.name=e.name,t.time=e.time,t.ver=e.ver,t.iKey="o:"+function(e){if(e){var t=e.indexOf("-");if(t>-1)return e.substring(0,t)}return""}(e.iKey);var r={},i=e.ext;i&&(t.ext=r,ld(i,(function(e,t){n(t,r[e]={},"ext."+e,!0,null,null,!0)})));var s=t[o]={};s.baseType=e.baseType;var c=s[a]={};return n(e.baseData,c,a,!1,[a],(function(e,t,n){dg(r,e,t,n)}),l),n(e.data,s,o,!1,[],(function(e,t,n){dg(r,e,t,n)}),l),JSON.stringify(t)}),(function(){return{item:e}}))}catch(e){return null}}}))}return e.__ieDyn=1,e}();function dg(e,t,n,r){if(r&&e){var i=Am(r.value,r.kind,r.propertyType);if(i>-1){var o=e[sg];o||(o=e[sg]={f:{}});var a=o[lg];if(a||(a=o[lg]={}),t)for(var s=0;s<t.length;s++){var l=t[s];a[l]||(a[l]={f:{}});var c=a[l][lg];c||(c=a[l][lg]={}),a=c}a=a[n]={},dd(r.value)?a.a={t:i}:a.t=i}}}var pg="sendAttempt",hg="&NoResponseBody=true",fg=((ig={})[1]=Lm,ig[100]=Lm,ig[200]="sent",ig[8004]=Mm,ig[8003]=Mm,ig),mg={},gg={};function vg(e,t,n){mg[e]=t,!1!==n&&(gg[t]=e)}function yg(e){try{return e.responseText}catch(e){}return Bm}function bg(e,t){var n=!1;if(e&&t){var r=Sd(e);if(r&&r.length>0)for(var i=t.toLowerCase(),o=0;o<r.length;o++){var a=r[o];if(a&&id(t,a)&&a.toLowerCase()===i){n=!0;break}}}return n}function Cg(e,t,n,r){t&&n&&n.length>0&&(r&&mg[t]?(e.hdrs[mg[t]]=n,e.useHdrs=!0):e.url+="&"+t+"="+n)}function Ag(e,t){return t&&(hd(t)?e=[t].concat(e):dd(t)&&(e=t.concat(e))),e}vg(qm,qm,!1),vg(Vm,Vm),vg(Um,"Client-Id"),vg($m,$m),vg(jm,jm),vg(Wm,Wm),vg(Gm,Gm);var Sg=function(){function e(t,n,r,i,o){this._responseHandlers=[];var a,s,l,c,u,d,p,h,f,m,g="?cors=true&"+Nm.toLowerCase()+"="+Om,v=new ng,y=!1,b=new eg,C=!1,A=0,S=!0,E=[],w={},x=[],I=null,k=!1,T=!1,_=!1;Bp(e,this,(function(e){var P=!0;function D(e,t){for(var n=0,r=null,i=0;null==r&&i<e.length;)1===(n=e[i])?(null===Np&&(Np=typeof XDomainRequest!==oc)&&th()&&(Np=Np&&!zp(Vp(Lp),"withCredentials")),Np?r=B:th()&&(r=M)):2===n&&eh(t)&&(!t||t&&!h)?r=R:C&&3===n&&Qp()&&(r=O),i++;return r?{_transport:n,_isSync:t,sendPOST:r}:null}function B(e,t,n){var r=new XDomainRequest;r.open(Rm,e.urlString),e.timeout&&(r.timeout=e.timeout),r.onload=function(){var e=yg(r);L(t,200,{},e),G(e)},r.onerror=function(){L(t,400,{})},r.ontimeout=function(){L(t,500,{})},r.onprogress=function(){},n?r.send(e.data):o.set((function(){r.send(e.data)}),0)}function R(e,t,n){var r,i=e.urlString,a=!1,s=!1,l=((r={body:e.data,method:Rm}).Microsoft_ApplicationInsights_BypassAjaxInstrumentation=!0,r);n&&(l.keepalive=!0,2===e._sendReason&&(a=!0,m&&(i+=hg))),P&&(l.credentials="include"),e.headers&&Sd(e.headers).length>0&&(l.headers=e.headers),fetch(i,l).then((function(e){var n={},r=Bm,i=e.headers;i&&i.forEach((function(e,t){n[t]=e})),e.body&&e.text().then((function(e){r=e})),s||(s=!0,L(t,e.status,n,r),G(r))})).catch((function(e){s||(s=!0,L(t,0,{}))})),a&&!s&&(s=!0,L(t,200,{})),!s&&e.timeout>0&&o.set((function(){s||(s=!0,L(t,500,{}))}),e.timeout)}function M(e,t,n){var r=e.urlString;function i(e,t,n){if(!e[n]&&t&&t.getResponseHeader){var r=t.getResponseHeader(n);r&&(e[n]=bd(r))}return e}function o(e,n){L(t,e.status,function(e){var t,n,r={};return e.getAllResponseHeaders?(t=e.getAllResponseHeaders(),n={},pd(t)&&vd(bd(t).split(/[\r\n]+/),(function(e){if(e){var t=e.indexOf(": ");if(-1!==t){var r=bd(e.substring(0,t)).toLowerCase(),i=bd(e.substring(t+1));n[r]=i}else n[bd(e)]=1}})),r=n):(r=i(r,e,zm),r=i(r,e,Hm),r=i(r,e,"kill-duration-seconds")),r}(e),n)}n&&e.disableXhrSync&&(n=!1);var a=function(e,t,n,r,i,o){function a(e,t,n){try{e[t]=n}catch(e){}}void 0===r&&(r=!1),void 0===i&&(i=!1);var s=new XMLHttpRequest;return r&&a(s,"Microsoft_ApplicationInsights_BypassAjaxInstrumentation",r),n&&a(s,ym,n),s.open(e,t,!i),n&&a(s,ym,n),!i&&o&&a(s,"timeout",o),s}(Rm,r,P,!0,n,e.timeout);ld(e.headers,(function(e,t){a.setRequestHeader(e,t)})),a.onload=function(){var e=yg(a);o(a,e),G(e)},a.onerror=function(){o(a)},a.ontimeout=function(){o(a)},a.send(e.data)}function L(e,t,n,r){try{e(t,n,r)}catch(e){hh(s,2,518,Jp(e))}}function O(e,t,n){var r=200,i=e._thePayload,o=e.urlString+(m?hg:Bm);try{var a=qp();if(!a.sendBeacon(o,e.data))if(i){var l=[];vd(i.batches,(function(e){if(l&&e&&e.count()>0){for(var t=e.events(),n=0;n<t.length;n++)if(!a.sendBeacon(o,I.getEventBlob(t[n]))){l.push(e.split(n));break}}else l.push(e.split(0))})),K(l,8003,i.sendType,!0)}else r=0}catch(e){fh(s,"Failed to send telemetry using sendBeacon API. Ex:"+Jp(e)),r=0}finally{L(t,r,{},Bm)}}function F(e){return 2===e||3===e}function N(e){return T&&F(e)&&(e=2),e}function H(){return!y&&A<n}function z(){var e=x;return x=[],e}function V(e,t,n){var r=!1;return e&&e.length>0&&!y&&l[t]&&I&&(r=0!==t||H()&&(n>0||b.allowRequestSending())),r}function U(e){var t={};return e&&vd(e,(function(e,n){t[n]={iKey:e.iKey(),evts:e.events()}})),t}function j(e,n,r,i,o){if(e&&0!==e.length)if(y)K(e,1,i);else{i=N(i);try{var a=e,u=0!==i;Nf(c,(function(){return"HttpManager:_sendBatches"}),(function(a){a&&(e=e.slice(0));for(var s=[],c=null,d=Em(),p=l[i]||(u?l[1]:l[0]),h=p&&p._transport,m=f&&(T||F(i)||3===h||p._isSync&&2===h);V(e,i,n);){var g=e.shift();g&&g.count()>0&&(v.isTenantKilled(g.iKey())?s.push(g):(c=c||I.createPayload(n,r,u,m,o,i),I.appendPayload(c,g,t)?null!==c.overflow&&(e=[c.overflow].concat(e),c.overflow=null,$(c,d,Em(),o),d=Em(),c=null):($(c,d,Em(),o),d=Em(),e=[g].concat(e),c=null)))}c&&$(c,d,Em(),o),e.length>0&&(x=e.concat(x)),K(s,8004,i)}),(function(){return{batches:U(a),retryCount:n,isTeardown:r,isSynchronous:u,sendReason:o,useSendBeacon:F(i),sendType:i}}),!u)}catch(e){hh(s,2,48,"Unexpected Exception sending batch: "+Jp(e))}}}function W(e,t,n){e[t]=e[t]||{},e[t][a.identifier]=n}function $(t,n,i,o){if(t&&t.payloadBlob&&t.payloadBlob.length>0){var u=!!e.sendHook,f=l[t.sendType];!F(t.sendType)&&t.isBeacon&&2===t.sendReason&&(f=l[2]||l[3]||f);var m=_;(t.isBeacon||3===f._transport)&&(m=!1);var y=function(e,t){var n={url:g,hdrs:{},useHdrs:!1};t?(n.hdrs=Sm(n.hdrs,w),n.useHdrs=Sd(n.hdrs).length>0):ld(w,(function(e,t){gg[e]?Cg(n,gg[e],t,!1):(n.hdrs[e]=t,n.useHdrs=!0)})),Cg(n,Um,"NO_AUTH",t),Cg(n,Vm,vm,t);var r=Bm;vd(e.apiKeys,(function(e){r.length>0&&(r+=","),r+=e})),Cg(n,$m,r,t),Cg(n,Wm,xd().toString(),t);var i=function(e){for(var t=0;t<e.batches.length;t++){var n=e.batches[t].Msfpc();if(n)return encodeURIComponent(n)}return Bm}(e);if(Cm(i)&&(n.url+="&ext.intweb.msfpc="+i),b.shouldAddClockSkewHeaders()&&Cg(n,jm,b.getClockSkewHeaderValue(),t),c.getWParam){var o=c.getWParam();o>=0&&(n.url+="&w="+o)}for(var a=0;a<E.length;a++)n.url+="&"+E[a].name+"="+E[a].value;return n}(t,m);m=m||y.useHdrs;var C=Em();Nf(c,(function(){return"HttpManager:_doPayloadSend"}),(function(){for(var l=0;l<t.batches.length;l++)for(var g=t.batches[l].events(),E=0;E<g.length;E++){var w=g[E];if(k){var x=w.timings=w.timings||{};W(x,"sendEventStart",C),W(x,"serializationStart",n),W(x,"serializationCompleted",i)}w[pg]>0?w[pg]++:w[pg]=1}K(t.batches,1e3+(o||0),t.sendType,!0);var I={data:t.payloadBlob,urlString:y.url,headers:y.hdrs,_thePayload:t,_sendReason:o,timeout:d,disableXhrSync:p,disableFetchKeepAlive:h};m&&(bg(I.headers,Fm)||(I.headers[Fm]="no-cache, no-store"),bg(I.headers,Nm)||(I.headers[Nm]=Om));var _=null;f&&(_=function(n){b.firstRequestSent();var i=function(n,i){!function(t,n,i,o){var s,l=9e3,c=null,u=!1,d=!1;try{var p=!0;if(typeof t!==oc){if(n){b.setClockSkew(n[zm]);var h=n[Hm]||n["kill-duration-seconds"];vd(v.setKillSwitchTenants(n["kill-tokens"],h),(function(e){vd(i.batches,(function(t){if(t.iKey()===e){c=c||[];var n=t.split(0);i.numEvents-=n.count(),c.push(n)}}))}))}if(200==t||204==t)return void(l=200);((s=t)>=300&&s<500&&408!=s&&429!=s||501==s||505==s||i.numEvents<=0)&&(p=!1),l=9e3+t%1e3}if(p){l=100;var f=i.retryCnt;0===i.sendType&&(f<r?(u=!0,q((function(){0===i.sendType&&A--,j(i.batches,f+1,i.isTeardown,T?2:i.sendType,5)}),T,rg(f))):(d=!0,T&&(l=8001)))}}finally{u||(b.setClockSkew(),function(t,n,r,i){try{i&&a._backOffTransmission(),200===n&&(i||t.isSync||a._clearBackOff(),function(e){if(k){var t=Em();vd(e,(function(e){e&&e.count()>0&&function(e,t){k&&vd(e,(function(e){W(e.timings=e.timings||{},"sendEventCompleted",t)}))}(e.events(),t)}))}}(t.batches)),K(t.batches,n,t.sendType,!0)}finally{0===t.sendType&&(A--,5!==r&&e.sendQueuedRequests(t.sendType,r))}}(i,l,o,d)),K(c,8004,i.sendType)}}(n,i,t,o)},l=t.isTeardown||t.isSync;try{f.sendPOST(n,i,l),e.sendListener&&e.sendListener(I,n,l,t.isBeacon)}catch(e){fh(s,"Unexpected exception sending payload. Ex:"+Jp(e)),L(i,0,{})}}),Nf(c,(function(){return"HttpManager:_doPayloadSend.sender"}),(function(){if(_)if(0===t.sendType&&A++,u&&!t.isBeacon&&3!==f._transport){var n={data:I.data,urlString:I.urlString,headers:Sm({},I.headers),timeout:I.timeout,disableXhrSync:I.disableXhrSync,disableFetchKeepAlive:I.disableFetchKeepAlive},r=!1;Nf(c,(function(){return"HttpManager:_doPayloadSend.sendHook"}),(function(){try{e.sendHook(n,(function(e){r=!0,S||e._thePayload||(e._thePayload=e._thePayload||I._thePayload,e._sendReason=e._sendReason||I._sendReason),_(e)}),t.isSync||t.isTeardown)}catch(e){r||_(I)}}))}else _(I)}))}),(function(){return{thePayload:t,serializationStart:n,serializationCompleted:i,sendReason:o}}),t.isSync)}t.sizeExceed&&t.sizeExceed.length>0&&K(t.sizeExceed,8003,t.sendType),t.failedEvts&&t.failedEvts.length>0&&K(t.failedEvts,8002,t.sendType)}function q(e,t,n){t?e():o.set(e,n)}function G(t){var n=e._responseHandlers;try{for(var r=0;r<n.length;r++)try{n[r](t)}catch(e){hh(s,1,519,"Response handler failed: "+e)}if(t){var i=JSON.parse(t);Cm(i.webResult)&&Cm(i.webResult[Km])&&u.set("MSFPC",i.webResult[Km],31536e3)}}catch(e){}}function K(e,t,n,r){if(e&&e.length>0&&i){var o=i[(l=t,u=fg[l],Cm(u)||(u="oth",l>=9e3&&l<=9999?u="rspFail":l>=8e3&&l<=8999?u=Mm:l>=1e3&&l<=1999&&(u="send")),u)];if(o){var a=0!==n;Nf(c,(function(){return"HttpManager:_sendBatchesNotification"}),(function(){q((function(){try{o.call(i,e,t,a,n)}catch(e){hh(s,1,74,"send request notification failed: "+e)}}),r||a,0)}),(function(){return{batches:U(e),reason:t,isSync:a,sendSync:r,sendType:n}}),!a)}}var l,u}e.initialize=function(e,t,n,r,i){var o;i||(i={}),g=e+g,_=!!td(i.avoidOptions)||!i.avoidOptions,c=t,u=t.getCookieMgr(),k=!c.config.disableEventTimings;var v=!!c.config.enableCompoundKey;s=(a=n).diagLog();var y=i.valueSanitizer,b=i.stringifyObjects;td(i.enableCompoundKey)||(v=!!i.enableCompoundKey),d=i.xhrTimeout,p=!!i.disableXhrSync,h=!!i.disableFetchKeepAlive,m=!1!==i.addNoResponse,C=!Xp(),I=new ug(c,y,b,v),nd(i.useSendBeacon)||(C=!!i.useSendBeacon);var A=r,E=i.alwaysUseXhrOverride?r:null,w=i.alwaysUseXhrOverride?r:null,x=[3,2];if(!r){S=!1;var T=Gp();T&&T.protocol&&"file:"===T.protocol.toLowerCase()&&(P=!1);var B=[];Xp()?(B=[2,1],x=[2,1,3]):B=[1,2,3],(r=D(B=Ag(B,i.transports),!1))||fh(s,"No available transport to send events"),A=D(B,!0)}E||(E=D(x=Ag(x,i.unloadTransports),!0)),f=!S&&(C&&Qp()||!h&&eh(!0)),(o={})[0]=r,o[1]=A||D([1,2,3],!0),o[2]=E||A||D([1],!0),o[3]=w||D([2,3],!0)||A||D([1],!0),l=o},e._getDbgPlgTargets=function(){return[l[0],v,I,l]},e.addQueryStringParameter=function(e,t){for(var n=0;n<E.length;n++)if(E[n].name===e)return void(E[n].value=t);E.push({name:e,value:t})},e.addHeader=function(e,t){w[e]=t},e.canSendRequest=function(){return H()&&b.allowRequestSending()},e.sendQueuedRequests=function(e,t){td(e)&&(e=0),T&&(e=N(e),t=2),V(x,e,0)&&j(z(),0,!1,e,t||0)},e.isCompletelyIdle=function(){return!y&&0===A&&0===x.length},e.setUnloading=function(e){T=e},e.addBatch=function(e){if(e&&e.count()>0){if(v.isTenantKilled(e.iKey()))return!1;x.push(e)}return!0},e.teardown=function(){x.length>0&&j(z(),0,!0,2,2)},e.pause=function(){y=!0},e.resume=function(){y=!1,e.sendQueuedRequests(0,4)},e.sendSynchronousBatch=function(e,t,n){e&&e.count()>0&&(nd(t)&&(t=1),T&&(t=N(t),n=2),j([e],0,!1,t,n||0))}}))}return e.__ieDyn=1,e}();function Eg(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return setTimeout(e,t,n)}function wg(e){clearTimeout(e)}function xg(e,t){return{set:e||Eg,clear:t||wg}}var Ig="eventsDiscarded",kg="overrideInstrumentationKey",Tg="maxEventRetryAttempts",_g="maxUnloadEventRetryAttempts",Pg=function(e){function t(){var n,r=e.call(this)||this;r.identifier="PostChannel",r.priority=1011,r.version="3.2.18";var i,o,a,s,l,c,u,d=!1,p=[],h=null,f=!1,m=0,g=500,v=0,y=1e4,b={},C=Dm,A=null,S=null,E=0,w=0,x={},I=-1,k=!0,T=!1,_=6,P=2;return Bp(t,r,(function(e,t){function r(e){"beforeunload"!==(e||jp().event).type&&(T=!0,o.setUnloading(T)),H(2,2)}function D(e){T=!1,o.setUnloading(T)}function B(e,t){if(e.sendAttempt||(e.sendAttempt=0),e.latency||(e.latency=1),e.ext&&e.ext[Ym]&&delete e.ext[Ym],e.ext&&e.ext[Xm]&&e.ext[Xm].id&&delete e.ext[Xm].id,k&&(e.ext=Rd(e.ext),e.baseData&&(e.baseData=Rd(e.baseData)),e.data&&(e.data=Rd(e.data))),e.sync)if(E||f)e.latency=3,e.sync=!1;else if(o)return k&&(e=Rd(e)),void o.sendSynchronousBatch(Qm.create(e.iKey,[e]),!0===e.sync?1:e.sync,3);var n=e.latency,r=v,i=y;4===n&&(r=m,i=g);var a=!1;if(r<i)a=!U(e,t);else{var s=1,l=20;4===n&&(s=4,l=1),a=!0,function(e,t,n,r){for(;n<=t;){var i=z(e,t,!0);if(i&&i.count()>0){var o=i.split(0,r),a=o.count();if(a>0)return 4===n?m-=a:v-=a,Z(Ig,[o],Pm.QueueFull),!0}n++}return j(),!1}(e.iKey,e.latency,s,l)&&(a=!U(e,t))}a&&X(Ig,[e],Pm.QueueFull)}function R(e,t,n){var r=W(e,t,n);return o.sendQueuedRequests(t,n),r}function M(){return v>0}function L(){if(I>=0&&W(I,0,l)&&o.sendQueuedRequests(0,l),m>0&&!S&&!f){var e=b[C][2];e>=0&&(S=F((function(){S=null,R(4,0,1),L()}),e))}var t=b[C][1];!A&&!h&&t>=0&&!f&&(M()?A=F((function(){A=null,R(0===w?3:1,0,1),w++,w%=2,L()}),t):w=0)}function O(){n=null,d=!1,p=[],h=null,f=!1,m=0,g=500,v=0,y=1e4,b={},C=Dm,A=null,S=null,E=0,w=0,i=null,x={},a=void 0,s=0,I=-1,l=null,k=!0,T=!1,_=6,P=2,c=null,u=xg(),o=new Sg(500,2,1,{requeue:K,send:J,sent:Q,drop:ee,rspFail:te,oth:ne},u),G(),x[4]={batches:[],iKeyMap:{}},x[3]={batches:[],iKeyMap:{}},x[2]={batches:[],iKeyMap:{}},x[1]={batches:[],iKeyMap:{}},re()}function F(e,t){0===t&&E&&(t=1);var n=1e3;return E&&(n=rg(E-1)),u.set(e,t*n)}function N(){return null!==A&&(u.clear(A),A=null,w=0,!0)}function H(e,t){N(),h&&(u.clear(h),h=null),f||R(1,e,t)}function z(e,t,n){var r=x[t];r||(r=x[t=1]);var i=r.iKeyMap[e];return!i&&n&&(i=Qm.create(e),r.batches.push(i),r.iKeyMap[e]=i),i}function V(t,n){o.canSendRequest()&&!E&&(a>0&&v>a&&(n=!0),n&&null==h&&e.flush(t,null,20))}function U(e,t){k&&(e=Rd(e));var n=e.latency,r=z(e.iKey,n,!0);return!!r.addEvent(e)&&(4!==n?(v++,t&&0===e.sendAttempt&&V(!e.sync,s>0&&r.count()>=s)):m++,!0)}function j(){for(var e=0,t=0,n=function(n){var r=x[n];r&&r.batches&&vd(r.batches,(function(r){4===n?e+=r.count():t+=r.count()}))},r=1;r<=4;r++)n(r);v=t,m=e}function W(t,n,r){var i=!1,a=0===n;return!a||o.canSendRequest()?Nf(e.core,(function(){return"PostChannel._queueBatches"}),(function(){for(var e=[],n=4;n>=t;){var r=x[n];r&&r.batches&&r.batches.length>0&&(vd(r.batches,(function(t){o.addBatch(t)?i=i||t&&t.count()>0:e=e.concat(t.events()),4===n?m-=t.count():v-=t.count()})),r.batches=[],r.iKeyMap={}),n--}e.length>0&&X(Ig,e,Pm.KillSwitch),i&&I>=t&&(I=-1,l=0)}),(function(){return{latency:t,sendType:n,sendReason:r}}),!a):(I=I>=0?Math.min(I,t):t,l=Math.max(l,r)),i}function $(e,t){R(1,0,t),j(),q((function(){e&&e(),p.length>0?h=F((function(){h=null,$(p.shift(),t)}),0):(h=null,L())}))}function q(e){o.isCompletelyIdle()?e():h=F((function(){h=null,q(e)}),.25)}function G(){(b={})[Dm]=[2,1,0],b.NEAR_REAL_TIME=[6,3,0],b.BEST_EFFORT=[18,9,0]}function K(t,n){var r=[],i=_;T&&(i=P),vd(t,(function(t){t&&t.count()>0&&vd(t.events(),(function(t){t&&(t.sync&&(t.latency=4,t.sync=!1),t.sendAttempt<i?(wm(t,e.identifier),B(t,!1)):r.push(t))}))})),r.length>0&&X(Ig,r,Pm.NonRetryableStatus),T&&H(2,2)}function Y(t,n){var r=e._notificationManager||{},i=r[t];if(i)try{i.apply(r,n)}catch(n){hh(e.diagLog(),1,74,t+" notification failed: "+n)}}function X(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];t&&t.length>0&&Y(e,[t].concat(n))}function Z(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];t&&t.length>0&&vd(t,(function(t){t&&t.count()>0&&Y(e,[t.events()].concat(n))}))}function J(e,t,n){e&&e.length>0&&Y("eventsSendRequest",[t>=1e3&&t<=1999?t-1e3:0,!0!==n])}function Q(e,t){Z("eventsSent",e,t),L()}function ee(e,t){Z(Ig,e,t>=8e3&&t<=8999?t-8e3:Pm.Unknown)}function te(e){Z(Ig,e,Pm.NonRetryableStatus),L()}function ne(e,t){Z(Ig,e,Pm.Unknown),L()}function re(){s=n&&n.disableAutoBatchFlushLimit?0:Math.max(1500,y/6)}O(),e._getDbgPlgTargets=function(){return[o]},e.initialize=function(s,l,d){Nf(l,(function(){return"PostChannel:initialize"}),(function(){var p=l;t.initialize(s,l,d);try{l.addUnloadCb,c=Af(Xh(e.identifier),l.evtNamespace&&l.evtNamespace());var h=e._getTelCtx();s.extensionConfig[e.identifier]=s.extensionConfig[e.identifier]||{},n=h.getExtCfg(e.identifier),u=xg(n.setTimeoutOverride,n.clearTimeoutOverride),k=!n.disableOptimizeObj&&!!Vp("chrome"),function(e){var t=e.getWParam;e.getWParam=function(){var e=0;return n.ignoreMc1Ms0CookieProcessing&&(e|=2),e|t()}}(p),n.eventsLimitInMem>0&&(y=n.eventsLimitInMem),n.immediateEventLimit>0&&(g=n.immediateEventLimit),n.autoFlushEventsLimit>0&&(a=n.autoFlushEventsLimit),hd(n[Tg])&&(_=n[Tg]),hd(n[_g])&&(P=n[_g]),re(),n.httpXHROverride&&n.httpXHROverride.sendPOST&&(i=n.httpXHROverride),Cm(s.anonCookieName)&&o.addQueryStringParameter("anoncknm",s.anonCookieName),o.sendHook=n.payloadPreprocessor,o.sendListener=n.payloadListener;var f=n.overrideEndpointUrl?n.overrideEndpointUrl:s.endpointUrl;e._notificationManager=l.getNotifyMgr(),o.initialize(f,e.core,e,i,n);var m=s.disablePageUnloadEvents||[];(function(e,t,n,r){var i=!1;t&&e&&dd(e)&&!(i=wf(e,t,n,r))&&n&&n[kc]>0&&(i=wf(e,t,null,r))})([lf,sf,of],r,m,c),If(r,m,c),kf(D,s.disablePageShowEvents,c)}catch(t){throw e.setInitialized(!1),t}}),(function(){return{coreConfig:s,core:l,extensions:d}}))},e.processTelemetry=function(t,r){wm(t,e.identifier);var i=(r=e._getTelCtx(r)).getExtCfg(e.identifier),o=!!n.disableTelemetry;i&&(o=o||!!i.disableTelemetry);var a=t;o||d||(n[kg]&&(a.iKey=n[kg]),i&&i[kg]&&(a.iKey=i[kg]),B(a,!0),T?H(2,2):L()),e.processNext(a,r)},e._doTeardown=function(e,t){var n;H(2,2),d=!0,o.teardown(),xf([lf,sf,of],null,c),n=Af(cf,c),xf([of],null,n),xf([rf],null,n),function(e,t){var n=Af(uf,t);xf([af],null,n),xf([rf],null,n)}(0,c),O()},e.setEventQueueLimits=function(e,t){y=e>0?e:1e4,a=t>0?t:0,re();var n=v>e;if(!n&&s>0)for(var r=1;!n&&r<=3;r++){var i=x[r];i&&i.batches&&vd(i.batches,(function(e){e&&e.count()>=s&&(n=!0)}))}V(!0,n)},e.pause=function(){N(),f=!0,o.pause()},e.resume=function(){f=!1,o.resume(),L()},e.addResponseHandler=function(e){o._responseHandlers.push(e)},e._loadTransmitProfiles=function(e){N(),G(),C=Dm,L(),ld(e,(function(e,t){var n=t.length;if(n>=2){var r=n>2?t[2]:0;if(t.splice(0,n-2),t[1]<0&&(t[0]=-1),t[1]>0&&t[0]>0){var i=t[0]/t[1];t[0]=Math.ceil(i)*t[1]}r>=0&&t[1]>=0&&r>t[1]&&(r=t[1]),t.push(r),b[e]=t}}))},e.flush=function(e,t,n){if(void 0===e&&(e=!0),!f)if(n=n||1,e)null==h?(N(),W(1,0,n),h=F((function(){h=null,$(t,n)}),0)):p.push(t);else{var r=N();R(1,1,n),null!=t&&t(),r&&L()}},e.setMsaAuthTicket=function(e){o.addHeader(qm,e)},e.hasEvents=M,e._setTransmitProfile=function(e){C!==e&&void 0!==b[e]&&(N(),C=e,L())},e._backOffTransmission=function(){E<4&&(E++,N(),L())},e._clearBackOff=function(){E&&(E=0,N(),L())},Ed(e,"_setTimeoutOverride",(function(){return u.set}),(function(e){u=xg(e,u.clear)})),Ed(e,"_clearTimeoutOverride",(function(){return u.clear}),(function(e){u=xg(u.set,e)}))})),r}return Pf(t,e),t.__ieDyn=1,t}(nm);const Dg=Pg;var Bg="HttpManager:_sendBatches",Rg="PrivacyGuard:_processTelemetry",Mg=function(){function e(e,t,n){this.start=Ql(),this.name=e,this.isAsync=!0===n,this.payload=t}return e.prototype.isChildEvt=function(){return!1},e.prototype.complete=function(){this.time=Ql()-this.start,this.exTime=this.time},e}(),Lg=function(){function e(e){this._callbacks=e}return e.prototype.create=function(e,t,n){return e===Bg||e===Rg?new Mg(e,t,n):null},e.prototype.fire=function(e){if(e&&e.complete(),this._callbacks)switch(e.name){case Bg:this.handleSendBatches(e);break;case Rg:this.handlePrivacyGuardNotification(e)}},e.prototype.setCtx=function(e,t){},e.prototype.getCtx=function(e){},e.prototype.handleSendBatches=function(e){if(this._callbacks.requestProcessingStats){var t=0;if(e.payload){var n=e.payload();if(n.batches)for(var r in n.batches)t+=n.batches[r].evts.length}this._callbacks.requestProcessingStats(e.time||0,t)}},e.prototype.handlePrivacyGuardNotification=function(e){this._callbacks.privacyGuardStats&&e.time&&e.time>0&&this._callbacks.privacyGuardStats(e.time)},e}(),Og=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return C(t,e),t.prototype.initialize=function(t,n){this._postChannel=new Dg;var r=null!=n?n:[];t.channels=[[this._postChannel]],t.extensionConfig=t.extensionConfig||[],t.extensionConfig[this._postChannel.identifier]=A(A({},t.channelConfiguration),t.extensionConfig[this._postChannel.identifier]);try{e.prototype.initialize.call(this,t,r)}catch(e){this.logger.warnToConsole("Failed to initialize SDK."+e)}},t.prototype.setUploadFrequency=function(e){if(this._postChannel&&e){var t=e/1e3,n=t/2,r={};r.OTelCustomTransmissionProfile=[t,n],this._postChannel._loadTransmitProfiles(r),this._postChannel._setTransmitProfile("OTelCustomTransmissionProfile")}},t.prototype.flush=function(e){this._postChannel&&this._postChannel.flush(e)},t.prototype.shutdown=function(){this._postChannel&&this._postChannel.teardown()},t}(km),Fg=function(e){function t(t,n){var r,i=e.call(this,t,n)||this;i.sendTelemetryEvent=function(e){return function(){try{return function(){var t=i.getOneDSTelemetryEvent(e);t&&r&&r.track(t)}()}catch(e){return void cl(1,"1DS Sink",e)}}()},i.sendCustomerContent=function(e){},i.sendNonStandardEvent=function(e,t){var n=!1;s.forEach((function(r){r.canHandle(t)&&(r.processEvent(e),n=!0)})),n||ll(0,1,(function(){return"Missing Handler for "+t+"to process"+e.eventName}))},i.flush=function(e){null==r||r.flush(e),s.forEach((function(t){t.flush(e)}))},i.shutdown=function(){try{null==r||r.shutdown(),s.forEach((function(e){e.shutdown()}))}catch(e){ll(0,2,(function(){return"An error occurred on shutdown"}))}};var o,a,s=n.nonStandardEventHandlers||[];if(r=function(e,t){var n=e.httpXHROverride,r={instrumentationKey:t,endpointUrl:e.endpointUrl,channelConfiguration:{eventsLimitInMem:e.eventsLimitInMem,httpXHROverride:n,autoFlushEventsLimit:e.autoFlushEventsLimit,setTimeoutOverride:e.setTimeoutOverride,clearTimeoutOverride:e.clearTimeoutOverride,ignoreMc1Ms0CookieProcessing:!0,disableOptimizeObj:!0},enableWParam:!n,disableCookiesUsage:!0,extensionConfig:A({},e.extensionConfig)};e.stats&&e.stats.networkStats&&r.channelConfiguration&&(r.channelConfiguration.payloadListener=function(t,n){var r,i=n||t;i.data&&(null===(r=e.stats)||void 0===r||r.networkStats(i.data.length))});var i=new Og;return i.initialize(r,e.plugins),i.setUploadFrequency(e.uploadFrequency),e.notificationListener&&i.addNotificationListener(e.notificationListener),e.stats&&i.setPerfMgr(new Lg(e.stats)),i}(n,Ud),s.forEach((function(e){e.initialize(i,n)})),!n.endpointUrl)throw new Error("Missing Endpoint Url");return n.disableStatsTracking||(o=i,(a=r)&&a.addNotificationListener({eventsSent:function(e){ll(2,2,(function(){return"Successfully sent ".concat(e.length," event(s)")})),ll(3,2,(function(){return"Sent event(s) details : ".concat(JSON.stringify(e,null,2))})),o.eventsSent+=e.length},eventsDiscarded:function(e,t){ll(0,2,(function(){return"Discarded ".concat(e.length," event(s) because ").concat(t)})),ll(3,2,(function(){return"Discarded event(s) details : ".concat(JSON.stringify(e,null,2))})),o.eventsDiscarded+=e.length}})),i}return C(t,e),t}((function(e,t){var n=this;this.eventsProcessed=0,this.eventsSent=0,this.eventsDiscarded=0;var r=[],i=!1,o=!0,a={name:"DiagnosticLevel",processEvent:function(e){var t=e.eventFlags.diagnosticLevel;return i||10===t||110===t||120===t}},s={},l=Tf();this.init=function(e){return Zd(s,!1)},this.begin=function(){return o=o&&Zd(s,!0)},this.getOneDSTelemetryEvent=function(e){return c(e,{eventType:1})},this.getOneDSCustomerContent=function(e){var t=e.telemetryProperties.customerContentVersion;if(t&&Math.floor(t)<=2&&1===e.telemetryProperties.customerContentType)return c(e,{eventType:2})};var c=function(e,t){if(o){var i=El(e);if(function(e,t){for(var n=function(n){var r=t[n];if(!r.processEvent(e))return ll(2,1,(function(){return"".concat(e.eventName," suppressed by ").concat(r.name)})),{value:!1}},r=0;r<t.length;r++){var i=n(r);if("object"==typeof i)return i.value}return!0}(i,r)){var a=function(e){return e.timestamp?new Date(e.timestamp):new Date}(i).toISOString(),c={"Event.Name":i.eventName,"Event.Source":"OTelJS","Event.Time":{value:a,propertyType:9}};for(var u in n.eventsProcessed++,c["Event.Sequence"]={value:n.eventsProcessed,propertyType:4},c["Event.Id"]=l+"."+n.eventsProcessed,s)c[u]=s[u];if(!jd(c,i.dataFields,!0,t.eventType))return void ll(0,1,(function(){return"Dropping Event: "+i.eventName}));var d="custom";i.eventContract&&(i.eventContract.name&&(c["Event.Contract"]=i.eventContract.name,d+="."+i.eventContract.name.toLowerCase().replace(/\./g,"_")),jd(c,i.eventContract.dataFields,!1,t.eventType));var p=function(e,t){return 2===t?"b22a201c3f1d41d28ccc399ba6cc9ca2-1972c77f-1f79-4283-a0f9-b4ddc4646f55-7121":e.telemetryProperties&&(1!==t||e.telemetryProperties.ariaTenantToken)?1===t?e.telemetryProperties.ariaTenantToken:void 0:void ll(0,1,(function(){return"Missing Aria Token"}))}(i,t.eventType);if(!p)return;return{iKey:p,name:i.eventName,data:c,time:a,baseType:d,ext:{sdk:{seq:n.eventsProcessed}}}}}};this.addPreprocessor=function(e){r.push(e)},this.getOneDSPersistentDataFields=function(){return s},this.getPreprocessors=function(){return r};var u=function(e){jd(s,e,!1,1)};this.addPersistentDataFields=u,this.setOptionalEventsEnabled=function(e){i=e},this.setFullEventsEnabled=this.setOptionalEventsEnabled,t.enableOptionalEvents&&(i=!0),u(e);var d,p=t.coreFields;if(p){u(Kl(p.app)),u(ql(p.user)),u(Yl(p.session));var h=p.release;h&&u((Vl(d=[],"Release","AudienceGroup",h.audienceGroup,1),d))}this.addPreprocessor(a)})),Ng="Office.Telemetry.OTelJS.EventThrottled";function Hg(e){return"number"==typeof e}var zg,Vg,Ug=function(){function e(e,t){this._sinkName=e,this._telemetrySink=t,this.name="EventThrottler",this._totalEventsInLastInterval=0,this._singleEventInLastInterval={},this._eventThrottleReported={},this._lastIntervalStart=Date.now(),this._maxNamedEventsPerSecond={}}return e.prototype.setSingleEventThrottle=function(e){this._maxSingleEventPerSecond=e},e.prototype.setTotalEventThrottle=function(e){this._maxTotalEventsPerSecond=e},e.prototype.setNamedEventThrottle=function(e,t){this._maxNamedEventsPerSecond[e]=t},e.prototype.processEvent=function(e){var t=e.eventName;if(t===Ng)return!0;var n=!0;return Date.now()-this._lastIntervalStart>1e3&&(this._lastIntervalStart=Date.now(),this._totalEventsInLastInterval=0,this._singleEventInLastInterval={}),this._singleEventInLastInterval[t]=this._singleEventInLastInterval[t]+1||1,t in this._maxNamedEventsPerSecond?n=this.applyThrottle(this._singleEventInLastInterval[t],this._maxNamedEventsPerSecond[t],"MaxNamedEventsPerSecond",t):Hg(this._maxSingleEventPerSecond)&&(n=this.applyThrottle(this._singleEventInLastInterval[t],this._maxSingleEventPerSecond,"MaxSingleEventsPerSecond",t)),Hg(this._maxTotalEventsPerSecond)&&(this._totalEventsInLastInterval++,n&&(n=this.applyThrottle(this._totalEventsInLastInterval,this._maxTotalEventsPerSecond,"MaxTotalEventsPerSecond",t))),n},e.prototype.applyThrottle=function(e,t,n,r){return!(e>t&&(e===t+1&&this._telemetrySink&&!this._eventThrottleReported[r]&&(this._eventThrottleReported[r]=!0,this._telemetrySink.sendTelemetryEvent({eventName:Ng,telemetryProperties:{ariaTenantToken:Ud,nexusTenantToken:1723},eventFlags:{diagnosticLevel:110},dataFields:[Al("SinkName",this._sinkName||""),Al("ThrottledEvent.Name",r),Cl(n,t)]})),ll(2,1,(function(){return"1DS Sink Event Throttle: Exceeded ".concat(t," ").concat(n,": ").concat(r)})),1))},e}();(Vg=zg||(zg={})).USGOV_DOD="https://pf.events.data.microsoft.com/OneCollector/1.0/",Vg.USGOV_DOJ="https://tb.events.data.microsoft.com/OneCollector/1.0/",Vg.PUBLIC="https://browser.events.data.microsoft.com/OneCollector/1.0/",Vg.CUSTOMER_CONTENT="",Vg.EUDB="https://eu-office.events.data.microsoft.com/OneCollector/1.0/";var jg=i(9315);const Wg="api.appInitialization.sdkLoaded",$g={[vi]:"api.appInitialization.initialize",[Ar]:"api.appInitialization.appLoaded",[wr]:"api.appInitialization.success",[Er]:"api.appInitialization.failure",[Sr]:"api.appInitialization.expectedFailure",[Dr]:"api.appEntity.selectAppEntity",[xr]:"api.appInstallDialog.openAppInstallDialog",[Tr]:"api.authentication.authenticate",[Ir]:"api.getAuthToken",[kr]:"api.getUser",[Pr]:"api.authentication.notifyFailure",[_r]:"api.authentication.notifySuccess",[Br]:"api.barCode.scanBarCode",[Rr]:"api.calendar.composeMeeting",[Mr]:"api.calendar.openCalendarItem",[Lr]:"api.call.startCall",[Or]:"api.chat.openChat",[Nr]:"api.clipboard.readFromClipboard",[Fr]:"api.clipboard.writeToClipboard",[zr]:"api.conversations.closeConversation",[Vr]:"api.conversations.getChatMembers",[Hr]:"api.conversations.openConversation",[jr.getEligibilityInfo]:"api.copilot.eligibility.getEligibilityInfo",[Ur.sendCustomTelemetryData]:"api.copilot.customTelemetry.sendCustomTelemetryData",[Wr]:"api.dialogs.open",[$r]:"api.dialogs.submit",[qr.resize]:"api.dialogs.update.resize",[Qr]:"api.externalAppAuthentication.authenticateAndResendRequest",[ni]:"api.externalAppAuthentication.authenticateWithOauth",[ri]:"api.externalAppAuthentication.authenticateWithPowerPlatformConnectorPlugins",[ei]:"api.externalAppAuthentication.authenticateWithSSO",[ti]:"api.externalAppAuthentication.authenticateWithSSOAndResendRequest",[ai]:"api.externalAppAuthenticationForCEA.authenticateAndResendRequest",[si]:"api.externalAppAuthenticationForCEA.authenticateWithSSOAndResendRequest",[oi]:"api.externalAppAuthenticationForCEA.authenticateWithOauth",[ii]:"api.externalAppAuthenticationForCEA.authenticateWithSSO",[Gr]:"api.externalAppCardActions.processActionOpenUrl",[Kr]:"api.externalAppCardActions.processActionSubmit",[Yr]:"api.externalAppCardActionsForCEA.processActionOpenUrl",[Xr]:"api.externalAppCardActionsForCEA.processActionSubmit",[Zr]:"api.externalAppCardActionsForDA.processActionOpenUrlDialog",[Jr]:"api.externalAppCommands.processActionCommand",[li]:"api.files.addCloudStorageFolder",[ci]:"api.files.copyMoveFiles",[ui]:"api.files.deleteCloudStorageFolder",[mi]:"api.files.getCloudStorageFolderContents",[di]:"api.files.getCloudStorageFolders",[hi]:"api.files.getExternalProviders",[pi]:"api.files.openFilePreview",[gi]:"api.getContext",[yi.addAndConfigure]:"api.hostEntity.tab.addAndConfigure",[yi.reconfigure]:"api.hostEntity.tab.reconfigure",[yi.rename]:"api.hostEntity.tab.rename",[yi.remove]:"api.hostEntity.tab.remove",[yi.getAll]:"api.hostEntity.tab.getAll",[Ti]:"api.interactive.getClientInfo",[ki]:"api.interactive.getClientRoles",[Ei]:"api.interactive.getFluidContainerId",[Ai]:"api.interactive.getFluidTenantInfo",[Si]:"api.interactive.getFluidToken",[xi]:"api.interactive.getNtpTime",[Ii]:"api.interactive.registerClientId",[wi]:"api.interactive.setFluidContainerId",[_i]:"api.links.openLink",[bi]:"api.location.getCurrentLocation",[Ci.showLocation]:"api.location.map.showLocation",[Di]:"api.mail.composeMail",[Bi]:"api.mail.openMailItem",[Li]:"api.marketplace.addOrUpdateCartItems",[Mi]:"api.marketplace.getCart",[Oi]:"api.marketplace.removeCartItems",[Fi]:"api.marketplace.updateCartStatus",[Ni]:"api.media.captureImage",[Hi]:"api.media.getMedia",[zi]:"api.media.selectMedia",[Vi]:"api.media.viewImages",[Ki.setOptions]:"api.meeting.appShareButton.setOptions",[Ui]:"api.meeting.getAppContentStageSharingCapabilities",[ji]:"api.meeting.getAppContentStageSharingState",[Wi]:"api.meeting.getAuthenticationTokenForAnonymousUser",[$i]:"api.meeting.getIncomingClientAudioState",[qi]:"api.meeting.getLiveStreamState",[Gi]:"api.meeting.getMeetingDetails",[no]:"api.meeting.joinMeeting",[eo]:"api.meeting.requestAppAudioHandling",[Yi]:"api.meeting.requestStartLiveStreaming",[Xi]:"api.meeting.requestStopLiveStreaming",[Zi]:"api.meeting.shareAppContentToStage",[Ji]:"api.meeting.stopSharingAppContentToStage",[Qi]:"api.meeting.toggleIncomingClientAudio",[to]:"api.meeting.updateMicState",[ro]:"api.meetingRoom.getPairedMeetingRoomInfo",[io]:"api.meetingRoom.sendCommandToPairedMeetingRoom",[oo]:"api.monetization.openPurchaseExperience",[ao]:"api.nestedAppAuth.execute",[so]:"api.nestedAppAuth.manageNAATrustedOrigins",[lo]:"api.notifications.showNotification",[yo.navigateBack]:"api.pages.backStack.navigateBack",[Ao.remove.failure]:"api.pages.config.remove.failure",[Ao.remove.success]:"api.pages.config.remove.success",[Ao.save.failure]:"api.pages.config.save.failure",[Ao.save.success]:"api.pages.config.save.success",[Ao.setConfig]:"api.pages.config.setConfig",[Ao.setValidityState]:"api.pages.config.setValidityState",[bo.navigateTo]:"api.pages.currentApp.navigateTo",[bo.navigateToDefaultPage]:"api.pages.currentApp.navigateToDefaultPage",[So.enterFullscreen]:"api.pages.fullTrust.enterFullscreen",[So.exitFullscreen]:"api.pages.fullTrust.exitFullscreen",[po]:"api.pages.getConfig",[ho]:"api.pages.navigateCrossDomain",[fo]:"api.pages.navigateToApp",[mo]:"api.pages.returnFocus",[go]:"api.pages.setCurrentFrame",[vo]:"api.pages.shareDeepLink",[Co.getMruTabInstances]:"api.pages.tabs.getMruTabInstances",[Co.getTabInstances]:"api.pages.tabs.getTabInstances",[Co.navigateToTab]:"api.pages.tabs.navigateToTab",[Eo]:"api.people.selectPeople",[xo]:"api.permissions.requestUserConsentForPermission",[wo.getPermissionStatus]:"api.permissions.storageService.getPermissionStatus",[Io]:"api.profile.showProfile",[Bo]:"api.registerHandler",[ko]:"api.remoteCamera.getCapableParticipants",[To]:"api.remoteCamera.requestControl",[_o]:"api.remoteCamera.sendControlCommand",[Po]:"api.remoteCamera.terminateSession",[Mo]:"api.search.closeSearch",[Ro]:"api.search.unregister",[Fo]:"api.stageView.open",[No.close]:"api.stageView.self.close",[Ho]:"api.store.openFullStore",[zo]:"api.store.openAppDetail",[Vo]:"api.store.openInContextStore",[Uo]:"api.store.openSpecificStore",[$o.getConfigSetting]:"api.teams.fullTrust.getConfigSetting",[$o.joinedTeams.getUserJoinedTeams]:"api.teams.fullTrust.joinedTeams.getUserJoinedTeams",[jo]:"api.teams.getTeamChannels",[Wo]:"api.teams.refreshSiteUrl",[sa]:"api.webStorage.isWebStorageClearedOnUserLogOut"},qg=new Map([[vi,"initialize"],[Ar,"appLoaded"],[wr,"success"],[Er,"failure"],[Sr,"expectedFailure"]]);function Gg(e){return void 0!==e&&va.has(e)&&!qa().disableDebuggingTelemetryToAria}const Kg=new Map([["api.appInitialization.initialize",vi],["api.appInitialization.appLoaded",Ar],["api.appInitialization.success",wr],["api.appInitialization.failure",Er],["api.appInitialization.expectedFailure",Sr]]);function Yg(e){return qa().disableFirstPartyAppsAsMicrosoftOwned?e:Object.assign(Object.assign({},e),{isRestrictedToFirstPartyOrLobApps:e.isRestrictedToFullTrustOrLobApps||e.isRestrictedToFirstPartyOrLobApps,isRestrictedToMicrosoftOwnedOrFullTrustApps:e.isRestrictedToMicrosoftOwnedOrFullTrustApps||e.isRestrictedToFullTrustApps,isRestrictedToFullTrustApps:!1,isRestrictedToFullTrustOrLobApps:!1})}function Xg(e){return qa().disableFirstPartyAppsAsMicrosoftOwned?!!(null==e?void 0:e.isFullTrust):!!(null==e?void 0:e.isMicrosoftOwned)||!!(null==e?void 0:e.isFullTrust)}const Zg=performance&&"object"==typeof performance&&["now","timeOrigin"].map((e=>e in performance)).every((e=>e));function Jg(e="monotonic"){return qa().useGlobalMonotonicTimersForTelemetry&&Qg(e)||Qg("date")}function Qg(e){switch(e){case"date":return{type:"date",value:Date.now()};case"monotonic":if(!Zg)return;return{type:"monotonic",value:performance.now()+performance.timeOrigin};default:throw new Error(`Unsupported timestamp type: ${e}`)}}function ev(){var e;return null===(e=Qg("monotonic"))||void 0===e?void 0:e.value}function tv(e,t){return Zg&&e&&qa().useGlobalMonotonicTimersForTelemetry?{type:"monotonic",value:e}:t?{type:"date",value:t}:void 0}function nv(){return Zg?1e3*Math.floor(performance.now()):1e3*Date.now()}var rv,iv;!function(e){e.Start="start",e.End="end"}(rv||(rv={})),function(e){e.MetaOsAppContainerInitiation="metaOsAppContainerInitiation_ms",e.GetPermissions="getPermissions_ms",e.IframeSetAndLoadOrigin="iframeSetAndLoadOrigin_ms",e.OverallAppLoadTimeBeforeInitialize="overallAppLoadTimeBeforeInitialize_ms",e.InitializeMessageDelay="initializeMessageDelay_ms",e.InitializeMessageProcessTime="initializeMessageProcessTime_ms",e.AppLoadedMessageDelay="appLoadedMessageDelay_ms",e.AppLoadedMessageProcessTime="appLoadedMessageProcessTime_ms",e.SuccessMessageDelay="successMessageDelay_ms",e.SuccessMessageProcessTime="successMessageProcessTime_ms",e.FailureMessageDelay="failureMessageDelay_ms",e.FailureMessageProcessTime="failureMessageProcessTime_ms",e.ExpectedFailureMessageDelay="expectedFailureMessageDelay_ms",e.ExpectedFailureMessageProcessTime="expectedFailureMessageProcessTime_ms"}(iv||(iv={}));const ov={[iv.MetaOsAppContainerInitiation]:0,[iv.GetPermissions]:0,[iv.IframeSetAndLoadOrigin]:0,[iv.OverallAppLoadTimeBeforeInitialize]:0,[iv.InitializeMessageDelay]:0,[iv.InitializeMessageProcessTime]:0,[iv.AppLoadedMessageDelay]:0,[iv.AppLoadedMessageProcessTime]:0,[iv.SuccessMessageDelay]:0,[iv.SuccessMessageProcessTime]:0,[iv.FailureMessageDelay]:0,[iv.FailureMessageProcessTime]:0,[iv.ExpectedFailureMessageDelay]:0,[iv.ExpectedFailureMessageProcessTime]:0};function av(e,t){const n=function(e){return Jg(e.type).value-e.value}(t);switch(e){case vi:ov.initializeMessageDelay_ms=n;break;case Ar:ov.appLoadedMessageDelay_ms=n;break;case wr:ov.successMessageDelay_ms=n;break;default:console.warn(e+" is not supported in this environment")}return n}const sv={};let lv=!1;function cv(e,t){var n;if(!lv&&(n=t,Object.values(iv).includes(n))&&"object"==typeof window&&"object"==typeof window.performance&&"now"in window.performance){const n=performance.now();if(e!==rv.Start||sv.hasOwnProperty(t)){if(e===rv.End){const e=sv[t];if(void 0!==e){const r=parseFloat((n-e).toFixed(2));ov[t]=Math.max(ov[t],r)}delete sv[t]}}else sv[t]=n}}class uv{constructor(e,t,n){var r,i;this.hubInfo=e,this.customTelemetryService=n,this.letterRegex=/[a-zA-Z]/,this.consumerTid="9188040d-6c67-4c5b-b112-36a304b66dad",this.telemetrySource="AppHostSdk",this.namespace="Office.AppHostingSdk",this.eventFieldPrefix="AppHost",this.ariaTenantToken="7ada8d16f9234e2093f080920f21dd7d-41cee27e-93c2-4a6b-a7aa-2001e852d387-7123",this.nexusTenantToken=-1,this.anonymousDataFields=[...Bl.Office.System.User.getFields("User",{isAnonymous:!0})];let o=[Al(`${this.eventFieldPrefix}.HostName`,this.hubInfo.name),Al(`${this.eventFieldPrefix}.HostVersion`,this.hubInfo.version),Al(`${this.eventFieldPrefix}.HostSdkVersion`,Cr),Al(`${this.eventFieldPrefix}.HostSessionId`,this.hubInfo.sessionId),Al(`${this.eventFieldPrefix}.TelemetrySource`,this.telemetrySource),Al(`${this.eventFieldPrefix}.Platform`,t.app.host.clientType===dr.web?"Web":"Desktop"),Al(`${this.eventFieldPrefix}.HostRingId`,null!==(r=null==t?void 0:t.app.host.ringId)&&void 0!==r?r:"")];this.telemetryLogger=new nc,this.telemetryLogger.setTenantToken(this.namespace,this.ariaTenantToken,this.nexusTenantToken);const a=hv(t.user.dataResidency);if(a){this.oneDsSink=new Fg(o,{endpointUrl:a});const e=new Ug("HubSDKServiceEventThrottler",this.oneDsSink);e.setNamedEventThrottle(`${this.namespace}.${this.sanitizeScenarioName("api.getContext")}`,6),e.setNamedEventThrottle(`${this.namespace}.${this.sanitizeScenarioName("api.registerHandler")}`,5),e.setNamedEventThrottle(`${this.namespace}.${this.sanitizeScenarioName("api.getAuthToken")}`,4),this.oneDsSink.addPreprocessor(e),this.telemetryLogger.telemetrySinks=[this.oneDsSink]}let s=Kl({name:"OfficeAppHostingSdk"});null===(i=this.oneDsSink)||void 0===i||i.addPersistentDataFields(s),this.setAppContext(t),this.isTest=void 0!==window.Cypress||function(){var e;return"undefined"!=typeof process&&void 0!==(null===(e=null===process||void 0===process?void 0:process.env)||void 0===e?void 0:e.JEST_WORKER_ID)}(),this.enableExtendedInitializationTracking=(null==n?void 0:n.enableExtendedInitializationTracking)||!1}createScenario(e,t,n,r,i="monotonic",o){var a,s;const l=n?{type:i,value:n}:Jg();t=null!=t?t:null===(a=this.appDefinition)||void 0===a?void 0:a.id;const c=this.isTest?void 0:this.telemetryLogger.createActivity(this.createTelemetryEvent(e,l.value,t,r)),u=this.shouldCustomTelemetryScenarioReceiveAppInitTelemetry(e)?null===(s=this.customTelemetryService)||void 0===s?void 0:s.createScenario(e,t,l.value,r,l.type):void 0,d=this.shouldLogToAria(e,t);return"appInitialization"==e||"appInitializationExtended"==e?(this.addAppInitializationDataFields(),new pv(this,d,l,u,c,Xg(this.appDefinition),e)):(this.addHubSdkTelemetryScenarioDataFields(l.value,null!=o&&o),new dv(this,d,l,u,c))}shouldCustomTelemetryScenarioReceiveAppInitTelemetry(e){var t,n;return e!==Wg&&(!Kg.has(e)||!Gg(null===(t=this.appDefinition)||void 0===t?void 0:t.id)||null!==(n=qa().shouldCustomTelemetryScenarioReceiveAppInitTelemetry)&&void 0!==n&&n)}addAppInitializationDataFields(){var e,t,n,r,i,o,a,s,l,c,u,d,p,h,f,m;let g=Al(`${this.eventFieldPrefix}.ActionId`,null!==(n=null===(t=null===(e=this.appContext)||void 0===e?void 0:e.actionInfo)||void 0===t?void 0:t.actionId)&&void 0!==n?n:""),v=Al("ManifestVersion",null!==(i=null===(r=this.appDefinition)||void 0===r?void 0:r.manifestVersion)&&void 0!==i?i:""),y=bl("ShowLoadingIndicator",null!==(a=null===(o=this.appDefinition)||void 0===o?void 0:o.showLoadingIndicator)&&void 0!==a&&a),b=bl(uv.CACHEDAPP_IND_FIELD_NAME,null!==(s=this.usingCachedApp)&&void 0!==s&&s),C=bl(uv.BACKGROUND_LOAD_IND_FIELD_NAME,null!==(u=null===(c=null===(l=this.appContext)||void 0===l?void 0:l.page)||void 0===c?void 0:c.isBackgroundLoad)&&void 0!==u&&u);const A=Al("InteractionContext",(Ps(this.appContext)&&this.appDefinition?function(e){if(e.frameContext===pr.sidePanel||e.frameContext===pr.meetingStage||e.frameContext===pr.content)return e.meetingId?"Meeting":e.chatId?"Chat":e.channelId?"Channel":"Personal"}(As(this.appContext,this.appDefinition)):void 0)||"");let S=Cl("UserClickTime",null!==(p=null===(d=this.appContext)||void 0===d?void 0:d.app.userClickTime)&&void 0!==p?p:0),E=Cl("UserClickTimeV2",null!==(f=null===(h=this.appContext)||void 0===h?void 0:h.app.userClickTimeV2)&&void 0!==f?f:0),w=Al("FeatureFlags",JSON.stringify(qa()));null===(m=this.oneDsSink)||void 0===m||m.addPersistentDataFields([g,v,y,b,C,A,S,E,w])}addHubSdkTelemetryScenarioDataFields(e,t){var n;let r=Cl("AppSdkRequestCreationTimeStamp",e),i=bl("IsProxiedFromChild",t);null===(n=this.oneDsSink)||void 0===n||n.addPersistentDataFields([r,i])}static getApiVersionTagForTelemetry(e,t){if(null!=t){if(null==e&&(0,jg.satisfies)(t,uv.TEAMS_JS_LIBRARY_V1))return"v1";if(null==e&&(0,jg.satisfies)(t,`>${uv.TEAMS_JS_LIBRARY_V2_LOWEST_VERSION}`)&&(0,jg.satisfies)(uv.TEAMS_JS_LIBRARY_VERSION_WITH_APIVERSIONTAG,`>${t}`))return"unknown";if(e&&(0,jg.satisfies)(t,`>=${uv.TEAMS_JS_LIBRARY_VERSION_WITH_APIVERSIONTAG}`))return e}return null==e?"undefined_tag":e}setAppSdkVersion(e){this.appSdkVersion=e}getAppSdkVersion(){return this.appSdkVersion}setAppContext(e){var t,n,r,i,o,a,s;let l=this.appContext;if(this.appContext=e,this.oneDsSink){if(Ps(e)&&(!Ps(l)||e.user.id!==l.user.id)){let a,s=!e.user.id;if(s)a=this.anonymousDataFields;else{let l=(null===(n=null===(t=this.appContext.user)||void 0===t?void 0:t.tenant)||void 0===n?void 0:n.id)!==this.consumerTid;a=ql({primaryIdentityHash:null===(r=e.user)||void 0===r?void 0:r.id,primaryIdentitySpace:l?"UserObjectId":"MSAPuid",tenantId:null===(o=null===(i=this.appContext.user)||void 0===i?void 0:i.tenant)||void 0===o?void 0:o.id,tenantGroup:l?"Commercial":"Consumer",isAnonymous:s})}this.oneDsSink.addPersistentDataFields(a)}if(this.appContext.app.sessionId!==(null==l?void 0:l.app.sessionId)){let e=Yl({id:null!==(a=this.appContext.app.sessionId)&&void 0!==a?a:""});this.oneDsSink.addPersistentDataFields(e)}if(this.appContext.app.locale!==(null==l?void 0:l.app.locale)){let e=Al("Culture.UiLanguage",null!==(s=this.appContext.app.locale)&&void 0!==s?s:"");this.oneDsSink.addPersistentDataFields([e])}}}setAppDefinition(e){this.appDefinition=e}isSessionIdSet(){var e;return!!(null===(e=this.appContext)||void 0===e?void 0:e.app.sessionId)}setUsingCachedApp(e){this.usingCachedApp=e}createTelemetryEvent(e,t,n,r){var i,o,a,s,l,c,u,d,p;const h=[Al("HostedAppId",null!=n?n:""),Al("HostedAppEntityId",null!==(a=null===(o=null===(i=this.appContext)||void 0===i?void 0:i.page)||void 0===o?void 0:o.id)&&void 0!==a?a:""),Al(uv.APPSDK_VERSION_FIELD_NAME,null!==(s=this.appSdkVersion)&&void 0!==s?s:""),Al(uv.APPSDK_API_VERSION_TAG_FIELD_NAME,uv.getApiVersionTagForTelemetry(r,this.appSdkVersion)),Al("HostedAppFrameContext",null!==(u=null===(c=null===(l=this.appContext)||void 0===l?void 0:l.page)||void 0===c?void 0:c.frameContext)&&void 0!==u?u:""),Al("HostedAppSessionId",null!==(p=null===(d=this.appContext)||void 0===d?void 0:d.app.sessionId)&&void 0!==p?p:"")];return{eventName:`${this.namespace}.${this.sanitizeScenarioName(e)}`,eventFlags:{dataCategories:2,diagnosticLevel:110},dataFields:h,timestamp:t}}sanitizeScenarioName(e){let t="",n=!0;for(let r=0;r<e.length;r++){let i=e.charAt(r);"."===i&&0!==r&&"."!==t.charAt(t.length-1)?(t+=i,n=!0):this.letterRegex.test(i)?n?(n=!1,t+=i.toUpperCase()):t+=i:n=!0}return t}isAppStoreAppId(e){return!qa().disableExtendedTelemetryForMetaOSStoreApps&&!!e&&ma.has(e)}shouldLogToAria(e,t){return!e.startsWith("eventDispatch")&&("appInitializationExtended"!==e||this.isAppStoreAppId(t))}}uv.TEAMS_JS_LIBRARY_V1="1.x",uv.TEAMS_JS_LIBRARY_V2_LOWEST_VERSION="2.0.0-beta.0",uv.TEAMS_JS_LIBRARY_VERSION_WITH_APIVERSIONTAG="2.21.0",uv.APPSDK_VERSION_FIELD_NAME="HostedAppSdkVersion",uv.APPSDK_API_VERSION_TAG_FIELD_NAME="HostedAppSdkApiVersionTag",uv.APPSDK_APP_INIT_STATE_TRANSITION_FIELD_NAME="HostedAppSdkAppInitStateTransition",uv.CACHEDAPP_IND_FIELD_NAME="UsingCachedApp",uv.APP_TERMINATE_REASON="HostedAppTerminateReason",uv.BACKGROUND_LOAD_IND_FIELD_NAME="IsBackgroundLoad",uv.WEB_CONTENT_SDK_ID="WebContentSdkId",uv.COMM_BRIDGE_ID="CommunicationBridgeId",uv.COMM_BRIDGE_LISTENERS_ADDED="CommunicationBridgeListenersAdded",uv.IFRAME_SRC="IFrameInfoSrc",uv.IFRAME_ORIGIN="IFrameOrigin",uv.APP_DEFINITION="AppDefinition",uv.USER_CLICK_TIME="UserClickTime",uv.USER_CLICK_TIME_V2="UserClickTimeV2",uv.APP_STATE_UPDATED="AppStateUpdated";class dv{constructor(e,t,n,r,i,o){var a;this.logger=e,this.shouldLogToAria=t,this.initialTimestamp=n,this.customScenario=r,this.activity=i,this.name=o,this.lastMark=qa().useGlobalMonotonicTimersForTelemetry?n:{type:(a=n).type,value:nv()-1e3*(Date.now()-a.value)}}addOrUpdateActivityDataField(e,t){var n,r,i,o,a,s,l;let c=null===(n=this.activity)||void 0===n?void 0:n.dataFields.find((t=>t.name==e));c?c.value=t:"string"==typeof t?null===(i=null===(r=this.activity)||void 0===r?void 0:r.dataFields)||void 0===i||i.push(Al(e,t)):"boolean"==typeof t?null===(a=null===(o=this.activity)||void 0===o?void 0:o.dataFields)||void 0===a||a.push(bl(e,t)):"number"==typeof t&&(null===(l=null===(s=this.activity)||void 0===s?void 0:s.dataFields)||void 0===l||l.push(Cl(e,t)))}addOrUpdateActivityDataFieldForAppInitStateTransition(e){var t,n,r;const i=uv.APPSDK_APP_INIT_STATE_TRANSITION_FIELD_NAME;let o=null===(t=this.activity)||void 0===t?void 0:t.dataFields.find((e=>e.name==i));o?o.value=`${o.value}${e}`:null===(r=null===(n=this.activity)||void 0===n?void 0:n.dataFields)||void 0===r||r.push(Al(i,e))}oldMarkPhase(e,t){var n,r,i;const o=nv(),a=o-this.lastMark.value;t||(this.lastMark.value=o),null===(r=null===(n=this.activity)||void 0===n?void 0:n.dataFields)||void 0===r||r.push(Cl(`Activity.Phase.${e}`,a)),null===(i=this.customScenario)||void 0===i||i.markPhase(e)}markPhase(e,t=!1){var n,r,i;if(!qa().useGlobalMonotonicTimersForTelemetry)return this.oldMarkPhase(e,t);const o=Jg(this.lastMark.type);if(this.lastMark.type!==o.type)return void Ns().log(yr.Warn,"telemetry","The last mark was set to be a monotonic timer without checking for support for the performance API.");const a=(s=o.value-this.lastMark.value,Math.floor(1e3*s));var s;t||(this.lastMark=o),null===(r=null===(n=this.activity)||void 0===n?void 0:n.dataFields)||void 0===r||r.push(Cl(`Activity.Phase.${e}`,a)),null===(i=this.customScenario)||void 0===i||i.markPhase(e)}trackMessageDelay(e,t,n){var r,i;null===(i=null===(r=this.customScenario)||void 0===r?void 0:r.trackMessageDelay)||void 0===i||i.call(r,e,t,n)}stop(){var e,t;void 0===(null===(e=this.activity)||void 0===e?void 0:e.success)&&(this.endActivity(!0),null===(t=this.customScenario)||void 0===t||t.stop())}fail(e){var t,n,r,i;void 0===(null===(t=this.activity)||void 0===t?void 0:t.success)&&(null===(r=null===(n=this.activity)||void 0===n?void 0:n.dataFields)||void 0===r||r.push(Al("ErrorMessage",Rs(e))),this.endActivity(!1),null===(i=this.customScenario)||void 0===i||i.fail(e))}endActivity(e){var t,n;if("appInitialization"==this.name){const e=JSON.stringify(function(){const e=Object.assign({},ov);return function(){w(this,void 0,void 0,(function*(){lv=!0;for(const e in ov)ov.hasOwnProperty(e)&&(ov[e]=0);for(const e in sv)sv.hasOwnProperty(e)&&delete sv[e];yield new Promise((e=>setTimeout(e,0))),lv=!1}))}(),e}());null===(n=null===(t=this.activity)||void 0===t?void 0:t.dataFields)||void 0===n||n.push(Al("AppLoadingBreakdown",null!=e?e:""))}this.shouldLogToAria&&this.activity&&this.logger.isSessionIdSet()&&(this.activity.success=e,this.activity.endNow())}addDetails(e){var t,n;null===(n=null===(t=this.customScenario)||void 0===t?void 0:t.addDetails)||void 0===n||n.call(t,e)}getCustomScenario(){return this.customScenario}}class pv extends dv{constructor(e,t,n,r,i,o,a){super(e,t,n,r,i,a),this.logger=e,this.shouldLogToAria=t,this.initialTimestamp=n,this.customScenario=r,this.activity=i,this.isFirstParty=o,this.name=a}fail(e,t){var n,r,i;null===(r=null===(n=this.activity)||void 0===n?void 0:n.dataFields)||void 0===r||r.push(Al("ErrorMessage",Rs(e))),this.endActivity(!1),null===(i=this.customScenario)||void 0===i||i.fail(this.isFirstParty&&t?e.concat(":",t):e)}markWarnMessage(e){var t,n;null===(n=null===(t=this.activity)||void 0===t?void 0:t.dataFields)||void 0===n||n.push(Al("WarnMessage",Rs(e)))}}const hv=e=>{switch(e){case za.EUDB:return zg.EUDB;case za.DOD:return zg.USGOV_DOD;case za.DOJ:return zg.USGOV_DOJ;case za.Public:return zg.PUBLIC;default:return}};function fv(e){var t;return null===(t=null==e?void 0:e.getCustomScenario)||void 0===t?void 0:t.call(e)}class mv{constructor(e){this.logger=e,this.id=new ar,this.MAX_DEPTH_OF_CHILD_IFRAME=6,this.getOrigin=()=>this.origin,this.getFrame=()=>this.frame}setOrigin(e){this.origin=e}onSdkInitialized(e){this.hostEventListener&&this.dispose(),this.hostEventListener=new br(e),this.hostEventListener.addListener("message",this.onMessageReceived.bind(this))}onSetFrameAndLoadOrigin(e,t,n,r,i){this.frame=e,this.setOrigin(t),this.appDefinition=n,this.appContext=r,this.handleMessageCallbackIframe=i}postMessage(e,t){const n=this.getOrigin();n&&e.contentWindow?e.contentWindow.postMessage(t,n):this.logger.log(yr.Error,"IframeCommunicationBridge","Error sending message to iframe")}postMessageWithTransferables(e,t,n){const r=this.getOrigin();r&&e.contentWindow?e.contentWindow.postMessage(t,r,n):this.logger.log(yr.Error,"IframeCommunicationBridge","Error sending message to iframe with transferables")}postMessageToNestedIframe(e,t){const{func:n="null",source:r,origin:i}=null!=t?t:{};zs.has(n)&&(r&&i&&!r.closed?r.postMessage(e,i):this.logger.log(yr.Error,"IframeCommunicationBridge","Error sending message to nested iframe"))}isEmbeddedRequest(e,t=0){var n;return e===(null===(n=this.frame)||void 0===n?void 0:n.contentWindow)||!(t>this.MAX_DEPTH_OF_CHILD_IFRAME||!(null==e?void 0:e.parent))&&this.isEmbeddedRequest(e.parent,t+1)}onMessageReceived(e){var t;if(!this.frame||this.frame.contentWindow!==e.source)return void(this.handleMessageCallbackIframe&&(null===(t=e.data)||void 0===t?void 0:t.func)&&zs.has(e.data.func)&&this.isEmbeddedRequest(e.source)&&this.handleMessageCallbackIframe(il(e,!0)));const n=e.origin;n&&n!==this.getOrigin()&&Ya(n,this.logger,this.appDefinition,this.appContext)&&this.setOrigin(n),this.getOrigin()===n&&this.handleMessageCallbackIframe&&this.handleMessageCallbackIframe(il(e,!1))}dispose(){var e;null===(e=this.hostEventListener)||void 0===e||e.removeAllListeners(),this.hostEventListener=void 0}}function gv(e,t,n){var r;if(!e)return;const i=e.createScenario("commBridgeDisposed",n);null===(r=null==i?void 0:i.addOrUpdateActivityDataField)||void 0===r||r.call(i,uv.COMM_BRIDGE_ID,(null==t?void 0:t.toString())||"unknown"),null==i||i.stop()}const vv="allow-forms allow-popups allow-popups-to-escape-sandbox allow-pointer-lock allow-scripts allow-same-origin allow-modals allow-downloads allow-top-navigation-to-custom-protocols allow-storage-access-by-user-activation",yv=({sdkHost:e,contentUrl:t,frameContext:n,appDefinition:r,title:i,isLoading:o,userClickTime:a,userClickTimeV2:s,allowList:c})=>{const u=l.useRef(null);return l.useEffect((()=>(w(void 0,void 0,void 0,(function*(){yield e.setFrameAndLoadOrigin(u.current,t,r,a,void 0,s)})),()=>{e.unloadApp(r,"host_cleanup")})),[r,t,n,u,e,a,s]),l.createElement("iframe",{key:`iframe-${t}`,id:`iframe:${r.id}`,"data-tid":"app-host-iframe",ref:u,style:o?Object.assign({},{display:"none"}):Object.assign({},{border:0,flex:1}),sandbox:vv,title:i,allow:c})},bv=(e,t,n,r=window)=>{const i=(0,l.useCallback)((()=>{if(n.current&&t.current){const i=t.current.style,o=e?"none":"flex";if(e)return void(i.display=o);const a=n.current.getBoundingClientRect(),s=r.scrollX||r.pageXOffset,l=r.scrollY||r.pageYOffset;i.position="absolute",i.left=`${a.left+s}px`,i.top=`${a.top+l}px`,i.width=`${n.current.offsetWidth}px`,i.height=`${n.current.offsetHeight}px`,i.display="flex"}}),[e,t,n,t.current,r]);(0,l.useEffect)((()=>{i();const e=function(e){let t=null;return function(...n){t||(t=setTimeout((()=>((n,r)=>{t=null,e.apply(n,r)})(this,n)),100))}}(i);return r.addEventListener("resize",e),()=>{r.removeEventListener("resize",e)}}),[i,r])},Cv=({sdkHost:e,contentUrl:t,appDefinition:n,title:r,isLoading:i,userClickTime:o,userClickTimeV2:a,allowList:s,cacheManagementService:c,communicationBridge:u,setIsUnLoading:d})=>{const p=l.useRef(!1),h=l.useRef(null),f=l.useRef(null),m=l.useRef(!1),[g,v]=l.useState(!1),y=((e,t,n,r,i,o,a,s,c,u)=>l.useCallback((()=>w(void 0,void 0,void 0,(function*(){e.current=document.createElement("iframe"),u(!0),e.current.setAttribute("id",`cacheable-iframe:${t.id}`),e.current.setAttribute("data-tid","app-host-iframe"),e.current.setAttribute("title",null!=n?n:""),e.current.setAttribute("sandbox",vv),e.current.setAttribute("style","border:0"),e.current.setAttribute("key",`iframe-${i}`),document.body.appendChild(e.current);const l={appId:t.id,contentUrl:i,displayName:n,frameContext:pr.content};c.addAppToCache(l,s,e.current),yield r.setFrameAndLoadOrigin(e.current,i.toString(),t,o,!1,a)}))),[e,u,t,n,i,c,s,r,o,a]))(h,n,r,e,t,o,a,u,c,v),b=l.useCallback((e=>{const t=c.getCachedApp(e);return t&&t.currentAppState.state!==Da.Cached?(d(!0),t.unloadingTimeoutDeferred||(t.unloadingTimeoutDeferred=function(){const e={};return e.promise=new Promise(((t,n)=>{e.resolve=t,e.reject=n})),e}()),t.unloadingTimeoutDeferred.promise):Promise.resolve(!0)}),[c,d]);return l.useEffect((()=>{p.current=!1}),[n,t]),l.useEffect((()=>()=>{h.current&&(h.current.style.display="none")}),[n,t,h]),l.useEffect((()=>(m.current=!0,w(void 0,void 0,void 0,(function*(){if(p.current)return;p.current=!0;const r={appId:n.id,frameContext:pr.content};let i=c.getCachedApp(r);const s=i=>w(void 0,void 0,void 0,(function*(){if(!i)return;d(!1);const s=c.getCachedApp(r);s?e.setFrameAndLoadOrigin(s.frameInfo,t,n,o,!0,a):y()}));if(i&&c.isAppRegisteredForCaching(i)){if(h.current=i.frameInfo,v(!0),!m.current)return;const e=yield b(r);yield s(e)}else{const e=yield b(r);yield s(e)}})),()=>{e.unloadApp(n,"host_cleanup"),m.current=!1,p.current=!1,h.current=null,v(!1)})),[c,n,e,t,o,a,m,b,d,y]),l.useEffect((()=>{h.current&&s&&h.current.setAttribute("allow",s)}),[n,s,h,g]),bv(i,h,f),l.createElement((()=>l.createElement("div",{ref:f,style:{border:0,flex:1},id:"cachable-div-container"})),null)},Av=({isolationProvider:e,hostProps:t,errorUI:n,appHostSdk:r})=>{const i=l.useRef(null);return l.useEffect((()=>()=>{r.unloadApp(t.appDefinition,"component_unmount")}),[r,t.appDefinition,t.contentUrl]),l.createElement("div",{id:"isolation-provider-container",ref:i,style:{flex:1,display:"flex",flexDirection:"column"}},n(),e.renderHost(t))};var Sv,Ev,wv,xv,Iv,kv;!function(e){e.Unknown="Unknown",e.Windows="Windows",e.iOS="iOS",e.Android="Android",e.Linux="Linux",e.tvOS="tvOS",e.MacOS="MacOS"}(Sv||(Sv={})),function(e){e.Unknown="Unknown",e.EXO="EXO",e.SPO="SPO",e.OXO="OXO",e.MileIQ="MileIQ",e.AFS="AFS",e.Teams="Teams",e.Stream="Stream",e.ODB="ODB",e.MicrosoftPowerBI="MicrosoftPowerBI",e.Yammer="Yammer"}(Ev||(Ev={})),function(e){e.NotSpecified="NotSpecified",e.User="User",e.System="System"}(wv||(wv={})),function(e){e.Unknown="Unknown",e.Anonymous="Anonymous",e.AAD="AAD",e.MSA="MSA",e.Self="Self"}(xv||(xv={})),function(e){e.Unknown="Unknown",e.AccessControlData="AccessControlData",e.CustomerContent="CustomerContent",e.EUII="EUII",e.OII="OII",e.AccountData="OII",e.SystemMetaData="SystemMetaData"}(Iv||(Iv={})),function(e){e.ApplicationEngaged="ApplicationEngaged"}(kv||(kv={}));class Tv{constructor(e,t,n){var r,i,o;this.appSdkHost=e,this.hubServices=t,this.appContext=n,this.getDefaultSignalAuthToken=()=>w(this,void 0,void 0,(function*(){var e;if(!(null===(e=this.hubServices.authenticationService)||void 0===e?void 0:e.acquireToken))throw new Error("Cancelled since service is not available.");const t=yield this.hubServices.authenticationService.acquireToken(Tv.DEFAULT_SIGS_RESOURCE_URL,void 0,!0);if(t&&t.token)return t.token;throw new Error("Empty token response.")})),this.delay=e=>new Promise((t=>{var n;setTimeout(t,Math.pow(null!==(n=this.jestDelay)&&void 0!==n?n:100,e))}));const a=this.appSdkHost.getAppDefinition();this.actorInfo={ActorId:xv.Self,ActorIdType:xv.Self,ActorType:wv.User,AadTenantId:xv.Self},this.applicationInfo={AppName:"",AadAppId:null!==(r=null==a?void 0:a.id)&&void 0!==r?r:"",Workload:this.getWorkLoad(null===(i=this.appContext)||void 0===i?void 0:i.app.host.name)},this.deviceInfo={Os:this.getOs(),UserAgent:window.navigator.userAgent},this.commonCustomProperties={HubName:null===(o=this.appContext)||void 0===o?void 0:o.app.host.name,MetaOSHubSDKVersion:Cr}}createSignal(e){return{SignalType:e.signalType,Compliance:Iv.CustomerContent,CV:this.appContext.app.sessionId,StartTime:this.getDateTime(e.startTime),EndTime:this.getDateTime(e.endTime),Application:Object.assign({},this.applicationInfo),Actor:Object.assign({},this.actorInfo),Device:Object.assign({},this.deviceInfo),CustomProperties:Object.assign(Object.assign({},this.commonCustomProperties),e.customProperties)}}getDateTime(e){return e&&e>0?new Date(e):new Date}getWorkLoad(e){switch(e){case sr.office||sr.outlookWin32||sr.office:return Ev.OXO;case sr.teams||sr.teamsModern:return Ev.Teams;default:return Ev.Unknown}}getOs(){let e="Unknown";if(window&&window.navigator.userAgent){let t=window.navigator.userAgent;-1!=t.indexOf("Windows")?e="Windows":-1!=t.indexOf("Mac OS")?e="MacOS":-1!=t.indexOf("Android")?e="Android":-1!=t.indexOf("Linux")?e="Linux":/iPad|iPhone|iPod/.test(t)&&(e="iOS")}return e}sendSignal(e,t){return new Promise(((n,r)=>w(this,void 0,void 0,(function*(){if(t)n(this.postSignalWithRetry(e,t,1));else try{const t=yield this.getDefaultSignalAuthToken();n(this.postSignalWithRetry(e,t,1))}catch(e){r(e)}}))))}postSignalWithRetry(e,t,n){return n>Tv.RETRY_LIMIT?Promise.reject("Retry Limit reached. Unable to send Signal."):fetch(Tv.SIGS_ENDPOINT,{method:"POST",body:JSON.stringify(e),headers:{"Content-Type":"application/json","X-SignalInstanceId":e.CV,Authorization:"Bearer "+t}}).catch((e=>Promise.reject(e))).then((r=>w(this,void 0,void 0,(function*(){return r&&r.ok?Promise.resolve(e.CV):r&&Tv.RETRY_CODES.has(r.status)?(yield this.delay(n),this.postSignalWithRetry(e,t,++n)):Promise.reject(r)}))))}}function _v(e,t,n){return w(this,void 0,void 0,(function*(){try{let n=yield e.getAppContext();if(n.page.frameContext!=pr.authentication){const r=new Tv(e,t,n),i=r.createSignal({signalType:kv.ApplicationEngaged,startTime:e.getUserClickTime(),endTime:Date.now()});let o=yield r.sendSignal(i);e.getLogger().log(yr.Debug,"sendAppEngageSignal","Successfully posted the signal",o)}}catch(t){let r=t;if("status"in t){r=t.status+"";const e=null==n?void 0:n.createScenario("sigsSendSignalFailure");null==e||e.fail(r)}e.getLogger().log(yr.Error,"sendAppEngageSignal","Error occurred while sending substrate signal",r)}}))}function Pv(e,t){Dv(e,t),Bv(e,t)}function Dv(e,t){if(function(e){return/<script[^>]*>[\s\S]*?<\/script[^>]*>/gi.test(e)}(e)||!function(e){for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);if(n<32||n>126)return!1}return!0}(e))throw null!=t?t:qs(Ba.INVALID_ARGUMENTS,"App ID is not valid.")}function Bv(e,t){if(!function(e){return e.length<256&&e.length>4}(e))throw null!=t?t:qs(Ba.INVALID_ARGUMENTS,"App ID is not valid.")}Tv.SIGS_ENDPOINT="https://substrate.office.com/sigsapi/v1.0/Me/Signals",Tv.RETRY_LIMIT=2,Tv.RETRY_CODES=new Set([503]),Tv.DEFAULT_SIGS_RESOURCE_URL="https://outlook.office.com";class Rv{constructor(e){this.idAsString=e,Dv(e)}toString(){return this.idAsString}get id(){return this.idAsString}}class Mv extends Rv{constructor(e){super(e),Bv(e)}toJSON(){return{appIdAsString:this.toString()}}}class Lv{constructor(e,t){this.appSdkHost=e,this.telemetryService=t,this.handlers={},this.appDefinition=this.appSdkHost.getAppDefinition(),this.isTelemetryHandledByExecutor=!1}registerHandler(e,t,n){var r;this.handlers[e]=Yg({callback:t,scenarioName:null!==(r=null==n?void 0:n.scenarioName)&&void 0!==r?r:$g[e],errorCallback:null==n?void 0:n.errorCallback,callbackFixedArgsLength:null==n?void 0:n.callbackFixedArgsLength,isRestrictedToFirstPartyOrLobApps:null==n?void 0:n.isRestrictedToFirstPartyOrLobApps,isRestrictedToFullTrustApps:null==n?void 0:n.isRestrictedToFullTrustApps,isRestrictedToFullTrustOrLobApps:null==n?void 0:n.isRestrictedToFullTrustOrLobApps,isRestrictedToMicrosoftOwnedApps:null==n?void 0:n.isRestrictedToMicrosoftOwnedApps,isRestrictedToMicrosoftOwnedOrFullTrustApps:null==n?void 0:n.isRestrictedToMicrosoftOwnedOrFullTrustApps})}deleteMessageHandling(e){delete this.handlers[e]}canHandleMessage(e){return this.validateInitialization(e)&&void 0!==this.handlers[e]}isAnAuthUXScenario(e){return e===$g[Tr]}canPassScenarioToHandler(e){return e===$g[Tr]||e===$g[Qr]||e===$g[ei]||e===$g[ti]||e===$g[ni]||e===$g[ai]||e===$g[ii]||e===$g[oi]||e===$g[si]||e===$g[Gr]||e===$g[Kr]||e===$g[Yr]||e===$g[Xr]||e===$g[Jr]||e===$g[ao]||e===$g[Ir]}handleMessage(e,t,n,r,i){var o,a,s,l,c,u,d,p;return w(this,void 0,void 0,(function*(){if(!this.validateInitialization(t))return Promise.reject("SDK context is not initialized");if(!this.canHandleMessage(t))return Promise.reject(`Handler cannot handle message: ${t}`);const h=null!==(o=this.handlers[t].callbackFixedArgsLength)&&void 0!==o?o:n.length;n.push(...Array(Math.max(0,h-n.length)).fill(void 0)),this.trackMessageDelayForAppInitAPIs(t,r);const f=this.handlers[t];let m=this.createTelemetryScenario(t,f,n,e,r,i);try{if(f.isRestrictedToFullTrustApps&&!(null===(a=this.appSdkHost.getAppDefinition())||void 0===a?void 0:a.isFullTrust))throw qs(Ba.INTERNAL_ERROR,wa);if(f.isRestrictedToMicrosoftOwnedApps&&!(null===(s=this.appSdkHost.getAppDefinition())||void 0===s?void 0:s.isMicrosoftOwned))throw qs(Ba.INTERNAL_ERROR,wa);if(f.isRestrictedToFullTrustOrLobApps&&!(null===(l=this.appSdkHost.getAppDefinition())||void 0===l?void 0:l.isFullTrust)&&!(null===(c=this.appSdkHost.getAppDefinition())||void 0===c?void 0:c.isLOB))throw qs(Ba.INTERNAL_ERROR,wa);if(f.isRestrictedToFirstPartyOrLobApps&&!Xg(this.appSdkHost.getAppDefinition())&&!(null===(u=this.appSdkHost.getAppDefinition())||void 0===u?void 0:u.isLOB))throw qs(Ba.INTERNAL_ERROR,wa);if(f.isRestrictedToMicrosoftOwnedOrFullTrustApps&&!(null===(d=this.appSdkHost.getAppDefinition())||void 0===d?void 0:d.isFullTrust)&&!(null===(p=this.appSdkHost.getAppDefinition())||void 0===p?void 0:p.isMicrosoftOwned))throw qs(Ba.INTERNAL_ERROR,wa);if(!this.appSdkHost.checkIfCachedAndRequestAllowed(t))throw"Request not allowed when cached";this.validateDependencies(t);const e=yield f.callback.apply(this,n);return this.isAnAuthUXScenario(f.scenarioName)||null==m||m.stop(),e}catch(e){const t=rl(e);return this.appSdkHost.getLogger().log(yr.Error,"handleMessage","Error in handling message",t),f.errorCallback?f.errorCallback(e,m):(null==m||m.fail(t),Promise.reject(e))}}))}createTelemetryScenario(e,t,n=[],r,i,o){var a;const s=t.scenarioName,l=null===(a=this.appDefinition)||void 0===a?void 0:a.id;if(this.isTelemetryHandledByExecutor||!s||function(e,t){return qg.has(e)&&!Gg(t)}(e,l))return;const c=this.telemetryService.createScenario(s,l,null==i?void 0:i.value,r,null==i?void 0:i.type,o);return i&&c.markPhase("MessageDelay"),this.canPassScenarioToHandler(s)&&n.push(c),c}validateInitialization(e){return e===vi||this.appSdkHost.isInitialized()}trackMessageDelayForAppInitAPIs(e,t){}validateDependencies(e){}cleanup(){}}function Ov(e,t){const n=Object.assign({},e);return t.forEach((e=>delete n[e])),n}const Fv=[{versionToDowngradeFrom:4,downgradeToPreviousVersion:e=>{var t,n,r,i,o;return{apiVersion:3,hostVersionsInfo:e.hostVersionsInfo,supports:Object.assign(Object.assign({},e.supports),{dialog:e.supports.dialog?{url:(null===(t=e.supports)||void 0===t?void 0:t.dialog.url)?(null===(r=null===(n=e.supports)||void 0===n?void 0:n.dialog.url)||void 0===r?void 0:r.bot)?{bot:{}}:{}:void 0,card:null===(i=e.supports.dialog)||void 0===i?void 0:i.card,update:null===(o=e.supports.dialog)||void 0===o?void 0:o.update}:void 0})}}},{versionToDowngradeFrom:3,downgradeToPreviousVersion:e=>({apiVersion:2,hostVersionsInfo:e.hostVersionsInfo,supports:Ov(e.supports,["clipboard","webStorage"])})},{versionToDowngradeFrom:2,downgradeToPreviousVersion:e=>{var t,n,r,i,o;return{apiVersion:1,supports:Object.assign(Object.assign({},e.supports),{dialog:e.supports.dialog?{bot:null===(r=null===(n=null===(t=e.supports)||void 0===t?void 0:t.dialog)||void 0===n?void 0:n.url)||void 0===r?void 0:r.bot,card:null===(i=e.supports.dialog)||void 0===i?void 0:i.card,update:null===(o=e.supports.dialog)||void 0===o?void 0:o.update}:void 0})}}}],Nv=(e,t,n=Fv)=>{if(e.apiVersion<=t)return e;let r=e;for(let e of n)if(r.apiVersion===e.versionToDowngradeFrom&&(r=e.downgradeToPreviousVersion(r)),r.apiVersion<=t)break;return r},Hv="App failed to call initialize(). Immediate or Loading Screen apps are required to call app.initialize().",zv="App failed to call notifySuccess(). Loading screen apps are required to call app.notifySuccess() when the app is loaded.";var Vv,Uv;!function(e){e[e.initialAppInitializationTimerExpiration=1]="initialAppInitializationTimerExpiration",e[e.extendedAppInitializationTimerExpiration=2]="extendedAppInitializationTimerExpiration"}(Vv||(Vv={}));class jv extends Lv{constructor(e,t,n,r,i,o,a){var s,l,c,u,d,p,h;super(e,n),this.appSdkHost=e,this.hubServices=t,this.telemetryService=n,this.hostVersionsInfo=r,this.usingCachedApp=i,this.isNAAChannelRecommended=o,this.originsToBlock=a,this.initializationStatusReported=!1,this.appInitializationScenarioAlreadyStopped=!1,this.getOCDIWarning=()=>{var e;const t=null===(e=this.telemetryService)||void 0===e?void 0:e.getAppSdkVersion();return ks(window.location.href)&&t&&Ts(t,Ta)?_a:""},this.startTimerToWaitForInitializeCallFromApp=()=>this.usingCachedApp?window.setTimeout((()=>{var e,t,n;this.failAppInitializationScenario("Cached app load timed out"),null===(e=this.extendedAppInitializationScenario)||void 0===e||e.fail("Cached app load timed out"),this.appSdkHost.setAppInitInfo({state:Da.Failed,reason:ca.CachedAppLoadTimedOut,appSdkVersion:null===(t=this.telemetryService)||void 0===t?void 0:t.getAppSdkVersion()}),null===(n=this.hubServices.logger)||void 0===n||n.log(yr.Error,"Error Screen Reason",zv+this.getOCDIWarning())}),this.timeToWaitForStateTransitionsInMs):this.isLoadingScreenApp()?window.setTimeout((()=>{this.onInitializeCallTimedOutForLoadingScreenApp()}),this.timeToWaitForStateTransitionsInMs):window.setTimeout((()=>{this.onInitializeCallTimedOutForImmediateApp()}),this.timeToWaitForStateTransitionsInMs),this.stopAppInitializationScenario=()=>{var e;this.stopInitializeStateTransitionTimer(),null===(e=this.appInitializationScenario)||void 0===e||e.stop(),this.appInitializationScenarioAlreadyStopped=!0},this.failAppInitializationScenario=(e,t)=>{var n;this.stopInitializeStateTransitionTimer(),null===(n=this.appInitializationScenario)||void 0===n||n.fail(e,t)},this.stopInitializeStateTransitionTimer=()=>{window.clearTimeout(this.initStateTransitionTimerId)},this.recordInitializationDoubleStopAttempt=e=>{const t=this.telemetryService.createScenario("initializationDoubleStopAttempt");t.addOrUpdateActivityDataField("doubleInitEndAttemptCodeLocation",e),t.stop()},this.appSdkHost.startAppInitializationScenario(),this.appInitializationScenario=null===(s=this.appSdkHost)||void 0===s?void 0:s.getAppInitializationScenario(),null===(l=this.appInitializationScenario)||void 0===l||l.markPhase("ClickToBeginLoad"),this.logTelemetryForAppSdkLoaded(),this.isShowLoadingIndicatorEnabled=(null===(c=e.getAppDefinition())||void 0===c?void 0:c.showLoadingIndicator)||!1,this.forceAppToBeLoadingScreenApp=null!==(u=qa().resetTimerWhenInitCalledAndWaitForNotifySuccess)&&void 0!==u&&u,null===(d=this.appInitializationScenario)||void 0===d||d.addOrUpdateActivityDataField("resetTimerFlag",this.forceAppToBeLoadingScreenApp),this.recordCachingServiceState();const f=null===(p=this.appSdkHost.getAppDefinition())||void 0===p?void 0:p.id,m=null===(h=this.telemetryService)||void 0===h?void 0:h.enableExtendedInitializationTracking,g=f&&ma.has(f);(m||g)&&(this.extendedAppInitializationScenario=this.createExtendedAppInitTelemetry(f)),this.timeToWaitForStateTransitionsInMs=this.isLoadingScreenApp()?this.getTimeoutValueForLoadingScreenAppInMills():this.getTimeoutValueForImmediateAppInMills(),this.initStateTransitionTimerId=this.startTimerToWaitForInitializeCallFromApp()}recordCachingServiceState(){var e,t;null===(e=this.appInitializationScenario)||void 0===e||e.addOrUpdateActivityDataField("isLifecycleServiceProvided",!!this.hubServices.lifecycleService),null===(t=this.appInitializationScenario)||void 0===t||t.addOrUpdateActivityDataField("isCacheManagementServiceProvided",!!this.hubServices.cacheManagementService)}createExtendedAppInitTelemetry(e){var t;const n=null===(t=this.telemetryService)||void 0===t?void 0:t.createScenario("appInitializationExtended",e);return null==n||n.markPhase("ClickToBeginLoad"),null==n||n.addOrUpdateActivityDataField("resetTimerFlag",this.forceAppToBeLoadingScreenApp),n}initHandlers(){this.registerHandler(vi,this.onInitializeCalled),this.registerHandler(gi,this.getContext,{errorCallback:this.onGetContextError}),this.registerHandler(Do,this.readyToUnload),this.registerHandler(Ar,this.onNotifyAppLoadedCalled),this.registerHandler(wr,this.onNotifySuccessCalled),this.registerHandler(Er,this.onNotifyFailureCalled),this.registerHandler(Sr,this.onNotifyExpectedFailureCalled)}getTimeoutValueForImmediateAppInMills(){var e;const t=function(){const e=qa().overrideForEachInitStateChangeTimeoutsInMs;return null!=e?e:3e4}();return null!=qa().overrideForEachInitStateChangeTimeoutsInMs&&(null===(e=this.hubServices.logger)||void 0===e||e.log(yr.Info,"Feature Flag overrideForEachInitStateChangeTimeoutsInMs",`Using timeout for immediate app: ${t} milliseconds`)),t}getTimeoutValueForLoadingScreenAppInMills(){var e,t;const n=function(){const e=qa().extendedAppLoadTimeoutInMillis,t=qa().overrideForEachInitStateChangeTimeoutsInMs;return null!=t?t:null!=e?e:45e3}();return null!=qa().overrideForEachInitStateChangeTimeoutsInMs&&(null===(e=this.hubServices.logger)||void 0===e||e.log(yr.Info,"Feature Flag overrideForEachInitStateChangeTimeoutsInMs",`Using timeout for loading screen app: ${n} milliseconds`)),null!=qa().extendedAppLoadTimeoutInMillis&&(null===(t=this.hubServices.logger)||void 0===t||t.log(yr.Info,"Feature Flag extendedAppLoadTimeoutInMillis",`Using timeout for loading screen app: ${n} milliseconds`)),n}isLoadingScreenApp(){return this.forceAppToBeLoadingScreenApp||this.isShowLoadingIndicatorEnabled}updateTelemetryDataFieldAppSdkVersion(e,t){t.forEach((t=>{null==t||t.addOrUpdateActivityDataField(uv.APPSDK_VERSION_FIELD_NAME,e)}))}updateTelemetryDataFieldAppSdkApiVersionTag(e,t,n){const r=e.data.apiVersionTag;n.forEach((e=>{null==e||e.addOrUpdateActivityDataField(uv.APPSDK_API_VERSION_TAG_FIELD_NAME,uv.getApiVersionTagForTelemetry(r,t))}))}updateTelemetryDataFieldUsingCachedApp(e){e.forEach((e=>{var t;null==e||e.addOrUpdateActivityDataField(uv.CACHEDAPP_IND_FIELD_NAME,null!==(t=this.usingCachedApp)&&void 0!==t&&t)}))}updateAppInitializationScenarioFields(e,t){this.updateTelemetryDataFieldAppSdkVersion(e,[this.appInitializationScenario,this.extendedAppInitializationScenario]),this.updateTelemetryDataFieldAppSdkApiVersionTag(t,e,[this.appInitializationScenario,this.extendedAppInitializationScenario]),this.updateTelemetryDataFieldUsingCachedApp([this.appInitializationScenario,this.extendedAppInitializationScenario])}markTelemetryForAppInitializationPhases(e,t,n){var r,i;null===(r=this.appInitializationScenario)||void 0===r||r.markPhase(e),null===(i=this.extendedAppInitializationScenario)||void 0===i||i.markPhase(e),this.telemetryService.setAppSdkVersion(t),this.updateAppInitializationScenarioFields(t,n)}trackMessageDelayForAppInitAPIs(e,t){var n,r,i,o;if(qg.has(e)&&t){const a=av(e,t),s=qg.get(e);if(!s)return void console.warn(`${s} is undefined in applicationInitializationAPIs`);cv(rv.Start,`${s}MessageProcessTime_ms`),null===(r=null===(n=this.appInitializationScenario)||void 0===n?void 0:n.trackMessageDelay)||void 0===r||r.call(n,s,t,a),null===(o=null===(i=this.extendedAppInitializationScenario)||void 0===i?void 0:i.trackMessageDelay)||void 0===o||o.call(i,s,t,a)}}onInitializeCalled(e,t,n,r){var i,o,a,s,l,c;this.markTelemetryForAppInitializationPhases("BeginLoadToInitialized",t,e);const u=null===(i=this.originsToBlock)||void 0===i?void 0:i.isOriginBlocked(new Mv(null!==(a=null===(o=this.appDefinition)||void 0===o?void 0:o.id)&&void 0!==a?a:""),r||[]);if(this.originsToBlock&&!(null==u?void 0:u.isOriginValid))return this.onNotifyFailureCalled(new MessageEvent(""),ca.Validation_InvalidDomains,null==u?void 0:u.message),Js(null==u?void 0:u.message);n||(n=1),this.appSdkHost.setInitialized(!0);const d=this.appSdkHost.getHubInfo();let p=this.constructHubConfig(d);var h;(null===(s=p.hostVersionsInfo)||void 0===s?void 0:s.appEligibilityInformation)&&(null===(l=p.supports.copilot)||void 0===l?void 0:l.eligibility)&&(null===(c=this.hubServices.logger)||void 0===c||c.log(yr.Warn,"AppEligibilityInformation from host","Host has provided appEligibilityInformation AND ICopilotEligibilityService. Only one of these should be provided.")),h=n<p.apiVersion?Nv(p,n):p;const f=[this.appSdkHost.getFrameContext(),this.appSdkHost.getHubInfo().clientType,"2.0.0",JSON.stringify(h)];return cv(rv.End,iv.InitializeMessageProcessTime),this.isLoadingScreenApp()?(this.stopInitializeStateTransitionTimer(),this.initStateTransitionTimerId=window.setTimeout((()=>{var e,t,n,r;this.appInitializationScenarioAlreadyStopped?(this.recordInitializationDoubleStopAttempt(Vv.extendedAppInitializationTimerExpiration),this.appSdkHost.setAppInitInfo({state:Da.Loaded,appSdkVersion:null===(e=this.telemetryService)||void 0===e?void 0:e.getAppSdkVersion()})):(this.failAppInitializationScenario(zv),null===(t=this.extendedAppInitializationScenario)||void 0===t||t.fail(zv),this.appSdkHost.setAppInitInfo({state:Da.Failed,reason:ca.AppInitTimeout,appSdkVersion:null===(n=this.telemetryService)||void 0===n?void 0:n.getAppSdkVersion()})),null===(r=this.hubServices.logger)||void 0===r||r.log(yr.Error,"Error Screen Reason",zv+this.getOCDIWarning())}),this.timeToWaitForStateTransitionsInMs)):(this.appSdkHost.setAppInitInfo({state:Da.Loaded,appSdkVersion:t}),this.stopAppInitializationScenario(),qa().createAndSendSignalsToSubstrate&&_v(this.appSdkHost,this.hubServices,this.telemetryService)),Js(f)}getUpdatedHostVersionsInfo(){var e,t,n,r;const i=null!==(t=null===(e=this.appDefinition)||void 0===e?void 0:e.appEligibilityInformation)&&void 0!==t?t:null===(n=this.hostVersionsInfo)||void 0===n?void 0:n.appEligibilityInformation;return!es(this.appDefinition)&&i?(null===(r=this.hubServices.logger)||void 0===r||r.log(yr.Warn,"AppEligibilityInformation from host","App is not a copilot app, so `hostVersionInfo.appEligibilityInformation` is removed before sending the object to teams-js."),Object.assign(Object.assign({},this.hostVersionsInfo),{appEligibilityInformation:void 0})):Object.assign(Object.assign({},this.hostVersionsInfo),{appEligibilityInformation:i})}getContext(){return w(this,void 0,void 0,(function*(){const e=As(yield this.appSdkHost.getAppContext(),this.appDefinition);return Js(e)}))}onGetContextError(e,t){return null==t||t.fail(rl(e)),Js({})}onNotifyAppLoadedCalled(e,t){var n;return w(this,void 0,void 0,(function*(){return this.markTelemetryForAppInitializationPhases("InitializedToAppLoadedInvoked",t,e),this.appSdkHost.setAppInitInfo({state:Da.Loaded,appSdkVersion:null===(n=this.telemetryService)||void 0===n?void 0:n.getAppSdkVersion()}),cv(rv.End,iv.AppLoadedMessageProcessTime),el}))}onNotifySuccessCalled(e,t){var n,r;return w(this,void 0,void 0,(function*(){return this.markInitializationStatusAsReported()?(this.appSdkHost.setAppInitInfo({state:Da.Loaded,appSdkVersion:null===(n=this.telemetryService)||void 0===n?void 0:n.getAppSdkVersion()}),(this.isLoadingScreenApp()||this.usingCachedApp)&&(qa().createAndSendSignalsToSubstrate&&_v(this.appSdkHost,this.hubServices,this.telemetryService),this.telemetryService.setAppSdkVersion(t),this.updateAppInitializationScenarioFields(t,e),cv(rv.End,iv.SuccessMessageProcessTime),this.stopAppInitializationScenario()),null===(r=this.extendedAppInitializationScenario)||void 0===r||r.stop(),Js([null])):Js([null])}))}onNotifyFailureCalled(e,t,n){var r,i;return w(this,void 0,void 0,(function*(){return this.markInitializationStatusAsReported()?(this.isShowLoadingIndicatorEnabled&&(cv(rv.End,iv.FailureMessageProcessTime),this.failAppInitializationScenario(t,n)),this.appSdkHost.setAppInitInfo({state:Da.Failed,reason:t,appSdkVersion:null===(r=this.telemetryService)||void 0===r?void 0:r.getAppSdkVersion()}),null===(i=this.extendedAppInitializationScenario)||void 0===i||i.fail(t,n),el):el}))}onNotifyExpectedFailureCalled(e,t,n){var r,i;return w(this,void 0,void 0,(function*(){if(!this.markInitializationStatusAsReported())return el;this.appSdkHost.setAppInitInfo({state:Da.Loaded,appSdkVersion:null===(r=this.telemetryService)||void 0===r?void 0:r.getAppSdkVersion()});const e="Expected."+t;return this.isShowLoadingIndicatorEnabled&&(cv(rv.End,iv.ExpectedFailureMessageProcessTime),this.failAppInitializationScenario(e,n)),null===(i=this.extendedAppInitializationScenario)||void 0===i||i.fail(e,n),el}))}markInitializationStatusAsReported(){return this.initializationStatusReported?(this.cleanup(),!1):(this.initializationStatusReported=!0,!0)}readyToUnload(){return w(this,void 0,void 0,(function*(){return this.appSdkHost.setAppInitInfo({state:Da.Unloaded}),el}))}cleanup(){this.stopInitializeStateTransitionTimer()}isTeamsCoreSupported(e){return!!this.isTeamsHub(e)||this.isLifeCycleImplemented()&&es(this.appDefinition)}constructHubConfig(e){var t,n,r,i,o,a,s,l,c,u,d,p,h,f,m;return{apiVersion:4,hostVersionsInfo:this.getUpdatedHostVersionsInfo(),canParentManageNAATrustedOrigins:null!==(r=null===(n=null===(t=this.hubServices.nestedAppAuthService)||void 0===t?void 0:t.canParentManageNAATrustedOrigins)||void 0===n?void 0:n.call(t))&&void 0!==r&&r,isDeeplyNestedAuthSupported:null!==(o=null===(i=this.hubServices.nestedAppAuthService)||void 0===i?void 0:i.isDeeplyNestedAuthSupported())&&void 0!==o&&o,isNAAChannelRecommended:null!==(a=this.isNAAChannelRecommended)&&void 0!==a&&a,supports:{app:{notifySuccessResponse:{}},appInstallDialog:this.hubServices.appInstallDialogService?{}:void 0,appEntity:this.hubServices.appEntityService?{}:void 0,barCode:this.hubServices.barCodeService?{}:void 0,calendar:this.hubServices.calendarService?{}:void 0,call:this.hubServices.callService?{}:void 0,chat:this.hubServices.chatService?{}:void 0,clipboard:navigator&&navigator.clipboard?{}:void 0,conversations:this.hubServices.conversationsService?{}:void 0,copilot:es(this.appDefinition)&&this.hubServices.copilotService?{customTelemetry:this.hubServices.copilotService.customTelemetryService?{}:void 0,eligibility:this.hubServices.copilotService.eligibilityService?{}:void 0}:void 0,dialog:this.hubServices.dialogService?{url:this.hubServices.dialogService.urlService?{bot:this.hubServices.dialogService.urlService.urlBotService?{}:void 0,parentCommunication:this.hubServices.dialogService.urlService.parentCommunicationService?{}:void 0}:void 0,card:this.hubServices.dialogService.cardService&&this.hostVersionsInfo&&this.hostVersionsInfo.adaptiveCardSchemaVersion&&!Ds(this.hostVersionsInfo.adaptiveCardSchemaVersion)?{bot:this.hubServices.dialogService.cardService.cardBotService?{}:void 0}:void 0,update:this.hubServices.dialogService.updateService?{}:void 0}:void 0,externalAppAuthentication:this.hubServices.externalAppChannelService&&this.hubServices.externalAppInfoService?{}:void 0,externalAppAuthenticationForCEA:this.hubServices.externalAppChannelForCEAService&&this.hubServices.externalAppInfoService?{}:void 0,externalAppCardActions:this.hubServices.externalAppCardActionsService&&this.hubServices.externalAppInfoService?{}:void 0,externalAppCardActionsForCEA:this.hubServices.externalAppCardActionsForCEAService&&this.hubServices.externalAppInfoService?{}:void 0,externalAppCardActionsForDA:this.hubServices.externalAppCardActionsForDAService&&this.hubServices.externalAppInfoService?{}:void 0,externalAppCommands:this.hubServices.externalAppCommandsService&&this.hubServices.externalAppInfoService?{}:void 0,files:this.hubServices.filesService?{}:void 0,geoLocation:this.hubServices.locationService?{map:this.hubServices.locationService.mapService?{}:void 0}:void 0,hostEntity:{tab:(null===(s=this.hubServices.hostEntityService)||void 0===s?void 0:s.tabService)?{}:void 0},interactive:this.hubServices.interactiveService?{}:void 0,location:this.hubServices.locationService&&this.hubServices.locationService.mapService?{}:void 0,logs:this.hubServices.logService?{}:void 0,mail:this.hubServices.mailService?{handoff:this.hubServices.mailService.handoffService?{}:void 0}:void 0,marketplace:this.hubServices.marketplaceService?{}:void 0,media:this.hubServices.mediaService?{}:void 0,meeting:this.hubServices.meetingService?{appShareButton:this.hubServices.meetingService.appShareButton?{}:void 0}:void 0,meetingRoom:this.hubServices.meetingRoomService?{}:void 0,messageChannels:this.hubServices.messageChannelsService?{telemetry:this.hubServices.messageChannelsService.telemetry,dataLayer:this.hubServices.messageChannelsService.dataLayer}:void 0,monetization:this.hubServices.monetizationService?{}:void 0,nestedAppAuth:this.hubServices.nestedAppAuthService?{}:void 0,notifications:this.hubServices.notificationService?{}:void 0,otherAppStateChange:this.hubServices.otherAppStateChangeService?{}:void 0,pages:{appButton:(null===(l=this.hubServices.pageService)||void 0===l?void 0:l.appButtonService)?{}:void 0,backStack:(null===(c=this.hubServices.pageService)||void 0===c?void 0:c.backStackService)?{}:void 0,config:(null===(u=this.hubServices.pageService)||void 0===u?void 0:u.configService)?{}:void 0,fullTrust:(null===(d=this.hubServices.pageService)||void 0===d?void 0:d.fullTrustService)?{}:void 0,tabs:(null===(p=this.hubServices.pageService)||void 0===p?void 0:p.tabsService)?{}:void 0,currentApp:{}},people:this.hubServices.peopleService?{}:void 0,permissions:this.hubServices.devicePermissionService?{}:void 0,profile:this.hubServices.profileService?{}:void 0,remoteCamera:this.hubServices.remoteCameraService?{}:void 0,search:this.hubServices.searchService?{}:void 0,sharing:this.hubServices.sharingService?{history:this.hubServices.sharingService.historyService?{}:void 0}:void 0,stageView:this.hubServices.stageViewService?{self:this.hubServices.stageViewService.selfService?{}:void 0}:void 0,store:this.hubServices.storeService?{}:void 0,teams:this.hubServices.teamsService?{fullTrust:(null===(h=this.hubServices.teamsService)||void 0===h?void 0:h.fullTrustService)?{joinedTeams:(null===(m=null===(f=this.hubServices.teamsService)||void 0===f?void 0:f.fullTrustService)||void 0===m?void 0:m.joinedTeamsService)?{}:void 0}:void 0}:void 0,teamsCore:this.isTeamsCoreSupported(e.name)?{}:void 0,thirdPartyCloudStorage:this.hubServices.thirdPartyCloudStorageService?{}:void 0,video:this.hubServices.videoExtensibilityService&&(this.hubServices.videoExtensibilityService.mediaStreamService||this.hubServices.videoExtensibilityService.sharedFrameService)?{mediaStream:this.hubServices.videoExtensibilityService.mediaStreamService?{}:void 0,sharedFrame:this.hubServices.videoExtensibilityService.sharedFrameService?{}:void 0}:void 0,webStorage:this.hubServices.webStorageService?{}:void 0}}}onInitializeCallTimedOutForImmediateApp(){var e,t,n;this.failAppInitializationScenario("SDK initialization timed out"),null===(e=this.extendedAppInitializationScenario)||void 0===e||e.fail("SDK initialization timed out"),this.appSdkHost.setAppInitInfo({state:Da.Failed,reason:ca.AppInitTimeout,appSdkVersion:null===(t=this.telemetryService)||void 0===t?void 0:t.getAppSdkVersion()}),null===(n=this.hubServices.logger)||void 0===n||n.log(yr.Error,"Error Bubble Reason",Hv+this.getOCDIWarning())}onInitializeCallTimedOutForLoadingScreenApp(){var e,t,n,r;this.appInitializationScenarioAlreadyStopped?(this.recordInitializationDoubleStopAttempt(Vv.initialAppInitializationTimerExpiration),this.appSdkHost.setAppInitInfo({state:Da.Loaded,appSdkVersion:null===(e=this.telemetryService)||void 0===e?void 0:e.getAppSdkVersion()})):(this.failAppInitializationScenario(Hv),null===(t=this.extendedAppInitializationScenario)||void 0===t||t.fail(Hv),this.appSdkHost.setAppInitInfo({state:Da.Failed,reason:ca.AppInitTimeout,appSdkVersion:null===(n=this.telemetryService)||void 0===n?void 0:n.getAppSdkVersion()})),null===(r=this.hubServices.logger)||void 0===r||r.log(yr.Error,"Error Screen Reason",Hv+this.getOCDIWarning())}isTeamsHub(e){return e===sr.teams||e===sr.teamsModern}isLifeCycleImplemented(){return!!this.hubServices.lifecycleService}logTelemetryForAppSdkLoaded(){var e,t,n;if(Gg(null===(e=this.appDefinition)||void 0===e?void 0:e.id)){const e=null===(t=this.telemetryService)||void 0===t?void 0:t.createScenario(Wg);null===(n=e.addOrUpdateActivityDataField)||void 0===n||n.call(e,uv.WEB_CONTENT_SDK_ID,this.appSdkHost.getWebContentSdkId()),e.stop()}}}!function(e){e.Uninitialized="uninitialized",e.Loading="loading",e.Loaded="loaded",e.Cached="cached",e.LoadingWithoutSpinner="loadingWithoutSpinner"}(Uv||(Uv={}));class Wv{constructor(){this.internalAppStateMap=new Map}stateChangeHelper(e,t,n,r){var i;if(void 0===t)return;const o=null!==(i=this.internalAppStateMap.get(t))&&void 0!==i?i:Uv.Uninitialized,a=e=>{this.internalAppStateMap.set(t,e)},s={[`${Uv.Loading}_${wr}`]:()=>this.setStateToLoaded(a),[`${Uv.Loading}_${Sr}`]:()=>this.setStateToLoaded(a),[`${Uv.Loading}_${Ar}`]:()=>this.setStateToLoadingWithoutSpinner(a),[`${Uv.LoadingWithoutSpinner}_${wr}`]:()=>this.setStateToLoaded(a),[`${Uv.LoadingWithoutSpinner}_${Sr}`]:()=>this.setStateToLoaded(a),[`${Uv.Cached}_${Ar}`]:()=>this.setStateToLoadingWithoutSpinner(a),[`${Uv.Cached}_${wr}`]:()=>this.setStateToLoaded(a),[`${Uv.Loaded}_${Do}`]:()=>this.setStateWhenAppEntersCached(a),[`${Uv.Uninitialized}_${vi}`]:()=>this.setStateToLoading(a,r),[`${Uv.Loading}_${vi}`]:()=>this.setStateToLoading(a,r),[`${Uv.Loaded}_${vi}`]:()=>this.setStateToLoading(a,r),[`${Uv.LoadingWithoutSpinner}_${vi}`]:()=>this.setStateToLoading(a,r)}[`${o}_${n}`];s&&s(),e.addOrUpdateActivityDataFieldForAppInitStateTransition(`teamsJsInstanceId: ${t} transits state FROM: ${o} TO: ${this.internalAppStateMap.get(t)} BY: ${n}\n`)}msg_initialize_processedSuccessfully(e,t,n){this.stateChangeHelper(e,t,vi,n)}msg_notifyAppLoaded_processedSuccessfully(e,t){this.stateChangeHelper(e,t,Ar)}msg_notifySuccess_processedSuccessfully(e,t){this.stateChangeHelper(e,t,wr)}msg_notifyExpectedFailure_processingSucceess(e,t){this.stateChangeHelper(e,t,Sr)}msg_notifyFailure_processedSuccessfully(e,t){this.stateChangeHelper(e,t,Er)}msg_readyToUnload_processedSuccessfully(e,t){this.stateChangeHelper(e,t,Do)}setStateToLoading(e,t){e(Uv.Loading),void 0===t||t||this.setStateToLoaded(e)}setStateToLoaded(e){e(Uv.Loaded)}setStateToLoadingWithoutSpinner(e){e(Uv.LoadingWithoutSpinner)}setStateWhenAppEntersCached(e){e(Uv.Cached)}isAllowedToProcessInitializeEvent(e){var t;return void 0===e||(null!==(t=this.internalAppStateMap.get(e))&&void 0!==t?t:Uv.Uninitialized)!==Uv.Cached}isAllowedToProcessNotifySuccessEvent(e){if(void 0===e)return!0;const t=this.internalAppStateMap.get(e);return t==Uv.Loading||t==Uv.LoadingWithoutSpinner||t==Uv.Cached}isAllowedToProcessNotifyAppLoadedEvent(e){return void 0===e||this.internalAppStateMap.get(e)==Uv.Loading}isAllowedToProcessNotifyExpectedFailureEvent(e){if(void 0===e)return!0;const t=this.internalAppStateMap.get(e);return t==Uv.Loading||t==Uv.LoadingWithoutSpinner}isAllowedToProcessNotifyFailureEvent(e){if(void 0===e)return!0;const t=this.internalAppStateMap.get(e);return t==Uv.Loading||t==Uv.LoadingWithoutSpinner}isAllowedToProcessReadyToUnloadEvent(e){return void 0===e||this.internalAppStateMap.get(e)==Uv.Loaded}}class $v{constructor(){}static getInstance(){return $v.instance||($v.instance=new Wv),$v.instance}}function qv(){return $v.getInstance()}const Gv="App failed to call initialize(). Immediate or Loading Screen apps are required to call app.initialize().",Kv="App failed to call notifySuccess(). Loading screen apps are required to call app.notifySuccess() when the app is loaded.";class Yv{constructor(e){this.getOCDIWarning=()=>{var e;const t=null===(e=this.telemetryWrapper.telemetryService)||void 0===e?void 0:e.getAppSdkVersion();return ks(window.location.href)&&t&&Ts(t,Ta)?_a:""},this.startTimerToWaitForNofifyCallFromApp=()=>window.setTimeout((()=>{var e,t;window.clearTimeout(this.timerId),this.telemetryWrapper.failAppInitializationScenario(Kv),this.telemetryWrapper.failExtendedAppInitializationScenario(Kv),this.appSdkHost.setAppInitInfo({state:Da.Failed,reason:ca.AppInitTimeout,appSdkVersion:null===(e=this.telemetryWrapper.telemetryService)||void 0===e?void 0:e.getAppSdkVersion()}),null===(t=this.hubServices.logger)||void 0===t||t.log(yr.Error,"Error Screen Reason",Kv+this.getOCDIWarning())}),this.timeToWaitForStateTransitionsInMs),this.startTimerToWaitForInitializeCallFromApp=()=>this.telemetryWrapper.usingCachedApp?window.setTimeout((()=>{var e,t;window.clearTimeout(this.timerId),this.telemetryWrapper.failAppInitializationScenario("Cached app load timed out"),this.telemetryWrapper.failExtendedAppInitializationScenario("Cached app load timed out"),this.appSdkHost.setAppInitInfo({state:Da.Failed,reason:ca.CachedAppLoadTimedOut,appSdkVersion:null===(e=this.telemetryWrapper.telemetryService)||void 0===e?void 0:e.getAppSdkVersion()}),null===(t=this.hubServices.logger)||void 0===t||t.log(yr.Error,"Error Screen Reason",Kv+this.getOCDIWarning())}),this.timeToWaitForStateTransitionsInMs):this.telemetryWrapper.isLoadingScreenApp()?window.setTimeout((()=>{this.onInitializeCallTimedOutForLoadingScreenApp()}),this.timeToWaitForStateTransitionsInMs):window.setTimeout((()=>{this.onInitializeCallTimedOutForImmediateApp()}),this.timeToWaitForStateTransitionsInMs),this.appSdkHost=e.orchestratorCommandParams.appSdkHost,this.hubServices=e.orchestratorCommandParams.hubServices,this.telemetryWrapper=e.orchestratorCommandParams.telemetryWrapper,this.timeToWaitForStateTransitionsInMs=this.telemetryWrapper.isLoadingScreenApp()?this.getTimeoutValueForLoadingScreenAppInMills():this.getTimeoutValueForImmediateAppInMills(),this.setTimer(e.sdkEventMessage)}setTimer(e){if(null==e.data||null===e.data||"func"in e.data&&null===e.data.func)this.timerId=this.startTimerToWaitForInitializeCallFromApp();else{if(void 0===e.data||null===e.data||void 0===e.data.func||e.data.func!=vi)throw qs(Ba.INTERNAL_ERROR,`Timer cannot be set correctly by event: ${e.data.func}`);this.timerId=this.startTimerToWaitForNofifyCallFromApp()}}clearTimer(e){const t=e.data.func;t!==vi&&t!==wr&&t!=Sr&&t!=Er||window.clearTimeout(this.timerId)}getTimeoutValueForImmediateAppInMills(){var e;const t=function(){const e=qa().overrideForEachInitStateChangeTimeoutsInMs;return null!=e?e:3e4}();return null!=qa().overrideForEachInitStateChangeTimeoutsInMs&&(null===(e=this.hubServices.logger)||void 0===e||e.log(yr.Info,"Feature Flag overrideForEachInitStateChangeTimeoutsInMs",`Using timeout for immediate app: ${t} milliseconds`)),t}getTimeoutValueForLoadingScreenAppInMills(){var e,t;const n=function(){const e=qa().extendedAppLoadTimeoutInMillis,t=qa().overrideForEachInitStateChangeTimeoutsInMs;return null!=t?t:null!=e?e:45e3}();return null!=qa().overrideForEachInitStateChangeTimeoutsInMs&&(null===(e=this.hubServices.logger)||void 0===e||e.log(yr.Info,"Feature Flag overrideForEachInitStateChangeTimeoutsInMs",`Using timeout for loading screen app: ${n} milliseconds`)),null!=qa().extendedAppLoadTimeoutInMillis&&(null===(t=this.hubServices.logger)||void 0===t||t.log(yr.Info,"Feature Flag extendedAppLoadTimeoutInMillis",`Using timeout for loading screen app: ${n} milliseconds`)),n}onInitializeCallTimedOutForImmediateApp(){var e,t;window.clearTimeout(this.timerId),this.telemetryWrapper.failAppInitializationScenario("SDK initialization timed out"),this.telemetryWrapper.failExtendedAppInitializationScenario("SDK initialization timed out"),this.appSdkHost.setAppInitInfo({state:Da.Failed,reason:ca.AppInitTimeout,appSdkVersion:null===(e=this.telemetryWrapper.telemetryService)||void 0===e?void 0:e.getAppSdkVersion()}),null===(t=this.hubServices.logger)||void 0===t||t.log(yr.Error,"Error Bubble Reason",Gv+this.getOCDIWarning())}onInitializeCallTimedOutForLoadingScreenApp(){var e,t;window.clearTimeout(this.timerId),this.telemetryWrapper.failAppInitializationScenario(Gv),this.telemetryWrapper.failExtendedAppInitializationScenario(Gv),this.appSdkHost.setAppInitInfo({state:Da.Failed,reason:ca.AppInitTimeout,appSdkVersion:null===(e=this.telemetryWrapper.telemetryService)||void 0===e?void 0:e.getAppSdkVersion()}),null===(t=this.hubServices.logger)||void 0===t||t.log(yr.Error,"Error Screen Reason",Gv+this.getOCDIWarning())}}class Xv{constructor(){}handleEvent(e){return e.orchestratorCommandParams.timerWrapper.timer=new Yv(e),el}}function Zv(){return new Xv}class Jv{constructor(){}handleEvent(e){return w(this,void 0,void 0,(function*(){const t=e.orchestratorCommandParams.appSdkHost,n=e.orchestratorCommandParams.appDefinition,r=As(yield t.getAppContext(),n);return Js(r)}))}}class Qv{constructor(){}constructHubConfig(e,t,n,r,i){var o,a,s,l,c,u,d,p,h,f,m,g,v,y;return{apiVersion:4,hostVersionsInfo:this.getUpdatedHostVersionsInfo(r,t,i),canParentManageNAATrustedOrigins:null!==(s=null===(a=null===(o=t.nestedAppAuthService)||void 0===o?void 0:o.canParentManageNAATrustedOrigins)||void 0===a?void 0:a.call(o))&&void 0!==s&&s,isDeeplyNestedAuthSupported:null!==(c=null===(l=t.nestedAppAuthService)||void 0===l?void 0:l.isDeeplyNestedAuthSupported())&&void 0!==c&&c,isNAAChannelRecommended:null!=n&&n,supports:{app:{notifySuccessResponse:{}},appInstallDialog:t.appInstallDialogService?{}:void 0,appEntity:t.appEntityService?{}:void 0,barCode:t.barCodeService?{}:void 0,calendar:t.calendarService?{}:void 0,call:t.callService?{}:void 0,chat:t.chatService?{}:void 0,clipboard:navigator&&navigator.clipboard?{}:void 0,conversations:t.conversationsService?{}:void 0,copilot:es(r.getAppDefinition())&&t.copilotService?{customTelemetry:t.copilotService.customTelemetryService?{}:void 0,eligibility:t.copilotService.eligibilityService?{}:void 0}:void 0,dialog:t.dialogService?{url:t.dialogService.urlService?{bot:t.dialogService.urlService.urlBotService?{}:void 0,parentCommunication:t.dialogService.urlService.parentCommunicationService?{}:void 0}:void 0,card:t.dialogService.cardService&&i&&i.adaptiveCardSchemaVersion&&!Ds(i.adaptiveCardSchemaVersion)?{bot:t.dialogService.cardService.cardBotService?{}:void 0}:void 0,update:t.dialogService.updateService?{}:void 0}:void 0,externalAppAuthentication:t.externalAppChannelService&&t.externalAppInfoService?{}:void 0,externalAppAuthenticationForCEA:t.externalAppChannelForCEAService&&t.externalAppInfoService?{}:void 0,externalAppCardActions:t.externalAppCardActionsService&&t.externalAppInfoService?{}:void 0,externalAppCardActionsForCEA:t.externalAppCardActionsForCEAService&&t.externalAppInfoService?{}:void 0,externalAppCardActionsForDA:t.externalAppCardActionsForDAService&&t.externalAppInfoService?{}:void 0,externalAppCommands:t.externalAppCommandsService&&t.externalAppInfoService?{}:void 0,files:t.filesService?{}:void 0,geoLocation:t.locationService?{map:t.locationService.mapService?{}:void 0}:void 0,hostEntity:{tab:(null===(u=t.hostEntityService)||void 0===u?void 0:u.tabService)?{}:void 0},interactive:t.interactiveService?{}:void 0,location:t.locationService&&t.locationService.mapService?{}:void 0,logs:t.logService?{}:void 0,mail:t.mailService?{handoff:t.mailService.handoffService?{}:void 0}:void 0,marketplace:t.marketplaceService?{}:void 0,media:t.mediaService?{}:void 0,meeting:t.meetingService?{appShareButton:t.meetingService.appShareButton?{}:void 0}:void 0,meetingRoom:t.meetingRoomService?{}:void 0,messageChannels:t.messageChannelsService?{telemetry:t.messageChannelsService.telemetry,dataLayer:t.messageChannelsService.dataLayer}:void 0,monetization:t.monetizationService?{}:void 0,nestedAppAuth:t.nestedAppAuthService?{}:void 0,notifications:t.notificationService?{}:void 0,otherAppStateChange:t.otherAppStateChangeService?{}:void 0,pages:{appButton:(null===(d=t.pageService)||void 0===d?void 0:d.appButtonService)?{}:void 0,backStack:(null===(p=t.pageService)||void 0===p?void 0:p.backStackService)?{}:void 0,config:(null===(h=t.pageService)||void 0===h?void 0:h.configService)?{}:void 0,fullTrust:(null===(f=t.pageService)||void 0===f?void 0:f.fullTrustService)?{}:void 0,tabs:(null===(m=t.pageService)||void 0===m?void 0:m.tabsService)?{}:void 0,currentApp:{}},people:t.peopleService?{}:void 0,permissions:t.devicePermissionService?{}:void 0,profile:t.profileService?{}:void 0,remoteCamera:t.remoteCameraService?{}:void 0,search:t.searchService?{}:void 0,sharing:t.sharingService?{history:t.sharingService.historyService?{}:void 0}:void 0,stageView:t.stageViewService?{self:t.stageViewService.selfService?{}:void 0}:void 0,store:t.storeService?{}:void 0,teams:t.teamsService?{fullTrust:(null===(g=t.teamsService)||void 0===g?void 0:g.fullTrustService)?{joinedTeams:(null===(y=null===(v=t.teamsService)||void 0===v?void 0:v.fullTrustService)||void 0===y?void 0:y.joinedTeamsService)?{}:void 0}:void 0}:void 0,teamsCore:this.isTeamsCoreSupported(e.name,r,t)?{}:void 0,thirdPartyCloudStorage:t.thirdPartyCloudStorageService?{}:void 0,video:t.videoExtensibilityService&&(t.videoExtensibilityService.mediaStreamService||t.videoExtensibilityService.sharedFrameService)?{mediaStream:t.videoExtensibilityService.mediaStreamService?{}:void 0,sharedFrame:t.videoExtensibilityService.sharedFrameService?{}:void 0}:void 0,webStorage:t.webStorageService?{}:void 0}}}getUpdatedHostVersionsInfo(e,t,n){var r,i,o;const a=null!==(i=null===(r=e.getAppDefinition())||void 0===r?void 0:r.appEligibilityInformation)&&void 0!==i?i:null==n?void 0:n.appEligibilityInformation;return!es(e.getAppDefinition())&&a?(null===(o=t.logger)||void 0===o||o.log(yr.Warn,"AppEligibilityInformation from host","App is not a copilot app, so `hostVersionInfo.appEligibilityInformation` is removed before sending the object to teams-js."),Object.assign(Object.assign({},n),{appEligibilityInformation:void 0})):Object.assign(Object.assign({},n),{appEligibilityInformation:a})}isTeamsCoreSupported(e,t,n){return!!this.isTeamsHub(e)||this.isLifeCycleImplemented(n)&&es(t.getAppDefinition())}isTeamsHub(e){return e===sr.teams||e===sr.teamsModern}isLifeCycleImplemented(e){return!!e.lifecycleService}verifyIfOriginBlocked(e,t,n){var r,i;const o=null==t?void 0:t.isOriginBlocked(new Mv(null!==(i=null===(r=e.getAppDefinition())||void 0===r?void 0:r.id)&&void 0!==i?i:""),n||[]);return t&&!(null==o?void 0:o.isOriginValid)?o:null}handleEvent(e){var t,n,r,i,o,a;return w(this,void 0,void 0,(function*(){const s=e.args[0],l=void 0!==e.args[1]?e.args[1]:1,c=void 0!==e.args[2]?e.args[2]:void 0,u=e.orchestratorCommandParams.appSdkHost,d=e.orchestratorCommandParams.telemetryWrapper;d.markTelemetryForAppInitializationPhases("BeginLoadToInitialized",s,e.sdkEventMessage);const p=this.verifyIfOriginBlocked(u,e.orchestratorCommandParams.originsToBlock,c);if(p)return d.isShowLoadingIndicatorEnabled&&(cv(rv.End,iv.FailureMessageProcessTime),d.failAppInitializationScenario(ca.Validation_InvalidDomains,null==p?void 0:p.message)),d.failExtendedAppInitializationScenario(ca.Validation_InvalidDomains,null==p?void 0:p.message),u.setAppInitInfo({state:Da.Failed,reason:ca.Validation_InvalidDomains,appSdkVersion:null===(t=d.telemetryService)||void 0===t?void 0:t.getAppSdkVersion()}),null===(n=e.orchestratorCommandParams.timerWrapper.timer)||void 0===n||n.clearTimer(e.sdkEventMessage),Js(null==p?void 0:p.message);u.setInitialized(!0);const h=u.getHubInfo();let f=this.constructHubConfig(h,e.orchestratorCommandParams.hubServices,e.orchestratorCommandParams.isNAAChannelRecommended,u,e.orchestratorCommandParams.hostVersionsInfo);var m;(null===(r=f.hostVersionsInfo)||void 0===r?void 0:r.appEligibilityInformation)&&(null===(i=f.supports.copilot)||void 0===i?void 0:i.eligibility)&&(null===(o=e.orchestratorCommandParams.hubServices.logger)||void 0===o||o.log(yr.Warn,"AppEligibilityInformation from host","Host has provided appEligibilityInformation AND ICopilotEligibilityService. Only one of these should be provided.")),m=l<f.apiVersion?Nv(f,l):f;const g=[u.getFrameContext(),u.getHubInfo().clientType,"2.0.0",JSON.stringify(m)];return cv(rv.End,iv.InitializeMessageProcessTime),null===(a=e.orchestratorCommandParams.timerWrapper.timer)||void 0===a||a.clearTimer(e.sdkEventMessage),d.isLoadingScreenApp()?Zv().handleEvent(e):(u.setAppInitInfo({state:Da.Loaded,appSdkVersion:s}),d.stopAppInitializationScenario(),qa().createAndSendSignalsToSubstrate&&_v(u,e.orchestratorCommandParams.hubServices,d.telemetryService)),qv().msg_initialize_processedSuccessfully(e.orchestratorCommandParams.telemetryWrapper,e.sdkEventMessage.data.teamsJsInstanceId,d.isShowLoadingIndicatorEnabled),Js(g)}))}}class ey{constructor(){}handleEvent(e){const t=e.args[0],n=e.orchestratorCommandParams.telemetryWrapper;return n.markTelemetryForAppInitializationPhases("InitializedToAppLoadedInvoked",t,e.sdkEventMessage),e.orchestratorCommandParams.appSdkHost.setAppInitInfo({state:Da.Loaded,appSdkVersion:n.telemetryService.getAppSdkVersion()}),cv(rv.End,iv.AppLoadedMessageProcessTime),qv().msg_notifyAppLoaded_processedSuccessfully(e.orchestratorCommandParams.telemetryWrapper,e.sdkEventMessage.data.teamsJsInstanceId),el}}class ty{constructor(){}handleEvent(e){var t;const n=e.args[0],r=e.args[1],i=e.orchestratorCommandParams.telemetryWrapper;e.orchestratorCommandParams.appSdkHost.setAppInitInfo({state:Da.Loaded,appSdkVersion:i.telemetryService.getAppSdkVersion()});const o="Expected."+n;return i.isShowLoadingIndicatorEnabled&&(cv(rv.End,iv.ExpectedFailureMessageProcessTime),i.failAppInitializationScenario(o,r),null===(t=e.orchestratorCommandParams.timerWrapper.timer)||void 0===t||t.clearTimer(e.sdkEventMessage)),i.failExtendedAppInitializationScenario(o,r),qv().msg_notifyExpectedFailure_processingSucceess(e.orchestratorCommandParams.telemetryWrapper,e.sdkEventMessage.data.teamsJsInstanceId),el}}class ny{constructor(){}handleEvent(e){var t;const n=e.args[0],r=e.args[1],i=e.orchestratorCommandParams.telemetryWrapper;return i.isShowLoadingIndicatorEnabled&&(cv(rv.End,iv.FailureMessageProcessTime),i.failAppInitializationScenario(n,r),null===(t=e.orchestratorCommandParams.timerWrapper.timer)||void 0===t||t.clearTimer(e.sdkEventMessage)),i.failExtendedAppInitializationScenario(n,r),e.orchestratorCommandParams.appSdkHost.setAppInitInfo({state:Da.Failed,reason:n,appSdkVersion:i.telemetryService.getAppSdkVersion()}),qv().msg_notifyFailure_processedSuccessfully(e.orchestratorCommandParams.telemetryWrapper,e.sdkEventMessage.data.teamsJsInstanceId),el}}class ry{constructor(){}handleEvent(e){var t;const n=e.args[0],r=e.orchestratorCommandParams.telemetryWrapper;return e.orchestratorCommandParams.appSdkHost.setAppInitInfo({state:Da.Loaded,appSdkVersion:r.telemetryService.getAppSdkVersion()}),(r.isLoadingScreenApp()||r.usingCachedApp)&&(qa().createAndSendSignalsToSubstrate&&_v(e.orchestratorCommandParams.appSdkHost,e.orchestratorCommandParams.hubServices,r.telemetryService),r.telemetryService.setAppSdkVersion(n),r.updateAppInitializationScenarioFields(n,e.sdkEventMessage),cv(rv.End,iv.SuccessMessageProcessTime),r.stopAppInitializationScenario()),r.stopExtendedAppInitializationScenario(),null===(t=e.orchestratorCommandParams.timerWrapper.timer)||void 0===t||t.clearTimer(e.sdkEventMessage),qv().msg_notifySuccess_processedSuccessfully(e.orchestratorCommandParams.telemetryWrapper,e.sdkEventMessage.data.teamsJsInstanceId),{kind:"appResponse",data:[null]}}}class iy{constructor(){}handleEvent(e){return e.orchestratorCommandParams.appSdkHost.setAppInitInfo({state:Da.Unloaded}),qv().msg_readyToUnload_processedSuccessfully(e.orchestratorCommandParams.telemetryWrapper,e.sdkEventMessage.data.teamsJsInstanceId),el}}class oy{constructor(){}processTimer(e){return w(this,void 0,void 0,(function*(){return Zv().handleEvent(e)}))}processCommand(e){return w(this,void 0,void 0,(function*(){var t=e.sdkEventMessage.data.func;this.isAllowedToProcess(t,e.sdkEventMessage.data.teamsJsInstanceId);var n=this.selectDelegate(t);if(void 0===n)throw new Error(`No delegate found for functionName: ${t}`);return yield n.handleEvent(e)}))}isAllowedToProcess(e,t){if(void 0!==t)switch(e){case vi:if(!qv().isAllowedToProcessInitializeEvent(t))throw qs(Ba.INTERNAL_ERROR,"Not allowed to process initialize event");break;case wr:if(!qv().isAllowedToProcessNotifySuccessEvent(t))throw qs(Ba.INTERNAL_ERROR,"Not allowed to process notify success event");break;case Ar:if(!qv().isAllowedToProcessNotifyAppLoadedEvent(t))throw qs(Ba.INTERNAL_ERROR,"Not allowed to process notify app loaded event");break;case Er:if(!qv().isAllowedToProcessNotifyFailureEvent(t))throw qs(Ba.INTERNAL_ERROR,"Not allowed to process notify failure event");break;case Sr:if(!qv().isAllowedToProcessNotifyExpectedFailureEvent(t))throw qs(Ba.INTERNAL_ERROR,"Not allowed to process notify expected failure event");break;case Do:if(!qv().isAllowedToProcessReadyToUnloadEvent(t))throw qs(Ba.INTERNAL_ERROR,"Not allowed to process ready to unload event")}}selectDelegate(e){let t;switch(e){case vi:t=new Qv;break;case gi:t=new Jv;break;case wr:t=new ry;break;case Ar:t=new ey;break;case Do:t=new iy;break;case Er:t=new ny;break;case Sr:t=new ty}return t}}class ay{constructor(){}static getInstance(){return ay.instance||(ay.instance=new oy),ay.instance}}function sy(){return ay.getInstance()}class ly{constructor(e,t,n,r,i){var o,a,s,l;this.stopAppInitializationScenario=()=>{var e;null===(e=this.appInitializationScenario)||void 0===e||e.stop()},this.stopExtendedAppInitializationScenario=()=>{var e;null===(e=this.extendedAppInitializationScenario)||void 0===e||e.stop()},this.failAppInitializationScenario=(e,t)=>{var n;null===(n=this.appInitializationScenario)||void 0===n||n.fail(e,t)},this.failExtendedAppInitializationScenario=(e,t)=>{var n;null===(n=this.extendedAppInitializationScenario)||void 0===n||n.fail(e,t)},this.appSdkHost=e,this.hubServices=t,this._telemetryService=n,this.appDefinition=r,this._isShowLoadingIndicatorEnabled=r.showLoadingIndicator||!1,this._usingCachedApp=i,this.appSdkHost.startAppInitializationScenario(),this.appInitializationScenario=e.getAppInitializationScenario(),null===(o=this.appInitializationScenario)||void 0===o||o.markPhase("ClickToBeginLoad"),this.logTelemetryForAppSdkLoaded(),this.forceAppToBeLoadingScreenApp=null!==(a=qa().resetTimerWhenInitCalledAndWaitForNotifySuccess)&&void 0!==a&&a,null===(s=this.appInitializationScenario)||void 0===s||s.addOrUpdateActivityDataField("resetTimerFlag",this.forceAppToBeLoadingScreenApp),this.recordCachingServiceState();const c=this.appDefinition.id,u=null===(l=this.telemetryService)||void 0===l?void 0:l.enableExtendedInitializationTracking,d=c&&ma.has(c);(u||d)&&(this.extendedAppInitializationScenario=this.createExtendedAppInitTelemetry(c))}logTelemetryForAppSdkLoaded(){var e,t,n;if(Gg(null===(e=this.appDefinition)||void 0===e?void 0:e.id)){const e=null===(t=this.telemetryService)||void 0===t?void 0:t.createScenario(Wg);null===(n=e.addOrUpdateActivityDataField)||void 0===n||n.call(e,uv.WEB_CONTENT_SDK_ID,this.appSdkHost.getWebContentSdkId()),e.stop()}}recordCachingServiceState(){var e,t;null===(e=this.appInitializationScenario)||void 0===e||e.addOrUpdateActivityDataField("isLifecycleServiceProvided",!!this.hubServices.lifecycleService),null===(t=this.appInitializationScenario)||void 0===t||t.addOrUpdateActivityDataField("isCacheManagementServiceProvided",!!this.hubServices.cacheManagementService)}createExtendedAppInitTelemetry(e){var t;const n=null===(t=this.telemetryService)||void 0===t?void 0:t.createScenario("appInitializationExtended",e);return null==n||n.markPhase("ClickToBeginLoad"),null==n||n.addOrUpdateActivityDataField("resetTimerFlag",this.forceAppToBeLoadingScreenApp),n}updateTelemetryDataFieldAppSdkVersion(e,t){t.forEach((t=>{null==t||t.addOrUpdateActivityDataField(uv.APPSDK_VERSION_FIELD_NAME,e)}))}updateTelemetryDataFieldAppSdkApiVersionTag(e,t,n){const r=e.data.apiVersionTag;n.forEach((e=>{null==e||e.addOrUpdateActivityDataField(uv.APPSDK_API_VERSION_TAG_FIELD_NAME,uv.getApiVersionTagForTelemetry(r,t))}))}updateTelemetryDataFieldUsingCachedApp(e){e.forEach((e=>{var t;null==e||e.addOrUpdateActivityDataField(uv.CACHEDAPP_IND_FIELD_NAME,null!==(t=this._usingCachedApp)&&void 0!==t&&t)}))}updateAppInitializationScenarioFields(e,t){this.updateTelemetryDataFieldAppSdkVersion(e,[this.appInitializationScenario,this.extendedAppInitializationScenario]),this.updateTelemetryDataFieldAppSdkApiVersionTag(t,e,[this.appInitializationScenario,this.extendedAppInitializationScenario]),this.updateTelemetryDataFieldUsingCachedApp([this.appInitializationScenario,this.extendedAppInitializationScenario])}addOrUpdateActivityDataFieldForAppInitStateTransition(e){var t,n;null===(t=this.appInitializationScenario)||void 0===t||t.addOrUpdateActivityDataFieldForAppInitStateTransition(e),null===(n=this.extendedAppInitializationScenario)||void 0===n||n.addOrUpdateActivityDataFieldForAppInitStateTransition(e)}markTelemetryForAppInitializationPhases(e,t,n){var r,i;null===(r=this.appInitializationScenario)||void 0===r||r.markPhase(e),null===(i=this.extendedAppInitializationScenario)||void 0===i||i.markPhase(e),this.telemetryService.setAppSdkVersion(t),this.updateAppInitializationScenarioFields(t,n)}trackMessageDelayForAppInitAPIs(e,t){var n,r,i,o;if(qg.has(e)&&t){const a=av(e,t),s=qg.get(e);if(!s)return void console.warn(`${s} is undefined in applicationInitializationAPIs`);cv(rv.Start,`${s}MessageProcessTime_ms`),null===(r=null===(n=this.appInitializationScenario)||void 0===n?void 0:n.trackMessageDelay)||void 0===r||r.call(n,s,t,a),null===(o=null===(i=this.extendedAppInitializationScenario)||void 0===i?void 0:i.trackMessageDelay)||void 0===o||o.call(i,s,t,a)}}isLoadingScreenApp(){return this.forceAppToBeLoadingScreenApp||this._isShowLoadingIndicatorEnabled}get isShowLoadingIndicatorEnabled(){return this._isShowLoadingIndicatorEnabled}get telemetryService(){return this._telemetryService}get usingCachedApp(){return this._usingCachedApp}}function cy(e,t,n,r,i,o,a){return qa().useNewAppInitializationExperience?new dy(e,t,n,r,i,o,a):new jv(e,t,n,r,i,o,a)}class uy{}class dy extends Lv{constructor(e,t,n,r,i,o,a){super(e,n),this.appSdkHost=e,this.hubServices=t,this.telemetryService=n,this.hostVersionsInfo=r,this.usingCachedApp=i,this.isNAAChannelRecommended=o,this.originsToBlock=a,this.telemetryWrapper=new ly(e,t,n,e.getAppDefinition(),i),this.timerWrapper=new uy,this.telemetryWrapper.addOrUpdateActivityDataFieldForAppInitStateTransition("App initialization progress begins, teamsJsInstanceId: undefined, AppInitState: uninitialized\n"),this.startAppInitializationFlow()}initHandlers(){this.registerHandler(vi,this.onInitializeCalled,{errorCallback:this.onInitializeCalledError}),this.registerHandler(gi,this.getContext,{errorCallback:this.onGetContextError}),this.registerHandler(Do,this.readyToUnload,{errorCallback:this.onReadyToUnloadError}),this.registerHandler(Ar,this.onNotifyAppLoadedCalled,{errorCallback:this.onNotifyAppLoadedCalledError}),this.registerHandler(wr,this.onNotifySuccessCalled,{errorCallback:this.onNotifySuccessCalledError}),this.registerHandler(Er,this.onNotifyFailureCalled,{errorCallback:this.onNotifyFailureCalledError}),this.registerHandler(Sr,this.onNotifyExpectedFailureCalled,{errorCallback:this.onNotifyExpectedFailureCalledError})}buildOrchestratorCommand(e,t){return{sdkEventMessage:e,orchestratorCommandParams:{appSdkHost:this.appSdkHost,appDefinition:this.appSdkHost.getAppDefinition(),hubServices:this.hubServices,telemetryWrapper:this.telemetryWrapper,timerWrapper:this.timerWrapper,hostVersionsInfo:this.hostVersionsInfo,usingCachedApp:this.usingCachedApp,isNAAChannelRecommended:this.isNAAChannelRecommended,originsToBlock:this.originsToBlock},args:t}}processCommand(e){return sy().processCommand(e)}startAppInitializationFlow(){const e=this.buildOrchestratorCommand(new MessageEvent("message"),[]);sy().processTimer(e)}onInitializeCalled(e,t,n,r){const i=[t,n,r];let o=this.buildOrchestratorCommand(e,i);return this.processCommand(o)}onInitializeCalledError(e,t){return null==t||t.fail(rl(e)),Js({})}getContext(e){const t=this.buildOrchestratorCommand(e,[]);return this.processCommand(t)}onGetContextError(e,t){return null==t||t.fail(rl(e)),Js({})}readyToUnload(e){return w(this,void 0,void 0,(function*(){let t=this.buildOrchestratorCommand(e,[]);return this.processCommand(t)}))}onReadyToUnloadError(e,t){return null==t||t.fail(rl(e)),Js({})}onNotifyAppLoadedCalled(e,t){const n=[t],r=this.buildOrchestratorCommand(e,n);return this.processCommand(r)}onNotifyAppLoadedCalledError(e,t){return null==t||t.fail(rl(e)),Js({})}onNotifySuccessCalled(e,t){const n=[t],r=this.buildOrchestratorCommand(e,n);return this.processCommand(r)}onNotifySuccessCalledError(e,t){return null==t||t.fail(rl(e)),Js({})}onNotifyFailureCalled(e,t,n){const r=[t,n],i=this.buildOrchestratorCommand(e,r);return this.processCommand(i)}onNotifyFailureCalledError(e,t){return null==t||t.fail(rl(e)),Js({})}onNotifyExpectedFailureCalled(e,t,n){const r=[t,n],i=this.buildOrchestratorCommand(e,r);return this.processCommand(i)}onNotifyExpectedFailureCalledError(e,t){return null==t||t.fail(rl(e)),Js({})}trackMessageDelayForAppInitAPIs(e,t){this.telemetryWrapper.trackMessageDelayForAppInitAPIs(e,t)}}const py={dependentHubServiceSelector:e=>e.appEntityService,messageHandlerFactory:(e,t,n)=>new hy(e,n,t)};class hy extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.appEntityService=n}initHandlers(){this.registerHandler(Dr,((e,t,n,r)=>w(this,void 0,void 0,(function*(){const e=yield this.appEntityService.selectAppEntity(t,n,r);return Js([null,e])}))),{errorCallback:(e,t)=>Ws(Dr,e,t),isRestrictedToFullTrustApps:!0})}}const fy={dependentHubServiceSelector:e=>e.appInstallDialogService,messageHandlerFactory:(e,t,n)=>new my(e,n,t)};class my extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.appInstallDialogService=n}initHandlers(){this.registerHandler(xr,((e,t)=>tl(this.appInstallDialogService.openAppInstallDialog,t)),{errorCallback:(e,t)=>Ws(xr,e,t)})}}class gy{constructor(e){this.appInstallDialogService=e}tryGetDataFromLink(e){if(!this.appInstallDialogService)return null;if(e.origin!=Es)return null;const t=e.pathname.match(gy.APP_INSTALL_DIALOG_URL_REGEX);return t?{appId:t[1]}:null}executeData(e){return this.appInstallDialogService.openAppInstallDialog(e)}}gy.APP_INSTALL_DIALOG_URL_REGEX=/^\/l\/app\/([^\/]+)\/?$/;const vy="{authId}",yy="authId",by="result",Cy=(()=>{const e={};return{startNewExternalAuthSession:(t,n,r)=>{const i=(e=>{const t=new URL(e).searchParams.get(yy);return t&&t!==vy?t:or()})(t);return t=t.replace("{oauthRedirectMethod}","deeplink").replace(vy,i).replace("{hostRedirectUrl}",r?((e,t)=>{const n=new URL(e);n.searchParams.delete(yy),n.searchParams.delete(by);const r=decodeURIComponent(n.searchParams.toString()),i=""===r.trim();n.search="";const o=`${r}${i?"":"&"}`;return encodeURIComponent(`${n.toString()}?${o}${yy}=${t}&${by}={result}`)})(r,i):""),e[i]={handler:n,url:t,timeoutId:window.setTimeout((()=>{n(!1,"OAuth session timeout"),delete e[i]}),12e4)},new URL(t)},completeAuth:(t,n)=>{if("string"==typeof t&&"string"==typeof n){const r=e[t];if(r){window.clearTimeout(r.timeoutId);const i=RegExp("^[-a-zA-Z0-9._~+/=]+$");n.length>4096?r.handler(!1,Aa):i.test(n)?r.handler(!0,n):r.handler(!1,Sa),delete e[t]}}}}})(),Ay=new class{constructor(){this.listeners=new Map}addListener(e,t){var n;this.listeners.has(e)||this.listeners.set(e,new Set),null===(n=this.listeners.get(e))||void 0===n||n.add(t)}removeListener(e,t){var n;null===(n=this.listeners.get(e))||void 0===n||n.delete(t)}dispatch(e){const t=this.listeners.get(e);t&&t.forEach((e=>e()))}};var Sy;!function(e){e.AppDefinitionUnavailable="AppDefinitionUnavailable",e.BlockedByBrowser="BlockedByBrowser",e.CancelledByUser="CancelledByUser",e.InvalidAuthUrl="InvalidAuthUrl",e.InvalidFrameContext="InvalidFrameContext",e.InvalidOrigin="InvalidOrigin",e.Other="Other",e.AuthWindowReferenceUndefined="AuthWindowReferenceUndefined"}(Sy||(Sy={}));class Ey extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.authenticationService=n,this.TAG="BaseAuthenticationMessageHandler"}initHandlers(){this.registerHandler(kr,this.handleGetUser,{errorCallback:this.onGetUserError,isRestrictedToMicrosoftOwnedOrFullTrustApps:!0}),this.registerHandler(Ir,this.handleGetAuthToken,{callbackFixedArgsLength:5,errorCallback:this.onGetAuthTokenError})}validateDependencies(){this.appSdkHost.getContext().app.host.clientType!==dr.desktop||this.authenticationService.externalAuthService||this.appSdkHost.getLogger().log(yr.Warn,this.TAG,Ea)}handleGetUser(){return w(this,void 0,void 0,(function*(){let e=yield this.authenticationService.getUser();if(e){let t=yield this.appSdkHost.getAppContext(),n=Object.assign(Object.assign({},e.profile),{dataResidency:Bs(t.user.dataResidency)});return Js([!0,n])}return Promise.reject("Failed to fetch the user profile")}))}onGetUserError(e,t){return null==t||t.fail(`GetUser failed ${rl(e)}`),Js([!1,e])}handleGetAuthToken(e,t,n,r,i,o){return w(this,void 0,void 0,(function*(){const a=yield this.appSdkHost.getAppContext(),s=yield ts(e.origin,t,this.appSdkHost.getHubInfo(),this.appDefinition,a,!1,!1,o);let l=yield this.authenticationService.acquireToken(s[0],n,r,i,fv(o));return Js([!0,l.token])}))}onGetAuthTokenError(e,t){return null==t||t.fail(`GetAuthToken failed ${rl(e)}`),Js([!1,e])}}class wy extends Ey{constructor(e,t,n){super(e,t,n),this.appAuthSdkHost=e,this.telemetryService=t,this.authenticationService=n}initHandlers(){super.initHandlers(),this.registerHandler(_r,this.handleNotifySuccess),this.registerHandler(Pr,this.handleNotifyFailure)}handleNotifySuccess(e,t){return this.appAuthSdkHost.closeWindow(),this.appAuthSdkHost.stopAuthWindowMonitor(),tl(this.authenticationService.notifySuccess,t)}handleNotifyFailure(e,t){return this.appAuthSdkHost.closeWindow(),this.appAuthSdkHost.stopAuthWindowMonitor(),tl(this.authenticationService.notifyFailure,t,Sy.Other)}}const xy=e=>{if(null==e||null===typeof e||"string"==typeof e||"boolean"==typeof e||"number"==typeof e)return e;if(Array.isArray(e))return e.map((e=>xy(e)));if(e instanceof Date)return new Date(e.getTime());if(e instanceof ArrayBuffer)return"function"==typeof structuredClone?structuredClone(e):e.slice(0);if("object"==typeof e){const n={};for(var t of Object.getOwnPropertyNames(e)){const r=e[t];n[t]=xy(r)}return n}throw Error("Provided type '"+typeof e+"' ("+Object.prototype.toString.call(e)+") can't be cloned using deepCopy.")};class Iy{constructor(e){this.appSdkHost=e,this.messageHandlers=[],this.TAG="BaseMessageProcessor",this.ValidCustomApiHubs=[sr.edge,sr.orange,sr.outlook,sr.outlookWin32,sr.teams,sr.teamsModern]}process(e){var t;return w(this,void 0,void 0,(function*(){try{if(e.isDeeplyNestedRequest)throw new Error("Access denied: Request from a nested iframe is not allowed");const{result:t,message:n}=yield this.callMessageHandlerHelper(e);if(t)return"appResponse"===t.kind&&this.processHandlerResultHelper(n,t,e),Promise.resolve(!0);if(this.canUseCustomProcessing()){const t=yield this.tryCustomProcessing(n);if(t.processed){const r=yield Js(t.data);return"appResponse"===r.kind&&this.processHandlerResultHelper(n,r,e),Promise.resolve(!0)}}throw Error("Unhandled message")}catch(n){this.appSdkHost.getLogger().log(yr.Error,this.TAG,`Error in processing request: ${null===(t=e.data)||void 0===t?void 0:t.func}`,n)}return Promise.resolve(!1)}))}canUseCustomProcessing(){const e=this.appSdkHost.getAppDefinition(),t=this.appSdkHost.getHubInfo().name,n=null==e?void 0:e.isMicrosoftOwned,r=Qa(null==e?void 0:e.id),i=this.ValidCustomApiHubs.includes(t);return t===sr.outlookWin32||t===sr.outlook?r&&i:!!n&&i}processForDeeplyNestedRequest(e){var t;return w(this,void 0,void 0,(function*(){try{if(!e.isDeeplyNestedRequest)throw new Error("Access denied: Request from a main/top iframe is not allowed");if(!zs.has(e.data.func))throw new Error(`Access denied: message func "${e.data.func}" is not allowed for requests from a nested iframe.`);const{result:t,message:n}=yield this.callMessageHandlerHelper(e);if(t)return"appResponse"===t.kind&&this.processHandlerResultHelper(n,t,e,!0),Promise.resolve(!0);throw Error("Unhandled message")}catch(n){this.appSdkHost.getLogger().log(yr.Error,this.TAG,`Error in processing deeply nested request: ${null===(t=e.data)||void 0===t?void 0:t.func}`,n)}return Promise.resolve(!1)}))}callMessageHandlerHelper(e){return w(this,void 0,void 0,(function*(){const t=Ya(e.origin,this.appSdkHost.getLogger(),this.appSdkHost.getAppDefinition(),this.appSdkHost.getContext());e.isTrustedOrigin=t,this.appSdkHost.getLogger().log(yr.Info,this.TAG,`Function name: ${e.data.func}, Args: ${e.data.args}, Version_APIName: ${e.data.apiVersionTag}, Teams-JS Library Instance Id: ${e.data.teamsJsInstanceId}`);const n=e.data,r=mr(n);let i=r.args,o=r.apiVersionTag;return i=r.args&&Array.isArray(r.args)?r.args.map((e=>{return t=e,"function"==typeof structuredClone?structuredClone(t):xy(t);var t})):[],i.unshift(e),{result:yield this.callMessageHandler(o,r.func,i,tv(r.monotonicTimestamp,r.timestamp),r.isProxiedFromChild),message:r}}))}callMessageHandler(e,t,n,r,i){for(const o of this.messageHandlers)if(o.canHandleMessage(t))return o.handleMessage(e,t,n,r,i);return Promise.resolve(void 0)}tryCustomProcessing(e){return Promise.resolve({processed:!1,data:void 0})}processHandlerResultHelper(e,t,n,r=!1){let i=[];if(void 0!==t.data&&(i=Array.isArray(t.data)?t.data:[t.data]),r){const t={source:n.source,origin:n.origin,func:e.func};this.appSdkHost.postDeeplyNestedResponseToApp(e,t,i)}else this.appSdkHost.postResponseToApp(e,i)}cleanup(){this.messageHandlers.forEach((e=>e.cleanup()))}}class ky extends Iy{constructor(e,t,n){super(e),this.appSdkHost=e,this.authService=t,this.telemetryService=n,this.messageHandlers.push(new wy(e,n,t)),this.messageHandlers.push(cy(e,{},n)),this.messageHandlers.forEach((e=>e.initHandlers()))}}function Ty(e){let t="";return e.width&&e.height&&(t=`width=${e.width},height=${e.height}`,void 0!==e.left&&void 0!==e.top&&(t=`${t},left=${e.left},top=${e.top}`)),t}class _y extends Error{constructor(e,t){super(e),this.failureReason=t,this.message=e,this.name="HubSdkAuthServicesInternalError"}}class Py{constructor(e,t,n,r,i,o){this.hostWindow=e,this.context=t,this.authenticationService=n,this.logger=r,this.customTelemetryService=i,this.onAppInitStateChanged=o,this.initialized=!1,this.webContentSdkId=(new ar).toString(),this.initializeAuthenticationContext=e=>{var t;this.context=e,this.contextPromise=null===(t=this.authenticationService)||void 0===t?void 0:t.getUser().then((e=>{var t,n,r,i,o,a,s,l,c;const u=Object.assign(Object.assign({},null===(t=this.context)||void 0===t?void 0:t.user),{id:(null===(n=null==e?void 0:e.profile)||void 0===n?void 0:n.oid)||"",displayName:(null===(r=null==e?void 0:e.profile)||void 0===r?void 0:r.displayName)||"",loginHint:(null===(i=null==e?void 0:e.profile)||void 0===i?void 0:i.loginHint)||"",userPrincipalName:(null===(o=null==e?void 0:e.profile)||void 0===o?void 0:o.upn)||"",tenant:{id:(null===(a=null==e?void 0:e.profile)||void 0===a?void 0:a.tid)||"",sku:null===(c=null===(l=null===(s=this.context)||void 0===s?void 0:s.user)||void 0===l?void 0:l.tenant)||void 0===c?void 0:c.sku}}),d=Object.assign(Object.assign({},this.context.app),{userClickTime:this.getUserClickTime()}),p=Object.assign(Object.assign({},this.context),{app:d,user:u});return this.telemetryService.setAppContext(p),p}))},this.getContext=()=>this.context,this.getAppContext=()=>this.contextPromise?this.contextPromise.then((e=>e)).catch((()=>this.context)):Promise.resolve(this.context),this.getAppDefinition=()=>this.appDefinition,this.checkIfCachedAndRequestAllowed=e=>!0,this.setAppInitInfo=e=>{this.onAppInitStateChanged&&this.onAppInitStateChanged(e)},this.getLogger=()=>this.logger,this.telemetryService=new uv(this.getHubInfo(),t,this.customTelemetryService),this.context.app.userClickTime&&(this.userClickTime=this.context.app.userClickTime),this.context.app.userClickTimeV2&&(this.userClickTimeV2=this.context.app.userClickTimeV2)}getTelemetryService(){return this.telemetryService}getWebContentSdkId(){return this.webContentSdkId}isInitialized(){return this.initialized}setInitialized(e){this.initialized=e}getHubInfo(){return{name:this.context.app.host.name,version:this.context.app.host.version,clientType:this.context.app.host.clientType,sessionId:this.context.app.host.sessionId}}createTelemetryScenarioForAppTermination(e,t){var n,r;const i=this.telemetryService.createScenario("appTermination",e.id);null===(n=i.addOrUpdateActivityDataField)||void 0===n||n.call(i,uv.APP_TERMINATE_REASON,t),null===(r=i.addOrUpdateActivityDataField)||void 0===r||r.call(i,uv.WEB_CONTENT_SDK_ID,this.webContentSdkId),i.stop()}createTelemetryScenarioForUnloadSdk(e){var t,n,r;const i=this.telemetryService.createScenario("sdkUnload",null===(t=this.appDefinition)||void 0===t?void 0:t.id);null===(n=i.addOrUpdateActivityDataField)||void 0===n||n.call(i,uv.WEB_CONTENT_SDK_ID,this.webContentSdkId),null===(r=i.addOrUpdateActivityDataField)||void 0===r||r.call(i,uv.COMM_BRIDGE_ID,(null==e?void 0:e.toString())||"unknown"),i.stop()}createTelemetryScenarioForWebContentSdkCreated(e,t){var n,r,i;const o=this.telemetryService.createScenario("webContentSdkCreated");null===(n=o.addOrUpdateActivityDataField)||void 0===n||n.call(o,uv.WEB_CONTENT_SDK_ID,this.webContentSdkId),null===(r=o.addOrUpdateActivityDataField)||void 0===r||r.call(o,uv.COMM_BRIDGE_ID,(null==t?void 0:t.toString())||"unknown"),null===(i=o.addOrUpdateActivityDataField)||void 0===i||i.call(o,uv.COMM_BRIDGE_LISTENERS_ADDED,e),o.stop()}createTelemetryScenarioForSetFrameAndLoadOrigin(e,t,n,r,i,o){var a,s,l,c,u,d,p,h;const f=null===(a=this.telemetryService)||void 0===a?void 0:a.createScenario("setFrameAndLoadOrigin");null===(s=f.addOrUpdateActivityDataField)||void 0===s||s.call(f,uv.WEB_CONTENT_SDK_ID,this.webContentSdkId),null===(l=f.addOrUpdateActivityDataField)||void 0===l||l.call(f,uv.COMM_BRIDGE_ID,(null==o?void 0:o.toString())||"unknown"),null===(c=f.addOrUpdateActivityDataField)||void 0===c||c.call(f,uv.COMM_BRIDGE_LISTENERS_ADDED,e),null===(u=f.addOrUpdateActivityDataField)||void 0===u||u.call(f,uv.APP_DEFINITION,JSON.stringify(t)),null===(d=f.addOrUpdateActivityDataField)||void 0===d||d.call(f,uv.CACHEDAPP_IND_FIELD_NAME,!!r),null===(p=f.addOrUpdateActivityDataField)||void 0===p||p.call(f,uv.USER_CLICK_TIME,n),i&&(null===(h=f.addOrUpdateActivityDataField)||void 0===h||h.call(f,uv.USER_CLICK_TIME_V2,i)),f.stop()}getHostWindow(){return this.hostWindow}getFrameContext(){return this.context.page.frameContext}getUserClickTime(){return this.userClickTime}setUserClickTime(e){this.userClickTime=e}getUserClickTimeV2(){return this.userClickTimeV2}setUserClickTimeV2(e){this.userClickTimeV2=e}startAppInitializationScenario(){var e,t,n;const r=tv(this.getUserClickTimeV2(),this.getUserClickTime());this.appInitializationScenario=null===(e=this.telemetryService)||void 0===e?void 0:e.createScenario("appInitialization",void 0,r.value,void 0,r.type),null===(n=(t=this.appInitializationScenario).addOrUpdateActivityDataField)||void 0===n||n.call(t,uv.WEB_CONTENT_SDK_ID,this.webContentSdkId)}getAppInitializationScenario(){return this.appInitializationScenario}}const Dy="HostedWebContentAuthSdkService";class By extends Py{constructor(e,t,n,r,i,o,a,s){super(e,i,r,o,a,void 0),this.hostWindow=e,this.openWindowInfo=t,this.appDefinition=n,this.authenticationService=r,this.context=i,this.logger=o,this.onExternalAuthenticationComplete=(e,t)=>{e?this.authenticationService.notifySuccess(t):(t!==Aa&&t!==Sa||this.logger.log(yr.Error,Dy,t),this.authenticationService.notifyFailure(t))},this.onAuthMessageReceived=e=>w(this,void 0,void 0,(function*(){if(!this.authWindow||this.authWindow!==e.source)return;const t=e.origin;t!==this.origin&&this.checkUrlIsValid(t)&&(this.origin=e.origin),this.origin===t&&this.messageProcessor&&(yield this.messageProcessor.process(il(e,!1)))})),this.setupAuthMessageHandlers=()=>{this.authenticationService&&(this.messageProcessor=new ky(this,this.authenticationService,this.telemetryService))};try{this.passContextForUrlValidation=qa().authExtensionContextForUrlValidation,this.context.app.host.clientType!==dr.desktop||this.authenticationService.externalAuthService||this.logger.log(yr.Warn,Dy,Ea),this.context.page.frameContext!==pr.authentication&&this.notifyAsFailureAndThrowError("Invalid frame context for scenario",Sy.InvalidFrameContext),this.appDefinition||this.notifyAsFailureAndThrowError("App definition not available",Sy.AppDefinitionUnavailable),this.telemetryService.setAppDefinition(this.appDefinition),this.checkUrlIsValid(t.url)||this.notifyAsFailureAndThrowError("Auth url is not valid",Sy.InvalidAuthUrl),this.shouldUseExternalAuthenticationWorkflow(i.app.host.clientType,s)?this.launchExternalAuthenticationWorkflow(t.url):this.launchEmbeddedAuthenticationWorkflow(i,t)}catch(e){let t,n="",r=!1;if(e instanceof _y?(n=e.message,t=e.failureReason,r=!1):e instanceof Error?(n=e.message,t=Sy.Other,r=!1):(n="Unknown error",t=Sy.Other,r=!0),this.authenticationService&&this.authenticationService.notifyFailure(n,t),o.log(yr.Error,Dy,`Error in constructor: ${n}, failure reason: ${t}`),r)throw e}}launchEmbeddedAuthenticationWorkflow(e,t){const n=Ty(t);if(e.app.host.clientType===dr.desktop&&this.authenticationService.externalAuthService)try{this.authWindow=this.authenticationService.externalAuthService.openUrlInEmbeddedBrowser(new URL(t.url),n)}catch(e){null!==this.authWindow&&(this.logger.log(yr.Error,Dy,`openUrlInEmbeddedBrowser threw an error but still returned a non-null window object? Forcing window object to null. Error = ${e}`),this.authWindow=null)}else this.authWindow=this.hostWindow.open(t.url,"appAuthWindow",n);if(!this.authWindow)throw e.app.host.clientType===dr.web&&Ay.dispatch("authWindowBlocked"),new _y("URL was unable to be opened in embedded browser",Sy.BlockedByBrowser);this.setupEmbeddedAuthWindow(t.url,e,this.hostWindow)}launchExternalAuthenticationWorkflow(e){const t=Cy.startNewExternalAuthSession(e,this.onExternalAuthenticationComplete,this.authenticationService.externalAuthRedirectUrl);try{this.authenticationService.externalAuthService?this.authenticationService.externalAuthService.openUrlInExternalBrowser(t):this.hostWindow.open(t)}catch(e){throw new _y("Failed to open the URL in external browser",Sy.Other)}}shouldUseExternalAuthenticationWorkflow(e,t){return e===dr.desktop&&!0===t}notifyAsFailureAndThrowError(e,t){throw this.authenticationService&&this.authenticationService.notifyFailure(e,t),new _y(`Failure message: ${e}, failure reason: ${t}`)}setupEmbeddedAuthWindow(e,t,n){var r;this.origin=e,this.setUserClickTime(null!==(r=t.app.userClickTime)&&void 0!==r?r:Date.now()),t.app.userClickTimeV2&&this.setUserClickTimeV2(t.app.userClickTimeV2),this.setupAuthMessageHandlers(),this.globalWindowEventListener=new br(n),this.globalWindowEventListener.addListener("message",this.onAuthMessageReceived),this.startAuthWindowMonitor(),this.initializeAuthenticationContext(t)}checkUrlIsValid(e){return this.passContextForUrlValidation?Ya(e,this.logger,this.appDefinition,this.context):Ya(e,this.logger,this.appDefinition)}getHostWindow(){return this.authWindow||null}postResponseToApp(e,t){this.sendResponseMessage(e,t)}postDeeplyNestedResponseToApp(){throw new Error("Auth window does not support nested request communication")}isWindowOpen(){return!!this.authWindow&&!this.authWindow.closed}closeWindow(){this.unloadApp(this.appDefinition)}sendResponseMessage(e,t){var n;if(this.origin){const r={id:e.id,uuidAsString:null===(n=e.uuid)||void 0===n?void 0:n.toString(),args:t,origin:this.origin,monotonicTimestamp:ev()};this.postMessage(r)}}sendRequestMessage(e,t){if(this.origin){const n={func:e,args:t,monotonicTimestamp:ev()};this.postMessage(n)}}startAuthWindowMonitor(){this.stopAuthWindowMonitor(),this.authWindowMonitor=this.hostWindow.setInterval((()=>{this.authWindowInterval()}),100)}authWindowInterval(){this.isWindowOpen()?this.sendRequestMessage("ping"):(this.HandleError("CancelledByUser",Sy.CancelledByUser),this.closeWindow(),this.stopAuthWindowMonitor())}stopAuthWindowMonitor(){this.authWindowMonitor&&(this.hostWindow.clearInterval(this.authWindowMonitor),this.authWindowMonitor=void 0)}unloadApp(e){var t;this.unloadSDK(),null===(t=this.authWindow)||void 0===t||t.close()}unloadSDK(){this.globalWindowEventListener&&this.globalWindowEventListener.removeListener("message")}postMessage(e){var t;this.origin&&(null===(t=this.authWindow)||void 0===t||t.postMessage(e,this.origin))}HandleError(e,t){this.authenticationService&&this.authenticationService.notifyFailure(e,t)}}const Ry={dependentHubServiceSelector:e=>e.authenticationService,messageHandlerFactory:(e,t,n)=>new My(e,t,n)};class My extends Ey{constructor(e,t,n,r){super(e,n,t),this.appSdkHost=e,this.authenticationService=t,this.telemetryService=n,this.TAG="AuthenticationMessageHandler",this.hostedWebContentAuthSdkServiceFactory=null!=r?r:(e,t,n,r,i,o,a,s)=>new By(e,t,n,r,i,o,a,s)}initHandlers(){super.initHandlers(),this.registerHandler(Tr,this.handleAuthenticate,{callbackFixedArgsLength:5,errorCallback:this.onAuthenticateError}),this.authenticationService.addEventListener("onExternalAuthDeeplink",(e=>Cy.completeAuth(e.data.authId,e.data.result)))}handleAuthenticate(e,t,n,r,i,o){return w(this,void 0,void 0,(function*(){if(null==o||o.addOrUpdateActivityDataField(Ia,i&&i?"true":"false"),this.appDefinition){const a=mr(e.data),s=ol(a),l={getUser:()=>this.authenticationService.getUser(),acquireToken:(e,t,n,r)=>this.authenticationService.acquireToken(e,t,n,r),notifySuccess:e=>w(this,void 0,void 0,(function*(){null==o||o.stop(),this.appSdkHost.postResponseToApp(a,[!0,e]),this.appSdkHost.getLogger().log(yr.Debug,this.TAG,`notifySuccess func: ${s}`)})),notifyFailure:e=>w(this,void 0,void 0,(function*(){null==o||o.fail(e),this.appSdkHost.postResponseToApp(a,[!1,e]),this.appSdkHost.getLogger().log(yr.Debug,this.TAG,`notifyFailure func: ${s}`)})),externalAuthRedirectUrl:this.authenticationService.externalAuthRedirectUrl,addEventListener:()=>{},clearListeners:()=>{},externalAuthService:this.authenticationService.externalAuthService},c=Object.assign(Object.assign({},this.appSdkHost.getContext()),{app:Object.assign(Object.assign({},this.appSdkHost.getContext().app),{sessionId:or(),userClickTime:Date.now(),userClickTimeV2:ev()}),page:Object.assign(Object.assign({},this.appSdkHost.getContext().page),{frameContext:pr.authentication})});this.hostedWebContentAuthSdkServiceFactory(this.appSdkHost.getHostWindow(),{url:t,width:n,height:r},this.appDefinition,l,c,this.appSdkHost.getLogger(),void 0,i)}return el}))}onAuthenticateError(e,t){return null==t||t.fail(`Authenticate failed ${rl(e)}`),Js([!1,e])}}const Ly={dependentHubServiceSelector:e=>e.barCodeService&&e.devicePermissionService?{barCodeService:e.barCodeService,permissionsService:e.devicePermissionService}:void 0,messageHandlerFactory:(e,t,n)=>new Oy(e,n,t.permissionsService,t.barCodeService)};class Oy extends Lv{constructor(e,t,n,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.permissionsService=n,this.barCodeService=r}initHandlers(){this.registerHandler(Br,((e,t)=>this.checkPermissionsAndCallScanBarCode(t)),{errorCallback:(e,t)=>Ws(Br,e,t)})}checkPermissionsAndCallScanBarCode(e){return w(this,void 0,void 0,(function*(){return yield nl(this.permissionsService,gr.Media),Ys(e,this.barCodeService.scanBarCode)}))}}const Fy={dependentHubServiceSelector:e=>e.calendarService,messageHandlerFactory:(e,t,n)=>new Ny(e,n,t)};class Ny extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.calendarService=n}initHandlers(){this.registerHandler(Mr,((e,t)=>w(this,void 0,void 0,(function*(){return yield this.calendarService.openCalendarItem(t),Js([!0])}))),{errorCallback:(e,t)=>$s(Mr,e,t)}),this.registerHandler(Rr,((e,t)=>w(this,void 0,void 0,(function*(){return yield this.calendarService.composeMeeting(t),Js([!0])}))),{errorCallback:(e,t)=>$s(Rr,e,t)})}validateDependencies(){if(!this.calendarService)throw"No calendarService provided"}}class Hy{constructor(e){this.calendarService=e}tryGetDataFromLink(e){var t;return this.calendarService?e.origin!=Es||"/l/meeting/new"!=e.pathname?null:{attendees:null===(t=e.searchParams.get("attendees"))||void 0===t?void 0:t.split(","),startTime:e.searchParams.get("startTime")||void 0,endTime:e.searchParams.get("endTime")||void 0,subject:e.searchParams.get("subject")||void 0,content:e.searchParams.get("content")||void 0}:null}executeData(e){return this.calendarService.composeMeeting(e)}}var zy;!function(e){e.Unknown="unknown",e.Audio="audio",e.Video="video",e.VideoBasedScreenSharing="videoBasedScreenSharing",e.Data="data"}(zy||(zy={}));const Vy={dependentHubServiceSelector:e=>e.callService,messageHandlerFactory:(e,t,n)=>new Uy(e,n,t)};class Uy extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.callService=n}initHandlers(){this.registerHandler(Lr,((e,t)=>Qs(this.callService.startCall,t)),{errorCallback:(e,t)=>Ws(Lr,e,t)})}}class jy{constructor(e){this.callService=e}tryGetDataFromLink(e){var t;if(!this.callService)return null;if(e.origin!=Es||"/l/call/0/0"!=e.pathname)return null;const n=null===(t=e.searchParams.get("users"))||void 0===t?void 0:t.split(","),r="true"==e.searchParams.get("withVideo"),i=e.searchParams.get("source")||void 0;return n?{targets:n,requestedModalities:r?[zy.Audio,zy.Video]:[zy.Audio],source:i}:null}executeData(e){return this.callService.startCall(e).then((()=>{}))}}const Wy={dependentHubServiceSelector:e=>e.chatService,messageHandlerFactory:(e,t,n)=>new $y(e,n,t)};class $y extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.chatService=n}initHandlers(){this.registerHandler(Or,((e,t)=>w(this,void 0,void 0,(function*(){return yield this.chatService.openChat(t),Js(!0)}))),{errorCallback:(e,t)=>$s(Or,e,t)})}}class qy{constructor(e){this.chatService=e}tryGetDataFromLink(e){var t;if(!this.chatService)return null;if(e.origin!=Es||"/l/chat/0/0"!=e.pathname)return null;const n=null===(t=e.searchParams.get("users"))||void 0===t?void 0:t.split(",");return n?{members:n,topic:e.searchParams.get("topicName")||void 0,message:e.searchParams.get("message")||void 0}:null}executeData(e){return this.chatService.openChat(e)}}var Gy=i(2313);const Ky={messageHandlerFactory:(e,t)=>new Yy(e,t)};class Yy extends Lv{constructor(e,t){super(e,t),this.appSdkHost=e,this.telemetryService=t}initHandlers(){this.registerHandler(Fr,this.writeDataToClipboard,{errorCallback:(e,t)=>Ws(Fr,e,t)}),this.registerHandler(Nr,this.readDataFromClipboard,{errorCallback:(e,t)=>Ws(Nr,e,t)})}validateDependencies(){if(!navigator||!navigator.clipboard)throw"Current browser does not support clipboard API."}acquireTemporaryFocus(){this.initiallyFocusedElement=document.activeElement,this.tempTextArea=document.createElement("textarea"),this.tempTextArea.readOnly=!0,this.tempTextArea.tabIndex=-1,this.tempTextArea.style.opacity="0",this.tempTextArea.style.position="fixed",this.tempTextArea.style.right="-9999px",this.tempTextArea.style.bottom="-9999px",document.body.appendChild(this.tempTextArea),this.tempTextArea.focus()}releaseTemporaryFocus(){this.initiallyFocusedElement&&this.initiallyFocusedElement.focus&&this.initiallyFocusedElement.focus(),this.tempTextArea&&document.body.removeChild(this.tempTextArea)}writeDataToClipboard(e,t){return w(this,void 0,void 0,(function*(){if(!t.content||!t.mimeType)throw qs(Ba.INVALID_ARGUMENTS,"Clipboard content or mime type cannot be empty.");if(!Object.values(fr).includes(t.mimeType))throw qs(Ba.INVALID_ARGUMENTS,`Mime type ${t.mimeType} is not supported. Supported mime types are ${Object.values(fr)}`);try{let e=yield this.base64ToBlob(t.mimeType,t.content);this.acquireTemporaryFocus(),t.mimeType.startsWith("image/")&&(e=yield this.convertImageBlobToPngBlob(e)),yield navigator.clipboard.write([new ClipboardItem({[e.type]:e})])}catch(e){throw qs(Ba.INTERNAL_ERROR,`Failed to copy to clipboard. ${e}`)}finally{this.releaseTemporaryFocus()}return Js([null])}))}readDataFromClipboard(){return w(this,void 0,void 0,(function*(){try{let e;if(this.acquireTemporaryFocus(),"denied"===(yield navigator.permissions.query({name:"clipboard-read"})).state)throw qs(Ba.PERMISSION_DENIED,"Not allowed to read clipboard.");const t=yield navigator.clipboard.read();if(e=yield t[0].getType(t[0].types[0]),(yield this.appSdkHost.getAppContext()).app.host.clientType===dr.desktop){const t={content:yield this.getBase64StringFromBlob(e),mimeType:e.type};return Js([null,JSON.stringify(t)])}return Js([null,e])}catch(e){throw Zs(e)?e:qs(Ba.INTERNAL_ERROR,e)}finally{this.releaseTemporaryFocus()}}))}getBase64StringFromBlob(e){return new Promise(((t,n)=>{0===e.size&&n(new Error("Blob cannot be empty."));const r=new FileReader;r.onloadend=()=>{r.result?t(r.result.toString().split(",")[1]):n(new Error("Failed to read the blob"))},r.onerror=()=>{n(r.error)},r.readAsDataURL(e)}))}createImageElement(e){return w(this,void 0,void 0,(function*(){return new Promise(((t,n)=>{const r=document.createElement("img");r.crossOrigin="anonymous",r.src=e,r.onload=e=>{const n=e.target;n.focus(),t(n)},r.onabort=n,r.onerror=n}))}))}getBlobFromImageElement(e){return w(this,void 0,void 0,(function*(){return new Promise(((t,n)=>{const r=document.createElement("canvas"),i=r.getContext("2d");if(i){const{width:o,height:a}=e;r.width=o,r.height=a,i.drawImage(e,0,0,o,a),r.toBlob((e=>{e?t(e):n("Cannot get blob from image element")}),"image/png",1)}}))}))}convertImageBlobToPngBlob(e){return w(this,void 0,void 0,(function*(){const t=URL.createObjectURL(e),n=yield this.createImageElement(t);return yield this.getBlobFromImageElement(n)}))}base64ToBlob(e,t){return new Promise(((n,r)=>{if(e||r("MimeType cannot be null or empty."),t||r("Base64 string cannot be null or empty."),e.startsWith("image/")){const r=atob(t),i=new Uint8Array(r.length);for(let e=0;e<r.length;e++)i[e]=r.charCodeAt(e);n(new Blob([i],{type:e}))}else{const r=Gy.hp.from(t,"base64").toString();n(new Blob([r],{type:e}))}}))}}const Xy={dependentHubServiceSelector:e=>e.conversationsService,messageHandlerFactory:(e,t,n)=>new Zy(e,n,t)};class Zy extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.conversationsService=n}initHandlers(){this.registerHandler(Hr,((e,t)=>(this.conversationsService.clearListeners(),this.conversationsService.addEventListener("startConversation",(e=>this.appSdkHost.sendRequestMessage("startConversation",e.data?[e.data.subEntityId,e.data.conversationId,e.data.channelId,e.data.entityId]:[]))),this.conversationsService.addEventListener("closeConversation",(e=>this.appSdkHost.sendRequestMessage("closeConversation",e.data?[e.data.subEntityId,e.data.conversationId,e.data.channelId,e.data.entityId]:[]))),Qs(this.conversationsService.openConversation,t))),{errorCallback:(e,t)=>$s(_i,e,t)}),this.registerHandler(zr,(e=>(this.conversationsService.clearListeners(),tl(this.conversationsService.closeConversation))),{}),this.registerHandler(Vr,(e=>Qs(this.conversationsService.getChatMembers)),{isRestrictedToFullTrustApps:!0})}}class Jy extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.copilotEligibilityService=n}initHandlers(){this.registerHandler(jr.getEligibilityInfo,this.getEligibility,{errorCallback:(e,t)=>Ws(jr.getEligibilityInfo,e,t)})}canHandleMessage(e){return super.canHandleMessage(e)&&es(this.appDefinition)}validateDependencies(e){if(!this.copilotEligibilityService)throw new Error("No copilotEligibilityService provided")}getEligibility(e,t){return w(this,void 0,void 0,(function*(){const e=yield this.copilotEligibilityService.getEligibilityInformation(t);return Js(e)}))}}class Qy extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.copilotCustomTelemetryService=n}initHandlers(){this.registerHandler(Ur.sendCustomTelemetryData,this.sendCustomTelemetryData,{errorCallback:(e,t)=>Ws(Ur.sendCustomTelemetryData,e,t)})}canHandleMessage(e){return super.canHandleMessage(e)&&es(this.appDefinition)}validateDependencies(e){if(!this.copilotCustomTelemetryService)throw new Error("No copilotCustomTelemetryService provided")}sendCustomTelemetryData(e,t,n){var r;return w(this,void 0,void 0,(function*(){if(!t||!1===nr(t))throw qs(Ba.INVALID_ARGUMENTS,"UUID is not valid.");const e=new ar(t);return yield null===(r=this.copilotCustomTelemetryService)||void 0===r?void 0:r.recordAppLoadingTelemetry(e,n),Js()}))}}var eb,tb;!function(e){e.Large="large",e.Medium="medium",e.Small="small"}(eb||(eb={})),function(e){e.Card="card",e.Url="url"}(tb||(tb={}));const nb="User cancelled/closed the task module.";class rb extends Lv{constructor(e,t,n,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.dialogService=n,this.hostVersionsInfo=r}initHandlers(){if(this.appSdkHost.getFrameContext()===pr.task&&!this.dialogService)throw new Error("DialogService needs to be provided for FrameContexts.task");this.registerHandler($r,((e,t,n)=>tl(this.dialogService.urlService.submit,t,n))),this.appSdkHost.getFrameContext()===pr.task&&this.dialogService.urlService.parentCommunicationService.addEventListener("onMessageForChild",(e=>{var t;const n=null===(t=this.telemetryService)||void 0===t?void 0:t.createScenario("eventDispatch.onMessageForChild",void 0,void 0,"unknown");null==n||n.stop(),Array.isArray(e.data)||(e.data=[e.data]),this.appSdkHost.sendRequestMessage("messageForChild",e.data?e.data:[])})),this.registerHandler(Wr,((e,t)=>w(this,void 0,void 0,(function*(){if(t.card&&t.url)return Js(["Values for both card and url were specified. One or the other, but not both, are allowed."]);let e;if(t.card)return e=Object.assign(Object.assign({},t),{card:t.card,type:tb.Card}),"completionBotId"in e?this.callDialogWithBotAndAdaptiveCard(e):this.callDialogWithCardService(e);if(t.url){const n=yield this.appSdkHost.getAppContext(),r=this.appSdkHost.getLogger();try{if(!Xa(t.url,r,n,this.appDefinition))throw ba}catch(e){return r.log(yr.Error,"DialogsMessageHandler",ba,null),Js([ba])}return e=Object.assign(Object.assign({},t),{url:t.url,type:tb.Url}),"completionBotId"in e?this.callDialogWithUrlAndBotService(e):this.callDialogWithJustUrlService(e)}return Js(["You must specify a value for either card or url."])})))),this.registerHandler("messageForParent",((e,t)=>tl(this.dialogService.urlService.parentCommunicationService.messageForParent,t))),this.registerHandler("messageForChild",((e,t)=>tl(this.dialogService.urlService.parentCommunicationService.messageForChild,t)))}validateDependencies(){if(!this.dialogService)throw"No dialogService provided";if(this.dialogService.cardService&&(!this.hostVersionsInfo||!this.hostVersionsInfo.adaptiveCardSchemaVersion||Ds(this.hostVersionsInfo.adaptiveCardSchemaVersion)))throw"dialogService.cardService requires that the host specifies an adaptive card version of at least 1.5"}callDialogWithBotAndAdaptiveCard(e){return w(this,void 0,void 0,(function*(){try{if(this.dialogService.cardService.cardBotService){const t=yield this.dialogService.cardService.cardBotService.open(e);return Js([null,t])}return Js(["Bot Adaptive Card based Dialogs are not supported"])}catch(e){return Js([nb])}}))}callDialogWithCardService(e){return w(this,void 0,void 0,(function*(){try{if(this.dialogService.cardService){const t=yield this.dialogService.cardService.open(e);return Js([null,t])}return Js(["Adaptive Card based Dialogs are not supported"])}catch(e){return Js([nb])}}))}callDialogWithUrlAndBotService(e){return this.dialogService.urlService.urlBotService?this.addRemoveEventListenerAndCreateSDKResponse(this.dialogService.urlService.urlBotService.open,e):Js(["Dialogs with completionBotId are not supported"])}callDialogWithJustUrlService(e){return this.addRemoveEventListenerAndCreateSDKResponse(this.dialogService.urlService.open,e)}addRemoveEventListenerAndCreateSDKResponse(e,t){return w(this,void 0,void 0,(function*(){try{this.dialogService.urlService.parentCommunicationService.clearListeners(),this.dialogService.urlService.parentCommunicationService.addEventListener("onMessageForParent",(e=>{var t;const n=null===(t=this.telemetryService)||void 0===t?void 0:t.createScenario("eventDispatch.onMessageForParent",void 0,void 0,"unknown");null==n||n.stop(),Array.isArray(e.data)||(e.data=[e.data]),this.appSdkHost.sendRequestMessage("messageForParent",e.data?e.data:[])}));var n=yield e(t);return Js([null,n])}catch(e){return Js([nb])}finally{this.dialogService.urlService.parentCommunicationService.clearListeners()}}))}}class ib extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.dialogUpdateService=n}initHandlers(){this.registerHandler(qr.resize,((e,t)=>tl(this.dialogUpdateService.resize,t)))}validateDependencies(){if(!this.dialogUpdateService)throw"No dialogUpdateService provided"}}var ob,ab,sb,lb;!function(e){e.ActionExecuteInvokeRequest="ActionExecuteInvokeRequest",e.QueryMessageExtensionRequest="QueryMessageExtensionRequest"}(ob||(ob={})),function(e){e.ActionExecuteInvokeResponse="ActionExecuteInvokeResponse",e.QueryMessageExtensionResponse="QueryMessageExtensionResponse"}(ab||(ab={})),function(e){e.SSOBotToken="ssoBotToken",e.SSOToken="ssoToken",e.OAuthCode="oauthCode"}(sb||(sb={})),function(e){e.INTERNAL_ERROR="INTERNAL_ERROR"}(lb||(lb={}));const cb="Action.Execute";function ub(e,t=0){return!(t>1e3)&&(void 0===e||"boolean"==typeof e||"number"==typeof e||"bigint"==typeof e||"string"==typeof e||null===e||(Array.isArray(e)?e.every((e=>ub(e,t+1))):!("object"!=typeof e||"[object Object]"!==Object.prototype.toString.call(e)||Object.getPrototypeOf(e)!==Object.prototype&&null!==Object.getPrototypeOf(e))&&Object.keys(e).every((n=>ub(e[n],t+1)))))}var db,pb;function hb(e){return!!(function(e){return(null==e?void 0:e.errorCode)in Ra}(e)||function(e){return(null==e?void 0:e.errorCode)in pb}(e)||function(e){return(null==e?void 0:e.errorCode)in Ba}(e)||function(e){return(null==e?void 0:e.errorCode)in lb}(e)||function(e){return e instanceof _y}(e)||e instanceof Ms)}!function(e){e.DeepLinkDialog="DeepLinkDialog",e.DeepLinkOther="DeepLinkOther",e.DeepLinkStageView="DeepLinkStageView",e.GenericUrl="GenericUrl"}(db||(db={})),function(e){e.INTERNAL_ERROR="INTERNAL_ERROR",e.INVALID_LINK="INVALID_LINK",e.NOT_SUPPORTED="NOT_SUPPORTED"}(pb||(pb={}));class fb{constructor(e,t){this.telemetryService=e,this.logger=t}createTelemetryScenario(e){return this.telemetryService.createScenario(e)}executeCapabilityFunction(e,t){return w(this,void 0,void 0,(function*(){const n=this.createTelemetryScenario($g[e.sdkMessageName]);try{const r=yield e.execute(t,n);return n.stop(),r}catch(t){this.logger.log(yr.Error,`Error executing ${e.sdkMessageName}`,t),e.errorHandler&&(t=yield e.errorHandler(t,n));const r=hb(t)?rl(t):Vs.message;return n.fail(`${e.sdkMessageName} Api failed ${r}`),Promise.reject(t)}}))}}class mb extends fb{constructor(e,t,n,r,i,o,a,s){super(i,o),this.appSdkHost=e,this.authenticationService=t,this.externalAppInfoService=n,this.externalAppChannelService=r,this.telemetryService=i,this.logger=o,this.ssoTokenGetter=a,this.TAG="ExternalAppAuthenticationBaseExecutor",this.externalAppAuthenticationOAuthExecutorHelper=(e,t,n,r)=>w(this,void 0,void 0,(function*(){const i=n.appId.toString();this.updateTelemetryScenario(r,n,i),this.validateAuthHandlerInput(i,"conversationId"in n?n.conversationId:void 0,"originalRequestInfo"in n?n.originalRequestInfo:void 0);const o=yield this.fetchAndValidateAppDefinition(e,i),a=yield this.createAppSdkContext();return this.executeOAuthFlow(t,n,r,o,a)})),this.externalAppAuthenticationSSOExecutorHelper=(e,t,n,r)=>w(this,void 0,void 0,(function*(){const i=t.appId.toString();r.addOrUpdateActivityDataField(xa,i),this.validateAuthHandlerInput(i,"conversationId"in t?t.conversationId:void 0,"originalRequestInfo"in t?t.originalRequestInfo:void 0);const o=yield this.getSSOToken(e,i,n,origin,t.claims,t.silent);if(r.markPhase("InvokeToExternalAppAuthTokenAcquired"),e===la.CEA){const e=t.authId,n=t.connectionName;if(e&&n)return{type:sb.SSOBotToken,token:o,authId:e,connectionName:n}}return{type:sb.SSOToken,token:o}})),this.getSSOToken=(e,t,n,r,i,o)=>w(this,void 0,void 0,(function*(){const a=yield this.getAppDefinition(t);this.validateAppDefinition(a,e,n);const s=yield this.appSdkHost.getContext(),l=yield ts(r,void 0,this.appSdkHost.getHubInfo(),a,s,!0,n);if(!l||0===l.length)throw Gs("Validated resources must contain at least one item.");const c=yield this.ssoTokenGetter(l[0],i,o);return this.appSdkHost.getLogger().log(yr.Debug,this.TAG,`AcquireToken returned successfully, authToken is ${null!==c?"not ":""} null`),c})),this.getAppDefinition=e=>w(this,void 0,void 0,(function*(){var t,n;if(!(yield null===(t=this.externalAppInfoService)||void 0===t?void 0:t.isAppAllowed(e)))throw Gs(`App with ID: ${e} has been blocked`);const r=yield null===(n=this.externalAppInfoService)||void 0===n?void 0:n.getAppDefinition(e);if(!r)throw Gs(`Unable to retrieve AppDefinition for ${e}`);return r})),this.validateAppDefinition=(e,t,n)=>{"ME"===t?this.validateAppDefinitionForME(e,n):"CEA"===t&&this.validateAppDefinitionForCEA(e)},this.validateAppDefinitionForCEA=e=>{if(!is(e))throw Gs("customEngineAgents field is not defined in external AppDefinition");try{as(e)}catch(e){throw Gs(e)}},this.validateAppDefinitionForME=(e,t)=>{if(!(null==(n=e)?void 0:n.composeExtension))throw Gs("composeExtension field is not defined in external AppDefinition");var n;if(t){if(!rs(e))throw Gs("AppDefinition composeExtension.type field must be bot-based");try{os(e)}catch(e){throw console.log("the thrown error is ",e),Gs(e)}}},this.validateAuthHandlerInput=(e,t,n)=>{Pv(e,Gs("App ID is not valid.")),t&&Pv(t,Gs("Conversation ID is not valid.")),(null==n?void 0:n.requestType)===ob.QueryMessageExtensionRequest?this.validateQueryMessageExtensionRequest(n):(null==n?void 0:n.requestType)===ob.ActionExecuteInvokeRequest&&this.validateActionExecuteInvokeRequest(n)},this.validateInvokeResponse=e=>{e.responseType===ab.QueryMessageExtensionResponse&&(this.validateSuggestedActionsForResultOrMessage(e),this.validateQueryMessageExtensionCard(e),this.validateSuggestedActionsForConfigOrAuth(e),this.validateTextForMessageType(e)),e.responseType===ab.ActionExecuteInvokeResponse&&this.validateValue(e)},this.validateValue=e=>{if(!ub(e.value))throw Gs("ActionExecuteInvokeResponse.value should be a primitive or plain object")},this.validateQueryMessageExtensionCard=e=>{const{composeExtension:t}=e,n=null==t?void 0:t.attachments;n&&n.forEach((e=>{var t;if(!ub(e.content))throw Gs("QueryMessageExtensionCard.content should be a primitive or plain object");if(!ub(null===(t=e.preview)||void 0===t?void 0:t.content))throw Gs("QueryMessageExtensionCard.preview.content should be a primitive or plain object")}))},this.validateSuggestedActionsForResultOrMessage=e=>{const{composeExtension:t}=e;if(("result"===(null==t?void 0:t.type)||"message"===(null==t?void 0:t.type))&&(null==t?void 0:t.suggestedActions))throw Gs("ComposeExtensionResponse.SuggestedActions should be undefined when the composeExtension.type is 'result' or 'message'")},this.validateSuggestedActionsForConfigOrAuth=e=>{const{composeExtension:t}=e;if(("config"===(null==t?void 0:t.type)||"auth"===(null==t?void 0:t.type))&&!(null==t?void 0:t.suggestedActions))throw Gs("ComposeExtensionResponse.SuggestedActions should be defined when the composeExtension.type is 'config' or 'auth'")},this.validateTextForMessageType=e=>{const{composeExtension:t}=e;if("message"===(null==t?void 0:t.type)&&!(null==t?void 0:t.text))throw Gs("ComposeExtensionResponse.text should be defined when the composeExtension.type is 'message'")},this.hostedWebContentAuthSdkServiceFactory=null!=s?s:(e,t,n,r,i,o,a,s)=>new By(e,t,n,r,i,o,a,s)}updateTelemetryScenario(e,t,n){e.addOrUpdateActivityDataField(Ia,t.isExternal?"true":"false"),e.addOrUpdateActivityDataField(xa,n)}fetchAndValidateAppDefinition(e,t){return w(this,void 0,void 0,(function*(){const n=yield this.getAppDefinition(t);return this.validateAppDefinition(n,e,!0),n}))}createAppSdkContext(){return w(this,void 0,void 0,(function*(){const e=yield this.appSdkHost.getContext();return{app:{locale:e.app.locale,theme:e.app.theme,launchId:or(),sessionId:or(),host:e.app.host,userClickTime:Date.now(),userClickTimeV2:ev()},page:{id:or(),frameContext:pr.authentication},user:{dataResidency:e.user.dataResidency}}}))}executeOAuthFlow(e,t,n,r,i){return new Promise(((o,a)=>{const s={onSuccess:e=>o(e),onFailure:e=>a(e)},l=this.createWindowAuthenticationService(t,n,e,s);this.startOAuthHostedService(t,r,l,i)}))}createWindowAuthenticationService(e,t,n,r){return{getUser:()=>this.authenticationService.getUser(),acquireToken:(e,t,n)=>this.authenticationService.acquireToken(e,t,n),notifySuccess:i=>w(this,void 0,void 0,(function*(){yield n(i,e.appId,t,r,"originalRequestInfo"in e?e.originalRequestInfo:void 0,"conversationId"in e?e.conversationId:void 0)})),notifyFailure:e=>w(this,void 0,void 0,(function*(){r.onFailure(e)})),externalAuthRedirectUrl:this.authenticationService.externalAuthRedirectUrl,externalAuthService:this.authenticationService.externalAuthService,addEventListener:()=>{},clearListeners:()=>{}}}startOAuthHostedService(e,t,n,r){const i="string"==typeof e.url?e.url:e.url.href;this.hostedWebContentAuthSdkServiceFactory(this.appSdkHost.getHostWindow(),{url:i,width:e.width,height:e.height},t,n,r,this.appSdkHost.getLogger(),void 0,e.isExternal)}validateQueryMessageExtensionRequest(e){this.validateQueryMECommandId(e),this.validateQueryMEParametersSize(e),this.validateQueryMEParametersContent(e)}validateQueryMECommandId(e){if(e.commandId.length>64)throw Gs("originalRequestInfo.commandId has exceeded the character limit of 64")}validateQueryMEParametersSize(e){if(e.parameters.length>5)throw Gs("originalRequestInfo.parameters have exceeded the size limit of 5")}validateQueryMEParametersContent(e){for(const t of e.parameters)this.validateParameterName(t.name),this.validateParameterValue(t.value)}validateParameterName(e){if(e.length>64)throw Gs("originalRequestInfo.parameters.Name exceeds the maximum size of 64 characters")}validateParameterValue(e){if(e.length>512)throw Gs("originalRequestInfo.parameters.Value exceeds the maximum size of 512 characters")}validateActionExecuteInvokeRequest(e){if(e.type!==cb)throw Gs(`originalRequestInfo.type can only be ${cb}`)}}const gb=la.CEA;class vb extends mb{constructor(e,t,n,r,i,o,a,s){super(e,t,r,i,o,a,n.acquireToken,s),this.appSdkHost=e,this.authenticationService=t,this.botAuthenticationService=n,this.externalAppInfoService=r,this.IExternalAppChannelForCEAService=i,this.telemetryService=o,this.logger=a,this.TAG="ExternalAppAuthenticationForCEAExecutor",this.notifySuccessHelper=(e,t,n,r,i,o)=>w(this,void 0,void 0,(function*(){const a={type:sb.OAuthCode,secret_code:e};this.appSdkHost.getLogger().log(yr.Debug,this.TAG,"notifySuccess func"),n.markPhase("InvokeToExternalAppAuthTokenAcquired");try{if(i){const e=yield this.IExternalAppChannelForCEAService.sendAuthResultWithOriginalRequestToBot(t,o,i,a);this.appSdkHost.getLogger().log(yr.Debug,this.TAG,"IExternalAppChannelForCEAService.sendAuthResultWithOriginalRequestToBot: sent authResult to bot"),this.validateInvokeResponse(e),r.onSuccess(e)}else yield this.IExternalAppChannelForCEAService.sendAuthResultToBot(t,o,a),this.appSdkHost.getLogger().log(yr.Debug,this.TAG,"IExternalAppChannelForCEAService.sendAuthResultToBot: sent authResult to bot"),r.onSuccess()}catch(e){r.onFailure(e)}})),this.authenticateAndResendRequestExecutor={execute:(e,t)=>w(this,void 0,void 0,(function*(){return yield this.externalAppAuthenticationOAuthExecutorHelper(gb,this.notifySuccessHelper,e,t)})),sdkMessageName:ai},this.authenticateWithOauthExecutor={execute:(e,t)=>w(this,void 0,void 0,(function*(){return yield this.externalAppAuthenticationOAuthExecutorHelper(gb,this.notifySuccessHelper,e,t)})),sdkMessageName:oi},this.authenticateWithSSOExecutor={execute:(e,t)=>w(this,void 0,void 0,(function*(){const n=yield this.externalAppAuthenticationSSOExecutorHelper(gb,e,!0,t);yield this.IExternalAppChannelForCEAService.sendAuthResultToBot(e.appId,e.conversationId,n),this.appSdkHost.getLogger().log(yr.Debug,this.TAG,"IExternalAppChannelForCEAService.sendAuthResultToBot: sent authResult to bot")})),sdkMessageName:ii},this.authenticateWithSSOAndResendRequestExecutor={execute:(e,t)=>w(this,void 0,void 0,(function*(){const n=yield this.externalAppAuthenticationSSOExecutorHelper(gb,e,!0,t),r=yield this.IExternalAppChannelForCEAService.sendAuthResultWithOriginalRequestToBot(e.appId,e.conversationId,e.originalRequestInfo,n);return this.appSdkHost.getLogger().log(yr.Debug,this.TAG,"IExternalAppChannelForCEAService.sendAuthResultWithOriginalRequestToBot: sent authResult to bot"),this.validateInvokeResponse(r),r})),sdkMessageName:si}}authenticateAndResendRequest(e,t,n,r,i,o,a){return this.executeCapabilityFunction(this.authenticateAndResendRequestExecutor,{appId:e,conversationId:t,originalRequestInfo:n,url:r,width:o,height:a,isExternal:i})}authenticateWithSSOInternal(e,t,n,r,i,o,a){return this.executeCapabilityFunction(this.authenticateWithSSOExecutor,{appId:e,conversationId:t,origin:n,authId:r,connectionName:i,claims:o,silent:a})}authenticateWithSSO(e,t,n,r,i,o){var a;return this.authenticateWithSSOInternal(e,t,(null===(a=this.appSdkHost.getHostWindow())||void 0===a?void 0:a.location.href)||"",n,r,i,o)}authenticateWithOauth(e,t,n,r,i,o){return this.executeCapabilityFunction(this.authenticateWithOauthExecutor,{appId:e,conversationId:t,url:n,width:i,height:o,isExternal:r})}authenticateWithSSOAndResendRequestInternal(e,t,n,r,i,o,a,s){return this.executeCapabilityFunction(this.authenticateWithSSOAndResendRequestExecutor,{appId:e,conversationId:t,originalRequestInfo:n,authId:i,connectionName:o,origin:r,claims:a,silent:s})}authenticateWithSSOAndResendRequest(e,t,n,r,i,o,a){var s;return this.authenticateWithSSOAndResendRequestInternal(e,t,n,(null===(s=this.appSdkHost.getHostWindow())||void 0===s?void 0:s.location.href)||"",r,i,o,a)}}const yb={dependentHubServiceSelector:e=>e.authenticationService&&e.externalAppInfoService&&e.externalAppChannelForCEAService&&e.botAuthenticationService?{authenticationService:e.authenticationService,externalAppInfoService:e.externalAppInfoService,externalAppChannelForCEAService:e.externalAppChannelForCEAService,botAuthenticationService:e.botAuthenticationService}:void 0,messageHandlerFactory:(e,t,n)=>new bb(e,new vb(e,t.authenticationService,t.botAuthenticationService,t.externalAppInfoService,t.externalAppChannelForCEAService,n,e.getLogger()),n)};class bb extends Lv{constructor(e,t,n){super(e,n),this.appSdkHost=e,this.externalAppAuthenticationForCEAExecutor=t,this.TAG="ExternalAppAuthenticationForCEAMessageHandler",this.isTelemetryHandledByExecutor=!0}initHandlers(){this.registerHandler(ai,this.handleAuthenticateAndResendRequest,{errorCallback:e=>this.onAuthenticateError(e)}),this.registerHandler(ii,this.handleCEAAuthenticateWithSSO,{errorCallback:e=>this.onAuthenticateError(e)}),this.registerHandler(oi,this.handleCEAAuthenticateWithOauth,{errorCallback:e=>this.onAuthenticateError(e)}),this.registerHandler(si,this.handleAuthenticateWithSSOAndResendRequest,{errorCallback:e=>this.onAuthenticateError(e)})}canHandleMessage(e){return super.canHandleMessage(e)&&es(this.appDefinition)}handleAuthenticateAndResendRequest(e,t,n,r,i,o,a,s){return w(this,void 0,void 0,(function*(){const l=mr(e.data);try{const e=yield this.externalAppAuthenticationForCEAExecutor.authenticateAndResendRequest(new Mv(t),n,r,new URL(i),null!=s&&s,o,a);this.postResponseToAppAndLog("notifySuccess func",l,[e])}catch(e){this.postResponseToAppAndLog("AuthenticateAndResendRequest",l,[Gs(e)])}return el}))}handleCEAAuthenticateWithSSO(e,t,n,r,i,o,a){return w(this,void 0,void 0,(function*(){return yield this.externalAppAuthenticationForCEAExecutor.authenticateWithSSOInternal(new Mv(t),n,e.origin,r,i,o,a),Js()}))}handleCEAAuthenticateWithOauth(e,t,n,r,i,o,a){return w(this,void 0,void 0,(function*(){return yield this.externalAppAuthenticationForCEAExecutor.authenticateWithOauth(new Mv(t),n,new URL(r),null!=a&&a,i,o),Js()}))}handleAuthenticateWithSSOAndResendRequest(e,t,n,r,i,o,a,s){return w(this,void 0,void 0,(function*(){const l=yield this.externalAppAuthenticationForCEAExecutor.authenticateWithSSOAndResendRequestInternal(new Mv(t),n,r,e.origin,i,o,a,s);return Js([l])}))}postResponseToAppAndLog(e,t,n){return w(this,void 0,void 0,(function*(){this.appSdkHost.postResponseToApp(t,n);const r=ol(t);this.appSdkHost.getLogger().log(yr.Debug,this.TAG,`${e}: ${r}`)}))}onAuthenticateError(e){const t=Gs(e);return Js([t])}}class Cb{constructor(e,t){this.origin=e;const n="https://";if(Za([this.origin.substring(8)]).length>0)throw new Error(`Please make sure the origin: ${this.origin} is valid. For example: "https://*.*.example.com" is valid, but 'https://foo.*.example.com' is not valid.`);const r=this.origin.startsWith(n)?this.origin.replaceAll("*","x"):n+this.origin.replaceAll("*","x");try{const e=new URL(r);if(!this.origin.startsWith(n)){const n=`Please make sure the origin: ${e.hostname} has a valid https protocol.`;console.warn(n),null==t||t.markWarnMessage(`WARN: ${n}`)}}catch(e){throw new Error(`Please make sure the origin: ${this.origin} is a valid URL. Error: ${e}`)}}getOrigin(){return this.origin}}class Ab{constructor(e,t){this.blockedOrigins=[...e||[]],this.appInitScenario=t}isOriginBlockedImpl(e,t=[],n=!1){for(const r of t){try{new Cb(r,this.appInitScenario)}catch(e){return{isOriginValid:!1,message:e.message}}for(const t of this.blockedOrigins){if(!n&&e&&r===t[0].getOrigin()&&t[1]&&!Array.from(t[1]).find((t=>t.toString()===e.toString())))return{isOriginValid:!1,message:`Current app is not allowed to load the origin: ${r}.`};if(n&&r===t[0].getOrigin())return{isOriginValid:!1,message:`Current app is not allowed to load the origin: ${r}.`}}}return{isOriginValid:!0}}isOriginBlocked(e,t=[]){return this.isOriginBlockedImpl(e,t,!1)}isOriginBlockedExternal(e=[]){return this.isOriginBlockedImpl("",e,!0)}}function Sb(e){return e.uuid?e:mr(e)}class Eb{constructor(e,t,n,r){this.hostWindow=e,this.openWindowInfo=t,this.notificationService=n,this.context=r,this.onExternalAuthenticationComplete=(e,t)=>{e?this.notificationService.notifySuccess(t):this.notificationService.notifyFailure(t)}}isWindowOpen(){return!!this.authWindow&&!this.authWindow.closed}closeWindow(){var e;this.globalWindowEventListener&&this.globalWindowEventListener.removeListener("message"),null===(e=this.authWindow)||void 0===e||e.close()}sendRequestMessage(e,t){if(this.origin){const n={func:e,args:t,monotonicTimestamp:ev()};this.postMessage(n)}}launchAuthWindow(){var e,t;try{if(void 0===this.onAuthMessageReceived)throw Error("onAuthMessageReceived is undefined");const e=Ty(this.openWindowInfo);this.context.app.host.clientType===dr.desktop&&this.notificationService.externalAuthService?this.authWindow=this.notificationService.externalAuthService.openUrlInEmbeddedBrowser(new URL(this.openWindowInfo.url),e):this.authWindow=this.hostWindow.open(this.openWindowInfo.url,"appAuthWindow",e),this.authWindow?this.setupAuthWindowListener(this.openWindowInfo.url,this.hostWindow):this.notificationService.notifyFailure("Auth window reference undefined",Sy.AuthWindowReferenceUndefined)}catch(n){if(null!==this.authWindow)null===(e=this.notificationService)||void 0===e||e.notifyFailure(`openUrlInEmbeddedBrowser threw an error but still returned a non-null window object? Forcing window object to null. Error = ${n}`,Sy.Other),this.authWindow=null;else{let e=n instanceof Error?`${n.message}`:"Error launching AuthWindow";null===(t=this.notificationService)||void 0===t||t.notifyFailure(e,Sy.Other)}}}postResponseToApp(e,t){this.sendResponseMessage(e,t)}stopAuthWindowMonitor(){this.authWindowMonitor&&(this.hostWindow.clearInterval(this.authWindowMonitor),this.authWindowMonitor=void 0)}launchExternalAuthenticationWorkflow(e){const t=Cy.startNewExternalAuthSession(e,this.onExternalAuthenticationComplete,this.notificationService.externalAuthRedirectUrl);try{this.notificationService.externalAuthService?this.notificationService.externalAuthService.openUrlInExternalBrowser(t):this.hostWindow.open(t)}catch(e){throw new _y("Failed to open the URL in external browser",Sy.Other)}}shouldUseExternalAuthenticationWorkflow(e,t){return e===dr.desktop&&!0===t}setupAuthWindowListener(e,t){this.origin=e,this.globalWindowEventListener=new br(t),this.globalWindowEventListener.addListener("message",this.onAuthMessageReceived),this.startAuthWindowMonitor()}sendResponseMessage(e,t){var n;if(this.origin){const r=Sb(e),i={id:r.id,uuidAsString:null===(n=r.uuid)||void 0===n?void 0:n.toString(),args:t,origin:this.origin,monotonicTimestamp:ev()};this.postMessage(i)}}startAuthWindowMonitor(){this.stopAuthWindowMonitor(),this.authWindowMonitor=this.hostWindow.setInterval((()=>{this.authWindowInterval()}),2e3)}authWindowInterval(){this.isWindowOpen()?this.sendRequestMessage("ping"):(this.notificationService.notifyFailure("CancelledByUser",Sy.CancelledByUser),this.closeWindow(),this.stopAuthWindowMonitor())}postMessage(e){var t;this.origin&&(null===(t=this.authWindow)||void 0===t||t.postMessage(e,this.origin))}isValidOriginBlocked(e){const t=new Ab([]),n=e.args&&e.args.length>2&&null!=e.args[2]?[e.args[2]]:[];return t.isOriginBlockedExternal(n)}}class wb extends Eb{constructor(e,t,n,r,i,o){super(e,t,n,r),this.hostWindow=e,this.openWindowInfo=t,this.notificationService=n,this.context=r,this.logger=i,this.redirectOrigin=o,this.onAuthMessageReceived=e=>w(this,void 0,void 0,(function*(){var t,n;if(!this.authWindow||this.authWindow!==e.source)return void this.logger.log(yr.Error,"HostedWebContentExternalOauthService","Auth window is not valid");const r=e.origin;r!==this.origin&&r.toLocaleLowerCase()===this.redirectOrigin.toLocaleLowerCase()&&(this.origin=e.origin);const i=e.data,o=mr(i);if(this.origin===r&&this.notificationService)if(o.func===vi){const e=this.isValidOriginBlocked(o);if(e.isOriginValid)return this.postResponseToApp(o,[pr.authentication,dr]);this.notificationService.notifyFailure(e.message,Sy.InvalidAuthUrl),this.stopAuthWindowMonitor(),this.closeWindow()}else if("authentication.authenticate.success"===o.func)this.notificationService.notifySuccess((null===(t=o.args)||void 0===t?void 0:t[0])?String(o.args[0]):""),this.stopAuthWindowMonitor(),this.closeWindow();else if("authentication.authenticate.failure"===o.func){const e=(null===(n=o.args)||void 0===n?void 0:n[0])?String(o.args[0]):"Token storage failed";this.notificationService.notifyFailure(e),this.stopAuthWindowMonitor(),this.closeWindow()}}))}}const xb="HostedWebContentPPCAuthService";class Ib extends Eb{constructor(e,t,n,r,i,o,a){super(e,t,n,r),this.hostWindow=e,this.openWindowInfo=t,this.notificationService=n,this.context=r,this.logger=i,this.validDomains=o,this.runInExternalBrowser=a,this.onAuthMessageReceived=e=>w(this,void 0,void 0,(function*(){var t;if(this.authWindow&&this.authWindow===e.source)try{const n=e.origin;n!==this.origin&&fs(new URL(n),this.validDomains,this.logger)&&(this.origin=e.origin);const r=e.data;if(this.origin===n&&this.notificationService)if(r.func===vi){const e=this.isValidOriginBlocked(r);if(e.isOriginValid)return this.postResponseToApp(r,[pr.authentication,dr]);this.notificationService.notifyFailure(e.message),this.stopAuthWindowMonitor(),this.closeWindow()}else if("authentication.authenticate.success"===r.func)this.notificationService.notifySuccess(""),this.stopAuthWindowMonitor(),this.closeWindow();else if("authentication.authenticate.failure"===r.func){const e=(null===(t=r.args)||void 0===t?void 0:t[0])?String(r.args[0]):"Token storage failed";this.notificationService.notifyFailure(e),this.stopAuthWindowMonitor(),this.closeWindow()}}catch(e){this.logger.log(yr.Error,xb,"Error in onAuthMessageReceived",e),this.notificationService.notifyFailure(e.message)}else this.logger.log(yr.Error,xb,"Auth window is not valid")}))}launchAuthWindow(){var e;try{const e=Ty(this.openWindowInfo);this.shouldUseExternalAuthenticationWorkflow(this.context.app.host.clientType,this.runInExternalBrowser)?this.launchExternalAuthenticationWorkflow(this.openWindowInfo.url):(this.authWindow&&!this.authWindow.closed&&this.authWindow.close(),this.context.app.host.clientType===dr.desktop&&this.notificationService.externalAuthService?this.authWindow=this.notificationService.externalAuthService.openUrlInEmbeddedBrowser(new URL(this.openWindowInfo.url),e):this.authWindow=this.hostWindow.open(this.openWindowInfo.url,"appAuthWindow",e),this.authWindow?this.setupAuthWindowListener(this.openWindowInfo.url,this.hostWindow):this.notificationService.notifyFailure("Auth window reference undefined"))}catch(t){let n=t instanceof Error?`${t.message}`:"Error launching AuthWindow";null===(e=this.notificationService)||void 0===e||e.notifyFailure(n)}}}const kb=la.ME;class Tb extends mb{constructor(e,t,n,r,i,o,a,s,l,c){super(e,t,n,r,o,a,t.acquireToken,s),this.appSdkHost=e,this.authenticationService=t,this.externalAppInfoService=n,this.externalAppChannelService=r,this.signInUrlInfoServiceProvider=i,this.telemetryService=o,this.logger=a,this.TAG="ExternalAppAuthenticationExecutor",this.notifySuccessHelper=(e,t,n,r,i)=>w(this,void 0,void 0,(function*(){const o={type:sb.OAuthCode,secret_code:e};this.appSdkHost.getLogger().log(yr.Debug,this.TAG,"notifySuccess func"),n.markPhase("InvokeToExternalAppAuthTokenAcquired");try{const e=yield this.externalAppChannelService.sendRequestWithAuth(t,i,o);this.validateInvokeResponse(e),r.onSuccess(e)}catch(e){r.onFailure(e)}})),this.authenticateAndResendRequestExecutor={execute:(e,t)=>w(this,void 0,void 0,(function*(){return yield this.externalAppAuthenticationOAuthExecutorHelper(kb,this.notifySuccessHelper,e,t)})),sdkMessageName:Qr},this.authenticateWithSSOExecutor={execute:(e,t)=>w(this,void 0,void 0,(function*(){yield this.externalAppAuthenticationSSOExecutorHelper(kb,e,!1,t)})),sdkMessageName:ei},this.authenticateWithSSOAndResendRequestExecutor={execute:(e,t)=>w(this,void 0,void 0,(function*(){const n=yield this.externalAppAuthenticationSSOExecutorHelper(kb,e,!0,t),r=yield this.externalAppChannelService.sendRequestWithAuth(e.appId,e.originalRequestInfo,n);return this.appSdkHost.getLogger().log(yr.Debug,this.TAG,"externalAppChannelService.sendRequestWithAuth: sent authResult to bot"),this.validateInvokeResponse(r),r})),sdkMessageName:ti},this.authenticateWithOauth2Executor={execute:(e,t)=>w(this,void 0,void 0,(function*(){var n,r;t.addOrUpdateActivityDataField(xa,e.titleId),t.addOrUpdateActivityDataField("OauthConfigID",e.oauthConfigId),Pv(e.titleId,Gs("titleId is not valid."));const i=null===(n=e.oauthConfigId)||void 0===n?void 0:n.trim();if(!i)throw Gs("No oAuthConfigId is provided. Request cannot be completed");const o=new Map;o.set("authConfigId",i),t.markPhase("InvokeToAcquireSignInUrl");const a=yield this.getSignInUrlInfoResponse(e.titleId,o);if(!a)throw Gs("No response is provided by the service. Request cannot be completed");const s=null!==(r=a.signInUrl)&&void 0!==r?r:"";let l;try{l=decodeURIComponent(s)}catch(e){throw Gs("Invalid sign-in URL. Decoding failed.")}if(!this.isValidOauthUrl(l))throw Gs("Invalid signIn URL. Request cannot be completed");const c=this.getUrlParameters(new URL(l),"redirect_uri");if(!c)throw Gs("Redirect URI is missing or invalid.");const u=new URL(c).origin;return new Promise(((n,r)=>{const o={onSuccess:()=>n(),onFailure:e=>r(e)},a={getUser:()=>Promise.reject(void 0),acquireToken:()=>Promise.reject(void 0),notifySuccess:n=>w(this,void 0,void 0,(function*(){yield this.activateOauth2TokenAfterSuccessIsReceived(e.titleId,i,n,t,o)})),notifyFailure:(e,t)=>w(this,void 0,void 0,(function*(){if(t)this.appSdkHost.getLogger().log(yr.Debug,this.TAG,`Oauth notifyFailure func: ${e}`),r(Gs(t+" : "+e));else{const t="Internal error occurred while acquiring or storing token";this.appSdkHost.getLogger().log(yr.Debug,this.TAG,`Oauth notifyFailure func: ${null!=e?e:t}`),r(null!=e?e:t)}})),externalAuthRedirectUrl:void 0,addEventListener:()=>{},clearListeners:()=>{},externalAuthService:this.authenticationService.externalAuthService},s={app:{locale:this.appSdkHost.getContext().app.locale,theme:this.appSdkHost.getContext().app.theme,launchId:or(),sessionId:or(),host:this.appSdkHost.getContext().app.host,userClickTime:Date.now(),userClickTimeV2:ev()},page:{id:or(),frameContext:pr.authentication},user:{dataResidency:this.appSdkHost.getContext().user.dataResidency}},c=this.hostedWebContentExternalOauthServiceFactory(this.appSdkHost.getHostWindow(),{url:l,width:e.width,height:e.height},a,s,this.appSdkHost.getLogger(),u);t.markPhase("AcquireSignInToOpenAuthWindow"),c.launchAuthWindow()}))})),sdkMessageName:ni},this.authenticateWithPPCExecutor={execute:(e,t)=>w(this,void 0,void 0,(function*(){var n,r;t.addOrUpdateActivityDataField(xa,e.titleId),Pv(e.titleId,Gs("titleId is not valid."));const i=yield this.getSignInUrlInfoResponse(e.titleId);if(!i)throw Gs("No response is provided by the service. Request cannot be completed");const o=null!==(r=null!==(n=e.signInUrl)&&void 0!==n?n:i.signInUrl)&&void 0!==r?r:"",a=null==i?void 0:i.validDomains;if(void 0===a||0===a.length)throw Gs("No valid domains are provided by the service. Request cannot be completed");const s=a.map((e=>e.toLocaleLowerCase())),l=decodeURIComponent(o);if(!this.isValidPPCUrl(l,s))throw Gs("Invalid authentication url. Request cannot be completed");return new Promise(((t,n)=>{const r={getUser:()=>Promise.reject(void 0),acquireToken:()=>Promise.reject(void 0),notifySuccess:()=>w(this,void 0,void 0,(function*(){this.appSdkHost.getLogger().log(yr.Debug,this.TAG,"notifySuccess func"),t()})),notifyFailure:e=>w(this,void 0,void 0,(function*(){const t="Internal error occurred while acquiring or storing token";this.appSdkHost.getLogger().log(yr.Debug,this.TAG,`Oauth notifyFailure func: ${null!=e?e:t}`),n(null!=e?e:t)})),externalAuthRedirectUrl:this.authenticationService.externalAuthRedirectUrl,externalAuthService:this.authenticationService.externalAuthService,addEventListener:()=>{},clearListeners:()=>{}},i={app:{locale:this.appSdkHost.getContext().app.locale,theme:this.appSdkHost.getContext().app.theme,launchId:or(),sessionId:or(),host:this.appSdkHost.getContext().app.host,userClickTime:Date.now(),userClickTimeV2:ev()},page:{id:or(),frameContext:pr.authentication},user:{dataResidency:this.appSdkHost.getContext().user.dataResidency}};this.hostedWebContentPPCAuthServiceFactory(this.appSdkHost.getHostWindow(),{url:l,width:e.width,height:e.height},r,i,this.appSdkHost.getLogger(),s,e.isExternal).launchAuthWindow()}))})),sdkMessageName:ri},this.getSignInUrlInfoResponse=(e,t)=>w(this,void 0,void 0,(function*(){return this.oauth2Service||(yield this.constructOauth2Service()),this.oauth2Service?yield this.oauth2Service.getSignInUrlInfo(e,t):{}})),this.callActivateOauth2Token=(e,t,n)=>w(this,void 0,void 0,(function*(){if(this.oauth2Service||(yield this.constructOauth2Service()),!this.oauth2Service)throw Gs("No service is provided to activate Oauth2 token");yield this.oauth2Service.activateOauth2Token(e,t,n)})),this.activateOauth2TokenAfterSuccessIsReceived=(e,t,n,r,i)=>w(this,void 0,void 0,(function*(){this.appSdkHost.getLogger().log(yr.Debug,this.TAG,"activateOauth2TokenAfterSuccessIsReceived func"),r.markPhase("OpenAuthWindowToActivateToken");try{if(!n)throw Gs("No auth code is provided. Activate Oauth Token failed.");yield this.callActivateOauth2Token(e,t,n),this.appSdkHost.getLogger().log(yr.Debug,this.TAG,"activateOauth2TokenAfterSuccessIsReceived func success"),r.markPhase("ActivateTokenToReportSuccess"),i.onSuccess()}catch(e){this.appSdkHost.getLogger().log(yr.Debug,this.TAG,"activateOauth2TokenAfterSuccessIsReceived func failed"),i.onFailure(null!=e?e:Gs("Token activation failed"))}})),this.hostedWebContentExternalOauthServiceFactory=null!=l?l:(e,t,n,r,i,o)=>new wb(e,t,n,r,i,o),this.hostedWebContentPPCAuthServiceFactory=null!=c?c:(e,t,n,r,i,o,a)=>new Ib(e,t,n,r,i,o,a)}authenticateAndResendRequest(e,t,n,r,i,o){const a="string"==typeof n?n:n.href;return this.executeCapabilityFunction(this.authenticateAndResendRequestExecutor,{appId:e,originalRequestInfo:t,url:a,width:i,height:o,isExternal:r})}authenticateWithSSOInternal(e,t,n,r){return this.executeCapabilityFunction(this.authenticateWithSSOExecutor,{appId:e,origin:t,claims:n,silent:r})}authenticateWithSSO(e,t,n){var r;return this.authenticateWithSSOInternal(e,(null===(r=this.appSdkHost.getHostWindow())||void 0===r?void 0:r.location.href)||"",t,n)}authenticateWithSSOAndResendRequestInternal(e,t,n,r,i){return this.executeCapabilityFunction(this.authenticateWithSSOAndResendRequestExecutor,{appId:e,originalRequestInfo:t,origin:n,claims:r,silent:i})}authenticateWithSSOAndResendRequest(e,t,n,r){var i;return this.authenticateWithSSOAndResendRequestInternal(e,t,(null===(i=this.appSdkHost.getHostWindow())||void 0===i?void 0:i.location.href)||"",n,r)}authenticateWithOauth2(e,t,n,r,i){return w(this,void 0,void 0,(function*(){return this.executeCapabilityFunction(this.authenticateWithOauth2Executor,{titleId:e,oauthConfigId:t,width:n,height:r,_isExternal:i})}))}authenticateWithPPC(e,t,n,r,i){return w(this,void 0,void 0,(function*(){return this.executeCapabilityFunction(this.authenticateWithPPCExecutor,{titleId:e,signInUrl:t,width:n,height:r,isExternal:i})}))}constructOauth2Service(){return w(this,void 0,void 0,(function*(){if(!this.signInUrlInfoServiceProvider)throw Gs("No service is provided to retrieve signInUrl");this.isExternalAppOauth2Service(this.signInUrlInfoServiceProvider)?this.oauth2Service=this.signInUrlInfoServiceProvider:this.oauth2Service=yield Ls.build(this.signInUrlInfoServiceProvider)}))}isValidOauthUrl(e){if(!e)throw Gs("OAuth URL is undefined or empty.");let t;try{t=new URL(e)}catch(e){throw Gs("Invalid OAuth URL format.")}const n=this.getUrlParameters(t,"redirect_uri");if(!n)throw Gs("Invalid signIn URL. Redirect URI is missing in the OAuth URL.");if("https:"!==new URL(n).protocol)throw Gs("Invalid signIn URL. Redirect URI must use HTTPS protocol.");if(!this.getUrlParameters(t,"client_id"))throw Gs("Invalid signIn URL. Client ID is missing in the OAuth URL.");if(!this.getUrlParameters(t,"response_type"))throw Gs("Invalid signIn URL. Response type is missing in the OAuth URL.");if("https:"!==t.protocol)throw Gs("Invalid signIn URL. OAuth URL must use HTTPS protocol.");return!0}isValidPPCUrl(e,t){if(!e||!t)return!1;try{const n=new URL(e);return fs(n,t,this.logger)}catch(e){return!1}}getUrlParameters(e,t){return new URLSearchParams(e.search).get(t)}isExternalAppOauth2Service(e){return void 0!==e.getSignInUrlInfo}}const _b={dependentHubServiceSelector:e=>{var t;return e.authenticationService&&e.externalAppInfoService&&e.externalAppChannelService?{authenticationService:e.authenticationService,externalAppInfoService:e.externalAppInfoService,externalAppChannelService:e.externalAppChannelService,oauth2ServiceProvider:null!==(t=e.externalAppOauth2Service)&&void 0!==t?t:e.mos3TokenGenerationService}:void 0},messageHandlerFactory:(e,t,n)=>new Pb(e,new Tb(e,t.authenticationService,t.externalAppInfoService,t.externalAppChannelService,t.oauth2ServiceProvider,n,e.getLogger()),n)};class Pb extends Lv{constructor(e,t,n){super(e,n),this.appSdkHost=e,this.externalAppAuthExecutor=t,this.TAG="ExternalAppAuthenticationMessageHandler",this.isTelemetryHandledByExecutor=!0}initHandlers(){this.registerHandler(Qr,this.handleAuthenticateAndResendRequest,{errorCallback:e=>this.onAuthenticateError(e)}),this.registerHandler(ei,this.handleAuthenticateWithSSO,{errorCallback:e=>this.onAuthenticateError(e)}),this.registerHandler(ti,this.handleAuthenticateWithSSOAndResendRequest,{errorCallback:e=>this.onAuthenticateError(e)}),this.registerHandler(ni,this.handleAuthenticateWithOauth2,{errorCallback:e=>this.onAuthenticateError(e)}),this.registerHandler(ri,this.authenticateWithPowerPlatformConnectorPlugins,{errorCallback:e=>this.onAuthenticateError(e)})}canHandleMessage(e){return super.canHandleMessage(e)&&es(this.appDefinition)}handleAuthenticateAndResendRequest(e,t,n,r,i,o,a){return w(this,void 0,void 0,(function*(){const s=mr(e.data);return this.externalAppAuthExecutor.authenticateAndResendRequest(t,n,r,null!=a&&a,i,o).then((e=>this.postResponseToAppAndLog("notifySuccess func",s,[!0,e])),(e=>this.postResponseToAppAndLog("AuthenticateAndResendRequest",s,[!1,Gs(e)]))),el}))}handleAuthenticateWithSSO(e,t,n,r){return w(this,void 0,void 0,(function*(){return yield this.externalAppAuthExecutor.authenticateWithSSOInternal(t,e.origin,n,r),Js([!0])}))}handleAuthenticateWithSSOAndResendRequest(e,t,n,r,i){return w(this,void 0,void 0,(function*(){const o=yield this.externalAppAuthExecutor.authenticateWithSSOAndResendRequestInternal(t,n,e.origin,r,i);return Js([!0,o])}))}authenticateWithPowerPlatformConnectorPlugins(e,t,n,r,i,o){return w(this,void 0,void 0,(function*(){const a=mr(e.data),s=ol(a);return this.externalAppAuthExecutor.authenticateWithPPC(t,n,r,i,o).then((()=>{this.appSdkHost.postResponseToApp(a,[!0,"success"]),this.appSdkHost.getLogger().log(yr.Debug,this.TAG,`notifySuccess func: ${s}`)}),(e=>{this.appSdkHost.postResponseToApp(a,[!1,Gs(e)]),this.appSdkHost.getLogger().log(yr.Debug,this.TAG,`ppc notifyFailure func: ${s} : ${e}`)})),el}))}handleAuthenticateWithOauth2(e,t,n,r,i,o){return w(this,void 0,void 0,(function*(){const o=mr(e.data),a=ol(o);return this.externalAppAuthExecutor.authenticateWithOauth2(t,n,r,i).then((()=>{this.appSdkHost.postResponseToApp(o,[!0,"success"]),this.appSdkHost.getLogger().log(yr.Debug,this.TAG,`notifySuccess func: ${a}`)}),(e=>{const t=hb(e)?e:Gs(e);this.appSdkHost.postResponseToApp(o,[!1,t]),this.appSdkHost.getLogger().log(yr.Debug,this.TAG,`Oauth notifyFailure func: ${a} : ${e}`)})),el}))}postResponseToAppAndLog(e,t,n){return w(this,void 0,void 0,(function*(){this.appSdkHost.postResponseToApp(t,n);const r=ol(t);this.appSdkHost.getLogger().log(yr.Debug,this.TAG,`${e}: ${r}`)}))}onAuthenticateError(e){const t=Gs(e);return Js([!1,t])}}class Db extends fb{constructor(e,t,n){super(t,n),this.externalAppInfoService=e,this.telemetryService=t,this.logger=n,this.getValidatedUrl=e=>{try{return new URL(e)}catch(e){throw{errorCode:Ra.INTERNAL_ERROR,message:"Invalid URL"}}},this.isDeepLinkUrl=e=>e.hostname.toLowerCase()===ws.hostname&&e.pathname.toLowerCase().startsWith(ws.pathname)}doesAppContainME(e){return w(this,void 0,void 0,(function*(){return!!(yield this.getAppDefinition(e)).composeExtension}))}getAppDefinition(e){return w(this,void 0,void 0,(function*(){const t=yield this.externalAppInfoService.getAppDefinition(e);if(!t)throw{errorCode:Ra.INTERNAL_ERROR,message:`Unable to retrieve AppDefinition for ${e}`};return t}))}updateTelemetryScenarioWithAppId(e,t){e.addOrUpdateActivityDataField("RequestedForAppID",t)}validateAppId(e){Pv(e.toString(),{errorCode:pb.INTERNAL_ERROR,message:"App ID is not valid."})}}function Bb(e,t){return w(this,void 0,void 0,(function*(){if(!(yield t.isAppAllowed(e)))throw{errorCode:Ra.INTERNAL_ERROR,message:wa}}))}function Rb(e){if(!e||"object"!=typeof e)return!1;const{url:t,title:n}=e;try{new URL(t)}catch(e){return!1}return"string"==typeof n}class Mb extends Db{constructor(e,t,n,r){super(t,n,r),this.externalAppCardActionsForCEAService=e,this.externalAppInfoService=t,this.telemetryService=n,this.logger=r,this.actionOpenUrlExecutor={execute:(e,t)=>w(this,void 0,void 0,(function*(){this.updateTelemetryScenarioWithAppId(t,e.appId.toString()),this.validateAppId(e.appId),yield Bb(e.appId.toString(),this.externalAppInfoService);const n=yield this.externalAppCardActionsForCEAService.handleActionOpenUrl(e.appId,e.conversationId,e.url);return t.addOrUpdateActivityDataField("ActionOpenUrlType",n),n})),sdkMessageName:Yr},this.actionSubmitExecutor={execute:(e,t)=>w(this,void 0,void 0,(function*(){this.updateTelemetryScenarioWithAppId(t,e.appId.toString()),this.validateAppId(e.appId),yield Bb(e.appId.toString(),this.externalAppInfoService),yield this.externalAppCardActionsForCEAService.handleActionSubmit(e.appId,e.conversationId,e.actionSubmitPayload)})),sdkMessageName:Xr}}actionOpenUrl(e,t,n){return this.executeCapabilityFunction(this.actionOpenUrlExecutor,{appId:e,conversationId:t,url:n})}actionSubmit(e,t,n){return this.executeCapabilityFunction(this.actionSubmitExecutor,{appId:e,conversationId:t,actionSubmitPayload:n})}}const Lb={dependentHubServiceSelector:e=>e.externalAppCardActionsForCEAService&&e.externalAppInfoService?{externalAppCardActionsForCEAService:e.externalAppCardActionsForCEAService,externalAppInfoService:e.externalAppInfoService}:void 0,messageHandlerFactory:(e,t,n)=>new Ob(e,new Mb(t.externalAppCardActionsForCEAService,t.externalAppInfoService,n,e.getLogger()),n)};class Ob extends Lv{constructor(e,t,n){super(e,n),this.appSdkHost=e,this.externalAppCardActionsForCEAExecutor=t,this.isTelemetryHandledByExecutor=!0}initHandlers(){this.registerHandler(Yr,this.handleActionOpenUrl,{errorCallback:e=>js(Yr,e,Object.values(pb),{errorCode:pb.INTERNAL_ERROR,message:Hs},(e=>Js([e,null])))}),this.registerHandler(Xr,this.handleActionSubmit,{errorCallback:e=>js(Xr,e,Object.values(Ra),Us,(e=>Js(e)))})}canHandleMessage(e){return super.canHandleMessage(e)&&es(this.appDefinition)}handleActionOpenUrl(e,t,n,r){return w(this,void 0,void 0,(function*(){const e=yield this.externalAppCardActionsForCEAExecutor.actionOpenUrl(new Mv(t),n,new URL(r));return Js([null,e])}))}handleActionSubmit(e,t,n,r){return w(this,void 0,void 0,(function*(){return yield this.externalAppCardActionsForCEAExecutor.actionSubmit(new Mv(t),n,r),Js(void 0)}))}}class Fb extends fb{constructor(e,t,n,r){super(n,r),this.externalAppCardActionsForDAService=e,this.externalAppInfoService=t,this.telemetryService=n,this.logger=r,this.actionOpenUrlDialogExecutor={execute:(e,t)=>w(this,void 0,void 0,(function*(){var n;const r=e.appId.toString(),i=null!==(n=e.traceId.toString())&&void 0!==n?n:"";if(t.addOrUpdateActivityDataField("RequestedForAppID",r),Pv(r,{errorCode:pb.INTERNAL_ERROR,message:"App ID is not valid."}),!Rb(e.actionOpenUrlDialogInfo))throw Gs(Hb.InvalidActionOpenUrlDialogInfo);if(!ar.validate(i))throw Gs(Hb.InvalidTraceId);yield Bb(r,this.externalAppInfoService),yield this.externalAppCardActionsForDAService.handleActionOpenUrlDialog(e.appId,e.actionOpenUrlDialogInfo,e.traceId)})),sdkMessageName:Zr}}actionOpenUrlDialog(e,t,n){return this.executeCapabilityFunction(this.actionOpenUrlDialogExecutor,{appId:e,actionOpenUrlDialogInfo:t,traceId:n})}}const Nb={dependentHubServiceSelector:e=>e.externalAppCardActionsForDAService&&e.externalAppInfoService?{externalAppCardActionsForDAService:e.externalAppCardActionsForDAService,externalAppInfoService:e.externalAppInfoService}:void 0,messageHandlerFactory:(e,t,n)=>new zb(e,new Fb(t.externalAppCardActionsForDAService,t.externalAppInfoService,n,e.getLogger()),n)};var Hb;!function(e){e.InvalidActionOpenUrlDialogInfo="Invalid actionOpenUrlDialogInfo",e.InvalidTraceId="Invalid traceId",e.InvalidAppId="App ID is not valid."}(Hb||(Hb={}));class zb extends Lv{constructor(e,t,n){super(e,n),this.appSdkHost=e,this.externalAppCardActionsForDAExecutor=t,this.isTelemetryHandledByExecutor=!0}initHandlers(){this.registerHandler(Zr,this.handleActionOpenUrlDialog,{errorCallback:e=>js(Zr,e,Object.values(Ra),Us,(e=>Js(e)))})}canHandleMessage(e){return super.canHandleMessage(e)&&es(this.appDefinition)}handleActionOpenUrlDialog(e,t,n,r){return w(this,void 0,void 0,(function*(){const e=new Mv(t);if(!ar.validate(r))throw Gs(Hb.InvalidTraceId);const i=new ar(r);if(!Rb(n))throw Gs(Hb.InvalidActionOpenUrlDialogInfo);const o={url:new URL(n.url),title:n.title,size:n.size};return yield this.externalAppCardActionsForDAExecutor.actionOpenUrlDialog(e,o,i),Js(void 0)}))}}class Vb extends Db{constructor(e,t,n,r){super(t,n,r),this.externalAppCardActionsService=e,this.externalAppInfoService=t,this.telemetryService=n,this.logger=r,this.actionOpenUrlExecutor={execute:(e,t)=>w(this,void 0,void 0,(function*(){var n;if(t.addOrUpdateActivityDataField("RequestedForAppID",e.appId),"string"==typeof e.url&&(e.url=this.getValidatedUrl(e.url)),Pv(e.appId,{errorCode:pb.INTERNAL_ERROR,message:"App ID is not valid."}),yield Bb(e.appId,this.externalAppInfoService),this.isDeepLinkUrl(e.url)&&("plugins"===(null===(n=e.fromElement)||void 0===n?void 0:n.name)||!(yield this.doesAppContainME(e.appId))))throw{errorCode:Ra.INTERNAL_ERROR,message:"Deep links are only supported in Message Extensions"};const r=yield this.externalAppCardActionsService.handleActionOpenUrl(e.appId,e.url.href,e.fromElement);return t.addOrUpdateActivityDataField("ActionOpenUrlType",r),r})),sdkMessageName:Gr},this.actionSubmitExecutor={execute:(e,t)=>w(this,void 0,void 0,(function*(){if(t.addOrUpdateActivityDataField("RequestedForAppID",e.appId),Pv(e.appId,{errorCode:Ra.INTERNAL_ERROR,message:"App ID is not valid."}),yield Bb(e.appId,this.externalAppInfoService),!(yield this.doesAppContainME(e.appId)))throw{errorCode:Ra.INTERNAL_ERROR,message:"Action.Submit is only supported in Message Extensions"};yield this.externalAppCardActionsService.handleActionSubmit(e.appId,e.actionSubmitPayload)})),sdkMessageName:Kr}}actionOpenUrl(e,t,n){return this.executeCapabilityFunction(this.actionOpenUrlExecutor,{appId:e,url:t,fromElement:n})}actionSubmit(e,t){return this.executeCapabilityFunction(this.actionSubmitExecutor,{appId:e,actionSubmitPayload:t})}}const Ub={dependentHubServiceSelector:e=>e.externalAppCardActionsService&&e.externalAppInfoService?{externalAppCardActionsService:e.externalAppCardActionsService,externalAppInfoService:e.externalAppInfoService}:void 0,messageHandlerFactory:(e,t,n)=>new jb(e,new Vb(t.externalAppCardActionsService,t.externalAppInfoService,n,e.getLogger()),n)};class jb extends Lv{constructor(e,t,n){super(e,n),this.appSdkHost=e,this.externalAppCardActionsExecutor=t,this.isTelemetryHandledByExecutor=!0}initHandlers(){this.registerHandler(Gr,this.handleActionOpenUrl,{errorCallback:e=>js(Gr,e,Object.values(pb),{errorCode:pb.INTERNAL_ERROR,message:Hs},(e=>Js([e,null])))}),this.registerHandler(Kr,this.handleActionSubmit,{errorCallback:e=>js(Kr,e,Object.values(Ra),Us,(e=>Js([!1,e])))})}canHandleMessage(e){return super.canHandleMessage(e)&&es(this.appDefinition)}handleActionOpenUrl(e,t,n,r){return w(this,void 0,void 0,(function*(){const e=yield this.externalAppCardActionsExecutor.actionOpenUrl(t,n,r);return Js([null,e])}))}handleActionSubmit(e,t,n){return w(this,void 0,void 0,(function*(){return yield this.externalAppCardActionsExecutor.actionSubmit(t,n),Js([!0,null])}))}}class Wb extends fb{constructor(e,t,n,r){super(n,r),this.externalAppCommandsService=e,this.externalAppInfoService=t,this.telemetryService=n,this.logger=r,this.actionCommandExecutor={execute:(e,t)=>w(this,void 0,void 0,(function*(){t.addOrUpdateActivityDataField("RequestedForAppID",e.appId),Pv(e.appId,{errorCode:Ra.INTERNAL_ERROR,message:"App ID is not valid."}),yield Bb(e.appId,this.externalAppInfoService);const n=yield this.getAppDefinition(e.appId);if(!n.composeExtension)throw{errorCode:Ra.INTERNAL_ERROR,message:"Action Command is only supported in Message Extensions"};return this.validateActionCommandParameters(n,e.commandId,e.extractedParameters),yield this.externalAppCommandsService.handleActionCommand(e.appId,e.commandId,e.extractedParameters)})),sdkMessageName:Jr}}validateActionCommandParameters(e,t,n){var r,i;const o=null===(i=null===(r=e.composeExtension)||void 0===r?void 0:r.commands)||void 0===i?void 0:i.find((e=>e.id===t));if(!o)throw{errorCode:Ra.INTERNAL_ERROR,message:"commandId does not exist in app manifest"};{const e=o.parameterNames||[];if(!Object.keys(n).every((t=>e.includes(t))))throw{errorCode:Ra.INTERNAL_ERROR,message:"One or more parameters in extractedParameters do not exist in app manifest"}}}getAppDefinition(e){return w(this,void 0,void 0,(function*(){const t=yield this.externalAppInfoService.getAppDefinition(e);if(!t)throw{errorCode:Ra.INTERNAL_ERROR,message:`Unable to retrieve AppDefinition for ${e}`};return t}))}actionCommand(e,t,n){return this.executeCapabilityFunction(this.actionCommandExecutor,{appId:e,commandId:t,extractedParameters:n})}}const $b={dependentHubServiceSelector:e=>e.externalAppCommandsService&&e.externalAppInfoService?{externalAppCommandsService:e.externalAppCommandsService,externalAppInfoService:e.externalAppInfoService}:void 0,messageHandlerFactory:(e,t,n)=>new qb(e,new Wb(t.externalAppCommandsService,t.externalAppInfoService,n,e.getLogger()),n)};class qb extends Lv{constructor(e,t,n){super(e,n),this.appSdkHost=e,this.externalAppCommandsExecutor=t,this.isTelemetryHandledByExecutor=!0}initHandlers(){this.registerHandler(Jr,this.handleActionCommand,{errorCallback:e=>js(Jr,e,Object.values(Ra),Us,(e=>Js([e,null])))})}canHandleMessage(e){return super.canHandleMessage(e)&&es(this.appDefinition)}handleActionCommand(e,t,n,r){return w(this,void 0,void 0,(function*(){const e=yield this.externalAppCommandsExecutor.actionCommand(t,n,r);return Js([null,e])}))}}const Gb={dependentHubServiceSelector:e=>e.filesService,messageHandlerFactory:(e,t,n)=>new Kb(e,n,t)};class Kb extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.filesService=n}initHandlers(){this.registerHandler(pi,((e,...t)=>{const n={entityId:t[0],title:t[1],description:t[2],type:t[3],objectUrl:t[4],downloadUrl:t[5],webPreviewUrl:t[6],webEditUrl:t[7],baseUrl:t[8],editFile:t[9],subEntityId:t[10],viewerAction:t[11],fileOpenPreference:t[12]};return n.type&&n.objectUrl?tl(this.filesService.openFilePreview,n):Promise.reject("Invalid File Preview Parameters")}),{isRestrictedToFullTrustOrLobApps:!0}),this.registerHandler(di,((e,t)=>Ys(t,this.filesService.getCloudStorageFolders)),{errorCallback:(e,t)=>Ws(di,e,t),isRestrictedToFullTrustApps:!0}),this.registerHandler(li,((e,t)=>Ys(t,this.filesService.addCloudStorageFolder,(e=>[e.isFolderAdded,e.folders]),!0)),{errorCallback:(e,t)=>Ws(li,e,t),isRestrictedToFullTrustApps:!0}),this.registerHandler(ui,((e,t,n)=>Ys({channelId:t,folderToDelete:n},this.filesService.deleteCloudStorageFolder)),{errorCallback:(e,t)=>Ws(ui,e,t),isRestrictedToFullTrustApps:!0}),this.registerHandler(ci,((e,t,n,r,i,o)=>Ys({selectedFiles:t,providerCode:n,destinationFolder:r,destinationProviderCode:i,isMove:o},this.filesService.copyMoveFiles)),{errorCallback:(e,t)=>Ws(ci,e,t),isRestrictedToFullTrustApps:!0}),this.registerHandler(hi,((e,t=!1)=>Ys(t,this.filesService.getExternalProviders)),{errorCallback:(e,t)=>Ws(hi,e,t),isRestrictedToFullTrustApps:!0}),this.registerHandler(mi,((e,t,n)=>Ys({folder:t,providerCode:n},this.filesService.getCloudStorageFolderContents)),{errorCallback:(e,t)=>Ws(mi,e,t),isRestrictedToFullTrustApps:!0}),this.registerHandler(fi,((e,t,n,r)=>Ys({file:t,providerCode:n,fileOpenPreference:r},this.filesService.openCloudStorageFile)),{errorCallback:(e,t)=>Ws(fi,e,t),isRestrictedToFullTrustApps:!0})}}const Yb={errorCode:Ba.INTERNAL_ERROR,message:"Internal error"};class Xb extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.hostEntityTabService=n}initHandlers(){this.registerHandler(yi.addAndConfigure,((e,t,n)=>w(this,void 0,void 0,(function*(){var e;const r=yield null===(e=this.hostEntityTabService)||void 0===e?void 0:e.addAndConfigure(t,n);return Js([r])}))),{isRestrictedToMicrosoftOwnedApps:!0,errorCallback:e=>js(yi.addAndConfigure,e,[Yb.errorCode],Yb,(e=>Js([e])))}),this.registerHandler(yi.reconfigure,((e,t,n)=>w(this,void 0,void 0,(function*(){var e;const r=yield null===(e=this.hostEntityTabService)||void 0===e?void 0:e.reconfigure(t,n);return Js([r])}))),{isRestrictedToMicrosoftOwnedApps:!0,errorCallback:(e,t)=>js(yi.reconfigure,e,[Yb.errorCode],Yb,(e=>Js([e])),t)}),this.registerHandler(yi.rename,((e,t,n)=>w(this,void 0,void 0,(function*(){var e;const r=yield null===(e=this.hostEntityTabService)||void 0===e?void 0:e.rename(t,n);return Js([r])}))),{isRestrictedToMicrosoftOwnedApps:!0,errorCallback:e=>js(yi.rename,e,[Yb.errorCode],Yb,(e=>Js([e])))}),this.registerHandler(yi.remove,((e,t,n)=>w(this,void 0,void 0,(function*(){var e;const r=yield null===(e=this.hostEntityTabService)||void 0===e?void 0:e.remove(t,n);return Js([r])}))),{isRestrictedToMicrosoftOwnedApps:!0,errorCallback:e=>js(yi.remove,e,[Yb.errorCode],Yb,(e=>Js([e])))}),this.registerHandler(yi.getAll,((e,t)=>w(this,void 0,void 0,(function*(){var e;const n=yield null===(e=this.hostEntityTabService)||void 0===e?void 0:e.getAll(t);return Js([n])}))),{isRestrictedToMicrosoftOwnedApps:!0,errorCallback:e=>js(yi.getAll,e,[Yb.errorCode],Yb,(e=>Js([e])))})}}const Zb={dependentHubServiceSelector:e=>e.interactiveService,messageHandlerFactory:(e,t,n)=>new Jb(e,n,t)};class Jb extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.interactiveService=n}initHandlers(){this.registerHandler(Ai,(()=>Ys(this.getParamsWithOrigin({}),this.interactiveService.getFluidTenantInfo)),{errorCallback:(e,t)=>Ws(Ai,e,t)}),this.registerHandler(Si,((e,t)=>Ys(this.getParamsWithOrigin({containerId:t}),this.interactiveService.getFluidToken)),{errorCallback:(e,t)=>Ws(Si,e,t)}),this.registerHandler(Ei,(()=>Ys(this.getParamsWithOrigin({}),this.interactiveService.getFluidContainerId)),{errorCallback:(e,t)=>Ws(Ei,e,t)}),this.registerHandler(wi,((e,t)=>Ys(this.getParamsWithOrigin({containerId:t}),this.interactiveService.setFluidContainerId)),{errorCallback:(e,t)=>Ws(wi,e,t)}),this.registerHandler(xi,(()=>Ys(this.getParamsWithOrigin({}),this.interactiveService.getNtpTime)),{errorCallback:(e,t)=>Ws(xi,e,t)}),this.registerHandler(Ii,((e,t)=>Ys(this.getParamsWithOrigin({clientId:t}),this.interactiveService.registerClientId)),{errorCallback:(e,t)=>Ws(Ii,e,t)}),this.registerHandler(ki,((e,t)=>Ys(this.getParamsWithOrigin({clientId:t}),this.interactiveService.getClientRoles)),{errorCallback:(e,t)=>Ws(ki,e,t)}),this.registerHandler(Ti,((e,t)=>Ys(this.getParamsWithOrigin({clientId:t}),this.interactiveService.getClientInfo)),{errorCallback:(e,t)=>Ws(Ti,e,t)})}getParamsWithOrigin(e){const t=this.appSdkHost.getOrigin();if(!t)throw"Origin not set of AppSdkHost";return Object.assign(Object.assign({},e),{origin:t})}}class Qb{constructor(e){this.linkHandlers=e}tryGetDataFromLink(e){for(const t of this.linkHandlers){const n=t.tryGetDataFromLink(e);if(null!=n)return[t,n]}return null}executeData([e,t]){return e.executeData(t)}}class eC extends Lv{constructor(e,t,n,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.linkService=n,this.linkHandler=r}initHandlers(){this.registerHandler(_i,((e,t)=>w(this,void 0,void 0,(function*(){return yield this.executeLink(t),Js(!0)}))),{errorCallback:(e,t)=>$s(_i,e,t)})}executeLink(e){try{const t=new URL(e);if(this.appSdkHost.getHubInfo().name!==sr.teams&&this.appSdkHost.getHubInfo().name!==sr.teamsModern&&this.linkHandler){const e=this.linkHandler.tryGetDataFromLink(t);if(null!=e)return this.linkHandler.executeData(e)}}catch(e){this.appSdkHost.getLogger().log(yr.Error,"LinkMessageHandler","There is an error parsing the URL",e)}return this.linkService.openLink(e)}validateDependencies(){if(!this.linkService)throw"No linkService provided"}}class tC{constructor(e){this.pageService=e}tryGetDataFromLink(e){if(!this.pageService)return null;if("https:"!==e.protocol)return null;if(e.origin!=Es)return null;if(!e.pathname.startsWith("/l/entity/"))return null;const t=e.pathname.substring(10).split("/");if(2!==t.length)return null;const n=t[0],r=t[1],i=e.searchParams.get("webUrl")||void 0,o=e.searchParams.get("context");let a,s,l;if(o)try{const e=JSON.parse(o);e&&"object"==typeof e&&(a=e.subEntityId,s=e.channelId,l=e.chatId)}catch(e){}return{appId:n,pageId:r,webUrl:i,subPageId:a,channelId:s,chatId:l}}executeData(e){return this.pageService.navigateToApp(e)}}class nC{constructor(e){this.appSdkHost=e,this.telemetryScenario=void 0,this.linkedServiceStore={},this.requiredPermissions=[]}withTelemetryScenario(e){return this.telemetryScenario=e,this}withServices(e){return this.linkedServiceStore=Object.assign(Object.assign({},this.linkedServiceStore),e),this}get linkedServices(){if(0===Object.keys(this.linkedServiceStore).length)throw new Error("No linked services. Please call withServices() before using the app function.");return this.linkedServiceStore}isAppAuthorizedToExecute(){return 0===this.requiredPermissions.length||this.requiredPermissions.some((e=>function(e,t){switch(e){case"isMicrosoftOwned":return!!(null==t?void 0:t.isMicrosoftOwned);case"isFullTrust":return!!(null==t?void 0:t.isFullTrust);case"isLOBApp":return!!(null==t?void 0:t.isLOB);default:throw new Error(`Unknown permission: ${e}`)}}(e,this.appSdkHost.getAppDefinition())))}}class rC extends nC{parsePropsFromApp(e){return{type:"success",value:e}}}class iC{constructor(e,t){this.appSdkHost=e,this.telemetryService=t,this.appFunctions=new Map,this.legacyMessageHandler=void 0,this.linkedServices={},this.initializeAppFunctions()}registerAppFunction(e,t,n){var r;const i=null!==(r=null==n?void 0:n.scenarioName)&&void 0!==r?r:$g[e];this.appFunctions.set(e,{createAppFunction:t,scenarioName:i})}handleMessage(e,t,n,r,i){return w(this,void 0,void 0,(function*(){if(qa().disableNewMessageHandlingExperience&&this.legacyMessageHandler)return this.legacyMessageHandler.handleMessage(e,t,n,r,i);if(!this.canHandleMessage(t))return Promise.reject(`Handler cannot handle message: ${t}`);if(t!==vi&&!this.appSdkHost.isInitialized())return Promise.reject("SDK context is not initialized");const[o,...a]=n,s=this.appFunctions.get(t),l=this.createScenario(s.scenarioName,t,e,r,i),c=this.createAppFunction(s,l);try{if(!c.isAppAuthorizedToExecute())throw qs(Ba.INTERNAL_ERROR,wa);const e=c.parsePropsFromApp(a);if("failed"===e.type)throw qs(Ba.INTERNAL_ERROR,e.error);const n=yield c.implementation(e.value);return l&&this.shouldTelemetryScenarioBeStopped(t,l)&&l.stop(),Js(function(e){return null!=(t=e)&&void 0!==t.serialize&&"function"==typeof t.serialize?e.serialize():e;var t}(n))}catch(e){const t=rl(e);if(this.appSdkHost.getLogger().log(yr.Error,"handleMessage","Error in handling message",t),c.handleErrors){const n=Js(c.handleErrors(e));return null==l||l.fail(t),n}return null==l||l.fail(t),Promise.reject(e)}}))}createAppFunction(e,t){let n=new e.createAppFunction(this.appSdkHost).withServices(this.linkedServices);return t&&(n=n.withTelemetryScenario(t)),n}canHandleMessage(e){return qa().disableNewMessageHandlingExperience&&this.legacyMessageHandler?this.legacyMessageHandler.canHandleMessage(e):this.appFunctions.has(e)}shouldTelemetryScenarioBeCreated(e,t){return!0}shouldTelemetryScenarioBeStopped(e,t){return!0}createScenario(e,t,n,r,i){var o;const a=null===(o=this.appSdkHost.getAppDefinition())||void 0===o?void 0:o.id;if(!this.shouldTelemetryScenarioBeCreated(t,a))return;const s=this.telemetryService.createScenario(e,a,null==r?void 0:r.value,n,null==r?void 0:r.type,i);return r&&s.markPhase("MessageDelay"),s}initHandlers(){}cleanup(){}}const oC="location.map is not supported on this host.";class aC extends Lv{constructor(e,t,n,r){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.permissionsService=n,this.locationService=r}initHandlers(){this.registerHandler(bi,((e,t)=>this.handleGetCurrentLocation(t)),{errorCallback:(e,t)=>Ws(bi,e,t)}),this.registerHandler(Ci.showLocation,((e,t)=>this.handleShowLocation(t)),{errorCallback:(e,t)=>Ws(Ci.showLocation,e,t)})}handleShowLocation(e){return w(this,void 0,void 0,(function*(){if(this.locationService.mapService)return Ys(e,this.locationService.mapService.showLocation);throw qs(Ba.INTERNAL_ERROR,oC)}))}handleGetCurrentLocation(e){return w(this,void 0,void 0,(function*(){if(yield nl(this.permissionsService,gr.GeoLocation),!e.allowChooseLocation&&!e.showMap)return Ys(e,this.locationService.getCurrentLocation);if(this.locationService.mapService)return this.handleGetLocationServiceInMap(e);throw qs(Ba.INTERNAL_ERROR,oC)}))}handleGetLocationServiceInMap(e){return w(this,void 0,void 0,(function*(){return!e.allowChooseLocation&&e.showMap?Ys(null,this.locationService.mapService.getCurrentLocationOnMap):Ys(null,this.locationService.mapService.chooseLocation)}))}}const sC="location.map is not supported on this host.";class lC{constructor(e){this.result=e}serialize(){return[null,this.result]}}class cC extends rC{implementation([e]){return w(this,void 0,void 0,(function*(){if(yield nl(this.linkedServices.devicePermissionService,gr.GeoLocation),!e.allowChooseLocation&&!e.showMap)return new lC(yield this.linkedServices.locationService.getCurrentLocation());if(!this.linkedServices.locationService.mapService)throw qs(Ba.INTERNAL_ERROR,sC);return!e.allowChooseLocation&&e.showMap?new lC(yield this.linkedServices.locationService.mapService.getCurrentLocationOnMap()):new lC(yield this.linkedServices.locationService.mapService.chooseLocation())}))}handleErrors(e){return Xs(e)}}class uC extends rC{implementation([e]){return w(this,void 0,void 0,(function*(){if(!this.linkedServices.locationService.mapService)throw qs(Ba.INTERNAL_ERROR,sC);const t=yield function(e,...t){return w(this,void 0,void 0,(function*(){try{return t?yield e(...t):yield e()}catch(e){throw Ns().log(yr.Error,"HostError",`Received error from host function: ${e.message||JSON.stringify(e)}`),e}}))}(this.linkedServices.locationService.mapService.showLocation,e);if(Zs(t))throw t;return new lC(t)}))}handleErrors(e){return Xs(e)}}const dC={dependentHubServiceSelector:e=>e.logService,messageHandlerFactory:(e,t,n)=>new pC(e,n,t)};class pC extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.logService=n}initHandlers(){this.registerHandler(Pi,((e,t)=>tl(this.logService.handleAppLog,t)))}}class hC extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.handoffService=n}initHandlers(){this.registerHandler(Ri.composeMail,((e,t)=>w(this,void 0,void 0,(function*(){var e;return yield null===(e=this.handoffService)||void 0===e?void 0:e.composeMailWithHandoff(t),Js()}))),{errorCallback:(e,t)=>$s(Ri.composeMail,e,t)})}validateDependencies(){if(!this.handoffService)throw"No handoffService provided"}}const fC={dependentHubServiceSelector:e=>e.mailService,messageHandlerFactory:(e,t,n)=>new mC(e,n,t)};class mC extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.mailService=n}initHandlers(){this.registerHandler(Bi,((e,t)=>w(this,void 0,void 0,(function*(){return yield this.mailService.openMailItem(t),Js([!0])}))),{errorCallback:(e,t)=>$s(Bi,e,t)}),this.registerHandler(Di,((e,t)=>w(this,void 0,void 0,(function*(){return yield this.mailService.composeMail(t),Js([!0])}))),{errorCallback:(e,t)=>$s(Di,e,t)})}}var gC,vC,yC,bC;!function(e){e.TACAdminUser="TACAdminUser",e.TeamsAdminUser="TeamsAdminUser",e.TeamsEndUser="TeamsEndUser"}(gC||(gC={})),function(e){e.Open="Open",e.Processing="Processing",e.Processed="Processed",e.Closed="Closed",e.Error="Error"}(vC||(vC={})),function(e){e.GetCart="GetCart",e.AddOrUpdateCartItems="AddOrUpdateCartItems",e.RemoveCartItems="RemoveCartItems",e.UpdateCartStatus="UpdateCartStatus"}(yC||(yC={})),function(e){e[e.V1=1]="V1"}(bC||(bC={}));const CC={dependentHubServiceSelector:e=>e.marketplaceService,messageHandlerFactory:(e,t,n)=>new AC(e,n,t)};class AC extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.marketplaceService=n}initHandlers(){this.registerHandler(Mi,((e,t)=>this.dispatchMarketplaceHandlers(t,yC.GetCart)),{errorCallback:(e,t)=>Ws(Mi,e,t)}),this.registerHandler(Li,((e,t)=>this.dispatchMarketplaceHandlers(t,yC.AddOrUpdateCartItems)),{errorCallback:(e,t)=>Ws(Li,e,t)}),this.registerHandler(Oi,((e,t)=>this.dispatchMarketplaceHandlers(t,yC.RemoveCartItems)),{errorCallback:(e,t)=>Ws(Oi,e,t)}),this.registerHandler(Fi,((e,t)=>this.dispatchMarketplaceHandlers(t,yC.UpdateCartStatus)),{errorCallback:(e,t)=>Ws(Fi,e,t)})}dispatchMarketplaceHandlers(e,t){var n;let r;const i=t===yC.GetCart?null==e?void 0:e.majorVersion:null===(n=null==e?void 0:e.cartVersion)||void 0===n?void 0:n.majorVersion;if(i!==bC.V1)return Promise.reject({errorCode:Ba.NOT_SUPPORTED_ON_PLATFORM,message:`Cart version ${i} is not supported`});switch(r=this.marketplaceService,t){case yC.GetCart:return Ys(e,r.getCart);case yC.AddOrUpdateCartItems:return Ys(e,r.addOrUpdateCartItems);case yC.RemoveCartItems:return Ys(e,r.removeCartItems);case yC.UpdateCartStatus:return Ys(e,r.updateCartStatus);default:return Promise.reject({errorCode:Ba.NOT_SUPPORTED_ON_PLATFORM,message:`Marketplace method ${t} is not supported`})}}}const SC={dependentHubServiceSelector:e=>e.mediaService,messageHandlerFactory:(e,t,n)=>new EC(e,n,t)};class EC extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.mediaService=n}initHandlers(){this.registerHandler(zi,((e,t)=>Ys(t,this.mediaService.selectMedia)),{errorCallback:(e,t)=>Ws(zi,e,t)}),this.registerHandler(Ni,(e=>Ys(wC,this.mediaService.selectMedia)),{errorCallback:(e,t)=>Ws(zi,e,t)}),this.registerHandler(Hi,((e,t)=>w(this,void 0,void 0,(function*(){return yield this.mediaService.getMedia(t,(t=>this.postMediaResult(mr(e.data),t))),el}))),{errorCallback:this.onGetMediaError}),this.registerHandler(Vi,((e,t)=>Qs(this.mediaService.viewImages,t)),{errorCallback:(e,t)=>Ws(Vi,e,t)})}onGetMediaError(e,t){return null==t||t.fail(`GetMedia failed ${rl(e)}`),Js({error:Vs})}postMediaResult(e,t){return t.mediaChunk?(t.mediaChunk.chunkSequence>0?this.appSdkHost.postResponseToApp(e,[t],!0):this.appSdkHost.postResponseToApp(e,[t],!1),Promise.resolve()):Promise.reject("empty media chunk")}}const wC={mediaType:1,maxMediaCount:1,imageProps:{sources:[1,2],startMode:1,ink:!0,cameraSwitcher:!0,textSticker:!0,enableFilter:!1}},xC={dependentHubServiceSelector:e=>e.meetingService,messageHandlerFactory:(e,t,n)=>new IC(e,n,t)};class IC extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.meetingService=n}initHandlers(){this.registerHandler($i,(()=>Ys(null,this.meetingService.getIncomingClientAudioState)),{errorCallback:(e,t)=>Ws($i,e,t)}),this.registerHandler(Qi,(()=>Ys(null,this.meetingService.toggleIncomingClientAudio)),{errorCallback:(e,t)=>Ws(Qi,e,t)}),this.registerHandler(Gi,((e,t)=>Ys(t,this.meetingService.getMeetingDetails)),{errorCallback:(e,t)=>Ws(Gi,e,t)}),this.registerHandler(Wi,(()=>Ys(null,this.meetingService.getAuthenticationTokenForAnonymousUser)),{errorCallback:(e,t)=>Ws(Wi,e,t),isRestrictedToFullTrustApps:!0}),this.registerHandler(qi,(()=>Ys(null,this.meetingService.getLiveStreamState)),{errorCallback:(e,t)=>Ws(qi,e,t)}),this.registerHandler(Yi,((e,...t)=>Qs(this.meetingService.requestStartLiveStreaming,...t)),{errorCallback:(e,t)=>Ws(Yi,e,t)}),this.registerHandler(Xi,(()=>Ys(null,this.meetingService.requestStopLiveStreaming)),{errorCallback:(e,t)=>Ws(Xi,e,t)}),this.registerHandler(Zi,((e,...t)=>w(this,void 0,void 0,(function*(){const e=yield this.meetingService.shareAppContentToStage(...t);return Zs(e)?Promise.reject(e):Js([null,e])}))),{errorCallback:(e,t)=>Ws(Zi,e,t)}),this.registerHandler(Ki.setOptions,((e,t)=>Ys(t,this.meetingService.appShareButton.setOptions)),{errorCallback:(e,t)=>Ws(Ki.setOptions,e,t)}),this.registerHandler(Ui,(()=>Ys(null,this.meetingService.getAppContentStageSharingCapabilities)),{errorCallback:(e,t)=>Ws(Ui,e,t)}),this.registerHandler(Ji,(()=>Ys(null,this.meetingService.stopSharingAppContentToStage)),{errorCallback:(e,t)=>Ws(Ji,e,t)}),this.registerHandler(ji,(()=>Ys(null,this.meetingService.getAppContentStageSharingState)),{errorCallback:(e,t)=>Ws(ji,e,t)}),this.registerHandler(eo,((e,t)=>Ys(t,this.meetingService.requestAppAudioHandling)),{errorCallback:(e,t)=>Ws(eo,e,t)}),this.registerHandler(to,((e,...t)=>Qs(this.meetingService.updateMicState,...t)),{errorCallback:(e,t)=>Ws(to,e,t)}),this.registerHandler(no,((e,t)=>Ys(Object.assign(Object.assign({},t),{joinWebUrl:new URL(t.joinWebUrl)}),this.meetingService.joinMeeting)),{errorCallback:(e,t)=>Ws(no,e,t)})}}const kC={dependentHubServiceSelector:e=>e.meetingRoomService,messageHandlerFactory:(e,t,n)=>new TC(e,n,t)};class TC extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.meetingRoomService=n}initHandlers(){this.registerHandler(ro,(()=>Ys(null,this.meetingRoomService.getPairedMeetingRoomInfo)),{errorCallback:(e,t)=>Ws(ro,e,t)}),this.registerHandler(io,((e,t)=>Ys(t,this.meetingRoomService.sendCommandToPairedMeetingRoom)),{errorCallback:(e,t)=>Ws(io,e,t)})}}class _C extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.messageChannelsService=n}initHandlers(){this.registerHandler(Go.getDataLayerPort,(e=>w(this,void 0,void 0,(function*(){const t=yield this.messageChannelsService.dataLayer.getDataLayerPort();return this.appSdkHost.postResponseToApp(mr(e.data),void 0,void 0,[t]),el}))),{isRestrictedToMicrosoftOwnedApps:!0,errorCallback:(e,t)=>Ws(Go.getDataLayerPort,e,t)})}validateDependencies(){var e;if(!(null===(e=this.messageChannelsService)||void 0===e?void 0:e.dataLayer))throw"No data layer service for message channels provided"}}class PC extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.messageChannelsService=n}initHandlers(){this.registerHandler(qo.getTelemetryPort,(e=>w(this,void 0,void 0,(function*(){const t=yield this.messageChannelsService.telemetry.getTelemetryPort();return this.appSdkHost.postResponseToApp(mr(e.data),void 0,void 0,[t]),el}))),{isRestrictedToMicrosoftOwnedApps:!0,errorCallback:(e,t)=>Ws(qo.getTelemetryPort,e,t)})}validateDependencies(){var e;if(!(null===(e=this.messageChannelsService)||void 0===e?void 0:e.telemetry))throw"No telemetry service provided for message channels"}}const DC={dependentHubServiceSelector:e=>e.monetizationService,messageHandlerFactory:(e,t,n)=>new BC(e,n,t)};class BC extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.monetizationService=n}initHandlers(){this.registerHandler(oo,((e,t)=>Qs(this.monetizationService.openPurchaseExperience,t)),{errorCallback:(e,t)=>Ws(oo,e,t)})}}const RC=new Set,MC={dependentHubServiceSelector:e=>e.nestedAppAuthService,messageHandlerFactory:(e,t,n)=>new LC(e,n,t)};class LC extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.nestedAppAuthService=n,this.RESPONSE_STATUS_KEY="ResponseStatus",this.ERROR_CODE_KEY="ErrorCode",this.SUB_ERROR_KEY="SubError",this.MSAL_TIMESTAMP_KEY="MsalTimestamp",this.CORRELATION_ID_KEY="CorrelationId",this.IS_DEEPLY_NESTED_REQUEST_KEY="IsDeeplyNestedRequest",this.REQUEST_METHOD_NAME="MethodName"}initHandlers(){this.registerHandler(ao,((e,t)=>{var n;let r=e;this.isValidRequest(r);const i=new URL(r.origin),o=null!==(n=r.isTrustedOrigin)&&void 0!==n?n:this.isOriginRequestedToBeTrusted(r.origin);return this.logRequestTelemetry(r,t),Ys({payload:r.data.data,origin:i},(e=>w(this,void 0,void 0,(function*(){t.markPhase("MessagePreprocessing",!0);const n=yield this.nestedAppAuthService.execute(e.payload,e.origin,o,fv(t));return t.markPhase("HubProcessing",!0),this.logResponseTelemetry(n,t),n}))))}),{errorCallback:(e,t)=>Ws(ao,e,t)}),this.registerHandler(so,((e,t)=>{this.validateManageTrustOriginRequest();const{action:n,appOrigins:r}=t,i=n.trim().toUpperCase();if(!Object.values(OC).includes(i))throw qs(Ba.INTERNAL_ERROR,"Unknown action type");if(!Array.isArray(r)||0===r.length)throw qs(Ba.INTERNAL_ERROR,"appOrigins must be a non-empty array");let o;switch(i){case OC.ADD:{let e=0;r.forEach((t=>{const n=this.normalizeOrigin(t);n&&(RC.add(n),e+=1)})),o={status:e===r.length?FC.SUCCESS:FC.LIMITED};break}case OC.DELETE:{const e=[];r.forEach((t=>{this.normalizeOrigin(t)&&RC.has(t)&&(RC.delete(t),e.push(t))})),o={status:e.length===r.length?FC.SUCCESS:FC.LIMITED,deleted:e};break}}return Js(o)}),{isRestrictedToMicrosoftOwnedApps:!0,errorCallback:(e,t)=>Ws(so,e,t)})}logRequestTelemetry(e,t){var n;if(e.data&&"object"==typeof e.data&&"string"==typeof(null===(n=e.data)||void 0===n?void 0:n.data)){try{const n=JSON.parse(e.data.data),{sendTime:r,method:i,tokenParams:o}=n||{};t.addOrUpdateActivityDataField(this.MSAL_TIMESTAMP_KEY,r),t.addOrUpdateActivityDataField(this.REQUEST_METHOD_NAME,i);const a=null==o?void 0:o.correlationId;nr(a)&&t.addOrUpdateActivityDataField(this.CORRELATION_ID_KEY,a)}catch(e){const t="Unable to log NAA payload properties in telemetry due to unknown type";this.appSdkHost.getLogger().log(yr.Warn,t,e)}t.addOrUpdateActivityDataField(this.IS_DEEPLY_NESTED_REQUEST_KEY,e.isDeeplyNestedRequest)}}logResponseTelemetry(e,t){try{const{success:n,error:r}=JSON.parse(e);if(!n){if(r){const{status:e,code:n,description:i}=r;t.addOrUpdateActivityDataField(this.RESPONSE_STATUS_KEY,e),t.addOrUpdateActivityDataField(this.ERROR_CODE_KEY,n),t.addDetails({errorDescription:i,errorCode:n})}t.fail(`Nested app auth request failed: ${(null==r?void 0:r.status)||"unknown status"}`)}}catch(e){}}isValidRequest(e){if(e.isDeeplyNestedRequest&&!this.nestedAppAuthService.isDeeplyNestedAuthSupported())throw qs(Ba.NOT_SUPPORTED_ON_PLATFORM,"Deeply nested request is not supported");return!0}validateManageTrustOriginRequest(){var e,t;if(!this.nestedAppAuthService.isDeeplyNestedAuthSupported()||!(null===(t=(e=this.nestedAppAuthService).canParentManageNAATrustedOrigins)||void 0===t?void 0:t.call(e)))throw qs(Ba.NOT_SUPPORTED_ON_PLATFORM,"Manage trusted origin api is not supported")}isOriginRequestedToBeTrusted(e){const t=this.normalizeOrigin(e);return!!t&&RC.has(t)}normalizeOrigin(e){try{return new URL(e).origin.toLowerCase()}catch(e){return""}}}var OC,FC;!function(e){e.ADD="ADD",e.DELETE="DELETE"}(OC||(OC={})),function(e){e.SUCCESS="success",e.LIMITED="limited"}(FC||(FC={}));const NC={dependentHubServiceSelector:e=>e.notificationService,messageHandlerFactory:(e,t,n)=>new HC(e,n,t)};class HC extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.notificationService=n}initHandlers(){this.registerHandler(lo,((e,t)=>tl(this.notificationService.showNotification,t)),{isRestrictedToFullTrustApps:!0})}}const zC={dependentHubServiceSelector:e=>e.otherAppStateChangeService,messageHandlerFactory:(e,t,n)=>new VC(e,n,t)};class VC extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.otherAppStateChangeService=n}initHandlers(){this.registerHandler(co,(e=>(this.otherAppStateChangeService.clearListeners(),Promise.resolve(el))),{}),this.registerHandler(uo,((e,t)=>(this.otherAppStateChangeService.notifyInstallCompleted(new Mv(t)),Promise.resolve(el))),{})}canHandleMessage(e){var t,n;if(!super.canHandleMessage(e))return!1;switch(e){case co:return es(this.appDefinition);case uo:return!!(n=null===(t=this.appDefinition)||void 0===t?void 0:t.id)&&ma.has(n.toLowerCase());default:return!1}}}class UC extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.configService=n}initHandlers(){if(this.appSdkHost.getFrameContext()===pr.settings&&!this.configService)throw new Error("Config Service needs to be implemented when in settings frame context");this.registerHandler(Ao.setConfig,((e,t)=>Qs(this.configService.setConfig,t)),{errorCallback:(e,t)=>$s(Ao.setConfig,e,t)}),this.registerHandler(Ao.setValidityState,((e,t)=>tl(this.configService.setValidityState,t))),this.registerHandler(Ao.save.success,(e=>tl(this.configService.onSaveSuccess))),this.registerHandler(Ao.save.failure,((e,t)=>tl(this.configService.onSaveFailure,t))),this.registerHandler(Ao.remove.success,(e=>tl(this.configService.onRemoveSuccess))),this.registerHandler(Ao.remove.failure,((e,t)=>tl(this.configService.onRemoveFailure,t)))}validateDependencies(){if(!this.configService)throw"No configService provided"}}const jC={dependentHubServiceSelector:e=>e.pageService,messageHandlerFactory:(e,t,n)=>new WC(e,n,t)};class WC extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.pageService=n,this.getConfig=()=>w(this,void 0,void 0,(function*(){const e=this.pageService&&this.pageService.getConfig?yield this.pageService.getConfig():this.getDefaultConfig();return Js(e)}))}initHandlers(){this.registerHandler(po,this.getConfig),this.registerHandler(mo,((e,t,n)=>tl(this.pageService.returnFocus,t,n))),this.registerHandler(go,this.handleSetCurrentFrame),this.registerHandler(ho,this.handleLoadCrossDomainUrl,{errorCallback:(e,t)=>$s(ho,e,t)}),this.registerHandler(fo,((e,t)=>w(this,void 0,void 0,(function*(){return yield this.pageService.navigateToApp(t),Js(!0)}))),{errorCallback:(e,t)=>$s(fo,e,t)}),this.registerHandler(vo,((e,t,n,r)=>tl(this.pageService.shareDeepLink,{subEntityId:t,subEntityLabel:n,subEntityWebUrl:r}))),this.registerHandler(bo.navigateTo,this.buildParamsAndCallNavigateToApp,{errorCallback:(e,t)=>Ws(bo.navigateTo,e,t)}),this.registerHandler(bo.navigateToDefaultPage,this.buildParamsAndCallNavigateToApp,{errorCallback:(e,t)=>Ws(bo.navigateToDefaultPage,e,t)})}getDefaultConfig(){const e=this.appSdkHost.getOrigin();if(!e)throw new Error("Origin not set of AppSdkHost");const t=this.appSdkHost.getContext(),n=this.appSdkHost.getAppDefinition(),r=n&&xs(n,t.page.id);return{contentUrl:e,entityId:t.page.id,suggestedDisplayName:r}}handleSetCurrentFrame(e,t){return w(this,void 0,void 0,(function*(){const e=yield this.appSdkHost.getAppContext(),n=this.appSdkHost.getLogger();try{Xa(t.contentUrl,n,e,this.appDefinition)&&Xa(t.websiteUrl,n,e,this.appDefinition)&&this.pageService.setCurrentFrame(t)}catch(e){n.log(yr.Error,"handleSetCurrentFrame",ya,null)}return el}))}handleLoadCrossDomainUrl(e,t){return w(this,void 0,void 0,(function*(){const e=this.appSdkHost.getLogger();try{if(Xa(t,e,yield this.appSdkHost.getAppContext(),this.appDefinition))return yield this.appSdkHost.load(t,yield this.appSdkHost.getAppContext()),Js(!0)}catch(t){e.log(yr.Error,"handleLoadCrossDomainUrl",ya,null)}throw ya}))}buildParamsAndCallNavigateToApp(e,t){return w(this,void 0,void 0,(function*(){let e;const n=this.appSdkHost.getAppDefinition();if(!(null==n?void 0:n.id))throw qs(Ba.INTERNAL_ERROR,"An error ocurred while locating application ID");let r;e=t?{appId:null==n?void 0:n.id,pageId:t.pageId,subPageId:t.subPageId}:{appId:null==n?void 0:n.id,pageId:(null==n?void 0:n.pages.static[0].entityId)?n.pages.static[0].entityId:""};try{r=Ys(e,this.pageService.navigateToApp)}catch(e){throw qs(Ba.INTERNAL_ERROR,e)}return r}))}}class $C extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.pageTabsService=n}initHandlers(){this.registerHandler(Co.navigateToTab,((e,t)=>Qs(this.pageTabsService.navigateToTab,t)),{errorCallback:(e,t)=>$s(Co.navigateToTab,e,t)}),this.registerHandler(Co.getTabInstances,((e,t)=>Qs(this.pageTabsService.getTabInstances,t)),{errorCallback:(e,t)=>this.onGetTabsError(Co.getTabInstances,e,t)}),this.registerHandler(Co.getMruTabInstances,((e,t)=>Qs(this.pageTabsService.getMruTabInstances,t)),{errorCallback:(e,t)=>this.onGetTabsError(Co.getMruTabInstances,e,t)})}validateDependencies(){if(!this.pageTabsService)throw"No pageTabsService provided"}onGetTabsError(e,t,n){return null==n||n.fail(`${e} failed ${rl(t)}`),Js({teamTabs:[]})}}class qC extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.backStackService=n}initHandlers(){this.registerHandler(yo.navigateBack,(e=>Qs(this.backStackService.navigateBack)),{errorCallback:(e,t)=>$s(yo.navigateBack,e,t)})}validateDependencies(){if(!this.backStackService)throw"No backStackService provided"}}class GC extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.fullTrustService=n}initHandlers(){this.registerHandler(So.enterFullscreen,(e=>tl(this.fullTrustService.enterFullscreen)),{isRestrictedToFullTrustApps:!0}),this.registerHandler(So.exitFullscreen,(e=>tl(this.fullTrustService.exitFullscreen)),{isRestrictedToFullTrustApps:!0})}validateDependencies(){if(!this.fullTrustService)throw"No fullTrustService provided"}}const KC={dependentHubServiceSelector:e=>e.peopleService,messageHandlerFactory:(e,t,n)=>new YC(e,n,t)};class YC extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.peopleService=n}initHandlers(){this.registerHandler(Eo,((e,t)=>Ys(t,this.peopleService.selectPeople)),{errorCallback:(e,t)=>Ws(Eo,e,t)})}}const XC={dependentHubServiceSelector:e=>e.devicePermissionService,messageHandlerFactory:(e,t,n)=>new ZC(e,n,t)};class ZC extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.permissionsService=n}initHandlers(){this.registerHandler(xo,((e,t)=>this.handleRequestUserConsentAndStorePermissions(t)),{errorCallback:(e,t)=>Ws(xo,e,t)}),this.registerHandler(wo.getPermissionStatus,((e,t)=>Ys(t,this.permissionsService.storageService.getPermissionStatus,(e=>e==vr.Consented))),{errorCallback:(e,t)=>Ws(wo.getPermissionStatus,e,t)})}handleRequestUserConsentAndStorePermissions(e){return w(this,void 0,void 0,(function*(){this.verifyPermissionsInManifest(e);const t=yield this.checkPermissionsInStorage(e);if(t!==vr.NeverAsked)return Js([null,t==vr.Consented]);const n=yield this.requestUserConsent(e);return yield this.storePermissions(n),Js([null,n.status==vr.Consented])}))}verifyPermissionsInManifest(e){if(!this.appDefinition.devicePermissions.some((t=>t.toLowerCase()===e.toString().toLowerCase())))throw qs(Ba.INTERNAL_ERROR,"permission does not exist in the app manifest")}checkPermissionsInStorage(e){return w(this,void 0,void 0,(function*(){return yield this.permissionsService.storageService.getPermissionStatus(e)}))}requestUserConsent(e){return w(this,void 0,void 0,(function*(){let t;try{t=yield this.permissionsService.requestUserConsentForPermission(e)}catch(e){throw qs(Ba.INTERNAL_ERROR,"An error occurred while requesting the user consent for permissions")}return t}))}storePermissions(e){return w(this,void 0,void 0,(function*(){yield this.permissionsService.storageService.storePermissionConsent(e)}))}}const JC={dependentHubServiceSelector:e=>e.profileService,messageHandlerFactory:(e,t,n)=>new QC(e,n,t)};class QC extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.profileService=n}initHandlers(){this.registerHandler(Io,((e,t)=>{const n=this.appSdkHost.getFrame(),{x:r,y:i}=n?n.getBoundingClientRect():{x:0,y:0},o=DOMRect.fromRect({x:t.targetRectangle.x+r,y:t.targetRectangle.y+i,width:t.targetRectangle.width,height:t.targetRectangle.height}),a={modality:t.modality,persona:t.persona,targetElementBoundingRect:o,triggerType:t.triggerType};return Ys(a,this.profileService.showProfile)}),{errorCallback:(e,t)=>Ws(Io,e,t)})}}class eA extends Lv{constructor(e,t,n,r,i,o,a,s,l,c,u,d,p){if(super(e,t),this.appSdkHost=e,this.telemetryService=t,this.pageService=i,this.logService=o,this.mediaStreamService=a,this.meetingService=s,this.meetingRoomService=l,this.remoteCameraService=c,this.searchService=u,this.otherAppStateChangeService=d,this.bootstrapRegistrationState=p,this.registeredHandlers=new Map,this.userSettings=[],this.cacheabilityDataService=n,this.registerHandlerImpl("themeChange",(t=>e.onThemeChanged=e=>t({data:e})),"eventDispatch.themeChange"),this.registerHandlerImpl("userSettingsChange",(t=>e.onUserSettingsChanged=(e,n)=>this.userSettings.includes(e)&&t({data:[e,n]})),"eventDispatch.userSettingsChange",!0),o&&(o.clearListeners(),this.registerHandlerImpl("log.request",(e=>o.addEventListener("log.request",e)),"eventDispatch.log.request",!1,Yg({isRestrictedToFullTrustApps:!0}))),s&&(s.clearListeners(),this.registerHandlerImpl("meeting.liveStreamChanged",(e=>s.addEventListener("liveStreamChanged",e)),"eventDispatch.meeting.liveStreamChanged"),this.registerHandlerImpl("meeting.raiseHandStateChanged",(e=>s.addEventListener("raiseHandStateChanged",e)),"eventDispatch.meeting.raiseHandStateChanged"),this.registerHandlerImpl("meeting.speakingStateChanged",(e=>s.addEventListener("speakingStateChanged",e)),"eventDispatch.meeting.speakingStateChanged"),this.registerHandlerImpl("meeting.meetingReactionReceived",(e=>s.addEventListener("meetingReactionReceived",e)),"eventDispatch.meeting.meetingReactionReceived"),this.registerHandlerImpl("meeting.micStateChanged",(e=>s.addEventListener("micStateChanged",e)),"eventDispatch.meeting.micStateChanged"),this.registerHandlerImpl("meeting.audioDeviceSelectionChanged",(e=>s.addEventListener("audioDeviceSelectionChanged",e)),"eventDispatch.meeting.audioDeviceSelectionChanged")),l&&(l.clearListeners(),this.registerHandlerImpl("meetingRoom.meetingRoomCapabilitiesUpdate",(e=>l.addEventListener("meetingRoomCapabilitiesUpdate",e)),"eventDispatch.meetingRoomCapabilitiesUpdate"),this.registerHandlerImpl("meetingRoom.meetingRoomStatesUpdate",(e=>l.addEventListener("meetingRoomStatesUpdate",e)),"eventDispatch.meetingRoomStatesUpdate")),u&&(u.clearListeners(),this.registerHandlerImpl("search.queryChange",(e=>u.addEventListener("queryChange",e)),"eventDispatch.search.queryChange"),this.registerHandlerImpl("search.queryClose",(e=>u.addEventListener("queryClose",e)),"eventDispatch.search.queryClose"),this.registerHandlerImpl("search.queryExecute",(e=>u.addEventListener("queryExecute",e)),"eventDispatch.search.queryExecute")),i){if(i.clearListeners(),this.registerHandlerImpl("fullScreenChange",(e=>i.addEventListener("fullScreenChange",e)),"eventDispatch.fullScreenChange"),this.registerHandlerImpl("focusEnter",(e=>i.addEventListener("focusEnter",(t=>{let n=t;n.data="boolean"!=typeof t.data?t.data:[t.data],e(n)}))),"eventDispatch.focusEnter",!0),i.appButtonService){const e=i.appButtonService;e.clearListeners(),this.registerHandlerImpl("appButtonClick",(t=>e.addEventListener("click",t)),"eventDispatch.appButtonClick"),this.registerHandlerImpl("appButtonHoverEnter",(t=>e.addEventListener("hoverEnter",t)),"eventDispatch.appButtonHoverEnter"),this.registerHandlerImpl("appButtonHoverLeave",(t=>e.addEventListener("hoverLeave",t)),"eventDispatch.appButtonHoverLeave")}if(i.configService){const e=i.configService;e.clearListeners(),this.registerHandlerImpl("changeSettings",(t=>e.addEventListener("changeSettings",t)),"eventDispatch.changeSettings"),e.addEventListener("settings.save",(e=>{this.logEventDispatchScenario("eventDispatch.settings.save"),this.appSdkHost.sendRequestMessage("settings.save",e.data?[e.data]:[])})),e.addEventListener("settings.remove",(e=>{this.logEventDispatchScenario("eventDispatch.settings.remove"),this.appSdkHost.sendRequestMessage("settings.remove",e.data?[e.data]:[])}))}if(i.backStackService){const e=i.backStackService;e.clearListeners(),this.registerHandlerImpl("backButton",(t=>e.addEventListener("backButton",t)),"eventDispatch.backButtonPress",!1,{eventRaiseType:"backButtonPress"})}}c&&(c.clearListeners(),this.registerHandlerImpl("remoteCamera.capableParticipantsChange",(e=>c.addEventListener("capableParticipantsChange",e)),"eventDispatch.remoteCamera.capableParticipantsChange"),this.registerHandlerImpl("remoteCamera.handlerError",(e=>c.addEventListener("handlerError",e)),"eventDispatch.remoteCamera.handlerError"),this.registerHandlerImpl("remoteCamera.deviceStateChange",(e=>c.addEventListener("deviceStateChange",e)),"eventDispatch.remoteCamera.deviceStateChange"),this.registerHandlerImpl("remoteCamera.sessionStatusChange",(e=>c.addEventListener("sessionStatusChange",e)),"eventDispatch.remoteCamera.sessionStatusChange")),a&&this.registerHandlerImpl("video.mediaStream.audioInferenceDiscardStatusChange",(e=>a.addEventListener("audioInferenceDiscardStatusChange",e)),"eventDispatch.video.mediaStream.audioInferenceDiscardStatusChange"),d&&es(this.appSdkHost.getAppDefinition())&&this.registerHandlerImpl("otherApp.install",(e=>d.addEventListener("install",e)),"eventDispatch.otherApp.install"),this.registerHandlerImpl("load",(e=>{}),"eventDispatch.load"),this.registerHandlerImpl("beforeUnload",(e=>{}),"eventDispatch.beforeUnload"),this.registeredHandlers.set("currentFreeMemoryInMb",(()=>{null==n||n.addEventListener("currentFreeMemoryInMb",(e=>{var t;this.logEventDispatchScenario("eventDispatch.currentFreeMemoryInMb"),null===(t=null==r?void 0:r.auditAndRemoveCachedApps)||void 0===t||t.call(r,{currentFreeMemoryInMb:e.data,currentMemoryUsageInMb:void 0})}))})),this.registeredHandlers.set("hostMemoryConsumptionInMb",(()=>{null==n||n.addEventListener("hostMemoryConsumptionInMb",(e=>{var t;this.logEventDispatchScenario("eventDispatch.hostMemoryConsumptionInMb"),null===(t=null==r?void 0:r.auditAndRemoveCachedApps)||void 0===t||t.call(r,{currentMemoryUsageInMb:e.data,currentFreeMemoryInMb:void 0})}))})),this.registeredHandlers.set("removeAppFromCache",(()=>{null==n||n.addEventListener("removeAppFromCache",(()=>{var e;this.logEventDispatchScenario("eventDispatch.removeAppFromCache");try{const e=this.appSdkHost.getCacheablePageInfo();null==r||r.removeAppFromCache(e,ua.HostExplicitRemoval)}catch(t){this.appSdkHost.getLogger().log(yr.Error,"RegisterHandlerMessageHandler",t),console.error("failed to remove app from cache",null===(e=this.appDefinition)||void 0===e?void 0:e.id)}}))}))}initHandlers(){var e,t,n;this.registerHandler(Bo,((e,t,n)=>w(this,void 0,void 0,(function*(){return n&&(this.userSettings=n),this.isValidRegistrationType(t)&&(this.registeredHandlers.get(t)(),this.appSdkHost.saveCacheableRegistrationState(t,this.userSettings)),el})))),this.cacheabilityDataService&&(null===(e=this.registeredHandlers.get("currentFreeMemoryInMb"))||void 0===e||e(),null===(t=this.registeredHandlers.get("hostMemoryConsumptionInMb"))||void 0===t||t(),null===(n=this.registeredHandlers.get("removeAppFromCache"))||void 0===n||n()),this.bootstrapRegistrationState&&this.runRegisteredHandlers(this.bootstrapRegistrationState)}isValidRegistrationType(e){return this.registeredHandlers.has(e)}runRegisteredHandlers(e){var t,n;let r;try{for(r in e)this.registeredHandlers.has(r)&&(Is(r)&&(null===(t=e.userSettingsChange)||void 0===t?void 0:t.userSettingTypes)&&(this.userSettings=e.userSettingsChange.userSettingTypes),null===(n=this.registeredHandlers.get(r))||void 0===n||n())}catch(e){this.appSdkHost.getLogger().log(yr.Error,"RegisterHandlerMessageHandler","failed to run registered handlers")}}registerHandlerImpl(e,t,n,r=!1,i){if(this.registeredHandlers.has(e))throw new Error("handler already registered");this.registeredHandlers.set(e,(()=>{var o,a,s;if((null==i?void 0:i.isRestrictedToFullTrustApps)&&!(null===(o=this.appSdkHost.getAppDefinition())||void 0===o?void 0:o.isFullTrust))throw qs(Ba.INTERNAL_ERROR,wa);if((null==i?void 0:i.isRestrictedToMicrosoftOwnedOrFullTrustApps)&&!(null===(a=this.appSdkHost.getAppDefinition())||void 0===a?void 0:a.isFullTrust)&&!(null===(s=this.appSdkHost.getAppDefinition())||void 0===s?void 0:s.isMicrosoftOwned))throw qs(Ba.INTERNAL_ERROR,wa);t((t=>{var o;this.logEventDispatchScenario(n),r||null==t.data||(t.data=[t.data]),this.appSdkHost.sendRequestMessage(null!==(o=null==i?void 0:i.eventRaiseType)&&void 0!==o?o:e,t.data?t.data:[])}))}))}logEventDispatchScenario(e){var t;const n=null===(t=this.telemetryService)||void 0===t?void 0:t.createScenario(e,void 0,void 0,"unknown");null==n||n.stop()}cleanup(){var e,t,n,r,i,o,a,s,l,c,u,d,p,h,f,m,g,v,y,b,C,A,S,E,w,x;this.userSettings=[],null===(e=this.cacheabilityDataService)||void 0===e||e.clearListeners(),null===(n=null===(t=this.pageService)||void 0===t?void 0:t.clearListeners)||void 0===n||n.call(t),null===(i=null===(r=this.logService)||void 0===r?void 0:r.clearListeners)||void 0===i||i.call(r),null===(a=null===(o=this.mediaStreamService)||void 0===o?void 0:o.clearListeners)||void 0===a||a.call(o),null===(l=null===(s=this.meetingService)||void 0===s?void 0:s.clearListeners)||void 0===l||l.call(s),null===(u=null===(c=this.meetingRoomService)||void 0===c?void 0:c.clearListeners)||void 0===u||u.call(c),null===(p=null===(d=this.remoteCameraService)||void 0===d?void 0:d.clearListeners)||void 0===p||p.call(d),null===(f=null===(h=this.searchService)||void 0===h?void 0:h.clearListeners)||void 0===f||f.call(h),null===(g=null===(m=this.otherAppStateChangeService)||void 0===m?void 0:m.clearListeners)||void 0===g||g.call(m),(null===(v=this.pageService)||void 0===v?void 0:v.appButtonService)&&(null===(b=(y=this.pageService.appButtonService).clearListeners)||void 0===b||b.call(y)),(null===(C=this.pageService)||void 0===C?void 0:C.configService)&&(null===(S=(A=this.pageService.configService).clearListeners)||void 0===S||S.call(A)),(null===(E=this.pageService)||void 0===E?void 0:E.backStackService)&&(null===(x=(w=this.pageService.backStackService).clearListeners)||void 0===x||x.call(w)),this.registeredHandlers.clear()}}const tA={dependentHubServiceSelector:e=>e.remoteCameraService,messageHandlerFactory:(e,t,n)=>new nA(e,n,t)};class nA extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.remoteCameraService=n}initHandlers(){this.registerHandler(ko,(()=>Ys(null,this.remoteCameraService.getCapableParticipants)),{errorCallback:(e,t)=>Ws(ko,e,t)}),this.registerHandler(To,((e,t)=>Ys(t,this.remoteCameraService.requestControl)),{errorCallback:(e,t)=>Ws(To,e,t)}),this.registerHandler(_o,((e,t)=>Qs(this.remoteCameraService.sendControlCommand,t)),{errorCallback:(e,t)=>Ws(_o,e,t)}),this.registerHandler(Po,(()=>Qs(this.remoteCameraService.terminateSession)),{errorCallback:(e,t)=>Ws(Po,e,t)})}}const rA={dependentHubServiceSelector:e=>e.searchService,messageHandlerFactory:(e,t,n)=>new iA(e,n,t)};class iA extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.searchService=n}initHandlers(){this.registerHandler(Ro,(e=>(this.searchService.clearListeners(),Promise.resolve(el))),{}),this.registerHandler(Mo,(e=>w(this,void 0,void 0,(function*(){return yield this.searchService.closeSearch(),Js([!0])}))),{errorCallback:(e,t)=>$s(Mo,e,t)})}}const oA={dependentHubServiceSelector:e=>e.sharingService,messageHandlerFactory:(e,t,n)=>new aA(e,n,t)};class aA extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.sharingService=n}initHandlers(){this.registerHandler(Lo,((e,t)=>Qs(this.sharingService.shareWebContent,t)),{errorCallback:(e,t)=>Ws(Lo,e,t)}),this.registerHandler(Oo.getContent,(()=>w(this,void 0,void 0,(function*(){const e=yield this.sharingService.historyService.getContent();return Js([null,e])}))),{errorCallback:(e,t)=>Ws(Oo.getContent,e,t)})}}var sA;!function(e){e.modal="modal",e.popout="popout",e.popoutWithChat="popoutWithChat"}(sA||(sA={}));const lA={dependentHubServiceSelector:e=>e.stageViewService,messageHandlerFactory:(e,t,n)=>new cA(e,n,t)};class cA extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.stageViewService=n}initHandlers(){this.registerHandler(Fo,((e,t)=>Ys(t,this.stageViewService.open)),{errorCallback:(e,t)=>Ws(Fo,e,t)})}}class uA{constructor(e,t){this.stageViewService=e,this.logger=t}tryGetDataFromLink(e){var t;if(!this.stageViewService)return null;if(e.origin!=Es)return null;const n=e.pathname.match(uA.STAGE_VIEW_URL_REGEX);if(!n)return null;const r=n[1],i=e.searchParams.get("context");if(!i)return null;let o;try{o=JSON.parse(i)}catch(e){return null===(t=this.logger)||void 0===t||t.log(yr.Error,"StageViewLegacyLinkHandler","There is an error parsing the URL",e),null}const a=o.contentUrl;if(!a)return null;const s=o.title||void 0;return{appId:r,contentUrl:a,threadId:o.threadId||void 0,title:s,websiteUrl:o.websiteUrl||void 0,entityId:o.entityId||void 0,openMode:o.openMode in sA?o.openMode:void 0,messageId:o.messageId||void 0}}executeData(e){return this.stageViewService.open(e)}}uA.STAGE_VIEW_URL_REGEX=/^\/l\/stage\/([^\/]+)\/?0$/;class dA extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.stageViewSelfService=n}initHandlers(){this.registerHandler(No.close,(e=>Ys(null,this.stageViewSelfService.close)),{errorCallback:(e,t)=>Ws(No.close,e,t)})}}const pA=qs(Ba.INTERNAL_ERROR,"Invalid store dialog size"),hA={dependentHubServiceSelector:e=>e.storeService,messageHandlerFactory:(e,t,n)=>new gA(e,n,t)},fA=e=>"string"==typeof e,mA=e=>Array.isArray(e)&&e.every(fA);class gA extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.storeService=n}initHandlers(){this.registerHandler(zo,this.handleAppDetailDialog,{isRestrictedToMicrosoftOwnedOrFullTrustApps:!0,errorCallback:(e,t)=>Ws(zo,e,t)}),this.registerHandler(Ho,this.handleFullStore,{isRestrictedToMicrosoftOwnedOrFullTrustApps:!0,errorCallback:(e,t)=>Ws(Ho,e,t)}),this.registerHandler(Vo,this.handleInContextStoreDialog,{isRestrictedToMicrosoftOwnedOrFullTrustApps:!0,errorCallback:(e,t)=>Ws(Vo,e,t)}),this.registerHandler(Uo,this.handleSpecificStoreDialog,{isRestrictedToMicrosoftOwnedOrFullTrustApps:!0,errorCallback:(e,t)=>Ws(Uo,e,t)})}handleAppDetailDialog(e,t,n){return w(this,void 0,void 0,(function*(){if(!n)throw qs(Ba.INVALID_ARGUMENTS,"appId is required for AppDetail dialog");const e=t?this.parseAndValidateDialogSize(t):void 0;return yield this.storeService.openAppDetail({appId:new Mv(n),size:e}),Js()}))}handleFullStore(e,t){return w(this,void 0,void 0,(function*(){const e=t?this.parseAndValidateDialogSize(t):void 0;return yield this.storeService.openFullStore({size:e}),Js()}))}handleInContextStoreDialog(e,t,n,r,i,o){return w(this,void 0,void 0,(function*(){if(void 0!==n&&!fA(n))throw qs(Ba.INVALID_ARGUMENTS,"invalid appCapability.");if(void 0!==r&&!mA(r))throw qs(Ba.INVALID_ARGUMENTS,"invalid appMetaCapabilities.");if(void 0!==i&&!fA(i))throw qs(Ba.INVALID_ARGUMENTS,"invalid installationScope.");if(void 0!==o&&!mA(o))throw qs(Ba.INVALID_ARGUMENTS,"invalid filteredOutAppIds.");const e=t?this.parseAndValidateDialogSize(t):void 0,a={appCapability:n,appMetaCapabilities:r,installationScope:i,filteredOutAppIds:null==o?void 0:o.map((e=>new Mv(e))),size:e};return yield this.storeService.openInContextStore(a),Js()}))}handleSpecificStoreDialog(e,t,n){return w(this,void 0,void 0,(function*(){if(!n)throw qs(Ba.INVALID_ARGUMENTS,"collectionId is required for SpecificStore dialog");const e=t?this.parseAndValidateDialogSize(t):void 0;return yield this.storeService.openSpecificStore({collectionId:n,size:e}),Js()}))}parseAndValidateDialogSize(e){const t=JSON.parse(e),{width:n,height:r}=t||{};if("number"==typeof n&&n<0)throw pA;if("number"==typeof r&&r<0)throw pA;return{width:n,height:r}}}class vA extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.joinedTeamsService=n}initHandlers(){this.registerHandler($o.joinedTeams.getUserJoinedTeams,((e,t)=>Qs(this.joinedTeamsService.getUserJoinedTeams,t)),{isRestrictedToFullTrustApps:!0})}validateDependencies(){if(!this.joinedTeamsService)throw"No joinedTeamsService provided"}}class yA extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.fullTrustService=n}initHandlers(){this.registerHandler($o.getConfigSetting,((e,t)=>Qs(this.fullTrustService.getConfigSetting,t)),{isRestrictedToFullTrustApps:!0})}validateDependencies(){if(!this.fullTrustService)throw"No fullTrustService provided"}}const bA={dependentHubServiceSelector:e=>e.teamsService,messageHandlerFactory:(e,t,n)=>new CA(e,n,t)};class CA extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.teamsService=n}initHandlers(){this.registerHandler(jo,((e,t)=>Ys(t,this.teamsService.getTeamChannels)),{errorCallback:(e,t)=>Ws(jo,e,t),isRestrictedToFullTrustApps:!1}),this.registerHandler(Wo,((e,t)=>Ys(t,this.teamsService.refreshSiteUrl)),{errorCallback:(e,t)=>Ws(Wo,e,t),isRestrictedToFullTrustApps:!1})}}const AA={dependentHubServiceSelector:e=>e.thirdPartyCloudStorageService,messageHandlerFactory:(e,t,n)=>new SA(e,n,t)};class SA extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.thirdPartyCloudStorageService=n}initHandlers(){this.registerHandler(Ko,((e,t)=>w(this,void 0,void 0,(function*(){return yield this.thirdPartyCloudStorageService.getDragAndDropFiles(t,(t=>this.callGetDragAndDropFiles(mr(e.data),t))),el}))),{errorCallback:(e,t)=>Ws(Ko,e,t)})}callGetDragAndDropFiles(e,t){return t.fileChunk?(t.fileChunk.chunkSequence>0?this.appSdkHost.postResponseToApp(e,[t],!0):this.appSdkHost.postResponseToApp(e,[t],!1),Promise.resolve()):Promise.reject("Received an empty file chunk from the host")}}class EA extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.mediaStreamService=n}initHandlers(){this.registerHandler(Xo.registerForVideoFrame,((e,t)=>w(this,void 0,void 0,(function*(){return this.mediaStreamService.addEventListener("setFrameProcessTimeLimit",(e=>{this.appSdkHost.sendRequestMessage(aa,[e.data])})),(yield this.mediaStreamService.registerForVideoFrame(t))&&this.mediaStreamService.addEventListener("mediaStreamChangedEvent",(e=>{const{streamId:t,metadataInTexture:n}=e.data;t&&this.appSdkHost.sendRequestMessage(ta,[{streamId:t,metadataInTexture:n}])})),el}))))}validateDependencies(){if(!this.mediaStreamService)throw new Error("No mediaStreamService provided")}}var wA,xA,IA;!function(e){e.EffectChanged="EffectChanged",e.EffectDisabled="EffectDisabled"}(wA||(wA={})),function(e){e.Fatal="fatal",e.Warn="warn"}(xA||(xA={})),function(e){e.NV12="NV12"}(IA||(IA={}));const kA={dependentHubServiceSelector:e=>e.videoExtensibilityService,messageHandlerFactory:(e,t,n)=>new TA(e,n,t)};class TA extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.videoExtensibilityService=n}initHandlers(){this.registerHandler(Qo,(e=>w(this,void 0,void 0,(function*(){return this.videoExtensibilityService.addEventListener("videoEffectToApply",(e=>{const t=[e.data.effectId];e.data.effectParameter&&t.push(e.data.effectParameter),this.appSdkHost.sendRequestMessage(Yo,t)})),this.videoExtensibilityService.registerForVideoEffect(),el})))),this.registerHandler(na,((e,t,n,r)=>w(this,void 0,void 0,(function*(){return this.videoExtensibilityService.videoEffectPickedInVideoApp(t,n,r),el})))),this.registerHandler(ra,((e,t,n,r,i)=>w(this,void 0,void 0,(function*(){return this.videoExtensibilityService.setVideoEffectAppliedResult(t,n,r,i),el})))),this.registerHandler(Jo,((e,t)=>w(this,void 0,void 0,(function*(){return this.videoExtensibilityService.personalizedEffectsChanged(t),el})))),this.registerHandler(Zo,((e,t,n)=>w(this,void 0,void 0,(function*(){return this.videoExtensibilityService.notifyError(t,n||xA.Warn),el})))),this.registerHandler(oa.firstFrameProcessed,((e,t,n,r)=>w(this,void 0,void 0,(function*(){const e=parseInt(t);if(isNaN(e))throw new Error("Invalid firstFrameProcessed timestamp");return this.videoExtensibilityService.firstFrameProcessed(parseInt(t),n,r),el})))),this.registerHandler(oa.frameProcessingSlow,((e,t)=>w(this,void 0,void 0,(function*(){return this.videoExtensibilityService.frameProcessingSlow(t),el})))),this.registerHandler(oa.performanceDataGenerated,((e,t)=>w(this,void 0,void 0,(function*(){return this.videoExtensibilityService.performanceDataGenerated(t),el})))),this.registerHandler(oa.textureStreamAcquired,((e,t,n)=>w(this,void 0,void 0,(function*(){return this.videoExtensibilityService.textureStreamAcquired(t,n),el}))))}validateDependencies(){if(!this.videoExtensibilityService.mediaStreamService&&!this.videoExtensibilityService.sharedFrameService)throw new Error("Either mediaStreamService or sharedFrameService should be provided")}}class _A extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.sharedFrameService=n}initHandlers(){this.registerHandler(ea.registerForVideoFrame,((e,t)=>w(this,void 0,void 0,(function*(){return this.sharedFrameService.addEventListener("setFrameProcessTimeLimit",(e=>{this.appSdkHost.sendRequestMessage(aa,[e.data])})),(yield this.sharedFrameService.registerForVideoFrame(t))&&this.sharedFrameService.addEventListener("ipcChangedEvent",(e=>{const{frameProcessedEventName:t,frameReadyEventName:n,sharedMemoryName:r}=e.data;this.appSdkHost.sendRequestMessage(ia,[{frameProcessedEventName:t,frameReadyEventName:n,sharedMemoryName:r}])})),el}))))}validateDependencies(){if(!this.sharedFrameService)throw new Error("No sharedFrameService provided")}}const PA={dependentHubServiceSelector:e=>e.webStorageService,messageHandlerFactory:(e,t,n)=>new DA(e,n,t)};class DA extends Lv{constructor(e,t,n){super(e,t),this.appSdkHost=e,this.telemetryService=t,this.webStorageService=n}initHandlers(){this.registerHandler(sa,(()=>w(this,void 0,void 0,(function*(){return Js(yield this.webStorageService.isWebStorageClearedOnUserLogOut())}))),{errorCallback:(e,t)=>$s(sa,e,t)})}}const BA=[py,fy,Ry,Ly,Fy,Vy,Wy,Ky,Xy,_b,yb,Ub,Lb,Nb,$b,Gb,Zb,dC,fC,CC,SC,xC,kC,DC,MC,NC,zC,jC,KC,XC,JC,tA,rA,oA,lA,hA,bA,AA,kA,PA],RA=[class extends iC{withServices(e){return!(!e.locationService||!e.devicePermissionService||(this.linkedServices={locationService:e.locationService,devicePermissionService:e.devicePermissionService},e.devicePermissionService&&e.locationService&&(this.legacyMessageHandler=new aC(this.appSdkHost,this.telemetryService,e.devicePermissionService,e.locationService),this.legacyMessageHandler.initHandlers()),0))}initializeAppFunctions(){this.registerAppFunction(bi,cC),this.registerAppFunction(Ci.showLocation,uC)}}];class MA extends Iy{constructor(e,t,n,r,i,o,a,s){var l,c,u,d,p,h,f,m,g,v,y,b,C,A,S,E,w;super(e),this.appSdkHost=e,this.hubServices=t,this.telemetryService=n,this.messageHandlers=[];const x=new Qb([new gy(t.appInstallDialogService),new tC(t.pageService),new Hy(t.calendarService),new jy(t.callService),new qy(t.chatService),new uA(t.stageViewService,e.getLogger())]);for(const r of BA)if(void 0!==r.dependentHubServiceSelector){const i=r.dependentHubServiceSelector(t);void 0!==i&&this.messageHandlers.push(r.messageHandlerFactory(e,i,n))}else this.messageHandlers.push(r.messageHandlerFactory(e,n));for(const r of RA){const i=new r(e,n);i.withServices(t)&&this.messageHandlers.push(i)}this.messageHandlers.push(new eC(e,n,t.linkService,x)),this.messageHandlers.push(cy(e,t,n,i,o,a,s)),this.messageHandlers.push(new eA(e,n,null===(l=t.lifecycleService)||void 0===l?void 0:l.cacheabilityDataService,t.cacheManagementService,t.pageService,t.logService,null===(c=t.videoExtensibilityService)||void 0===c?void 0:c.mediaStreamService,t.meetingService,t.meetingRoomService,t.remoteCameraService,t.searchService,t.otherAppStateChangeService,r)),this.messageHandlers.push(new Qy(e,n,null===(u=t.copilotService)||void 0===u?void 0:u.customTelemetryService)),this.messageHandlers.push(new Jy(e,n,null===(d=t.copilotService)||void 0===d?void 0:d.eligibilityService)),this.messageHandlers.push(new Xb(e,n,null===(p=t.hostEntityService)||void 0===p?void 0:p.tabService)),this.messageHandlers.push(new dA(e,n,null===(h=t.stageViewService)||void 0===h?void 0:h.selfService)),this.messageHandlers.push(new $C(e,n,null===(f=t.pageService)||void 0===f?void 0:f.tabsService)),this.messageHandlers.push(new UC(e,n,null===(m=t.pageService)||void 0===m?void 0:m.configService)),this.messageHandlers.push(new GC(e,n,null===(g=t.pageService)||void 0===g?void 0:g.fullTrustService)),this.messageHandlers.push(new qC(e,n,null===(v=t.pageService)||void 0===v?void 0:v.backStackService)),this.messageHandlers.push(new yA(e,n,null===(y=t.teamsService)||void 0===y?void 0:y.fullTrustService)),this.messageHandlers.push(new vA(e,n,null===(C=null===(b=t.teamsService)||void 0===b?void 0:b.fullTrustService)||void 0===C?void 0:C.joinedTeamsService)),this.messageHandlers.push(new rb(e,n,t.dialogService,i)),this.messageHandlers.push(new ib(e,n,null===(A=t.dialogService)||void 0===A?void 0:A.updateService)),this.messageHandlers.push(new hC(e,n,null===(S=t.mailService)||void 0===S?void 0:S.handoffService)),this.messageHandlers.push(new _C(e,n,t.messageChannelsService)),this.messageHandlers.push(new PC(e,n,t.messageChannelsService)),this.messageHandlers.push(new EA(e,n,null===(E=t.videoExtensibilityService)||void 0===E?void 0:E.mediaStreamService)),this.messageHandlers.push(new _A(e,n,null===(w=t.videoExtensibilityService)||void 0===w?void 0:w.sharedFrameService)),this.messageHandlers.forEach((e=>e.initHandlers()))}tryCustomProcessing(e){return this.hubServices.customMessageService?this.hubServices.customMessageService.tryProcessMessage(e,this.appSdkHost.postMessageToFrame.bind(this.appSdkHost)):super.tryCustomProcessing(e)}}class LA extends Py{constructor(e,t,n,r,i,o,a,s,l=!1){var c;super(e,n,r.authenticationService,r.logger,r.telemetryService,i),this.hostWindow=e,this.communicationBridge=t,this.context=n,this.hubServices=r,this.onAppInitStateChanged=i,this.hostVersionsInfo=o,this.isNAAChannelRecommended=a,this.hostInsecureOrigins=s,this.isCachedLaunch=l,this.isMetaOSMounted=!1,this.getIsCachedLaunch=()=>this.isCachedLaunch,this.getAppDefinition=()=>this.appDefinition,this.getOrigin=()=>this.communicationBridge.getOrigin(),this.getDisplayName=()=>{var e,t;return(null===(e=this.context.page.config)||void 0===e?void 0:e.instanceId)?null===(t=this.context.page.config)||void 0===t?void 0:t.displayName:this.appDefinition&&xs(this.appDefinition,this.context.page.id)},this.prefetchAuthToken=(e,t)=>w(this,void 0,void 0,(function*(){var n;const r=null===(n=this.telemetryService)||void 0===n?void 0:n.createScenario("preFetchAuthToken",null==t?void 0:t.id,void 0,"no_value");if(this.hubServices.authenticationService)try{const n=ds(t,e);if(n&&hs(n))return yield this.hubServices.authenticationService.acquireToken(n,void 0,!0),null==r||r.stop(),!0}catch(e){const t="Unable to prefetch token via authentication service: "+rl(e);this.getLogger().log(yr.Error,"prefetchAuthToken",t,e),null==r||r.fail(t)}else{const e="Cancelled since authenticationService is not available";this.getLogger().log(yr.Error,"prefetchAuthToken",e),null==r||r.fail(e)}return!1})),this.urlToLoad=e=>e,this.setAppInitInfo=e=>{this.checkIfCacheableAndInvoke((t=>{var n;null===(n=this.hubServices.cacheManagementService)||void 0===n||n.setAppState(t,e)})),this.onAppInitStateChanged&&this.onAppInitStateChanged(e)},this.loadCacheableRegistrationState=()=>{if(!this.hubServices.cacheManagementService)return;const e=this.getCacheablePageInfo();return e&&this.hubServices.cacheManagementService.loadBootstrapRegistrationState(e)},this.saveCacheableRegistrationState=(e,t)=>{this.checkIfCacheableAndInvoke((n=>{var r;null===(r=this.hubServices.cacheManagementService)||void 0===r||r.saveBootstrapRegistrationState(n,((e,t)=>Is(e)?{userSettingsChange:{userSettingTypes:t}}:{[`${e}`]:!0})(e,t))}))},this.checkIfCachedAndRequestAllowed=e=>{if(!this.hubServices.cacheManagementService||!this.hubServices.cacheManagementService.isCachedAndAllowRequest)return!0;const t=this.getCacheablePageInfo();return!t||this.hubServices.cacheManagementService.isCachedAndAllowRequest(t,e)},this.unloadCachedApp=e=>{const t=this.hubServices.cacheManagementService;(null==t?void 0:t.shouldTriggerUnload(e))?(null==t||t.setAppState(e,{state:Da.Unloading}),this.sendRequestMessage("beforeUnload")):null==t||t.setAppState(e,{state:Da.Unloaded})},this.disposeBridge=()=>{var e,t;!qa().disableDebuggingTelemetryToAria&&gv(this.telemetryService,this.communicationBridge.id,null===(e=this.appDefinition)||void 0===e?void 0:e.id),this.getLogger().log(yr.Debug,"disposeBridge",`Disposing communication bridge. AppDefId: ${null===(t=this.appDefinition)||void 0===t?void 0:t.id}, CommunicationBridgeId: ${this.communicationBridge.id}`),this.communicationBridge.dispose()},this.checkIfCacheableAndInvoke=(e,t)=>{if(this.hubServices.cacheManagementService){const n=this.getCacheablePageInfo();n?e(n):null==t||t()}else null==t||t()},this.getCacheablePageInfo=()=>{var e;return this.appDefinition?{appId:this.appDefinition.id,entityId:this.context.page.id,displayName:this.getDisplayName(),instanceId:null===(e=this.context.page.config)||void 0===e?void 0:e.instanceId,contentUrl:this.getOrigin(),frameContext:this.getFrameContext()}:void 0},this.loadSDK(),this.initializeAuthenticationContext(n),!qa().disableDebuggingTelemetryToAria&&this.createTelemetryScenarioForWebContentSdkCreated(!!t.onSdkInitialized,this.communicationBridge.id),null===(c=this.getLogger())||void 0===c||c.log(yr.Info,"WebContentSdkService created",`WebContentSdkService:  isSdkInitialized: ${!!t.onSdkInitialized}, CommunicationBridgeId: ${this.communicationBridge.id}`)}setFrameAndLoadOrigin(e,t,n,r,i,o){var a,s;return w(this,void 0,void 0,(function*(){try{let l,c=!1;qa().recreateCommBridgeListenersBeforeLoadingApp&&(null===(s=(a=this.communicationBridge).onSdkInitialized)||void 0===s||s.call(a,this.hostWindow),c=!0),cv(rv.Start,iv.IframeSetAndLoadOrigin),this.getLogger().log(yr.Info,"setFrameAndLoadOrigin called",`CommBridgeListenersAdded: ${c}, AppDefinition: ${JSON.stringify(n)}, UserClickTime: ${r}, UsingCachedApp: ${i}, UserClickTimeV2: ${o}, CommunicationBridgeId: ${this.communicationBridge.id}`),!qa().disableDebuggingTelemetryToAria&&this.createTelemetryScenarioForSetFrameAndLoadOrigin(c,n,r,i,o,this.communicationBridge.id),this.isCachedLaunch=null!=i?i:this.isCachedLaunch,this.appDefinition=n,this.setAppInitInfo({state:Da.Loading}),this.setInitialized(this.isCachedLaunch),this.telemetryService.setAppDefinition(n),this.telemetryService.setUsingCachedApp(this.isCachedLaunch),this.frame=e,this.setUserClickTime(r),o&&this.setUserClickTimeV2(o),this.messageProcessor&&this.messageProcessor.cleanup(),this.isCachedLaunch&&(l=this.loadCacheableRegistrationState(),this.communicationBridge.onSdkInitialized&&this.communicationBridge.onSdkInitialized(this.hostWindow));const u=yield this.getAppContext();this.prefetchAuthToken(u,n);const d=new Ab(this.hostInsecureOrigins,this.getAppInitializationScenario());this.messageProcessor=new MA(this,this.hubServices,this.telemetryService,l,this.hostVersionsInfo,this.isCachedLaunch,this.isNAAChannelRecommended,d),this.load(t,u,this.isCachedLaunch)}catch(e){this.getLogger().log(yr.Debug,"setFrameAndLoadOrigin",`Error occurred while loading origin: ${t}`),this.getLogger().log(yr.Error,"setFrameAndLoadOrigin","An error occurred while loading URL",e),this.handleAppLoadFailure(e)}cv(rv.End,iv.IframeSetAndLoadOrigin),cv(rv.End,iv.OverallAppLoadTimeBeforeInitialize)}))}handleAppLoadFailure(e){var t,n;let r,i;e===Ca?(r=ca.Validation_InvalidDomains,i=Ca):(r=ca.Validation,i=ya),null===(t=this.getAppInitializationScenario())||void 0===t||t.fail(r,i),this.setAppInitInfo({state:Da.Failed,reason:r}),null===(n=this.messageProcessor)||void 0===n||n.cleanup()}sendRequestMessage(e,t){if(this.getOrigin()&&this.frame){const n={func:e,args:t,monotonicTimestamp:ev()};this.communicationBridge.postMessage(this.frame,n)}}sendResponseMessage(e,t,n,r,i,o){if(this.getOrigin()){const a={id:t,uuidAsString:null==n?void 0:n.toString(),args:r,isPartialResponse:i,origin:this.getOrigin(),monotonicTimestamp:ev()};o?this.communicationBridge.postMessageWithTransferables(e,a,o):this.communicationBridge.postMessage(e,a)}}sendResponseMessageToNestedIframe(e,t,n,r,i){const o={id:e,uuidAsString:null==n?void 0:n.toString(),args:r,isPartialResponse:i,origin:t.origin,monotonicTimestamp:ev()};this.communicationBridge.postMessageToNestedIframe(o,t)}setOrigin(e,t){this.communicationBridge.setOrigin(e,t)}postResponseToApp(e,t,n,r){if(this.frame){const i=Sb(e);this.sendResponseMessage(this.frame,i.id,i.uuid,t,n,r)}}postDeeplyNestedResponseToApp(e,t,n,r){const i=Sb(e);this.sendResponseMessageToNestedIframe(i.id,t,i.uuid,n,r)}postMessageToFrame(e){this.frame&&this.communicationBridge.postMessage(this.frame,e)}handleMessage(e){if(!this.messageProcessor)throw new Error("Unable to handle message. Undefined message processor");e.isDeeplyNestedRequest?this.messageProcessor.processForDeeplyNestedRequest(e):this.messageProcessor.process(e)}load(e,t,n=!1){if(!this.isMetaOSMounted)return;let r;this.frame&&this.appDefinition&&this.communicationBridge.onSetFrameAndLoadOrigin(this.frame,e,this.appDefinition,t,this.handleMessage.bind(this),n);try{r=Xa(e,this.getLogger(),t,this.getAppDefinition())}catch(e){this.handleInvalidUrlError(t)}if(r&&this.frame)if(this.getLogger().log(yr.Debug,"load",`origin: ${r}`),this.setOrigin(r,n),this.setAppInitInfo({state:Da.WaitingForAppLoad}),n)this.sendRequestMessage("load",[{entityId:t.page.id,contentUrl:r}]);else{const e=new URL(r);this.frame.src=gs(this.urlToLoad(e))}else this.handleInvalidUrlError(t)}handleInvalidUrlError(e){throw qa().wildcardValidDomainRuleDetection&&this.getAppDefinition()&&Za(Ja(this.getAppDefinition(),e)).length>0?Ca:ya}unloadApp(e,t="unknown"){var n;if(null===(n=this.messageProcessor)||void 0===n||n.cleanup(),this.hubServices.cacheManagementService){const e=this.getCacheablePageInfo();e&&this.unloadCachedApp(e)}else super.createTelemetryScenarioForAppTermination(e,t)}loadSDK(){this.isMetaOSMounted||(this.communicationBridge.onSdkInitialized&&this.communicationBridge.onSdkInitialized(this.hostWindow),this.isMetaOSMounted=!0)}unloadSDK(){var e;null===(e=this.messageProcessor)||void 0===e||e.cleanup(),this.isMetaOSMounted=!1,this.onAppInitStateChanged=void 0,this.hubServices.cacheManagementService||this.disposeBridge(),super.createTelemetryScenarioForUnloadSdk(this.communicationBridge.id)}getFrame(){return this.frame}}class OA{constructor(e,t,n,r){this.pageInfo=e,this.communicationBridge=t,this.frameInfo=n,this.bootstrapRegistrationState=r,this.currentAppState={state:Da.Loading},this.unloadingTimeoutId=0,this.unloadingTimeoutDeferred=null}loadBootstrapRegistrationState(){return this.bootstrapRegistrationState}saveBootstrapRegistrationState(e){this.bootstrapRegistrationState=Object.assign(Object.assign({},this.bootstrapRegistrationState),e)}isCached(){return this.currentAppState.state===Da.Cached}}class FA{constructor(e){this.constraintsService=e,this.removeLeastRecentlyUsedAppIf=(e,t,n)=>{if(t){const t=e.shift();if(t&&t.currentAppState.state===Da.Cached)return{app:t,reason:n}}}}determineAppsToRemoveBasedOnConstraints(e,t,n){const r=e.filter((e=>this.hasAppExceededMaxLifetime(e.pageInfo)));if(r.length>0){const e=r.shift();return e?[{app:e,reason:ua.AppExpiration}]:[]}const i=this.removeLeastRecentlyUsedAppIf(e,void 0!==t&&!this.isFreeMemoryAboveMinimum(t),ua.FreeMemoryUnderMinimum)||this.removeLeastRecentlyUsedAppIf(e,void 0!==n&&!this.isMemoryUsageWithinLimit(n),ua.HostMemoryLimitExceeded)||this.removeLeastRecentlyUsedAppIf(e,!!this.constraintsService.maxAppsAllowedInCache&&e.length>this.constraintsService.maxAppsAllowedInCache,ua.NumAppsExceeded);return i?[i]:[]}isMemoryUsageWithinLimit(e){return e<this.constraintsService.maxHostMemoryAllowedInMb}isFreeMemoryAboveMinimum(e){return e>this.constraintsService.minFreeDeviceMemoryInMbToCache}hasAppExceededMaxLifetime(e){const t=60*this.constraintsService.appExpirationInMinutes*1e3;return Date.now()-(e.lastAccessedTimestampInMs||0)>t}}class NA{constructor(){this.isCached=e=>e.isCached(),this.cachedApps=[]}isAppRegisteredForCaching(e){return!!this.cacheMonitoringService&&!!e.loadBootstrapRegistrationState().load&&!!e.loadBootstrapRegistrationState().beforeUnload}getCachedCommunicationBridge(e){const t=this.getCachedApp(e);return t&&this.isAppRegisteredForCaching(t)?t.communicationBridge:void 0}setTelemetryAndLogger(e,t){this.telemetryService=e,this.logger=t}setCachingConstraintsService(e){e&&(this.cacheMonitoringService=new FA(e))}runAppTerminateTelemetryScenario(e,t,n,r,i="monotonic"){var o;const a=null===(o=this.telemetryService)||void 0===o?void 0:o.createScenario("appTermination",e,t,void 0,i);a.addOrUpdateActivityDataField(uv.CACHEDAPP_IND_FIELD_NAME,r||!0),a.addOrUpdateActivityDataField(uv.APP_TERMINATE_REASON,n),a.stop()}auditAndRemoveCachedApps({currentFreeMemoryInMb:e,currentMemoryUsageInMb:t}){this.cacheMonitoringService&&this.cacheMonitoringService.determineAppsToRemoveBasedOnConstraints(this.getCachedApps(),e,t).forEach((e=>{const t=e.app.pageInfo;this.removeAppFromCache(t,e.reason)}))}addAppToCache(e,t,n){const r=new OA(e,t,n,{});return this.cachedApps.push(r),r}removeAppFromCache(e,t){const n=this.getCachedApp(e);if(n){this.cachedApps.splice(this.cachedApps.indexOf(n),1);const r=Jg("monotonic");this.runAppTerminateTelemetryScenario(e.appId,r.value,t,!0,r.type),this.disposeCachedApps([n])}}getCachedApps(){return this.cachedApps.filter(this.isCached)}getCachedApp(e){if(!e.frameContext||e.frameContext===pr.content)return this.cachedApps.find((t=>t.pageInfo.appId===e.appId))}shouldDisplayLoadingUI(e,t,n){if(!t&&!n)return!1;const r=e.state;return r===Da.Loading||r===Da.WaitingForAppLoad}disposeCachedApps(e){var t,n,r;for(const i of e)null===(t=i.communicationBridge)||void 0===t||t.dispose(),gv(this.telemetryService,null===(n=i.communicationBridge)||void 0===n?void 0:n.id,i.pageInfo.appId),null===(r=i.frameInfo)||void 0===r||r.remove(),i.unloadingTimeoutDeferred&&(i.unloadingTimeoutDeferred.reject(new Error("Unloading timeout")),i.unloadingTimeoutDeferred=null)}logTelemetryForAppStateChange(e,t){var n,r;const i=null===(n=this.telemetryService)||void 0===n?void 0:n.createScenario("appStateUpdated",e);null===(r=null==i?void 0:i.addOrUpdateActivityDataField)||void 0===r||r.call(i,uv.APP_STATE_UPDATED,t),null==i||i.stop()}handleUnloading(e,t){e.unloadingTimeoutId||(this.startAppSuspendScenario(t.appId),e.unloadingTimeoutId=window.setTimeout((()=>{this.failAppSuspendScenario(ua.AppUnloadTimeout),this.removeAppFromCache(t,ua.AppUnloadTimeout)}),15e3))}setAppState(e,t){var n,r;const i=this.getCachedApp(e);if(i&&!(t.state===Da.Loaded&&i.currentAppState.state!==Da.WaitingForAppLoad||t.state===Da.Unloaded&&(o=i.currentAppState.state)!==Da.Unloading&&o!==Da.Loaded&&o!==Da.Loading&&o!==Da.WaitingForAppLoad&&o!==Da.Failed)){var o;switch(t.state){case Da.Unloaded:i.unloadingTimeoutId&&window.clearTimeout(i.unloadingTimeoutId),i.unloadingTimeoutId=0,this.stopAppSuspendScenario(),(null==i?void 0:i.unloadingTimeoutDeferred)&&(i.unloadingTimeoutDeferred.resolve(!0),i.unloadingTimeoutDeferred=null),i.communicationBridge.dispose(),gv(this.telemetryService,null===(n=i.communicationBridge)||void 0===n?void 0:n.id,i.pageInfo.appId),this.isAppRegisteredForCaching(i)?(i.currentAppState.state=Da.Cached,i.pageInfo.lastAccessedTimestampInMs=Date.now()):this.removeAppFromCache(e,ua.AppDidNotRegisterForCaching),this.auditAndRemoveCachedApps({currentFreeMemoryInMb:void 0,currentMemoryUsageInMb:void 0});break;case Da.Unloading:i.currentAppState=t,this.handleUnloading(i,e);break;case Da.Failed:i.currentAppState.state===Da.Cached||(i.currentAppState=t),this.removeAppFromCache(e,t.reason);break;case Da.Loaded:i.currentAppState=t,this.updateAppRecency(e);break;default:i.currentAppState=t}null===(r=this.logger)||void 0===r||r.log(yr.Info,"AppStateChange",`Logging telemetry for app state change. AppId: ${i.pageInfo.appId}, NewState: ${t.state}`),!qa().disableDebuggingTelemetryToAria&&this.logTelemetryForAppStateChange(i.pageInfo.appId,t.state)}}updateAppRecency(e){const t=this.cachedApps.findIndex((t=>t.pageInfo.appId===e.appId));if(-1!==t){const[e]=this.cachedApps.splice(t,1);this.cachedApps.push(e)}}isAppLoading(e){return e.currentAppState.state===Da.Loading}shouldTriggerUnload(e){var t;const n=this.getCachedApp(e);return!!n&&(!this.isAppLoading(n)&&!!(null===(t=n.loadBootstrapRegistrationState())||void 0===t?void 0:t.beforeUnload))}loadBootstrapRegistrationState(e){const t=this.getCachedApp(e);return t?t.loadBootstrapRegistrationState():void 0}saveBootstrapRegistrationState(e,t){var n;null===(n=this.getCachedApp(e))||void 0===n||n.saveBootstrapRegistrationState(t)}startAppSuspendScenario(e){var t;this.appSuspendOrTerminateScenario=null===(t=this.telemetryService)||void 0===t?void 0:t.createScenario("appSuspend",e)}stopAppSuspendScenario(){var e;null===(e=this.appSuspendOrTerminateScenario)||void 0===e||e.stop(),this.appSuspendOrTerminateScenario=void 0}failAppSuspendScenario(e){var t;null===(t=this.appSuspendOrTerminateScenario)||void 0===t||t.fail(e),this.appSuspendOrTerminateScenario=void 0}}class HA{constructor(e){this.getStorageKey=(e,t)=>`metaos_hub_error_${t.appId}_${t.tid}_${t.uid}_${e}`,this.initializeIdentityContext(e)}initializeIdentityContext(e){return w(this,void 0,void 0,(function*(){this.identityContext=yield this.createIdentityContext(e)}))}getValue(e){if(!this.identityContext)return null;const t=this.getStorageKey(e,this.identityContext);return localStorage.getItem(t)}setValue(e,t){if(!this.identityContext)return;const n=this.getStorageKey(e,this.identityContext);localStorage.setItem(n,t)}createIdentityContext(e){var t,n,r;return w(this,void 0,void 0,(function*(){const i=yield e.getAppContext(),o=e.getAppDefinition(),a=(null===(t=null==i?void 0:i.user)||void 0===t?void 0:t.id)||"",s=(null===(r=null===(n=null==i?void 0:i.user)||void 0===n?void 0:n.tenant)||void 0===r?void 0:r.id)||"";return{appId:(null==o?void 0:o.id)||"",tid:s,uid:a}}))}}const zA={media:["camera","microphone"],geolocation:["geolocation"],midi:["midi"],displayCapture:["display-capture"]},VA=()=>{const e={};return function(t,n){void 0===e[t.id]&&(t.insertCSSRules(n),e[t.id]=!0)}};function UA(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}function jA(e){return e.reduce((function(e,t){var n=t[0],r=t[1];return e[n]=r,e[r]=n,e}),{})}function WA(e){return"number"==typeof e}function $A(e,t){return-1!==e.indexOf(t)}function qA(e,t,n,r){return t+(i=n,0===parseFloat(i)?i:"-"===i[0]?i.slice(1):"-"+i)+r;var i}function GA(e){return e.replace(/ +/g," ").split(" ").map((function(e){return e.trim()})).filter(Boolean).reduce((function(e,t){var n=e.list,r=e.state,i=(t.match(/\(/g)||[]).length,o=(t.match(/\)/g)||[]).length;return r.parensDepth>0?n[n.length-1]=n[n.length-1]+" "+t:n.push(t),r.parensDepth+=i-o,{list:n,state:r}}),{list:[],state:{parensDepth:0}}).list}function KA(e){var t=GA(e);if(t.length<=3||t.length>4)return e;var n=t[0],r=t[1],i=t[2];return[n,t[3],i,r].join(" ")}var YA={padding:function(e){var t=e.value;return WA(t)?t:KA(t)},textShadow:function(e){var t=function(e){for(var t=[],n=0,r=0,i=!1;r<e.length;)i||","!==e[r]?"("===e[r]?(i=!0,r++):")"===e[r]?(i=!1,r++):r++:(t.push(e.substring(n,r).trim()),n=++r);return n!=r&&t.push(e.substring(n,r+1)),t}(e.value).map((function(e){return e.replace(/(^|\s)(-*)([.|\d]+)/,(function(e,t,n,r){return"0"===r?e:t+(""===n?"-":"")+r}))}));return t.join(",")},borderColor:function(e){return KA(e.value)},borderRadius:function(e){var t=e.value;if(WA(t))return t;if($A(t,"/")){var n=t.split("/"),r=n[0],i=n[1];return YA.borderRadius({value:r.trim()})+" / "+YA.borderRadius({value:i.trim()})}var o=GA(t);switch(o.length){case 2:return o.reverse().join(" ");case 4:var a=o[0],s=o[1],l=o[2];return[s,a,o[3],l].join(" ");default:return t}},background:function(e){var t=e.value,n=e.valuesToConvert,r=e.isRtl,i=e.bgImgDirectionRegex,o=e.bgPosDirectionRegex;if(WA(t))return t;var a=t.replace(/(url\(.*?\))|(rgba?\(.*?\))|(hsl\(.*?\))|(#[a-fA-F0-9]+)|((^| )(\D)+( |$))/g,"").trim();return t=t.replace(a,YA.backgroundPosition({value:a,valuesToConvert:n,isRtl:r,bgPosDirectionRegex:o})),YA.backgroundImage({value:t,valuesToConvert:n,bgImgDirectionRegex:i})},backgroundImage:function(e){var t=e.value,n=e.valuesToConvert,r=e.bgImgDirectionRegex;return $A(t,"url(")||$A(t,"linear-gradient(")?t.replace(r,(function(e,t,r){return e.replace(r,n[r])})):t},backgroundPosition:function(e){var t=e.value,n=e.valuesToConvert,r=e.isRtl,i=e.bgPosDirectionRegex;return t.replace(r?/^((-|\d|\.)+%)/:null,(function(e,t){return function(e){var t=e.indexOf(".");if(-1===t)e=100-parseFloat(e)+"%";else{var n=e.length-t-2;e=(e=100-parseFloat(e)).toFixed(n)+"%"}return e}(t)})).replace(i,(function(e){return n[e]}))},backgroundPositionX:function(e){var t=e.value,n=e.valuesToConvert,r=e.isRtl,i=e.bgPosDirectionRegex;return WA(t)?t:YA.backgroundPosition({value:t,valuesToConvert:n,isRtl:r,bgPosDirectionRegex:i})},transition:function(e){var t=e.value,n=e.propertiesToConvert;return t.split(/,\s*/g).map((function(e){var t=e.split(" ");return t[0]=n[t[0]]||t[0],t.join(" ")})).join(", ")},transitionProperty:function(e){var t=e.value,n=e.propertiesToConvert;return t.split(/,\s*/g).map((function(e){return n[e]||e})).join(", ")},transform:function(e){var t=e.value,n="[^\\u0020-\\u007e]",r="(?:(?:(?:\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",i="((?:-?(?:[0-9]*\\.[0-9]+|[0-9]+)(?:\\s*(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)|-?(?:[_a-z]|"+n+"|"+r+")(?:[_a-z0-9-]|"+n+"|"+r+")*)?)|(?:inherit|auto))",o=new RegExp("(translateX\\s*\\(\\s*)"+i+"(\\s*\\))","gi"),a=new RegExp("(translate\\s*\\(\\s*)"+i+"((?:\\s*,\\s*"+i+"){0,1}\\s*\\))","gi"),s=new RegExp("(translate3d\\s*\\(\\s*)"+i+"((?:\\s*,\\s*"+i+"){0,2}\\s*\\))","gi"),l=new RegExp("(rotate[ZY]?\\s*\\(\\s*)"+i+"(\\s*\\))","gi");return t.replace(o,qA).replace(a,qA).replace(s,qA).replace(l,qA)}};YA.objectPosition=YA.backgroundPosition,YA.margin=YA.padding,YA.borderWidth=YA.padding,YA.boxShadow=YA.textShadow,YA.webkitBoxShadow=YA.boxShadow,YA.mozBoxShadow=YA.boxShadow,YA.WebkitBoxShadow=YA.boxShadow,YA.MozBoxShadow=YA.boxShadow,YA.borderStyle=YA.borderColor,YA.webkitTransform=YA.transform,YA.mozTransform=YA.transform,YA.WebkitTransform=YA.transform,YA.MozTransform=YA.transform,YA.transformOrigin=YA.backgroundPosition,YA.webkitTransformOrigin=YA.transformOrigin,YA.mozTransformOrigin=YA.transformOrigin,YA.WebkitTransformOrigin=YA.transformOrigin,YA.MozTransformOrigin=YA.transformOrigin,YA.webkitTransition=YA.transition,YA.mozTransition=YA.transition,YA.WebkitTransition=YA.transition,YA.MozTransition=YA.transition,YA.webkitTransitionProperty=YA.transitionProperty,YA.mozTransitionProperty=YA.transitionProperty,YA.WebkitTransitionProperty=YA.transitionProperty,YA.MozTransitionProperty=YA.transitionProperty,YA["text-shadow"]=YA.textShadow,YA["border-color"]=YA.borderColor,YA["border-radius"]=YA.borderRadius,YA["background-image"]=YA.backgroundImage,YA["background-position"]=YA.backgroundPosition,YA["background-position-x"]=YA.backgroundPositionX,YA["object-position"]=YA.objectPosition,YA["border-width"]=YA.padding,YA["box-shadow"]=YA.textShadow,YA["-webkit-box-shadow"]=YA.textShadow,YA["-moz-box-shadow"]=YA.textShadow,YA["border-style"]=YA.borderColor,YA["-webkit-transform"]=YA.transform,YA["-moz-transform"]=YA.transform,YA["transform-origin"]=YA.transformOrigin,YA["-webkit-transform-origin"]=YA.transformOrigin,YA["-moz-transform-origin"]=YA.transformOrigin,YA["-webkit-transition"]=YA.transition,YA["-moz-transition"]=YA.transition,YA["transition-property"]=YA.transitionProperty,YA["-webkit-transition-property"]=YA.transitionProperty,YA["-moz-transition-property"]=YA.transitionProperty;var XA=jA([["paddingLeft","paddingRight"],["marginLeft","marginRight"],["left","right"],["borderLeft","borderRight"],["borderLeftColor","borderRightColor"],["borderLeftStyle","borderRightStyle"],["borderLeftWidth","borderRightWidth"],["borderTopLeftRadius","borderTopRightRadius"],["borderBottomLeftRadius","borderBottomRightRadius"],["padding-left","padding-right"],["margin-left","margin-right"],["border-left","border-right"],["border-left-color","border-right-color"],["border-left-style","border-right-style"],["border-left-width","border-right-width"],["border-top-left-radius","border-top-right-radius"],["border-bottom-left-radius","border-bottom-right-radius"]]),ZA=["content"],JA=jA([["ltr","rtl"],["left","right"],["w-resize","e-resize"],["sw-resize","se-resize"],["nw-resize","ne-resize"]]),QA=new RegExp("(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)","g"),eS=new RegExp("(left)|(right)");function tS(e){return Object.keys(e).reduce((function(t,n){var r=e[n];if("string"==typeof r&&(r=r.trim()),$A(ZA,n))return t[n]=r,t;var i=nS(n,r),o=i.key,a=i.value;return t[o]=a,t}),Array.isArray(e)?[]:{})}function nS(e,t){var n,r=/\/\*\s?@noflip\s?\*\//.test(t),i=r?e:XA[n=e]||n,o=r?t:function(e,t){if(!function(e){return!("boolean"==typeof e||function(e){return null==e}(e))}(t))return t;if((n=t)&&"object"==typeof n)return tS(t);var n,r,i=WA(t),o=function(e){return"function"==typeof e}(t),a=i||o?t:t.replace(/ !important.*?$/,""),s=!i&&a.length!==t.length,l=YA[e];return r=l?l({value:a,valuesToConvert:JA,propertiesToConvert:XA,isRtl:!0,bgImgDirectionRegex:QA,bgPosDirectionRegex:eS}):JA[a]||a,s?r+" !important":r}(i,t);return{key:i,value:o}}const rS="undefined"==typeof window?i.g:window,iS="@griffel/";function oS(e,t){return rS[Symbol.for(iS+e)]||(rS[Symbol.for(iS+e)]=t),rS[Symbol.for(iS+e)]}const aS=oS("DEFINITION_LOOKUP_TABLE",{}),sS="data-make-styles-bucket",lS={all:1,borderColor:1,borderStyle:1,borderWidth:1,borderBlock:1,borderBlockEnd:1,borderBlockStart:1,borderInline:1,borderInlineEnd:1,borderInlineStart:1},cS="DO_NOT_USE_DIRECTLY: @griffel/reset-value",uS=/[A-Z]/g,dS=/^ms-/,pS={};function hS(e){return"-"+e.toLowerCase()}function fS(e){if(Object.prototype.hasOwnProperty.call(pS,e))return pS[e];if("--"===e.substr(0,2))return e;const t=e.replace(uS,hS);return pS[e]=dS.test(t)?"-"+t:t}function mS(e){return"&"===e.charAt(0)?e.slice(1):e}var gS="-moz-",vS="-webkit-",yS="comm",bS="rule",CS="decl",AS="@layer",SS=Math.abs,ES=String.fromCharCode,wS=Object.assign;function xS(e){return e.trim()}function IS(e,t){return(e=t.exec(e))?e[0]:e}function kS(e,t,n){return e.replace(t,n)}function TS(e,t,n){return e.indexOf(t,n)}function _S(e,t){return 0|e.charCodeAt(t)}function PS(e,t,n){return e.slice(t,n)}function DS(e){return e.length}function BS(e){return e.length}function RS(e,t){return t.push(e),e}function MS(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function LS(e,t,n,r){switch(e.type){case AS:if(e.children.length)break;case"@import":case"@namespace":case CS:return e.return=e.return||e.value;case yS:return"";case"@keyframes":return e.return=e.value+"{"+MS(e.children,r)+"}";case bS:if(!DS(e.value=e.props.join(",")))return""}return DS(n=MS(e.children,r))?e.return=e.value+"{"+n+"}":""}var OS=1,FS=1,NS=0,HS=0,zS=0,VS="";function US(e,t,n,r,i,o,a,s){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:OS,column:FS,length:a,return:"",siblings:s}}function jS(e,t){return wS(US("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function WS(){return zS=HS>0?_S(VS,--HS):0,FS--,10===zS&&(FS=1,OS--),zS}function $S(){return zS=HS<NS?_S(VS,HS++):0,FS++,10===zS&&(FS=1,OS++),zS}function qS(){return _S(VS,HS)}function GS(){return HS}function KS(e,t){return PS(VS,e,t)}function YS(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function XS(e){return OS=FS=1,NS=DS(VS=e),HS=0,[]}function ZS(e){return VS="",e}function JS(e){return xS(KS(HS-1,tE(91===e?e+2:40===e?e+1:e)))}function QS(e){for(;(zS=qS())&&zS<33;)$S();return YS(e)>2||YS(zS)>3?"":" "}function eE(e,t){for(;--t&&$S()&&!(zS<48||zS>102||zS>57&&zS<65||zS>70&&zS<97););return KS(e,GS()+(t<6&&32==qS()&&32==$S()))}function tE(e){for(;$S();)switch(zS){case e:return HS;case 34:case 39:34!==e&&39!==e&&tE(zS);break;case 40:41===e&&tE(e);break;case 92:$S()}return HS}function nE(e,t){for(;$S()&&e+zS!==57&&(e+zS!==84||47!==qS()););return"/*"+KS(t,HS-1)+"*"+ES(47===e?e:$S())}function rE(e){for(;!YS(qS());)$S();return KS(e,HS)}function iE(e){return ZS(oE("",null,null,null,[""],e=XS(e),0,[0],e))}function oE(e,t,n,r,i,o,a,s,l){for(var c=0,u=0,d=a,p=0,h=0,f=0,m=1,g=1,v=1,y=0,b="",C=i,A=o,S=r,E=b;g;)switch(f=y,y=$S()){case 40:if(108!=f&&58==_S(E,d-1)){-1!=TS(E+=kS(JS(y),"&","&\f"),"&\f",SS(c?s[c-1]:0))&&(v=-1);break}case 34:case 39:case 91:E+=JS(y);break;case 9:case 10:case 13:case 32:E+=QS(f);break;case 92:E+=eE(GS()-1,7);continue;case 47:switch(qS()){case 42:case 47:RS(sE(nE($S(),GS()),t,n,l),l),5!=YS(f||1)&&5!=YS(qS()||1)||!DS(E)||" "===PS(E,-1,void 0)||(E+=" ");break;default:E+="/"}break;case 123*m:s[c++]=DS(E)*v;case 125*m:case 59:case 0:switch(y){case 0:case 125:g=0;case 59+u:-1==v&&(E=kS(E,/\f/g,"")),h>0&&(DS(E)-d||0===m&&47===f)&&RS(h>32?lE(E+";",r,n,d-1,l):lE(kS(E," ","")+";",r,n,d-2,l),l);break;case 59:E+=";";default:if(RS(S=aE(E,t,n,c,u,i,s,b,C=[],A=[],d,o),o),123===y)if(0===u)oE(E,t,S,S,C,o,d,s,A);else{switch(p){case 99:if(110===_S(E,3))break;case 108:if(97===_S(E,2))break;default:u=0;case 100:case 109:case 115:}u?oE(e,S,S,r&&RS(aE(e,S,S,0,0,i,s,b,i,C=[],d,A),A),i,A,d,s,r?C:A):oE(E,S,S,S,[""],A,0,s,A)}}c=u=h=0,m=v=1,b=E="",d=a;break;case 58:d=1+DS(E),h=f;default:if(m<1)if(123==y)--m;else if(125==y&&0==m++&&125==WS())continue;switch(E+=ES(y),y*m){case 38:v=u>0?1:(E+="\f",-1);break;case 44:s[c++]=(DS(E)-1)*v,v=1;break;case 64:45===qS()&&(E+=JS($S())),p=qS(),u=d=DS(b=E+=rE(GS())),y++;break;case 45:45===f&&2==DS(E)&&(m=0)}}return o}function aE(e,t,n,r,i,o,a,s,l,c,u,d){for(var p=i-1,h=0===i?o:[""],f=BS(h),m=0,g=0,v=0;m<r;++m)for(var y=0,b=PS(e,p+1,p=SS(g=a[m])),C=e;y<f;++y)(C=xS(g>0?h[y]+" "+b:kS(b,/&\f/g,h[y])))&&(l[v++]=C);return US(e,t,n,0===i?bS:s,l,c,u,d)}function sE(e,t,n,r){return US(e,t,n,yS,ES(zS),PS(e,2,-2),0,r)}function lE(e,t,n,r,i){return US(e,t,n,CS,PS(e,0,r),PS(e,r+1,-1),r,i)}function cE(e){var t=BS(e);return function(n,r,i,o){for(var a="",s=0;s<t;s++)a+=e[s](n,r,i,o)||"";return a}}function uE(e){return function(t){t.root||(t=t.return)&&e(t)}}const dE=e=>{if(e.type===bS){if("string"==typeof e.props)return;e.props=e.props.map((e=>-1===e.indexOf(":global(")?e:function(e){return ZS(function(e){for(;$S();)switch(YS(zS)){case 0:RS(rE(HS-1),e);break;case 2:RS(JS(zS),e);break;default:RS(ES(zS),e)}return e}(XS(e)))}(e).reduce(((e,t,n,r)=>{if(""===t)return e;if(":"===t&&"global"===r[n+1]){const t=r[n+2].slice(1,-1)+" ";return e.unshift(t),r[n+1]="",r[n+2]="",e}return e.push(t),e}),[]).join("")))}};function pE(e,t,n){switch(function(e,t){return 45^_S(e,0)?(((t<<2^_S(e,0))<<2^_S(e,1))<<2^_S(e,2))<<2^_S(e,3):0}(e,t)){case 5103:return vS+"print-"+e+e;case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:return vS+e+e;case 4215:if(102===_S(e,9))return vS+e+e;if(116===_S(e,t+1))return vS+e+e;break;case 4789:return gS+e+e;case 5349:case 4246:case 6968:return vS+e+gS+e+e;case 6187:if(!IS(e,/grab/))return kS(kS(kS(e,/(zoom-|grab)/,vS+"$1"),/(image-set)/,vS+"$1"),e,"")+e;case 5495:case 3959:return kS(e,/(image-set\([^]*)/,vS+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return kS(e,/(.+)-inline(.+)/,vS+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(DS(e)-1-t>6)switch(_S(e,t+1)){case 102:if(108===_S(e,t+3))return kS(e,/(.+:)(.+)-([^]+)/,"$1"+vS+"$2-$3$1"+gS+(108==_S(e,t+3)?"$3":"$2-$3"))+e;case 115:return~TS(e,"stretch")?pE(kS(e,"stretch","fill-available"),t)+e:e}}return e}function hE(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case CS:return void(e.return=pE(e.value,e.length));case bS:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(IS(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return MS([jS(e,{props:[kS(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return MS([jS(e,{props:[kS(t,/:(plac\w+)/,":"+vS+"input-$1")]}),jS(e,{props:[kS(t,/:(plac\w+)/,":-moz-$1")]})],r)}return""}))}}const fE=e=>{(function(e){switch(e.type){case"@container":case"@media":case"@supports":case AS:return!0}return!1})(e)&&Array.isArray(e.children)&&e.children.sort(((e,t)=>e.props[0]>t.props[0]?1:-1))};const mE=/,( *[^ &])/g;function gE(e,t,n){let r=t;return n.length>0&&(r=n.reduceRight(((e,t)=>{return`${n=t,"&"+mS(n.replace(mE,",&$1"))} { ${e} }`;var n}),t)),`${e}{${r}}`}function vE(e,t){const{className:n,selectors:r,property:i,rtlClassName:o,rtlProperty:a,rtlValue:s,value:l}=e,{container:c,layer:u,media:d,supports:p}=t;let h=gE(`.${n}`,Array.isArray(l)?`${l.map((e=>`${fS(i)}: ${e}`)).join(";")};`:`${fS(i)}: ${l};`,r);return a&&o&&(h+=gE(`.${o}`,Array.isArray(s)?`${s.map((e=>`${fS(a)}: ${e}`)).join(";")};`:`${fS(a)}: ${s};`,r)),d&&(h=`@media ${d} { ${h} }`),u&&(h=`@layer ${u} { ${h} }`),p&&(h=`@supports ${p} { ${h} }`),c&&(h=`@container ${c} { ${h} }`),function(e){const t=[];return MS(iE(e),cE([dE,fE,hE,LS,uE((e=>t.push(e)))])),t}(h)}function yE(e){let t="";for(const n in e){const r=e[n];if("string"!=typeof r&&"number"!=typeof r){if(Array.isArray(r))for(const e of r)t+=fS(n)+":"+e+";"}else t+=fS(n)+":"+r+";"}return t}function bE(e){let t="";for(const n in e)t+=`${n}{${yE(e[n])}}`;return t}function CE(e,t){const n=[];return MS(iE(`@keyframes ${e} {${t}}`),cE([LS,hE,uE((e=>n.push(e)))])),n}const AE={animation:[-1,["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimeline","animationTimingFunction"]],animationRange:[-1,["animationRangeEnd","animationRangeStart"]],background:[-2,["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPosition","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"]],backgroundPosition:[-1,["backgroundPositionX","backgroundPositionY"]],border:[-2,["borderBottom","borderBottomColor","borderBottomStyle","borderBottomWidth","borderLeft","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRight","borderRightColor","borderRightStyle","borderRightWidth","borderTop","borderTopColor","borderTopStyle","borderTopWidth"]],borderBottom:[-1,["borderBottomColor","borderBottomStyle","borderBottomWidth"]],borderImage:[-1,["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"]],borderLeft:[-1,["borderLeftColor","borderLeftStyle","borderLeftWidth"]],borderRadius:[-1,["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"]],borderRight:[-1,["borderRightColor","borderRightStyle","borderRightWidth"]],borderTop:[-1,["borderTopColor","borderTopStyle","borderTopWidth"]],caret:[-1,["caretColor","caretShape"]],columnRule:[-1,["columnRuleColor","columnRuleStyle","columnRuleWidth"]],columns:[-1,["columnCount","columnWidth"]],containIntrinsicSize:[-1,["containIntrinsicHeight","containIntrinsicWidth"]],container:[-1,["containerName","containerType"]],flex:[-1,["flexBasis","flexGrow","flexShrink"]],flexFlow:[-1,["flexDirection","flexWrap"]],font:[-1,["fontFamily","fontSize","fontStretch","fontStyle","fontVariant","fontWeight","lineHeight"]],gap:[-1,["columnGap","rowGap"]],grid:[-1,["columnGap","gridAutoColumns","gridAutoFlow","gridAutoRows","gridColumnGap","gridRowGap","gridTemplateAreas","gridTemplateColumns","gridTemplateRows","rowGap"]],gridArea:[-1,["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"]],gridColumn:[-1,["gridColumnEnd","gridColumnStart"]],gridRow:[-1,["gridRowEnd","gridRowStart"]],gridTemplate:[-1,["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"]],inset:[-1,["bottom","left","right","top"]],insetBlock:[-1,["insetBlockEnd","insetBlockStart"]],insetInline:[-1,["insetInlineEnd","insetInlineStart"]],listStyle:[-1,["listStyleImage","listStylePosition","listStyleType"]],margin:[-1,["marginBottom","marginLeft","marginRight","marginTop"]],marginBlock:[-1,["marginBlockEnd","marginBlockStart"]],marginInline:[-1,["marginInlineEnd","marginInlineStart"]],mask:[-1,["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPosition","maskRepeat","maskSize"]],maskBorder:[-1,["maskBorderMode","maskBorderOutset","maskBorderRepeat","maskBorderSlice","maskBorderSource","maskBorderWidth"]],offset:[-1,["offsetAnchor","offsetDistance","offsetPath","offsetPosition","offsetRotate"]],outline:[-1,["outlineColor","outlineStyle","outlineWidth"]],overflow:[-1,["overflowX","overflowY"]],overscrollBehavior:[-1,["overscrollBehaviorX","overscrollBehaviorY"]],padding:[-1,["paddingBottom","paddingLeft","paddingRight","paddingTop"]],paddingBlock:[-1,["paddingBlockEnd","paddingBlockStart"]],paddingInline:[-1,["paddingInlineEnd","paddingInlineStart"]],placeContent:[-1,["alignContent","justifyContent"]],placeItems:[-1,["alignItems","justifyItems"]],placeSelf:[-1,["alignSelf","justifySelf"]],scrollMargin:[-1,["scrollMarginBottom","scrollMarginLeft","scrollMarginRight","scrollMarginTop"]],scrollMarginBlock:[-1,["scrollMarginBlockEnd","scrollMarginBlockStart"]],scrollMarginInline:[-1,["scrollMarginInlineEnd","scrollMarginInlineStart"]],scrollPadding:[-1,["scrollPaddingBottom","scrollPaddingLeft","scrollPaddingRight","scrollPaddingTop"]],scrollPaddingBlock:[-1,["scrollPaddingBlockEnd","scrollPaddingBlockStart"]],scrollPaddingInline:[-1,["scrollPaddingInlineEnd","scrollPaddingInlineStart"]],scrollTimeline:[-1,["scrollTimelineAxis","scrollTimelineName"]],textDecoration:[-1,["textDecorationColor","textDecorationLine","textDecorationStyle","textDecorationThickness"]],textEmphasis:[-1,["textEmphasisColor","textEmphasisStyle"]],transition:[-1,["transitionBehavior","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"]],viewTimeline:[-1,["viewTimelineAxis","viewTimelineName"]]};function SE(e,t){return 0===e.length?t:`${e} and ${t}`}function EE(e){return"@media"===e.substr(0,6)}function wE(e){return"@layer"===e.substr(0,6)}const xE=/^(:|\[|>|&)/;function IE(e){return xE.test(e)}function kE(e){return"@supports"===e.substr(0,9)}function TE(e){return"@container"===e.substring(0,10)}const _E={"us-w":"w","us-v":"i",nk:"l",si:"v",cu:"f",ve:"h",ti:"a"};function PE(e,t){if(t.media)return"m";if(t.layer||t.supports)return"t";if(t.container)return"c";if(e.length>0){const t=e[0].trim();if(58===t.charCodeAt(0))return _E[t.slice(4,8)]||_E[t.slice(3,5)]||"d"}return"d"}function DE(e,t){return e?t+e:e}function BE(e){return DE(e.container,"c")+DE(e.media,"m")+DE(e.layer,"l")+DE(e.supports,"s")}function RE(e,t,n){const r=UA(e+BE(n)+t),i=r.charCodeAt(0);return i>=48&&i<=57?String.fromCharCode(i+17)+r.slice(1):r}function ME({property:e,selector:t,salt:n,value:r},i){return"f"+UA(n+t+BE(i)+e+r.trim())}function LE(e){return e===cS}function OE(e){return e.replace(/>\s+/g,">")}function FE(e){return AE[e]}function NE(e){var t;return null!==(t=null==e?void 0:e[0])&&void 0!==t?t:0}function HE(e,t,n,r){e[t]=r?[n,r]:n}function zE(e,t){return t.length>0?[e,Object.fromEntries(t)]:e}function VE(e,t,n,r,i,o){var a;const s=[];0!==o&&s.push(["p",o]),"m"===t&&i&&s.push(["m",i]),null!==(a=e[t])&&void 0!==a||(e[t]=[]),n&&e[t].push(zE(n,s)),r&&e[t].push(zE(r,s))}function UE(e,t="",n=[],r={container:"",layer:"",media:"",supports:""},i={},o={},a){for(const l in e){if(lS.hasOwnProperty(l)){e[l];continue}const c=e[l];if(null!=c)if(LE(c))HE(i,RE(OE(n.join("")),l,r),0,void 0);else if("string"==typeof c||"number"==typeof c){const e=OE(n.join("")),s=FE(l);if(s){const e=s[1],a=Object.fromEntries(e.map((e=>[e,cS])));UE(a,t,n,r,i,o)}const u=RE(e,l,r),d=ME({value:c.toString(),salt:t,selector:e,property:l},r),p=a&&{key:l,value:a}||nS(l,c),h=p.key!==l||p.value!==c,f=h?ME({value:p.value.toString(),property:p.key,salt:t,selector:e},r):void 0,m=h?{rtlClassName:f,rtlProperty:p.key,rtlValue:p.value}:void 0,g=PE(n,r),[v,y]=vE(Object.assign({className:d,selectors:n,property:l,value:c},m),r);HE(i,u,d,f),VE(o,g,v,y,r.media,NE(s))}else if("animationName"===l){const e=Array.isArray(c)?c:[c],a=[],s=[];for(const t of e){const e=bE(t),n=bE(tS(t)),i="f"+UA(e);let l;const c=CE(i,e);let u=[];e===n?l=i:(l="f"+UA(n),u=CE(l,n));for(let e=0;e<c.length;e++)VE(o,"k",c[e],u[e],r.media,0);a.push(i),s.push(l)}UE({animationName:a.join(", ")},t,n,r,i,o,s.join(", "))}else if(Array.isArray(c)){if(0===c.length)continue;const e=OE(n.join("")),a=FE(l);if(a){const e=a[1],s=Object.fromEntries(e.map((e=>[e,cS])));UE(s,t,n,r,i,o)}const s=RE(e,l,r),u=ME({value:c.map((e=>(null!=e?e:"").toString())).join(";"),salt:t,selector:e,property:l},r),d=c.map((e=>nS(l,e)));if(d.some((e=>e.key!==d[0].key)))continue;const p=d[0].key!==l||d.some(((e,t)=>e.value!==c[t])),h=p?ME({value:d.map((e=>{var t;return(null!==(t=null==e?void 0:e.value)&&void 0!==t?t:"").toString()})).join(";"),salt:t,property:d[0].key,selector:e},r):void 0,f=p?{rtlClassName:h,rtlProperty:d[0].key,rtlValue:d.map((e=>e.value))}:void 0,m=PE(n,r),[g,v]=vE(Object.assign({className:u,selectors:n,property:l,value:c},f),r);HE(i,s,u,h),VE(o,m,g,v,r.media,NE(a))}else if(null!=(s=c)&&"object"==typeof s&&!1===Array.isArray(s))if(IE(l))UE(c,t,n.concat(mS(l)),r,i,o);else if(EE(l)){const e=SE(r.media,l.slice(6).trim());UE(c,t,n,Object.assign({},r,{media:e}),i,o)}else if(wE(l)){const e=(r.layer?`${r.layer}.`:"")+l.slice(6).trim();UE(c,t,n,Object.assign({},r,{layer:e}),i,o)}else if(kE(l)){const e=SE(r.supports,l.slice(9).trim());UE(c,t,n,Object.assign({},r,{supports:e}),i,o)}else if(TE(l)){const e=l.slice(10).trim();UE(c,t,n,Object.assign({},r,{container:e}),i,o)}}var s;return[i,o]}function jE(e,t,n=[]){return"___"+function(e){const t=e.length;if(7===t)return e;for(let n=t;n<7;n++)e+="0";return e}(UA(e+t))}function WE(e,t){let n="",r="";for(const i in e){const o=e[i];if(0===o){r+=i+" ";continue}const a=Array.isArray(o),s="rtl"===t?(a?o[1]:o)+" ":(a?o[0]:o)+" ";n+=s,r+=s}return[n.slice(0,-1),r.slice(0,-1)]}function $E(e,t){const n={};for(const r in e){const[i,o]=WE(e[r],t);if(""===o){n[r]="";continue}const a=jE(o,t),s=a+(""===i?"":" "+i);aS[a]=[e[r],t],n[r]=s}return n}const qE=c.useInsertionEffect?c.useInsertionEffect:void 0,GE=()=>{const e={};return function(t,n){qE&&"undefined"!=typeof window&&window.document&&window.document.createElement?qE((()=>{t.insertCSSRules(n)}),[t,n]):void 0===e[t.id]&&(t.insertCSSRules(n),e[t.id]=!0)}};const KE=["r","d","l","v","w","f","i","h","a","s","k","t","m","c"].reduce(((e,t,n)=>(e[t]=n,e)),{});function YE(e,t,n,r,i={}){var o,a;const s="m"===e,l=null!==(o=i.m)&&void 0!==o?o:"0",c=null!==(a=i.p)&&void 0!==a?a:0,u=function(e,t,n){return("m"===e?e+t:e)+n}(e,l,c);if(!r.stylesheets[u]){const o=t&&t.createElement("style"),a=function(e,t,n,r){const i=[];if(r[sS]=t,r["data-priority"]=String(n),e)for(const t in r)e.setAttribute(t,r[t]);return{elementAttributes:r,insertRule:function(t){return(null==e?void 0:e.sheet)?e.sheet.insertRule(t,e.sheet.cssRules.length):i.push(t)},element:e,bucketName:t,cssRules:()=>(null==e?void 0:e.sheet)?Array.from(e.sheet.cssRules).map((e=>e.cssText)):i}}(o,e,c,Object.assign({},r.styleElementAttributes,s&&{media:l}));r.stylesheets[u]=a,t&&o&&t.head.insertBefore(o,function(e,t,n,r,i={}){var o,a;const s=KE[n],l=null!==(o=i.m)&&void 0!==o?o:"",c=null!==(a=i.p)&&void 0!==a?a:0;let u=e=>s-KE[e.getAttribute(sS)],d=e.head.querySelectorAll(`[${sS}]`);if("m"===n){const t=e.head.querySelectorAll(`[${sS}="${n}"]`);t.length&&(d=t,u=e=>r.compareMediaQueries(l,e.media))}const p=d.length;let h=p-1;for(;h>=0;){const e=d.item(h);if((function(e,t,n){var r,i;return t+(null!==(r=n.m)&&void 0!==r?r:"")===e.getAttribute(sS)+(null!==(i=e.media)&&void 0!==i?i:"")}(f=e,n,i)?c-Number(f.getAttribute("data-priority")):u(f))>0)return e.nextSibling;h--}var f;return p>0?d.item(0):t?t.nextSibling:null}(t,n,e,r,i))}return r.stylesheets[u]}function XE(e,t){try{e.insertRule(t)}catch(e){}}let ZE=0;const JE=(e,t)=>e<t?-1:e>t?1:0;function QE(e=("undefined"==typeof document?void 0:document),t={}){const{classNameHashSalt:n,unstable_filterCSSRule:r,insertionPoint:i,styleElementAttributes:o,compareMediaQueries:a=JE}=t,s={classNameHashSalt:n,insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(o),compareMediaQueries:a,id:"d"+ZE++,insertCSSRules(t){for(const o in t){const a=t[o];for(let t=0,l=a.length;t<l;t++){const[l,c]=(n=a[t],Array.isArray(n)?n:[n]),u=YE(o,e,i||null,s,c);s.insertionCache[l]||(s.insertionCache[l]=o,r?r(l)&&XE(u,l):XE(u,l))}}var n}};return s}const ew=l.createContext(QE());function tw(){return l.useContext(ew)}const nw=l.createContext("ltr"),rw=({children:e,dir:t})=>l.createElement(nw.Provider,{value:t},e);function iw(){return l.useContext(nw)}function ow(e){const t=function(e,t=VA){const n=t();let r=null,i=null,o=null,a=null;return function(t){const{dir:s,renderer:l}=t;null===r&&([r,i]=function(e,t=""){const n={},r={};for(const i in e){const o=e[i],[a,s]=UE(o,t);n[i]=a,Object.keys(s).forEach((e=>{r[e]=(r[e]||[]).concat(s[e])}))}return[n,r]}(e,l.classNameHashSalt));const c="ltr"===s;return c?null===o&&(o=$E(r,s)):null===a&&(a=$E(r,s)),n(l,i),c?o:a}}(e,GE);return function(){const e=iw(),n=tw();return t({dir:e,renderer:n})}}const aw=l.createContext(void 0),sw=()=>{},lw=aw.Provider,cw=e=>{var t,n;return null!==(n=null===(t=l.useContext(aw))||void 0===t?void 0:t[e])&&void 0!==n?n:sw},uw=Symbol.for("fui.slotRenderFunction"),dw=Symbol.for("fui.slotElementType");function pw(e,t){const{defaultProps:n,elementType:r}=t,i=function(e){return"string"==typeof e||"number"==typeof e||Array.isArray(e)||l.isValidElement(e)?{children:e}:e}(e),o={...n,...i,[dw]:r};return i&&"function"==typeof i.children&&(o[uw]=i.children,o.children=null==n?void 0:n.children),o}function hw(e,t){if(null!==e&&(void 0!==e||t.renderByDefault))return pw(e,t)}const fw=(...e)=>{const t={};for(const n of e){const e=Array.isArray(n)?n:Object.keys(n);for(const n of e)t[n]=1}return t},mw=fw(["onAuxClick","onAnimationEnd","onAnimationStart","onCopy","onCut","onPaste","onCompositionEnd","onCompositionStart","onCompositionUpdate","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onInput","onSubmit","onLoad","onError","onKeyDown","onKeyDownCapture","onKeyPress","onKeyUp","onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting","onClick","onClickCapture","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onMouseUpCapture","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onScroll","onWheel","onPointerCancel","onPointerDown","onPointerEnter","onPointerLeave","onPointerMove","onPointerOut","onPointerOver","onPointerUp","onGotPointerCapture","onLostPointerCapture"]),gw=fw(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","ref","role","style","tabIndex","title","translate","spellCheck","name"]),vw=fw(["itemID","itemProp","itemRef","itemScope","itemType"]),yw=fw(gw,mw,vw),bw=fw(yw,["form"]),Cw=fw(yw,["height","loop","muted","preload","src","width"]),Aw=fw(Cw,["poster"]),Sw=fw(yw,["start"]),Ew=fw(yw,["value"]),ww=fw(yw,["download","href","hrefLang","media","rel","target","type"]),xw=fw(yw,["dateTime"]),Iw=fw(yw,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]),kw={label:bw,audio:Cw,video:Aw,ol:Sw,li:Ew,a:ww,button:Iw,input:fw(Iw,["accept","alt","autoCorrect","autoCapitalize","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","minLength","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),textarea:fw(Iw,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),select:fw(Iw,["form","multiple","required"]),option:fw(yw,["selected","value"]),table:fw(yw,["cellPadding","cellSpacing"]),tr:yw,th:fw(yw,["colSpan","rowSpan","scope"]),td:fw(yw,["colSpan","headers","rowSpan","scope"]),colGroup:fw(yw,["span"]),col:fw(yw,["span"]),fieldset:fw(yw,["disabled","form"]),form:fw(yw,["acceptCharset","action","encType","encType","method","noValidate","target"]),iframe:fw(yw,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),img:fw(yw,["alt","crossOrigin","height","src","srcSet","useMap","width"]),time:xw,dialog:fw(yw,["open","onCancel","onClose"])};const Tw=(e,t,n)=>{var r;return function(e,t,n){const r=e&&kw[e]||yw;return r.as=1,function(e,t,n){const r=Array.isArray(t),i={},o=Object.keys(e);for(const a of o)!(!r&&t[a]||r&&t.indexOf(a)>=0||0===a.indexOf("data-")||0===a.indexOf("aria-"))||n&&-1!==(null==n?void 0:n.indexOf(a))||(i[a]=e[a]);return i}(t,r,n)}(null!==(r=t.as)&&void 0!==r?r:e,t,n)};function _w(e){return Boolean(null==e?void 0:e.hasOwnProperty(dw))}var Pw=i(8529);function Dw(e,t){return function(n,r,i,o,a){return _w(r)?t(function(e,t){return{...t,[dw]:e}}(n,r),null,i,o,a):_w(n)?t(n,r,i,o,a):e(n,r,i,o,a)}}function Bw(e){const{as:t,[dw]:n,[uw]:r,...i}=e,o=i,a="string"==typeof n&&null!=t?t:n;return"string"!=typeof a&&t&&(o.as=t),{elementType:a,props:o,renderFunction:r}}const Rw=s,Mw=Dw(Rw.jsx,((e,t,n)=>{const{elementType:r,renderFunction:i,props:o}=Bw(e),a={...o,...t};return i?Rw.jsx(l.Fragment,{children:i(r,a)},n):Rw.jsx(r,a,n)})),Lw=Dw(Rw.jsxs,((e,t,n)=>{const{elementType:r,renderFunction:i,props:o}=Bw(e),a={...o,...t};return i?Rw.jsx(l.Fragment,{children:i(r,{...a,children:Rw.jsxs(l.Fragment,{children:a.children},void 0)})},n):Rw.jsxs(r,a,n)}));function Ow(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fw(e,t){const n=function(e,t){function n(n){return n in t?t[n]:e[n]}const r={};let i=[];for(const n in e)n in t?i.length&&(r[n]=i,i=[]):i.push(n);const o={};for(const e in t){if(r[e])for(const t of r[e])o[t]=n(t);o[e]=n(e)}for(const e of i)o[e]=n(e);return o}(e,t);return Object.entries(n).forEach((([r,i])=>{if(r in t)return r in e?void(n[r]={...i}):void(n[r]={...i,appear:!0,visible:!0});n[r]={...i,visible:!1}})),n}function Nw(e){const t={};return e&&l.Children.toArray(e).forEach((e=>{var n;l.isValidElement(e)&&(t[null!==(n=e.key)&&void 0!==n?n:""]={appear:!1,element:e,visible:!0,unmountOnExit:!0})})),t}const Hw=l.createContext(void 0),zw=e=>{const{appear:t,childKey:n,onExit:r,visible:i,unmountOnExit:o}=e,a=l.useMemo((()=>({appear:t,visible:i,onExit:()=>r(n),unmountOnExit:o})),[t,n,r,i,o]);return l.createElement(Hw.Provider,{value:a},e.children)};class Vw extends l.Component{static getDerivedStateFromProps(e,{childMapping:t,firstRender:n}){const r=Nw(e.children);return{childMapping:n?r:Fw(t,r),firstRender:!1}}componentDidMount(){this.mounted=!0}componentWillUnmount(){this.mounted=!1}render(){return l.createElement(l.Fragment,null,Object.entries(this.state.childMapping).map((([e,t])=>l.createElement(zw,{...t,childKey:e,key:e,onExit:this.handleExit},t.element))))}constructor(e,t){super(e,t),Ow(this,"mounted",!1),Ow(this,"handleExit",(e=>{const t=Nw(this.props.children);e in t||this.mounted&&this.setState((t=>{const n={...t.childMapping};return delete n[e],{childMapping:n}}))})),this.state={childMapping:{},firstRender:!0}}}const Uw=250,jw="cubic-bezier(0,0,0,1)",Ww="cubic-bezier(0,0,1,1)";function $w(...e){const t=l.useCallback((n=>{t.current=n;for(const t of e)"function"==typeof t?t(n):t&&(t.current=n)}),[...e]);return t}function qw(){return"undefined"!=typeof window&&!(!window.document||!window.document.createElement)}const Gw=qw()?l.useLayoutEffect:l.useEffect,Kw=e=>{const t=l.useRef((()=>{throw new Error("Cannot call an event handler while rendering")}));return Gw((()=>{t.current=e}),[e]),l.useCallback(((...e)=>(0,t.current)(...e)),[t])},Yw={fill:"forwards"},Xw={duration:1};const Zw=l.createContext(void 0),Jw={targetDocument:"object"==typeof document?document:void 0,dir:"ltr"},Qw=Zw.Provider;function ex(){var e;return null!==(e=l.useContext(Zw))&&void 0!==e?e:Jw}const tx=l.createContext(void 0),nx=(tx.Provider,Symbol("MOTION_DEFINITION")),rx=({direction:e,duration:t,easing:n=Ww,fromValue:r=0})=>{const i=[{opacity:r},{opacity:1}];return"exit"===e&&i.reverse(),{keyframes:i,duration:t,easing:n}},ix=({direction:e,axis:t,fromValue:n,duration:r,easing:i=jw})=>{const o=[{transform:`translate${t}(${n})`},{transform:`translate${t}(0)`}];return"exit"===e&&o.reverse(),{keyframes:o,duration:r,easing:i}},ox=(ax=({animate:e})=>{const t=Uw;return{enter:"both"===e?[rx({direction:"enter",duration:t}),ix({direction:"enter",axis:"Y",fromValue:"-100%",duration:t})]:[],exit:rx({direction:"exit",duration:t})}},Object.assign((e=>{const t={...l.useContext(Hw),...e},n="skip"===(null!==(r=l.useContext(tx))&&void 0!==r?r:"default");var r;const{appear:i,children:o,imperativeRef:a,onExit:s,onMotionFinish:c,onMotionStart:u,onMotionCancel:d,visible:p,unmountOnExit:h,...f}=t,m=f,[g,v]=function(e=!1,t=!1){const n=l.useRef(!t||e),r=l.useReducer((e=>e+1),0)[1],i=l.useCallback((e=>{n.current!==e&&(n.current=e,r())}),[r]);return l.useEffect((()=>{e&&(n.current=e)})),[e||n.current,i]}(p,h),y=function(e){try{const t=l.Children.only(e);if("string"==typeof t.type||Pw.isForwardRef(t))return t}catch{}throw new Error(["@fluentui/react-motion: Invalid child element.","\n","Motion factories require a single child element to be passed. ","That element element should support ref forwarding i.e. it should be either an intrinsic element (e.g. div) or a component that uses React.forwardRef()."].join(""))}(o),b=function(e){const t=l.useRef();return l.useImperativeHandle(e,(()=>({setPlayState:e=>{var n,r;"running"===e&&(null===(n=t.current)||void 0===n||n.play()),"paused"===e&&(null===(r=t.current)||void 0===r||r.pause())},setPlaybackRate:e=>{t.current&&(t.current.playbackRate=e)}}))),t}(a),C=l.useRef(),A=$w(C,y.ref),S=l.useRef({appear:i,params:m,skipMotions:n}),E=function(){var e;const t="undefined"!=typeof window&&"function"==typeof(null===(e=window.Animation)||void 0===e?void 0:e.prototype.persist);return l.useCallback(((e,n,r)=>{const i=Array.isArray(n)?n:[n],{isReducedMotion:o}=r,a=i.map((n=>{const{keyframes:r,reducedMotion:i=Xw,...a}=n,{keyframes:s=r,...l}=i,c=o?s:r,u={...Yw,...a,...o&&l},d=e.animate(c,u);if(t)d.persist();else{const t=c[c.length-1];var p;Object.assign(null!==(p=e.style)&&void 0!==p?p:{},t)}return d}));return{set playbackRate(e){a.forEach((t=>{t.playbackRate=e}))},setMotionEndCallbacks(e,t){const n=a.map((e=>new Promise(((t,n)=>{e.onfinish=()=>t(),e.oncancel=()=>n()}))));Promise.all(n).then((()=>{e()})).catch((()=>{t()}))},cancel:()=>{a.forEach((e=>{e.cancel()}))},pause:()=>{a.forEach((e=>{e.pause()}))},play:()=>{a.forEach((e=>{e.play()}))},finish:()=>{a.forEach((e=>{e.finish()}))}}}),[t])}(),w=function(){const e=l.useRef(!0);return e.current?(e.current=!1,!0):e.current}(),x=function(){const{targetDocument:e}=ex();var t;const n=null!==(t=null==e?void 0:e.defaultView)&&void 0!==t?t:null,r=l.useRef(!1),i=l.useCallback((()=>r.current),[]);return Gw((()=>{if(null===n||"function"!=typeof n.matchMedia)return;const e=n.matchMedia("screen and (prefers-reduced-motion: reduce)");e.matches&&(r.current=!0);const t=e=>{r.current=e.matches};return e.addEventListener("change",t),()=>{e.removeEventListener("change",t)}}),[n]),i}(),I=Kw((e=>{null==u||u(null,{direction:e})})),k=Kw((e=>{null==c||c(null,{direction:e}),"exit"===e&&h&&(v(!1),null==s||s())})),T=Kw((e=>{null==d||d(null,{direction:e})}));return Gw((()=>{S.current={appear:i,params:m,skipMotions:n}})),Gw((()=>{const e=C.current;if(!e)return;const t=ax({element:e,...S.current.params}),n=p?t.enter:t.exit,r=p?"enter":"exit",i=!S.current.appear&&w,o=S.current.skipMotions;i||I(r);const a=E(e,n,{isReducedMotion:x()});if(!i)return b.current=a,a.setMotionEndCallbacks((()=>k(r)),(()=>T(r))),o&&a.finish(),()=>{a.cancel()};a.finish()}),[E,b,x,k,I,T,p]),g?l.cloneElement(y,{ref:A}):null}),{[nx]:ax}));var ax;const sx={};function lx(){let e=null,t="",n="";const r=new Array(arguments.length);for(let e=0;e<arguments.length;e++){const i=arguments[e];if("string"==typeof i&&""!==i){const o=i.indexOf("___");if(-1===o)t+=i+" ";else{const a=i.substr(o,10);o>0&&(t+=i.slice(0,o)),n+=a,r[e]=a}}}if(""===n)return t.slice(0,-1);const i=sx[n];if(void 0!==i)return t+i;const o=[];for(let t=0;t<arguments.length;t++){const n=r[t];if(n){const t=aS[n];t&&(o.push(t[0]),e=t[1])}}const a=Object.assign.apply(Object,[{}].concat(o)),[s,l]=WE(a,e),c=jE(l,e,r),u=c+" "+s;return sx[n]=u,aS[c]=[a,e],t+u}const cx=l.forwardRef(((e,t)=>{const n=((e,t)=>{var n;const r=l.Children.map(null!==(n=e.children)&&void 0!==n?n:[],(e=>l.isValidElement(e)&&e.type!==l.Fragment?e:null)).filter(Boolean);var i;return{components:{root:"div"},root:pw(Tw("div",{ref:t,...e}),{elementType:"div"}),children:r,animate:null!==(i=e.animate)&&void 0!==i?i:"exit-only",enterStyles:"",exitStyles:""}})(e,t);return(e=>{e.root.className=lx("fui-MessageBarGroup",e.root.className)})(n),cw("useMessageBarGroupStyles_unstable")(n),(e=>Mw(e.root,{children:Mw(Vw,{children:e.children.map((t=>Mw(ox,{animate:e.animate,children:t},t.key)))})}))(n)}));cx.displayName="MessageBarGroup";const ux={current:0},dx=l.createContext(void 0);const px=l.createContext(void 0);function hx(e="fui-",t){const n=null!==(o=l.useContext(dx))&&void 0!==o?o:ux,r=l.useContext(px)||"",i=c.useId;var o;if(i){const n=i(),o=l.useMemo((()=>n.replace(/:/g,"")),[n]);return t||`${r}${e}${o}`}return l.useMemo((()=>t||`${r}${e}${++n.current}`),[r,e,t,n])}px.Provider;const fx=l.createContext(void 0);fx.Provider;const mx=l.createContext(void 0),gx={},vx=mx.Provider;function yx(e,t,n=VA){const r=n();let i=null,o=null;return function(n){const{dir:a,renderer:s}=n,l="ltr"===a;return l?null===i&&(i=$E(e,a)):null===o&&(o=$E(e,a)),r(s,t),l?i:o}}function bx(e,t){const n=yx(e,t,GE);return function(){const e=iw(),t=tw();return n({dir:e,renderer:t})}}const Cx=bx({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in",ycbfsm:"fg4l7m0"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{-webkit-transform:scaleX(-1);-moz-transform:scaleX(-1);-ms-transform:scaleX(-1);transform:scaleX(-1);}"],t:["@media (forced-colors: active){.fg4l7m0{forced-color-adjust:auto;}}"]}),Ax=(e,t)=>{const{title:n,primaryFill:r="currentColor",...i}=e,o={...i,title:void 0,fill:r},a=Cx(),s=l.useContext(mx)?l.useContext(mx):gx;return o.className=lx(a.root,(null==t?void 0:t.flipInRtl)&&"rtl"===(null==s?void 0:s.textDirection)&&a.rtl,o.className),n&&(o["aria-label"]=n),o["aria-label"]||o["aria-labelledby"]?o.role="img":o["aria-hidden"]=!0,o},Sx=(e,t,n,r)=>{const i="1em"===t?"20":t,o=l.forwardRef(((e,o)=>{const a={...Ax(e,{flipInRtl:null==r?void 0:r.flipInRtl}),ref:o,width:t,height:t,viewBox:`0 0 ${i} ${i}`,xmlns:"http://www.w3.org/2000/svg"};return l.createElement("svg",a,...n.map((e=>l.createElement("path",{d:e,fill:a.fill}))))}));return o.displayName=e,o},Ex=Sx("InfoFilled","1em",["M18 10a8 8 0 1 0-16 0 8 8 0 0 0 16 0ZM9.5 8.91a.5.5 0 0 1 1 0V13.6a.5.5 0 0 1-1 0V8.9Zm-.25-2.16a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0Z"]),wx=Sx("VideoRegular","1em",["M5 4a3 3 0 0 0-3 3v6a3 3 0 0 0 3 3h5a3 3 0 0 0 3-3v-.32l3.04 2.1c.83.57 1.96-.03 1.96-1.03v-7.5c0-1-1.13-1.6-1.96-1.03L13 7.32V7a3 3 0 0 0-3-3H5Zm8 4.54 3.6-2.5c.17-.1.4.01.4.21v7.5c0 .2-.23.32-.4.2L13 11.46V8.54ZM3 7c0-1.1.9-2 2-2h5a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7Z"]),xx=Sx("WarningFilled","1em",["M8.68 2.79a1.5 1.5 0 0 1 2.64 0l6.5 12A1.5 1.5 0 0 1 16.5 17h-13a1.5 1.5 0 0 1-1.32-2.21l6.5-12ZM10.5 7.5a.5.5 0 0 0-1 0v4a.5.5 0 0 0 1 0v-4Zm.25 6.25a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Z"]),Ix=Sx("CheckmarkCircleFilled","1em",["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm3.36 5.65a.5.5 0 0 0-.64-.06l-.07.06L9 11.3 7.35 9.65l-.07-.06a.5.5 0 0 0-.7.7l.07.07 2 2 .07.06c.17.11.4.11.56 0l.07-.06 4-4 .07-.08a.5.5 0 0 0-.06-.63Z"]),kx=Sx("DismissRegular","1em",["m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"]),Tx=Sx("DismissCircleFilled","1em",["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16ZM7.8 7.11a.5.5 0 0 0-.63.06l-.06.07a.5.5 0 0 0 .06.64L9.3 10l-2.12 2.12-.06.07a.5.5 0 0 0 .06.64l.07.06c.2.13.47.11.64-.06L10 10.7l2.12 2.12.07.06c.2.13.46.11.64-.06l.06-.07a.5.5 0 0 0-.06-.64L10.7 10l2.12-2.12.06-.07a.5.5 0 0 0-.06-.64l-.07-.06a.5.5 0 0 0-.64.06L10 9.3 7.88 7.17l-.07-.06Z"]);function _x(e){switch(e){case"info":return l.createElement(Ex,null);case"warning":return l.createElement(xx,null);case"error":return l.createElement(Tx,null);case"success":return l.createElement(Ix,null);default:return null}}function Px(e,t){var n;const r=e;var i;return Boolean((null==r||null===(n=r.ownerDocument)||void 0===n?void 0:n.defaultView)&&r instanceof r.ownerDocument.defaultView[null!==(i=null==t?void 0:t.constructorName)&&void 0!==i?i:"HTMLElement"])}const Dx=l.createContext(void 0),Bx={className:"",nodeRef:l.createRef()},Rx=(Dx.Provider,(e,t)=>{const{layout:n="auto",intent:r="info",politeness:i,shape:o="rounded"}=e,a=(null!=i?i:"info"===r)?"polite":"assertive",s="auto"===n,{ref:c,reflowing:u}=function(e=!1){const{targetDocument:t}=ex(),n=l.useReducer((()=>({})),{})[1],r=l.useRef(!1),i=l.useRef(null),o=l.useRef(-1),a=l.useCallback((e=>{var t,i;const a=e[0];var s;const l=null!==(s=null==a||null===(i=a.borderBoxSize)||void 0===i||null===(t=i[0])||void 0===t?void 0:t.inlineSize)&&void 0!==s?s:null==a?void 0:a.target.getBoundingClientRect().width;if(void 0===l||!a)return;const{target:c}=a;if(!Px(c))return;let u;r.current?o.current<l&&(u=!1):l<c.scrollWidth&&(u=!0),o.current=l,void 0!==u&&r.current!==u&&(r.current=u,n())}),[n]),s=l.useCallback((n=>{var r;if(!e||!n||!(null==t?void 0:t.defaultView))return;null===(r=i.current)||void 0===r||r.disconnect();const o=new t.defaultView.ResizeObserver(a);i.current=o,o.observe(n,{box:"border-box"})}),[t,a,e]);return l.useEffect((()=>()=>{var e;null===(e=i.current)||void 0===e||e.disconnect()}),[]),{ref:s,reflowing:r.current}}(s),d=s?u?"multiline":"singleline":n,{className:p,nodeRef:h}=null!==(f=l.useContext(Dx))&&void 0!==f?f:Bx;var f;const m=l.useRef(null),g=l.useRef(null),{announce:v}=function(){var e;return null!==(e=l.useContext(fx))&&void 0!==e?e:{announce:()=>{}}}(),y=hx();return l.useEffect((()=>{var e,t;const n=[null===(e=g.current)||void 0===e?void 0:e.textContent,null===(t=m.current)||void 0===t?void 0:t.textContent].filter(Boolean).join(",");v(n,{polite:"polite"===a,alert:"assertive"===a})}),[g,m,v,a]),{components:{root:"div",icon:"div",bottomReflowSpacer:"div"},root:pw(Tw("div",{ref:$w(t,c,h),role:"group","aria-labelledby":y,...e}),{elementType:"div"}),icon:hw(e.icon,{renderByDefault:!0,elementType:"div",defaultProps:{children:_x(r)}}),bottomReflowSpacer:hw(e.bottomReflowSpacer,{renderByDefault:"multiline"===d,elementType:"div"}),layout:d,intent:r,transitionClassName:p,actionsRef:m,bodyRef:g,titleId:y,shape:o}}),Mx=l.createContext(void 0),Lx={titleId:"",layout:"singleline",actionsRef:l.createRef(),bodyRef:l.createRef()},Ox=Mx.Provider,Fx=()=>{var e;return null!==(e=l.useContext(Mx))&&void 0!==e?e:Lx};function Nx(e,t,n){const r=function(e,t,n,r=VA){const i=r();return function(r){const{dir:o,renderer:a}=r,s="ltr"===o?e:t||e;return i(a,Array.isArray(n)?{r:n}:n),s}}(e,t,n,GE);return function(){const e=iw(),t=tw();return r({dir:e,renderer:t})}}const Hx=Nx("r2oyxsj","r1wuyrhw",['.r2oyxsj{white-space:nowrap;display:grid;grid-template-columns:auto 1fr auto auto;grid-template-rows:1fr;grid-template-areas:"icon body secondaryActions actions";padding-left:var(--spacingHorizontalM);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);border-radius:var(--borderRadiusMedium);align-items:center;min-height:36px;box-sizing:border-box;background-color:var(--colorNeutralBackground3);}','.r1wuyrhw{white-space:nowrap;display:grid;grid-template-columns:auto 1fr auto auto;grid-template-rows:1fr;grid-template-areas:"icon body secondaryActions actions";padding-right:var(--spacingHorizontalM);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);border-radius:var(--borderRadiusMedium);align-items:center;min-height:36px;box-sizing:border-box;background-color:var(--colorNeutralBackground3);}']),zx=Nx("r1df1z33","rivnfjc",[".r1df1z33{grid-area:icon;font-size:var(--fontSizeBase500);margin-right:var(--spacingHorizontalS);color:var(--colorNeutralForeground3);display:flex;align-items:center;}",".rivnfjc{grid-area:icon;font-size:var(--fontSizeBase500);margin-left:var(--spacingHorizontalS);color:var(--colorNeutralForeground3);display:flex;align-items:center;}"]),Vx=Nx("r1vx593n",null,[".r1vx593n{margin-bottom:var(--spacingVerticalS);grid-area:secondaryActions;}"]),Ux=bx({rootMultiline:{Huce71:"f6juhto",Bt984gj:"f1s2louj",z8tnut:"f1ngh7ph",Budl1dq:"f17g0uqy",zoa1oz:"f1w7oly7"},secondaryActionsMultiline:{Brf1p80:"f1e8xxv9",B6of3ja:"f1gaxbfw",jrapky:"fqcjy3b",t21cq0:["fibjyge","f9yszdx"]},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"}},{d:[".f6juhto{white-space:normal;}",".f1s2louj{align-items:start;}",".f1ngh7ph{padding-top:var(--spacingVerticalMNudge);}",".f17g0uqy{grid-template-columns:auto 1fr auto;}",'.f1w7oly7{grid-template-areas:"icon body actions" "secondaryActions secondaryActions secondaryActions";}',".f1e8xxv9{justify-content:end;}",".f1gaxbfw{margin-top:var(--spacingVerticalMNudge);}",".fqcjy3b{margin-bottom:var(--spacingVerticalS);}",".fibjyge{margin-right:0px;}",".f9yszdx{margin-left:0px;}",[".fokr779{border-radius:0;}",{p:-1}]]}),jx=bx({info:{},error:{sj55zd:"f1ca9wz"},warning:{sj55zd:"f14a4cve"},success:{sj55zd:"f36rra6"}},{d:[".f1ca9wz{color:var(--colorStatusDangerForeground1);}",".f14a4cve{color:var(--colorStatusWarningForeground3);}",".f36rra6{color:var(--colorStatusSuccessForeground1);}"]}),Wx=bx({info:{},error:{De3pzq:"f1eon7jj",g2u3we:"f1f8dvr7",h3c5rm:["f1g1ijmo","f1nxacbt"],B9xav0g:"fo25q1j",zhjwy3:["f1nxacbt","f1g1ijmo"]},warning:{De3pzq:"f13ftzij",g2u3we:"frd1ypx",h3c5rm:["f1gyjrma","f18qd5xz"],B9xav0g:"fqyqtrt",zhjwy3:["f18qd5xz","f1gyjrma"]},success:{De3pzq:"f64thcm",g2u3we:"f1b4u7v",h3c5rm:["f1nyd2b1","f70v3om"],B9xav0g:"fk173vo",zhjwy3:["f70v3om","f1nyd2b1"]}},{d:[".f1eon7jj{background-color:var(--colorStatusDangerBackground1);}",".f1f8dvr7{border-top-color:var(--colorStatusDangerBorder1);}",".f1g1ijmo{border-right-color:var(--colorStatusDangerBorder1);}",".f1nxacbt{border-left-color:var(--colorStatusDangerBorder1);}",".fo25q1j{border-bottom-color:var(--colorStatusDangerBorder1);}",".f13ftzij{background-color:var(--colorStatusWarningBackground1);}",".frd1ypx{border-top-color:var(--colorStatusWarningBorder1);}",".f1gyjrma{border-right-color:var(--colorStatusWarningBorder1);}",".f18qd5xz{border-left-color:var(--colorStatusWarningBorder1);}",".fqyqtrt{border-bottom-color:var(--colorStatusWarningBorder1);}",".f64thcm{background-color:var(--colorStatusSuccessBackground1);}",".f1b4u7v{border-top-color:var(--colorStatusSuccessBorder1);}",".f1nyd2b1{border-right-color:var(--colorStatusSuccessBorder1);}",".f70v3om{border-left-color:var(--colorStatusSuccessBorder1);}",".fk173vo{border-bottom-color:var(--colorStatusSuccessBorder1);}"]}),$x=l.forwardRef(((e,t)=>{const n=Rx(e,t);return(e=>{const t=Hx(),n=zx(),r=jx(),i=Wx(),o=Vx(),a=Ux();e.root.className=lx("fui-MessageBar",t,"multiline"===e.layout&&a.rootMultiline,"square"===e.shape&&a.square,i[e.intent],e.root.className),e.icon&&(e.icon.className=lx("fui-MessageBar__icon",n,r[e.intent],e.icon.className)),e.bottomReflowSpacer&&(e.bottomReflowSpacer.className=lx("fui-MessageBar__bottomReflowSpacer",o))})(n),cw("useMessageBarStyles_unstable")(n),((e,t)=>Mw(Ox,{value:t.messageBar,children:Lw(e.root,{children:[e.icon&&Mw(e.icon,{}),e.root.children,e.bottomReflowSpacer&&Mw(e.bottomReflowSpacer,{})]})}))(n,function(e){const{layout:t,actionsRef:n,bodyRef:r,titleId:i}=e;return{messageBar:l.useMemo((()=>({layout:t,actionsRef:n,bodyRef:r,titleId:i})),[t,n,r,i])}}(n))}));$x.displayName="MessageBar";const qx=l.createContext(void 0).Provider,Gx=Nx("rtatq2b","re2rary",[".rtatq2b{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);grid-area:body;padding-right:var(--spacingHorizontalM);}",".re2rary{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);grid-area:body;padding-left:var(--spacingHorizontalM);}"]),Kx=l.forwardRef(((e,t)=>{const n=((e,t)=>{const{bodyRef:n}=Fx();return{components:{root:"div"},root:pw(Tw("div",{ref:$w(t,n),...e}),{elementType:"div"})}})(e,t),r={link:l.useMemo((()=>({inline:!0})),[])};return(e=>{const t=Gx();e.root.className=lx("fui-MessageBarBody",t,e.root.className)})(n),cw("useMessageBarBodyStyles_unstable")(n),((e,t)=>Mw(qx,{value:t.link,children:Mw(e.root,{})}))(n,r)}));Kx.displayName="MessageBarBody";const Yx=Nx("r168xkm9",null,[".r168xkm9{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);}",'.r168xkm9::after{content:" ";}']),Xx=l.forwardRef(((e,t)=>{const n=((e,t)=>{const{titleId:n}=Fx();return{components:{root:"span"},root:pw(Tw("span",{ref:t,id:n,...e}),{elementType:"span"})}})(e,t);return(e=>{const t=Yx();e.root.className=lx("fui-MessageBarTitle",t,e.root.className)})(n),cw("useMessageBarTitleStyles_unstable")(n),(e=>Mw(e.root,{}))(n)}));Xx.displayName="MessageBarTitle";const Zx=l.createContext(void 0),Jx={},Qx=Zx.Provider,eI=Nx("r1t4x98y","r15utzv5",[".r1t4x98y{grid-area:secondaryActions;display:flex;column-gap:var(--spacingHorizontalM);padding-right:var(--spacingHorizontalM);}",".r15utzv5{grid-area:secondaryActions;display:flex;column-gap:var(--spacingHorizontalM);padding-left:var(--spacingHorizontalM);}"]),tI=Nx("rgzw8nq","r13ur29z",[".rgzw8nq{grid-area:actions;padding-right:var(--spacingHorizontalM);}",".r13ur29z{grid-area:actions;padding-left:var(--spacingHorizontalM);}"]),nI=bx({root:{Brf1p80:"f1e8xxv9",B6of3ja:"f1gaxbfw",jrapky:"fqcjy3b",t21cq0:["fibjyge","f9yszdx"],z189sj:["f1p3vkop","f8cewkv"]},noActions:{mc9l5x:"fjseox"}},{d:[".f1e8xxv9{justify-content:end;}",".f1gaxbfw{margin-top:var(--spacingVerticalMNudge);}",".fqcjy3b{margin-bottom:var(--spacingVerticalS);}",".fibjyge{margin-right:0px;}",".f9yszdx{margin-left:0px;}",".f1p3vkop{padding-right:var(--spacingVerticalM);}",".f8cewkv{padding-left:var(--spacingVerticalM);}",".fjseox{display:none;}"]}),rI=l.forwardRef(((e,t)=>{const n=((e,t)=>{const{layout:n="singleline",actionsRef:r}=Fx();return{components:{root:"div",containerAction:"div"},containerAction:hw(e.containerAction,{renderByDefault:!1,elementType:"div"}),root:pw(Tw("div",{ref:$w(t,r),...e}),{elementType:"div"}),layout:n,hasActions:!!e.children}})(e,t);return(e=>{const t=eI(),n=tI(),r=nI();e.root.className=lx("fui-MessageBarActions",t,"multiline"===e.layout&&r.root,!e.hasActions&&r.noActions,e.root.className),e.containerAction&&(e.containerAction.className=lx("fui-MessageBarActions__containerAction",n,e.containerAction.className))})(n),cw("useMessageBarActionsStyles_unstable")(n),((e,t)=>"multiline"===e.layout?Lw(Qx,{value:t.button,children:[e.containerAction&&Mw(e.containerAction,{}),Mw(e.root,{})]}):Lw(Qx,{value:t.button,children:[Mw(e.root,{}),e.containerAction&&Mw(e.containerAction,{})]}))(n,{button:l.useMemo((()=>({size:"small"})),[])})}));rI.displayName="MessageBarActions";const iI="Enter",oI=" ";function aI(e,t){const{disabled:n,disabledFocusable:r=!1,"aria-disabled":i,onClick:o,onKeyDown:a,onKeyUp:s,...l}=null!=t?t:{},c="string"==typeof i?"true"===i:i,u=n||r||c,d=Kw((e=>{u?(e.preventDefault(),e.stopPropagation()):null==o||o(e)})),p=Kw((e=>{if(null==a||a(e),e.isDefaultPrevented())return;const t=e.key;if(u&&(t===iI||t===oI))return e.preventDefault(),void e.stopPropagation();t!==oI?t===iI&&(e.preventDefault(),e.currentTarget.click()):e.preventDefault()})),h=Kw((e=>{if(null==s||s(e),e.isDefaultPrevented())return;const t=e.key;if(u&&(t===iI||t===oI))return e.preventDefault(),void e.stopPropagation();t===oI&&(e.preventDefault(),e.currentTarget.click())}));if("button"===e||void 0===e)return{...l,disabled:n&&!r,"aria-disabled":!!r||c,onClick:r?void 0:d,onKeyUp:r?void 0:s,onKeyDown:r?void 0:a};{const t=!!l.href;let i=t?void 0:"button";!i&&u&&(i="link");const o={role:i,tabIndex:r||!t&&!n?0:void 0,...l,onClick:d,onKeyUp:h,onKeyDown:p,"aria-disabled":u};return"a"===e&&u&&(o.href=void 0),o}}const sI=Nx("r1alrhcs",null,{r:[".r1alrhcs{align-items:center;box-sizing:border-box;display:inline-flex;justify-content:center;text-decoration-line:none;vertical-align:middle;margin:0;overflow:hidden;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);font-family:var(--fontFamilyBase);outline-style:none;padding:5px var(--spacingHorizontalM);min-width:96px;border-radius:var(--borderRadiusMedium);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);transition-duration:var(--durationFaster);transition-property:background,border,color;transition-timing-function:var(--curveEasyEase);}",".r1alrhcs:hover{background-color:var(--colorNeutralBackground1Hover);border-color:var(--colorNeutralStroke1Hover);color:var(--colorNeutralForeground1Hover);cursor:pointer;}",".r1alrhcs:hover:active{background-color:var(--colorNeutralBackground1Pressed);border-color:var(--colorNeutralStroke1Pressed);color:var(--colorNeutralForeground1Pressed);outline-style:none;}",".r1alrhcs[data-fui-focus-visible]{border-color:var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);border-width:1px;outline:var(--strokeWidthThick) solid var(--colorTransparentStroke);box-shadow:0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;z-index:1;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1alrhcs{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1alrhcs:focus{border-color:ButtonText;}.r1alrhcs:hover{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}.r1alrhcs:hover:active{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}}","@supports (-moz-appearance:button){.r1alrhcs[data-fui-focus-visible]{box-shadow:0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),lI=Nx("rywnvv2",null,[".rywnvv2{align-items:center;display:inline-flex;justify-content:center;font-size:20px;height:20px;width:20px;--fui-Button__icon--spacing:var(--spacingHorizontalSNudge);}"]),cI=bx({outline:{De3pzq:"f1c21dwh",Jwef8y:"fjxutwb",iro3zm:"fwiml72"},primary:{De3pzq:"ffp7eso",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"f1phragk",Jwef8y:"f15wkkf3",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f1rq72xc",iro3zm:"fnp9lpt",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1d6v5y2",Bsw6fvg:"f1rirnrt",Bjwas2f:"f1uu00uk",Bn1d65q:["fkvaka8","f9a0qzu"],Bxeuatn:"f1ux7til",n51gp8:["f9a0qzu","fkvaka8"],Bbusuzp:"f1lkg8j3",ycbfsm:"fkc42ay",Bqrx1nm:"fq7113v",pgvf35:"ff1wgvm",Bh7lczh:["fiob0tu","f1x4h75k"],dpv3f4:"f1j6scgf",Bpnjhaq:["f1x4h75k","fiob0tu"],ze5xyy:"f4xjyn1",g2kj27:"fbgcvur",Bf756sw:"f1ks1yx8",Bow2dr7:["f1o6qegi","fmxjhhp"],Bvhedfk:"fcnxywj",Gye4lf:["fmxjhhp","f1o6qegi"],pc6evw:"f9ddjv3"},secondary:{},subtle:{De3pzq:"fhovq9v",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"f1t94bn6",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"fnwyq0v",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",Bbdnnc7:"fy5bs14",iro3zm:"fsv2rcd",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1omzyqd",em6i61:"f1dfjoow",vm6p8p:"f1j98vj9",x3br3k:"fj8yq94",ze5xyy:"f4xjyn1",Bx3q9su:"f1et0tmh",pc6evw:"f9ddjv3",xd2cci:"f1wi8ngl"},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"fjxutwb",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f139oj5f",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",iro3zm:"fwiml72",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1fg1p5m",em6i61:"f1dfjoow",vm6p8p:"f1j98vj9",Bqrx1nm:"f1tme0vf",ze5xyy:"f4xjyn1",g2kj27:"f18onu3q",pc6evw:"f9ddjv3"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"},rounded:{},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},small:{Bf4jedk:"fh7ncta",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fneth5b",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},smallWithIcon:{Byoj8tv:"f1brlhvm",z8tnut:"f1sl3k7w"},medium:{},large:{Bf4jedk:"f14es27b",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f4db1ww",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},largeWithIcon:{Byoj8tv:"fy7v416",z8tnut:"f1a1bwwz"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],".fh7ncta{min-width:64px;}",[".fneth5b{padding:3px var(--spacingHorizontalS);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1brlhvm{padding-bottom:1px;}",".f1sl3k7w{padding-top:1px;}",".f14es27b{min-width:96px;}",[".f4db1ww{padding:8px var(--spacingHorizontalL);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fy7v416{padding-bottom:7px;}",".f1a1bwwz{padding-top:7px;}"],h:[".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".fwiml72:hover:active{background-color:var(--colorTransparentBackgroundPressed);}",".f15wkkf3:hover{background-color:var(--colorBrandBackgroundHover);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1rq72xc:hover{color:var(--colorNeutralForegroundOnBrand);}",".fnp9lpt:hover:active{background-color:var(--colorBrandBackgroundPressed);}",".f1h0usnq:hover:active{border-top-color:transparent;}",".fs4ktlq:hover:active{border-right-color:transparent;}",".fx2bmrt:hover:active{border-left-color:transparent;}",".f16h9ulv:hover:active{border-bottom-color:transparent;}",".f1d6v5y2:hover:active{color:var(--colorNeutralForegroundOnBrand);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}",".ft1hn21:hover .fui-Icon-filled{display:inline;}",".fuxngvv:hover .fui-Icon-regular{display:none;}",".fy5bs14:hover .fui-Button__icon{color:var(--colorNeutralForeground2BrandHover);}",".fsv2rcd:hover:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1omzyqd:hover:active{color:var(--colorNeutralForeground2Pressed);}",".f1dfjoow:hover:active .fui-Icon-filled{display:inline;}",".f1j98vj9:hover:active .fui-Icon-regular{display:none;}",".fj8yq94:hover:active .fui-Button__icon{color:var(--colorNeutralForeground2BrandPressed);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f1fg1p5m:hover:active{color:var(--colorNeutralForeground2BrandPressed);}"],m:[["@media (forced-colors: active){.f1rirnrt{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1uu00uk{border-top-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9a0qzu{border-left-color:HighlightText;}.fkvaka8{border-right-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ux7til{border-bottom-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lkg8j3{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkc42ay{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fq7113v:hover{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ff1wgvm:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1x4h75k:hover{border-left-color:Highlight;}.fiob0tu:hover{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1j6scgf:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4xjyn1:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbgcvur:hover:active{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ks1yx8:hover:active{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1o6qegi:hover:active{border-right-color:Highlight;}.fmxjhhp:hover:active{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fcnxywj:hover:active{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9ddjv3:hover:active{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1et0tmh:hover .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wi8ngl:hover:active .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1tme0vf:hover{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f18onu3q:hover:active{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}]]}),uI=bx({base:{De3pzq:"f1bg9a2p",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",Bfinmwp:"f15x8b5r",Jwef8y:"f1falr9n",Bgoe8wy:"f12mpcsy",Bwzppfd:["f1gwvigk","f18rmfxp"],oetu4i:"f1jnshp0",gg5e9n:["f18rmfxp","f1gwvigk"],Bi91k9c:"fvgxktp",eoavqd:"fphbwmw",Bk3fhr4:"f19vpps7",Bmfj8id:"fv5swzo",Bbdnnc7:"f1al02dq",iro3zm:"f1t6o4dc",b661bw:"f10ztigi",Bk6r4ia:["f1ft5sdu","f1gzf82w"],B9zn80p:"f12zbtn2",Bpld233:["f1gzf82w","f1ft5sdu"],B2d53fq:"fcvwxyo",c3iz72:"f8w4c43",em6i61:"f1ol4fw6",vm6p8p:"f1q1lw4e",x3br3k:"f1dwjv2g"},highContrast:{Bsw6fvg:"f4lkoma",Bjwas2f:"fg455y9",Bn1d65q:["f1rvyvqg","f14g86mu"],Bxeuatn:"f1cwzwz",n51gp8:["f14g86mu","f1rvyvqg"],Bbusuzp:"f1dcs8yz",Bm2fdqk:"fuigjrg",G867l3:"fjwq6ea",gdbnj:["f1lr3nhc","f1mbxvi6"],mxns5l:"fn5gmvv",o3nasb:["f1mbxvi6","f1lr3nhc"],Bqrx1nm:"f1vmkb5g",pgvf35:"f53ppgq",Bh7lczh:["f1663y11","f80fkiy"],dpv3f4:"f18v5270",Bpnjhaq:["f80fkiy","f1663y11"],ze5xyy:"f1kc2mi9",Bx3q9su:"f4dhi0o",g2kj27:"f1y0svfh",Bf756sw:"fihuait",Bow2dr7:["fnxhupq","fyd6l6x"],Bvhedfk:"fx507ft",Gye4lf:["fyd6l6x","fnxhupq"],pc6evw:"fb3rf2x",xd2cci:"fequ9m0"},outline:{De3pzq:"f1c21dwh",Jwef8y:"f9ql6rf",iro3zm:"f3h1zc4"},primary:{g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]},secondary:{},subtle:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],iro3zm:"f3h1zc4",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],iro3zm:"f3h1zc4",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]}},{d:[".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f15x8b5r .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}"],h:[".f1falr9n:hover{background-color:var(--colorNeutralBackgroundDisabled);}",".f12mpcsy:hover{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1gwvigk:hover{border-right-color:var(--colorNeutralStrokeDisabled);}",".f18rmfxp:hover{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1jnshp0:hover{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".fphbwmw:hover{cursor:not-allowed;}",".f19vpps7:hover .fui-Icon-filled{display:none;}",".fv5swzo:hover .fui-Icon-regular{display:inline;}",".f1al02dq:hover .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1t6o4dc:hover:active{background-color:var(--colorNeutralBackgroundDisabled);}",".f10ztigi:hover:active{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1ft5sdu:hover:active{border-right-color:var(--colorNeutralStrokeDisabled);}",".f1gzf82w:hover:active{border-left-color:var(--colorNeutralStrokeDisabled);}",".f12zbtn2:hover:active{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fcvwxyo:hover:active{color:var(--colorNeutralForegroundDisabled);}",".f8w4c43:hover:active{cursor:not-allowed;}",".f1ol4fw6:hover:active .fui-Icon-filled{display:none;}",".f1q1lw4e:hover:active .fui-Icon-regular{display:inline;}",".f1dwjv2g:hover:active .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".f3h1zc4:hover:active{background-color:var(--colorTransparentBackground);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1h0usnq:hover:active{border-top-color:transparent;}",".fs4ktlq:hover:active{border-right-color:transparent;}",".fx2bmrt:hover:active{border-left-color:transparent;}",".f16h9ulv:hover:active{border-bottom-color:transparent;}"],m:[["@media (forced-colors: active){.f4lkoma{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fg455y9{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14g86mu{border-left-color:GrayText;}.f1rvyvqg{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cwzwz{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fuigjrg .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fjwq6ea:focus{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lr3nhc:focus{border-right-color:GrayText;}.f1mbxvi6:focus{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fn5gmvv:focus{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1vmkb5g:hover{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f53ppgq:hover{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1663y11:hover{border-right-color:GrayText;}.f80fkiy:hover{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f18v5270:hover{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1kc2mi9:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4dhi0o:hover .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1y0svfh:hover:active{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fihuait:hover:active{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fnxhupq:hover:active{border-right-color:GrayText;}.fyd6l6x:hover:active{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fx507ft:hover:active{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fb3rf2x:hover:active{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fequ9m0:hover:active .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),dI=bx({circular:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1062rbf"},rounded:{},square:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fj0ryk1"},primary:{B8q5s1w:"f17t0x8g",Bci5o5g:["f194v5ow","fk7jm04"],n8qw10:"f1qgg65p",Bdrgwmp:["fk7jm04","f194v5ow"],j6ew2k:["fhgccpy","fjo7pq6"],he4mth:"f32wu9k",Byr4aka:"fu5nqqq",lks7q5:["f13prjl2","f1nl83rv"],Bnan3qt:"f1czftr5",k1dn9:["f1nl83rv","f13prjl2"],Boium3a:["f12k37oa","fdnykm2"],tm8e47:"fr96u23"},small:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fazmxh"},medium:{},large:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1b6alqh"}},{d:[[".f1062rbf[data-fui-focus-visible]{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".fj0ryk1[data-fui-focus-visible]{border-radius:var(--borderRadiusNone);}",{p:-1}],".f17t0x8g[data-fui-focus-visible]{border-top-color:var(--colorStrokeFocus2);}",".f194v5ow[data-fui-focus-visible]{border-right-color:var(--colorStrokeFocus2);}",".fk7jm04[data-fui-focus-visible]{border-left-color:var(--colorStrokeFocus2);}",".f1qgg65p[data-fui-focus-visible]{border-bottom-color:var(--colorStrokeFocus2);}",".fhgccpy[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".fjo7pq6[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".f32wu9k[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;}",".fu5nqqq[data-fui-focus-visible]:hover{border-top-color:var(--colorStrokeFocus2);}",".f13prjl2[data-fui-focus-visible]:hover{border-right-color:var(--colorStrokeFocus2);}",".f1nl83rv[data-fui-focus-visible]:hover{border-left-color:var(--colorStrokeFocus2);}",".f1czftr5[data-fui-focus-visible]:hover{border-bottom-color:var(--colorStrokeFocus2);}",[".fazmxh[data-fui-focus-visible]{border-radius:var(--borderRadiusSmall);}",{p:-1}],[".f1b6alqh[data-fui-focus-visible]{border-radius:var(--borderRadiusLarge);}",{p:-1}]],t:["@supports (-moz-appearance:button){.f12k37oa[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}.fdnykm2[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}}","@supports (-moz-appearance:button){.fr96u23[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),pI=bx({small:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fu97m5z",Bf4jedk:"f17fgpbq",B2u0y6b:"f1jt17bm"},medium:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f18ktai2",Bf4jedk:"fwbmr0d",B2u0y6b:"f44c6la"},large:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1hbd1aw",Bf4jedk:"f12clzc2",B2u0y6b:"fjy1crr"}},{d:[[".fu97m5z{padding:1px;}",{p:-1}],".f17fgpbq{min-width:24px;}",".f1jt17bm{max-width:24px;}",[".f18ktai2{padding:5px;}",{p:-1}],".fwbmr0d{min-width:32px;}",".f44c6la{max-width:32px;}",[".f1hbd1aw{padding:7px;}",{p:-1}],".f12clzc2{min-width:40px;}",".fjy1crr{max-width:40px;}"]}),hI=bx({small:{Be2twd7:"fe5j1ua",Bqenvij:"fjamq6b",a9b677:"f64fuq3",Bqrlyyl:"fbaiahx"},medium:{},large:{Be2twd7:"f1rt2boy",Bqenvij:"frvgh55",a9b677:"fq4mcun",Bqrlyyl:"f1exjqw5"},before:{t21cq0:["f1nizpg2","f1a695kz"]},after:{Frg6f3:["f1a695kz","f1nizpg2"]}},{d:[".fe5j1ua{font-size:20px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".fbaiahx{--fui-Button__icon--spacing:var(--spacingHorizontalXS);}",".f1rt2boy{font-size:24px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".f1exjqw5{--fui-Button__icon--spacing:var(--spacingHorizontalSNudge);}",".f1nizpg2{margin-right:var(--fui-Button__icon--spacing);}",".f1a695kz{margin-left:var(--fui-Button__icon--spacing);}"]}),fI=l.forwardRef(((e,t)=>{const n=((e,t)=>{const{size:n}=null!==(r=l.useContext(Zx))&&void 0!==r?r:Jx;var r;const{appearance:i="secondary",as:o="button",disabled:a=!1,disabledFocusable:s=!1,icon:c,iconPosition:u="before",shape:d="rounded",size:p=(null!=n?n:"medium")}=e,h=hw(c,{elementType:"span"});return{appearance:i,disabled:a,disabledFocusable:s,iconPosition:u,shape:d,size:p,iconOnly:Boolean((null==h?void 0:h.children)&&!e.children),components:{root:"button",icon:"span"},root:pw(Tw(o,aI(e.as,e)),{elementType:"button",defaultProps:{ref:t,type:"button"===o?"button":void 0}}),icon:h}})(e,t);return(e=>{const t=sI(),n=lI(),r=cI(),i=uI(),o=dI(),a=pI(),s=hI(),{appearance:l,disabled:c,disabledFocusable:u,icon:d,iconOnly:p,iconPosition:h,shape:f,size:m}=e;e.root.className=lx("fui-Button",t,l&&r[l],r[m],d&&"small"===m&&r.smallWithIcon,d&&"large"===m&&r.largeWithIcon,r[f],(c||u)&&i.base,(c||u)&&i.highContrast,l&&(c||u)&&i[l],"primary"===l&&o.primary,o[m],o[f],p&&a[m],e.root.className),e.icon&&(e.icon.className=lx("fui-Button__icon",n,!!e.root.children&&s[h],s[m],e.icon.className))})(n),cw("useButtonStyles_unstable")(n),(e=>{const{iconOnly:t,iconPosition:n}=e;return Lw(e.root,{children:["after"!==n&&e.icon&&Mw(e.icon,{}),!t&&e.root.children,"after"===n&&e.icon&&Mw(e.icon,{})]})})(n)}));fI.displayName="Button";const mI=ow({messageBarGroup:{position:"sticky",top:0,left:0,right:0,zIndex:1e3}}),gI=()=>{const e=mI(),t=function(){const[e,t]=l.useState(!1),n=()=>{t(!0)};if(l.useEffect((()=>(Ay.addListener("authWindowBlocked",n),()=>{Ay.removeListener("authWindowBlocked",n)})),[]),e)return{title:"Popup Blocked",message:"It looks like your browser has blocked the authentication window. To proceed, please unblock popups in your browser settings.",type:"error",onDismiss:()=>{t(!1)}}}(),n=[];return t&&n.push(t),l.createElement(cx,{className:e.messageBarGroup},n.map(((e,t)=>l.createElement($x,{key:t,intent:e.type,politeness:"polite",shape:"square"},l.createElement(Kx,null,l.createElement(Xx,null,e.title),e.message),l.createElement(rI,{containerAction:l.createElement(fI,{onClick:()=>e.onDismiss(),"aria-label":"dismiss",appearance:"transparent",icon:l.createElement(kx,null)})})))))},vI=l.createContext(void 0),yI=vI.Provider,bI=l.createContext(void 0).Provider,CI=l.createContext(void 0).Provider,AI=l.createContext(void 0),SI=AI.Provider;var EI="undefined"!=typeof WeakRef,wI=class{constructor(e){EI&&"object"==typeof e?this._weakRef=new WeakRef(e):this._instance=e}deref(){var e,t;let n;return this._weakRef?(n=null==(e=this._weakRef)?void 0:e.deref(),n||delete this._weakRef):(n=this._instance,(null==(t=null==n?void 0:n.isDisposed)?void 0:t.call(n))&&delete this._instance),n}},xI="keyborg:focusin",II=!1,kI=0,TI=class{constructor(e,t){this._isNavigatingWithKeyboard_DO_NOT_USE=!1,this._onFocusIn=e=>{if(this._isMouseOrTouchUsedTimer)return;if(this.isNavigatingWithKeyboard)return;const t=e.detail;t.relatedTarget&&(t.isFocusedProgrammatically||void 0===t.isFocusedProgrammatically||(this.isNavigatingWithKeyboard=!0))},this._onMouseDown=e=>{0===e.buttons||0===e.clientX&&0===e.clientY&&0===e.screenX&&0===e.screenY||this._onMouseOrTouch()},this._onMouseOrTouch=()=>{const e=this._win;e&&(this._isMouseOrTouchUsedTimer&&e.clearTimeout(this._isMouseOrTouchUsedTimer),this._isMouseOrTouchUsedTimer=e.setTimeout((()=>{delete this._isMouseOrTouchUsedTimer}),1e3)),this.isNavigatingWithKeyboard=!1},this._onKeyDown=e=>{this.isNavigatingWithKeyboard?this._shouldDismissKeyboardNavigation(e)&&this._scheduleDismiss():this._shouldTriggerKeyboardNavigation(e)&&(this.isNavigatingWithKeyboard=!0)},this.id="c"+ ++kI,this._win=e;const n=e.document;if(t){const e=t.triggerKeys,n=t.dismissKeys;(null==e?void 0:e.length)&&(this._triggerKeys=new Set(e)),(null==n?void 0:n.length)&&(this._dismissKeys=new Set(n))}n.addEventListener(xI,this._onFocusIn,!0),n.addEventListener("mousedown",this._onMouseDown,!0),e.addEventListener("keydown",this._onKeyDown,!0),n.addEventListener("touchstart",this._onMouseOrTouch,!0),n.addEventListener("touchend",this._onMouseOrTouch,!0),n.addEventListener("touchcancel",this._onMouseOrTouch,!0),function(e){const t=e;II||(II=function(e){const t=e.HTMLElement,n=t.prototype.focus;let r=!1;return t.prototype.focus=function(){r=!0},e.document.createElement("button").focus(),t.prototype.focus=n,r}(t));const n=t.HTMLElement.prototype.focus;if(n.__keyborgNativeFocus)return;t.HTMLElement.prototype.focus=l;const r=new Set,i=e=>{const t=e.target;if(!t)return;const n=new CustomEvent("keyborg:focusout",{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:e}});t.dispatchEvent(n)},o=e=>{const t=e.target;if(!t)return;let n=e.composedPath()[0];const s=new Set;for(;n;)n.nodeType===Node.DOCUMENT_FRAGMENT_NODE?(s.add(n),n=n.host):n=n.parentNode;for(const e of r){const t=e.deref();t&&s.has(t)||(r.delete(e),t&&(t.removeEventListener("focusin",o,!0),t.removeEventListener("focusout",i,!0)))}a(t,e.relatedTarget||void 0)},a=(e,t,n)=>{var a;const l=e.shadowRoot;if(l){for(const e of r)if(e.deref()===l)return;return l.addEventListener("focusin",o,!0),l.addEventListener("focusout",i,!0),void r.add(new wI(l))}const c={relatedTarget:t,originalEvent:n},u=new CustomEvent(xI,{cancelable:!0,bubbles:!0,composed:!0,detail:c});u.details=c,(II||s.lastFocusedProgrammatically)&&(c.isFocusedProgrammatically=e===(null==(a=s.lastFocusedProgrammatically)?void 0:a.deref()),s.lastFocusedProgrammatically=void 0),e.dispatchEvent(u)},s=t.__keyborgData={focusInHandler:o,focusOutHandler:i,shadowTargets:r};function l(){const e=t.__keyborgData;return e&&(e.lastFocusedProgrammatically=new wI(this)),n.apply(this,arguments)}t.document.addEventListener("focusin",t.__keyborgData.focusInHandler,!0),t.document.addEventListener("focusout",t.__keyborgData.focusOutHandler,!0);let c=t.document.activeElement;for(;c&&c.shadowRoot;)a(c),c=c.shadowRoot.activeElement;l.__keyborgNativeFocus=n}(e)}get isNavigatingWithKeyboard(){return this._isNavigatingWithKeyboard_DO_NOT_USE}set isNavigatingWithKeyboard(e){this._isNavigatingWithKeyboard_DO_NOT_USE!==e&&(this._isNavigatingWithKeyboard_DO_NOT_USE=e,this.update())}dispose(){const e=this._win;if(e){this._isMouseOrTouchUsedTimer&&(e.clearTimeout(this._isMouseOrTouchUsedTimer),this._isMouseOrTouchUsedTimer=void 0),this._dismissTimer&&(e.clearTimeout(this._dismissTimer),this._dismissTimer=void 0),function(e){const t=e,n=t.HTMLElement.prototype,r=n.focus.__keyborgNativeFocus,i=t.__keyborgData;if(i){t.document.removeEventListener("focusin",i.focusInHandler,!0),t.document.removeEventListener("focusout",i.focusOutHandler,!0);for(const e of i.shadowTargets){const t=e.deref();t&&(t.removeEventListener("focusin",i.focusInHandler,!0),t.removeEventListener("focusout",i.focusOutHandler,!0))}i.shadowTargets.clear(),delete t.__keyborgData}r&&(n.focus=r)}(e);const t=e.document;t.removeEventListener(xI,this._onFocusIn,!0),t.removeEventListener("mousedown",this._onMouseDown,!0),e.removeEventListener("keydown",this._onKeyDown,!0),t.removeEventListener("touchstart",this._onMouseOrTouch,!0),t.removeEventListener("touchend",this._onMouseOrTouch,!0),t.removeEventListener("touchcancel",this._onMouseOrTouch,!0),delete this._win}}isDisposed(){return!!this._win}update(){var e,t;const n=null==(t=null==(e=this._win)?void 0:e.__keyborg)?void 0:t.refs;if(n)for(const e of Object.keys(n))_I.update(n[e],this.isNavigatingWithKeyboard)}_shouldTriggerKeyboardNavigation(e){var t;if("Tab"===e.key)return!0;const n=null==(t=this._win)?void 0:t.document.activeElement,r=!this._triggerKeys||this._triggerKeys.has(e.keyCode),i=n&&("INPUT"===n.tagName||"TEXTAREA"===n.tagName||n.isContentEditable);return r&&!i}_shouldDismissKeyboardNavigation(e){var t;return null==(t=this._dismissKeys)?void 0:t.has(e.keyCode)}_scheduleDismiss(){const e=this._win;if(e){this._dismissTimer&&(e.clearTimeout(this._dismissTimer),this._dismissTimer=void 0);const t=e.document.activeElement;this._dismissTimer=e.setTimeout((()=>{this._dismissTimer=void 0;const n=e.document.activeElement;t&&n&&t===n&&(this.isNavigatingWithKeyboard=!1)}),500)}}},_I=class e{constructor(e,t){this._cb=[],this._id="k"+ ++kI,this._win=e;const n=e.__keyborg;n?(this._core=n.core,n.refs[this._id]=this):(this._core=new TI(e,t),e.__keyborg={core:this._core,refs:{[this._id]:this}})}static create(t,n){return new e(t,n)}static dispose(e){e.dispose()}static update(e,t){e._cb.forEach((e=>e(t)))}dispose(){var e;const t=null==(e=this._win)?void 0:e.__keyborg;(null==t?void 0:t.refs[this._id])&&(delete t.refs[this._id],0===Object.keys(t.refs).length&&(t.core.dispose(),delete this._win.__keyborg)),this._cb=[],delete this._core,delete this._win}isNavigatingWithKeyboard(){var e;return!!(null==(e=this._core)?void 0:e.isNavigatingWithKeyboard)}subscribe(e){this._cb.push(e)}unsubscribe(e){const t=this._cb.indexOf(e);t>=0&&this._cb.splice(t,1)}setVal(e){this._core&&(this._core.isNavigatingWithKeyboard=e)}};const PI="data-fui-focus-visible";function DI(e,t){if(BI(e))return()=>{};const n={current:void 0},r=function(e){return _I.create(e,void 0)}(t);function i(e){r.isNavigatingWithKeyboard()&&Px(e)&&(n.current=e,e.setAttribute(PI,""))}function o(){n.current&&(n.current.removeAttribute(PI),n.current=void 0)}r.subscribe((e=>{e||o()}));const a=e=>{o(),i(e.composedPath()[0])},s=t=>{(!t.relatedTarget||Px(t.relatedTarget)&&!e.contains(t.relatedTarget))&&o()};return e.addEventListener(xI,a),e.addEventListener("focusout",s),e.focusVisible=!0,e.contains(t.document.activeElement)&&i(t.document.activeElement),()=>{var t;o(),e.removeEventListener(xI,a),e.removeEventListener("focusout",s),delete e.focusVisible,t=r,_I.dispose(t)}}function BI(e){return!!e&&(!!e.focusVisible||BI(null==e?void 0:e.parentElement))}function RI(e={}){const t=ex(),n=l.useRef(null);var r;const i=null!==(r=e.targetDocument)&&void 0!==r?r:t.targetDocument;return l.useEffect((()=>{if((null==i?void 0:i.defaultView)&&n.current)return DI(n.current,i.defaultView)}),[n,i]),n}const MI="fui-FluentProvider",LI=yx({root:{sj55zd:"f19n0e5",De3pzq:"fxugw4r",fsow6f:["f1o700av","fes3tcz"],Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),OI=c.useInsertionEffect?c.useInsertionEffect:Gw,FI={},NI={},HI=(e,t)=>{const n=ex(),r=l.useContext(vI),i=null!==(o=l.useContext(AI))&&void 0!==o?o:{};var o;const a=l.useContext(aw)||FI,{applyStylesToPortals:s=!0,customStyleHooks_unstable:c,dir:u=n.dir,targetDocument:d=n.targetDocument,theme:p,overrides_unstable:h={}}=e,f=zI(r,p),m=zI(i,h),g=zI(a,c),v=tw();var y;const{styleTagId:b,rule:C}=(e=>{const{targetDocument:t,theme:n,rendererAttributes:r}=e,i=l.useRef(),o=hx(MI),a=r,s=l.useMemo((()=>function(e,t){return t?`${e} { ${Object.keys(t).reduce(((e,n)=>`${e}--${n}: ${t[n]}; `),"")} }`:`${e} {}`}(`.${o}`,n)),[n,o]);return function(e,t){l.useState((()=>{if(!e)return;const n=e.getElementById(t);n&&e.head.append(n)}))}(t,o),OI((()=>{const e=null==t?void 0:t.getElementById(o);return e?i.current=e:(i.current=((e,t)=>{if(!e)return;const n=e.createElement("style");return Object.keys(t).forEach((e=>{n.setAttribute(e,t[e])})),e.head.appendChild(n),n})(t,{...a,id:o}),i.current&&((e,t)=>{const n=e.sheet;n&&(n.cssRules.length>0&&n.deleteRule(0),n.insertRule(t,0))})(i.current,s)),()=>{var e;null===(e=i.current)||void 0===e||e.remove()}}),[o,t,s,a]),{styleTagId:o,rule:s}})({theme:f,targetDocument:d,rendererAttributes:null!==(y=v.styleElementAttributes)&&void 0!==y?y:NI});return{applyStylesToPortals:s,customStyleHooks_unstable:g,dir:u,targetDocument:d,theme:f,overrides_unstable:m,themeClassName:b,components:{root:"div"},root:pw(Tw("div",{...e,dir:u,ref:$w(t,RI({targetDocument:d}))}),{elementType:"div"}),serverStyleProps:{cssRule:C,attributes:{...v.styleElementAttributes,id:b}}}};function zI(e,t){return e&&t?{...e,...t}:e||t}const VI=l.forwardRef(((e,t)=>{const n=HI(e,t);(e=>{const t=tw(),n=LI({dir:e.dir,renderer:t});e.root.className=lx(MI,e.themeClassName,n.root,e.root.className)})(n);const r=function(e){const{applyStylesToPortals:t,customStyleHooks_unstable:n,dir:r,root:i,targetDocument:o,theme:a,themeClassName:s,overrides_unstable:c}=e,u=l.useMemo((()=>({dir:r,targetDocument:o})),[r,o]),[d]=l.useState((()=>({}))),p=l.useMemo((()=>({textDirection:r})),[r]);return{customStyleHooks_unstable:n,overrides_unstable:c,provider:u,textDirection:r,iconDirection:p,tooltip:d,theme:a,themeClassName:t?i.className:s}}(n);return((e,t)=>Mw(Qw,{value:t.provider,children:Mw(yI,{value:t.theme,children:Mw(bI,{value:t.themeClassName,children:Mw(lw,{value:t.customStyleHooks_unstable,children:Mw(CI,{value:t.tooltip,children:Mw(rw,{dir:t.textDirection,children:Mw(vx,{value:t.iconDirection,children:Mw(SI,{value:t.overrides_unstable,children:Lw(e.root,{children:[qw()?null:Mw("style",{dangerouslySetInnerHTML:{__html:e.serverStyleProps.cssRule},...e.serverStyleProps.attributes}),e.root.children]})})})})})})})})}))(n,r)}));VI.displayName="FluentProvider";const UI="var(--colorNeutralForeground1)",jI="var(--colorNeutralForeground3)",WI="var(--colorNeutralForeground3Hover)",$I="var(--colorNeutralBackground1)",qI="var(--colorBrandBackground)",GI="var(--fontSizeBase300)",KI="var(--fontWeightRegular)",YI="var(--lineHeightBase300)",XI=(e,t)=>{const{wrap:n,truncate:r,block:i,italic:o,underline:a,strikethrough:s,size:l,font:c,weight:u,align:d}=e;return{align:null!=d?d:"start",block:null!=i&&i,font:null!=c?c:"base",italic:null!=o&&o,size:null!=l?l:300,strikethrough:null!=s&&s,truncate:null!=r&&r,underline:null!=a&&a,weight:null!=u?u:"regular",wrap:null==n||n,components:{root:"span"},root:pw(Tw("span",{ref:t,...e}),{elementType:"span"})}},ZI=bx({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Bhrd7zp:"figsok6",fsow6f:"fpgzoln",mc9l5x:"f1w7gpdv",Huce71:"f6juhto",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",ygn44y:"f2jf649"},nowrap:{Huce71:"fz5stix",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp"},truncate:{ygn44y:"f1cmbuwj"},block:{mc9l5x:"ftgm304"},italic:{B80ckks:"f1j4dglz"},underline:{w71qe1:"f13mvf36"},strikethrough:{w71qe1:"fv5q2k7"},strikethroughUnderline:{w71qe1:"f1drk4o6"},base100:{Be2twd7:"f13mqy1h",Bg96gwp:"fcpl73t"},base200:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm"},base400:{Be2twd7:"fod5ikn",Bg96gwp:"faaz57k"},base500:{Be2twd7:"f1pp30po",Bg96gwp:"f106mvju"},base600:{Be2twd7:"f1x0m3f5",Bg96gwp:"fb86gi6"},hero700:{Be2twd7:"fojgt09",Bg96gwp:"fcen8rp"},hero800:{Be2twd7:"fccw675",Bg96gwp:"f1ebx5kk"},hero900:{Be2twd7:"f15afnhw",Bg96gwp:"fr3w3wp"},hero1000:{Be2twd7:"fpyltcb",Bg96gwp:"f1ivgwrt"},monospace:{Bahqtrf:"f1fedwem"},numeric:{Bahqtrf:"f1uq0ln5"},weightMedium:{Bhrd7zp:"fdj6btp"},weightSemibold:{Bhrd7zp:"fl43uef"},weightBold:{Bhrd7zp:"flh3ekv"},alignCenter:{fsow6f:"f17mccla"},alignEnd:{fsow6f:"f12ymhq5"},alignJustify:{fsow6f:"f1j59e10"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fpgzoln{text-align:start;}",".f1w7gpdv{display:inline;}",".f6juhto{white-space:normal;}",[".f1gl81tg{overflow:visible;}",{p:-1}],".f2jf649{text-overflow:clip;}",".fz5stix{white-space:nowrap;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],".f1cmbuwj{text-overflow:ellipsis;}",".ftgm304{display:block;}",".f1j4dglz{font-style:italic;}",".f13mvf36{text-decoration-line:underline;}",".fv5q2k7{text-decoration-line:line-through;}",".f1drk4o6{text-decoration-line:line-through underline;}",".f13mqy1h{font-size:var(--fontSizeBase100);}",".fcpl73t{line-height:var(--lineHeightBase100);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f106mvju{line-height:var(--lineHeightBase500);}",".f1x0m3f5{font-size:var(--fontSizeBase600);}",".fb86gi6{line-height:var(--lineHeightBase600);}",".fojgt09{font-size:var(--fontSizeHero700);}",".fcen8rp{line-height:var(--lineHeightHero700);}",".fccw675{font-size:var(--fontSizeHero800);}",".f1ebx5kk{line-height:var(--lineHeightHero800);}",".f15afnhw{font-size:var(--fontSizeHero900);}",".fr3w3wp{line-height:var(--lineHeightHero900);}",".fpyltcb{font-size:var(--fontSizeHero1000);}",".f1ivgwrt{line-height:var(--lineHeightHero1000);}",".f1fedwem{font-family:var(--fontFamilyMonospace);}",".f1uq0ln5{font-family:var(--fontFamilyNumeric);}",".fdj6btp{font-weight:var(--fontWeightMedium);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".flh3ekv{font-weight:var(--fontWeightBold);}",".f17mccla{text-align:center;}",".f12ymhq5{text-align:end;}",".f1j59e10{text-align:justify;}"]}),JI=e=>{const t=ZI();return e.root.className=lx("fui-Text",t.root,!1===e.wrap&&t.nowrap,e.truncate&&t.truncate,e.block&&t.block,e.italic&&t.italic,e.underline&&t.underline,e.strikethrough&&t.strikethrough,e.underline&&e.strikethrough&&t.strikethroughUnderline,100===e.size&&t.base100,200===e.size&&t.base200,400===e.size&&t.base400,500===e.size&&t.base500,600===e.size&&t.base600,700===e.size&&t.hero700,800===e.size&&t.hero800,900===e.size&&t.hero900,1e3===e.size&&t.hero1000,"monospace"===e.font&&t.monospace,"numeric"===e.font&&t.numeric,"medium"===e.weight&&t.weightMedium,"semibold"===e.weight&&t.weightSemibold,"bold"===e.weight&&t.weightBold,"center"===e.align&&t.alignCenter,"end"===e.align&&t.alignEnd,"justify"===e.align&&t.alignJustify,e.root.className),e},QI=e=>Mw(e.root,{});function ek(e){const{useStyles:t,className:n,displayName:r}=e,i=l.forwardRef(((e,r)=>{const i=t(),o=XI(e,r);return JI(o),o.root.className=lx(n,o.root.className,i.root,e.className),QI(o)}));return i.displayName=r,i}const tk=ek({useStyles:bx({root:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"flh3ekv",Bg96gwp:"fwrc4pm"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".flh3ekv{font-weight:var(--fontWeightBold);}",".fwrc4pm{line-height:var(--lineHeightBase200);}"]}),className:"fui-Caption1Stronger",displayName:"Caption1Stronger"}),nk=ek({useStyles:bx({root:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}"]}),className:"fui-Caption1",displayName:"Caption1"}),rk=["Top","Right","Bottom","Left"];function ik(e,t,...n){const[r,i=r,o=r,a=i]=n,s=[r,i,o,a],l={};for(let n=0;n<s.length;n+=1)(s[n]||0===s[n])&&(l[e+rk[n]+t]=s[n]);return l}function ok(...e){return ik("border","Width",...e)}function ak(...e){return ik("border","Style",...e)}function sk(...e){return ik("border","Color",...e)}const lk=["none","hidden","dotted","dashed","solid","double","groove","ridge","inset","outset"];function ck(e){return lk.includes(e)}const uk=e=>"number"==typeof e&&!Number.isNaN(e),dk=e=>"auto"===e,pk=["content","fit-content","max-content","min-content"],hk=e=>pk.some((t=>e===t))||(e=>"string"==typeof e&&/(\d+(\w+|%))/.test(e))(e),fk=/var\(.*\)/gi,mk=/^[a-zA-Z0-9\-_\\#;]+$/,gk=/^-moz-initial$|^auto$|^initial$|^inherit$|^revert$|^unset$|^span \d+$|^\d.*/;function vk(e){return void 0!==e&&"string"==typeof e&&mk.test(e)&&!gk.test(e)}const yk=["-moz-initial","inherit","initial","revert","unset"],bk=["dashed","dotted","double","solid","wavy"],Ck={border:function(...e){return ck(e[0])?Object.assign({},ak(e[0]),e[1]&&ok(e[1]),e[2]&&sk(e[2])):Object.assign({},ok(e[0]),e[1]&&ak(e[1]),e[2]&&sk(e[2]))},borderLeft:function(...e){return ck(e[0])?Object.assign({borderLeftStyle:e[0]},e[1]&&{borderLeftWidth:e[1]},e[2]&&{borderLeftColor:e[2]}):Object.assign({borderLeftWidth:e[0]},e[1]&&{borderLeftStyle:e[1]},e[2]&&{borderLeftColor:e[2]})},borderBottom:function(...e){return ck(e[0])?Object.assign({borderBottomStyle:e[0]},e[1]&&{borderBottomWidth:e[1]},e[2]&&{borderBottomColor:e[2]}):Object.assign({borderBottomWidth:e[0]},e[1]&&{borderBottomStyle:e[1]},e[2]&&{borderBottomColor:e[2]})},borderRight:function(...e){return ck(e[0])?Object.assign({borderRightStyle:e[0]},e[1]&&{borderRightWidth:e[1]},e[2]&&{borderRightColor:e[2]}):Object.assign({borderRightWidth:e[0]},e[1]&&{borderRightStyle:e[1]},e[2]&&{borderRightColor:e[2]})},borderTop:function(...e){return ck(e[0])?Object.assign({borderTopStyle:e[0]},e[1]&&{borderTopWidth:e[1]},e[2]&&{borderTopColor:e[2]}):Object.assign({borderTopWidth:e[0]},e[1]&&{borderTopStyle:e[1]},e[2]&&{borderTopColor:e[2]})},borderColor:sk,borderStyle:ak,borderRadius:function(e,t=e,n=e,r=t){return{borderBottomRightRadius:n,borderBottomLeftRadius:r,borderTopRightRadius:t,borderTopLeftRadius:e}},borderWidth:ok,flex:function(...e){const t=1===e.length,n=2===e.length,r=3===e.length;if(t){const[t]=e;if((e=>"initial"===e)(t))return{flexGrow:0,flexShrink:1,flexBasis:"auto"};if(dk(t))return{flexGrow:1,flexShrink:1,flexBasis:"auto"};if((e=>"none"===e)(t))return{flexGrow:0,flexShrink:0,flexBasis:"auto"};if(uk(t))return{flexGrow:t,flexShrink:1,flexBasis:0};if(hk(t))return{flexGrow:1,flexShrink:1,flexBasis:t}}if(n){const[t,n]=e;if(uk(n))return{flexGrow:t,flexShrink:n,flexBasis:0};if(hk(n))return{flexGrow:t,flexShrink:1,flexBasis:n}}if(r){const[t,n,r]=e;if(uk(t)&&uk(n)&&(dk(r)||hk(r)))return{flexGrow:t,flexShrink:n,flexBasis:r}}return{}},gap:function(e,t=e){return{columnGap:e,rowGap:t}},gridArea:function(...e){if(e.some((e=>!function(e){return void 0===e||"number"==typeof e||"string"==typeof e&&!fk.test(e)}(e))))return{};const t=void 0!==e[0]?e[0]:"auto",n=void 0!==e[1]?e[1]:vk(t)?t:"auto";return{gridRowStart:t,gridColumnStart:n,gridRowEnd:void 0!==e[2]?e[2]:vk(t)?t:"auto",gridColumnEnd:void 0!==e[3]?e[3]:vk(n)?n:"auto"}},margin:function(...e){return ik("margin","",...e)},marginBlock:function(e,t=e){return{marginBlockStart:e,marginBlockEnd:t}},marginInline:function(e,t=e){return{marginInlineStart:e,marginInlineEnd:t}},padding:function(...e){return ik("padding","",...e)},paddingBlock:function(e,t=e){return{paddingBlockStart:e,paddingBlockEnd:t}},paddingInline:function(e,t=e){return{paddingInlineStart:e,paddingInlineEnd:t}},overflow:function(e,t=e){return{overflowX:e,overflowY:t}},inset:function(...e){const[t,n=t,r=t,i=n]=e;return{top:t,right:n,bottom:r,left:i}},outline:function(e,t,n){return Object.assign({outlineWidth:e},t&&{outlineStyle:t},n&&{outlineColor:n})},transition:function(...e){return function(e){return 1===e.length&&yk.includes(e[0])}(e)?{transitionDelay:e[0],transitionDuration:e[0],transitionProperty:e[0],transitionTimingFunction:e[0]}:(t=e,1===t.length&&Array.isArray(t[0])?t[0]:[t]).reduce(((e,[t,n="0s",r="0s",i="ease"],o)=>(0===o?(e.transitionProperty=t,e.transitionDuration=n,e.transitionDelay=r,e.transitionTimingFunction=i):(e.transitionProperty+=`, ${t}`,e.transitionDuration+=`, ${n}`,e.transitionDelay+=`, ${r}`,e.transitionTimingFunction+=`, ${i}`),e)),{});var t},textDecoration:function(e,...t){if(0===t.length)return function(e){return bk.includes(e)}(e)?{textDecorationStyle:e}:{textDecorationLine:e};const[n,r,i]=t;return Object.assign({textDecorationLine:e},n&&{textDecorationStyle:n},r&&{textDecorationColor:r},i&&{textDecorationThickness:i})}},Ak=Sx("Video20Regular","20",["M5 4a3 3 0 0 0-3 3v6a3 3 0 0 0 3 3h5a3 3 0 0 0 3-3v-.32l3.04 2.1c.83.57 1.96-.03 1.96-1.03v-7.5c0-1-1.13-1.6-1.96-1.03L13 7.32V7a3 3 0 0 0-3-3H5Zm8 4.54 3.6-2.5c.17-.1.4.01.4.21v7.5c0 .2-.23.32-.4.2L13 11.46V8.54ZM3 7c0-1.1.9-2 2-2h5a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7Z"]),Sk=Sx("Warning20Filled","20",["M8.68 2.79a1.5 1.5 0 0 1 2.64 0l6.5 12A1.5 1.5 0 0 1 16.5 17h-13a1.5 1.5 0 0 1-1.32-2.21l6.5-12ZM10.5 7.5a.5.5 0 0 0-1 0v4a.5.5 0 0 0 1 0v-4Zm.25 6.25a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Z"]),Ek=Sx("Dismiss16Regular","16",["m2.59 2.72.06-.07a.5.5 0 0 1 .63-.06l.07.06L8 7.29l4.65-4.64a.5.5 0 0 1 .7.7L8.71 8l4.64 4.65c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L8 8.71l-4.65 4.64a.5.5 0 0 1-.7-.7L7.29 8 2.65 3.35a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"]),wk=Sx("Dismiss20Filled","20",["m3.9 4.05.07-.08a.75.75 0 0 1 .98-.07l.08.07L10 8.94l4.97-4.97a.75.75 0 0 1 .98-.07l.08.07c.27.27.3.68.07.98l-.07.08L11.06 10l4.97 4.97c.27.27.3.68.07.98l-.07.08a.75.75 0 0 1-.98.07l-.08-.07L10 11.06l-4.97 4.97a.75.75 0 0 1-.98.07l-.08-.07a.75.75 0 0 1-.07-.98l.07-.08L8.94 10 3.97 5.03a.75.75 0 0 1-.07-.98l.07-.08-.07.08Z"]),xk=({reason:e,hubUiService:t,webStorageApiService:n})=>{const r=t.getErrorUiData(e),i=Ik();console.log("failed reason:",e);const[o,a]=l.useState((()=>{try{return"true"!==n.getValue(e)}catch(e){return!0}}));return o?l.createElement(VI,null,l.createElement("div",{id:"hubBubbleErrorUI",style:{display:o?"flex":"none"},className:i.root},l.createElement("div",{className:i.contentContainer},l.createElement(Sk,{className:i.warning,color:"var(--colorStatusWarningBackground3)"}),l.createElement("div",{className:i.textContainer},l.createElement(tk,null,r.localizedErrorStrings.bubbleHeading),l.createElement(nk,null,r.localizedErrorStrings.bubbleSubtitle)),l.createElement(wk,{className:i.dismiss,"aria-label":"Dismiss warning bubble",onClick:()=>{try{n.setValue(e,"true")}catch(e){console.warn("Failed to persist error banner dismiss state:",e)}a(!1)}})),l.createElement("div",{className:i.buttonContainer},r.openDesktopApp&&l.createElement(fI,{"aria-label":r.localizedErrorStrings.openInDesktopAltText,onClick:()=>{var e;return null===(e=r.openDesktopApp)||void 0===e?void 0:e.call(r)}},r.localizedErrorStrings.openInDesktopButtonTitle),r.openBrowser&&l.createElement(fI,{"aria-label":r.localizedErrorStrings.openInWebBrowserAltText,onClick:()=>{var e;return null===(e=r.openBrowser)||void 0===e?void 0:e.call(r)}},r.localizedErrorStrings.openInWebBrowserButtonTitle),r.openLegacyUrl&&l.createElement(fI,{"aria-label":r.localizedErrorStrings.openInLegacyBrowserAltText,onClick:()=>{var e;return null===(e=r.openLegacyUrl)||void 0===e?void 0:e.call(r)}},r.localizedErrorStrings.openInLegacyBrowserButtonTitle)))):null},Ik=ow({root:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({display:"flex",flexDirection:"column",alignItems:"center",textAlign:"center",rowGap:"1em",backgroundColor:"var(--colorStatusWarningBackground1)"},Ck.border("1px","solid","var(--colorStatusWarningBorder1)")),Ck.padding("1em")),Ck.borderRadius("0")),{position:"relative"}),Ck.inset("0")),Ck.margin("0")),contentContainer:{width:"100%",display:"flex",flexDirection:"row",justifyContent:"space-between"},textContainer:Object.assign(Object.assign(Object.assign({},Ck.margin("0","1em")),Ck.gap("0.5em")),{display:"flex",textAlign:"start"}),buttonContainer:Object.assign({display:"flex",marginLeft:"auto"},Ck.gap("1em")),warning:{minWidth:"2em"},dismiss:{minWidth:"2em",marginLeft:"auto"}}),kk=bx({base:{g2u3we:"fj3muxo",h3c5rm:["f1akhkt","f1lxtadh"],B9xav0g:"f1aperda",zhjwy3:["f1lxtadh","f1akhkt"],Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw",B7ck84d:"f1ewtqcl",mc9l5x:"f14t3ns0"},bordered:{icvyot:"fzkkow9",vrafjx:["fcdblym","fjik90z"],oivjwe:"fg706s2",wvpqe5:["fjik90z","fcdblym"],B4j52fo:"f192inf7",Bekrc4i:["f5tn483","f1ojsxk5"],Bn0qgzm:"f1vxd6vx",ibv6hh:["f1ojsxk5","f5tn483"]},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"},rounded:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},square:{},shadow:{E5pizo:"f1whvlc6"},center:{st4lth:"f1plgu50",Ermj5k:"f14xojzb",Bqenvij:"f1l02sjl",a9b677:"fly5x3f"},contain:{st4lth:"f1kle4es",Ermj5k:"f14xojzb",Bqenvij:"f1l02sjl",a9b677:"fly5x3f"},default:{},cover:{st4lth:"f1ps3kmd",Ermj5k:"f14xojzb",Bqenvij:"f1l02sjl",a9b677:"fly5x3f"},none:{st4lth:"f1plgu50",Ermj5k:["f13uwng7","fjmyj0p"],Bqenvij:"f1l02sjl",a9b677:"fly5x3f"},block:{a9b677:"fly5x3f"}},{d:[".fj3muxo{border-top-color:var(--colorNeutralStroke1);}",".f1akhkt{border-right-color:var(--colorNeutralStroke1);}",".f1lxtadh{border-left-color:var(--colorNeutralStroke1);}",".f1aperda{border-bottom-color:var(--colorNeutralStroke1);}",[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".f14t3ns0{display:inline-block;}",".fzkkow9{border-top-style:solid;}",".fcdblym{border-right-style:solid;}",".fjik90z{border-left-style:solid;}",".fg706s2{border-bottom-style:solid;}",".f192inf7{border-top-width:var(--strokeWidthThin);}",".f5tn483{border-right-width:var(--strokeWidthThin);}",".f1ojsxk5{border-left-width:var(--strokeWidthThin);}",".f1vxd6vx{border-bottom-width:var(--strokeWidthThin);}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1whvlc6{box-shadow:var(--shadow4);}",".f1plgu50{object-fit:none;}",".f14xojzb{object-position:center;}",".f1l02sjl{height:100%;}",".fly5x3f{width:100%;}",".f1kle4es{object-fit:contain;}",".f1ps3kmd{object-fit:cover;}",".f13uwng7{object-position:left top;}",".fjmyj0p{object-position:right top;}"]}),Tk=l.forwardRef(((e,t)=>{const n=((e,t)=>{const{bordered:n=!1,fit:r="default",block:i=!1,shape:o="square",shadow:a=!1}=e;return{bordered:n,fit:r,block:i,shape:o,shadow:a,components:{root:"img"},root:pw(Tw("img",{ref:t,...e}),{elementType:"img"})}})(e,t);return(e=>{const t=kk();e.root.className=lx("fui-Image",t.base,e.block&&t.block,e.bordered&&t.bordered,e.shadow&&t.shadow,t[e.fit],t[e.shape],e.root.className)})(n),cw("useImageStyles_unstable")(n),(e=>Mw(e.root,{}))(n)}));Tk.displayName="Image";const _k=ek({useStyles:bx({root:{Bahqtrf:"fk6fouc",Be2twd7:"fccw675",Bhrd7zp:"fl43uef",Bg96gwp:"f1ebx5kk"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fccw675{font-size:var(--fontSizeHero800);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".f1ebx5kk{line-height:var(--lineHeightHero800);}"]}),className:"fui-Title1",displayName:"Title1"}),Pk=ek({useStyles:bx({root:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".figsok6{font-weight:var(--fontWeightRegular);}",".faaz57k{line-height:var(--lineHeightBase400);}"]}),className:"fui-Body2",displayName:"Body2"}),Dk=Sx("Alert20Regular","20",["M10 2a5.92 5.92 0 0 1 5.98 5.36l.02.22V11.4l.92 2.22a1 1 0 0 1 .06.17l.01.08.01.13a1 1 0 0 1-.75.97l-.11.02L16 15h-3.5v.17a2.5 2.5 0 0 1-5 0V15H4a1 1 0 0 1-.26-.03l-.13-.04a1 1 0 0 1-.6-1.05l.02-.13.05-.13L4 11.4V7.57A5.9 5.9 0 0 1 10 2Zm1.5 13h-3v.15a1.5 1.5 0 0 0 1.36 1.34l.14.01c.78 0 1.42-.6 1.5-1.36V15ZM10 3a4.9 4.9 0 0 0-4.98 4.38L5 7.6V11.5l-.04.2L4 14h12l-.96-2.3-.04-.2V7.61A4.9 4.9 0 0 0 10 3Z"]),Bk=Sx("ArrowClockwise20Regular","20",["M4 10a6 6 0 0 1 10.47-4H12.5a.5.5 0 0 0 0 1h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-1 0v1.6a7 7 0 1 0 1.98 4.36.5.5 0 1 0-1 .08L16 10a6 6 0 0 1-12 0Z"]),Rk=({reason:e,hubUiService:t})=>{var n,r,i,o,a;const s=Mk(),c=t.getErrorUiData(e);return l.createElement(VI,{id:"hubErrorUi",className:s.root},l.createElement("div",{className:s.imageContainer,"aria-label":null===(n=c.errorImage)||void 0===n?void 0:n.altText},"string"==typeof(null===(r=c.errorImage)||void 0===r?void 0:r.image)?l.createElement(Tk,{src:null===(i=c.errorImage)||void 0===i?void 0:i.image,alt:null===(o=c.errorImage)||void 0===o?void 0:o.altText}):null===(a=c.errorImage)||void 0===a?void 0:a.image),l.createElement(_k,null,c.localizedErrorStrings.errorHeading),l.createElement(Pk,null,c.localizedErrorStrings.errorSubtitle),l.createElement("div",{className:s.buttonContainer},c.openDesktopApp&&l.createElement(fI,{"aria-label":c.localizedErrorStrings.openInDesktopAltText||c.localizedErrorStrings.openInDesktopButtonTitle,appearance:"primary",onClick:()=>{var e;return null===(e=c.openDesktopApp)||void 0===e?void 0:e.call(c)}},c.localizedErrorStrings.openInDesktopButtonTitle||c.localizedErrorStrings.openInDesktopAltText),c.openBrowser&&l.createElement(fI,{"aria-label":c.localizedErrorStrings.openInWebBrowserAltText||c.localizedErrorStrings.openInWebBrowserButtonTitle,onClick:()=>{var e;return null===(e=c.openBrowser)||void 0===e?void 0:e.call(c)}},c.localizedErrorStrings.openInWebBrowserButtonTitle),c.openLegacyUrl&&l.createElement(fI,{"aria-label":c.localizedErrorStrings.openInLegacyBrowserAltText||c.localizedErrorStrings.openInLegacyBrowserButtonTitle,onClick:()=>{var e;return null===(e=c.openLegacyUrl)||void 0===e?void 0:e.call(c)}},c.localizedErrorStrings.openInLegacyBrowserButtonTitle),c.retry&&l.createElement(fI,{appearance:"transparent",icon:l.createElement(Bk,null),"aria-label":c.localizedErrorStrings.retryButtonAltText||c.localizedErrorStrings.retryButtonTitle,onClick:c.retry},c.localizedErrorStrings.retryButtonTitle)))},Mk=ow({root:{display:"flex",height:"100%",width:"100%",flexDirection:"column",alignItems:"center",justifyContent:"center",textAlign:"center",rowGap:"1em"},buttonContainer:{marginTop:"2em",display:"flex",rowGap:".5em",flexDirection:"column",alignItems:"center","> button":{width:"100%"}},imageContainer:{width:"auto",maxHeight:"33%"}});let Lk;const Ok=Date.now();var Fk=i(221);const Nk={};function Hk(e,t){"string"!=typeof t&&(t=Hk.defaultChars);const n=function(e){let t=Nk[e];if(t)return t;t=Nk[e]=[];for(let e=0;e<128;e++){const n=String.fromCharCode(e);t.push(n)}for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);t[r]="%"+("0"+r.toString(16).toUpperCase()).slice(-2)}return t}(t);return e.replace(/(%[a-f0-9]{2})+/gi,(function(e){let t="";for(let r=0,i=e.length;r<i;r+=3){const o=parseInt(e.slice(r+1,r+3),16);if(o<128)t+=n[o];else{if(192==(224&o)&&r+3<i){const n=parseInt(e.slice(r+4,r+6),16);if(128==(192&n)){const e=o<<6&1984|63&n;t+=e<128?"��":String.fromCharCode(e),r+=3;continue}}if(224==(240&o)&&r+6<i){const n=parseInt(e.slice(r+4,r+6),16),i=parseInt(e.slice(r+7,r+9),16);if(128==(192&n)&&128==(192&i)){const e=o<<12&61440|n<<6&4032|63&i;t+=e<2048||e>=55296&&e<=57343?"���":String.fromCharCode(e),r+=6;continue}}if(240==(248&o)&&r+9<i){const n=parseInt(e.slice(r+4,r+6),16),i=parseInt(e.slice(r+7,r+9),16),a=parseInt(e.slice(r+10,r+12),16);if(128==(192&n)&&128==(192&i)&&128==(192&a)){let e=o<<18&1835008|n<<12&258048|i<<6&4032|63&a;e<65536||e>1114111?t+="����":(e-=65536,t+=String.fromCharCode(55296+(e>>10),56320+(1023&e))),r+=9;continue}}t+="�"}}return t}))}Hk.defaultChars=";/?:@&=+$,#",Hk.componentChars="";const zk=Hk,Vk={};function Uk(e,t,n){"string"!=typeof t&&(n=t,t=Uk.defaultChars),void 0===n&&(n=!0);const r=function(e){let t=Vk[e];if(t)return t;t=Vk[e]=[];for(let e=0;e<128;e++){const n=String.fromCharCode(e);/^[0-9a-z]$/i.test(n)?t.push(n):t.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<e.length;n++)t[e.charCodeAt(n)]=e[n];return t}(t);let i="";for(let t=0,o=e.length;t<o;t++){const a=e.charCodeAt(t);if(n&&37===a&&t+2<o&&/^[0-9a-f]{2}$/i.test(e.slice(t+1,t+3)))i+=e.slice(t,t+3),t+=2;else if(a<128)i+=r[a];else if(a>=55296&&a<=57343){if(a>=55296&&a<=56319&&t+1<o){const n=e.charCodeAt(t+1);if(n>=56320&&n<=57343){i+=encodeURIComponent(e[t]+e[t+1]),t++;continue}}i+="%EF%BF%BD"}else i+=encodeURIComponent(e[t])}return i}Uk.defaultChars=";/?:@&=+$,-_.!~*'()#",Uk.componentChars="-_.!~*'()";const jk=Uk;function Wk(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function $k(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const qk=/^([a-z0-9.+-]+:)/i,Gk=/:[0-9]*$/,Kk=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Yk=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),Xk=["'"].concat(Yk),Zk=["%","/","?",";","#"].concat(Xk),Jk=["/","?","#"],Qk=/^[+a-z0-9A-Z_-]{0,63}$/,eT=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,tT={javascript:!0,"javascript:":!0},nT={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};$k.prototype.parse=function(e,t){let n,r,i,o=e;if(o=o.trim(),!t&&1===e.split("#").length){const e=Kk.exec(o);if(e)return this.pathname=e[1],e[2]&&(this.search=e[2]),this}let a=qk.exec(o);if(a&&(a=a[0],n=a.toLowerCase(),this.protocol=a,o=o.substr(a.length)),(t||a||o.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i="//"===o.substr(0,2),!i||a&&tT[a]||(o=o.substr(2),this.slashes=!0)),!tT[a]&&(i||a&&!nT[a])){let e,t,n=-1;for(let e=0;e<Jk.length;e++)r=o.indexOf(Jk[e]),-1!==r&&(-1===n||r<n)&&(n=r);t=-1===n?o.lastIndexOf("@"):o.lastIndexOf("@",n),-1!==t&&(e=o.slice(0,t),o=o.slice(t+1),this.auth=e),n=-1;for(let e=0;e<Zk.length;e++)r=o.indexOf(Zk[e]),-1!==r&&(-1===n||r<n)&&(n=r);-1===n&&(n=o.length),":"===o[n-1]&&n--;const i=o.slice(0,n);o=o.slice(n),this.parseHost(i),this.hostname=this.hostname||"";const a="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!a){const e=this.hostname.split(/\./);for(let t=0,n=e.length;t<n;t++){const n=e[t];if(n&&!n.match(Qk)){let r="";for(let e=0,t=n.length;e<t;e++)n.charCodeAt(e)>127?r+="x":r+=n[e];if(!r.match(Qk)){const r=e.slice(0,t),i=e.slice(t+1),a=n.match(eT);a&&(r.push(a[1]),i.unshift(a[2])),i.length&&(o=i.join(".")+o),this.hostname=r.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),a&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const s=o.indexOf("#");-1!==s&&(this.hash=o.substr(s),o=o.slice(0,s));const l=o.indexOf("?");return-1!==l&&(this.search=o.substr(l),o=o.slice(0,l)),o&&(this.pathname=o),nT[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this},$k.prototype.parseHost=function(e){let t=Gk.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};const rT=function(e,t){if(e&&e instanceof $k)return e;const n=new $k;return n.parse(e,t),n},iT=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,oT=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,aT=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,sT=/[\0-\x1F\x7F-\x9F]/,lT=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,cT=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,uT=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((e=>e.charCodeAt(0)))),dT=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e=>e.charCodeAt(0))));var pT;const hT=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),fT=null!==(pT=String.fromCodePoint)&&void 0!==pT?pT:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e),t};var mT,gT,vT,yT,bT;function CT(e){return e>=mT.ZERO&&e<=mT.NINE}!function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(mT||(mT={})),function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(gT||(gT={})),function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(vT||(vT={})),(bT=yT||(yT={}))[bT.Legacy=0]="Legacy",bT[bT.Strict=1]="Strict",bT[bT.Attribute=2]="Attribute";class AT{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=vT.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=yT.Strict}startEntity(e){this.decodeMode=e,this.state=vT.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case vT.EntityStart:return e.charCodeAt(t)===mT.NUM?(this.state=vT.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=vT.NamedEntity,this.stateNamedEntity(e,t));case vT.NumericStart:return this.stateNumericStart(e,t);case vT.NumericDecimal:return this.stateNumericDecimal(e,t);case vT.NumericHex:return this.stateNumericHex(e,t);case vT.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===mT.LOWER_X?(this.state=vT.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=vT.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){const i=n-t;this.result=this.result*Math.pow(r,i)+parseInt(e.substr(t,i),r),this.consumed+=i}}stateNumericHex(e,t){const n=t;for(;t<e.length;){const i=e.charCodeAt(t);if(!(CT(i)||(r=i,r>=mT.UPPER_A&&r<=mT.UPPER_F||r>=mT.LOWER_A&&r<=mT.LOWER_F)))return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(i,3);t+=1}var r;return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){const n=t;for(;t<e.length;){const r=e.charCodeAt(t);if(!CT(r))return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2);t+=1}return this.addToNumericResult(e,n,t,10),-1}emitNumericEntity(e,t){var n;if(this.consumed<=t)return null===(n=this.errors)||void 0===n||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===mT.SEMI)this.consumed+=1;else if(this.decodeMode===yT.Strict)return 0;return this.emitCodePoint(function(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=hT.get(e))&&void 0!==t?t:e}(this.result),this.consumed),this.errors&&(e!==mT.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){const{decodeTree:n}=this;let r=n[this.treeIndex],i=(r&gT.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){const a=e.charCodeAt(t);if(this.treeIndex=ET(n,r,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return 0===this.result||this.decodeMode===yT.Attribute&&(0===i||((o=a)===mT.EQUALS||function(e){return e>=mT.UPPER_A&&e<=mT.UPPER_Z||e>=mT.LOWER_A&&e<=mT.LOWER_Z||CT(e)}(o)))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],i=(r&gT.VALUE_LENGTH)>>14,0!==i){if(a===mT.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==yT.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}var o;return-1}emitNotTerminatedNamedEntity(){var e;const{result:t,decodeTree:n}=this,r=(n[t]&gT.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){const{decodeTree:r}=this;return this.emitCodePoint(1===t?r[e]&~gT.VALUE_LENGTH:r[e+1],n),3===t&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case vT.NamedEntity:return 0===this.result||this.decodeMode===yT.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case vT.NumericDecimal:return this.emitNumericEntity(0,2);case vT.NumericHex:return this.emitNumericEntity(0,3);case vT.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case vT.EntityStart:return 0}}}function ST(e){let t="";const n=new AT(e,(e=>t+=fT(e)));return function(e,r){let i=0,o=0;for(;(o=e.indexOf("&",o))>=0;){t+=e.slice(i,o),n.startEntity(r);const a=n.write(e,o+1);if(a<0){i=o+n.end();break}i=o+a,o=0===a?i+1:i}const a=t+e.slice(i);return t="",a}}function ET(e,t,n,r){const i=(t&gT.BRANCH_LENGTH)>>7,o=t&gT.JUMP_TABLE;if(0===i)return 0!==o&&r===o?n:-1;if(o){const t=r-o;return t<0||t>=i?-1:e[n+t]-1}let a=n,s=a+i-1;for(;a<=s;){const t=a+s>>>1,n=e[t];if(n<r)a=t+1;else{if(!(n>r))return e[t+i];s=t-1}}return-1}const wT=ST(uT);function xT(e,t=yT.Legacy){return wT(e,t)}function IT(e){for(let t=1;t<e.length;t++)e[t][0]+=e[t-1][0]+1;return e}ST(dT),new Map(IT([[9,"&Tab;"],[0,"&NewLine;"],[22,"&excl;"],[0,"&quot;"],[0,"&num;"],[0,"&dollar;"],[0,"&percnt;"],[0,"&amp;"],[0,"&apos;"],[0,"&lpar;"],[0,"&rpar;"],[0,"&ast;"],[0,"&plus;"],[0,"&comma;"],[1,"&period;"],[0,"&sol;"],[10,"&colon;"],[0,"&semi;"],[0,{v:"&lt;",n:8402,o:"&nvlt;"}],[0,{v:"&equals;",n:8421,o:"&bne;"}],[0,{v:"&gt;",n:8402,o:"&nvgt;"}],[0,"&quest;"],[0,"&commat;"],[26,"&lbrack;"],[0,"&bsol;"],[0,"&rbrack;"],[0,"&Hat;"],[0,"&lowbar;"],[0,"&DiacriticalGrave;"],[5,{n:106,o:"&fjlig;"}],[20,"&lbrace;"],[0,"&verbar;"],[0,"&rbrace;"],[34,"&nbsp;"],[0,"&iexcl;"],[0,"&cent;"],[0,"&pound;"],[0,"&curren;"],[0,"&yen;"],[0,"&brvbar;"],[0,"&sect;"],[0,"&die;"],[0,"&copy;"],[0,"&ordf;"],[0,"&laquo;"],[0,"&not;"],[0,"&shy;"],[0,"&circledR;"],[0,"&macr;"],[0,"&deg;"],[0,"&PlusMinus;"],[0,"&sup2;"],[0,"&sup3;"],[0,"&acute;"],[0,"&micro;"],[0,"&para;"],[0,"&centerdot;"],[0,"&cedil;"],[0,"&sup1;"],[0,"&ordm;"],[0,"&raquo;"],[0,"&frac14;"],[0,"&frac12;"],[0,"&frac34;"],[0,"&iquest;"],[0,"&Agrave;"],[0,"&Aacute;"],[0,"&Acirc;"],[0,"&Atilde;"],[0,"&Auml;"],[0,"&angst;"],[0,"&AElig;"],[0,"&Ccedil;"],[0,"&Egrave;"],[0,"&Eacute;"],[0,"&Ecirc;"],[0,"&Euml;"],[0,"&Igrave;"],[0,"&Iacute;"],[0,"&Icirc;"],[0,"&Iuml;"],[0,"&ETH;"],[0,"&Ntilde;"],[0,"&Ograve;"],[0,"&Oacute;"],[0,"&Ocirc;"],[0,"&Otilde;"],[0,"&Ouml;"],[0,"&times;"],[0,"&Oslash;"],[0,"&Ugrave;"],[0,"&Uacute;"],[0,"&Ucirc;"],[0,"&Uuml;"],[0,"&Yacute;"],[0,"&THORN;"],[0,"&szlig;"],[0,"&agrave;"],[0,"&aacute;"],[0,"&acirc;"],[0,"&atilde;"],[0,"&auml;"],[0,"&aring;"],[0,"&aelig;"],[0,"&ccedil;"],[0,"&egrave;"],[0,"&eacute;"],[0,"&ecirc;"],[0,"&euml;"],[0,"&igrave;"],[0,"&iacute;"],[0,"&icirc;"],[0,"&iuml;"],[0,"&eth;"],[0,"&ntilde;"],[0,"&ograve;"],[0,"&oacute;"],[0,"&ocirc;"],[0,"&otilde;"],[0,"&ouml;"],[0,"&div;"],[0,"&oslash;"],[0,"&ugrave;"],[0,"&uacute;"],[0,"&ucirc;"],[0,"&uuml;"],[0,"&yacute;"],[0,"&thorn;"],[0,"&yuml;"],[0,"&Amacr;"],[0,"&amacr;"],[0,"&Abreve;"],[0,"&abreve;"],[0,"&Aogon;"],[0,"&aogon;"],[0,"&Cacute;"],[0,"&cacute;"],[0,"&Ccirc;"],[0,"&ccirc;"],[0,"&Cdot;"],[0,"&cdot;"],[0,"&Ccaron;"],[0,"&ccaron;"],[0,"&Dcaron;"],[0,"&dcaron;"],[0,"&Dstrok;"],[0,"&dstrok;"],[0,"&Emacr;"],[0,"&emacr;"],[2,"&Edot;"],[0,"&edot;"],[0,"&Eogon;"],[0,"&eogon;"],[0,"&Ecaron;"],[0,"&ecaron;"],[0,"&Gcirc;"],[0,"&gcirc;"],[0,"&Gbreve;"],[0,"&gbreve;"],[0,"&Gdot;"],[0,"&gdot;"],[0,"&Gcedil;"],[1,"&Hcirc;"],[0,"&hcirc;"],[0,"&Hstrok;"],[0,"&hstrok;"],[0,"&Itilde;"],[0,"&itilde;"],[0,"&Imacr;"],[0,"&imacr;"],[2,"&Iogon;"],[0,"&iogon;"],[0,"&Idot;"],[0,"&imath;"],[0,"&IJlig;"],[0,"&ijlig;"],[0,"&Jcirc;"],[0,"&jcirc;"],[0,"&Kcedil;"],[0,"&kcedil;"],[0,"&kgreen;"],[0,"&Lacute;"],[0,"&lacute;"],[0,"&Lcedil;"],[0,"&lcedil;"],[0,"&Lcaron;"],[0,"&lcaron;"],[0,"&Lmidot;"],[0,"&lmidot;"],[0,"&Lstrok;"],[0,"&lstrok;"],[0,"&Nacute;"],[0,"&nacute;"],[0,"&Ncedil;"],[0,"&ncedil;"],[0,"&Ncaron;"],[0,"&ncaron;"],[0,"&napos;"],[0,"&ENG;"],[0,"&eng;"],[0,"&Omacr;"],[0,"&omacr;"],[2,"&Odblac;"],[0,"&odblac;"],[0,"&OElig;"],[0,"&oelig;"],[0,"&Racute;"],[0,"&racute;"],[0,"&Rcedil;"],[0,"&rcedil;"],[0,"&Rcaron;"],[0,"&rcaron;"],[0,"&Sacute;"],[0,"&sacute;"],[0,"&Scirc;"],[0,"&scirc;"],[0,"&Scedil;"],[0,"&scedil;"],[0,"&Scaron;"],[0,"&scaron;"],[0,"&Tcedil;"],[0,"&tcedil;"],[0,"&Tcaron;"],[0,"&tcaron;"],[0,"&Tstrok;"],[0,"&tstrok;"],[0,"&Utilde;"],[0,"&utilde;"],[0,"&Umacr;"],[0,"&umacr;"],[0,"&Ubreve;"],[0,"&ubreve;"],[0,"&Uring;"],[0,"&uring;"],[0,"&Udblac;"],[0,"&udblac;"],[0,"&Uogon;"],[0,"&uogon;"],[0,"&Wcirc;"],[0,"&wcirc;"],[0,"&Ycirc;"],[0,"&ycirc;"],[0,"&Yuml;"],[0,"&Zacute;"],[0,"&zacute;"],[0,"&Zdot;"],[0,"&zdot;"],[0,"&Zcaron;"],[0,"&zcaron;"],[19,"&fnof;"],[34,"&imped;"],[63,"&gacute;"],[65,"&jmath;"],[142,"&circ;"],[0,"&caron;"],[16,"&breve;"],[0,"&DiacriticalDot;"],[0,"&ring;"],[0,"&ogon;"],[0,"&DiacriticalTilde;"],[0,"&dblac;"],[51,"&DownBreve;"],[127,"&Alpha;"],[0,"&Beta;"],[0,"&Gamma;"],[0,"&Delta;"],[0,"&Epsilon;"],[0,"&Zeta;"],[0,"&Eta;"],[0,"&Theta;"],[0,"&Iota;"],[0,"&Kappa;"],[0,"&Lambda;"],[0,"&Mu;"],[0,"&Nu;"],[0,"&Xi;"],[0,"&Omicron;"],[0,"&Pi;"],[0,"&Rho;"],[1,"&Sigma;"],[0,"&Tau;"],[0,"&Upsilon;"],[0,"&Phi;"],[0,"&Chi;"],[0,"&Psi;"],[0,"&ohm;"],[7,"&alpha;"],[0,"&beta;"],[0,"&gamma;"],[0,"&delta;"],[0,"&epsi;"],[0,"&zeta;"],[0,"&eta;"],[0,"&theta;"],[0,"&iota;"],[0,"&kappa;"],[0,"&lambda;"],[0,"&mu;"],[0,"&nu;"],[0,"&xi;"],[0,"&omicron;"],[0,"&pi;"],[0,"&rho;"],[0,"&sigmaf;"],[0,"&sigma;"],[0,"&tau;"],[0,"&upsi;"],[0,"&phi;"],[0,"&chi;"],[0,"&psi;"],[0,"&omega;"],[7,"&thetasym;"],[0,"&Upsi;"],[2,"&phiv;"],[0,"&piv;"],[5,"&Gammad;"],[0,"&digamma;"],[18,"&kappav;"],[0,"&rhov;"],[3,"&epsiv;"],[0,"&backepsilon;"],[10,"&IOcy;"],[0,"&DJcy;"],[0,"&GJcy;"],[0,"&Jukcy;"],[0,"&DScy;"],[0,"&Iukcy;"],[0,"&YIcy;"],[0,"&Jsercy;"],[0,"&LJcy;"],[0,"&NJcy;"],[0,"&TSHcy;"],[0,"&KJcy;"],[1,"&Ubrcy;"],[0,"&DZcy;"],[0,"&Acy;"],[0,"&Bcy;"],[0,"&Vcy;"],[0,"&Gcy;"],[0,"&Dcy;"],[0,"&IEcy;"],[0,"&ZHcy;"],[0,"&Zcy;"],[0,"&Icy;"],[0,"&Jcy;"],[0,"&Kcy;"],[0,"&Lcy;"],[0,"&Mcy;"],[0,"&Ncy;"],[0,"&Ocy;"],[0,"&Pcy;"],[0,"&Rcy;"],[0,"&Scy;"],[0,"&Tcy;"],[0,"&Ucy;"],[0,"&Fcy;"],[0,"&KHcy;"],[0,"&TScy;"],[0,"&CHcy;"],[0,"&SHcy;"],[0,"&SHCHcy;"],[0,"&HARDcy;"],[0,"&Ycy;"],[0,"&SOFTcy;"],[0,"&Ecy;"],[0,"&YUcy;"],[0,"&YAcy;"],[0,"&acy;"],[0,"&bcy;"],[0,"&vcy;"],[0,"&gcy;"],[0,"&dcy;"],[0,"&iecy;"],[0,"&zhcy;"],[0,"&zcy;"],[0,"&icy;"],[0,"&jcy;"],[0,"&kcy;"],[0,"&lcy;"],[0,"&mcy;"],[0,"&ncy;"],[0,"&ocy;"],[0,"&pcy;"],[0,"&rcy;"],[0,"&scy;"],[0,"&tcy;"],[0,"&ucy;"],[0,"&fcy;"],[0,"&khcy;"],[0,"&tscy;"],[0,"&chcy;"],[0,"&shcy;"],[0,"&shchcy;"],[0,"&hardcy;"],[0,"&ycy;"],[0,"&softcy;"],[0,"&ecy;"],[0,"&yucy;"],[0,"&yacy;"],[1,"&iocy;"],[0,"&djcy;"],[0,"&gjcy;"],[0,"&jukcy;"],[0,"&dscy;"],[0,"&iukcy;"],[0,"&yicy;"],[0,"&jsercy;"],[0,"&ljcy;"],[0,"&njcy;"],[0,"&tshcy;"],[0,"&kjcy;"],[1,"&ubrcy;"],[0,"&dzcy;"],[7074,"&ensp;"],[0,"&emsp;"],[0,"&emsp13;"],[0,"&emsp14;"],[1,"&numsp;"],[0,"&puncsp;"],[0,"&ThinSpace;"],[0,"&hairsp;"],[0,"&NegativeMediumSpace;"],[0,"&zwnj;"],[0,"&zwj;"],[0,"&lrm;"],[0,"&rlm;"],[0,"&dash;"],[2,"&ndash;"],[0,"&mdash;"],[0,"&horbar;"],[0,"&Verbar;"],[1,"&lsquo;"],[0,"&CloseCurlyQuote;"],[0,"&lsquor;"],[1,"&ldquo;"],[0,"&CloseCurlyDoubleQuote;"],[0,"&bdquo;"],[1,"&dagger;"],[0,"&Dagger;"],[0,"&bull;"],[2,"&nldr;"],[0,"&hellip;"],[9,"&permil;"],[0,"&pertenk;"],[0,"&prime;"],[0,"&Prime;"],[0,"&tprime;"],[0,"&backprime;"],[3,"&lsaquo;"],[0,"&rsaquo;"],[3,"&oline;"],[2,"&caret;"],[1,"&hybull;"],[0,"&frasl;"],[10,"&bsemi;"],[7,"&qprime;"],[7,{v:"&MediumSpace;",n:8202,o:"&ThickSpace;"}],[0,"&NoBreak;"],[0,"&af;"],[0,"&InvisibleTimes;"],[0,"&ic;"],[72,"&euro;"],[46,"&tdot;"],[0,"&DotDot;"],[37,"&complexes;"],[2,"&incare;"],[4,"&gscr;"],[0,"&hamilt;"],[0,"&Hfr;"],[0,"&Hopf;"],[0,"&planckh;"],[0,"&hbar;"],[0,"&imagline;"],[0,"&Ifr;"],[0,"&lagran;"],[0,"&ell;"],[1,"&naturals;"],[0,"&numero;"],[0,"&copysr;"],[0,"&weierp;"],[0,"&Popf;"],[0,"&Qopf;"],[0,"&realine;"],[0,"&real;"],[0,"&reals;"],[0,"&rx;"],[3,"&trade;"],[1,"&integers;"],[2,"&mho;"],[0,"&zeetrf;"],[0,"&iiota;"],[2,"&bernou;"],[0,"&Cayleys;"],[1,"&escr;"],[0,"&Escr;"],[0,"&Fouriertrf;"],[1,"&Mellintrf;"],[0,"&order;"],[0,"&alefsym;"],[0,"&beth;"],[0,"&gimel;"],[0,"&daleth;"],[12,"&CapitalDifferentialD;"],[0,"&dd;"],[0,"&ee;"],[0,"&ii;"],[10,"&frac13;"],[0,"&frac23;"],[0,"&frac15;"],[0,"&frac25;"],[0,"&frac35;"],[0,"&frac45;"],[0,"&frac16;"],[0,"&frac56;"],[0,"&frac18;"],[0,"&frac38;"],[0,"&frac58;"],[0,"&frac78;"],[49,"&larr;"],[0,"&ShortUpArrow;"],[0,"&rarr;"],[0,"&darr;"],[0,"&harr;"],[0,"&updownarrow;"],[0,"&nwarr;"],[0,"&nearr;"],[0,"&LowerRightArrow;"],[0,"&LowerLeftArrow;"],[0,"&nlarr;"],[0,"&nrarr;"],[1,{v:"&rarrw;",n:824,o:"&nrarrw;"}],[0,"&Larr;"],[0,"&Uarr;"],[0,"&Rarr;"],[0,"&Darr;"],[0,"&larrtl;"],[0,"&rarrtl;"],[0,"&LeftTeeArrow;"],[0,"&mapstoup;"],[0,"&map;"],[0,"&DownTeeArrow;"],[1,"&hookleftarrow;"],[0,"&hookrightarrow;"],[0,"&larrlp;"],[0,"&looparrowright;"],[0,"&harrw;"],[0,"&nharr;"],[1,"&lsh;"],[0,"&rsh;"],[0,"&ldsh;"],[0,"&rdsh;"],[1,"&crarr;"],[0,"&cularr;"],[0,"&curarr;"],[2,"&circlearrowleft;"],[0,"&circlearrowright;"],[0,"&leftharpoonup;"],[0,"&DownLeftVector;"],[0,"&RightUpVector;"],[0,"&LeftUpVector;"],[0,"&rharu;"],[0,"&DownRightVector;"],[0,"&dharr;"],[0,"&dharl;"],[0,"&RightArrowLeftArrow;"],[0,"&udarr;"],[0,"&LeftArrowRightArrow;"],[0,"&leftleftarrows;"],[0,"&upuparrows;"],[0,"&rightrightarrows;"],[0,"&ddarr;"],[0,"&leftrightharpoons;"],[0,"&Equilibrium;"],[0,"&nlArr;"],[0,"&nhArr;"],[0,"&nrArr;"],[0,"&DoubleLeftArrow;"],[0,"&DoubleUpArrow;"],[0,"&DoubleRightArrow;"],[0,"&dArr;"],[0,"&DoubleLeftRightArrow;"],[0,"&DoubleUpDownArrow;"],[0,"&nwArr;"],[0,"&neArr;"],[0,"&seArr;"],[0,"&swArr;"],[0,"&lAarr;"],[0,"&rAarr;"],[1,"&zigrarr;"],[6,"&larrb;"],[0,"&rarrb;"],[15,"&DownArrowUpArrow;"],[7,"&loarr;"],[0,"&roarr;"],[0,"&hoarr;"],[0,"&forall;"],[0,"&comp;"],[0,{v:"&part;",n:824,o:"&npart;"}],[0,"&exist;"],[0,"&nexist;"],[0,"&empty;"],[1,"&Del;"],[0,"&Element;"],[0,"&NotElement;"],[1,"&ni;"],[0,"&notni;"],[2,"&prod;"],[0,"&coprod;"],[0,"&sum;"],[0,"&minus;"],[0,"&MinusPlus;"],[0,"&dotplus;"],[1,"&Backslash;"],[0,"&lowast;"],[0,"&compfn;"],[1,"&radic;"],[2,"&prop;"],[0,"&infin;"],[0,"&angrt;"],[0,{v:"&ang;",n:8402,o:"&nang;"}],[0,"&angmsd;"],[0,"&angsph;"],[0,"&mid;"],[0,"&nmid;"],[0,"&DoubleVerticalBar;"],[0,"&NotDoubleVerticalBar;"],[0,"&and;"],[0,"&or;"],[0,{v:"&cap;",n:65024,o:"&caps;"}],[0,{v:"&cup;",n:65024,o:"&cups;"}],[0,"&int;"],[0,"&Int;"],[0,"&iiint;"],[0,"&conint;"],[0,"&Conint;"],[0,"&Cconint;"],[0,"&cwint;"],[0,"&ClockwiseContourIntegral;"],[0,"&awconint;"],[0,"&there4;"],[0,"&becaus;"],[0,"&ratio;"],[0,"&Colon;"],[0,"&dotminus;"],[1,"&mDDot;"],[0,"&homtht;"],[0,{v:"&sim;",n:8402,o:"&nvsim;"}],[0,{v:"&backsim;",n:817,o:"&race;"}],[0,{v:"&ac;",n:819,o:"&acE;"}],[0,"&acd;"],[0,"&VerticalTilde;"],[0,"&NotTilde;"],[0,{v:"&eqsim;",n:824,o:"&nesim;"}],[0,"&sime;"],[0,"&NotTildeEqual;"],[0,"&cong;"],[0,"&simne;"],[0,"&ncong;"],[0,"&ap;"],[0,"&nap;"],[0,"&ape;"],[0,{v:"&apid;",n:824,o:"&napid;"}],[0,"&backcong;"],[0,{v:"&asympeq;",n:8402,o:"&nvap;"}],[0,{v:"&bump;",n:824,o:"&nbump;"}],[0,{v:"&bumpe;",n:824,o:"&nbumpe;"}],[0,{v:"&doteq;",n:824,o:"&nedot;"}],[0,"&doteqdot;"],[0,"&efDot;"],[0,"&erDot;"],[0,"&Assign;"],[0,"&ecolon;"],[0,"&ecir;"],[0,"&circeq;"],[1,"&wedgeq;"],[0,"&veeeq;"],[1,"&triangleq;"],[2,"&equest;"],[0,"&ne;"],[0,{v:"&Congruent;",n:8421,o:"&bnequiv;"}],[0,"&nequiv;"],[1,{v:"&le;",n:8402,o:"&nvle;"}],[0,{v:"&ge;",n:8402,o:"&nvge;"}],[0,{v:"&lE;",n:824,o:"&nlE;"}],[0,{v:"&gE;",n:824,o:"&ngE;"}],[0,{v:"&lnE;",n:65024,o:"&lvertneqq;"}],[0,{v:"&gnE;",n:65024,o:"&gvertneqq;"}],[0,{v:"&ll;",n:new Map(IT([[824,"&nLtv;"],[7577,"&nLt;"]]))}],[0,{v:"&gg;",n:new Map(IT([[824,"&nGtv;"],[7577,"&nGt;"]]))}],[0,"&between;"],[0,"&NotCupCap;"],[0,"&nless;"],[0,"&ngt;"],[0,"&nle;"],[0,"&nge;"],[0,"&lesssim;"],[0,"&GreaterTilde;"],[0,"&nlsim;"],[0,"&ngsim;"],[0,"&LessGreater;"],[0,"&gl;"],[0,"&NotLessGreater;"],[0,"&NotGreaterLess;"],[0,"&pr;"],[0,"&sc;"],[0,"&prcue;"],[0,"&sccue;"],[0,"&PrecedesTilde;"],[0,{v:"&scsim;",n:824,o:"&NotSucceedsTilde;"}],[0,"&NotPrecedes;"],[0,"&NotSucceeds;"],[0,{v:"&sub;",n:8402,o:"&NotSubset;"}],[0,{v:"&sup;",n:8402,o:"&NotSuperset;"}],[0,"&nsub;"],[0,"&nsup;"],[0,"&sube;"],[0,"&supe;"],[0,"&NotSubsetEqual;"],[0,"&NotSupersetEqual;"],[0,{v:"&subne;",n:65024,o:"&varsubsetneq;"}],[0,{v:"&supne;",n:65024,o:"&varsupsetneq;"}],[1,"&cupdot;"],[0,"&UnionPlus;"],[0,{v:"&sqsub;",n:824,o:"&NotSquareSubset;"}],[0,{v:"&sqsup;",n:824,o:"&NotSquareSuperset;"}],[0,"&sqsube;"],[0,"&sqsupe;"],[0,{v:"&sqcap;",n:65024,o:"&sqcaps;"}],[0,{v:"&sqcup;",n:65024,o:"&sqcups;"}],[0,"&CirclePlus;"],[0,"&CircleMinus;"],[0,"&CircleTimes;"],[0,"&osol;"],[0,"&CircleDot;"],[0,"&circledcirc;"],[0,"&circledast;"],[1,"&circleddash;"],[0,"&boxplus;"],[0,"&boxminus;"],[0,"&boxtimes;"],[0,"&dotsquare;"],[0,"&RightTee;"],[0,"&dashv;"],[0,"&DownTee;"],[0,"&bot;"],[1,"&models;"],[0,"&DoubleRightTee;"],[0,"&Vdash;"],[0,"&Vvdash;"],[0,"&VDash;"],[0,"&nvdash;"],[0,"&nvDash;"],[0,"&nVdash;"],[0,"&nVDash;"],[0,"&prurel;"],[1,"&LeftTriangle;"],[0,"&RightTriangle;"],[0,{v:"&LeftTriangleEqual;",n:8402,o:"&nvltrie;"}],[0,{v:"&RightTriangleEqual;",n:8402,o:"&nvrtrie;"}],[0,"&origof;"],[0,"&imof;"],[0,"&multimap;"],[0,"&hercon;"],[0,"&intcal;"],[0,"&veebar;"],[1,"&barvee;"],[0,"&angrtvb;"],[0,"&lrtri;"],[0,"&bigwedge;"],[0,"&bigvee;"],[0,"&bigcap;"],[0,"&bigcup;"],[0,"&diam;"],[0,"&sdot;"],[0,"&sstarf;"],[0,"&divideontimes;"],[0,"&bowtie;"],[0,"&ltimes;"],[0,"&rtimes;"],[0,"&leftthreetimes;"],[0,"&rightthreetimes;"],[0,"&backsimeq;"],[0,"&curlyvee;"],[0,"&curlywedge;"],[0,"&Sub;"],[0,"&Sup;"],[0,"&Cap;"],[0,"&Cup;"],[0,"&fork;"],[0,"&epar;"],[0,"&lessdot;"],[0,"&gtdot;"],[0,{v:"&Ll;",n:824,o:"&nLl;"}],[0,{v:"&Gg;",n:824,o:"&nGg;"}],[0,{v:"&leg;",n:65024,o:"&lesg;"}],[0,{v:"&gel;",n:65024,o:"&gesl;"}],[2,"&cuepr;"],[0,"&cuesc;"],[0,"&NotPrecedesSlantEqual;"],[0,"&NotSucceedsSlantEqual;"],[0,"&NotSquareSubsetEqual;"],[0,"&NotSquareSupersetEqual;"],[2,"&lnsim;"],[0,"&gnsim;"],[0,"&precnsim;"],[0,"&scnsim;"],[0,"&nltri;"],[0,"&NotRightTriangle;"],[0,"&nltrie;"],[0,"&NotRightTriangleEqual;"],[0,"&vellip;"],[0,"&ctdot;"],[0,"&utdot;"],[0,"&dtdot;"],[0,"&disin;"],[0,"&isinsv;"],[0,"&isins;"],[0,{v:"&isindot;",n:824,o:"&notindot;"}],[0,"&notinvc;"],[0,"&notinvb;"],[1,{v:"&isinE;",n:824,o:"&notinE;"}],[0,"&nisd;"],[0,"&xnis;"],[0,"&nis;"],[0,"&notnivc;"],[0,"&notnivb;"],[6,"&barwed;"],[0,"&Barwed;"],[1,"&lceil;"],[0,"&rceil;"],[0,"&LeftFloor;"],[0,"&rfloor;"],[0,"&drcrop;"],[0,"&dlcrop;"],[0,"&urcrop;"],[0,"&ulcrop;"],[0,"&bnot;"],[1,"&profline;"],[0,"&profsurf;"],[1,"&telrec;"],[0,"&target;"],[5,"&ulcorn;"],[0,"&urcorn;"],[0,"&dlcorn;"],[0,"&drcorn;"],[2,"&frown;"],[0,"&smile;"],[9,"&cylcty;"],[0,"&profalar;"],[7,"&topbot;"],[6,"&ovbar;"],[1,"&solbar;"],[60,"&angzarr;"],[51,"&lmoustache;"],[0,"&rmoustache;"],[2,"&OverBracket;"],[0,"&bbrk;"],[0,"&bbrktbrk;"],[37,"&OverParenthesis;"],[0,"&UnderParenthesis;"],[0,"&OverBrace;"],[0,"&UnderBrace;"],[2,"&trpezium;"],[4,"&elinters;"],[59,"&blank;"],[164,"&circledS;"],[55,"&boxh;"],[1,"&boxv;"],[9,"&boxdr;"],[3,"&boxdl;"],[3,"&boxur;"],[3,"&boxul;"],[3,"&boxvr;"],[7,"&boxvl;"],[7,"&boxhd;"],[7,"&boxhu;"],[7,"&boxvh;"],[19,"&boxH;"],[0,"&boxV;"],[0,"&boxdR;"],[0,"&boxDr;"],[0,"&boxDR;"],[0,"&boxdL;"],[0,"&boxDl;"],[0,"&boxDL;"],[0,"&boxuR;"],[0,"&boxUr;"],[0,"&boxUR;"],[0,"&boxuL;"],[0,"&boxUl;"],[0,"&boxUL;"],[0,"&boxvR;"],[0,"&boxVr;"],[0,"&boxVR;"],[0,"&boxvL;"],[0,"&boxVl;"],[0,"&boxVL;"],[0,"&boxHd;"],[0,"&boxhD;"],[0,"&boxHD;"],[0,"&boxHu;"],[0,"&boxhU;"],[0,"&boxHU;"],[0,"&boxvH;"],[0,"&boxVh;"],[0,"&boxVH;"],[19,"&uhblk;"],[3,"&lhblk;"],[3,"&block;"],[8,"&blk14;"],[0,"&blk12;"],[0,"&blk34;"],[13,"&square;"],[8,"&blacksquare;"],[0,"&EmptyVerySmallSquare;"],[1,"&rect;"],[0,"&marker;"],[2,"&fltns;"],[1,"&bigtriangleup;"],[0,"&blacktriangle;"],[0,"&triangle;"],[2,"&blacktriangleright;"],[0,"&rtri;"],[3,"&bigtriangledown;"],[0,"&blacktriangledown;"],[0,"&dtri;"],[2,"&blacktriangleleft;"],[0,"&ltri;"],[6,"&loz;"],[0,"&cir;"],[32,"&tridot;"],[2,"&bigcirc;"],[8,"&ultri;"],[0,"&urtri;"],[0,"&lltri;"],[0,"&EmptySmallSquare;"],[0,"&FilledSmallSquare;"],[8,"&bigstar;"],[0,"&star;"],[7,"&phone;"],[49,"&female;"],[1,"&male;"],[29,"&spades;"],[2,"&clubs;"],[1,"&hearts;"],[0,"&diamondsuit;"],[3,"&sung;"],[2,"&flat;"],[0,"&natural;"],[0,"&sharp;"],[163,"&check;"],[3,"&cross;"],[8,"&malt;"],[21,"&sext;"],[33,"&VerticalSeparator;"],[25,"&lbbrk;"],[0,"&rbbrk;"],[84,"&bsolhsub;"],[0,"&suphsol;"],[28,"&LeftDoubleBracket;"],[0,"&RightDoubleBracket;"],[0,"&lang;"],[0,"&rang;"],[0,"&Lang;"],[0,"&Rang;"],[0,"&loang;"],[0,"&roang;"],[7,"&longleftarrow;"],[0,"&longrightarrow;"],[0,"&longleftrightarrow;"],[0,"&DoubleLongLeftArrow;"],[0,"&DoubleLongRightArrow;"],[0,"&DoubleLongLeftRightArrow;"],[1,"&longmapsto;"],[2,"&dzigrarr;"],[258,"&nvlArr;"],[0,"&nvrArr;"],[0,"&nvHarr;"],[0,"&Map;"],[6,"&lbarr;"],[0,"&bkarow;"],[0,"&lBarr;"],[0,"&dbkarow;"],[0,"&drbkarow;"],[0,"&DDotrahd;"],[0,"&UpArrowBar;"],[0,"&DownArrowBar;"],[2,"&Rarrtl;"],[2,"&latail;"],[0,"&ratail;"],[0,"&lAtail;"],[0,"&rAtail;"],[0,"&larrfs;"],[0,"&rarrfs;"],[0,"&larrbfs;"],[0,"&rarrbfs;"],[2,"&nwarhk;"],[0,"&nearhk;"],[0,"&hksearow;"],[0,"&hkswarow;"],[0,"&nwnear;"],[0,"&nesear;"],[0,"&seswar;"],[0,"&swnwar;"],[8,{v:"&rarrc;",n:824,o:"&nrarrc;"}],[1,"&cudarrr;"],[0,"&ldca;"],[0,"&rdca;"],[0,"&cudarrl;"],[0,"&larrpl;"],[2,"&curarrm;"],[0,"&cularrp;"],[7,"&rarrpl;"],[2,"&harrcir;"],[0,"&Uarrocir;"],[0,"&lurdshar;"],[0,"&ldrushar;"],[2,"&LeftRightVector;"],[0,"&RightUpDownVector;"],[0,"&DownLeftRightVector;"],[0,"&LeftUpDownVector;"],[0,"&LeftVectorBar;"],[0,"&RightVectorBar;"],[0,"&RightUpVectorBar;"],[0,"&RightDownVectorBar;"],[0,"&DownLeftVectorBar;"],[0,"&DownRightVectorBar;"],[0,"&LeftUpVectorBar;"],[0,"&LeftDownVectorBar;"],[0,"&LeftTeeVector;"],[0,"&RightTeeVector;"],[0,"&RightUpTeeVector;"],[0,"&RightDownTeeVector;"],[0,"&DownLeftTeeVector;"],[0,"&DownRightTeeVector;"],[0,"&LeftUpTeeVector;"],[0,"&LeftDownTeeVector;"],[0,"&lHar;"],[0,"&uHar;"],[0,"&rHar;"],[0,"&dHar;"],[0,"&luruhar;"],[0,"&ldrdhar;"],[0,"&ruluhar;"],[0,"&rdldhar;"],[0,"&lharul;"],[0,"&llhard;"],[0,"&rharul;"],[0,"&lrhard;"],[0,"&udhar;"],[0,"&duhar;"],[0,"&RoundImplies;"],[0,"&erarr;"],[0,"&simrarr;"],[0,"&larrsim;"],[0,"&rarrsim;"],[0,"&rarrap;"],[0,"&ltlarr;"],[1,"&gtrarr;"],[0,"&subrarr;"],[1,"&suplarr;"],[0,"&lfisht;"],[0,"&rfisht;"],[0,"&ufisht;"],[0,"&dfisht;"],[5,"&lopar;"],[0,"&ropar;"],[4,"&lbrke;"],[0,"&rbrke;"],[0,"&lbrkslu;"],[0,"&rbrksld;"],[0,"&lbrksld;"],[0,"&rbrkslu;"],[0,"&langd;"],[0,"&rangd;"],[0,"&lparlt;"],[0,"&rpargt;"],[0,"&gtlPar;"],[0,"&ltrPar;"],[3,"&vzigzag;"],[1,"&vangrt;"],[0,"&angrtvbd;"],[6,"&ange;"],[0,"&range;"],[0,"&dwangle;"],[0,"&uwangle;"],[0,"&angmsdaa;"],[0,"&angmsdab;"],[0,"&angmsdac;"],[0,"&angmsdad;"],[0,"&angmsdae;"],[0,"&angmsdaf;"],[0,"&angmsdag;"],[0,"&angmsdah;"],[0,"&bemptyv;"],[0,"&demptyv;"],[0,"&cemptyv;"],[0,"&raemptyv;"],[0,"&laemptyv;"],[0,"&ohbar;"],[0,"&omid;"],[0,"&opar;"],[1,"&operp;"],[1,"&olcross;"],[0,"&odsold;"],[1,"&olcir;"],[0,"&ofcir;"],[0,"&olt;"],[0,"&ogt;"],[0,"&cirscir;"],[0,"&cirE;"],[0,"&solb;"],[0,"&bsolb;"],[3,"&boxbox;"],[3,"&trisb;"],[0,"&rtriltri;"],[0,{v:"&LeftTriangleBar;",n:824,o:"&NotLeftTriangleBar;"}],[0,{v:"&RightTriangleBar;",n:824,o:"&NotRightTriangleBar;"}],[11,"&iinfin;"],[0,"&infintie;"],[0,"&nvinfin;"],[4,"&eparsl;"],[0,"&smeparsl;"],[0,"&eqvparsl;"],[5,"&blacklozenge;"],[8,"&RuleDelayed;"],[1,"&dsol;"],[9,"&bigodot;"],[0,"&bigoplus;"],[0,"&bigotimes;"],[1,"&biguplus;"],[1,"&bigsqcup;"],[5,"&iiiint;"],[0,"&fpartint;"],[2,"&cirfnint;"],[0,"&awint;"],[0,"&rppolint;"],[0,"&scpolint;"],[0,"&npolint;"],[0,"&pointint;"],[0,"&quatint;"],[0,"&intlarhk;"],[10,"&pluscir;"],[0,"&plusacir;"],[0,"&simplus;"],[0,"&plusdu;"],[0,"&plussim;"],[0,"&plustwo;"],[1,"&mcomma;"],[0,"&minusdu;"],[2,"&loplus;"],[0,"&roplus;"],[0,"&Cross;"],[0,"&timesd;"],[0,"&timesbar;"],[1,"&smashp;"],[0,"&lotimes;"],[0,"&rotimes;"],[0,"&otimesas;"],[0,"&Otimes;"],[0,"&odiv;"],[0,"&triplus;"],[0,"&triminus;"],[0,"&tritime;"],[0,"&intprod;"],[2,"&amalg;"],[0,"&capdot;"],[1,"&ncup;"],[0,"&ncap;"],[0,"&capand;"],[0,"&cupor;"],[0,"&cupcap;"],[0,"&capcup;"],[0,"&cupbrcap;"],[0,"&capbrcup;"],[0,"&cupcup;"],[0,"&capcap;"],[0,"&ccups;"],[0,"&ccaps;"],[2,"&ccupssm;"],[2,"&And;"],[0,"&Or;"],[0,"&andand;"],[0,"&oror;"],[0,"&orslope;"],[0,"&andslope;"],[1,"&andv;"],[0,"&orv;"],[0,"&andd;"],[0,"&ord;"],[1,"&wedbar;"],[6,"&sdote;"],[3,"&simdot;"],[2,{v:"&congdot;",n:824,o:"&ncongdot;"}],[0,"&easter;"],[0,"&apacir;"],[0,{v:"&apE;",n:824,o:"&napE;"}],[0,"&eplus;"],[0,"&pluse;"],[0,"&Esim;"],[0,"&Colone;"],[0,"&Equal;"],[1,"&ddotseq;"],[0,"&equivDD;"],[0,"&ltcir;"],[0,"&gtcir;"],[0,"&ltquest;"],[0,"&gtquest;"],[0,{v:"&leqslant;",n:824,o:"&nleqslant;"}],[0,{v:"&geqslant;",n:824,o:"&ngeqslant;"}],[0,"&lesdot;"],[0,"&gesdot;"],[0,"&lesdoto;"],[0,"&gesdoto;"],[0,"&lesdotor;"],[0,"&gesdotol;"],[0,"&lap;"],[0,"&gap;"],[0,"&lne;"],[0,"&gne;"],[0,"&lnap;"],[0,"&gnap;"],[0,"&lEg;"],[0,"&gEl;"],[0,"&lsime;"],[0,"&gsime;"],[0,"&lsimg;"],[0,"&gsiml;"],[0,"&lgE;"],[0,"&glE;"],[0,"&lesges;"],[0,"&gesles;"],[0,"&els;"],[0,"&egs;"],[0,"&elsdot;"],[0,"&egsdot;"],[0,"&el;"],[0,"&eg;"],[2,"&siml;"],[0,"&simg;"],[0,"&simlE;"],[0,"&simgE;"],[0,{v:"&LessLess;",n:824,o:"&NotNestedLessLess;"}],[0,{v:"&GreaterGreater;",n:824,o:"&NotNestedGreaterGreater;"}],[1,"&glj;"],[0,"&gla;"],[0,"&ltcc;"],[0,"&gtcc;"],[0,"&lescc;"],[0,"&gescc;"],[0,"&smt;"],[0,"&lat;"],[0,{v:"&smte;",n:65024,o:"&smtes;"}],[0,{v:"&late;",n:65024,o:"&lates;"}],[0,"&bumpE;"],[0,{v:"&PrecedesEqual;",n:824,o:"&NotPrecedesEqual;"}],[0,{v:"&sce;",n:824,o:"&NotSucceedsEqual;"}],[2,"&prE;"],[0,"&scE;"],[0,"&precneqq;"],[0,"&scnE;"],[0,"&prap;"],[0,"&scap;"],[0,"&precnapprox;"],[0,"&scnap;"],[0,"&Pr;"],[0,"&Sc;"],[0,"&subdot;"],[0,"&supdot;"],[0,"&subplus;"],[0,"&supplus;"],[0,"&submult;"],[0,"&supmult;"],[0,"&subedot;"],[0,"&supedot;"],[0,{v:"&subE;",n:824,o:"&nsubE;"}],[0,{v:"&supE;",n:824,o:"&nsupE;"}],[0,"&subsim;"],[0,"&supsim;"],[2,{v:"&subnE;",n:65024,o:"&varsubsetneqq;"}],[0,{v:"&supnE;",n:65024,o:"&varsupsetneqq;"}],[2,"&csub;"],[0,"&csup;"],[0,"&csube;"],[0,"&csupe;"],[0,"&subsup;"],[0,"&supsub;"],[0,"&subsub;"],[0,"&supsup;"],[0,"&suphsub;"],[0,"&supdsub;"],[0,"&forkv;"],[0,"&topfork;"],[0,"&mlcp;"],[8,"&Dashv;"],[1,"&Vdashl;"],[0,"&Barv;"],[0,"&vBar;"],[0,"&vBarv;"],[1,"&Vbar;"],[0,"&Not;"],[0,"&bNot;"],[0,"&rnmid;"],[0,"&cirmid;"],[0,"&midcir;"],[0,"&topcir;"],[0,"&nhpar;"],[0,"&parsim;"],[9,{v:"&parsl;",n:8421,o:"&nparsl;"}],[44343,{n:new Map(IT([[56476,"&Ascr;"],[1,"&Cscr;"],[0,"&Dscr;"],[2,"&Gscr;"],[2,"&Jscr;"],[0,"&Kscr;"],[2,"&Nscr;"],[0,"&Oscr;"],[0,"&Pscr;"],[0,"&Qscr;"],[1,"&Sscr;"],[0,"&Tscr;"],[0,"&Uscr;"],[0,"&Vscr;"],[0,"&Wscr;"],[0,"&Xscr;"],[0,"&Yscr;"],[0,"&Zscr;"],[0,"&ascr;"],[0,"&bscr;"],[0,"&cscr;"],[0,"&dscr;"],[1,"&fscr;"],[1,"&hscr;"],[0,"&iscr;"],[0,"&jscr;"],[0,"&kscr;"],[0,"&lscr;"],[0,"&mscr;"],[0,"&nscr;"],[1,"&pscr;"],[0,"&qscr;"],[0,"&rscr;"],[0,"&sscr;"],[0,"&tscr;"],[0,"&uscr;"],[0,"&vscr;"],[0,"&wscr;"],[0,"&xscr;"],[0,"&yscr;"],[0,"&zscr;"],[52,"&Afr;"],[0,"&Bfr;"],[1,"&Dfr;"],[0,"&Efr;"],[0,"&Ffr;"],[0,"&Gfr;"],[2,"&Jfr;"],[0,"&Kfr;"],[0,"&Lfr;"],[0,"&Mfr;"],[0,"&Nfr;"],[0,"&Ofr;"],[0,"&Pfr;"],[0,"&Qfr;"],[1,"&Sfr;"],[0,"&Tfr;"],[0,"&Ufr;"],[0,"&Vfr;"],[0,"&Wfr;"],[0,"&Xfr;"],[0,"&Yfr;"],[1,"&afr;"],[0,"&bfr;"],[0,"&cfr;"],[0,"&dfr;"],[0,"&efr;"],[0,"&ffr;"],[0,"&gfr;"],[0,"&hfr;"],[0,"&ifr;"],[0,"&jfr;"],[0,"&kfr;"],[0,"&lfr;"],[0,"&mfr;"],[0,"&nfr;"],[0,"&ofr;"],[0,"&pfr;"],[0,"&qfr;"],[0,"&rfr;"],[0,"&sfr;"],[0,"&tfr;"],[0,"&ufr;"],[0,"&vfr;"],[0,"&wfr;"],[0,"&xfr;"],[0,"&yfr;"],[0,"&zfr;"],[0,"&Aopf;"],[0,"&Bopf;"],[1,"&Dopf;"],[0,"&Eopf;"],[0,"&Fopf;"],[0,"&Gopf;"],[1,"&Iopf;"],[0,"&Jopf;"],[0,"&Kopf;"],[0,"&Lopf;"],[0,"&Mopf;"],[1,"&Oopf;"],[3,"&Sopf;"],[0,"&Topf;"],[0,"&Uopf;"],[0,"&Vopf;"],[0,"&Wopf;"],[0,"&Xopf;"],[0,"&Yopf;"],[1,"&aopf;"],[0,"&bopf;"],[0,"&copf;"],[0,"&dopf;"],[0,"&eopf;"],[0,"&fopf;"],[0,"&gopf;"],[0,"&hopf;"],[0,"&iopf;"],[0,"&jopf;"],[0,"&kopf;"],[0,"&lopf;"],[0,"&mopf;"],[0,"&nopf;"],[0,"&oopf;"],[0,"&popf;"],[0,"&qopf;"],[0,"&ropf;"],[0,"&sopf;"],[0,"&topf;"],[0,"&uopf;"],[0,"&vopf;"],[0,"&wopf;"],[0,"&xopf;"],[0,"&yopf;"],[0,"&zopf;"]]))}],[8906,"&fflig;"],[0,"&filig;"],[0,"&fllig;"],[0,"&ffilig;"],[0,"&ffllig;"]]));const kT=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]);function TT(e,t){return function(n){let r,i=0,o="";for(;r=e.exec(n);)i!==r.index&&(o+=n.substring(i,r.index)),o+=t.get(r[0].charCodeAt(0)),i=r.index+1;return o+n.substring(i)}}var _T,PT;function DT(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)}String.prototype.codePointAt,TT(/[&<>'"]/g,kT),TT(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),TT(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]])),function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"}(_T||(_T={})),function(e){e[e.UTF8=0]="UTF8",e[e.ASCII=1]="ASCII",e[e.Extensive=2]="Extensive",e[e.Attribute=3]="Attribute",e[e.Text=4]="Text"}(PT||(PT={}));const BT=Object.prototype.hasOwnProperty;function RT(e,t){return BT.call(e,t)}function MT(e){return Array.prototype.slice.call(arguments,1).forEach((function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(n){e[n]=t[n]}))}})),e}function LT(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function OT(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||!(65535&~e&&65534!=(65535&e))||e>=0&&e<=8||11===e||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function FT(e){if(e>65535){const t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}const NT=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,HT=new RegExp(NT.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),zT=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function VT(e){return e.indexOf("\\")<0?e:e.replace(NT,"$1")}function UT(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(HT,(function(e,t,n){return t||function(e,t){if(35===t.charCodeAt(0)&&zT.test(t)){const n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return OT(n)?FT(n):e}const n=xT(e);return n!==e?n:e}(e,n)}))}const jT=/[&<>"]/,WT=/[&<>"]/g,$T={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function qT(e){return $T[e]}function GT(e){return jT.test(e)?e.replace(WT,qT):e}const KT=/[.?*+^$[\]\\(){}|-]/g;function YT(e){return e.replace(KT,"\\$&")}function XT(e){switch(e){case 9:case 32:return!0}return!1}function ZT(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function JT(e){return iT.test(e)||oT.test(e)}function QT(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function e_(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const t_={mdurl:e,ucmicro:t};function n_(e,t,n){let r,i,o,a;const s=e.posMax,l=e.pos;for(e.pos=t+1,r=1;e.pos<s;){if(o=e.src.charCodeAt(e.pos),93===o&&(r--,0===r)){i=!0;break}if(a=e.pos,e.md.inline.skipToken(e),91===o)if(a===e.pos-1)r++;else if(n)return e.pos=l,-1}let c=-1;return i&&(c=e.pos),e.pos=l,c}function r_(e,t,n){let r,i=t;const o={ok:!1,pos:0,str:""};if(60===e.charCodeAt(i)){for(i++;i<n;){if(r=e.charCodeAt(i),10===r)return o;if(60===r)return o;if(62===r)return o.pos=i+1,o.str=UT(e.slice(t+1,i)),o.ok=!0,o;92===r&&i+1<n?i+=2:i++}return o}let a=0;for(;i<n&&(r=e.charCodeAt(i),32!==r)&&!(r<32||127===r);)if(92===r&&i+1<n){if(32===e.charCodeAt(i+1))break;i+=2}else{if(40===r&&(a++,a>32))return o;if(41===r){if(0===a)break;a--}i++}return t===i||0!==a||(o.str=UT(e.slice(t,i)),o.pos=i,o.ok=!0),o}function i_(e,t,n,r){let i,o=t;const a={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(r)a.str=r.str,a.marker=r.marker;else{if(o>=n)return a;let r=e.charCodeAt(o);if(34!==r&&39!==r&&40!==r)return a;t++,o++,40===r&&(r=41),a.marker=r}for(;o<n;){if(i=e.charCodeAt(o),i===a.marker)return a.pos=o+1,a.str+=UT(e.slice(t,o)),a.ok=!0,a;if(40===i&&41===a.marker)return a;92===i&&o+1<n&&o++,o++}return a.can_continue=!0,a.str+=UT(e.slice(t,o)),a}const o_={};function a_(){this.rules=MT({},o_)}o_.code_inline=function(e,t,n,r,i){const o=e[t];return"<code"+i.renderAttrs(o)+">"+GT(o.content)+"</code>"},o_.code_block=function(e,t,n,r,i){const o=e[t];return"<pre"+i.renderAttrs(o)+"><code>"+GT(e[t].content)+"</code></pre>\n"},o_.fence=function(e,t,n,r,i){const o=e[t],a=o.info?UT(o.info).trim():"";let s,l="",c="";if(a){const e=a.split(/(\s+)/g);l=e[0],c=e.slice(2).join("")}if(s=n.highlight&&n.highlight(o.content,l,c)||GT(o.content),0===s.indexOf("<pre"))return s+"\n";if(a){const e=o.attrIndex("class"),t=o.attrs?o.attrs.slice():[];e<0?t.push(["class",n.langPrefix+l]):(t[e]=t[e].slice(),t[e][1]+=" "+n.langPrefix+l);const r={attrs:t};return`<pre><code${i.renderAttrs(r)}>${s}</code></pre>\n`}return`<pre><code${i.renderAttrs(o)}>${s}</code></pre>\n`},o_.image=function(e,t,n,r,i){const o=e[t];return o.attrs[o.attrIndex("alt")][1]=i.renderInlineAsText(o.children,n,r),i.renderToken(e,t,n)},o_.hardbreak=function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},o_.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},o_.text=function(e,t){return GT(e[t].content)},o_.html_block=function(e,t){return e[t].content},o_.html_inline=function(e,t){return e[t].content},a_.prototype.renderAttrs=function(e){let t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t<n;t++)r+=" "+GT(e.attrs[t][0])+'="'+GT(e.attrs[t][1])+'"';return r},a_.prototype.renderToken=function(e,t,n){const r=e[t];let i="";if(r.hidden)return"";r.block&&-1!==r.nesting&&t&&e[t-1].hidden&&(i+="\n"),i+=(-1===r.nesting?"</":"<")+r.tag,i+=this.renderAttrs(r),0===r.nesting&&n.xhtmlOut&&(i+=" /");let o=!1;if(r.block&&(o=!0,1===r.nesting&&t+1<e.length)){const n=e[t+1];("inline"===n.type||n.hidden||-1===n.nesting&&n.tag===r.tag)&&(o=!1)}return i+=o?">\n":">",i},a_.prototype.renderInline=function(e,t,n){let r="";const i=this.rules;for(let o=0,a=e.length;o<a;o++){const a=e[o].type;void 0!==i[a]?r+=i[a](e,o,t,n,this):r+=this.renderToken(e,o,t)}return r},a_.prototype.renderInlineAsText=function(e,t,n){let r="";for(let i=0,o=e.length;i<o;i++)switch(e[i].type){case"text":case"html_inline":case"html_block":r+=e[i].content;break;case"image":r+=this.renderInlineAsText(e[i].children,t,n);break;case"softbreak":case"hardbreak":r+="\n"}return r},a_.prototype.render=function(e,t,n){let r="";const i=this.rules;for(let o=0,a=e.length;o<a;o++){const a=e[o].type;"inline"===a?r+=this.renderInline(e[o].children,t,n):void 0!==i[a]?r+=i[a](e,o,t,n,this):r+=this.renderToken(e,o,t,n)}return r};const s_=a_;function l_(){this.__rules__=[],this.__cache__=null}l_.prototype.__find__=function(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},l_.prototype.__compile__=function(){const e=this,t=[""];e.__rules__.forEach((function(e){e.enabled&&e.alt.forEach((function(e){t.indexOf(e)<0&&t.push(e)}))})),e.__cache__={},t.forEach((function(t){e.__cache__[t]=[],e.__rules__.forEach((function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))}))}))},l_.prototype.at=function(e,t,n){const r=this.__find__(e),i=n||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=i.alt||[],this.__cache__=null},l_.prototype.before=function(e,t,n,r){const i=this.__find__(e),o=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},l_.prototype.after=function(e,t,n,r){const i=this.__find__(e),o=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},l_.prototype.push=function(e,t,n){const r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},l_.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);const n=[];return e.forEach((function(e){const r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!0,n.push(e)}),this),this.__cache__=null,n},l_.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(e){e.enabled=!1})),this.enable(e,t)},l_.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);const n=[];return e.forEach((function(e){const r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!1,n.push(e)}),this),this.__cache__=null,n},l_.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]};const c_=l_;function u_(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}u_.prototype.attrIndex=function(e){if(!this.attrs)return-1;const t=this.attrs;for(let n=0,r=t.length;n<r;n++)if(t[n][0]===e)return n;return-1},u_.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},u_.prototype.attrSet=function(e,t){const n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r},u_.prototype.attrGet=function(e){const t=this.attrIndex(e);let n=null;return t>=0&&(n=this.attrs[t][1]),n},u_.prototype.attrJoin=function(e,t){const n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t};const d_=u_;function p_(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}p_.prototype.Token=d_;const h_=p_,f_=/\r\n?|\n/g,m_=/\0/g;function g_(e){return/^<\/a\s*>/i.test(e)}const v_=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,y_=/\((c|tm|r)\)/i,b_=/\((c|tm|r)\)/gi,C_={c:"©",r:"®",tm:"™"};function A_(e,t){return C_[t.toLowerCase()]}function S_(e){let t=0;for(let n=e.length-1;n>=0;n--){const r=e[n];"text"!==r.type||t||(r.content=r.content.replace(b_,A_)),"link_open"===r.type&&"auto"===r.info&&t--,"link_close"===r.type&&"auto"===r.info&&t++}}function E_(e){let t=0;for(let n=e.length-1;n>=0;n--){const r=e[n];"text"!==r.type||t||v_.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===r.type&&"auto"===r.info&&t--,"link_close"===r.type&&"auto"===r.info&&t++}}const w_=/['"]/,x_=/['"]/g;function I_(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function k_(e,t){let n;const r=[];for(let i=0;i<e.length;i++){const o=e[i],a=e[i].level;for(n=r.length-1;n>=0&&!(r[n].level<=a);n--);if(r.length=n+1,"text"!==o.type)continue;let s=o.content,l=0,c=s.length;e:for(;l<c;){x_.lastIndex=l;const u=x_.exec(s);if(!u)break;let d=!0,p=!0;l=u.index+1;const h="'"===u[0];let f=32;if(u.index-1>=0)f=s.charCodeAt(u.index-1);else for(n=i-1;n>=0&&"softbreak"!==e[n].type&&"hardbreak"!==e[n].type;n--)if(e[n].content){f=e[n].content.charCodeAt(e[n].content.length-1);break}let m=32;if(l<c)m=s.charCodeAt(l);else for(n=i+1;n<e.length&&"softbreak"!==e[n].type&&"hardbreak"!==e[n].type;n++)if(e[n].content){m=e[n].content.charCodeAt(0);break}const g=QT(f)||JT(String.fromCharCode(f)),v=QT(m)||JT(String.fromCharCode(m)),y=ZT(f),b=ZT(m);if(b?d=!1:v&&(y||g||(d=!1)),y?p=!1:g&&(b||v||(p=!1)),34===m&&'"'===u[0]&&f>=48&&f<=57&&(p=d=!1),d&&p&&(d=g,p=v),d||p){if(p)for(n=r.length-1;n>=0;n--){let d=r[n];if(r[n].level<a)break;if(d.single===h&&r[n].level===a){let a,p;d=r[n],h?(a=t.md.options.quotes[2],p=t.md.options.quotes[3]):(a=t.md.options.quotes[0],p=t.md.options.quotes[1]),o.content=I_(o.content,u.index,p),e[d.token].content=I_(e[d.token].content,d.pos,a),l+=p.length-1,d.token===i&&(l+=a.length-1),s=o.content,c=s.length,r.length=n;continue e}}d?r.push({token:i,pos:u.index,single:h,level:a}):p&&h&&(o.content=I_(o.content,u.index,"’"))}else h&&(o.content=I_(o.content,u.index,"’"))}}}const T_=[["normalize",function(e){let t;t=e.src.replace(f_,"\n"),t=t.replace(m_,"�"),e.src=t}],["block",function(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}],["inline",function(e){const t=e.tokens;for(let n=0,r=t.length;n<r;n++){const r=t[n];"inline"===r.type&&e.md.inline.parse(r.content,e.md,e.env,r.children)}}],["linkify",function(e){const t=e.tokens;var n;if(e.md.options.linkify)for(let r=0,i=t.length;r<i;r++){if("inline"!==t[r].type||!e.md.linkify.pretest(t[r].content))continue;let i=t[r].children,o=0;for(let a=i.length-1;a>=0;a--){const s=i[a];if("link_close"!==s.type){if("html_inline"===s.type&&(n=s.content,/^<a[>\s]/i.test(n)&&o>0&&o--,g_(s.content)&&o++),!(o>0)&&"text"===s.type&&e.md.linkify.test(s.content)){const n=s.content;let o=e.md.linkify.match(n);const l=[];let c=s.level,u=0;o.length>0&&0===o[0].index&&a>0&&"text_special"===i[a-1].type&&(o=o.slice(1));for(let t=0;t<o.length;t++){const r=o[t].url,i=e.md.normalizeLink(r);if(!e.md.validateLink(i))continue;let a=o[t].text;a=o[t].schema?"mailto:"!==o[t].schema||/^mailto:/i.test(a)?e.md.normalizeLinkText(a):e.md.normalizeLinkText("mailto:"+a).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+a).replace(/^http:\/\//,"");const s=o[t].index;if(s>u){const t=new e.Token("text","",0);t.content=n.slice(u,s),t.level=c,l.push(t)}const d=new e.Token("link_open","a",1);d.attrs=[["href",i]],d.level=c++,d.markup="linkify",d.info="auto",l.push(d);const p=new e.Token("text","",0);p.content=a,p.level=c,l.push(p);const h=new e.Token("link_close","a",-1);h.level=--c,h.markup="linkify",h.info="auto",l.push(h),u=o[t].lastIndex}if(u<n.length){const t=new e.Token("text","",0);t.content=n.slice(u),t.level=c,l.push(t)}t[r].children=i=LT(i,a,l)}}else for(a--;i[a].level!==s.level&&"link_open"!==i[a].type;)a--}}}],["replacements",function(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(y_.test(e.tokens[t].content)&&S_(e.tokens[t].children),v_.test(e.tokens[t].content)&&E_(e.tokens[t].children))}],["smartquotes",function(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&w_.test(e.tokens[t].content)&&k_(e.tokens[t].children,e)}],["text_join",function(e){let t,n;const r=e.tokens,i=r.length;for(let e=0;e<i;e++){if("inline"!==r[e].type)continue;const i=r[e].children,o=i.length;for(t=0;t<o;t++)"text_special"===i[t].type&&(i[t].type="text");for(t=n=0;t<o;t++)"text"===i[t].type&&t+1<o&&"text"===i[t+1].type?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}}]];function __(){this.ruler=new c_;for(let e=0;e<T_.length;e++)this.ruler.push(T_[e][0],T_[e][1])}__.prototype.process=function(e){const t=this.ruler.getRules("");for(let n=0,r=t.length;n<r;n++)t[n](e)},__.prototype.State=h_;const P_=__;function D_(e,t,n,r){this.src=e,this.md=t,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0;const i=this.src;for(let e=0,t=0,n=0,r=0,o=i.length,a=!1;t<o;t++){const s=i.charCodeAt(t);if(!a){if(XT(s)){n++,9===s?r+=4-r%4:r++;continue}a=!0}10!==s&&t!==o-1||(10!==s&&t++,this.bMarks.push(e),this.eMarks.push(t),this.tShift.push(n),this.sCount.push(r),this.bsCount.push(0),a=!1,n=0,r=0,e=t+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}D_.prototype.push=function(e,t,n){const r=new d_(e,t,n);return r.block=!0,n<0&&this.level--,r.level=this.level,n>0&&this.level++,this.tokens.push(r),r},D_.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},D_.prototype.skipEmptyLines=function(e){for(let t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},D_.prototype.skipSpaces=function(e){for(let t=this.src.length;e<t&&XT(this.src.charCodeAt(e));e++);return e},D_.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!XT(this.src.charCodeAt(--e)))return e+1;return e},D_.prototype.skipChars=function(e,t){for(let n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},D_.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},D_.prototype.getLines=function(e,t,n,r){if(e>=t)return"";const i=new Array(t-e);for(let o=0,a=e;a<t;a++,o++){let e=0;const s=this.bMarks[a];let l,c=s;for(l=a+1<t||r?this.eMarks[a]+1:this.eMarks[a];c<l&&e<n;){const t=this.src.charCodeAt(c);if(XT(t))9===t?e+=4-(e+this.bsCount[a])%4:e++;else{if(!(c-s<this.tShift[a]))break;e++}c++}i[o]=e>n?new Array(e-n+1).join(" ")+this.src.slice(c,l):this.src.slice(c,l)}return i.join("")},D_.prototype.Token=d_;const B_=D_;function R_(e,t){const n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.slice(n,r)}function M_(e){const t=[],n=e.length;let r=0,i=e.charCodeAt(r),o=!1,a=0,s="";for(;r<n;)124===i&&(o?(s+=e.substring(a,r-1),a=r):(t.push(s+e.substring(a,r)),s="",a=r+1)),o=92===i,r++,i=e.charCodeAt(r);return t.push(s+e.substring(a)),t}function L_(e,t){const n=e.eMarks[t];let r=e.bMarks[t]+e.tShift[t];const i=e.src.charCodeAt(r++);return 42!==i&&45!==i&&43!==i||r<n&&!XT(e.src.charCodeAt(r))?-1:r}function O_(e,t){const n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];let i=n;if(i+1>=r)return-1;let o=e.src.charCodeAt(i++);if(o<48||o>57)return-1;for(;;){if(i>=r)return-1;if(o=e.src.charCodeAt(i++),!(o>=48&&o<=57)){if(41===o||46===o)break;return-1}if(i-n>=10)return-1}return i<r&&(o=e.src.charCodeAt(i),!XT(o))?-1:i}const F_="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",N_="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",H_=new RegExp("^(?:"+F_+"|"+N_+"|\x3c!---?>|\x3c!--(?:[^-]|-[^-]|--[^>])*--\x3e|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),z_=new RegExp("^(?:"+F_+"|"+N_+")"),V_=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"].join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(z_.source+"\\s*$"),/^$/,!1]],U_=[["table",function(e,t,n,r){if(t+2>n)return!1;let i=t+1;if(e.sCount[i]<e.blkIndent)return!1;if(e.sCount[i]-e.blkIndent>=4)return!1;let o=e.bMarks[i]+e.tShift[i];if(o>=e.eMarks[i])return!1;const a=e.src.charCodeAt(o++);if(124!==a&&45!==a&&58!==a)return!1;if(o>=e.eMarks[i])return!1;const s=e.src.charCodeAt(o++);if(124!==s&&45!==s&&58!==s&&!XT(s))return!1;if(45===a&&XT(s))return!1;for(;o<e.eMarks[i];){const t=e.src.charCodeAt(o);if(124!==t&&45!==t&&58!==t&&!XT(t))return!1;o++}let l=R_(e,t+1),c=l.split("|");const u=[];for(let e=0;e<c.length;e++){const t=c[e].trim();if(!t){if(0===e||e===c.length-1)continue;return!1}if(!/^:?-+:?$/.test(t))return!1;58===t.charCodeAt(t.length-1)?u.push(58===t.charCodeAt(0)?"center":"right"):58===t.charCodeAt(0)?u.push("left"):u.push("")}if(l=R_(e,t).trim(),-1===l.indexOf("|"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;c=M_(l),c.length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop();const d=c.length;if(0===d||d!==u.length)return!1;if(r)return!0;const p=e.parentType;e.parentType="table";const h=e.md.block.ruler.getRules("blockquote"),f=[t,0];e.push("table_open","table",1).map=f,e.push("thead_open","thead",1).map=[t,t+1],e.push("tr_open","tr",1).map=[t,t+1];for(let t=0;t<c.length;t++){const n=e.push("th_open","th",1);u[t]&&(n.attrs=[["style","text-align:"+u[t]]]);const r=e.push("inline","",0);r.content=c[t].trim(),r.children=[],e.push("th_close","th",-1)}let m;e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let g=0;for(i=t+2;i<n&&!(e.sCount[i]<e.blkIndent);i++){let r=!1;for(let t=0,o=h.length;t<o;t++)if(h[t](e,i,n,!0)){r=!0;break}if(r)break;if(l=R_(e,i).trim(),!l)break;if(e.sCount[i]-e.blkIndent>=4)break;if(c=M_(l),c.length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop(),g+=d-c.length,g>65536)break;i===t+2&&(e.push("tbody_open","tbody",1).map=m=[t+2,0]),e.push("tr_open","tr",1).map=[i,i+1];for(let t=0;t<d;t++){const n=e.push("td_open","td",1);u[t]&&(n.attrs=[["style","text-align:"+u[t]]]);const r=e.push("inline","",0);r.content=c[t]?c[t].trim():"",r.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return m&&(e.push("tbody_close","tbody",-1),m[1]=i),e.push("table_close","table",-1),f[1]=i,e.parentType=p,e.line=i,!0},["paragraph","reference"]],["code",function(e,t,n){if(e.sCount[t]-e.blkIndent<4)return!1;let r=t+1,i=r;for(;r<n;)if(e.isEmpty(r))r++;else{if(!(e.sCount[r]-e.blkIndent>=4))break;r++,i=r}e.line=i;const o=e.push("code_block","code",0);return o.content=e.getLines(t,i,4+e.blkIndent,!1)+"\n",o.map=[t,e.line],!0}],["fence",function(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(i+3>o)return!1;const a=e.src.charCodeAt(i);if(126!==a&&96!==a)return!1;let s=i;i=e.skipChars(i,a);let l=i-s;if(l<3)return!1;const c=e.src.slice(s,i),u=e.src.slice(i,o);if(96===a&&u.indexOf(String.fromCharCode(a))>=0)return!1;if(r)return!0;let d=t,p=!1;for(;!(d++,d>=n||(i=s=e.bMarks[d]+e.tShift[d],o=e.eMarks[d],i<o&&e.sCount[d]<e.blkIndent));)if(e.src.charCodeAt(i)===a&&!(e.sCount[d]-e.blkIndent>=4||(i=e.skipChars(i,a),i-s<l||(i=e.skipSpaces(i),i<o)))){p=!0;break}l=e.sCount[t],e.line=d+(p?1:0);const h=e.push("fence","code",0);return h.info=u,h.content=e.getLines(t+1,d,l,!0),h.markup=c,h.map=[t,e.line],!0},["paragraph","reference","blockquote","list"]],["blockquote",function(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];const a=e.lineMax;if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(i))return!1;if(r)return!0;const s=[],l=[],c=[],u=[],d=e.md.block.ruler.getRules("blockquote"),p=e.parentType;e.parentType="blockquote";let h,f=!1;for(h=t;h<n;h++){const t=e.sCount[h]<e.blkIndent;if(i=e.bMarks[h]+e.tShift[h],o=e.eMarks[h],i>=o)break;if(62===e.src.charCodeAt(i++)&&!t){let t,n,r=e.sCount[h]+1;32===e.src.charCodeAt(i)?(i++,r++,n=!1,t=!0):9===e.src.charCodeAt(i)?(t=!0,(e.bsCount[h]+r)%4==3?(i++,r++,n=!1):n=!0):t=!1;let a=r;for(s.push(e.bMarks[h]),e.bMarks[h]=i;i<o;){const t=e.src.charCodeAt(i);if(!XT(t))break;9===t?a+=4-(a+e.bsCount[h]+(n?1:0))%4:a++,i++}f=i>=o,l.push(e.bsCount[h]),e.bsCount[h]=e.sCount[h]+1+(t?1:0),c.push(e.sCount[h]),e.sCount[h]=a-r,u.push(e.tShift[h]),e.tShift[h]=i-e.bMarks[h];continue}if(f)break;let r=!1;for(let t=0,i=d.length;t<i;t++)if(d[t](e,h,n,!0)){r=!0;break}if(r){e.lineMax=h,0!==e.blkIndent&&(s.push(e.bMarks[h]),l.push(e.bsCount[h]),u.push(e.tShift[h]),c.push(e.sCount[h]),e.sCount[h]-=e.blkIndent);break}s.push(e.bMarks[h]),l.push(e.bsCount[h]),u.push(e.tShift[h]),c.push(e.sCount[h]),e.sCount[h]=-1}const m=e.blkIndent;e.blkIndent=0;const g=e.push("blockquote_open","blockquote",1);g.markup=">";const v=[t,0];g.map=v,e.md.block.tokenize(e,t,h),e.push("blockquote_close","blockquote",-1).markup=">",e.lineMax=a,e.parentType=p,v[1]=e.line;for(let n=0;n<u.length;n++)e.bMarks[n+t]=s[n],e.tShift[n+t]=u[n],e.sCount[n+t]=c[n],e.bsCount[n+t]=l[n];return e.blkIndent=m,!0},["paragraph","reference","blockquote","list"]],["hr",function(e,t,n,r){const i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let o=e.bMarks[t]+e.tShift[t];const a=e.src.charCodeAt(o++);if(42!==a&&45!==a&&95!==a)return!1;let s=1;for(;o<i;){const t=e.src.charCodeAt(o++);if(t!==a&&!XT(t))return!1;t===a&&s++}if(s<3)return!1;if(r)return!0;e.line=t+1;const l=e.push("hr","hr",0);return l.map=[t,e.line],l.markup=Array(s+1).join(String.fromCharCode(a)),!0},["paragraph","reference","blockquote","list"]],["list",function(e,t,n,r){let i,o,a,s,l=t,c=!0;if(e.sCount[l]-e.blkIndent>=4)return!1;if(e.listIndent>=0&&e.sCount[l]-e.listIndent>=4&&e.sCount[l]<e.blkIndent)return!1;let u,d,p,h=!1;if(r&&"paragraph"===e.parentType&&e.sCount[l]>=e.blkIndent&&(h=!0),(p=O_(e,l))>=0){if(u=!0,a=e.bMarks[l]+e.tShift[l],d=Number(e.src.slice(a,p-1)),h&&1!==d)return!1}else{if(!((p=L_(e,l))>=0))return!1;u=!1}if(h&&e.skipSpaces(p)>=e.eMarks[l])return!1;if(r)return!0;const f=e.src.charCodeAt(p-1),m=e.tokens.length;u?(s=e.push("ordered_list_open","ol",1),1!==d&&(s.attrs=[["start",d]])):s=e.push("bullet_list_open","ul",1);const g=[l,0];s.map=g,s.markup=String.fromCharCode(f);let v=!1;const y=e.md.block.ruler.getRules("list"),b=e.parentType;for(e.parentType="list";l<n;){o=p,i=e.eMarks[l];const t=e.sCount[l]+p-(e.bMarks[l]+e.tShift[l]);let r=t;for(;o<i;){const t=e.src.charCodeAt(o);if(9===t)r+=4-(r+e.bsCount[l])%4;else{if(32!==t)break;r++}o++}const d=o;let h;h=d>=i?1:r-t,h>4&&(h=1);const m=t+h;s=e.push("list_item_open","li",1),s.markup=String.fromCharCode(f);const g=[l,0];s.map=g,u&&(s.info=e.src.slice(a,p-1));const b=e.tight,C=e.tShift[l],A=e.sCount[l],S=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=m,e.tight=!0,e.tShift[l]=d-e.bMarks[l],e.sCount[l]=r,d>=i&&e.isEmpty(l+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,l,n,!0),e.tight&&!v||(c=!1),v=e.line-l>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=S,e.tShift[l]=C,e.sCount[l]=A,e.tight=b,s=e.push("list_item_close","li",-1),s.markup=String.fromCharCode(f),l=e.line,g[1]=l,l>=n)break;if(e.sCount[l]<e.blkIndent)break;if(e.sCount[l]-e.blkIndent>=4)break;let E=!1;for(let t=0,r=y.length;t<r;t++)if(y[t](e,l,n,!0)){E=!0;break}if(E)break;if(u){if(p=O_(e,l),p<0)break;a=e.bMarks[l]+e.tShift[l]}else if(p=L_(e,l),p<0)break;if(f!==e.src.charCodeAt(p-1))break}return s=u?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1),s.markup=String.fromCharCode(f),g[1]=l,e.line=l,e.parentType=b,c&&function(e,t){const n=e.level+2;for(let r=t+2,i=e.tokens.length-2;r<i;r++)e.tokens[r].level===n&&"paragraph_open"===e.tokens[r].type&&(e.tokens[r+2].hidden=!0,e.tokens[r].hidden=!0,r+=2)}(e,m),!0},["paragraph","reference","blockquote"]],["reference",function(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t],a=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(i))return!1;function s(t){const n=e.lineMax;if(t>=n||e.isEmpty(t))return null;let r=!1;if(e.sCount[t]-e.blkIndent>3&&(r=!0),e.sCount[t]<0&&(r=!0),!r){const r=e.md.block.ruler.getRules("reference"),i=e.parentType;e.parentType="reference";let o=!1;for(let i=0,a=r.length;i<a;i++)if(r[i](e,t,n,!0)){o=!0;break}if(e.parentType=i,o)return null}const i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];return e.src.slice(i,o+1)}let l=e.src.slice(i,o+1);o=l.length;let c=-1;for(i=1;i<o;i++){const e=l.charCodeAt(i);if(91===e)return!1;if(93===e){c=i;break}if(10===e){const e=s(a);null!==e&&(l+=e,o=l.length,a++)}else if(92===e&&(i++,i<o&&10===l.charCodeAt(i))){const e=s(a);null!==e&&(l+=e,o=l.length,a++)}}if(c<0||58!==l.charCodeAt(c+1))return!1;for(i=c+2;i<o;i++){const e=l.charCodeAt(i);if(10===e){const e=s(a);null!==e&&(l+=e,o=l.length,a++)}else if(!XT(e))break}const u=e.md.helpers.parseLinkDestination(l,i,o);if(!u.ok)return!1;const d=e.md.normalizeLink(u.str);if(!e.md.validateLink(d))return!1;i=u.pos;const p=i,h=a,f=i;for(;i<o;i++){const e=l.charCodeAt(i);if(10===e){const e=s(a);null!==e&&(l+=e,o=l.length,a++)}else if(!XT(e))break}let m,g=e.md.helpers.parseLinkTitle(l,i,o);for(;g.can_continue;){const t=s(a);if(null===t)break;l+=t,i=o,o=l.length,a++,g=e.md.helpers.parseLinkTitle(l,i,o,g)}for(i<o&&f!==i&&g.ok?(m=g.str,i=g.pos):(m="",i=p,a=h);i<o&&XT(l.charCodeAt(i));)i++;if(i<o&&10!==l.charCodeAt(i)&&m)for(m="",i=p,a=h;i<o&&XT(l.charCodeAt(i));)i++;if(i<o&&10!==l.charCodeAt(i))return!1;const v=e_(l.slice(1,c));return!!v&&(r||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[v]&&(e.env.references[v]={title:m,href:d}),e.line=a),!0)}],["html_block",function(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(i))return!1;let a=e.src.slice(i,o),s=0;for(;s<V_.length&&!V_[s][0].test(a);s++);if(s===V_.length)return!1;if(r)return V_[s][2];let l=t+1;if(!V_[s][1].test(a))for(;l<n&&!(e.sCount[l]<e.blkIndent);l++)if(i=e.bMarks[l]+e.tShift[l],o=e.eMarks[l],a=e.src.slice(i,o),V_[s][1].test(a)){0!==a.length&&l++;break}e.line=l;const c=e.push("html_block","",0);return c.map=[t,l],c.content=e.getLines(t,l,e.blkIndent,!0),!0},["paragraph","reference","blockquote"]],["heading",function(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let a=e.src.charCodeAt(i);if(35!==a||i>=o)return!1;let s=1;for(a=e.src.charCodeAt(++i);35===a&&i<o&&s<=6;)s++,a=e.src.charCodeAt(++i);if(s>6||i<o&&!XT(a))return!1;if(r)return!0;o=e.skipSpacesBack(o,i);const l=e.skipCharsBack(o,35,i);l>i&&XT(e.src.charCodeAt(l-1))&&(o=l),e.line=t+1;const c=e.push("heading_open","h"+String(s),1);c.markup="########".slice(0,s),c.map=[t,e.line];const u=e.push("inline","",0);return u.content=e.src.slice(i,o).trim(),u.map=[t,e.line],u.children=[],e.push("heading_close","h"+String(s),-1).markup="########".slice(0,s),!0},["paragraph","reference","blockquote"]],["lheading",function(e,t,n){const r=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const i=e.parentType;e.parentType="paragraph";let o,a=0,s=t+1;for(;s<n&&!e.isEmpty(s);s++){if(e.sCount[s]-e.blkIndent>3)continue;if(e.sCount[s]>=e.blkIndent){let t=e.bMarks[s]+e.tShift[s];const n=e.eMarks[s];if(t<n&&(o=e.src.charCodeAt(t),(45===o||61===o)&&(t=e.skipChars(t,o),t=e.skipSpaces(t),t>=n))){a=61===o?1:2;break}}if(e.sCount[s]<0)continue;let t=!1;for(let i=0,o=r.length;i<o;i++)if(r[i](e,s,n,!0)){t=!0;break}if(t)break}if(!a)return!1;const l=e.getLines(t,s,e.blkIndent,!1).trim();e.line=s+1;const c=e.push("heading_open","h"+String(a),1);c.markup=String.fromCharCode(o),c.map=[t,e.line];const u=e.push("inline","",0);return u.content=l,u.map=[t,e.line-1],u.children=[],e.push("heading_close","h"+String(a),-1).markup=String.fromCharCode(o),e.parentType=i,!0}],["paragraph",function(e,t,n){const r=e.md.block.ruler.getRules("paragraph"),i=e.parentType;let o=t+1;for(e.parentType="paragraph";o<n&&!e.isEmpty(o);o++){if(e.sCount[o]-e.blkIndent>3)continue;if(e.sCount[o]<0)continue;let t=!1;for(let i=0,a=r.length;i<a;i++)if(r[i](e,o,n,!0)){t=!0;break}if(t)break}const a=e.getLines(t,o,e.blkIndent,!1).trim();e.line=o,e.push("paragraph_open","p",1).map=[t,e.line];const s=e.push("inline","",0);return s.content=a,s.map=[t,e.line],s.children=[],e.push("paragraph_close","p",-1),e.parentType=i,!0}]];function j_(){this.ruler=new c_;for(let e=0;e<U_.length;e++)this.ruler.push(U_[e][0],U_[e][1],{alt:(U_[e][2]||[]).slice()})}j_.prototype.tokenize=function(e,t,n){const r=this.ruler.getRules(""),i=r.length,o=e.md.options.maxNesting;let a=t,s=!1;for(;a<n&&(e.line=a=e.skipEmptyLines(a),!(a>=n))&&!(e.sCount[a]<e.blkIndent);){if(e.level>=o){e.line=n;break}const t=e.line;let l=!1;for(let o=0;o<i;o++)if(l=r[o](e,a,n,!1),l){if(t>=e.line)throw new Error("block rule didn't increment state.line");break}if(!l)throw new Error("none of the block rules matched");e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),a=e.line,a<n&&e.isEmpty(a)&&(s=!0,a++,e.line=a)}},j_.prototype.parse=function(e,t,n,r){if(!e)return;const i=new this.State(e,t,n,r);this.tokenize(i,i.line,i.lineMax)},j_.prototype.State=B_;const W_=j_;function $_(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}$_.prototype.pushPending=function(){const e=new d_("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},$_.prototype.push=function(e,t,n){this.pending&&this.pushPending();const r=new d_(e,t,n);let i=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),r.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(i),r},$_.prototype.scanDelims=function(e,t){const n=this.posMax,r=this.src.charCodeAt(e),i=e>0?this.src.charCodeAt(e-1):32;let o=e;for(;o<n&&this.src.charCodeAt(o)===r;)o++;const a=o-e,s=o<n?this.src.charCodeAt(o):32,l=QT(i)||JT(String.fromCharCode(i)),c=QT(s)||JT(String.fromCharCode(s)),u=ZT(i),d=ZT(s),p=!d&&(!c||u||l),h=!u&&(!l||d||c);return{can_open:p&&(t||!h||l),can_close:h&&(t||!p||c),length:a}},$_.prototype.Token=d_;const q_=$_;function G_(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}const K_=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i,Y_=[];for(let e=0;e<256;e++)Y_.push(0);function X_(e,t){let n;const r=[],i=t.length;for(let o=0;o<i;o++){const i=t[o];if(126!==i.marker)continue;if(-1===i.end)continue;const a=t[i.end];n=e.tokens[i.token],n.type="s_open",n.tag="s",n.nesting=1,n.markup="~~",n.content="",n=e.tokens[a.token],n.type="s_close",n.tag="s",n.nesting=-1,n.markup="~~",n.content="","text"===e.tokens[a.token-1].type&&"~"===e.tokens[a.token-1].content&&r.push(a.token-1)}for(;r.length;){const t=r.pop();let i=t+1;for(;i<e.tokens.length&&"s_close"===e.tokens[i].type;)i++;i--,t!==i&&(n=e.tokens[i],e.tokens[i]=e.tokens[t],e.tokens[t]=n)}}"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){Y_[e.charCodeAt(0)]=1}));const Z_={tokenize:function(e,t){const n=e.pos,r=e.src.charCodeAt(n);if(t)return!1;if(126!==r)return!1;const i=e.scanDelims(e.pos,!0);let o=i.length;const a=String.fromCharCode(r);if(o<2)return!1;let s;o%2&&(s=e.push("text","",0),s.content=a,o--);for(let t=0;t<o;t+=2)s=e.push("text","",0),s.content=a+a,e.delimiters.push({marker:r,length:0,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close});return e.pos+=i.length,!0},postProcess:function(e){const t=e.tokens_meta,n=e.tokens_meta.length;X_(e,e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&X_(e,t[r].delimiters)}};function J_(e,t){for(let n=t.length-1;n>=0;n--){const r=t[n];if(95!==r.marker&&42!==r.marker)continue;if(-1===r.end)continue;const i=t[r.end],o=n>0&&t[n-1].end===r.end+1&&t[n-1].marker===r.marker&&t[n-1].token===r.token-1&&t[r.end+1].token===i.token+1,a=String.fromCharCode(r.marker),s=e.tokens[r.token];s.type=o?"strong_open":"em_open",s.tag=o?"strong":"em",s.nesting=1,s.markup=o?a+a:a,s.content="";const l=e.tokens[i.token];l.type=o?"strong_close":"em_close",l.tag=o?"strong":"em",l.nesting=-1,l.markup=o?a+a:a,l.content="",o&&(e.tokens[t[n-1].token].content="",e.tokens[t[r.end+1].token].content="",n--)}}const Q_={tokenize:function(e,t){const n=e.pos,r=e.src.charCodeAt(n);if(t)return!1;if(95!==r&&42!==r)return!1;const i=e.scanDelims(e.pos,42===r);for(let t=0;t<i.length;t++)e.push("text","",0).content=String.fromCharCode(r),e.delimiters.push({marker:r,length:i.length,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close});return e.pos+=i.length,!0},postProcess:function(e){const t=e.tokens_meta,n=e.tokens_meta.length;J_(e,e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&J_(e,t[r].delimiters)}},eP=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,tP=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/,nP=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,rP=/^&([a-z][a-z0-9]{1,31});/i;function iP(e){const t={},n=e.length;if(!n)return;let r=0,i=-2;const o=[];for(let a=0;a<n;a++){const n=e[a];if(o.push(0),e[r].marker===n.marker&&i===n.token-1||(r=a),i=n.token,n.length=n.length||0,!n.close)continue;t.hasOwnProperty(n.marker)||(t[n.marker]=[-1,-1,-1,-1,-1,-1]);const s=t[n.marker][(n.open?3:0)+n.length%3];let l=r-o[r]-1,c=l;for(;l>s;l-=o[l]+1){const t=e[l];if(t.marker===n.marker&&t.open&&t.end<0){let r=!1;if((t.close||n.open)&&(t.length+n.length)%3==0&&(t.length%3==0&&n.length%3==0||(r=!0)),!r){const r=l>0&&!e[l-1].open?o[l-1]+1:0;o[a]=a-l+r,o[l]=r,n.open=!1,t.end=a,t.close=!1,c=-1,i=-2;break}}}-1!==c&&(t[n.marker][(n.open?3:0)+(n.length||0)%3]=c)}}const oP=[["text",function(e,t){let n=e.pos;for(;n<e.posMax&&!G_(e.src.charCodeAt(n));)n++;return n!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}],["linkify",function(e,t){if(!e.md.options.linkify)return!1;if(e.linkLevel>0)return!1;const n=e.pos;if(n+3>e.posMax)return!1;if(58!==e.src.charCodeAt(n))return!1;if(47!==e.src.charCodeAt(n+1))return!1;if(47!==e.src.charCodeAt(n+2))return!1;const r=e.pending.match(K_);if(!r)return!1;const i=r[1],o=e.md.linkify.matchAtStart(e.src.slice(n-i.length));if(!o)return!1;let a=o.url;if(a.length<=i.length)return!1;a=a.replace(/\*+$/,"");const s=e.md.normalizeLink(a);if(!e.md.validateLink(s))return!1;if(!t){e.pending=e.pending.slice(0,-i.length);const t=e.push("link_open","a",1);t.attrs=[["href",s]],t.markup="linkify",t.info="auto",e.push("text","",0).content=e.md.normalizeLinkText(a);const n=e.push("link_close","a",-1);n.markup="linkify",n.info="auto"}return e.pos+=a.length-i.length,!0}],["newline",function(e,t){let n=e.pos;if(10!==e.src.charCodeAt(n))return!1;const r=e.pending.length-1,i=e.posMax;if(!t)if(r>=0&&32===e.pending.charCodeAt(r))if(r>=1&&32===e.pending.charCodeAt(r-1)){let t=r-1;for(;t>=1&&32===e.pending.charCodeAt(t-1);)t--;e.pending=e.pending.slice(0,t),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(n++;n<i&&XT(e.src.charCodeAt(n));)n++;return e.pos=n,!0}],["escape",function(e,t){let n=e.pos;const r=e.posMax;if(92!==e.src.charCodeAt(n))return!1;if(n++,n>=r)return!1;let i=e.src.charCodeAt(n);if(10===i){for(t||e.push("hardbreak","br",0),n++;n<r&&(i=e.src.charCodeAt(n),XT(i));)n++;return e.pos=n,!0}let o=e.src[n];if(i>=55296&&i<=56319&&n+1<r){const t=e.src.charCodeAt(n+1);t>=56320&&t<=57343&&(o+=e.src[n+1],n++)}const a="\\"+o;if(!t){const t=e.push("text_special","",0);i<256&&0!==Y_[i]?t.content=o:t.content=a,t.markup=a,t.info="escape"}return e.pos=n+1,!0}],["backticks",function(e,t){let n=e.pos;if(96!==e.src.charCodeAt(n))return!1;const r=n;n++;const i=e.posMax;for(;n<i&&96===e.src.charCodeAt(n);)n++;const o=e.src.slice(r,n),a=o.length;if(e.backticksScanned&&(e.backticks[a]||0)<=r)return t||(e.pending+=o),e.pos+=a,!0;let s,l=n;for(;-1!==(s=e.src.indexOf("`",l));){for(l=s+1;l<i&&96===e.src.charCodeAt(l);)l++;const r=l-s;if(r===a){if(!t){const t=e.push("code_inline","code",0);t.markup=o,t.content=e.src.slice(n,s).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=l,!0}e.backticks[r]=s}return e.backticksScanned=!0,t||(e.pending+=o),e.pos+=a,!0}],["strikethrough",Z_.tokenize],["emphasis",Q_.tokenize],["link",function(e,t){let n,r,i,o,a="",s="",l=e.pos,c=!0;if(91!==e.src.charCodeAt(e.pos))return!1;const u=e.pos,d=e.posMax,p=e.pos+1,h=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(h<0)return!1;let f=h+1;if(f<d&&40===e.src.charCodeAt(f)){for(c=!1,f++;f<d&&(n=e.src.charCodeAt(f),XT(n)||10===n);f++);if(f>=d)return!1;if(l=f,i=e.md.helpers.parseLinkDestination(e.src,f,e.posMax),i.ok){for(a=e.md.normalizeLink(i.str),e.md.validateLink(a)?f=i.pos:a="",l=f;f<d&&(n=e.src.charCodeAt(f),XT(n)||10===n);f++);if(i=e.md.helpers.parseLinkTitle(e.src,f,e.posMax),f<d&&l!==f&&i.ok)for(s=i.str,f=i.pos;f<d&&(n=e.src.charCodeAt(f),XT(n)||10===n);f++);}(f>=d||41!==e.src.charCodeAt(f))&&(c=!0),f++}if(c){if(void 0===e.env.references)return!1;if(f<d&&91===e.src.charCodeAt(f)?(l=f+1,f=e.md.helpers.parseLinkLabel(e,f),f>=0?r=e.src.slice(l,f++):f=h+1):f=h+1,r||(r=e.src.slice(p,h)),o=e.env.references[e_(r)],!o)return e.pos=u,!1;a=o.href,s=o.title}if(!t){e.pos=p,e.posMax=h;const t=[["href",a]];e.push("link_open","a",1).attrs=t,s&&t.push(["title",s]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=f,e.posMax=d,!0}],["image",function(e,t){let n,r,i,o,a,s,l,c,u="";const d=e.pos,p=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;const h=e.pos+2,f=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(f<0)return!1;if(o=f+1,o<p&&40===e.src.charCodeAt(o)){for(o++;o<p&&(n=e.src.charCodeAt(o),XT(n)||10===n);o++);if(o>=p)return!1;for(c=o,s=e.md.helpers.parseLinkDestination(e.src,o,e.posMax),s.ok&&(u=e.md.normalizeLink(s.str),e.md.validateLink(u)?o=s.pos:u=""),c=o;o<p&&(n=e.src.charCodeAt(o),XT(n)||10===n);o++);if(s=e.md.helpers.parseLinkTitle(e.src,o,e.posMax),o<p&&c!==o&&s.ok)for(l=s.str,o=s.pos;o<p&&(n=e.src.charCodeAt(o),XT(n)||10===n);o++);else l="";if(o>=p||41!==e.src.charCodeAt(o))return e.pos=d,!1;o++}else{if(void 0===e.env.references)return!1;if(o<p&&91===e.src.charCodeAt(o)?(c=o+1,o=e.md.helpers.parseLinkLabel(e,o),o>=0?i=e.src.slice(c,o++):o=f+1):o=f+1,i||(i=e.src.slice(h,f)),a=e.env.references[e_(i)],!a)return e.pos=d,!1;u=a.href,l=a.title}if(!t){r=e.src.slice(h,f);const t=[];e.md.inline.parse(r,e.md,e.env,t);const n=e.push("image","img",0),i=[["src",u],["alt",""]];n.attrs=i,n.children=t,n.content=r,l&&i.push(["title",l])}return e.pos=o,e.posMax=p,!0}],["autolink",function(e,t){let n=e.pos;if(60!==e.src.charCodeAt(n))return!1;const r=e.pos,i=e.posMax;for(;;){if(++n>=i)return!1;const t=e.src.charCodeAt(n);if(60===t)return!1;if(62===t)break}const o=e.src.slice(r+1,n);if(tP.test(o)){const n=e.md.normalizeLink(o);if(!e.md.validateLink(n))return!1;if(!t){const t=e.push("link_open","a",1);t.attrs=[["href",n]],t.markup="autolink",t.info="auto",e.push("text","",0).content=e.md.normalizeLinkText(o);const r=e.push("link_close","a",-1);r.markup="autolink",r.info="auto"}return e.pos+=o.length+2,!0}if(eP.test(o)){const n=e.md.normalizeLink("mailto:"+o);if(!e.md.validateLink(n))return!1;if(!t){const t=e.push("link_open","a",1);t.attrs=[["href",n]],t.markup="autolink",t.info="auto",e.push("text","",0).content=e.md.normalizeLinkText(o);const r=e.push("link_close","a",-1);r.markup="autolink",r.info="auto"}return e.pos+=o.length+2,!0}return!1}],["html_inline",function(e,t){if(!e.md.options.html)return!1;const n=e.posMax,r=e.pos;if(60!==e.src.charCodeAt(r)||r+2>=n)return!1;const i=e.src.charCodeAt(r+1);if(33!==i&&63!==i&&47!==i&&!function(e){const t=32|e;return t>=97&&t<=122}(i))return!1;const o=e.src.slice(r).match(H_);if(!o)return!1;if(!t){const t=e.push("html_inline","",0);t.content=o[0],a=t.content,/^<a[>\s]/i.test(a)&&e.linkLevel++,function(e){return/^<\/a\s*>/i.test(e)}(t.content)&&e.linkLevel--}var a;return e.pos+=o[0].length,!0}],["entity",function(e,t){const n=e.pos,r=e.posMax;if(38!==e.src.charCodeAt(n))return!1;if(n+1>=r)return!1;if(35===e.src.charCodeAt(n+1)){const r=e.src.slice(n).match(nP);if(r){if(!t){const t="x"===r[1][0].toLowerCase()?parseInt(r[1].slice(1),16):parseInt(r[1],10),n=e.push("text_special","",0);n.content=OT(t)?FT(t):FT(65533),n.markup=r[0],n.info="entity"}return e.pos+=r[0].length,!0}}else{const r=e.src.slice(n).match(rP);if(r){const n=xT(r[0]);if(n!==r[0]){if(!t){const t=e.push("text_special","",0);t.content=n,t.markup=r[0],t.info="entity"}return e.pos+=r[0].length,!0}}}return!1}]],aP=[["balance_pairs",function(e){const t=e.tokens_meta,n=e.tokens_meta.length;iP(e.delimiters);for(let e=0;e<n;e++)t[e]&&t[e].delimiters&&iP(t[e].delimiters)}],["strikethrough",Z_.postProcess],["emphasis",Q_.postProcess],["fragments_join",function(e){let t,n,r=0;const i=e.tokens,o=e.tokens.length;for(t=n=0;t<o;t++)i[t].nesting<0&&r--,i[t].level=r,i[t].nesting>0&&r++,"text"===i[t].type&&t+1<o&&"text"===i[t+1].type?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}]];function sP(){this.ruler=new c_;for(let e=0;e<oP.length;e++)this.ruler.push(oP[e][0],oP[e][1]);this.ruler2=new c_;for(let e=0;e<aP.length;e++)this.ruler2.push(aP[e][0],aP[e][1])}sP.prototype.skipToken=function(e){const t=e.pos,n=this.ruler.getRules(""),r=n.length,i=e.md.options.maxNesting,o=e.cache;if(void 0!==o[t])return void(e.pos=o[t]);let a=!1;if(e.level<i){for(let i=0;i<r;i++)if(e.level++,a=n[i](e,!0),e.level--,a){if(t>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;a||e.pos++,o[t]=e.pos},sP.prototype.tokenize=function(e){const t=this.ruler.getRules(""),n=t.length,r=e.posMax,i=e.md.options.maxNesting;for(;e.pos<r;){const o=e.pos;let a=!1;if(e.level<i)for(let r=0;r<n;r++)if(a=t[r](e,!1),a){if(o>=e.pos)throw new Error("inline rule didn't increment state.pos");break}if(a){if(e.pos>=r)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},sP.prototype.parse=function(e,t,n,r){const i=new this.State(e,t,n,r);this.tokenize(i);const o=this.ruler2.getRules(""),a=o.length;for(let e=0;e<a;e++)o[e](i)},sP.prototype.State=q_;const lP=sP;function cP(e){return Array.prototype.slice.call(arguments,1).forEach((function(t){t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}function uP(e){return Object.prototype.toString.call(e)}function dP(e){return"[object Function]"===uP(e)}function pP(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const hP={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},fP={"http:":{validate:function(e,t,n){const r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){const r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){const r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},mP="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function gP(e){const t=e.re=function(e){const t={};e=e||{},t.src_Any=aT.source,t.src_Cc=sT.source,t.src_Z=cT.source,t.src_P=iT.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}(e.__opts__),n=e.__tlds__.slice();function r(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||n.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),n.push(t.src_xn),t.src_tlds=n.join("|"),t.email_fuzzy=RegExp(r(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(r(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(r(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(r(t.tpl_host_fuzzy_test),"i");const i=[];function o(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){const n=e.__schemas__[t];if(null===n)return;const r={validate:null,link:null};if(e.__compiled__[t]=r,"[object Object]"===uP(n))return function(e){return"[object RegExp]"===uP(e)}(n.validate)?r.validate=function(e){return function(t,n){const r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}(n.validate):dP(n.validate)?r.validate=n.validate:o(t,n),void(dP(n.normalize)?r.normalize=n.normalize:n.normalize?o(t,n):r.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===uP(e)}(n)?o(t,n):i.push(t)})),i.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};const a=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(pP).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function vP(e,t){const n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function yP(e,t){const n=new vP(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function bP(e,t){if(!(this instanceof bP))return new bP(e,t);var n;t||(n=e,Object.keys(n||{}).reduce((function(e,t){return e||hP.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=cP({},hP,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=cP({},fP,e),this.__compiled__={},this.__tlds__=mP,this.__tlds_replaced__=!1,this.re={},gP(this)}bP.prototype.add=function(e,t){return this.__schemas__[e]=t,gP(this),this},bP.prototype.set=function(e){return this.__opts__=cP(this.__opts__,e),this},bP.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;let t,n,r,i,o,a,s,l,c;if(this.re.schema_test.test(e))for(s=this.re.schema_search,s.lastIndex=0;null!==(t=s.exec(e));)if(i=this.testSchemaAt(e,t[2],s.lastIndex),i){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test),l>=0&&(this.__index__<0||l<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(o=n.index+n[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=n.index+n[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(c=e.indexOf("@"),c>=0&&null!==(r=e.match(this.re.email_fuzzy))&&(o=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=a))),this.__index__>=0},bP.prototype.pretest=function(e){return this.re.pretest.test(e)},bP.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},bP.prototype.match=function(e){const t=[];let n=0;this.__index__>=0&&this.__text_cache__===e&&(t.push(yP(this,n)),n=this.__last_index__);let r=n?e.slice(n):e;for(;this.test(r);)t.push(yP(this,n)),r=r.slice(this.__last_index__),n+=this.__last_index__;return t.length?t:null},bP.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;const t=this.re.schema_at_start.exec(e);if(!t)return null;const n=this.testSchemaAt(e,t[2],t[0].length);return n?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+n,yP(this,0)):null},bP.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,n){return e!==n[t-1]})).reverse(),gP(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,gP(this),this)},bP.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},bP.prototype.onCompile=function(){};const CP=bP,AP=2147483647,SP=36,EP=/^xn--/,wP=/[^\0-\x7F]/,xP=/[\x2E\u3002\uFF0E\uFF61]/g,IP={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},kP=Math.floor,TP=String.fromCharCode;function _P(e){throw new RangeError(IP[e])}function PP(e,t){const n=e.split("@");let r="";n.length>1&&(r=n[0]+"@",e=n[1]);const i=function(e,t){const n=[];let r=e.length;for(;r--;)n[r]=t(e[r]);return n}((e=e.replace(xP,".")).split("."),t).join(".");return r+i}function DP(e){const t=[];let n=0;const r=e.length;for(;n<r;){const i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){const r=e.charCodeAt(n++);56320==(64512&r)?t.push(((1023&i)<<10)+(1023&r)+65536):(t.push(i),n--)}else t.push(i)}return t}const BP=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},RP=function(e,t,n){let r=0;for(e=n?kP(e/700):e>>1,e+=kP(e/t);e>455;r+=SP)e=kP(e/35);return kP(r+36*e/(e+38))},MP=function(e){const t=[],n=e.length;let r=0,i=128,o=72,a=e.lastIndexOf("-");a<0&&(a=0);for(let n=0;n<a;++n)e.charCodeAt(n)>=128&&_P("not-basic"),t.push(e.charCodeAt(n));for(let l=a>0?a+1:0;l<n;){const a=r;for(let t=1,i=SP;;i+=SP){l>=n&&_P("invalid-input");const a=(s=e.charCodeAt(l++))>=48&&s<58?s-48+26:s>=65&&s<91?s-65:s>=97&&s<123?s-97:SP;a>=SP&&_P("invalid-input"),a>kP((AP-r)/t)&&_P("overflow"),r+=a*t;const c=i<=o?1:i>=o+26?26:i-o;if(a<c)break;const u=SP-c;t>kP(AP/u)&&_P("overflow"),t*=u}const c=t.length+1;o=RP(r-a,c,0==a),kP(r/c)>AP-i&&_P("overflow"),i+=kP(r/c),r%=c,t.splice(r++,0,i)}var s;return String.fromCodePoint(...t)},LP=function(e){const t=[],n=(e=DP(e)).length;let r=128,i=0,o=72;for(const n of e)n<128&&t.push(TP(n));const a=t.length;let s=a;for(a&&t.push("-");s<n;){let n=AP;for(const t of e)t>=r&&t<n&&(n=t);const l=s+1;n-r>kP((AP-i)/l)&&_P("overflow"),i+=(n-r)*l,r=n;for(const n of e)if(n<r&&++i>AP&&_P("overflow"),n===r){let e=i;for(let n=SP;;n+=SP){const r=n<=o?1:n>=o+26?26:n-o;if(e<r)break;const i=e-r,a=SP-r;t.push(TP(BP(r+i%a,0))),e=kP(i/a)}t.push(TP(BP(e,0))),o=RP(i,l,s===a),i=0,++s}++i,++r}return t.join("")},OP=function(e){return PP(e,(function(e){return wP.test(e)?"xn--"+LP(e):e}))},FP=function(e){return PP(e,(function(e){return EP.test(e)?MP(e.slice(4).toLowerCase()):e}))},NP={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},HP=/^(vbscript|javascript|file|data):/,zP=/^data:image\/(gif|png|jpeg|webp);/;function VP(e){const t=e.trim().toLowerCase();return!HP.test(t)||zP.test(t)}const UP=["http:","https:","mailto:"];function jP(e){const t=rT(e,!0);if(t.hostname&&(!t.protocol||UP.indexOf(t.protocol)>=0))try{t.hostname=OP(t.hostname)}catch(e){}return jk(Wk(t))}function WP(e){const t=rT(e,!0);if(t.hostname&&(!t.protocol||UP.indexOf(t.protocol)>=0))try{t.hostname=FP(t.hostname)}catch(e){}return zk(Wk(t),zk.defaultChars+"%")}function $P(e,t){if(!(this instanceof $P))return new $P(e,t);t||DT(e)||(t=e||{},e="default"),this.inline=new lP,this.block=new W_,this.core=new P_,this.renderer=new s_,this.linkify=new CP,this.validateLink=VP,this.normalizeLink=jP,this.normalizeLinkText=WP,this.utils=n,this.helpers=MT({},r),this.options={},this.configure(e),t&&this.set(t)}$P.prototype.set=function(e){return MT(this.options,e),this},$P.prototype.configure=function(e){const t=this;if(DT(e)){const t=e;if(!(e=NP[t]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach((function(n){e.components[n].rules&&t[n].ruler.enableOnly(e.components[n].rules),e.components[n].rules2&&t[n].ruler2.enableOnly(e.components[n].rules2)})),this},$P.prototype.enable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.enable(e,!0))}),this),n=n.concat(this.inline.ruler2.enable(e,!0));const r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},$P.prototype.disable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.disable(e,!0))}),this),n=n.concat(this.inline.ruler2.disable(e,!0));const r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},$P.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},$P.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");const n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},$P.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},$P.prototype.parseInline=function(e,t){const n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},$P.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};const qP=$P;var GP="DevicePermissionsRequestDialog",KP="allowPermission",YP="denyPermission";const XP=Sx("Midi20Regular","20",["M12.5 6a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2ZM5.75 7.5a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5ZM9 6.75a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM2 4.5c0-.28.22-.5.5-.5h15c.28 0 .5.22.5.5v11a.5.5 0 0 1-.5.5h-15a.5.5 0 0 1-.5-.5v-11ZM3 5v4h14V5H3Zm5 5H6v3.5a.5.5 0 0 1-1 0V10H3v5h14v-5h-2v3.5a.5.5 0 0 1-1 0V10h-2v3.5a.5.5 0 0 1-1 0V10H9v3.5a.5.5 0 0 1-1 0V10Z"]),ZP=Sx("MusicNote120Regular","20",["M10.15 2.02a.5.5 0 0 0-.65.48v9.9A3.24 3.24 0 0 0 4 14.75a3.25 3.25 0 1 0 6.5-.25V7.18l5.85 1.8A.5.5 0 0 0 17 8.5V5.98a2.5 2.5 0 0 0-1.76-2.4l-5.1-1.56ZM16 7.82l-5.5-1.69V3.18l4.44 1.36c.63.2 1.06.78 1.06 1.44v1.84ZM5 14.75a2.25 2.25 0 1 1 4.5 0 2.25 2.25 0 0 1-4.5 0Z"]),JP=Sx("Location20Regular","20",["M13 9a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm-1 0a2 2 0 1 0-4 0 2 2 0 0 0 4 0Zm2.95 4.96a7 7 0 1 0-9.9 0l1.52 1.5 2.04 1.98.14.12a2 2 0 0 0 2.64-.12l2.43-2.37 1.13-1.12Zm-9.2-9.2a6 6 0 0 1 8.67 8.3l-.18.19-1.32 1.3-2.23 2.17-.09.08a1 1 0 0 1-1.2 0l-.1-.08-2.97-2.9-.58-.57-.17-.18a6 6 0 0 1 .17-8.31Z"]);var QP=i(5705),eD=l.createContext(null),tD=({children:e,graphql:t})=>l.createElement(eD.Provider,{value:t},e);function nD(e,t,n){const r=(()=>{const e=l.useContext(eD);return QP(null!==e,"Nova GraphQL provider must be initialized prior to consumption!"),e})();return QP(r.useLazyLoadQuery,"Expected host to provide a useLazyLoadQuery hook"),r.useLazyLoadQuery(e,t,n)}tD.displayName="NovaGraphQLProvider";var rD="unknown",iD="mouse",oD="keyboard",aD="touch",sD=(Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,(e,t,n)=>new Promise(((r,i)=>{var o=e=>{try{s(n.next(e))}catch(e){i(e)}},a=e=>{try{s(n.throw(e))}catch(e){i(e)}},s=e=>e.done?r(e.value):Promise.resolve(e.value).then(o,a);s((n=n.apply(e,t)).next())}))),lD=l.createContext({}),cD=({children:e,eventing:t,unmountEventing:n,reactEventMapper:r})=>{const i=l.useRef(t);i.current!==t&&(i.current=t);const o=l.useRef(n||t);o.current!==n&&(o.current=n||t);const a=l.useRef(r);a.current!==r&&(a.current=r);const s=l.useMemo((()=>({bubble:e=>sD(void 0,null,(function*(){const t=a.current(e);return dD(i,t)})),generateEvent:pD(i)})),[]),c=l.useMemo((()=>({bubble:e=>sD(void 0,null,(function*(){const t=a.current(e);return dD(o,t)})),generateEvent:pD(o)})),[]),u=l.useMemo((()=>({eventing:s,unmountEventing:c,internal:{eventingRef:i,unmountEventingRef:o,mapperRef:a}})),[s,c]);return l.createElement(lD.Provider,{value:u},e)};cD.displayName="NovaEventingProvider";var uD=()=>{const{eventing:e}=l.useContext(lD);return QP(e,"Nova Eventing provider must be initialized prior to consumption of eventing!"),e},dD=(e,t,n)=>sD(void 0,null,(function*(){if(!n)return e.current.bubble(t);let r=t;return r=yield n.current(t),r?e.current.bubble(r):Promise.resolve()})),pD=(e,t)=>n=>sD(void 0,null,(function*(){var r;const i={event:n.event,source:{inputType:"programmatic",timeStamp:null!=(r=n.timeStampOverride)?r:Date.now()}};if(!t)return e.current.bubble(i);let o=i;return o=yield t.current(i),o?e.current.bubble(o):Promise.resolve()})),hD=ow({ariaDescribedBy:{display:"none"}}),fD=function(e){var t=e.appearance,n=void 0===t?"primary":t,r=e.ariaDescribedByText,i=e.buttonLabel,o=e.onClick,a=hx(),s=hD();return l.createElement(l.Fragment,null,l.createElement(fI,{"aria-describedby":a,onClick:o,appearance:n},i),l.createElement("span",{id:a,className:s.ariaDescribedBy},r))};function mD(e,t){if(!Boolean(e))throw new Error(t)}function gD(e){return gD="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gD(e)}"function"==typeof Symbol&&null!=Symbol.iterator&&Symbol.iterator,"function"==typeof Symbol&&null!=Symbol.asyncIterator&&Symbol.asyncIterator;var vD="function"==typeof Symbol&&null!=Symbol.toStringTag?Symbol.toStringTag:"@@toStringTag";function yD(e,t){for(var n,r=/\r\n|[\n\r]/g,i=1,o=t+1;(n=r.exec(e.body))&&n.index<t;)i+=1,o=t+1-(n.index+n[0].length);return{line:i,column:o}}function bD(e){return CD(e.source,yD(e.source,e.start))}function CD(e,t){var n=e.locationOffset.column-1,r=SD(n)+e.body,i=t.line-1,o=e.locationOffset.line-1,a=t.line+o,s=1===t.line?n:0,l=t.column+s,c="".concat(e.name,":").concat(a,":").concat(l,"\n"),u=r.split(/\r\n|[\n\r]/g),d=u[i];if(d.length>120){for(var p=Math.floor(l/80),h=l%80,f=[],m=0;m<d.length;m+=80)f.push(d.slice(m,m+80));return c+AD([["".concat(a),f[0]]].concat(f.slice(1,p+1).map((function(e){return["",e]})),[[" ",SD(h-1)+"^"],["",f[p+1]]]))}return c+AD([["".concat(a-1),u[i-1]],["".concat(a),d],["",SD(l-1)+"^"],["".concat(a+1),u[i+1]]])}function AD(e){var t=e.filter((function(e){return e[0],void 0!==e[1]})),n=Math.max.apply(Math,t.map((function(e){return e[0].length})));return t.map((function(e){var t,r=e[0],i=e[1];return SD(n-(t=r).length)+t+(i?" | "+i:" |")})).join("\n")}function SD(e){return Array(e+1).join(" ")}function ED(e){return ED="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ED(e)}function wD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function xD(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ID(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function kD(e,t){return!t||"object"!==ED(t)&&"function"!=typeof t?TD(e):t}function TD(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _D(e){var t="function"==typeof Map?new Map:void 0;return _D=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return PD(e,arguments,RD(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),BD(r,e)},_D(e)}function PD(e,t,n){return PD=DD()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&BD(i,n.prototype),i},PD.apply(null,arguments)}function DD(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function BD(e,t){return BD=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},BD(e,t)}function RD(e){return RD=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},RD(e)}var MD=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&BD(e,t)}(i,e);var t,n,r=(t=i,n=DD(),function(){var e,r=RD(t);if(n){var i=RD(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return kD(this,e)});function i(e,t,n,o,a,s,l){var c,u,d,p;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(p=r.call(this,e)).name="GraphQLError",p.originalError=null!=s?s:void 0,p.nodes=LD(Array.isArray(t)?t:t?[t]:void 0);for(var h=[],f=0,m=null!==(g=p.nodes)&&void 0!==g?g:[];f<m.length;f++){var g,v=m[f].loc;null!=v&&h.push(v)}h=LD(h),p.source=null!=n?n:null===(c=h)||void 0===c?void 0:c[0].source,p.positions=null!=o?o:null===(u=h)||void 0===u?void 0:u.map((function(e){return e.start})),p.locations=o&&n?o.map((function(e){return yD(n,e)})):null===(d=h)||void 0===d?void 0:d.map((function(e){return yD(e.source,e.start)})),p.path=null!=a?a:void 0;var y=null==s?void 0:s.extensions;return null==l&&function(e){return"object"==gD(e)&&null!==e}(y)?p.extensions=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wD(Object(n),!0).forEach((function(t){xD(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wD(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},y):p.extensions=null!=l?l:{},Object.defineProperties(TD(p),{message:{enumerable:!0},locations:{enumerable:null!=p.locations},path:{enumerable:null!=p.path},extensions:{enumerable:null!=p.extensions&&Object.keys(p.extensions).length>0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=s&&s.stack?(Object.defineProperty(TD(p),"stack",{value:s.stack,writable:!0,configurable:!0}),kD(p)):(Error.captureStackTrace?Error.captureStackTrace(TD(p),i):Object.defineProperty(TD(p),"stack",{value:Error().stack,writable:!0,configurable:!0}),p)}return function(e,t){t&&ID(e.prototype,t)}(i,[{key:"toString",value:function(){return function(e){var t=e.message;if(e.nodes)for(var n=0,r=e.nodes;n<r.length;n++){var i=r[n];i.loc&&(t+="\n\n"+bD(i.loc))}else if(e.source&&e.locations)for(var o=0,a=e.locations;o<a.length;o++){var s=a[o];t+="\n\n"+CD(e.source,s)}return t}(this)}},{key:"toJSON",value:function(){return function(e){var t;e||mD(0,"Received null or undefined error.");var n=null!==(t=e.message)&&void 0!==t?t:"An unknown error occurred.",r=e.locations,i=e.path,o=e.extensions;return o&&Object.keys(o).length>0?{message:n,locations:r,path:i,extensions:o}:{message:n,locations:r,path:i}}(this)}},{key:vD,get:function(){return"Object"}}]),i}(_D(Error));function LD(e){return void 0===e||0===e.length?void 0:e}function OD(e,t,n){return new MD("Syntax Error: ".concat(n),void 0,e,[t])}var FD=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"});const ND="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;function HD(e){var t=e.prototype.toJSON;"function"==typeof t||function(){if(!Boolean(0))throw new Error("Unexpected invariant triggered.")}(),e.prototype.inspect=t,ND&&(e.prototype[ND]=t)}var zD=function(){function e(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}return e.prototype.toJSON=function(){return{start:this.start,end:this.end}},e}();HD(zD);var VD=function(){function e(e,t,n,r,i,o,a){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,this.value=a,this.prev=o,this.next=null}return e.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},e}();HD(VD);var UD=Object.freeze({SOF:"<SOF>",EOF:"<EOF>",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"});function jD(e){return jD="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},jD(e)}function WD(e,t){switch(jD(e)){case"string":return JSON.stringify(e);case"function":return e.name?"[function ".concat(e.name,"]"):"[function]";case"object":return null===e?"null":function(e,t){if(-1!==t.indexOf(e))return"[Circular]";var n=[].concat(t,[e]),r=function(e){var t=e[String(ND)];return"function"==typeof t?t:"function"==typeof e.inspect?e.inspect:void 0}(e);if(void 0!==r){var i=r.call(e);if(i!==e)return"string"==typeof i?i:WD(i,n)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";for(var n=Math.min(10,e.length),r=e.length-n,i=[],o=0;o<n;++o)i.push(WD(e[o],t));return 1===r?i.push("... 1 more item"):r>1&&i.push("... ".concat(r," more items")),"["+i.join(", ")+"]"}(e,n);return function(e,t){var n=Object.keys(e);return 0===n.length?"{}":t.length>2?"["+function(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){var n=e.constructor.name;if("string"==typeof n&&""!==n)return n}return t}(e)+"]":"{ "+n.map((function(n){return n+": "+WD(e[n],t)})).join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}function $D(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var qD=function(){function e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};"string"==typeof e||mD(0,"Body must be a string. Received: ".concat(function(e){return WD(e,[])}(e),".")),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||mD(0,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||mD(0,"column in locationOffset is 1-indexed and must be positive.")}return function(e,t){t&&$D(e.prototype,t)}(e,[{key:vD,get:function(){return"Source"}}]),e}(),GD=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"});function KD(e){var t=e.split(/\r\n|[\n\r]/g),n=function(e){for(var t,n=!0,r=!0,i=0,o=null,a=0;a<e.length;++a)switch(e.charCodeAt(a)){case 13:10===e.charCodeAt(a+1)&&++a;case 10:n=!1,r=!0,i=0;break;case 9:case 32:++i;break;default:r&&!n&&(null===o||i<o)&&(o=i),r=!1}return null!==(t=o)&&void 0!==t?t:0}(e);if(0!==n)for(var r=1;r<t.length;r++)t[r]=t[r].slice(n);for(var i=0;i<t.length&&YD(t[i]);)++i;for(var o=t.length;o>i&&YD(t[o-1]);)--o;return t.slice(i,o).join("\n")}function YD(e){for(var t=0;t<e.length;++t)if(" "!==e[t]&&"\t"!==e[t])return!1;return!0}var XD=function(){function e(e){var t=new VD(UD.SOF,0,0,0,0,null);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}var t=e.prototype;return t.advance=function(){return this.lastToken=this.token,this.token=this.lookahead()},t.lookahead=function(){var e=this.token;if(e.kind!==UD.EOF)do{var t;e=null!==(t=e.next)&&void 0!==t?t:e.next=JD(this,e)}while(e.kind===UD.COMMENT);return e},e}();function ZD(e){return isNaN(e)?UD.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function JD(e,t){for(var n=e.source,r=n.body,i=r.length,o=t.end;o<i;){var a=r.charCodeAt(o),s=e.line,l=1+o-e.lineStart;switch(a){case 65279:case 9:case 32:case 44:++o;continue;case 10:++o,++e.line,e.lineStart=o;continue;case 13:10===r.charCodeAt(o+1)?o+=2:++o,++e.line,e.lineStart=o;continue;case 33:return new VD(UD.BANG,o,o+1,s,l,t);case 35:return eB(n,o,s,l,t);case 36:return new VD(UD.DOLLAR,o,o+1,s,l,t);case 38:return new VD(UD.AMP,o,o+1,s,l,t);case 40:return new VD(UD.PAREN_L,o,o+1,s,l,t);case 41:return new VD(UD.PAREN_R,o,o+1,s,l,t);case 46:if(46===r.charCodeAt(o+1)&&46===r.charCodeAt(o+2))return new VD(UD.SPREAD,o,o+3,s,l,t);break;case 58:return new VD(UD.COLON,o,o+1,s,l,t);case 61:return new VD(UD.EQUALS,o,o+1,s,l,t);case 64:return new VD(UD.AT,o,o+1,s,l,t);case 91:return new VD(UD.BRACKET_L,o,o+1,s,l,t);case 93:return new VD(UD.BRACKET_R,o,o+1,s,l,t);case 123:return new VD(UD.BRACE_L,o,o+1,s,l,t);case 124:return new VD(UD.PIPE,o,o+1,s,l,t);case 125:return new VD(UD.BRACE_R,o,o+1,s,l,t);case 34:return 34===r.charCodeAt(o+1)&&34===r.charCodeAt(o+2)?iB(n,o,s,l,t,e):rB(n,o,s,l,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return tB(n,o,a,s,l,t);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return aB(n,o,s,l,t)}throw OD(n,o,QD(a))}var c=e.line,u=1+o-e.lineStart;return new VD(UD.EOF,i,i,c,u,t)}function QD(e){return e<32&&9!==e&&10!==e&&13!==e?"Cannot contain the invalid character ".concat(ZD(e),"."):39===e?"Unexpected single quote character ('), did you mean to use a double quote (\")?":"Cannot parse the unexpected character ".concat(ZD(e),".")}function eB(e,t,n,r,i){var o,a=e.body,s=t;do{o=a.charCodeAt(++s)}while(!isNaN(o)&&(o>31||9===o));return new VD(UD.COMMENT,t,s,n,r,i,a.slice(t+1,s))}function tB(e,t,n,r,i,o){var a=e.body,s=n,l=t,c=!1;if(45===s&&(s=a.charCodeAt(++l)),48===s){if((s=a.charCodeAt(++l))>=48&&s<=57)throw OD(e,l,"Invalid number, unexpected digit after 0: ".concat(ZD(s),"."))}else l=nB(e,l,s),s=a.charCodeAt(l);if(46===s&&(c=!0,s=a.charCodeAt(++l),l=nB(e,l,s),s=a.charCodeAt(l)),69!==s&&101!==s||(c=!0,43!==(s=a.charCodeAt(++l))&&45!==s||(s=a.charCodeAt(++l)),l=nB(e,l,s),s=a.charCodeAt(l)),46===s||function(e){return 95===e||e>=65&&e<=90||e>=97&&e<=122}(s))throw OD(e,l,"Invalid number, expected digit but got: ".concat(ZD(s),"."));return new VD(c?UD.FLOAT:UD.INT,t,l,r,i,o,a.slice(t,l))}function nB(e,t,n){var r=e.body,i=t,o=n;if(o>=48&&o<=57){do{o=r.charCodeAt(++i)}while(o>=48&&o<=57);return i}throw OD(e,i,"Invalid number, expected digit but got: ".concat(ZD(o),"."))}function rB(e,t,n,r,i){for(var o,a,s,l,c=e.body,u=t+1,d=u,p=0,h="";u<c.length&&!isNaN(p=c.charCodeAt(u))&&10!==p&&13!==p;){if(34===p)return h+=c.slice(d,u),new VD(UD.STRING,t,u+1,n,r,i,h);if(p<32&&9!==p)throw OD(e,u,"Invalid character within String: ".concat(ZD(p),"."));if(++u,92===p){switch(h+=c.slice(d,u-1),p=c.charCodeAt(u)){case 34:h+='"';break;case 47:h+="/";break;case 92:h+="\\";break;case 98:h+="\b";break;case 102:h+="\f";break;case 110:h+="\n";break;case 114:h+="\r";break;case 116:h+="\t";break;case 117:var f=(o=c.charCodeAt(u+1),a=c.charCodeAt(u+2),s=c.charCodeAt(u+3),l=c.charCodeAt(u+4),oB(o)<<12|oB(a)<<8|oB(s)<<4|oB(l));if(f<0){var m=c.slice(u+1,u+5);throw OD(e,u,"Invalid character escape sequence: \\u".concat(m,"."))}h+=String.fromCharCode(f),u+=4;break;default:throw OD(e,u,"Invalid character escape sequence: \\".concat(String.fromCharCode(p),"."))}d=++u}}throw OD(e,u,"Unterminated string.")}function iB(e,t,n,r,i,o){for(var a=e.body,s=t+3,l=s,c=0,u="";s<a.length&&!isNaN(c=a.charCodeAt(s));){if(34===c&&34===a.charCodeAt(s+1)&&34===a.charCodeAt(s+2))return u+=a.slice(l,s),new VD(UD.BLOCK_STRING,t,s+3,n,r,i,KD(u));if(c<32&&9!==c&&10!==c&&13!==c)throw OD(e,s,"Invalid character within String: ".concat(ZD(c),"."));10===c?(++s,++o.line,o.lineStart=s):13===c?(10===a.charCodeAt(s+1)?s+=2:++s,++o.line,o.lineStart=s):92===c&&34===a.charCodeAt(s+1)&&34===a.charCodeAt(s+2)&&34===a.charCodeAt(s+3)?(u+=a.slice(l,s)+'"""',l=s+=4):++s}throw OD(e,s,"Unterminated string.")}function oB(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function aB(e,t,n,r,i){for(var o=e.body,a=o.length,s=t+1,l=0;s!==a&&!isNaN(l=o.charCodeAt(s))&&(95===l||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122);)++s;return new VD(UD.NAME,t,s,n,r,i,o.slice(t,s))}var sB,lB=function(){function e(e,t){var n=function(e){return function(e,t){return e instanceof t}(e,qD)}(e)?e:new qD(e);this._lexer=new XD(n),this._options=t}var t=e.prototype;return t.parseName=function(){var e=this.expectToken(UD.NAME);return{kind:FD.NAME,value:e.value,loc:this.loc(e)}},t.parseDocument=function(){var e=this._lexer.token;return{kind:FD.DOCUMENT,definitions:this.many(UD.SOF,this.parseDefinition,UD.EOF),loc:this.loc(e)}},t.parseDefinition=function(){if(this.peek(UD.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else{if(this.peek(UD.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},t.parseOperationDefinition=function(){var e=this._lexer.token;if(this.peek(UD.BRACE_L))return{kind:FD.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(e)};var t,n=this.parseOperationType();return this.peek(UD.NAME)&&(t=this.parseName()),{kind:FD.OPERATION_DEFINITION,operation:n,name:t,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseOperationType=function(){var e=this.expectToken(UD.NAME);switch(e.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(e)},t.parseVariableDefinitions=function(){return this.optionalMany(UD.PAREN_L,this.parseVariableDefinition,UD.PAREN_R)},t.parseVariableDefinition=function(){var e=this._lexer.token;return{kind:FD.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(UD.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(UD.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(e)}},t.parseVariable=function(){var e=this._lexer.token;return this.expectToken(UD.DOLLAR),{kind:FD.VARIABLE,name:this.parseName(),loc:this.loc(e)}},t.parseSelectionSet=function(){var e=this._lexer.token;return{kind:FD.SELECTION_SET,selections:this.many(UD.BRACE_L,this.parseSelection,UD.BRACE_R),loc:this.loc(e)}},t.parseSelection=function(){return this.peek(UD.SPREAD)?this.parseFragment():this.parseField()},t.parseField=function(){var e,t,n=this._lexer.token,r=this.parseName();return this.expectOptionalToken(UD.COLON)?(e=r,t=this.parseName()):t=r,{kind:FD.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(UD.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(n)}},t.parseArguments=function(e){var t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(UD.PAREN_L,t,UD.PAREN_R)},t.parseArgument=function(){var e=this._lexer.token,t=this.parseName();return this.expectToken(UD.COLON),{kind:FD.ARGUMENT,name:t,value:this.parseValueLiteral(!1),loc:this.loc(e)}},t.parseConstArgument=function(){var e=this._lexer.token;return{kind:FD.ARGUMENT,name:this.parseName(),value:(this.expectToken(UD.COLON),this.parseValueLiteral(!0)),loc:this.loc(e)}},t.parseFragment=function(){var e=this._lexer.token;this.expectToken(UD.SPREAD);var t=this.expectOptionalKeyword("on");return!t&&this.peek(UD.NAME)?{kind:FD.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(e)}:{kind:FD.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseFragmentDefinition=function(){var e,t=this._lexer.token;return this.expectKeyword("fragment"),!0===(null===(e=this._options)||void 0===e?void 0:e.experimentalFragmentVariables)?{kind:FD.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}:{kind:FD.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},t.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},t.parseValueLiteral=function(e){var t=this._lexer.token;switch(t.kind){case UD.BRACKET_L:return this.parseList(e);case UD.BRACE_L:return this.parseObject(e);case UD.INT:return this._lexer.advance(),{kind:FD.INT,value:t.value,loc:this.loc(t)};case UD.FLOAT:return this._lexer.advance(),{kind:FD.FLOAT,value:t.value,loc:this.loc(t)};case UD.STRING:case UD.BLOCK_STRING:return this.parseStringLiteral();case UD.NAME:switch(this._lexer.advance(),t.value){case"true":return{kind:FD.BOOLEAN,value:!0,loc:this.loc(t)};case"false":return{kind:FD.BOOLEAN,value:!1,loc:this.loc(t)};case"null":return{kind:FD.NULL,loc:this.loc(t)};default:return{kind:FD.ENUM,value:t.value,loc:this.loc(t)}}case UD.DOLLAR:if(!e)return this.parseVariable()}throw this.unexpected()},t.parseStringLiteral=function(){var e=this._lexer.token;return this._lexer.advance(),{kind:FD.STRING,value:e.value,block:e.kind===UD.BLOCK_STRING,loc:this.loc(e)}},t.parseList=function(e){var t=this,n=this._lexer.token;return{kind:FD.LIST,values:this.any(UD.BRACKET_L,(function(){return t.parseValueLiteral(e)}),UD.BRACKET_R),loc:this.loc(n)}},t.parseObject=function(e){var t=this,n=this._lexer.token;return{kind:FD.OBJECT,fields:this.any(UD.BRACE_L,(function(){return t.parseObjectField(e)}),UD.BRACE_R),loc:this.loc(n)}},t.parseObjectField=function(e){var t=this._lexer.token,n=this.parseName();return this.expectToken(UD.COLON),{kind:FD.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e),loc:this.loc(t)}},t.parseDirectives=function(e){for(var t=[];this.peek(UD.AT);)t.push(this.parseDirective(e));return t},t.parseDirective=function(e){var t=this._lexer.token;return this.expectToken(UD.AT),{kind:FD.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e),loc:this.loc(t)}},t.parseTypeReference=function(){var e,t=this._lexer.token;return this.expectOptionalToken(UD.BRACKET_L)?(e=this.parseTypeReference(),this.expectToken(UD.BRACKET_R),e={kind:FD.LIST_TYPE,type:e,loc:this.loc(t)}):e=this.parseNamedType(),this.expectOptionalToken(UD.BANG)?{kind:FD.NON_NULL_TYPE,type:e,loc:this.loc(t)}:e},t.parseNamedType=function(){var e=this._lexer.token;return{kind:FD.NAMED_TYPE,name:this.parseName(),loc:this.loc(e)}},t.parseTypeSystemDefinition=function(){var e=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(e.kind===UD.NAME)switch(e.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(e)},t.peekDescription=function(){return this.peek(UD.STRING)||this.peek(UD.BLOCK_STRING)},t.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},t.parseSchemaDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");var n=this.parseDirectives(!0),r=this.many(UD.BRACE_L,this.parseOperationTypeDefinition,UD.BRACE_R);return{kind:FD.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r,loc:this.loc(e)}},t.parseOperationTypeDefinition=function(){var e=this._lexer.token,t=this.parseOperationType();this.expectToken(UD.COLON);var n=this.parseNamedType();return{kind:FD.OPERATION_TYPE_DEFINITION,operation:t,type:n,loc:this.loc(e)}},t.parseScalarTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");var n=this.parseName(),r=this.parseDirectives(!0);return{kind:FD.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r,loc:this.loc(e)}},t.parseObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");var n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:FD.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:o,loc:this.loc(e)}},t.parseImplementsInterfaces=function(){var e;if(!this.expectOptionalKeyword("implements"))return[];if(!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLImplementsInterfaces)){var t=[];this.expectOptionalToken(UD.AMP);do{t.push(this.parseNamedType())}while(this.expectOptionalToken(UD.AMP)||this.peek(UD.NAME));return t}return this.delimitedMany(UD.AMP,this.parseNamedType)},t.parseFieldsDefinition=function(){var e;return!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLEmptyFields)&&this.peek(UD.BRACE_L)&&this._lexer.lookahead().kind===UD.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(UD.BRACE_L,this.parseFieldDefinition,UD.BRACE_R)},t.parseFieldDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(UD.COLON);var i=this.parseTypeReference(),o=this.parseDirectives(!0);return{kind:FD.FIELD_DEFINITION,description:t,name:n,arguments:r,type:i,directives:o,loc:this.loc(e)}},t.parseArgumentDefs=function(){return this.optionalMany(UD.PAREN_L,this.parseInputValueDef,UD.PAREN_R)},t.parseInputValueDef=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(UD.COLON);var r,i=this.parseTypeReference();this.expectOptionalToken(UD.EQUALS)&&(r=this.parseValueLiteral(!0));var o=this.parseDirectives(!0);return{kind:FD.INPUT_VALUE_DEFINITION,description:t,name:n,type:i,defaultValue:r,directives:o,loc:this.loc(e)}},t.parseInterfaceTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");var n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:FD.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:o,loc:this.loc(e)}},t.parseUnionTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseUnionMemberTypes();return{kind:FD.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:i,loc:this.loc(e)}},t.parseUnionMemberTypes=function(){return this.expectOptionalToken(UD.EQUALS)?this.delimitedMany(UD.PIPE,this.parseNamedType):[]},t.parseEnumTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseEnumValuesDefinition();return{kind:FD.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:i,loc:this.loc(e)}},t.parseEnumValuesDefinition=function(){return this.optionalMany(UD.BRACE_L,this.parseEnumValueDefinition,UD.BRACE_R)},t.parseEnumValueDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseDirectives(!0);return{kind:FD.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r,loc:this.loc(e)}},t.parseInputObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseInputFieldsDefinition();return{kind:FD.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:i,loc:this.loc(e)}},t.parseInputFieldsDefinition=function(){return this.optionalMany(UD.BRACE_L,this.parseInputValueDef,UD.BRACE_R)},t.parseTypeSystemExtension=function(){var e=this._lexer.lookahead();if(e.kind===UD.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)},t.parseSchemaExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var t=this.parseDirectives(!0),n=this.optionalMany(UD.BRACE_L,this.parseOperationTypeDefinition,UD.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return{kind:FD.SCHEMA_EXTENSION,directives:t,operationTypes:n,loc:this.loc(e)}},t.parseScalarTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var t=this.parseName(),n=this.parseDirectives(!0);if(0===n.length)throw this.unexpected();return{kind:FD.SCALAR_TYPE_EXTENSION,name:t,directives:n,loc:this.loc(e)}},t.parseObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return{kind:FD.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i,loc:this.loc(e)}},t.parseInterfaceTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return{kind:FD.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i,loc:this.loc(e)}},t.parseUnionTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseUnionMemberTypes();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:FD.UNION_TYPE_EXTENSION,name:t,directives:n,types:r,loc:this.loc(e)}},t.parseEnumTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseEnumValuesDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:FD.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r,loc:this.loc(e)}},t.parseInputObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseInputFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:FD.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r,loc:this.loc(e)}},t.parseDirectiveDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(UD.AT);var n=this.parseName(),r=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var o=this.parseDirectiveLocations();return{kind:FD.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:i,locations:o,loc:this.loc(e)}},t.parseDirectiveLocations=function(){return this.delimitedMany(UD.PIPE,this.parseDirectiveLocation)},t.parseDirectiveLocation=function(){var e=this._lexer.token,t=this.parseName();if(void 0!==GD[t.value])return t;throw this.unexpected(e)},t.loc=function(e){var t;if(!0!==(null===(t=this._options)||void 0===t?void 0:t.noLocation))return new zD(e,this._lexer.lastToken,this._lexer.source)},t.peek=function(e){return this._lexer.token.kind===e},t.expectToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t;throw OD(this._lexer.source,t.start,"Expected ".concat(uB(e),", found ").concat(cB(t),"."))},t.expectOptionalToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t},t.expectKeyword=function(e){var t=this._lexer.token;if(t.kind!==UD.NAME||t.value!==e)throw OD(this._lexer.source,t.start,'Expected "'.concat(e,'", found ').concat(cB(t),"."));this._lexer.advance()},t.expectOptionalKeyword=function(e){var t=this._lexer.token;return t.kind===UD.NAME&&t.value===e&&(this._lexer.advance(),!0)},t.unexpected=function(e){var t=null!=e?e:this._lexer.token;return OD(this._lexer.source,t.start,"Unexpected ".concat(cB(t),"."))},t.any=function(e,t,n){this.expectToken(e);for(var r=[];!this.expectOptionalToken(n);)r.push(t.call(this));return r},t.optionalMany=function(e,t,n){if(this.expectOptionalToken(e)){var r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r}return[]},t.many=function(e,t,n){this.expectToken(e);var r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r},t.delimitedMany=function(e,t){this.expectOptionalToken(e);var n=[];do{n.push(t.call(this))}while(this.expectOptionalToken(e));return n},e}();function cB(e){var t=e.value;return uB(e.kind)+(null!=t?' "'.concat(t,'"'):"")}function uB(e){return function(e){return e===UD.BANG||e===UD.DOLLAR||e===UD.AMP||e===UD.PAREN_L||e===UD.PAREN_R||e===UD.SPREAD||e===UD.COLON||e===UD.EQUALS||e===UD.AT||e===UD.BRACKET_L||e===UD.BRACKET_R||e===UD.BRACE_L||e===UD.PIPE||e===UD.BRACE_R}(e)?'"'.concat(e,'"'):e}function dB(e,...t){QP(1===e.map((e=>e.trim())).filter((e=>e.length>0)).length,"Interpolations are only allowed at the end of the template.");const n=(i=e[0],new lB(i,{noLocation:!0}).parseDocument()),r=new Set(n.definitions);var i;return t.forEach((e=>e.definitions.forEach((e=>r.add(e))))),{kind:"Document",definitions:Array.from(r)}}function pB(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return dB.apply(void 0,k([e],I(t),!1))}!function(e){e.geolocation="geolocation",e.media="media",e.midi="midi",e.notifications="notifications",e.openExternal="openExternal"}(sB||(sB={}));var hB,fB,mB,gB,vB,yB,bB,CB=pB(hB||(hB=T(["\n  query DevicePermissionsRequestDialogQuery {\n    views {\n      devicePermissionsRequestDialogControl {\n        localizedStrings {\n          title\n          requestPermissionToDevice\n          updateAnyTimeNotice\n          allowButtonLabel\n          denyButtonLabel\n          closeButtonAria\n        }\n      }\n    }\n  }\n"],["\n  query DevicePermissionsRequestDialogQuery {\n    views {\n      devicePermissionsRequestDialogControl {\n        localizedStrings {\n          title\n          requestPermissionToDevice\n          updateAnyTimeNotice\n          allowButtonLabel\n          denyButtonLabel\n          closeButtonAria\n        }\n      }\n    }\n  }\n"]))),AB=pB(fB||(fB=T(["\n  query DevicePermissionsRefreshDialogQuery {\n    views {\n      devicePermissionsRefreshDialogControl {\n        localizedStrings {\n          title\n          closeButtonAria\n          laterButtonLabel\n          refreshButtonAria\n          refreshButtonLabel\n          unsavedChangesLost\n          updateAnyTimeNotice\n        }\n      }\n    }\n  }\n"],["\n  query DevicePermissionsRefreshDialogQuery {\n    views {\n      devicePermissionsRefreshDialogControl {\n        localizedStrings {\n          title\n          closeButtonAria\n          laterButtonLabel\n          refreshButtonAria\n          refreshButtonLabel\n          unsavedChangesLost\n          updateAnyTimeNotice\n        }\n      }\n    }\n  }\n"]))),SB=pB(mB||(mB=T(["\n  query DevicePermissionsCurrentAppPermissionsDialogWithSaveButtonQuery(\n    $appId: ID!\n    $includeNavigateToInstalledAppsControlText: Boolean!\n  ) {\n    views {\n      devicePermissionsCurrentAppDialogWithSaveButtonControl {\n        localizedStrings {\n          subtitle\n          cancelButtonAria\n          cancelButtonLabel\n          caption\n          saveButtonAria\n          saveButtonLabel\n\n          ... on NavigateToInstalledAppsControlString\n            @include(if: $includeNavigateToInstalledAppsControlText) {\n            navigateToInstalledAppsControlText\n          }\n\n          ... on LocalizedCommonAppPermissionsStrings {\n            closeButtonAria\n            title\n            permissions {\n              devicePermission\n              nameOfPermission\n              description\n            }\n          }\n        }\n      }\n    }\n    m365PlatformApp(applicationID: $appId) {\n      devicePermissions {\n        devicePermission\n        isConsentGivenOnCurrentDevice\n      }\n    }\n  }\n"],["\n  query DevicePermissionsCurrentAppPermissionsDialogWithSaveButtonQuery(\n    $appId: ID!\n    $includeNavigateToInstalledAppsControlText: Boolean!\n  ) {\n    views {\n      devicePermissionsCurrentAppDialogWithSaveButtonControl {\n        localizedStrings {\n          subtitle\n          cancelButtonAria\n          cancelButtonLabel\n          caption\n          saveButtonAria\n          saveButtonLabel\n\n          ... on NavigateToInstalledAppsControlString\n            @include(if: $includeNavigateToInstalledAppsControlText) {\n            navigateToInstalledAppsControlText\n          }\n\n          ... on LocalizedCommonAppPermissionsStrings {\n            closeButtonAria\n            title\n            permissions {\n              devicePermission\n              nameOfPermission\n              description\n            }\n          }\n        }\n      }\n    }\n    m365PlatformApp(applicationID: $appId) {\n      devicePermissions {\n        devicePermission\n        isConsentGivenOnCurrentDevice\n      }\n    }\n  }\n"])));pB(gB||(gB=T(["\n  query DevicePermissionsCurrentAppPermissionsDialogQuery(\n    $appId: ID!\n    $includeNavigateToInstalledAppsControlText: Boolean!\n  ) {\n    views {\n      devicePermissionsCurrentAppDialogControl {\n        localizedStrings {\n          subtitle\n          ... on NavigateToInstalledAppsControlString\n            @include(if: $includeNavigateToInstalledAppsControlText) {\n            navigateToInstalledAppsControlText\n          }\n          ... on LocalizedCommonAppPermissionsStrings {\n            closeButtonAria\n            title\n            permissions {\n              devicePermission\n              nameOfPermission\n              description\n            }\n          }\n        }\n      }\n    }\n    m365PlatformApp(applicationID: $appId) {\n      devicePermissions {\n        devicePermission\n        isConsentGivenOnCurrentDevice\n      }\n    }\n  }\n"],["\n  query DevicePermissionsCurrentAppPermissionsDialogQuery(\n    $appId: ID!\n    $includeNavigateToInstalledAppsControlText: Boolean!\n  ) {\n    views {\n      devicePermissionsCurrentAppDialogControl {\n        localizedStrings {\n          subtitle\n          ... on NavigateToInstalledAppsControlString\n            @include(if: $includeNavigateToInstalledAppsControlText) {\n            navigateToInstalledAppsControlText\n          }\n          ... on LocalizedCommonAppPermissionsStrings {\n            closeButtonAria\n            title\n            permissions {\n              devicePermission\n              nameOfPermission\n              description\n            }\n          }\n        }\n      }\n    }\n    m365PlatformApp(applicationID: $appId) {\n      devicePermissions {\n        devicePermission\n        isConsentGivenOnCurrentDevice\n      }\n    }\n  }\n"]))),pB(vB||(vB=T(["\n  query DevicePermissionsHubSettingsAppPermissionsDialogQuery($appId: ID!) {\n    views {\n      devicePermissionsHubSettingsAppDialogControl {\n        localizedStrings {\n          backToSettingsText\n          refreshToApplyPermissions\n          ... on LocalizedCommonAppPermissionsStrings {\n            title\n            closeButtonAria\n            permissions {\n              devicePermission\n              nameOfPermission\n              description\n            }\n          }\n        }\n      }\n    }\n    m365PlatformApp(applicationID: $appId) {\n      devicePermissions {\n        devicePermission\n        isConsentGivenOnCurrentDevice\n      }\n    }\n  }\n"],["\n  query DevicePermissionsHubSettingsAppPermissionsDialogQuery($appId: ID!) {\n    views {\n      devicePermissionsHubSettingsAppDialogControl {\n        localizedStrings {\n          backToSettingsText\n          refreshToApplyPermissions\n          ... on LocalizedCommonAppPermissionsStrings {\n            title\n            closeButtonAria\n            permissions {\n              devicePermission\n              nameOfPermission\n              description\n            }\n          }\n        }\n      }\n    }\n    m365PlatformApp(applicationID: $appId) {\n      devicePermissions {\n        devicePermission\n        isConsentGivenOnCurrentDevice\n      }\n    }\n  }\n"]))),pB(yB||(yB=T(["\n  query DevicePermissionsInstalledAppsQuery {\n    views {\n      devicePermissionsInstalledAppsControl {\n        localizedStrings {\n          title\n          description\n          installedAppsEmptyMessage\n        }\n      }\n    }\n    m365Apps {\n      edges {\n        node {\n          id\n          name\n          accessibleName\n          icon {\n            __typename\n            ... on RemoteImage {\n              src\n            }\n          }\n        }\n      }\n    }\n  }\n"],["\n  query DevicePermissionsInstalledAppsQuery {\n    views {\n      devicePermissionsInstalledAppsControl {\n        localizedStrings {\n          title\n          description\n          installedAppsEmptyMessage\n        }\n      }\n    }\n    m365Apps {\n      edges {\n        node {\n          id\n          name\n          accessibleName\n          icon {\n            __typename\n            ... on RemoteImage {\n              src\n            }\n          }\n        }\n      }\n    }\n  }\n"]))),pB(bB||(bB=T(["\n  mutation DevicePermissionsConsentMutation(\n    $applicationID: ID!\n    $devicePermissions: [DevicePermissionStateInput!]!\n  ) {\n    changeDevicePermissionConsentStatus(\n      input: {\n        applicationID: $applicationID\n        devicePermissions: $devicePermissions\n      }\n    ) {\n      updatedM365Application {\n        id\n        devicePermissions {\n          devicePermission\n          isConsentGivenOnCurrentDevice\n        }\n      }\n    }\n  }\n"],["\n  mutation DevicePermissionsConsentMutation(\n    $applicationID: ID!\n    $devicePermissions: [DevicePermissionStateInput!]!\n  ) {\n    changeDevicePermissionConsentStatus(\n      input: {\n        applicationID: $applicationID\n        devicePermissions: $devicePermissions\n      }\n    ) {\n      updatedM365Application {\n        id\n        devicePermissions {\n          devicePermission\n          isConsentGivenOnCurrentDevice\n        }\n      }\n    }\n  }\n"])));const EB=Sx("ChevronLeft16Filled","16",["M10.26 3.2c.3.28.32.76.04 1.06L6.77 8l3.53 3.74a.75.75 0 1 1-1.1 1.02l-4-4.25a.75.75 0 0 1 0-1.02l4-4.25a.75.75 0 0 1 1.06-.04Z"]),wB=l.forwardRef(((e,t)=>{const n=XI(e,t);return JI(n),cw("useTextStyles_unstable")(n),QI(n)}));wB.displayName="Text";var xB=ow({headline:{userSelect:"none",color:UI,fontWeight:"var(--fontWeightSemibold)",lineHeight:"var(--lineHeightBase500)"},text:{color:UI,lineHeight:YI,userSelect:"none","@media screen and (max-width: 480px)":{lineHeight:YI}}}),IB=function(e){var t=e.className,n=e.children,r=lx(xB().text,t);return l.createElement(wB,{size:300,className:r},n)},kB=function(e){var t=e.children,n=e.className,r=lx(xB().headline,n);return l.createElement(wB,{size:500,className:r},t)},TB=ow({borderRadius:A({},Ck.borderRadius("var(--borderRadiusXLarge)")),dialogBox:A(A(A(A({backgroundColor:$I},Ck.borderColor("var(--colorTransparentStroke)")),Ck.borderStyle("solid")),Ck.borderWidth("1px")),{display:"flex",flexDirection:"column",flexWrap:"nowrap",height:"auto",maxHeight:"100vh",maxWidth:"600px",opacity:1,paddingBottom:"".concat(24,"px"),position:"fixed",rowGap:"".concat(8,"px"),width:"560px",zIndex:100,flexShrink:1,"> *":{textOverflow:"ellipsis"},"> :not(:first-child)":{marginTop:"0px"},boxSizing:"border-box","@media screen and (max-width: 480px)":{width:"320px"}}),centering:{left:"50%",top:"50%",transform:"translate(-50%, -50%)"},overlay:{backgroundColor:"rgba(0,0,0,0.4)",position:"fixed",top:"0",left:"0",bottom:"0",right:"0",width:"100%",height:"100%",zIndex:50},contentSlot:A(A({lineHeight:YI},Ck.paddingInline("".concat(24,"px"))),{boxSizing:"border-box","@media screen and (max-width: 480px)":{display:"flex",flexDirection:"column",width:"inherit"}}),shadow:{boxShadow:"var(--shadow64)"},header:{alignItems:"center",boxSizing:"border-box",color:UI,display:"flex",flexShrink:1,flexWrap:"nowrap",height:"fit-content",justifyContent:"space-between",paddingBottom:"".concat(22,"px"),paddingLeft:0,paddingRight:"".concat(20,"px"),paddingTop:"".concat(24,"px"),width:"100%","> *":{textOverflow:"ellipsis"},"> :not(:first-child)":{marginTop:"0px"}},headerButton:{alignSelf:"start"},headerText:{display:"flex",flexDirection:"column",justifyContent:"flex-start",verticalAlign:"top"},titleText:{paddingLeft:"".concat(24,"px")},backToSettingsStyles:{color:"var(--colorNeutralStroke1)",fontSize:GI,fontWeight:KI,justifyContent:"flex-start",paddingLeft:"".concat(15,"px"),paddingRight:0,paddingTop:0},closeButton:{alignSelf:"flex-start"},item:{height:"auto",width:"auto",flexShrink:1}}),_B=function(e){var t=e.backToSettingsText,n=e.id,r=e.onButtonClick,i=e.closeButtonAria,o=e.title,a=TB(),s=lx(a.item,a.headerButton),c=lx(a.item,a.headerText);return l.createElement("div",{id:n,className:a.header},l.createElement("div",{className:c},t&&l.createElement(fI,{icon:l.createElement(EB,null),onClick:r,className:a.backToSettingsStyles,"aria-label":i,appearance:"transparent"},t),l.createElement(kB,{className:a.titleText},o)),l.createElement("div",{className:s},l.createElement(fI,{"aria-label":i,appearance:"subtle",icon:l.createElement(Ek,null),onClick:r})))},PB=function(e){var t,n=TB(),r=hx(),i=l.useRef(null),o=function(e){var t=I(l.useState([]),2),n=t[0],r=t[1];return l.useEffect((function(){if(e.current){var t=Array.from(e.current.querySelectorAll("a[href], button, input, textarea, select, details,[tabindex]")).filter((function(e){return"-1"!==e.getAttribute("tabindex")&&!e.hasAttribute("disabled")&&!e.getAttribute("aria-hidden")})).sort((function(e,t){var n,r,i=null!==(n=Number(e.getAttribute("tabindex")))&&void 0!==n?n:0,o=null!==(r=Number(t.getAttribute("tabindex")))&&void 0!==r?r:0;return i===o?0:0===i?1:0===o||i<o?-1:1}));r(t)}}),[]),n}(i);!function(e,t){l.useEffect((function(){var n=function(n){var r=null==e?void 0:e.current;!function(e){if(!e||!("nodeType"in e))throw new Error("Node expected")}(n.target),r&&!r.contains((null==n?void 0:n.target)||null)&&t(n)};return document.addEventListener("mousedown",n),function(){document.removeEventListener("mousedown",n)}}),[e,t])}(i,e.dialogHeaderProps.closeButtonClick);var a=I(l.useState(0),2),s=a[0],c=a[1],u=e.renderDialogContainerStyles,d=void 0===u||u,p=l.useCallback((function(e){var t=o.length;return e.shiftKey?(c(s-1<0?t-1:s-1),o[s].focus(),e.preventDefault()):(c(s+1>=t?0:s+1),o[s].focus(),e.preventDefault())}),[s,o]),h=lx(d&&n.borderRadius,d&&n.shadow,d&&n.centering,n.dialogBox);(0,l.useEffect)((function(){var t=function(t){switch(t.key){case"Escape":e.dialogHeaderProps.closeButtonClick(t);break;case"Tab":p(t)}};return window.addEventListener("keydown",t),function(){return window.removeEventListener("keydown",t)}}),[p,e.dialogHeaderProps]);var f=lx(e.renderDialogContainerStyles&&n.overlay);return l.createElement(l.Fragment,null,d&&l.createElement("div",{className:f}),l.createElement("div",{"aria-labelledby":r,"aria-modal":!0,className:h,role:"dialog",ref:i,style:{gap:null!==(t=e.gap)&&void 0!==t?t:0},tabIndex:-1},l.createElement(_B,{closeButtonAria:e.dialogHeaderProps.closeButtonAria,id:r,onButtonClick:e.dialogHeaderProps.closeButtonClick,title:e.dialogHeaderProps.title,backToSettingsText:e.dialogHeaderProps.backToSettingsText}),l.createElement("div",{className:n.contentSlot},e.children)))},DB=ow({buttonGroup:{display:"flex",justifyContent:"end",width:"100%",columnGap:"".concat(8,"px"),boxSizing:"border-box","@media screen and (max-width: 480px)":{flexDirection:"column",rowGap:"".concat(8,"px")}},footer:A(A({height:"fit-content",boxSizing:"border-box",justifyContent:"space-between",vAlign:"top",width:"100%",display:"flex",paddingTop:"".concat(14,"px")},Ck.marginInline("".concat(4,"px"))),{"@media screen and (max-width: 480px)":A(A({flexDirection:"column"},Ck.marginInline(0)),{paddingTop:"".concat(18,"px"),rowGap:"".concat(8,"px")})})}),BB=function(e){var t=e.className,n=e.children,r=e.includeButtonGroup,i=void 0===r||r,o=DB();return l.createElement("div",{className:"".concat(o.footer," ").concat(t||"")},i?l.createElement("div",{className:o.buttonGroup},n):n)},RB=ow({dialogContent:{display:"flex",flexDirection:"column",rowGap:"12px"},PermissionsIcon:{display:"flex",height:"auto",width:"auto"},IconTextWrapper:{display:"flex",width:"auto",height:"auto",alignItems:"start",boxSizing:"border-box",columnGap:"".concat(14,"px"),flexShrink:1,"> *":{textOverflow:"ellipsis"},"> :not(:first-child)":{marginTop:"0px"}}}),MB=l.forwardRef((function(e,t){var n,r=e.appId,i=e.permissionBeingRequested,o=e.renderDialogContainerStyles,a=void 0===o||o,s=nD(CB,{}),c=(0,l.useMemo)((function(){if(s.error)throw s.error;return(null==s?void 0:s.data)?s.data:null}),[s.data,s.error]),u=(0,l.useCallback)((function(){if(i){var e=void 0;return"media"===i?e=l.createElement(Ak,null):"midi"===i?e=l.createElement(XP,null):"geolocation"===i&&(e=l.createElement(JP,null)),e}}),[i]),d=(n=uD(),{bubbleAllowPermission:l.useCallback((function(e){return w(void 0,void 0,void 0,(function(){return x(this,(function(t){return n.bubble({event:(o=function(){if(!c)throw new Error("No permission passed to dialog");return{appId:r,permissionType:i}},{originator:GP,type:KP,data:o}),reactEvent:e}),[2];var o}))}))}),[n]),bubbleDenyPermission:l.useCallback((function(e){return w(void 0,void 0,void 0,(function(){return x(this,(function(t){return n.bubble({event:(o=function(){if(!c)throw new Error("No permission passed to dialog");return{appId:r,permissionType:i}},{originator:GP,type:YP,data:o}),reactEvent:e}),[2];var o}))}))}),[n])}),p=RB();return l.useMemo((function(){var e,t,n,r,i,o,s,h,f,m,g,v,y,b,C,A,S,E,w=function(e){d.bubbleDenyPermission(e)};return l.createElement(PB,{dialogHeaderProps:{title:"".concat(null===(n=null===(t=null===(e=null==c?void 0:c.views)||void 0===e?void 0:e.devicePermissionsRequestDialogControl)||void 0===t?void 0:t.localizedStrings)||void 0===n?void 0:n.title),closeButtonClick:w,closeButtonAria:"".concat(null===(o=null===(i=null===(r=null==c?void 0:c.views)||void 0===r?void 0:r.devicePermissionsRequestDialogControl)||void 0===i?void 0:i.localizedStrings)||void 0===o?void 0:o.closeButtonAria)},renderDialogContainerStyles:a},l.createElement("div",{className:p.dialogContent},l.createElement("div",{className:p.IconTextWrapper},l.createElement("div",{className:p.PermissionsIcon},u()),l.createElement(IB,null,null===(f=null===(h=null===(s=null==c?void 0:c.views)||void 0===s?void 0:s.devicePermissionsRequestDialogControl)||void 0===h?void 0:h.localizedStrings)||void 0===f?void 0:f.requestPermissionToDevice)),l.createElement(IB,null,null===(v=null===(g=null===(m=null==c?void 0:c.views)||void 0===m?void 0:m.devicePermissionsRequestDialogControl)||void 0===g?void 0:g.localizedStrings)||void 0===v?void 0:v.updateAnyTimeNotice)),l.createElement(BB,null,l.createElement(fD,{ariaDescribedByText:"Approve the app's request to access this device",buttonLabel:"".concat(null===(C=null===(b=null===(y=null==c?void 0:c.views)||void 0===y?void 0:y.devicePermissionsRequestDialogControl)||void 0===b?void 0:b.localizedStrings)||void 0===C?void 0:C.allowButtonLabel),onClick:function(e){d.bubbleAllowPermission(e)}}),l.createElement(fD,{ariaDescribedByText:"Decline the app's request to access this device",buttonLabel:"".concat(null===(E=null===(S=null===(A=null==c?void 0:c.views)||void 0===A?void 0:A.devicePermissionsRequestDialogControl)||void 0===S?void 0:S.localizedStrings)||void 0===E?void 0:E.denyButtonLabel),onClick:w,appearance:"secondary"})))}),[c,d,a,u])})),LB="BrowserRefreshDialogRefreshDialogOriginator",OB={allowBrowserRefresh:"allowBrowserRefresh",deferBrowserRefresh:"deferBrowserRefresh"},FB=ow({dialogContent:{display:"flex",flexDirection:"column",rowGap:"12px"}}),NB=function(e){var t,n,r,i,o,a,s,c,u,d,p,h=e.appId,f=e.renderDialogContainerStyles,m=void 0===f||f,g=FB(),v=nD(AB,{}),y=(0,l.useMemo)((function(){if(v.error)throw v.error;return v.data?v.data:null}),[v.data,v.error]),b=(p=uD(),{bubbleAllowBrowserRefresh:(0,l.useCallback)((function(e){return w(void 0,void 0,void 0,(function(){return x(this,(function(t){return p.bubble({event:(n=function(){return{appId:h}},{originator:LB,type:OB.allowBrowserRefresh,data:n}),reactEvent:e}),[2];var n}))}))}),[p]),bubbleDeclineBrowserRefresh:(0,l.useCallback)((function(e){return w(void 0,void 0,void 0,(function(){return x(this,(function(t){return p.bubble({event:(n=function(){return{appId:h}},{originator:LB,type:OB.deferBrowserRefresh,data:n}),reactEvent:e}),[2];var n}))}))}),[p])});return(0,l.useMemo)((function(){var e,t,n,r,i,o,a,s,c,u,d,p,h,f,v,C,A=function(e){return b.bubbleDeclineBrowserRefresh(e)};return l.createElement(PB,{dialogHeaderProps:{title:"".concat(null===(e=null==y?void 0:y.views.devicePermissionsRefreshDialogControl)||void 0===e?void 0:e.localizedStrings.title),closeButtonClick:A,closeButtonAria:"".concat(null===(t=null==y?void 0:y.views.devicePermissionsRefreshDialogControl)||void 0===t?void 0:t.localizedStrings.closeButtonAria)},renderDialogContainerStyles:m},l.createElement("div",{className:g.dialogContent},l.createElement(IB,null,null===(n=null==y?void 0:y.views.devicePermissionsRefreshDialogControl)||void 0===n?void 0:n.localizedStrings.unsavedChangesLost),l.createElement(IB,null,null===(r=null==y?void 0:y.views.devicePermissionsRefreshDialogControl)||void 0===r?void 0:r.localizedStrings.updateAnyTimeNotice)),l.createElement(BB,null,l.createElement(fD,{buttonLabel:"".concat(null===(a=null===(o=null===(i=null==y?void 0:y.views)||void 0===i?void 0:i.devicePermissionsRefreshDialogControl)||void 0===o?void 0:o.localizedStrings)||void 0===a?void 0:a.refreshButtonLabel),ariaDescribedByText:"".concat(null===(u=null===(c=null===(s=null==y?void 0:y.views)||void 0===s?void 0:s.devicePermissionsRefreshDialogControl)||void 0===c?void 0:c.localizedStrings)||void 0===u?void 0:u.refreshButtonAria),onClick:function(e){return b.bubbleAllowBrowserRefresh(e)}}),l.createElement(fD,{buttonLabel:"".concat(null===(h=null===(p=null===(d=null==y?void 0:y.views)||void 0===d?void 0:d.devicePermissionsRefreshDialogControl)||void 0===p?void 0:p.localizedStrings)||void 0===h?void 0:h.laterButtonLabel),ariaDescribedByText:"".concat(null===(C=null===(v=null===(f=null==y?void 0:y.views)||void 0===f?void 0:f.devicePermissionsRefreshDialogControl)||void 0===v?void 0:v.localizedStrings)||void 0===C?void 0:C.closeButtonAria),onClick:A,appearance:"secondary"})))}),[null===(t=null==y?void 0:y.views.devicePermissionsRefreshDialogControl)||void 0===t?void 0:t.localizedStrings.closeButtonAria,null===(r=null===(n=null==y?void 0:y.views.devicePermissionsRefreshDialogControl)||void 0===n?void 0:n.localizedStrings)||void 0===r?void 0:r.laterButtonLabel,null===(o=null===(i=null==y?void 0:y.views.devicePermissionsRefreshDialogControl)||void 0===i?void 0:i.localizedStrings)||void 0===o?void 0:o.refreshButtonAria,null===(s=null===(a=null==y?void 0:y.views.devicePermissionsRefreshDialogControl)||void 0===a?void 0:a.localizedStrings)||void 0===s?void 0:s.refreshButtonLabel,null===(c=null==y?void 0:y.views.devicePermissionsRefreshDialogControl)||void 0===c?void 0:c.localizedStrings.title,null===(u=null==y?void 0:y.views.devicePermissionsRefreshDialogControl)||void 0===u?void 0:u.localizedStrings.unsavedChangesLost,null===(d=null==y?void 0:y.views.devicePermissionsRefreshDialogControl)||void 0===d?void 0:d.localizedStrings.updateAnyTimeNotice,b,m,g.dialogContent])},HB="CurrentAppPermissionsRequestDialog",zB="cancelPermissionsChange",VB="savePermissionsChange";const UB=Sx("Open20Regular","20",["M6 4a2 2 0 0 0-2 2v8c0 1.1.9 2 2 2h8a2 2 0 0 0 2-2v-2.5a.5.5 0 0 1 1 0V14a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3h2.5a.5.5 0 0 1 0 1H6Zm5-.5c0-.28.22-.5.5-.5h5c.28 0 .5.22.5.5v5a.5.5 0 0 1-1 0V4.7l-4.15 4.15a.5.5 0 0 1-.7-.7L15.29 4H11.5a.5.5 0 0 1-.5-.5Z"]);var jB,WB,$B,qB,GB=ow({labelText:A({color:UI,fontSize:GI,fontWeight:600},Ck.padding("5px 0")),toggle:A(A(A({alignItems:"center",backgroundColor:"transparent",display:"flex",flexWrap:"wrap"},Ck.border("0")),Ck.padding("0")),(jB={":focus":A(A({},Ck.outline(0)),(WB={},WB["& span"]=A({},Ck.outline("2px","solid",jI)),WB)),":focus:not(:focus-visible) span":A({},Ck.outline(0))},jB['[aria-checked="true"] span']=A({backgroundColor:qI},Ck.border("1px","solid","var(--colorTransparentStrokeInteractive)")),jB['[aria-checked="true"] span::before']={backgroundColor:$I,transform:"translateX(19px)"},jB['[aria-checked="false"]:hover span']=A({},Ck.border("1px","solid",WI)),jB['[aria-checked="false"]:hover span::before']={backgroundColor:WI},jB['[aria-checked="true"]:hover span']={backgroundColor:"var(--colorBrandBackgroundHover)"},jB[":disabled span"]={opacity:"0.6",filter:"grayscale(40%)",cursor:"not-allowed"},jB["@media (prefers-reduced-motion: reduce) span"]={transitionDuration:"0ms"},jB)),toggleDisplay:A(A(A({alignItems:"center",backgroundColor:$I,boxSizing:"border-box",display:"inline-flex",height:"20px",justifyContent:"space-around",position:"relative",transitionDuration:"250ms",width:"40px"},Ck.border("1px","solid",jI)),Ck.borderRadius("100px")),{"&:before":A(A({backgroundColor:jI,boxSizing:"border-box",content:"''",height:"14px",left:"3px",position:"absolute",transform:"translateX(0, -50%)",width:"14px",zIndex:"2"},Ck.borderRadius("50%")),Ck.transition("transform","250ms"))})}),KB=function(e){var t=e.checked,n=e.disabled,r=void 0!==n&&n,i=e.id,o=e.label,a=e.onClick,s=GB();return l.createElement(l.Fragment,null,o&&l.createElement("span",{className:s.labelText,id:i},o),l.createElement("button",{"aria-labelledby":i,className:s.toggle,onClick:a,disabled:r,role:"switch","aria-checked":t},l.createElement("span",{hidden:!0,className:s.toggleDisplay})))},YB=ow({icon:{alignSelf:"flex-start",paddingRight:"".concat(17,"px")},mediaPermission:{height:"20px",width:"20px"},permissionName:{fontWeight:"var(--fontWeightMedium)"},permissionsText:{color:UI},permissionList:{boxSizing:"border-box"},permissionRow:{borderBottomColor:"var(--colorNeutralStroke2)",borderBottomStyle:"solid",borderBottomWidth:"1px",display:"flex",paddingBottom:"20px",paddingTop:"12px",width:"100%"},toggle:{marginLeft:"auto"}}),XB=function(e){var t=e.devicePermissions,n=e.permissions,r=e.onClick,i=YB();return l.createElement("div",{className:i.permissionList},null==n?void 0:n.map((function(e,n){return function(e,t,n){var o;switch(e.devicePermission){case sB.media:o=l.createElement(wx,{className:i.mediaPermission});break;case sB.geolocation:o=l.createElement(JP,null);break;case sB.midi:o=l.createElement(ZP,null);break;case sB.notifications:o=l.createElement(Dk,null);break;case sB.openExternal:o=l.createElement(UB,null)}return l.createElement("div",{key:"".concat(n),className:i.permissionRow},l.createElement("div",{className:i.icon},o),l.createElement("div",{className:i.permissionsText},l.createElement("div",{className:i.permissionName},e.nameOfPermission),l.createElement("div",null,e.description)),l.createElement("div",{className:i.toggle},l.createElement(KB,{id:"".concat(n),checked:t[e.devicePermission],onClick:function(n){return r(n,null==e?void 0:e.devicePermission,!t[e.devicePermission])}})))}(e,t,n)})))},ZB=ow({dialogContent:{display:"flex",flexDirection:"column",rowGap:"12px"},navigateToInstalledApps:{color:qI,paddingLeft:0,paddingTop:0,paddingRight:0,paddingBottom:0,gridColumnStart:1,gridColumnEnd:1,fontWeight:KI,justifyContent:"flex-start"},footer:{display:"grid",gridTemplateColumns:"1fr auto auto",gridTemplateRows:"auto",rowGap:"8px",columnGap:"8px",width:"100%"},caption:{fontSize:GI,gridRowStart:"1",gridRowEnd:"1",gridColumnStart:"span 3"},leftButton:{gridColumnStart:2,gridColumnEnd:2},rightButton:{gridColumnStart:3,gridColumnEnd:3}}),JB=l.forwardRef((function(e,t){var n=e.appId,r=e.includeNavigateToInstalledAppsControlText,i=e.renderDialogContainerStyles,o=void 0===i||i,a=l.useRef(),s=nD(SB,{appId:n,includeNavigateToInstalledAppsControlText:r}),c=I(l.useState(Object.keys(sB).reduce((function(e,t){var n;return A(A({},e),((n={})[t]=!1,n))}),{})),2),u=c[0],d=c[1];l.useEffect((function(){var e,t,n=((null===(t=null===(e=s.data)||void 0===e?void 0:e.m365PlatformApp.devicePermissions)||void 0===t?void 0:t.map((function(e){return A(A({},e),{devicePermission:e.devicePermission})})))||[]).reduce((function(e,t){var n;return A(A({},e),((n={})[t.devicePermission]=t.isConsentGivenOnCurrentDevice,n))}),{});a.current=n,d(n)}),[]);var p=l.useCallback((function(e,t){var n,r=A(A({},u),((n={})[e]=t,n));d(r)}),[u]),h=l.useMemo((function(){if(s.error)throw s.error;return(null==s?void 0:s.data)?s.data:null}),[s]),f=uD(),m=l.useCallback((function(){return{bubbleCancelPermissionConsentChanges:function(e,t){return w(void 0,void 0,void 0,(function(){return x(this,(function(r){return f.bubble({event:(i=function(){if(!h)throw new Error("No permission passed to dialog");return{appId:n,navigateToInstalledAppsPermissionsSettings:t}},{originator:HB,type:zB,data:i}),reactEvent:e}),[2];var i}))}))},bubbleSavePermissionConsentChanges:function(e){return w(void 0,void 0,void 0,(function(){var t;return x(this,(function(r){return t=function(e){if(!e)return[];var t=[];return Object.keys(e).forEach((function(n){t.push({devicePermission:n,isConsentGivenOnCurrentDevice:e[n]})})),t}(u),f.bubble({event:(i=function(){if(!h)throw new Error("No permission passed to dialog");return{appId:n,permissionTypes:t}},{originator:HB,type:VB,data:i}),reactEvent:e}),[2];var i}))}))}}}),[u,n,h,f])(),g=ZB();return l.useMemo((function(){var e,t,n,i,a,s,c,d,f,v,y,b,C,A,S,E,w,x,I,k,T,_,P,D,B,R,M,L,O,F,N,H,z,V,U,j=function(e,t){void 0===t&&(t=!1),m.bubbleCancelPermissionConsentChanges(e,t)};return l.createElement(PB,{dialogHeaderProps:{title:"".concat(null===(n=null===(t=null===(e=null==h?void 0:h.views)||void 0===e?void 0:e.devicePermissionsCurrentAppDialogWithSaveButtonControl)||void 0===t?void 0:t.localizedStrings)||void 0===n?void 0:n.title),closeButtonClick:j,closeButtonAria:"".concat(null===(s=null===(a=null===(i=null==h?void 0:h.views)||void 0===i?void 0:i.devicePermissionsCurrentAppDialogWithSaveButtonControl)||void 0===a?void 0:a.localizedStrings)||void 0===s?void 0:s.closeButtonAria)},renderDialogContainerStyles:o},l.createElement("div",{className:g.dialogContent},(null===(f=null===(d=null===(c=null==h?void 0:h.views)||void 0===c?void 0:c.devicePermissionsCurrentAppDialogWithSaveButtonControl)||void 0===d?void 0:d.localizedStrings)||void 0===f?void 0:f.subtitle)&&l.createElement(IB,null,null===(b=null===(y=null===(v=null==h?void 0:h.views)||void 0===v?void 0:v.devicePermissionsCurrentAppDialogWithSaveButtonControl)||void 0===y?void 0:y.localizedStrings)||void 0===b?void 0:b.subtitle),l.createElement(IB,null,l.createElement(XB,{permissions:(null===(C=null==h?void 0:h.views.devicePermissionsCurrentAppDialogWithSaveButtonControl)||void 0===C?void 0:C.localizedStrings.permissions)||[],devicePermissions:u,onClick:function(e,t,n){p(t,n)}}))),(null===(E=null===(S=null===(A=null==h?void 0:h.views)||void 0===A?void 0:A.devicePermissionsCurrentAppDialogWithSaveButtonControl)||void 0===S?void 0:S.localizedStrings)||void 0===E?void 0:E.navigateToInstalledAppsControlText)&&l.createElement(BB,{includeButtonGroup:!1},l.createElement("div",{className:g.footer},r&&l.createElement(fI,{onClick:function(e){return j(e,!0)},className:g.navigateToInstalledApps,"data-id":"currentAppPermissionsDialogNavigateToInstalledAppsButtons","aria-label":(null===(I=null===(x=null===(w=null==h?void 0:h.views)||void 0===w?void 0:w.devicePermissionsCurrentAppDialogWithSaveButtonControl)||void 0===x?void 0:x.localizedStrings)||void 0===I?void 0:I.navigateToInstalledAppsControlText)||"",appearance:"transparent"},null===(_=null===(T=null===(k=null==h?void 0:h.views)||void 0===k?void 0:k.devicePermissionsCurrentAppDialogWithSaveButtonControl)||void 0===T?void 0:T.localizedStrings)||void 0===_?void 0:_.navigateToInstalledAppsControlText),l.createElement(l.Fragment,null,l.createElement("div",{className:g.caption},null===(D=null===(P=null==h?void 0:h.views)||void 0===P?void 0:P.devicePermissionsCurrentAppDialogWithSaveButtonControl)||void 0===D?void 0:D.localizedStrings.caption),l.createElement("span",{className:g.leftButton},l.createElement(fD,{buttonLabel:"".concat(null===(M=null===(R=null===(B=null==h?void 0:h.views)||void 0===B?void 0:B.devicePermissionsCurrentAppDialogWithSaveButtonControl)||void 0===R?void 0:R.localizedStrings)||void 0===M?void 0:M.saveButtonLabel),ariaDescribedByText:"".concat(null===(F=null===(O=null===(L=null==h?void 0:h.views)||void 0===L?void 0:L.devicePermissionsCurrentAppDialogWithSaveButtonControl)||void 0===O?void 0:O.localizedStrings)||void 0===F?void 0:F.saveButtonAria),onClick:function(e){m.bubbleSavePermissionConsentChanges(e)},"data-id":"CurrentAppPermissionsSaveButton"})),l.createElement("span",{className:g.rightButton},l.createElement(fD,{buttonLabel:"".concat(null===(H=null===(N=null==h?void 0:h.views)||void 0===N?void 0:N.devicePermissionsCurrentAppDialogWithSaveButtonControl)||void 0===H?void 0:H.localizedStrings.cancelButtonLabel),ariaDescribedByText:"".concat(null===(U=null===(V=null===(z=null==h?void 0:h.views)||void 0===z?void 0:z.devicePermissionsCurrentAppDialogWithSaveButtonControl)||void 0===V?void 0:V.localizedStrings)||void 0===U?void 0:U.cancelButtonAria),"data-id":"CurrentAppPermissionsCancelButton",onClick:j,appearance:"secondary"}))))))}),[u,h,r,m,o,g.caption,g.dialogContent,g.footer,g.leftButton,g.navigateToInstalledApps,g.rightButton,p])}));function QB(){return window.chrome.webview}!function(e){e.stage="stage",e.task="task",e.configuration="configuration",e.removal="removal"}($B||($B={})),function(e){e.url="url",e.card="card",e.message="message",e.error="error",e.loader="loader"}(qB||(qB={}));class eR{createScenario(e,t,n){return new tR(e,t,n)}}class tR{name;appId;startTime;lastMark;phases=[];constructor(e,t,n=Date.now()){this.name=e,this.appId=t,this.startTime=n,this.lastMark=n}markPhase(e){const t=Date.now(),n=t-this.lastMark;this.lastMark=t,this.phases.push({name:e,duration:n})}stop(){const e=Date.now();QB()?.postMessage({stopScenario:{name:this.name,appId:this.appId,result:"success",startTime:this.startTime,endTime:e,durationInMs:e-this.startTime,phases:this.phases}})}fail(e){const t=Date.now();QB()?.postMessage({failScenario:{name:this.name,appId:this.appId,result:"failure",startTime:this.startTime,endTime:t,durationInMs:t-this.startTime,error:e,phases:this.phases}})}}class nR{constructor(){this.registrations=new Map}addEventListener(e,t){this.registrations.set(e,t)}dispatchEvent(e,t){this.registrations.has(e)&&this.registrations.get(e)(t)}clearListeners(){this.registrations.clear()}}const rR=(e,t,n)=>{const r=`https://teams.microsoft.com/l/entity/${e}/${t}`,i=new URLSearchParams;n.subEntityWebUrl&&i.append("webUrl",n.subEntityWebUrl),n.subEntityLabel&&i.append("label",n.subEntityLabel),n.subEntityId&&i.append("context",JSON.stringify({subEntityId:n.subEntityId}));const o=i.toString();return`${r}${o&&`?${o}`}`},iR=["conversations","about"],oR=e=>{switch(e){case"botBased":return"BotBased";case"apiBased":return"ApiBased";default:return}},aR=e=>{var t;return(null===(t=e.titleDefinition.elementDefinitions.composeExtensions[0].commands)||void 0===t?void 0:t.map((e=>({id:e.id,parameterNames:e.parameters?e.parameters.map((e=>e.name)):[]}))))||[]};function sR(e){var t,n;const{copilotAgents:r,copilotExtensions:i}=e;return(null===(t=null==r?void 0:r.customEngineAgents)||void 0===t?void 0:t.length)?r.customEngineAgents.map((e=>({id:new ar(e.id),type:e.type}))):(null===(n=null==i?void 0:i.customEngineCopilots)||void 0===n?void 0:n.length)?i.customEngineCopilots.map((e=>({id:new ar(e.id),type:e.type}))):[]}const lR=e=>{var t;return(null===(t=e.composeExtensions[0].commands)||void 0===t?void 0:t.map((e=>({id:e.id,parameterNames:e.parameters?e.parameters.map((e=>e.name)):[]}))))||[]};function cR(e){return void 0!==e.titleDefinition}function uR(e){return cR(e)?e.appId||e.titleId:e.appId}function dR(e){return cR(e)?e.titleDefinition.name:e.name}function pR(e){return function(e){return(cR(e)?e.titleDefinition.elementDefinitions.staticTabs:e.staticTabs)||[]}(e).filter((e=>e.entityId&&e.contentUrl&&e.scopes.some((e=>"personal"===e.toLowerCase()))))}function hR(e,t){return pR(e).find((e=>e.entityId===t))}function fR(e){return function(e){return(cR(e)?e.titleDefinition.devicePermissions:e.devicePermissions)||[]}(e).length>0}const mR=["d870f6cd-4aa5-4d42-9626-ab690c041429"];class gR extends nR{configService;entityId;contentUrl;appDefinition;constructor(){super(),this.configService=new vR,this.getConfig=async()=>({suggestedDisplayName:this.appDefinition&&this.entityId&&hR(this.appDefinition,this.entityId)?.name,contentUrl:this.contentUrl||"",removeUrl:void 0,websiteUrl:void 0,entityId:this.entityId})}async returnFocus(e){QB()?.postMessage({returnFocus:e||!1})}async setCurrentFrame(e){}async navigateToApp(e){const t={type:"appEntity",appId:e.appId,entityId:e.pageId,subEntityId:e.subPageId,fallbackUrl:e.webUrl};QB()?.postMessage({executeDeepLink:t})}shareDeepLink=async e=>{this.appDefinition&&this.entityId&&QB()?.postMessage({shareDeepLink:rR(uR(this.appDefinition),this.entityId,e)})}}class vR extends nR{customEventRegistrations=new Map;removeTimer=null;addCustomEventListener(e,t){const n=this.customEventRegistrations.get(e)||new Set;n.add(t),this.customEventRegistrations.set(e,n)}removeCustomEventListener(e,t){return this.customEventRegistrations.get(e)?.delete(t)||!1}dispatchCustomEvent(e,t){this.customEventRegistrations.get(e)?.forEach((e=>e(t)))}setConfig=async e=>(QB()?.postMessage({submitConfiguration:e}),!0);setValidityState=async e=>{this.dispatchCustomEvent("setValidityState",e)};async onSaveSuccess(){QB()?.postMessage({submitDialog:{result:"ok"}})}async onSaveFailure(e){QB()?.postMessage({submitDialog:{error:e}})}onRemoveSuccess=async()=>{this.clearRemoveTimer(),QB()?.postMessage({removeConfiguration:!0})};async onRemoveFailure(e){this.clearRemoveTimer(),QB()?.postMessage({submitDialog:{error:e}})}startRemoveTimer=()=>{this.clearRemoveTimer(),this.removeTimer=setTimeout((()=>{this.onRemoveSuccess()}),3e4)};clearRemoveTimer=()=>{null!==this.removeTimer&&(clearTimeout(this.removeTimer),this.removeTimer=null)}}function yR(e){if("number"==typeof e)return e;if("string"==typeof e){const t=parseInt(e);if(!isNaN(t))return t;switch(e.toLowerCase()){case"large":return-3;case"medium":return-2;default:return-1}}return-1}const bR="https://outlook.office.com/local/help/contact-support",CR=e=>{const t=new URL(e);if(!t.pathname)throw Error(`Missing deep link path: ${e}`);if("https://teams.microsoft.com"===t.origin&&/^\/l\//.test(t.pathname))return(e=>{const t=e.pathname.match(/^\/l\/entity\/([^/]+)\/([^/]+)$/);if(3!==t?.length)return null;const n=t[1],r=t[2];if(!n||!r)return null;const i=e.searchParams.get("context"),o=i&&JSON.parse(i),a=o?.subEntityId;return{type:"appEntity",appId:n,entityId:r,subEntityId:a,fallbackUrl:e.searchParams.get("webUrl")}})(t)||(e=>{const t=e.pathname.match(/^\/l\/app\/delete\/([^/]+)$/);if(2!==t?.length)return null;const n=t[1];return n?{type:"deleteApp",appId:n}:null})(t)||(e=>{const t=e.pathname.match(/^\/l\/app\/([^/]+)$/);if(2!==t?.length)return null;const n=t[1];return n?{type:"installApp",appId:n}:null})(t)||(e=>"/l/chat/0/0"!==e.pathname?null:{type:"chat",users:e.searchParams.get("users")?.split(",")||[],topicName:e.searchParams.get("topicName"),message:e.searchParams.get("message")})(t)||(e=>"/l/call/0/0"!==e.pathname?null:{type:"call",users:e.searchParams.get("users")?.split(",")||[],withVideo:"true"===e.searchParams.get("withVideo"),source:e.searchParams.get("source")})(t)||(e=>{const t=e.pathname.match(/^\/l\/task\/([^/]+)$/);if(2!==t?.length)return null;const n=t[1];if(!n)return null;const r=e.searchParams.get("url"),i=e.searchParams.get("card"),o=yR(e.searchParams.get("height")),a=yR(e.searchParams.get("width")),s=e.searchParams.get("title"),l=e.searchParams.get("completionBotId");return r?{type:"dialogUrl",appId:n,url:r,height:o,width:a,title:s,completionBotId:l}:i?{type:"dialogCard",appId:n,card:i,height:o,width:a,title:s,completionBotId:l}:null})(t)||(e=>({type:"unhandled",url:e.href}))(t);if("https://outlook.office.com"===t.origin&&/^\/local\//.test(t.pathname)){const e=(e=>{const t=("https://outlook.office.com/local/file"===e.href?"file":e.href===bR&&"contactSupport")||"https://outlook.office.com/local/help/feedback"===e.href&&"feedback"||null;return t?{type:"ribbon",command:t}:null})(t);if(e)return e}else if("sip:"===t.protocol)return{type:"chat",users:[t.pathname],topicName:null,message:null};throw Error(`Unrecognized deep link format: ${e}`)};class AR{openLink=async e=>{QB()?.postMessage({executeDeepLink:CR(e)})}}function SR(e){if(!0===qa().useStrictAppIdValidationInStorage)return nr(e);try{return Pv(e),!0}catch(e){return!1}}var ER;!function(e){let t,n;!function(e){e[e.RECORD_DOESNT_EXIST=5500]="RECORD_DOESNT_EXIST",e[e.INDEXEDDB_INTERNAL_ERROR=5600]="INDEXEDDB_INTERNAL_ERROR",e[e.INVALID_SEARCH_PARAMETERS=5700]="INVALID_SEARCH_PARAMETERS",e[e.BLOCKED=5800]="BLOCKED"}(t=e.ErrorCode||(e.ErrorCode={})),function(e){e.APPID_AND_USERID_INDEX="appID_and_userID",e.APPID_INDEX="appID",e.USERID_INDEX="userID"}(n=e.indexID||(e.indexID={}));const r="apps",i="appsPermissionsDB";function o(e,o){return new Promise(((a,s)=>{const l=indexedDB.open(i,1);let c;l.onblocked=()=>{c={errorCode:t.BLOCKED,message:"Please close all the existing tabs."},s(c)},l.onupgradeneeded=()=>{const e=l.result;if(!e.objectStoreNames.contains(r)){const t=e.createObjectStore(r,{keyPath:["appID","userID"],autoIncrement:!1});t.createIndex(n.APPID_AND_USERID_INDEX,["appID","userID"],{unique:!0}),t.createIndex(n.APPID_INDEX,"appID",{unique:!1}),t.createIndex(n.USERID_INDEX,"userID",{unique:!1})}},l.onerror=e=>{c={errorCode:t.INDEXEDDB_INTERNAL_ERROR,message:e.type},s(c)},l.onsuccess=()=>{const i=l.result,u=i.transaction(r,"readwrite",{durability:"relaxed"}).objectStore(r);let d=u.index(n.APPID_AND_USERID_INDEX).get([e,o]);d.onsuccess=()=>{a([u,d.result])},d.onerror=e=>{c={errorCode:t.INDEXEDDB_INTERNAL_ERROR,message:e.type},s(c)},i.close()}}))}function a(n,r){return new Promise(((i,a)=>w(this,void 0,void 0,(function*(){let s;SR(n)||(s={errorCode:t.INDEXEDDB_INTERNAL_ERROR,message:e.invalidAppIdErrorString},a(s)),r||(s={errorCode:t.INDEXEDDB_INTERNAL_ERROR,message:"UserID should not be null/empty."},a(s));const l=yield o(n,r);try{i(void 0!==l[1])}catch(e){s={errorCode:t.INDEXEDDB_INTERNAL_ERROR,message:e.type},a(s)}}))))}function s(n,r){return new Promise(((i,a)=>w(this,void 0,void 0,(function*(){let s;SR(n)||(s={errorCode:t.INDEXEDDB_INTERNAL_ERROR,message:e.invalidAppIdErrorString},a(s)),r||(s={errorCode:t.INDEXEDDB_INTERNAL_ERROR,message:"UserID should not be null/empty."},a(s));const[l,c]=yield o(n,r);let u={appID:n,userID:r,permissions:{displayCapture:vr.NeverAsked,geolocation:vr.NeverAsked,media:vr.NeverAsked,midi:vr.NeverAsked,notifications:vr.NeverAsked,openExternal:vr.NeverAsked}};try{void 0===c&&(l.put(u).onsuccess=()=>{i()})}catch(e){s={errorCode:t.INDEXEDDB_INTERNAL_ERROR,message:e.type},a(s)}}))))}e.invalidAppIdErrorString="AppID is not valid. Must be GUID format",e.doesDevicePermissionStorageExist=function(){return w(this,void 0,void 0,(function*(){return"databases"in indexedDB?(yield indexedDB.databases()).some((e=>e.name===i)):"Cannot Tell"}))},e.doesRecordExist=a,e.createRecord=s,e.updatePermission=function(n,r,i,l){return new Promise(((c,u)=>w(this,void 0,void 0,(function*(){let d;try{SR(n)||(d={errorCode:t.INDEXEDDB_INTERNAL_ERROR,message:e.invalidAppIdErrorString},u(d)),r||(d={errorCode:t.INDEXEDDB_INTERNAL_ERROR,message:"UserID should not be null/empty."},u(d)),(yield a(n,r))||s(n,r);const[p,h]=yield o(n,r);if(void 0!==h.permissions[i]){h.permissions[i]=l;const e=p.put(h);e.onsuccess=()=>{c(e.result)},e.onerror=e=>{d={errorCode:t.INDEXEDDB_INTERNAL_ERROR,message:e.type},u(d)}}}catch(e){d={errorCode:t.INDEXEDDB_INTERNAL_ERROR,message:e.type},u(d)}}))))},e.deleteSingleRecord=function(r,i){return new Promise(((a,s)=>w(this,void 0,void 0,(function*(){let l;try{SR(r)||(l={errorCode:t.INDEXEDDB_INTERNAL_ERROR,message:e.invalidAppIdErrorString},s(l)),i||(l={errorCode:t.INDEXEDDB_INTERNAL_ERROR,message:"UserID should not be null/empty."},s(l));const c=yield o(r,i),u=c[0].index(n.APPID_AND_USERID_INDEX).openKeyCursor(IDBKeyRange.only([r,i]));u.onsuccess=()=>{const e=u.result;e?(c[0].delete(e.primaryKey),a()):(l={errorCode:t.RECORD_DOESNT_EXIST,message:"Record doesn't exists."},s(l))},u.onerror=e=>{l={errorCode:t.INDEXEDDB_INTERNAL_ERROR,message:e.type},s(l)}}catch(e){l={errorCode:t.INDEXEDDB_INTERNAL_ERROR,message:e.type},s(l)}}))))},e.searchRecord=function(r,i,a){return new Promise(((s,l)=>w(this,void 0,void 0,(function*(){let c,u;if(Object.values(n).includes(a))try{SR(r)||(u={errorCode:t.INDEXEDDB_INTERNAL_ERROR,message:e.invalidAppIdErrorString},l(u)),i||(u={errorCode:t.INDEXEDDB_INTERNAL_ERROR,message:"UserID should not be null/empty."},l(u));const d=yield o(r,i);c=a===n.APPID_AND_USERID_INDEX?d[0].index(n.APPID_AND_USERID_INDEX).getAll([r,i]):a===n.APPID_INDEX?d[0].index(n.APPID_INDEX).getAll(r):d[0].index(n.USERID_INDEX).getAll(i),c.onsuccess=()=>{const e=c.result;e?s(e):(u={errorCode:t.RECORD_DOESNT_EXIST,message:"Record doesn't exists."},l(u))},c.onerror=e=>{u={errorCode:t.INDEXEDDB_INTERNAL_ERROR,message:e.type},l(u)}}catch(e){u={errorCode:t.INDEXEDDB_INTERNAL_ERROR,message:e.type},l(u)}else u={errorCode:t.INVALID_SEARCH_PARAMETERS,message:`searchByIndex parameter should be one of these ${[n.APPID_AND_USERID_INDEX,n.APPID_INDEX,n.USERID_INDEX]}`},l(u)}))))},e.deleteObjectStore=function(){return new Promise(((e,t)=>{const n=indexedDB.deleteDatabase(i);n.onsuccess=()=>{e()},n.onerror=e=>{t(e)}}))}}(ER||(ER={}));const wR=[{permission:gr.DisplayCapture,status:vr.NeverAsked},{permission:gr.GeoLocation,status:vr.NeverAsked},{permission:gr.Media,status:vr.NeverAsked},{permission:gr.Midi,status:vr.NeverAsked},{permission:gr.Notifications,status:vr.NeverAsked},{permission:gr.OpenExternal,status:vr.NeverAsked}];class xR{constructor(e,t){this.appID=e,this.userID=t,this.getPermissions=()=>w(this,void 0,void 0,(function*(){var e;const t=null===(e=qa().shouldLazilyWriteDefaultDevicePermissions)||void 0===e||e;if(t&&!1===(yield ER.doesDevicePermissionStorageExist()))return Ns().log(yr.Info,"DevicePermissionStorageService","Device permission storage does NOT exist; NOT creating it and instead using default values"),wR;if(!(yield ER.doesRecordExist(this.appID,this.userID))){if(t)return Ns().log(yr.Info,"DevicePermissionStorageService","Device permission storage DOES exist but has no records; NOT creating new record and instead using default values"),wR;yield ER.createRecord(this.appID,this.userID)}const n=yield ER.searchRecord(this.appID,this.userID,ER.indexID.APPID_AND_USERID_INDEX),r=Object.entries(n[0].permissions).map((([e,t])=>({permission:e,status:t})));return r})),this.getPermissionStatus=e=>w(this,void 0,void 0,(function*(){const t=(yield this.getPermissions()).find((t=>t.permission===e));return void 0!==t?t.status:vr.NeverAsked})),this.storePermissionConsent=e=>w(this,void 0,void 0,(function*(){yield ER.updatePermission(this.appID,this.userID,e.permission,e.status)}))}}var IR;!function(e){e[e.RECORD_DOESNT_EXIST=5500]="RECORD_DOESNT_EXIST",e[e.INDEXEDDB_INTERNAL_ERROR=5600]="INDEXEDDB_INTERNAL_ERROR",e[e.INVALID_SEARCH_PARAMETERS=5700]="INVALID_SEARCH_PARAMETERS",e[e.BLOCKED=5800]="BLOCKED"}(IR||(IR={}));const kR={[gr.DisplayCapture]:vr.NeverAsked,[gr.GeoLocation]:vr.NeverAsked,[gr.Media]:vr.NeverAsked,[gr.Midi]:vr.NeverAsked,[gr.Notifications]:vr.NeverAsked,[gr.OpenExternal]:vr.NeverAsked},TR="apps";function _R(e){return new Promise(((t,n)=>{const r=indexedDB.open("appsPermissionsDB",2);r.onblocked=()=>{n({errorCode:IR.BLOCKED,message:"Please close all the existing tabs."})},r.onupgradeneeded=()=>{const e=r.result;e.objectStoreNames.contains(TR)&&e.deleteObjectStore(TR),e.createObjectStore(TR,{keyPath:["appID","userID"],autoIncrement:!1})},r.onerror=e=>{n({errorCode:IR.INDEXEDDB_INTERNAL_ERROR,message:e.type})},r.onsuccess=()=>{const n=r.result,i=n.transaction(TR,e,{durability:"relaxed"}).objectStore(TR);t(i),n.close()}}))}function PR(e,t,n=void 0,r=!0){return w(this,void 0,void 0,(function*(){if(!SR(e))throw{errorCode:IR.INVALID_SEARCH_PARAMETERS,message:"App ID is invalid"};if(0===t.length)throw{errorCode:IR.INVALID_SEARCH_PARAMETERS,message:"User ID is invalid"};const i=null!=n?n:yield _R("readonly"),o=function(e,t){return[e,t]}(e,t);return new Promise(((e,t)=>{const n=i.get(o);n.onsuccess=()=>{var t;e(null===(t=n.result)||void 0===t?void 0:t.permissions)},n.onerror=()=>{t({errorCode:IR.INDEXEDDB_INTERNAL_ERROR,message:"Error retrieving permissions"})},r&&i.transaction.commit&&i.transaction.commit()}))}))}function DR(e){return Object.entries(e).map((([e,t])=>({permission:e,status:t})))}const BR=DR(kR);class RR{constructor(e,t){this.appID=e,this.userID=t}getPermissions(){return w(this,void 0,void 0,(function*(){const e=yield(t=this.appID,n=this.userID,PR(t,n));var t,n;return e?DR(e):BR}))}getPermissionStatus(e){var t;return w(this,void 0,void 0,(function*(){const n=(yield this.getPermissions()).find((t=>t.permission===e));return null!==(t=null==n?void 0:n.status)&&void 0!==t?t:vr.NeverAsked}))}storePermissionConsent(e){return w(this,void 0,void 0,(function*(){yield function(e,t,n,r){return w(this,void 0,void 0,(function*(){const i=yield _R("readwrite"),o=yield PR(e,t,i,!1);return new Promise(((a,s)=>{const l=Object.assign(Object.assign({},null!=o?o:kR),{[n]:r}),c={appID:e,userID:t,permissions:l},u=i.put(c);u.onsuccess=()=>{a()},u.onerror=()=>{s({errorCode:IR.INDEXEDDB_INTERNAL_ERROR,message:"Error storing permissions"})},i.transaction.commit&&i.transaction.commit()}))}))}(this.appID,this.userID,e.permission,e.status)}))}}class MR{constructor(e,t){this.getPermissions=()=>w(this,void 0,void 0,(function*(){return this._dispatch.getPermissions()})),this.getPermissionStatus=e=>w(this,void 0,void 0,(function*(){return this._dispatch.getPermissionStatus(e)})),this.storePermissionConsent=e=>w(this,void 0,void 0,(function*(){return this._dispatch.storePermissionConsent(e)})),this._dispatch=qa().enableDevicePermissionDBV2?new RR(e,t):new xR(e,t)}}const LR=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i,OR=(e,t,n)=>e.find((e=>e.Name===t))?.Value||n;class FR{appId;userId;defaultPermissionService;constructor(e,t){this.appId=e,this.userId=t,this.defaultPermissionService=new MR(this.appId,this.userId)}getPermissions=()=>this.defaultPermissionService.getPermissions();getPermissionStatus=e=>this.defaultPermissionService.getPermissionStatus(e);storePermissionConsent=e=>this.defaultPermissionService.storePermissionConsent(e)}class NR{showRequestDialogAndGetUserResponse;fakeAppId="f4b09f31-d690-48e7-bbf8-31c20e0c7561";fakeUserId="northCascadePark";appId;userId;storageService;devicePermissionsForApp;devicePermissionCapabilityItem;appLocalizedResources;constructor(e){this.showRequestDialogAndGetUserResponse=e,this.appId=this.fakeAppId,this.userId=this.fakeUserId,this.devicePermissionsForApp=[],this.devicePermissionCapabilityItem=[],this.appLocalizedResources=[],this.storageService=new FR(this.fakeAppId,this.fakeUserId)}setStorage=e=>{var t;e?.appManifest&&fR(e.appManifest)&&uR(e?.appManifest)&&("string"==typeof(t=uR(e?.appManifest))&&LR.test(t))&&e?.user.profile.oid?(this.appId=uR(e?.appManifest),this.userId=e?.user.profile.oid):(this.appId=this.fakeAppId,this.userId=this.fakeUserId),this.storageService=new FR(this.appId,this.userId)};showPermissionsMenu=()=>this.appId!==this.fakeAppId;requestUserConsentForPermission=async e=>{const t=await this.showRequestDialogAndGetUserResponse(e),n={permission:e,status:t};await this.storageService.storePermissionConsent(n);const r=this.devicePermissionCapabilityItem.find((t=>t.devicePermission===e));return r&&(r.isConsentGivenOnCurrentDevice=n.status===vr.Consented),n};getDevicePermissionsForApp=()=>this.devicePermissionsForApp;getDevicePermissionsDialogPermissions=()=>this.devicePermissionCapabilityItem;setLocalizedResources=e=>{this.appLocalizedResources=[...e]};setupDevicePermissions=async e=>{const t=OR(this.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_DESC","Only when the app is open and in use"),n=OR(this.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_MEDIA","Media  (camera and microphone)"),r=OR(this.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_LOCATION","Location"),i=OR(this.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_MIDI","Midi"),o=OR(this.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_NOTIFICATIONS","Notifications"),a=OR(this.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_OPENEXTERNAL","External"),s=[],l=[];if(function(e){return((cR(e)?e.titleDefinition.devicePermissions:e.devicePermissions)||[]).some((e=>e.toLowerCase()===gr.Media.toLowerCase()))}(e)){const e=await this.storageService.getPermissionStatus(gr.Media)===vr.Consented,r={description:t,nameOfPermission:n,devicePermission:gr.Media};s.push(r),l.push({devicePermission:gr.Media,isConsentGivenOnCurrentDevice:e})}if(function(e){return((cR(e)?e.titleDefinition.devicePermissions:e.devicePermissions)||[]).some((e=>e.toLowerCase()===gr.GeoLocation.toLowerCase()))}(e)){const e=await this.storageService.getPermissionStatus(gr.GeoLocation)===vr.Consented,n={description:t,nameOfPermission:r,devicePermission:gr.GeoLocation};s.push(n),l.push({devicePermission:gr.GeoLocation,isConsentGivenOnCurrentDevice:e})}if(function(e){return((cR(e)?e.titleDefinition.devicePermissions:e.devicePermissions)||[]).some((e=>e.toLowerCase()===gr.Midi.toLowerCase()))}(e)){const e=await this.storageService.getPermissionStatus(gr.Midi)===vr.Consented,n={description:t,nameOfPermission:i,devicePermission:gr.Midi};s.push(n),l.push({devicePermission:gr.Midi,isConsentGivenOnCurrentDevice:e})}if(function(e){return((cR(e)?e.titleDefinition.devicePermissions:e.devicePermissions)||[]).some((e=>e.toLowerCase()===gr.Notifications.toLowerCase()))}(e)){const e=await this.storageService.getPermissionStatus(gr.Notifications)===vr.Consented,n={description:t,nameOfPermission:o,devicePermission:gr.Notifications};s.push(n),l.push({devicePermission:gr.Notifications,isConsentGivenOnCurrentDevice:e})}if(function(e){return((cR(e)?e.titleDefinition.devicePermissions:e.devicePermissions)||[]).some((e=>e.toLowerCase()===gr.OpenExternal.toLowerCase()))}(e)){const e=await this.storageService.getPermissionStatus(gr.OpenExternal)===vr.Consented,n={description:t,nameOfPermission:a,devicePermission:gr.OpenExternal};s.push(n),l.push({devicePermission:gr.OpenExternal,isConsentGivenOnCurrentDevice:e})}this.devicePermissionsForApp=s,this.devicePermissionCapabilityItem=l}}class HR{getCurrentLocation(){return new Promise(((e,t)=>navigator.geolocation.getCurrentPosition((t=>e({latitude:t.coords.latitude,longitude:t.coords.longitude,accuracy:t.coords.accuracy,timestamp:t.timestamp})),t,{enableHighAccuracy:!1,timeout:3e4,maximumAge:1e3})))}}const zR={Debug:console.debug,Info:console.log,Warn:console.warn,Error:console.error};class VR{log(e,t,n,r){zR[e](`[LoggerService] tag: ${t}, level: ${e}, message: ${n}, exception: `,r||"undefined")}}class UR{showProfile(e){return QB()?.postMessage({showProfile:e}),Promise.resolve()}}class jR extends nR{webview;handlerRef=null;constructor(){super();const e=QB();if(!e)throw new Error("undefined WebView in service");this.webview=e,this.eventHandler=this.eventHandler.bind(this),this.registerEventListener()}registerEventListener(){this.handlerRef||(this.handlerRef=(...e)=>this.eventHandler(...e),this.webview.addEventListener("message",this.handlerRef))}unregisterEventListener(){this.handlerRef&&(this.webview.removeEventListener("message",this.handlerRef),this.handlerRef=null)}onUnmount(){this.unregisterEventListener(),this.reset()}reset(){}}class WR extends jR{eventHandler(e){if(e?.data)if(e.data?.onSearchExecute){const t=e.data.onSearchExecute;this.dispatchEvent("queryExecute",{data:{searchTerm:t.searchTerm}})}else if(e.data?.onSearchClose){const t=e.data.onSearchClose;this.dispatchEvent("queryClose",{data:{searchTerm:t.searchTerm}})}else if(e.data?.onSearchChange){const t=e.data.onSearchChange;this.dispatchEvent("queryChange",{data:{searchTerm:t.searchTerm}})}}addEventListener(e,t){super.addEventListener(e,t),"queryExecute"===e&&this.webview.postMessage({searchSupported:!0})}clearListeners(){super.clearListeners(),this.webview.postMessage({searchSupported:!1})}closeSearch=async()=>{this.webview.postMessage({closeSearch:!0})}}var $R=i(6186),qR=i.n($R),GR=i(2155),KR=i.n(GR),YR=i(7433),XR=i.n(YR),ZR=i(8626),JR=i.n(ZR),QR=i(8990),eM=i.n(QR),tM=i(9827),nM=i.n(tM),rM=i(7403),iM={};iM.styleTagTransform=nM(),iM.setAttributes=JR(),iM.insert=XR().bind(null,"head"),iM.domAPI=KR(),iM.insertStyleElement=eM(),qR()(rM.A,iM);const oM=rM.A&&rM.A.locals?rM.A.locals:void 0;var aM=i(9970),sM=i.n(aM),lM=i(7042),cM=i.n(lM);const uM=({app:e,title:t,darkMode:n,highContrastMode:r})=>{const i=e&&dR(e),o=e&&(r?function(e){return cR(e)?e.titleDefinition.iconSmall.uri:e.smallImageUrl}(e):function(e){return cR(e)?e.titleDefinition.iconLarge.uri:e.largeImageUrl}(e));return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("img",{src:o||(n?cM():sM()),alt:i||"App icon",className:oM.dialogHeaderImage}),(0,a.jsxs)("div",{className:oM.dialogHeaderInfo,children:[i?(0,a.jsx)("div",{className:`${oM.dialogHeaderText} ${oM.dialogHeaderAppName}`,children:i}):null,t?(0,a.jsx)("div",{className:`${oM.dialogHeaderText} ${oM.dialogHeaderTitle}`,children:t}):null]})]})};var dM;function pM(){return pM=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pM.apply(null,arguments)}const hM=function(e){return l.createElement("svg",pM({xmlns:"http://www.w3.org/2000/svg",viewBox:"-6 -6 32 32"},e),dM||(dM=l.createElement("path",{d:"m4.089 4.216.057-.07a.5.5 0 0 1 .638-.057l.07.057L10 9.293l5.146-5.147a.5.5 0 0 1 .638-.057l.07.057a.5.5 0 0 1 .057.638l-.057.07L10.707 10l5.147 5.146a.5.5 0 0 1 .057.638l-.057.07a.5.5 0 0 1-.638.057l-.07-.057L10 10.707l-5.146 5.147a.5.5 0 0 1-.638.057l-.07-.057a.5.5 0 0 1-.057-.638l.057-.07L9.293 10 4.146 4.854a.5.5 0 0 1-.057-.638l.057-.07z"})))};var fM;function mM(){return mM=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mM.apply(null,arguments)}const gM=function(e){return l.createElement("svg",mM({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},e),fM||(fM=l.createElement("path",{d:"M10 16v-1h12v1z"})))};var vM;function yM(){return yM=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yM.apply(null,arguments)}const bM=function(e){return l.createElement("svg",yM({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},e),vM||(vM=l.createElement("path",{d:"M10 10h12v12H10zm11 11V11H11v10z"})))};var CM;function AM(){return AM=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},AM.apply(null,arguments)}const SM=function(e){return l.createElement("svg",AM({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},e),CM||(CM=l.createElement("path",{d:"M11 9v2H9v12h12v-2h2V9zm9 13H10V12h10zm2-2h-1v-9h-9v-1h10z"})))},EM=(0,l.forwardRef)((function({webview:e,isMaximized:t,onClose:n,onMaximize:r,onMinimize:i},o){const s=(0,l.useRef)(null);return(0,l.useEffect)((()=>{const t=e=>{e?.data?.focusCloseButton&&s.current?.focus()};return e.addEventListener("message",t),()=>{e.removeEventListener("message",t)}}),[e,s]),(0,a.jsxs)("div",{id:"outlookHeaderChromeButtons",className:oM.dialogHeaderRight,ref:o,children:[i&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{id:"outlookHeaderMinimizeButton",className:oM.dialogChromeButton,tabIndex:-1,onClick:i,onKeyPress:i,children:(0,a.jsx)(gM,{fill:"currentColor"})}),(0,a.jsx)("label",{htmlFor:"outlookHeaderMinimizeButton",className:oM.dialogLabel,children:"Minimize"})]}),r&&!t&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{id:"outlookHeaderMaximizeButton",className:oM.dialogChromeButton,tabIndex:-1,onClick:r,onKeyPress:r,children:(0,a.jsx)(bM,{fill:"currentColor"})}),(0,a.jsx)("label",{htmlFor:"outlookHeaderMaximizeButton",className:oM.dialogLabel,children:"Maximize"})]}),r&&t&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{id:"outlookHeaderUnmaximizeButton",className:oM.dialogChromeButton,tabIndex:-1,onClick:r,onKeyPress:r,children:(0,a.jsx)(SM,{fill:"currentColor"})}),(0,a.jsx)("label",{htmlFor:"outlookHeaderUnmaximizeButton",className:oM.dialogLabel,children:"Unmaximize"})]}),n&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{id:"outlookHeaderCloseButton",title:"Close",className:oM.dialogChromeButton,tabIndex:-1,onClick:n,onKeyPress:n,ref:s,children:(0,a.jsx)(hM,{fill:"currentColor"})}),(0,a.jsx)("label",{htmlFor:"outlookHeaderCloseButton",className:oM.dialogLabel,children:"Close"})]})]})}));function wM(e,t){if("number"==typeof e&&e>0){const n=t.current?.getBoundingClientRect().height;"number"==typeof n&&n>0&&(e+=n)}return e}const xM=({app:e,title:t,darkMode:n,highContrastMode:r,webview:i,dialogHeight:o,headerRef:s})=>{const c=(0,l.useRef)(null);return(0,l.useEffect)((()=>{const e=s.current;if(e){const t=new ResizeObserver((()=>{i.postMessage({updateDialogHeader:{dialogHeader:e.getBoundingClientRect(),closeButton:c.current?.getBoundingClientRect()}})}));return t.observe(e),()=>{t.unobserve(e)}}return()=>{}})),(0,l.useEffect)((()=>{const e=e=>{e?.data?.focusCloseButton&&c.current?.focus()};return i.addEventListener("message",e),()=>{i.removeEventListener("message",e)}}),[i,c]),(0,l.useEffect)((()=>{const e=wM(o,s);e!==o&&i.postMessage({resizeDialog:{height:e}})}),[i,o,s]),(0,a.jsxs)("div",{id:"outlookDialogHeader",ref:s,className:oM.dialogHeader,children:[(0,a.jsx)(uM,{app:e,title:t,darkMode:n,highContrastMode:r}),(0,a.jsx)("div",{className:oM.popOutTabButtons}),(0,a.jsx)(EM,{webview:i,ref:c,onClose:()=>{i.postMessage({submitDialog:{error:"User cancelled/closed the task module.",appIds:e&&[uR(e)]}})}})]})};let IM=0;function kM(){return++IM}class TM extends jR{dialogPromises={};reset(){Object.entries(this.dialogPromises).forEach((([e,t])=>t.reject("cleanUpRoutine"))),this.dialogPromises={}}eventHandler(e){if(e?.data&&e.data?.submitDialog){const{instance:t,error:n,result:r}=e.data.submitDialog;this.dialogPromises[t]&&(n?this.dialogPromises[t].reject(n):this.dialogPromises[t].resolve(r??""),delete this.dialogPromises[t])}}open=async e=>{const t=Date.now(),n=JSON.parse(e.card);if("object"!=typeof n)throw new Error(`Unexpected Adaptive Card definition: "${e.card}"`);const r=kM(),i=new Promise(((e,t)=>{this.dialogPromises[r]={resolve:e,reject:t}}));return this.webview.postMessage({openDialog:{instance:r,userClickTime:t,dialog:{...e,card:n}}}),i};cardBotService={open:async e=>{const t=Date.now();if(!e.card||!e.completionBotId)throw new Error("Dialog card/completionBotId not provided");const n=JSON.parse(e.card);if("object"!=typeof n)throw new Error(`Unexpected Adaptive Card definition: "${e.card}"`);const r=kM(),i=new Promise(((e,t)=>{this.dialogPromises[r]={resolve:e,reject:t}}));return this.webview.postMessage({openDialog:{instance:r,userClickTime:t,dialog:{...e,card:n}}}),i}}}class _M extends jR{dialogPromises={};reset(){Object.entries(this.dialogPromises).forEach((([e,t])=>t.reject("cleanUpRoutine"))),this.dialogPromises={}}eventHandler(e){if(e?.data&&e.data?.submitDialog){const{instance:t,error:n,result:r}=e.data.submitDialog;this.dialogPromises[t]&&(n?this.dialogPromises[t].reject(n):this.dialogPromises[t].resolve(r??""),delete this.dialogPromises[t])}}open=async e=>{const t=Date.now(),n=kM(),r=new Promise(((e,t)=>{this.dialogPromises[n]={resolve:e,reject:t}}));return this.webview.postMessage({openDialog:{instance:n,userClickTime:t,dialog:e}}),r};submit=async(e,t)=>{this.webview.postMessage({submitDialog:{result:e,appIds:t}})};parentCommunicationService=new PM;urlBotService={open:async e=>{const t=Date.now();if(!e.url||!e.completionBotId)throw new Error("Dialog url/completionBotId not provided");const n=kM(),r=new Promise(((e,t)=>{this.dialogPromises[n]={resolve:e,reject:t}}));return this.webview.postMessage({openDialog:{instance:n,userClickTime:t,dialog:e}}),r}}}class PM extends jR{eventHandler(e){e.data?.messageForParent?this.dispatchEvent("onMessageForParent",{data:e.data?.messageForParent}):e.data?.messageForChild&&this.dispatchEvent("onMessageForChild",{data:e.data?.messageForChild})}messageForParent=e=>(this.webview.postMessage({messageForParent:e}),Promise.resolve());messageForChild=e=>(this.webview.postMessage({messageForChild:e}),Promise.resolve())}class DM{dialogHeader;cardService=new TM;urlService=new _M;constructor(e){this.dialogHeader=e}updateService={resize:async e=>{this.dialogHeader&&QB()?.postMessage({resizeDialog:{...e,height:e?.height?wM(e.height,this.dialogHeader):e.height}})}}}class BM extends jR{authRequestIdRipcord;tokenPromises={};tokenRequests=new Map;user=void 0;externalAuthRedirectUrl;externalAuthService;constructor(e,t){super(),this.authRequestIdRipcord=t,e||(this.externalAuthRedirectUrl=new URL("ms-olk-oauth:auth-callback"),this.externalAuthService=new RM)}reset(){this.authRequestIdRipcord?(Object.keys(this.tokenPromises).forEach((e=>{this.tokenPromises[e]?.forEach((e=>e.reject("aborted")))})),this.tokenPromises={}):(this.tokenRequests.forEach((e=>e.reject("aborted"))),this.tokenRequests.clear())}eventHandler(e){if(e?.data?.setToken){const{requestId:t,token:n,error:r}=e.data.setToken;if(this.authRequestIdRipcord){const e=t;e in this.tokenPromises&&(n?this.tokenPromises[e]?.forEach((e=>e.resolve({token:n}))):this.tokenPromises[e]?.forEach((e=>e.reject(r||"unknownAuthError"))),delete this.tokenPromises[e])}else this.tokenRequests.has(t)&&(n?this.tokenRequests.get(t)?.resolve({token:n}):this.tokenRequests.get(t)?.reject(r||"unknownAuthError"),this.tokenRequests.delete(t))}else if(e?.data?.oauthResult&&this.externalAuthRedirectUrl){let t;try{t=new URL(e.data.oauthResult)}catch{return}const n=new URL(this.externalAuthRedirectUrl);t.protocol===n.protocol&&t.pathname===n.pathname&&t.searchParams.has("authId")&&t.searchParams.has("result")&&this.dispatchEvent("onExternalAuthDeeplink",{data:{authId:t.searchParams.get("authId"),result:t.searchParams.get("result")}})}}acquireToken=async(e,t,n)=>{if(this.authRequestIdRipcord){const r=this.tokenPromises[e]||[],i=new Promise(((t,n)=>{r.push({resolve:t,reject:n}),this.tokenPromises[e]=r}));return 1===r.length&&this.webview.postMessage({getToken:{requestId:"",resource:e,claims:t,silent:n}}),i}{const r=crypto.randomUUID(),i=new Promise(((e,t)=>{this.tokenRequests.set(r,{resolve:e,reject:t})}));return this.webview.postMessage({getToken:{requestId:r,resource:e,claims:t,silent:n}}),i}};getUser=async()=>this.user}class RM{openUrlInEmbeddedBrowser(e,t){return window.open(e,"appAuthWindow",t)}openUrlInExternalBrowser(e){QB()?.postMessage({executeDeepLink:{type:"unhandled",url:e.toString()}})}}class MM extends jR{meetingDetailsPromises=[];eventHandler(e){if(e?.data&&e.data.setMeetingDetails){const t=e.data.setMeetingDetails;this.meetingDetailsPromises.forEach((e=>e.resolve(t)))}}reset(){this.meetingDetailsPromises.forEach((e=>e.reject("cleanUpRoutine"))),this.meetingDetailsPromises=[]}async getIncomingClientAudioState(){return null}async toggleIncomingClientAudio(){return null}getMeetingDetails=async()=>{const e=new Promise(((e,t)=>{this.meetingDetailsPromises.push({resolve:t=>{e({details:{id:btoa("0#"+t.chatId+"#0"),scheduledStartTime:t.scheduledStartTime,scheduledEndTime:t.scheduledEndTime},conversation:{id:t.chatId},organizer:{}})},reject:t})}));return this.webview.postMessage({getMeetingDetails:!0}),e};async getAuthenticationTokenForAnonymousUser(){return null}async getLiveStreamState(){throw new Error("Method not implemented.")}async requestStartLiveStreaming(e,t){throw new Error("Method not implemented.")}async requestStopLiveStreaming(){throw new Error("Method not implemented.")}async shareAppContentToStage(e){throw new Error("Method not implemented.")}async getAppContentStageSharingCapabilities(){throw new Error("Method not implemented.")}async stopSharingAppContentToStage(){throw new Error("Method not implemented.")}async getAppContentStageSharingState(){throw new Error("Method not implemented.")}async requestAppAudioHandling(e){throw new Error("Method not implemented.")}async updateMicState(e,t){throw new Error("Method not implemented.")}}class LM extends jR{openedItemPromises={};reset(){Object.entries(this.openedItemPromises).forEach((([e,t])=>t.forEach((e=>e.reject("cleanUpRoutine"))))),this.openedItemPromises={}}eventHandler(e){if(!e?.data?.onOpenedItem)return;const t=e.data.onOpenedItem;this.openedItemPromises[t.itemId]&&(t.status?this.openedItemPromises[t.itemId]?.forEach((e=>e.resolve())):this.openedItemPromises[t.itemId]?.forEach((e=>e.reject(t.reason||""))),delete this.openedItemPromises[t.itemId])}openMailItem=async e=>{const t=this.openedItemPromises[e.itemId]||[],n=new Promise(((n,r)=>{t.push({resolve:n,reject:r}),this.openedItemPromises[e.itemId]=t}));return 1===t.length&&this.webview.postMessage({openMailItem:e}),n};async composeMail(e){this.webview.postMessage({composeMail:e})}}const OM={openCalendarItem:async e=>{QB()?.postMessage({openCalendarItem:e})},composeMeeting:async e=>{QB()?.postMessage({composeMeeting:e})}};var FM=i(8496),NM=i.n(FM),HM=i(240),zM=i.n(HM),VM=i(592),UM=i.n(VM);const jM=({appLocalizedResources:e})=>(0,a.jsx)("div",{className:oM.imageContainer,children:(0,a.jsx)("div",{className:oM.centerImage,children:(0,a.jsx)("p",{id:"hubLoadingUi",children:(0,a.jsx)("img",{src:UM(),alt:OR(e,"IDS_APPHOST_LOADING_IMAGEALTTEXT","Loading")})})})});class WM{darkMode=!1;appLocalizedResources=[];onReload=()=>{};getLoadingUi=()=>(0,a.jsx)(jM,{appLocalizedResources:this.appLocalizedResources});getErrorUiData=e=>{const t=OR(this.appLocalizedResources,"IDS_ERR_CONNECTIVITY","There was a problem reaching this app"),n=function(e,t){switch(e){case ca.AuthFailed:return OR(t,"IDS_ERR_APPHOST_AUTHFAILED","User authentication failed. Please try again.");case ca.Timeout:case ca.AppInitTimeout:case ca.CachedAppLoadTimedOut:return OR(t,"IDS_ERR_APPHOST_TIMEOUT","The request timed out. Please try again.");default:return OR(t,"IDS_ERR_APPHOST_OTHERERROR","An error occurred. Please try again.")}}(e,this.appLocalizedResources);return{localizedErrorStrings:{errorHeading:t,errorSubtitle:n,bubbleHeading:t,bubbleSubtitle:n,retryButtonTitle:OR(this.appLocalizedResources,"IDS_ERR_TRYAGAIN","Retry"),openInDesktopButtonTitle:"",openInWebBrowserButtonTitle:"",openInLegacyBrowserButtonTitle:""},errorImage:{image:this.darkMode?zM():NM(),altText:""},retry:()=>{this.onReload()}}}}class $M extends jR{tokenRequests=new Map;reset(){this.tokenRequests.clear()}eventHandler(e){if(e?.data?.nestedAppAuthResponse){const{requestId:t,response:n}=e.data.nestedAppAuthResponse;t&&this.tokenRequests.has(t)&&(this.tokenRequests.get(t)?.(n),this.tokenRequests.delete(t))}}execute=async(e,t)=>{if("string"==typeof t&&(t=new URL(t)),"https:"!==t.protocol||!t.host)throw new Error("Invalid origin");const n=crypto.randomUUID(),r=new Promise((e=>{this.tokenRequests.set(n,e)}));return this.webview.postMessage({executeNestedAppAuthRequest:{requestId:n,payload:e,origin:t.toString()}}),r};isDeeplyNestedAuthSupported(){return!1}}class qM extends jR{requestPageContextPromises=[];requestPrefetchContextPromises=new Map;eventHandler(e){if(e?.data?.pageContextResponse){const t=e.data.pageContextResponse;this.requestPageContextPromises.forEach((e=>e.resolve(t))),this.requestPageContextPromises=[]}else if(e?.data?.prefetchContextResponse){const t=e.data.prefetchContextResponse,n=t.requestId;n&&this.requestPrefetchContextPromises.has(n)&&(this.requestPrefetchContextPromises.get(n)?.resolve(t),this.requestPrefetchContextPromises.delete(n))}}reset(){this.requestPageContextPromises.forEach((e=>e.reject("cleanUpRoutine"))),this.requestPageContextPromises=[],this.requestPrefetchContextPromises.forEach((e=>e.reject("cleanUpRoutine"))),this.requestPrefetchContextPromises.clear()}tryProcessMessage=async(e,t)=>{switch(e.func){case"preCheckForPageContext":return{processed:!0,data:{status:"success",show_consent_card:!1,user_consent:"accepted"}};case"pageContextRequested":return this.onPageContextRequested(e);case"prefetchContextRequested":return this.onPrefetchContextRequested();default:return{processed:!1,data:void 0}}};onPageContextRequested=async e=>{const t=e.args&&e.args.length?e.args[0]:"",n=t?.invocation?.payload??"";let r="";try{r=n?JSON.parse(n):""}catch{return{processed:!0,data:{schema_version:t?.schema_version,correlation_id:t?.correlation_id,response:{status:"error",message:"failed to parse request payload",payload:""}}}}const i=new Promise(((e,n)=>{this.requestPageContextPromises.push({resolve:n=>{const i={jsonrpc:"2.0",id:r?.id,result:[{type:"text/plain;charset=utf-8;content-language=EN-US;",id:"",description_for_model:"OutlookContextualChatPlugin",data:n.data}]};e({processed:!0,data:{schema_version:t?.schema_version,correlation_id:t?.correlation_id,response:{status:"success",message:"",payload:JSON.stringify(i)}}})},reject:n})}));return this.webview.postMessage({requestPageContext:!0}),i};onPrefetchContextRequested=()=>{const e=crypto.randomUUID(),t=new Promise(((t,n)=>{this.requestPrefetchContextPromises.set(e,{resolve:e=>{t({processed:!0,data:{id:e.id,text:e.text}})},reject:n})}));return this.webview.postMessage({requestPrefetchContext:{requestId:e}}),t}}const GM={choiceSetInputValueSeparator:",",supportsInteractivity:!0,fontFamily:"Segoe UI",spacing:{small:8,default:16,medium:16,large:24,extraLarge:32,padding:16},separator:{lineThickness:1,lineColor:"#E1E1E1"},fontSizes:{small:12,default:14,medium:16,large:18,extraLarge:20},fontWeights:{lighter:300,default:400,bolder:500},imageSizes:{small:40,medium:160,large:320},containerStyles:{default:{foregroundColors:{default:{default:"#000000",subtle:"#000000"},dark:{default:"#000000",subtle:"#000000"},light:{default:"#605E5C",subtle:"#605E5C"},accent:{default:"#005A9E",subtle:"#005A9E"},good:{default:"#0B6A0B",subtle:"#0B6A0B"},warning:{default:"#8F6900",subtle:"#8F6900"},attention:{default:"#D13438",subtle:"#D13438"},hyperlink:{default:"#005A9E",subtle:"#005A9E"},white:{default:"#FFFFFF",subtle:"#FFFFFF"}},backgroundColor:"#FFFFFF"},emphasis:{foregroundColors:{default:{default:"#000000",subtle:"#000000"},dark:{default:"#000000",subtle:"#000000"},light:{default:"#605E5C",subtle:"#605E5C"},accent:{default:"#005A9E",subtle:"#005A9E"},good:{default:"#0B6A0B",subtle:"#0B6A0B"},warning:{default:"#8F6900",subtle:"#8F6900"},attention:{default:"#D13438",subtle:"#D13438"},hyperlink:{default:"#005A9E",subtle:"#005A9E"},white:{default:"#FFFFFF",subtle:"#FFFFFF"}},backgroundColor:"#F8F8F8"},accent:{foregroundColors:{default:{default:"#000000",subtle:"#605E5C"},dark:{default:"#000000",subtle:"#605E5C"},light:{default:"#605E5C",subtle:"#605E5C"},accent:{default:"#005A9E",subtle:"#005A9E"},good:{default:"#0B6A0B",subtle:"#0B6A0B"},warning:{default:"#8F6900",subtle:"#8F6900"},attention:{default:"#D13438",subtle:"#D13438"},hyperlink:{default:"#005A9E",subtle:"#005A9E"},white:{default:"#FFFFFF",subtle:"#FFFFFF"}},backgroundColor:"#EBF6FF"},good:{foregroundColors:{default:{default:"#000000",subtle:"#605E5C"},dark:{default:"#000000",subtle:"#605E5C"},light:{default:"#605E5C",subtle:"#605E5C"},accent:{default:"#005A9E",subtle:"#005A9E"},good:{default:"#0B6A0B",subtle:"#0B6A0B"},warning:{default:"#8F6900",subtle:"#8F6900"},attention:{default:"#D13438",subtle:"#D13438"},hyperlink:{default:"#005A9E",subtle:"#005A9E"},white:{default:"#FFFFFF",subtle:"#FFFFFF"}},backgroundColor:"#F1FFF1"},warning:{foregroundColors:{default:{default:"#000000",subtle:"#605E5C"},dark:{default:"#000000",subtle:"#605E5C"},light:{default:"#605E5C",subtle:"#605E5C"},accent:{default:"#005A9E",subtle:"#005A9E"},good:{default:"#0B6A0B",subtle:"#0B6A0B"},warning:{default:"#8F6900",subtle:"#8F6900"},attention:{default:"#D13438",subtle:"#D13438"},hyperlink:{default:"#005A9E",subtle:"#005A9E"},white:{default:"#FFFFFF",subtle:"#FFFFFF"}},backgroundColor:"#FFF8E4"},attention:{foregroundColors:{default:{default:"#000000",subtle:"#605E5C"},dark:{default:"#000000",subtle:"#605E5C"},light:{default:"#605E5C",subtle:"#605E5C"},accent:{default:"#005A9E",subtle:"#005A9E"},good:{default:"#0B6A0B",subtle:"#0B6A0B"},warning:{default:"#8F6900",subtle:"#8F6900"},attention:{default:"#D13438",subtle:"#D13438"},hyperlink:{default:"#005A9E",subtle:"#005A9E"},white:{default:"#FFFFFF",subtle:"#FFFFFF"}},backgroundColor:"#FFF2F3"}},actions:{actionAlignment:"Right",maxActions:5,spacing:"",buttonSpacing:8,showCard:{actionMode:"Inline",style:"default"},actionsOrientation:"Horizontal"},adaptiveCard:{allowCustomStyle:!0},imageSet:{imageSize:"Medium",maxImageHeight:102},factSet:{title:{size:"Default",color:"Default",isSubtle:!0,weight:"Lighter",wrap:!0},value:{size:"Default",color:"Default",isSubtle:!1,weight:"Default",wrap:!0},spacing:8}},KM={choiceSetInputValueSeparator:",",supportsInteractivity:!0,fontFamily:"Segoe UI",spacing:{small:8,default:16,medium:16,large:24,extraLarge:32,padding:16},separator:{lineThickness:1,lineColor:"#EEEEEE"},fontSizes:{small:12,default:14,medium:16,large:18,extraLarge:20},fontWeights:{lighter:300,default:400,bolder:500},imageSizes:{small:40,medium:160,large:320},containerStyles:{default:{foregroundColors:{default:{default:"#FFFFFF",subtle:"#D2D0CE"},dark:{default:"#FFFFFF",subtle:"#FFFFFF"},light:{default:"#D2D0CE",subtle:"#D2D0CE"},accent:{default:"#62D3FF",subtle:"#62D3FF"},good:{default:"#6DDC96",subtle:"#6DDC96"},warning:{default:"#F8D22A",subtle:"#F8D22A"},attention:{default:"#FFB2BD",subtle:"#FFB2BD"}},backgroundColor:"#262626"},emphasis:{foregroundColors:{default:{default:"#FFFFFF",subtle:"#D2D0CE"},dark:{default:"#FFFFFF",subtle:"#FFFFFF"},light:{default:"#D2D0CE",subtle:"#D2D0CE"},accent:{default:"#62D3FF",subtle:"#62D3FF"},good:{default:"#6DDC96",subtle:"#6DDC96"},warning:{default:"#F8D22A",subtle:"#F8D22A"},attention:{default:"#FFB2BD",subtle:"#FFB2BD"}},backgroundColor:"#404040"},accent:{foregroundColors:{default:{default:"#FFFFFF",subtle:"#D2D0CE"},dark:{default:"#FFFFFF",subtle:"#FFFFFF"},light:{default:"#D2D0CE",subtle:"#D2D0CE"},accent:{default:"#62D3FF",subtle:"#62D3FF"},good:{default:"#6DDC96",subtle:"#6DDC96"},warning:{default:"#F8D22A",subtle:"#F8D22A"},attention:{default:"#FFB2BD",subtle:"#FFB2BD"}},backgroundColor:"#025498"},good:{foregroundColors:{default:{default:"#FFFFFF",subtle:"#D2D0CE"},dark:{default:"#FFFFFF",subtle:"#FFFFFF"},light:{default:"#D2D0CE",subtle:"#D2D0CE"},accent:{default:"#62D3FF",subtle:"#62D3FF"},good:{default:"#6DDC96",subtle:"#6DDC96"},warning:{default:"#F8D22A",subtle:"#F8D22A"},attention:{default:"#FFB2BD",subtle:"#FFB2BD"}},backgroundColor:"#076107"},warning:{foregroundColors:{default:{default:"#FFFFFF",subtle:"#D2D0CE"},dark:{default:"#FFFFFF",subtle:"#FFFFFF"},light:{default:"#D2D0CE",subtle:"#D2D0CE"},accent:{default:"#62D3FF",subtle:"#62D3FF"},good:{default:"#6DDC96",subtle:"#6DDC96"},warning:{default:"#F8D22A",subtle:"#F8D22A"},attention:{default:"#FFB2BD",subtle:"#FFB2BD"}},backgroundColor:"#704B1B"},attention:{foregroundColors:{default:{default:"#FFFFFF",subtle:"#D2D0CE"},dark:{default:"#FFFFFF",subtle:"#FFFFFF"},light:{default:"#D2D0CE",subtle:"#D2D0CE"},accent:{default:"#62D3FF",subtle:"#62D3FF"},good:{default:"#6DDC96",subtle:"#6DDC96"},warning:{default:"#F8D22A",subtle:"#F8D22A"},attention:{default:"#FFB2BD",subtle:"#FFB2BD"}},backgroundColor:"#8B2323"}},actions:{actionAlignment:"Right",maxActions:5,spacing:"",buttonSpacing:8,showCard:{actionMode:"Inline",style:"default"},actionsOrientation:"Horizontal"},adaptiveCard:{allowCustomStyle:!0},imageSet:{imageSize:"Medium",maxImageHeight:102},factSet:{title:{size:"Default",color:"Default",isSubtle:!0,weight:"Lighter",wrap:!0},value:{size:"Default",color:"Default",isSubtle:!1,weight:"Default",wrap:!0},spacing:8}};var YM={dblclick:iD,keydown:oD,keyup:oD,keypress:oD,mousedown:iD,mouseenter:iD,mouseleave:iD,mousemove:iD,mouseover:iD,mouseout:iD,mouseup:iD,touchcancel:aD,touchend:aD,touchmove:aD,touchstart:aD,wheel:iD},XM={"":oD,mouse:iD,pen:"pen",touch:aD},ZM=e=>{const{event:t,reactEvent:n}=e,r="click"===n.type?(e=>{const t=XM[e];return null!=t?t:rD})(n.nativeEvent.pointerType):YM[n.type];let i;const o=n.nativeEvent;return i=(null==o?void 0:o.view)&&n.timeStamp?o.view.performance.timeOrigin+n.timeStamp:Date.now(),{event:t,source:{inputType:null!=r?r:rD,timeStamp:i}}},JM="HubSettingsAppPermissionsRequestDialog",QM="InstalledAppsControl";const eL={[LB]:(e,t)=>{const n=e.event&&e.event;if(n.type===OB.allowBrowserRefresh)t.refreshDialogRefreshEvent?.();else{if(n.type!==OB.deferBrowserRefresh)throw new Error("Oops, something went wrong :(");t.refreshDialogDeferEvent?.()}},[HB]:(e,t)=>{const n=e.event&&e.event;if(n.type===VB&&n.data){const e=n.data();t.currentAppPermissionsDialogSaveEvent?.(e.permissionTypes)}else{if(n.type!==zB)throw new Error("Oops, something went wrong :(");t.currentAppPermissionsDialogCancelEvent?.()}},[GP]:(e,t)=>{const n=e.event&&e.event;if(n.type===KP)t.requestDialogAllowEvent?.();else{if(n.type!==YP)throw new Error("Oops, something went wrong :(");t.requestDialogDenyEvent?.()}},[JM]:(e,t)=>{if("closeHubSettingsAppPermissionsDialog"!==(e.event&&e.event).type)throw new Error("Oops, something went wrong :(");t.hubSettingsPermissionsDialogCloseEvent?.()},[QM]:(e,t)=>{if("permissionsInfo"!==(e.event&&e.event).type)throw new Error("Oops, something went wrong :(");{const n=e.event.data&&e.event.data().appId||"";t.permissionsForInstalledApp?.(n)}}},tL=e=>{const t=OR(e.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_TITLE","Set <appName> permissions").replace("<appName>",e.appName),n=OR(e.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_SUBTITLE","Make sure your browser permissions are set to allow the same access you've allowed here."),r=OR(e.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_CAPTION","Saving your changes will prompt your the browser to refresh. Any unsaved changes in this app will be lost."),i=OR(e.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_SAVEBUTTONLABEL","Save"),o=OR(e.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_SAVEBUTTONARIA","Refresh to allow permission changes to take effect"),s=OR(e.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_CANCELBUTTONLABEL","Cancel"),l=OR(e.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_CANCELBUTTONARIA","Cancel refresh and close dialog"),c=OR(e.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_CLOSEBUTTONARIA","Close Dialog"),u=OR(e.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_INSTALLAPPSTEXT","Set other app permissions"),d=OR(e.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_ALLOW","Allow"),p=OR(e.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_DENY","Deny"),h=OR(e.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_REQUEST","<appName> would like to access your device").replace("<appName>",e.appName),f=OR(e.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_UPDATE","You can update <appName> app permissions at any time.").replace("<appName>",e.appName),m=OR(e.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_REFRESHTITLE","Refresh to apply updates"),g=OR(e.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_REFRESHBUTTONARIA","Click button to refresh and have permissions take effect"),v=OR(e.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_REFRESHBUTTONLABEL","Refresh"),y=OR(e.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_LATERBUTTONLABEL","Refresh Later"),b=OR(e.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_UNSAVEDLABEL","Any unsaved changes in this app will be lost when you refresh."),C=OR(e.appLocalizedResources,"IDS_APPHOST_DEVICEPERM_REFRESHCLOSEARIA","Close Dialog but changes will not take effect until you refresh"),A=(e=>({async bubble(t){const n=t.event.originator;if(eL[n])return eL[n](t,e);throw new Error(`No such ${n} event exist`)}}))({currentAppPermissionsDialogSaveEvent:t=>{(async(e,t)=>Promise.all(t.map((t=>!0===t.isConsentGivenOnCurrentDevice?e.storePermissionConsent({permission:t.devicePermission,status:vr.Consented}):e.storePermissionConsent({permission:t.devicePermission,status:vr.Revoked})))))(e.devicePermissionService.storageService,t).catch((()=>{})).then((()=>{e.onRefreshDevicePermissions(),e.setShowCurrentAppPermissionsDialog(!1)}))},currentAppPermissionsDialogCancelEvent:()=>{e.setShowCurrentAppPermissionsDialog(!1)},refreshDialogDeferEvent:()=>{e.setShowRefreshDialog(!1)},refreshDialogRefreshEvent:()=>{e.setShowRefreshDialog(!1),e.onReload()},requestDialogDenyEvent:()=>{e.hideRequestDialog(vr.Revoked)},requestDialogAllowEvent:()=>{e.hideRequestDialog(vr.Consented),e.setShowRefreshDialog(!0)}}),S={useLazyLoadQuery:(a,A,S)=>{let E={data:void 0};return a.definitions.forEach((a=>{if("OperationDefinition"===a.kind&&a.name)switch(a.name.value){case"DevicePermissionsCurrentAppPermissionsDialogQuery":E={data:{views:{devicePermissionsCurrentAppDialogControl:{localizedStrings:{title:t,subtitle:n,permissions:e.devicePermissionsForApp,navigateToInstalledAppsControlText:u,closeButtonAria:c}}},m365PlatformApp:{devicePermissions:e.devicePermissionsDialogPermissions}}};break;case"DevicePermissionsCurrentAppPermissionsDialogWithSaveButtonQuery":E={data:{views:{devicePermissionsCurrentAppDialogWithSaveButtonControl:{localizedStrings:{title:t,subtitle:n,permissions:e.devicePermissionsForApp,caption:r,navigateToInstalledAppsControlText:u,saveButtonLabel:i,saveButtonAria:o,cancelButtonLabel:s,cancelButtonAria:l,closeButtonAria:c}}},m365PlatformApp:{devicePermissions:e.devicePermissionsDialogPermissions}}};break;case"DevicePermissionsRequestDialogQuery":E={data:{views:{devicePermissionsRequestDialogControl:{localizedStrings:{title:t,requestPermissionToDevice:h,updateAnyTimeNotice:f,allowButtonLabel:d,denyButtonLabel:p,closeButtonAria:c}}}}};break;case"DevicePermissionsRefreshDialogQuery":E={data:{views:{devicePermissionsRefreshDialogControl:{localizedStrings:{title:m,refreshButtonAria:g,refreshButtonLabel:v,laterButtonLabel:y,unsavedChangesLost:b,updateAnyTimeNotice:f,closeButtonAria:C}}}}}}})),E},useMutation:e=>{const t=[t=>{const n={data:void 0};return"Document"===e.kind&&e.definitions.forEach((e=>{if("OperationDefinition"===e.kind&&e.name)switch(e.name.value){case"DevicePermissionsConsentMutation":{const e=t.variables.devicePermissions;n.data=e;break}}})),new Promise((e=>{e(n)}))},!1];return t}};return(0,a.jsx)(cD,{eventing:A,reactEventMapper:ZM,children:(0,a.jsx)(tD,{graphql:S,children:e.children})})};function nL(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=[],r=0,i=e;r<i.length;r++){var o=i[r];if(o)if("string"==typeof o)n.push(o);else if(o.hasOwnProperty("toString")&&"function"==typeof o.toString)n.push(o.toString());else for(var a in o)o[a]&&n.push(a)}return n.join(" ")}var rL=l.createContext({window:"object"==typeof window?window:void 0}),iL=function(){return l.useContext(rL).window},oL=function(){var e;return null===(e=l.useContext(rL).window)||void 0===e?void 0:e.document},aL=l.createContext({customizations:{inCustomizerContext:!1,settings:{},scopedSettings:{}}});function sL(e,t){var n=function(){var e=l.useState(0)[1];return function(){return e((function(e){return++e}))}}(),r=l.useContext(aL).customizations,i=r.inCustomizerContext;return l.useEffect((function(){return i||Bt.observe(n),function(){i||Bt.unobserve(n)}}),[i]),Bt.getSettings(e,t,r)}var lL=l.createContext(void 0),cL=function(){var e=l.useContext(lL),t=sL(["theme"]).theme;return e||t||un({})},uL="__currentId__",dL=mt()||{};void 0===dL[uL]&&(dL[uL]=0);var pL=!1;function hL(e){if(!pL){var t=M.getInstance();t&&t.onReset&&t.onReset(fL),pL=!0}return(void 0===e?"id__":e)+dL[uL]++}function fL(e){void 0===e&&(e=0),dL[uL]=e}var mL,gL,vL,yL,bL=0,CL=function(){return bL},AL=function(e,t){return kn(Array.isArray(e)?e:[e],t)},SL=(mL=function(e){var t=e.semanticColors,n=e.fonts;return{body:[{color:t.bodyText,background:t.bodyBackground,fontFamily:n.medium.fontFamily,fontWeight:n.medium.fontWeight,fontSize:n.medium.fontSize,MozOsxFontSmoothing:n.medium.MozOsxFontSmoothing,WebkitFontSmoothing:n.medium.WebkitFontSmoothing}]}},gL=new Map,vL=new Set,yL=function(e){var t=e.currentTarget,n=t.__id__;gL.delete(n),t.removeEventListener("unload",yL),vL.delete(n)},function(e){void 0===e&&(e={});var t,n=e.theme,r=iL();r&&(r.__id__=r.__id__||hL(),t=r.__id__,vL.has(t)||(vL.add(t),r.addEventListener("unload",yL)));var i=cL();n=n||i;var o=CL(),a=[t,o,n],s=function(e,t){var n,r,i,o=t[0],a=t[1],s=t[2];return null===(i=null===(r=null===(n=e.get(o))||void 0===n?void 0:n.get(a))||void 0===r?void 0:r.get(s))||void 0===i?void 0:i.classMap}(gL,a);if(l.useEffect((function(){return function(e,t){var n,r,i=t[0],o=t[1],a=t[2],s=null===(r=null===(n=e.get(i))||void 0===n?void 0:n.get(o))||void 0===r?void 0:r.get(a);s&&s.refCount++}(gL,[t,o,n]),function(){return function(e,t){var n,r,i,o,a,s,l,c,u=t[0],d=t[1],p=t[2],h=null===(r=null===(n=e.get(u))||void 0===n?void 0:n.get(d))||void 0===r?void 0:r.get(p);h&&(h.refCount--,0===h.refCount&&(null===(o=null===(i=e.get(u))||void 0===i?void 0:i.get(d))||void 0===o||o.delete(p),0===(null===(s=null===(a=e.get(u))||void 0===a?void 0:a.get(d))||void 0===s?void 0:s.size)&&(null===(l=e.get(u))||void 0===l||l.delete(d),0===(null===(c=e.get(u))||void 0===c?void 0:c.size)&&e.delete(u))))}(gL,[t,o,n])}}),[t,o,n]),!s){var c=function(e){return"function"==typeof e}(mL)?mL(n):mL;s=AL(c,{targetWindow:r,rtl:!!n.rtl}),function(e,t,n){var r,i,o=t[0],a=t[1],s=t[2],l=null!==(r=e.get(o))&&void 0!==r?r:new Map;e.set(o,l);var c=null!==(i=l.get(a))&&void 0!==i?i:new Map;l.set(a,c),c.set(s,{classMap:n,refCount:0})}(gL,a,s)}return s});var EL=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n={},r=0,i=e;r<i.length;r++)for(var o=i[r],a=0,s=Array.isArray(o)?o:Object.keys(o);a<s.length;a++)n[s[a]]=1;return n},wL=EL(["onCopy","onCut","onPaste","onCompositionEnd","onCompositionStart","onCompositionUpdate","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onInput","onSubmit","onLoad","onError","onKeyDown","onKeyDownCapture","onKeyPress","onKeyUp","onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting","onClick","onClickCapture","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onMouseUpCapture","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onScroll","onWheel","onPointerCancel","onPointerDown","onPointerEnter","onPointerLeave","onPointerMove","onPointerOut","onPointerOver","onPointerUp","onGotPointerCapture","onLostPointerCapture"]),xL=EL(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","ref","role","style","tabIndex","title","translate","spellCheck","name"]),IL=EL(xL,wL),kL=EL(IL,["form"]),TL=EL(IL,["height","loop","muted","preload","src","width"]),_L=EL(TL,["poster"]),PL=EL(IL,["start"]),DL=EL(IL,["value"]),BL=EL(IL,["download","href","hrefLang","media","rel","target","type"]),RL=EL(IL,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]),ML=EL(RL,["accept","alt","autoCapitalize","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","minLength","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),LL=EL(RL,["autoCapitalize","cols","dirname","form","maxLength","minLength","placeholder","readOnly","required","rows","wrap"]),OL=EL(RL,["form","multiple","required"]),FL=EL(IL,["selected","value"]),NL=EL(IL,["cellPadding","cellSpacing"]),HL=IL,zL=EL(IL,["rowSpan","scope"]),VL=EL(IL,["colSpan","headers","rowSpan","scope"]),UL=EL(IL,["span"]),jL=EL(IL,["span"]),WL=EL(IL,["acceptCharset","action","encType","encType","method","noValidate","target"]),$L=EL(IL,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),qL=EL(IL,["alt","crossOrigin","height","src","srcSet","useMap","width"]),GL=IL;function KL(e,t,n){for(var r=Array.isArray(t),i={},o=0,a=Object.keys(e);o<a.length;o++){var s=a[o];!(!r&&t[s]||r&&t.indexOf(s)>=0||0===s.indexOf("data-")||0===s.indexOf("aria-"))||n&&-1!==(null==n?void 0:n.indexOf(s))||(i[s]=e[s])}return i}var YL={label:kL,audio:TL,video:_L,ol:PL,li:DL,a:BL,button:RL,input:ML,textarea:LL,select:OL,option:FL,table:NL,tr:HL,th:zL,td:VL,colGroup:UL,col:jL,form:WL,iframe:$L,img:qL};function XL(e,t){if(!e||!t)return!e&&!t;for(var n in e)if(e.hasOwnProperty(n)&&(!t.hasOwnProperty(n)||t[n]!==e[n]))return!1;for(var n in t)if(t.hasOwnProperty(n)&&!e.hasOwnProperty(n))return!1;return!0}function ZL(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return JL.apply(this,[null,e].concat(t))}function JL(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];t=t||{};for(var i=0,o=n;i<o.length;i++){var a=o[i];if(a)for(var s in a)!a.hasOwnProperty(s)||e&&!e(s)||(t[s]=a[s])}return t}var QL,eO=13,tO=40,nO=((QL={})[38]=1,QL[40]=1,QL[37]=1,QL[39]=1,QL[36]=1,QL[35]=1,QL[9]=1,QL[33]=1,QL[34]=1,QL);function rO(e){return!!nO[e]}var iO=new WeakMap,oO=new WeakMap;function aO(e,t){var n,r=iO.get(e);return n=r?r+t:1,iO.set(e,n),n}function sO(e){var t=oO.get(e);return t||(t={onMouseDown:function(t){return uO(t,e.registeredProviders)},onPointerDown:function(t){return dO(t,e.registeredProviders)},onKeyDown:function(t){return pO(t,e.registeredProviders)},onKeyUp:function(t){return hO(t,e.registeredProviders)}},oO.set(e,t),t)}var lO=l.createContext(void 0),cO=function(e){var t,n;return t=e.rootRef,n=l.useContext(lO),l.useEffect((function(){var e,r,i,o,a=mt(null==t?void 0:t.current);if(a&&!0!==(null===(e=a.FabricConfig)||void 0===e?void 0:e.disableFocusRects)){var s,l,c,u,d=a;if((null===(r=null==n?void 0:n.providerRef)||void 0===r?void 0:r.current)&&(null===(o=null===(i=null==n?void 0:n.providerRef)||void 0===i?void 0:i.current)||void 0===o?void 0:o.addEventListener)){d=n.providerRef.current;var p=sO(n);s=p.onMouseDown,l=p.onPointerDown,c=p.onKeyDown,u=p.onKeyUp}else s=uO,l=dO,c=pO,u=hO;var h=aO(d,1);return h<=1&&(d.addEventListener("mousedown",s,!0),d.addEventListener("pointerdown",l,!0),d.addEventListener("keydown",c,!0),d.addEventListener("keyup",u,!0)),function(){var e;a&&!0!==(null===(e=a.FabricConfig)||void 0===e?void 0:e.disableFocusRects)&&0===(h=aO(d,-1))&&(d.removeEventListener("mousedown",s,!0),d.removeEventListener("pointerdown",l,!0),d.removeEventListener("keydown",c,!0),d.removeEventListener("keyup",u,!0))}}}),[n,t]),null};function uO(e,t){Ct(!1,e.target,t)}function dO(e,t){"mouse"!==e.pointerType&&Ct(!1,e.target,t)}function pO(e,t){rO(e.which)&&Ct(!0,e.target,t)}function hO(e,t){rO(e.which)&&Ct(!0,e.target,t)}var fO=function(e){var t=e.providerRef,n=e.layerRoot,r=l.useState([])[0],i=l.useContext(lO),o=void 0!==i&&!n,a=l.useMemo((function(){return o?void 0:{providerRef:t,registeredProviders:r,registerProvider:function(e){r.push(e),null==i||i.registerProvider(e)},unregisterProvider:function(e){null==i||i.unregisterProvider(e);var t=r.indexOf(e);t>=0&&r.splice(t,1)}}}),[t,r,i,o]);return l.useEffect((function(){if(a)return a.registerProvider(a.providerRef),function(){return a.unregisterProvider(a.providerRef)}}),[a]),a?l.createElement(lO.Provider,{value:a},e.children):l.createElement(l.Fragment,null,e.children)},mO=function(e){var t,n=e.customizerContext,r=e.ref,i=e.theme,o=e.as||"div",a="string"==typeof e.as?KL(e,(t=e.as)&&YL[t]||IL,undefined):e.as===l.Fragment?{children:e.children}:function(e,t){var n={};for(var r in e)-1===t.indexOf(r)&&e.hasOwnProperty(r)&&(n[r]=e[r]);return n}(e,["as"]);return l.createElement(lL.Provider,{value:i},l.createElement(aL.Provider,{value:n},l.createElement(fO,{providerRef:r},l.createElement(o,A({},a)))))},gO=new Map;function vO(e,t){for(var n=A({},t),r=0,i=Object.keys(e);r<i.length;r++){var o=i[r];void 0===n[o]&&(n[o]=e[o])}return n}function yO(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=l.useCallback((function(t){n.current=t;for(var r=0,i=e;r<i.length;r++){var o=i[r];"function"==typeof o?o(t):o&&(o.current=t)}}),k([],e,!0));return n}var bO=l.forwardRef((function(e,t){var n=function(e,t){var n,r,i,o,a=vO(t,e);return r=(n=a).theme,i=cL(),o=n.theme=l.useMemo((function(){var e=ln(i,r);return e.id=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=[],r=0,i=e;r<i.length;r++){var o=i[r];if(o){var a=o.id||gO.get(o);a||(a=hL(""),gO.set(o,a)),n.push(a)}}return n.join("-")}(i,r),e}),[i,r]),n.customizerContext=l.useMemo((function(){return{customizations:{inCustomizerContext:!0,settings:{theme:o},scopedSettings:o.components||{}}}}),[o]),n.theme.rtl!==i.rtl&&(n.dir=n.theme.rtl?"rtl":"ltr"),{state:a,render:mO}}(e,{ref:yO(t,l.useRef(null)),as:"div",applyTo:"element"}),r=n.render,i=n.state;return function(e){var t=SL(e),n=e.className,r=e.applyTo;!function(e,t){var n,r="body"===e.applyTo,i=null===(n=oL())||void 0===n?void 0:n.body;l.useEffect((function(){if(r&&i){for(var e=0,n=t;e<n.length;e++){var o=n[e];o&&i.classList.add(o)}return function(){if(r&&i)for(var e=0,n=t;e<n.length;e++){var o=n[e];o&&i.classList.remove(o)}}}}),[r,i,t])}(e,[t.root,t.body]),e.className=nL(n,t.root,"element"===r&&t.body)}(i),r(i)}));bO.displayName="ThemeProvider";const CO="#0a0a0a",AO="#141414",SO="#1f1f1f",EO="#242424",wO="#292929",xO="#2e2e2e",IO="#333333",kO="#383838",TO="#3d3d3d",_O="#424242",PO="#575757",DO="#616161",BO="#707070",RO="#adadad",MO="#b3b3b3",LO="#bdbdbd",OO="#d6d6d6",FO="#e0e0e0",NO="#e6e6e6",HO="#ebebeb",zO="#f0f0f0",VO="#f5f5f5",UO="#fafafa",jO="rgba(255, 255, 255, 0.1)",WO="rgba(255, 255, 255, 0.2)",$O="rgba(255, 255, 255, 0.4)",qO="rgba(255, 255, 255, 0.5)",GO="rgba(0, 0, 0, 0.05)",KO="rgba(0, 0, 0, 0.1)",YO="rgba(0, 0, 0, 0.2)",XO="rgba(0, 0, 0, 0.3)",ZO="rgba(0, 0, 0, 0.5)",JO="#ffffff",QO="#000000",eF={shade50:"#200205",shade40:"#3b0509",shade30:"#6e0811",shade20:"#960b18",shade10:"#b10e1c",primary:"#c50f1f",tint10:"#cc2635",tint20:"#d33f4c",tint30:"#dc626d",tint40:"#eeacb2",tint50:"#f6d1d5",tint60:"#fdf3f4"},tF={shade50:"#031403",shade40:"#052505",shade30:"#094509",shade20:"#0c5e0c",shade10:"#0e700e",primary:"#107c10",tint10:"#218c21",tint20:"#359b35",tint30:"#54b054",tint40:"#9fd89f",tint50:"#c9eac9",tint60:"#f1faf1"},nF={red:{shade50:"#210809",shade40:"#3f1011",shade30:"#751d1f",shade20:"#9f282b",shade10:"#bc2f32",primary:"#d13438",tint10:"#d7494c",tint20:"#dc5e62",tint30:"#e37d80",tint40:"#f1bbbc",tint50:"#f8dadb",tint60:"#fdf6f6"},green:tF,darkOrange:{shade50:"#230900",shade40:"#411200",shade30:"#7a2101",shade20:"#a62d01",shade10:"#c43501",primary:"#da3b01",tint10:"#de501c",tint20:"#e36537",tint30:"#e9835e",tint40:"#f4bfab",tint50:"#f9dcd1",tint60:"#fdf6f3"},yellow:{shade50:"#282400",shade40:"#4c4400",shade30:"#817400",shade20:"#c0ad00",shade10:"#e4cc00",primary:"#fde300",tint10:"#fde61e",tint20:"#fdea3d",tint30:"#feee66",tint40:"#fef7b2",tint50:"#fffad6",tint60:"#fffef5"},berry:{shade50:"#1f091d",shade40:"#3a1136",shade30:"#6d2064",shade20:"#932b88",shade10:"#af33a1",primary:"#c239b3",tint10:"#c94cbc",tint20:"#d161c4",tint30:"#da7ed0",tint40:"#edbbe7",tint50:"#f5daf2",tint60:"#fdf5fc"},lightGreen:{shade50:"#031a02",shade40:"#063004",shade30:"#0b5a08",shade20:"#0e7a0b",shade10:"#11910d",primary:"#13a10e",tint10:"#27ac22",tint20:"#3db838",tint30:"#5ec75a",tint40:"#a7e3a5",tint50:"#cef0cd",tint60:"#f2fbf2"},marigold:{shade50:"#251a00",shade40:"#463100",shade30:"#835b00",shade20:"#b27c00",shade10:"#d39300",primary:"#eaa300",tint10:"#edad1c",tint20:"#efb839",tint30:"#f2c661",tint40:"#f9e2ae",tint50:"#fcefd3",tint60:"#fefbf4"}},rF={darkRed:{shade50:"#130204",shade40:"#230308",shade30:"#420610",shade20:"#590815",shade10:"#690a19",primary:"#750b1c",tint10:"#861b2c",tint20:"#962f3f",tint30:"#ac4f5e",tint40:"#d69ca5",tint50:"#e9c7cd",tint60:"#f9f0f2"},cranberry:eF,pumpkin:{shade50:"#200d03",shade40:"#3d1805",shade30:"#712d09",shade20:"#9a3d0c",shade10:"#b6480e",primary:"#ca5010",tint10:"#d06228",tint20:"#d77440",tint30:"#df8e64",tint40:"#efc4ad",tint50:"#f7dfd2",tint60:"#fdf7f4"},peach:{shade50:"#291600",shade40:"#4d2a00",shade30:"#8f4e00",shade20:"#c26a00",shade10:"#e67e00",primary:"#ff8c00",tint10:"#ff9a1f",tint20:"#ffa83d",tint30:"#ffba66",tint40:"#ffddb3",tint50:"#ffedd6",tint60:"#fffaf5"},gold:{shade50:"#1f1900",shade40:"#3a2f00",shade30:"#6c5700",shade20:"#937700",shade10:"#ae8c00",primary:"#c19c00",tint10:"#c8a718",tint20:"#d0b232",tint30:"#dac157",tint40:"#ecdfa5",tint50:"#f5eece",tint60:"#fdfbf2"},brass:{shade50:"#181202",shade40:"#2e2103",shade30:"#553e06",shade20:"#745408",shade10:"#89640a",primary:"#986f0b",tint10:"#a47d1e",tint20:"#b18c34",tint30:"#c1a256",tint40:"#e0cea2",tint50:"#efe4cb",tint60:"#fbf8f2"},brown:{shade50:"#170e07",shade40:"#2b1a0e",shade30:"#50301a",shade20:"#6c4123",shade10:"#804d29",primary:"#8e562e",tint10:"#9c663f",tint20:"#a97652",tint30:"#bb8f6f",tint40:"#ddc3b0",tint50:"#edded3",tint60:"#faf7f4"},forest:{shade50:"#0c1501",shade40:"#162702",shade30:"#294903",shade20:"#376304",shade10:"#427505",primary:"#498205",tint10:"#599116",tint20:"#6ba02b",tint30:"#85b44c",tint40:"#bdd99b",tint50:"#dbebc7",tint60:"#f6faf0"},seafoam:{shade50:"#002111",shade40:"#003d20",shade30:"#00723b",shade20:"#009b51",shade10:"#00b85f",primary:"#00cc6a",tint10:"#19d279",tint20:"#34d889",tint30:"#5ae0a0",tint40:"#a8f0cd",tint50:"#cff7e4",tint60:"#f3fdf8"},darkGreen:{shade50:"#021102",shade40:"#032003",shade30:"#063b06",shade20:"#085108",shade10:"#0a5f0a",primary:"#0b6a0b",tint10:"#1a7c1a",tint20:"#2d8e2d",tint30:"#4da64d",tint40:"#9ad29a",tint50:"#c6e7c6",tint60:"#f0f9f0"},lightTeal:{shade50:"#001d1f",shade40:"#00373a",shade30:"#00666d",shade20:"#008b94",shade10:"#00a5af",primary:"#00b7c3",tint10:"#18bfca",tint20:"#32c8d1",tint30:"#58d3db",tint40:"#a6e9ed",tint50:"#cef3f5",tint60:"#f2fcfd"},teal:{shade50:"#001516",shade40:"#012728",shade30:"#02494c",shade20:"#026467",shade10:"#037679",primary:"#038387",tint10:"#159195",tint20:"#2aa0a4",tint30:"#4cb4b7",tint40:"#9bd9db",tint50:"#c7ebec",tint60:"#f0fafa"},steel:{shade50:"#000f12",shade40:"#001b22",shade30:"#00333f",shade20:"#004555",shade10:"#005265",primary:"#005b70",tint10:"#0f6c81",tint20:"#237d92",tint30:"#4496a9",tint40:"#94c8d4",tint50:"#c3e1e8",tint60:"#eff7f9"},blue:{shade50:"#001322",shade40:"#002440",shade30:"#004377",shade20:"#005ba1",shade10:"#006cbf",primary:"#0078d4",tint10:"#1a86d9",tint20:"#3595de",tint30:"#5caae5",tint40:"#a9d3f2",tint50:"#d0e7f8",tint60:"#f3f9fd"},royalBlue:{shade50:"#000c16",shade40:"#00172a",shade30:"#002c4e",shade20:"#003b6a",shade10:"#00467e",primary:"#004e8c",tint10:"#125e9a",tint20:"#286fa8",tint30:"#4a89ba",tint40:"#9abfdc",tint50:"#c7dced",tint60:"#f0f6fa"},cornflower:{shade50:"#0d1126",shade40:"#182047",shade30:"#2c3c85",shade20:"#3c51b4",shade10:"#4760d5",primary:"#4f6bed",tint10:"#637cef",tint20:"#778df1",tint30:"#93a4f4",tint40:"#c8d1fa",tint50:"#e1e6fc",tint60:"#f7f9fe"},navy:{shade50:"#00061d",shade40:"#000c36",shade30:"#001665",shade20:"#001e89",shade10:"#0023a2",primary:"#0027b4",tint10:"#173bbd",tint20:"#3050c6",tint30:"#546fd2",tint40:"#a3b2e8",tint50:"#ccd5f3",tint60:"#f2f4fc"},lavender:{shade50:"#120f25",shade40:"#221d46",shade30:"#3f3682",shade20:"#5649b0",shade10:"#6656d1",primary:"#7160e8",tint10:"#8172eb",tint20:"#9184ee",tint30:"#a79cf1",tint40:"#d2ccf8",tint50:"#e7e4fb",tint60:"#f9f8fe"},purple:{shade50:"#0f0717",shade40:"#1c0e2b",shade30:"#341a51",shade20:"#46236e",shade10:"#532982",primary:"#5c2e91",tint10:"#6b3f9e",tint20:"#7c52ab",tint30:"#9470bd",tint40:"#c6b1de",tint50:"#e0d3ed",tint60:"#f7f4fb"},grape:{shade50:"#160418",shade40:"#29072e",shade30:"#4c0d55",shade20:"#671174",shade10:"#7a1589",primary:"#881798",tint10:"#952aa4",tint20:"#a33fb1",tint30:"#b55fc1",tint40:"#d9a7e0",tint50:"#eaceef",tint60:"#faf2fb"},lilac:{shade50:"#1c0b1f",shade40:"#35153a",shade30:"#63276d",shade20:"#863593",shade10:"#9f3faf",primary:"#b146c2",tint10:"#ba58c9",tint20:"#c36bd1",tint30:"#cf87da",tint40:"#e6bfed",tint50:"#f2dcf5",tint60:"#fcf6fd"},pink:{shade50:"#24091b",shade40:"#441232",shade30:"#80215d",shade20:"#ad2d7e",shade10:"#cd3595",primary:"#e43ba6",tint10:"#e750b0",tint20:"#ea66ba",tint30:"#ef85c8",tint40:"#f7c0e3",tint50:"#fbddf0",tint60:"#fef6fb"},magenta:{shade50:"#1f0013",shade40:"#390024",shade30:"#6b0043",shade20:"#91005a",shade10:"#ac006b",primary:"#bf0077",tint10:"#c71885",tint20:"#ce3293",tint30:"#d957a8",tint40:"#eca5d1",tint50:"#f5cee6",tint60:"#fcf2f9"},plum:{shade50:"#13000c",shade40:"#240017",shade30:"#43002b",shade20:"#5a003b",shade10:"#6b0045",primary:"#77004d",tint10:"#87105d",tint20:"#98246f",tint30:"#ad4589",tint40:"#d696c0",tint50:"#e9c4dc",tint60:"#faf0f6"},beige:{shade50:"#141313",shade40:"#252323",shade30:"#444241",shade20:"#5d5958",shade10:"#6e6968",primary:"#7a7574",tint10:"#8a8584",tint20:"#9a9594",tint30:"#afabaa",tint40:"#d7d4d4",tint50:"#eae8e8",tint60:"#faf9f9"},mink:{shade50:"#0f0e0e",shade40:"#1c1b1a",shade30:"#343231",shade20:"#474443",shade10:"#54514f",primary:"#5d5a58",tint10:"#706d6b",tint20:"#84817e",tint30:"#9e9b99",tint40:"#cecccb",tint50:"#e5e4e3",tint60:"#f8f8f8"},platinum:{shade50:"#111314",shade40:"#1f2426",shade30:"#3b4447",shade20:"#505c60",shade10:"#5f6d71",primary:"#69797e",tint10:"#79898d",tint20:"#89989d",tint30:"#a0adb2",tint40:"#cdd6d8",tint50:"#e4e9ea",tint60:"#f8f9fa"},anchor:{shade50:"#090a0b",shade40:"#111315",shade30:"#202427",shade20:"#2b3135",shade10:"#333a3f",primary:"#394146",tint10:"#4d565c",tint20:"#626c72",tint30:"#808a90",tint40:"#bcc3c7",tint50:"#dbdfe1",tint60:"#f6f7f8"}},iF={cranberry:eF,green:tF,orange:{shade50:"#271002",shade40:"#4a1e04",shade30:"#8a3707",shade20:"#bc4b09",shade10:"#de590b",primary:"#f7630c",tint10:"#f87528",tint20:"#f98845",tint30:"#faa06b",tint40:"#fdcfb4",tint50:"#fee5d7",tint60:"#fff9f5"}},oF=["red","green","darkOrange","yellow","berry","lightGreen","marigold"],aF=["darkRed","cranberry","pumpkin","peach","gold","brass","brown","forest","seafoam","darkGreen","lightTeal","teal","steel","blue","royalBlue","cornflower","navy","lavender","purple","grape","lilac","pink","magenta","plum","beige","mink","platinum","anchor"],sF={success:"green",warning:"orange",danger:"cranberry"},lF=oF.reduce(((e,t)=>{const n=t.slice(0,1).toUpperCase()+t.slice(1),r={[`colorPalette${n}Background1`]:nF[t].shade40,[`colorPalette${n}Background2`]:nF[t].shade30,[`colorPalette${n}Background3`]:nF[t].primary,[`colorPalette${n}Foreground1`]:nF[t].tint30,[`colorPalette${n}Foreground2`]:nF[t].tint40,[`colorPalette${n}Foreground3`]:nF[t].tint20,[`colorPalette${n}BorderActive`]:nF[t].tint30,[`colorPalette${n}Border1`]:nF[t].primary,[`colorPalette${n}Border2`]:nF[t].tint20};return Object.assign(e,r)}),{});lF.colorPaletteRedForeground3=nF.red.tint30,lF.colorPaletteRedBorder2=nF.red.tint30,lF.colorPaletteGreenForeground3=nF.green.tint40,lF.colorPaletteGreenBorder2=nF.green.tint40,lF.colorPaletteDarkOrangeForeground3=nF.darkOrange.tint30,lF.colorPaletteDarkOrangeBorder2=nF.darkOrange.tint30,lF.colorPaletteRedForegroundInverted=nF.red.primary,lF.colorPaletteGreenForegroundInverted=nF.green.primary,lF.colorPaletteYellowForegroundInverted=nF.yellow.shade30;const cF=aF.reduce(((e,t)=>{const n=t.slice(0,1).toUpperCase()+t.slice(1),r={[`colorPalette${n}Background2`]:rF[t].shade30,[`colorPalette${n}Foreground2`]:rF[t].tint40,[`colorPalette${n}BorderActive`]:rF[t].tint30};return Object.assign(e,r)}),{});cF.colorPaletteDarkRedBackground2=rF.darkRed.shade20,cF.colorPalettePlumBackground2=rF.plum.shade20;const uF={...lF,...cF},dF=Object.entries(sF).reduce(((e,[t,n])=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),i={[`colorStatus${r}Background1`]:iF[n].shade40,[`colorStatus${r}Background2`]:iF[n].shade30,[`colorStatus${r}Background3`]:iF[n].primary,[`colorStatus${r}Foreground1`]:iF[n].tint30,[`colorStatus${r}Foreground2`]:iF[n].tint40,[`colorStatus${r}Foreground3`]:iF[n].tint20,[`colorStatus${r}BorderActive`]:iF[n].tint30,[`colorStatus${r}ForegroundInverted`]:iF[n].shade10,[`colorStatus${r}Border1`]:iF[n].primary,[`colorStatus${r}Border2`]:iF[n].tint20};return Object.assign(e,i)}),{});dF.colorStatusDangerBackground3Hover=iF[sF.danger].shade10,dF.colorStatusDangerBackground3Pressed=iF[sF.danger].shade20,dF.colorStatusDangerForeground3=iF[sF.danger].tint40,dF.colorStatusDangerBorder2=iF[sF.danger].tint30,dF.colorStatusSuccessForeground3=iF[sF.success].tint40,dF.colorStatusSuccessBorder2=iF[sF.success].tint40,dF.colorStatusWarningForegroundInverted=iF[sF.warning].shade20;const pF={borderRadiusNone:"0",borderRadiusSmall:"2px",borderRadiusMedium:"4px",borderRadiusLarge:"6px",borderRadiusXLarge:"8px",borderRadiusCircular:"10000px"},hF={fontSizeBase100:"10px",fontSizeBase200:"12px",fontSizeBase300:"14px",fontSizeBase400:"16px",fontSizeBase500:"20px",fontSizeBase600:"24px",fontSizeHero700:"28px",fontSizeHero800:"32px",fontSizeHero900:"40px",fontSizeHero1000:"68px"},fF={lineHeightBase100:"14px",lineHeightBase200:"16px",lineHeightBase300:"20px",lineHeightBase400:"22px",lineHeightBase500:"28px",lineHeightBase600:"32px",lineHeightHero700:"36px",lineHeightHero800:"40px",lineHeightHero900:"52px",lineHeightHero1000:"92px"},mF={fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700},gF={fontFamilyBase:"'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif",fontFamilyMonospace:"Consolas, 'Courier New', Courier, monospace",fontFamilyNumeric:"Bahnschrift, 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif"},vF={strokeWidthThin:"1px",strokeWidthThick:"2px",strokeWidthThicker:"3px",strokeWidthThickest:"4px"};function yF(e,t,n=""){return{[`shadow2${n}`]:`0 0 2px ${e}, 0 1px 2px ${t}`,[`shadow4${n}`]:`0 0 2px ${e}, 0 2px 4px ${t}`,[`shadow8${n}`]:`0 0 2px ${e}, 0 4px 8px ${t}`,[`shadow16${n}`]:`0 0 2px ${e}, 0 8px 16px ${t}`,[`shadow28${n}`]:`0 0 8px ${e}, 0 14px 28px ${t}`,[`shadow64${n}`]:`0 0 8px ${e}, 0 32px 64px ${t}`}}const bF={durationUltraFast:"50ms",durationFaster:"100ms",durationFast:"150ms",durationNormal:"200ms",durationGentle:"250ms",durationSlow:"300ms",durationSlower:"400ms",durationUltraSlow:"500ms"},CF={curveAccelerateMax:"cubic-bezier(0.9,0.1,1,0.2)",curveAccelerateMid:"cubic-bezier(1,0,1,1)",curveAccelerateMin:"cubic-bezier(0.8,0,0.78,1)",curveDecelerateMax:"cubic-bezier(0.1,0.9,0.2,1)",curveDecelerateMid:"cubic-bezier(0,0,0,1)",curveDecelerateMin:"cubic-bezier(0.33,0,0.1,1)",curveEasyEaseMax:"cubic-bezier(0.8,0,0.2,1)",curveEasyEase:"cubic-bezier(0.33,0,0.67,1)",curveLinear:"cubic-bezier(0,0,1,1)"},AF="10px",SF="12px",EF="16px",wF="20px",xF="24px",IF="32px",kF={spacingHorizontalNone:"0",spacingHorizontalXXS:"2px",spacingHorizontalXS:"4px",spacingHorizontalSNudge:"6px",spacingHorizontalS:"8px",spacingHorizontalMNudge:AF,spacingHorizontalM:SF,spacingHorizontalL:EF,spacingHorizontalXL:wF,spacingHorizontalXXL:xF,spacingHorizontalXXXL:IF},TF={spacingVerticalNone:"0",spacingVerticalXXS:"2px",spacingVerticalXS:"4px",spacingVerticalSNudge:"6px",spacingVerticalS:"8px",spacingVerticalMNudge:AF,spacingVerticalM:SF,spacingVerticalL:EF,spacingVerticalXL:wF,spacingVerticalXXL:xF,spacingVerticalXXXL:IF},_F={10:"#061724",20:"#082338",30:"#0a2e4a",40:"#0c3b5e",50:"#0e4775",60:"#0f548c",70:"#115ea3",80:"#0f6cbd",90:"#2886de",100:"#479ef5",110:"#62abf5",120:"#77b7f7",130:"#96c6fa",140:"#b4d6fa",150:"#cfe4fa",160:"#ebf3fc"},PF=(e=>{const t=(e=>({colorNeutralForeground1:JO,colorNeutralForeground1Hover:JO,colorNeutralForeground1Pressed:JO,colorNeutralForeground1Selected:JO,colorNeutralForeground2:OO,colorNeutralForeground2Hover:JO,colorNeutralForeground2Pressed:JO,colorNeutralForeground2Selected:JO,colorNeutralForeground2BrandHover:e[100],colorNeutralForeground2BrandPressed:e[90],colorNeutralForeground2BrandSelected:e[100],colorNeutralForeground3:RO,colorNeutralForeground3Hover:OO,colorNeutralForeground3Pressed:OO,colorNeutralForeground3Selected:OO,colorNeutralForeground3BrandHover:e[100],colorNeutralForeground3BrandPressed:e[90],colorNeutralForeground3BrandSelected:e[100],colorNeutralForeground4:"#999999",colorNeutralForegroundDisabled:"#5c5c5c",colorNeutralForegroundInvertedDisabled:$O,colorBrandForegroundLink:e[100],colorBrandForegroundLinkHover:e[110],colorBrandForegroundLinkPressed:e[90],colorBrandForegroundLinkSelected:e[100],colorNeutralForeground2Link:OO,colorNeutralForeground2LinkHover:JO,colorNeutralForeground2LinkPressed:JO,colorNeutralForeground2LinkSelected:JO,colorCompoundBrandForeground1:e[100],colorCompoundBrandForeground1Hover:e[110],colorCompoundBrandForeground1Pressed:e[90],colorBrandForeground1:e[100],colorBrandForeground2:e[110],colorBrandForeground2Hover:e[130],colorBrandForeground2Pressed:e[160],colorNeutralForeground1Static:EO,colorNeutralForegroundStaticInverted:JO,colorNeutralForegroundInverted:EO,colorNeutralForegroundInvertedHover:EO,colorNeutralForegroundInvertedPressed:EO,colorNeutralForegroundInvertedSelected:EO,colorNeutralForegroundInverted2:EO,colorNeutralForegroundOnBrand:JO,colorNeutralForegroundInvertedLink:JO,colorNeutralForegroundInvertedLinkHover:JO,colorNeutralForegroundInvertedLinkPressed:JO,colorNeutralForegroundInvertedLinkSelected:JO,colorBrandForegroundInverted:e[80],colorBrandForegroundInvertedHover:e[70],colorBrandForegroundInvertedPressed:e[60],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:wO,colorNeutralBackground1Hover:TO,colorNeutralBackground1Pressed:SO,colorNeutralBackground1Selected:kO,colorNeutralBackground2:SO,colorNeutralBackground2Hover:IO,colorNeutralBackground2Pressed:AO,colorNeutralBackground2Selected:xO,colorNeutralBackground3:AO,colorNeutralBackground3Hover:wO,colorNeutralBackground3Pressed:CO,colorNeutralBackground3Selected:EO,colorNeutralBackground4:CO,colorNeutralBackground4Hover:SO,colorNeutralBackground4Pressed:QO,colorNeutralBackground4Selected:"#1a1a1a",colorNeutralBackground5:QO,colorNeutralBackground5Hover:AO,colorNeutralBackground5Pressed:"#050505",colorNeutralBackground5Selected:"#0f0f0f",colorNeutralBackground6:IO,colorNeutralBackgroundInverted:JO,colorNeutralBackgroundStatic:TO,colorNeutralBackgroundAlpha:"rgba(26, 26, 26, 0.5)",colorNeutralBackgroundAlpha2:"rgba(31, 31, 31, 0.7)",colorSubtleBackground:"transparent",colorSubtleBackgroundHover:kO,colorSubtleBackgroundPressed:xO,colorSubtleBackgroundSelected:IO,colorSubtleBackgroundLightAlphaHover:"rgba(36, 36, 36, 0.8)",colorSubtleBackgroundLightAlphaPressed:"rgba(36, 36, 36, 0.5)",colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:KO,colorSubtleBackgroundInvertedPressed:XO,colorSubtleBackgroundInvertedSelected:YO,colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:AO,colorNeutralBackgroundInvertedDisabled:jO,colorNeutralStencil1:PO,colorNeutralStencil2:IO,colorNeutralStencil1Alpha:jO,colorNeutralStencil2Alpha:"rgba(255, 255, 255, 0.05)",colorBackgroundOverlay:ZO,colorScrollbarOverlay:"rgba(255, 255, 255, 0.6)",colorBrandBackground:e[70],colorBrandBackgroundHover:e[80],colorBrandBackgroundPressed:e[40],colorBrandBackgroundSelected:e[60],colorCompoundBrandBackground:e[100],colorCompoundBrandBackgroundHover:e[110],colorCompoundBrandBackgroundPressed:e[90],colorBrandBackgroundStatic:e[80],colorBrandBackground2:e[20],colorBrandBackground2Hover:e[40],colorBrandBackground2Pressed:e[10],colorBrandBackground3Static:e[60],colorBrandBackground4Static:e[40],colorBrandBackgroundInverted:JO,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:IO,colorNeutralCardBackgroundHover:TO,colorNeutralCardBackgroundPressed:xO,colorNeutralCardBackgroundSelected:kO,colorNeutralCardBackgroundDisabled:AO,colorNeutralStrokeAccessible:RO,colorNeutralStrokeAccessibleHover:LO,colorNeutralStrokeAccessiblePressed:MO,colorNeutralStrokeAccessibleSelected:e[100],colorNeutralStroke1:"#666666",colorNeutralStroke1Hover:"#757575",colorNeutralStroke1Pressed:"#6b6b6b",colorNeutralStroke1Selected:BO,colorNeutralStroke2:"#525252",colorNeutralStroke3:TO,colorNeutralStrokeSubtle:CO,colorNeutralStrokeOnBrand:wO,colorNeutralStrokeOnBrand2:JO,colorNeutralStrokeOnBrand2Hover:JO,colorNeutralStrokeOnBrand2Pressed:JO,colorNeutralStrokeOnBrand2Selected:JO,colorBrandStroke1:e[100],colorBrandStroke2:e[50],colorBrandStroke2Hover:e[50],colorBrandStroke2Pressed:e[30],colorBrandStroke2Contrast:e[50],colorCompoundBrandStroke:e[100],colorCompoundBrandStrokeHover:e[110],colorCompoundBrandStrokePressed:e[90],colorNeutralStrokeDisabled:_O,colorNeutralStrokeInvertedDisabled:$O,colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:jO,colorNeutralStrokeAlpha2:WO,colorStrokeFocus1:QO,colorStrokeFocus2:JO,colorNeutralShadowAmbient:"rgba(0,0,0,0.24)",colorNeutralShadowKey:"rgba(0,0,0,0.28)",colorNeutralShadowAmbientLighter:"rgba(0,0,0,0.12)",colorNeutralShadowKeyLighter:"rgba(0,0,0,0.14)",colorNeutralShadowAmbientDarker:"rgba(0,0,0,0.40)",colorNeutralShadowKeyDarker:"rgba(0,0,0,0.48)",colorBrandShadowAmbient:"rgba(0,0,0,0.30)",colorBrandShadowKey:"rgba(0,0,0,0.25)"}))(e);return{...pF,...hF,...fF,...gF,...mF,...vF,...kF,...TF,...bF,...CF,...t,...uF,...dF,...yF(t.colorNeutralShadowAmbient,t.colorNeutralShadowKey),...yF(t.colorBrandShadowAmbient,t.colorBrandShadowKey,"Brand")}})(_F),DF=oF.reduce(((e,t)=>{const n=t.slice(0,1).toUpperCase()+t.slice(1),r={[`colorPalette${n}Background1`]:nF[t].tint60,[`colorPalette${n}Background2`]:nF[t].tint40,[`colorPalette${n}Background3`]:nF[t].primary,[`colorPalette${n}Foreground1`]:nF[t].shade10,[`colorPalette${n}Foreground2`]:nF[t].shade30,[`colorPalette${n}Foreground3`]:nF[t].primary,[`colorPalette${n}BorderActive`]:nF[t].primary,[`colorPalette${n}Border1`]:nF[t].tint40,[`colorPalette${n}Border2`]:nF[t].primary};return Object.assign(e,r)}),{});DF.colorPaletteYellowForeground1=nF.yellow.shade30,DF.colorPaletteRedForegroundInverted=nF.red.tint20,DF.colorPaletteGreenForegroundInverted=nF.green.tint20,DF.colorPaletteYellowForegroundInverted=nF.yellow.tint40;const BF=aF.reduce(((e,t)=>{const n=t.slice(0,1).toUpperCase()+t.slice(1),r={[`colorPalette${n}Background2`]:rF[t].tint40,[`colorPalette${n}Foreground2`]:rF[t].shade30,[`colorPalette${n}BorderActive`]:rF[t].primary};return Object.assign(e,r)}),{}),RF={...DF,...BF},MF=Object.entries(sF).reduce(((e,[t,n])=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),i={[`colorStatus${r}Background1`]:iF[n].tint60,[`colorStatus${r}Background2`]:iF[n].tint40,[`colorStatus${r}Background3`]:iF[n].primary,[`colorStatus${r}Foreground1`]:iF[n].shade10,[`colorStatus${r}Foreground2`]:iF[n].shade30,[`colorStatus${r}Foreground3`]:iF[n].primary,[`colorStatus${r}ForegroundInverted`]:iF[n].tint30,[`colorStatus${r}BorderActive`]:iF[n].primary,[`colorStatus${r}Border1`]:iF[n].tint40,[`colorStatus${r}Border2`]:iF[n].primary};return Object.assign(e,i)}),{});MF.colorStatusDangerBackground3Hover=iF[sF.danger].shade10,MF.colorStatusDangerBackground3Pressed=iF[sF.danger].shade20,MF.colorStatusWarningForeground1=iF[sF.warning].shade20,MF.colorStatusWarningForeground3=iF[sF.warning].shade20,MF.colorStatusWarningBorder2=iF[sF.warning].shade20;const LF=(e=>{const t=(e=>({colorNeutralForeground1:EO,colorNeutralForeground1Hover:EO,colorNeutralForeground1Pressed:EO,colorNeutralForeground1Selected:EO,colorNeutralForeground2:_O,colorNeutralForeground2Hover:EO,colorNeutralForeground2Pressed:EO,colorNeutralForeground2Selected:EO,colorNeutralForeground2BrandHover:e[80],colorNeutralForeground2BrandPressed:e[70],colorNeutralForeground2BrandSelected:e[80],colorNeutralForeground3:DO,colorNeutralForeground3Hover:_O,colorNeutralForeground3Pressed:_O,colorNeutralForeground3Selected:_O,colorNeutralForeground3BrandHover:e[80],colorNeutralForeground3BrandPressed:e[70],colorNeutralForeground3BrandSelected:e[80],colorNeutralForeground4:BO,colorNeutralForegroundDisabled:LO,colorNeutralForegroundInvertedDisabled:$O,colorBrandForegroundLink:e[70],colorBrandForegroundLinkHover:e[60],colorBrandForegroundLinkPressed:e[40],colorBrandForegroundLinkSelected:e[70],colorNeutralForeground2Link:_O,colorNeutralForeground2LinkHover:EO,colorNeutralForeground2LinkPressed:EO,colorNeutralForeground2LinkSelected:EO,colorCompoundBrandForeground1:e[80],colorCompoundBrandForeground1Hover:e[70],colorCompoundBrandForeground1Pressed:e[60],colorBrandForeground1:e[80],colorBrandForeground2:e[70],colorBrandForeground2Hover:e[60],colorBrandForeground2Pressed:e[30],colorNeutralForeground1Static:EO,colorNeutralForegroundStaticInverted:JO,colorNeutralForegroundInverted:JO,colorNeutralForegroundInvertedHover:JO,colorNeutralForegroundInvertedPressed:JO,colorNeutralForegroundInvertedSelected:JO,colorNeutralForegroundInverted2:JO,colorNeutralForegroundOnBrand:JO,colorNeutralForegroundInvertedLink:JO,colorNeutralForegroundInvertedLinkHover:JO,colorNeutralForegroundInvertedLinkPressed:JO,colorNeutralForegroundInvertedLinkSelected:JO,colorBrandForegroundInverted:e[100],colorBrandForegroundInvertedHover:e[110],colorBrandForegroundInvertedPressed:e[100],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:JO,colorNeutralBackground1Hover:VO,colorNeutralBackground1Pressed:FO,colorNeutralBackground1Selected:HO,colorNeutralBackground2:UO,colorNeutralBackground2Hover:zO,colorNeutralBackground2Pressed:"#dbdbdb",colorNeutralBackground2Selected:NO,colorNeutralBackground3:VO,colorNeutralBackground3Hover:HO,colorNeutralBackground3Pressed:OO,colorNeutralBackground3Selected:FO,colorNeutralBackground4:zO,colorNeutralBackground4Hover:UO,colorNeutralBackground4Pressed:VO,colorNeutralBackground4Selected:JO,colorNeutralBackground5:HO,colorNeutralBackground5Hover:VO,colorNeutralBackground5Pressed:zO,colorNeutralBackground5Selected:UO,colorNeutralBackground6:NO,colorNeutralBackgroundInverted:wO,colorNeutralBackgroundStatic:IO,colorNeutralBackgroundAlpha:qO,colorNeutralBackgroundAlpha2:"rgba(255, 255, 255, 0.8)",colorSubtleBackground:"transparent",colorSubtleBackgroundHover:VO,colorSubtleBackgroundPressed:FO,colorSubtleBackgroundSelected:HO,colorSubtleBackgroundLightAlphaHover:"rgba(255, 255, 255, 0.7)",colorSubtleBackgroundLightAlphaPressed:qO,colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:KO,colorSubtleBackgroundInvertedPressed:XO,colorSubtleBackgroundInvertedSelected:YO,colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:zO,colorNeutralBackgroundInvertedDisabled:jO,colorNeutralStencil1:NO,colorNeutralStencil2:UO,colorNeutralStencil1Alpha:KO,colorNeutralStencil2Alpha:GO,colorBackgroundOverlay:"rgba(0, 0, 0, 0.4)",colorScrollbarOverlay:ZO,colorBrandBackground:e[80],colorBrandBackgroundHover:e[70],colorBrandBackgroundPressed:e[40],colorBrandBackgroundSelected:e[60],colorCompoundBrandBackground:e[80],colorCompoundBrandBackgroundHover:e[70],colorCompoundBrandBackgroundPressed:e[60],colorBrandBackgroundStatic:e[80],colorBrandBackground2:e[160],colorBrandBackground2Hover:e[150],colorBrandBackground2Pressed:e[130],colorBrandBackground3Static:e[60],colorBrandBackground4Static:e[40],colorBrandBackgroundInverted:JO,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:UO,colorNeutralCardBackgroundHover:JO,colorNeutralCardBackgroundPressed:VO,colorNeutralCardBackgroundSelected:HO,colorNeutralCardBackgroundDisabled:zO,colorNeutralStrokeAccessible:DO,colorNeutralStrokeAccessibleHover:PO,colorNeutralStrokeAccessiblePressed:"#4d4d4d",colorNeutralStrokeAccessibleSelected:e[80],colorNeutralStroke1:"#d1d1d1",colorNeutralStroke1Hover:"#c7c7c7",colorNeutralStroke1Pressed:MO,colorNeutralStroke1Selected:LO,colorNeutralStroke2:FO,colorNeutralStroke3:zO,colorNeutralStrokeSubtle:FO,colorNeutralStrokeOnBrand:JO,colorNeutralStrokeOnBrand2:JO,colorNeutralStrokeOnBrand2Hover:JO,colorNeutralStrokeOnBrand2Pressed:JO,colorNeutralStrokeOnBrand2Selected:JO,colorBrandStroke1:e[80],colorBrandStroke2:e[140],colorBrandStroke2Hover:e[120],colorBrandStroke2Pressed:e[80],colorBrandStroke2Contrast:e[140],colorCompoundBrandStroke:e[80],colorCompoundBrandStrokeHover:e[70],colorCompoundBrandStrokePressed:e[60],colorNeutralStrokeDisabled:FO,colorNeutralStrokeInvertedDisabled:$O,colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:GO,colorNeutralStrokeAlpha2:WO,colorStrokeFocus1:JO,colorStrokeFocus2:QO,colorNeutralShadowAmbient:"rgba(0,0,0,0.12)",colorNeutralShadowKey:"rgba(0,0,0,0.14)",colorNeutralShadowAmbientLighter:"rgba(0,0,0,0.06)",colorNeutralShadowKeyLighter:"rgba(0,0,0,0.07)",colorNeutralShadowAmbientDarker:"rgba(0,0,0,0.20)",colorNeutralShadowKeyDarker:"rgba(0,0,0,0.24)",colorBrandShadowAmbient:"rgba(0,0,0,0.30)",colorBrandShadowKey:"rgba(0,0,0,0.25)"}))(e);return{...pF,...hF,...fF,...gF,...mF,...vF,...kF,...TF,...bF,...CF,...t,...RF,...MF,...yF(t.colorNeutralShadowAmbient,t.colorNeutralShadowKey),...yF(t.colorBrandShadowAmbient,t.colorBrandShadowKey,"Brand")}})(_F),OF={palette:{themePrimary:"#0078d4",themeLighterAlt:"#070707",themeLighter:"#1d1c1c",themeLight:"#363534",themeTertiary:"#6b6968",themeSecondary:"#9d9b98",themeDarkAlt:"#bab8b5",themeDark:"#c5c3c0",themeDarker:"#d4d2d1",neutralLighterAlt:"#303030",neutralLighter:"#383838",neutralLight:"#464646",neutralQuaternaryAlt:"#4e4e4e",neutralQuaternary:"#555555",neutralTertiaryAlt:"#727272",neutralTertiary:"#c8c8c8",neutralSecondary:"#d0d0d0",neutralSecondaryAlt:"#d0d0d0",neutralPrimaryAlt:"#dadada",neutralPrimary:"#ffffff",neutralDark:"#f4f4f4",black:"#f8f8f8",white:"#262626"}},FF=({children:e,...t})=>{const{darkMode:n}=t,r=t.darkMode?`${oM.rootContainer} ${oM.darkMode}`:oM.rootContainer;return(0,a.jsx)(bO,{theme:n?OF:void 0,className:oM.rootContainer,children:(0,a.jsxs)(VI,{theme:n?PF:LF,className:r,children:[(0,a.jsx)(xM,{...t}),(0,a.jsx)("div",{className:oM.contentContainer,children:e})]})})};var NF=function(e){var t={refs:[]};return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.resolver&&function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t.refs,e)||(t.resolver=function(e){return function(t){for(var n=0,r=e.refs;n<r.length;n++){var i=r[n];"function"==typeof i?i(t):i&&(i.current=t)}}}(t)),t.refs=e,t.resolver}};function HF(e,t){var n,r;if(void 0===t&&(t=!0),!e)return null;var i=t&&function(e){var t,n;return e&&(n=e)&&n._virtual&&(t=e._virtual.parent),t}(e);return i||("function"!=typeof e.assignedElements&&(null===(n=e.assignedSlot)||void 0===n?void 0:n.parentNode)?e.assignedSlot:11===(null===(r=e.parentNode)||void 0===r?void 0:r.nodeType)?e.parentNode.host:e.parentNode)}function zF(e,t,n){return null!=n||(n=document),!e||e===n.body||e instanceof Document?null:t(e)?e:zF(HF(e),t)}var VF="data-portal-element";function UF(e,t,n){var r,i=zF(e,(function(e){var n;return t===e||!!(null===(n=e.hasAttribute)||void 0===n?void 0:n.call(e,VF))}),n);return null!==i&&!!(null===(r=i.hasAttribute)||void 0===r?void 0:r.call(i,VF))}function jF(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.length<2?t[0]:function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];t.forEach((function(t){return t&&t.apply(e,n)}))}}function WF(e){!function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=jF(e,e[n],t[n]))}(e,{componentDidMount:$F,componentDidUpdate:qF,componentWillUnmount:GF})}function $F(){KF(this.props.componentRef,this)}function qF(e){e.componentRef!==this.props.componentRef&&(KF(e.componentRef,null),KF(this.props.componentRef,this))}function GF(){KF(this.props.componentRef,null)}function KF(e,t){e&&("object"==typeof e?e.current=t:"function"==typeof e&&e(t))}var YF=function(){function e(e,t){this._timeoutIds=null,this._immediateIds=null,this._intervalIds=null,this._animationFrameIds=null,this._isDisposed=!1,this._parent=e||null,this._onErrorHandler=t,this._noop=function(){}}return e.prototype.dispose=function(){var e;if(this._isDisposed=!0,this._parent=null,this._timeoutIds){for(e in this._timeoutIds)this._timeoutIds.hasOwnProperty(e)&&this.clearTimeout(parseInt(e,10));this._timeoutIds=null}if(this._immediateIds){for(e in this._immediateIds)this._immediateIds.hasOwnProperty(e)&&this.clearImmediate(parseInt(e,10));this._immediateIds=null}if(this._intervalIds){for(e in this._intervalIds)this._intervalIds.hasOwnProperty(e)&&this.clearInterval(parseInt(e,10));this._intervalIds=null}if(this._animationFrameIds){for(e in this._animationFrameIds)this._animationFrameIds.hasOwnProperty(e)&&this.cancelAnimationFrame(parseInt(e,10));this._animationFrameIds=null}},e.prototype.setTimeout=function(e,t){var n=this,r=0;return this._isDisposed||(this._timeoutIds||(this._timeoutIds={}),r=setTimeout((function(){try{n._timeoutIds&&delete n._timeoutIds[r],e.apply(n._parent)}catch(e){n._logError(e)}}),t),this._timeoutIds[r]=!0),r},e.prototype.clearTimeout=function(e){this._timeoutIds&&this._timeoutIds[e]&&(clearTimeout(e),delete this._timeoutIds[e])},e.prototype.setImmediate=function(e,t){var n=this,r=0,i=mt(t);return this._isDisposed||(this._immediateIds||(this._immediateIds={}),r=i.setTimeout((function(){try{n._immediateIds&&delete n._immediateIds[r],e.apply(n._parent)}catch(e){n._logError(e)}}),0),this._immediateIds[r]=!0),r},e.prototype.clearImmediate=function(e,t){var n=mt(t);this._immediateIds&&this._immediateIds[e]&&(n.clearTimeout(e),delete this._immediateIds[e])},e.prototype.setInterval=function(e,t){var n=this,r=0;return this._isDisposed||(this._intervalIds||(this._intervalIds={}),r=setInterval((function(){try{e.apply(n._parent)}catch(e){n._logError(e)}}),t),this._intervalIds[r]=!0),r},e.prototype.clearInterval=function(e){this._intervalIds&&this._intervalIds[e]&&(clearInterval(e),delete this._intervalIds[e])},e.prototype.throttle=function(e,t,n){var r=this;if(this._isDisposed)return this._noop;var i,o,a=t||0,s=!0,l=!0,c=0,u=null;n&&"boolean"==typeof n.leading&&(s=n.leading),n&&"boolean"==typeof n.trailing&&(l=n.trailing);var d=function(t){var n=Date.now(),p=n-c,h=s?a-p:a;return p>=a&&(!t||s)?(c=n,u&&(r.clearTimeout(u),u=null),i=e.apply(r._parent,o)):null===u&&l&&(u=r.setTimeout(d,h)),i};return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o=e,d(!0)}},e.prototype.debounce=function(e,t,n){var r=this;if(this._isDisposed){var i=function(){};return i.cancel=function(){},i.flush=function(){return null},i.pending=function(){return!1},i}var o,a,s=t||0,l=!1,c=!0,u=null,d=0,p=Date.now(),h=null;n&&"boolean"==typeof n.leading&&(l=n.leading),n&&"boolean"==typeof n.trailing&&(c=n.trailing),n&&"number"==typeof n.maxWait&&!isNaN(n.maxWait)&&(u=n.maxWait);var f=function(e){h&&(r.clearTimeout(h),h=null),p=e},m=function(t){f(t),o=e.apply(r._parent,a)},g=function(e){var t=Date.now(),n=!1;e&&(l&&t-d>=s&&(n=!0),d=t);var i=t-d,a=s-i,f=t-p,v=!1;return null!==u&&(f>=u&&h?v=!0:a=Math.min(a,u-f)),i>=s||v||n?m(t):null!==h&&e||!c||(h=r.setTimeout(g,a)),o},v=function(){return!!h},y=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return a=e,g(!0)};return y.cancel=function(){v()&&f(Date.now())},y.flush=function(){return v()&&m(Date.now()),o},y.pending=v,y},e.prototype.requestAnimationFrame=function(e,t){var n=this,r=0,i=mt(t);if(!this._isDisposed){this._animationFrameIds||(this._animationFrameIds={});var o=function(){try{n._animationFrameIds&&delete n._animationFrameIds[r],e.apply(n._parent)}catch(e){n._logError(e)}};r=i.requestAnimationFrame?i.requestAnimationFrame(o):i.setTimeout(o,0),this._animationFrameIds[r]=!0}return r},e.prototype.cancelAnimationFrame=function(e,t){var n=mt(t);this._animationFrameIds&&this._animationFrameIds[e]&&(n.cancelAnimationFrame?n.cancelAnimationFrame(e):n.clearTimeout(e),delete this._animationFrameIds[e])},e.prototype._logError=function(e){this._onErrorHandler&&this._onErrorHandler(e)},e}(),XF=function(){function e(t){this._id=e._uniqueId++,this._parent=t,this._eventRecords=[]}return e.raise=function(t,n,r,i,o){var a,s=null!=o?o:Kt();if(e._isElement(t)){if(void 0!==s&&s.createEvent){var l=s.createEvent("HTMLEvents");l.initEvent(n,i||!1,!0),ZL(l,r),a=t.dispatchEvent(l)}else if(void 0!==s&&s.createEventObject){var c=s.createEventObject(r);t.fireEvent("on"+n,c)}}else for(;t&&!1!==a;){var u=t.__events__,d=u?u[n]:null;if(d)for(var p in d)if(d.hasOwnProperty(p))for(var h=d[p],f=0;!1!==a&&f<h.length;f++){var m=h[f];m.objectCallback&&(a=m.objectCallback.call(m.parent,r))}t=i?t.parent:null}return a},e.isObserved=function(e,t){var n=e&&e.__events__;return!!n&&!!n[t]},e.isDeclared=function(e,t){var n=e&&e.__declaredEvents;return!!n&&!!n[t]},e.stopPropagation=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},e._isElement=function(e){return!!e&&(!!e.addEventListener||"undefined"!=typeof HTMLElement&&e instanceof HTMLElement)},e.prototype.dispose=function(){this._isDisposed||(this._isDisposed=!0,this.off(),this._parent=null)},e.prototype.onAll=function(e,t,n){for(var r in t)t.hasOwnProperty(r)&&this.on(e,r,t[r],n)},e.prototype.on=function(t,n,r,i){var o=this;if(n.indexOf(",")>-1)for(var a=n.split(/[ ,]+/),s=0;s<a.length;s++)this.on(t,a[s],r,i);else{var l=this._parent,c={target:t,eventName:n,parent:l,callback:r,options:i};if((a=t.__events__=t.__events__||{})[n]=a[n]||{count:0},a[n][this._id]=a[n][this._id]||[],a[n][this._id].push(c),a[n].count++,e._isElement(t)){var u=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!o._isDisposed){var n;try{if(!1===(n=r.apply(l,e))&&e[0]){var i=e[0];i.preventDefault&&i.preventDefault(),i.stopPropagation&&i.stopPropagation(),i.cancelBubble=!0}}catch(i){}return n}};c.elementCallback=u,t.addEventListener?t.addEventListener(n,u,i):t.attachEvent&&t.attachEvent("on"+n,u)}else c.objectCallback=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!o._isDisposed)return r.apply(l,e)};this._eventRecords.push(c)}},e.prototype.off=function(e,t,n,r){for(var i=0;i<this._eventRecords.length;i++){var o=this._eventRecords[i];if(!(e&&e!==o.target||t&&t!==o.eventName||n&&n!==o.callback||"boolean"==typeof r&&r!==o.options)){var a=o.target.__events__,s=a[o.eventName],l=s?s[this._id]:null;l&&(1!==l.length&&n?(s.count--,l.splice(l.indexOf(o),1)):(s.count-=l.length,delete a[o.eventName][this._id]),s.count||delete a[o.eventName]),o.elementCallback&&(o.target.removeEventListener?o.target.removeEventListener(o.eventName,o.elementCallback,o.options):o.target.detachEvent&&o.target.detachEvent("on"+o.eventName,o.elementCallback)),this._eventRecords.splice(i--,1)}}},e.prototype.raise=function(t,n,r){return e.raise(this._parent,t,n,r)},e.prototype.declare=function(e){var t=this._parent.__declaredEvents=this._parent.__declaredEvents||{};if("string"==typeof e)t[e]=!0;else for(var n=0;n<e.length;n++)t[e[n]]=!0},e._uniqueId=0,e}();function ZF(e,t,n){var r=e[n],i=t[n];(r||i)&&(e[n]=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return i&&(e=i.apply(this,t)),r!==i&&(e=r.apply(this,t)),e})}function JF(){return null}function QF(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.filter((function(e){return e})).join(" ").trim();return""===n?void 0:n}!function(e){function t(n,r){var i=e.call(this,n,r)||this;return function(e,t,n){for(var r=0,i=n.length;r<i;r++)ZF(e,t,n[r])}(i,t.prototype,["componentDidMount","shouldComponentUpdate","getSnapshotBeforeUpdate","render","componentDidUpdate","componentWillUnmount"]),i}C(t,e),t.prototype.componentDidUpdate=function(e,t){this._updateComponentRef(e,this.props)},t.prototype.componentDidMount=function(){this._setComponentRef(this.props.componentRef,this)},t.prototype.componentWillUnmount=function(){if(this._setComponentRef(this.props.componentRef,null),this.__disposables){for(var e=0,t=this._disposables.length;e<t;e++){var n=this.__disposables[e];n.dispose&&n.dispose()}this.__disposables=null}},Object.defineProperty(t.prototype,"className",{get:function(){if(!this.__className){var e=/function (.{1,})\(/.exec(this.constructor.toString());this.__className=e&&e.length>1?e[1]:""}return this.__className},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_disposables",{get:function(){return this.__disposables||(this.__disposables=[]),this.__disposables},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_async",{get:function(){return this.__async||(this.__async=new YF(this),this._disposables.push(this.__async)),this.__async},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_events",{get:function(){return this.__events||(this.__events=new XF(this),this._disposables.push(this.__events)),this.__events},enumerable:!1,configurable:!0}),t.prototype._resolveRef=function(e){var t=this;return this.__resolves||(this.__resolves={}),this.__resolves[e]||(this.__resolves[e]=function(n){return t[e]=n}),this.__resolves[e]},t.prototype._updateComponentRef=function(e,t){void 0===t&&(t={}),e&&t&&e.componentRef!==t.componentRef&&(this._setComponentRef(e.componentRef,null),this._setComponentRef(t.componentRef,this))},t.prototype._warnDeprecations=function(e){this.className,this.props},t.prototype._warnMutuallyExclusive=function(e){this.className,this.props},t.prototype._warnConditionallyRequiredProps=function(e,t,n){this.className,this.props},t.prototype._setComponentRef=function(e,t){!this._skipComponentRefResolution&&e&&("function"==typeof e&&e(t),"object"==typeof e&&(e.current=t))}}(l.Component);var eN,tN=function(){return!1},nN=function(){},rN=l.createContext({stylesheets:new Map,useAdoptedStylesheetEx:tN,useAdoptedStylesheet:tN,useShadowConfig:function(){return h},useMergeStylesShadowRootContext:nN,useHasMergeStylesShadowRootContext:tN,useMergeStylesRootStylesheets:function(){return new Map},useWindow:nN,useStyled:nN}),iN=function(){var e=l.useContext(rN);return{useAdoptedStylesheet:e.useAdoptedStylesheet,useAdoptedStylesheetEx:e.useAdoptedStylesheetEx,useShadowConfig:e.useShadowConfig,useMergeStylesShadowRootContext:e.useMergeStylesShadowRootContext,useHasMergeStylesShadowRootContext:e.useHasMergeStylesShadowRootContext,useMergeStylesRootStylesheets:e.useMergeStylesRootStylesheets,useWindow:e.useWindow,useStyled:e.useStyled}},oN=["theme","styles"];function aN(e,t,n,r,i){var o=(r=r||{scope:"",fields:void 0}).scope,a=r.fields,s=void 0===a?oN:a,c=l.forwardRef((function(r,i){var a=l.useRef(),c=sL(s,o),u=c.styles,d=(c.dir,S(c,["styles","dir"])),p=n?n(r):void 0,h=iN().useStyled,f=a.current&&a.current.__cachedInputs__||[],m=r.styles;if(!a.current||u!==f[1]||m!==f[2]){var g=function(e){return xn(e,t,u,m)};g.__cachedInputs__=[t,u,m],g.__noStyleOverride__=!u&&!m,a.current=g}return a.current.__shadowConfig__=h(o),l.createElement(e,A({ref:i},d,p,r,{styles:a.current}))}));c.displayName="Styled".concat(e.displayName||e.name);var u=i?l.memo(c):c;return c.displayName&&(u.displayName=c.displayName),u}!function(e){e[e.default=0]="default",e[e.image=1]="image",e[e.Default=1e5]="Default",e[e.Image=100001]="Image"}(eN||(eN={}));var sN,lN="isRTL";function cN(e){if(void 0===e&&(e={}),void 0!==e.rtl)return e.rtl;if(void 0===sN){var t=Yt(lN);null!==t&&function(e,t){void 0===t&&(t=!1);var n=Kt();n&&n.documentElement.setAttribute("dir",e?"rtl":"ltr"),t&&function(e,t){var n;try{null===(n=mt())||void 0===n||n.sessionStorage.setItem(e,t)}catch(e){}}(lN,e?"1":"0"),g(sN=e)}(sN="1"===t);var n=Kt();void 0===sN&&n&&g(sN="rtl"===(n.body&&n.body.getAttribute("dir")||n.documentElement.getAttribute("dir")))}return!!sN}var uN=0,dN=M.getInstance();dN&&dN.onReset&&dN.onReset((function(){return uN++}));var pN,hN,fN,mN="__retval__";function gN(e){void 0===e&&(e={});var t=new Map,n=0,r=0,i=uN;return function(o,a){var s;if(void 0===a&&(a={}),e.useStaticStyles&&"function"==typeof o&&o.__noStyleOverride__)return o(a);r++;var l=o?o.__shadowConfig__:void 0,c=l&&l.window?l.window:"__default__";t.has(c)||t.set(c,new Map);var u=t.get(c),d=a.theme,p=d&&void 0!==d.rtl?d.rtl:cN(),h=e.disableCaching;if(i!==uN&&(i=uN,t.set(c,new Map),u=t.get(c),n=0),e.disableCaching||(u=yN(t.get(c),o),u=yN(u,a)),!h&&u[mN]||(u[mN]=void 0===o?{}:kn(["function"==typeof o?o(a):o],{shadowConfig:o.__shadowConfig__,rtl:!!p,specificityMultiplier:e.useStaticStyles?5:void 0}),h||n++),n>(e.cacheSize||50)){var f=mt();(null===(s=null==f?void 0:f.FabricConfig)||void 0===s?void 0:s.enableClassNameCacheFullWarning)&&(console.warn("Styles are being recalculated too frequently. Cache miss rate is ".concat(n,"/").concat(r,".")),console.trace()),t.get(c).clear(),n=0,e.disableCaching=!0}return u[mN]}}function vN(e,t){return t=function(e){switch(e){case void 0:return"__undefined__";case null:return"__null__";default:return e}}(t),e.has(t)||e.set(t,new Map),e.get(t)}function yN(e,t){if("function"==typeof t)if(t.__cachedInputs__)for(var n=0,r=t.__cachedInputs__;n<r.length;n++)e=vN(e,r[n]);else e=vN(e,t);else if("object"==typeof t)for(var i in t)t.hasOwnProperty(i)&&(e=vN(e,t[i]));return e}!function(e){e[e.center=0]="center",e[e.contain=1]="contain",e[e.cover=2]="cover",e[e.none=3]="none",e[e.centerCover=4]="centerCover",e[e.centerContain=5]="centerContain"}(pN||(pN={})),function(e){e[e.landscape=0]="landscape",e[e.portrait=1]="portrait"}(hN||(hN={})),function(e){e[e.notLoaded=0]="notLoaded",e[e.loaded=1]="loaded",e[e.error=2]="error",e[e.errorLoaded=3]="errorLoaded"}(fN||(fN={}));var bN=ht()?l.useLayoutEffect:l.useEffect,CN=gN(),AN=/\.svg$/i,SN=l.forwardRef((function(e,t){var n=l.useRef(),r=l.useRef(),i=function(e,t){var n=e.onLoadingStateChange,r=e.onLoad,i=e.onError,o=e.src,a=l.useState(fN.notLoaded),s=a[0],c=a[1];bN((function(){c(fN.notLoaded)}),[o]),l.useEffect((function(){s===fN.notLoaded&&t.current&&(o&&t.current.naturalWidth>0&&t.current.naturalHeight>0||t.current.complete&&AN.test(o))&&c(fN.loaded)})),l.useEffect((function(){null==n||n(s)}),[s]);var u=l.useCallback((function(e){null==r||r(e),o&&c(fN.loaded)}),[o,r]),d=l.useCallback((function(e){null==i||i(e),c(fN.error)}),[i]);return[s,u,d]}(e,r),o=i[0],a=i[1],s=i[2],c=KL(e,qL,["width","height"]),u=e.src,d=e.alt,p=e.width,h=e.height,f=e.shouldFadeIn,m=void 0===f||f,g=e.shouldStartVisible,v=e.className,y=e.imageFit,b=e.role,C=e.maximizeFrame,S=e.styles,E=e.theme,w=e.loading,x=function(e,t,n,r){var i=l.useRef(t),o=l.useRef();return(void 0===o||i.current===fN.notLoaded&&t===fN.loaded)&&(o.current=function(e,t,n,r){var i=e.imageFit,o=e.width,a=e.height;if(void 0!==e.coverStyle)return e.coverStyle;if(t===fN.loaded&&(i===pN.cover||i===pN.contain||i===pN.centerContain||i===pN.centerCover)&&n.current&&r.current){var s;if(s="number"==typeof o&&"number"==typeof a&&i!==pN.centerContain&&i!==pN.centerCover?o/a:r.current.clientWidth/r.current.clientHeight,n.current.naturalWidth/n.current.naturalHeight>s)return hN.landscape}return hN.portrait}(e,t,n,r)),i.current=t,o.current}(e,o,r,n),I=CN(S,{theme:E,className:v,width:p,height:h,maximizeFrame:C,shouldFadeIn:m,shouldStartVisible:g,isLoaded:o===fN.loaded||o===fN.notLoaded&&e.shouldStartVisible,isLandscape:x===hN.landscape,isCenter:y===pN.center,isCenterContain:y===pN.centerContain,isCenterCover:y===pN.centerCover,isContain:y===pN.contain,isCover:y===pN.cover,isNone:y===pN.none,isError:o===fN.error,isNotImageFit:void 0===y});return l.createElement("div",{className:I.root,style:{width:p,height:h},ref:n},l.createElement("img",A({},c,{onLoad:a,onError:s,key:"fabricImage"+e.src||"",className:I.image,ref:yO(r,t),src:u,alt:d,role:b,loading:w})))}));SN.displayName="ImageBase";var EN={root:"ms-Image",rootMaximizeFrame:"ms-Image--maximizeFrame",image:"ms-Image-image",imageCenter:"ms-Image-image--center",imageContain:"ms-Image-image--contain",imageCover:"ms-Image-image--cover",imageCenterContain:"ms-Image-image--centerContain",imageCenterCover:"ms-Image-image--centerCover",imageNone:"ms-Image-image--none",imageLandscape:"ms-Image-image--landscape",imagePortrait:"ms-Image-image--portrait"},wN=aN(SN,(function(e){var t=e.className,n=e.width,r=e.height,i=e.maximizeFrame,o=e.isLoaded,a=e.shouldFadeIn,s=e.shouldStartVisible,l=e.isLandscape,c=e.isCenter,u=e.isContain,d=e.isCover,p=e.isCenterContain,h=e.isCenterCover,f=e.isNone,m=e.isError,g=e.isNotImageFit,v=e.theme,y=ut(EN,v),b={position:"absolute",left:"50% /* @noflip */",top:"50%",transform:"translate(-50%,-50%)"},C=mt(),A=void 0!==C&&void 0===C.navigator.msMaxTouchPoints,S=u&&l||d&&!l?{width:"100%",height:"auto"}:{width:"auto",height:"100%"};return{root:[y.root,v.fonts.medium,{overflow:"hidden"},i&&[y.rootMaximizeFrame,{height:"100%",width:"100%"}],o&&a&&!s&&Je.fadeIn400,(c||u||d||p||h)&&{position:"relative"},t],image:[y.image,{display:"block",opacity:0},o&&["is-loaded",{opacity:1}],c&&[y.imageCenter,b],u&&[y.imageContain,A&&{width:"100%",height:"100%",objectFit:"contain"},!A&&S,!A&&b],d&&[y.imageCover,A&&{width:"100%",height:"100%",objectFit:"cover"},!A&&S,!A&&b],p&&[y.imageCenterContain,l&&{maxWidth:"100%"},!l&&{maxHeight:"100%"},b],h&&[y.imageCenterCover,l&&{maxHeight:"100%"},!l&&{maxWidth:"100%"},b],f&&[y.imageNone,{width:"auto",height:"auto"}],g&&[!!n&&!r&&{height:"auto",width:"100%"},!n&&!!r&&{height:"100%",width:"auto"},!!n&&!!r&&{height:"100%",width:"100%"}],l&&y.imageLandscape,!l&&y.imagePortrait,!o&&"is-notLoaded",a&&"is-fadeIn",m&&"is-error"]}}),void 0,{scope:"Image"},!0);wN.displayName="Image";var xN=In({root:{display:"inline-block",textDecoration:"inherit"},placeholder:["ms-Icon-placeHolder",{width:"1em"}],image:["ms-Icon-imageContainer",{overflow:"hidden"}]}),IN="ms-Icon",kN=at((function(e){var t=function(e){var t=void 0,n=gn.__options;if(e=e?yn(e):"",e=gn.__remapped[e]||e)if(t=gn[e]){var r=t.subset;r&&r.fontFace&&(r.isRegistered||(jt(r.fontFace),r.isRegistered=!0),r.className||(r.className=te(r.style,{fontFamily:r.fontFace.fontFamily,fontWeight:r.fontFace.fontWeight||"normal",fontStyle:r.fontFace.fontStyle||"normal"})))}else!n.disableWarnings&&n.warnOnMissingIcons&&mn('The icon "'.concat(e,'" was used but not registered. See https://github.com/microsoft/fluentui/wiki/Using-icons for more information.'));return t}(e)||{subset:{},code:void 0},n=t.code,r=t.subset;return n?{children:n,iconClassName:r.className,fontFamily:r.fontFace&&r.fontFace.fontFamily,mergeImageProps:r.mergeImageProps}:null}),void 0,!0),TN=function(e){var t=e.iconName,n=e.className,r=e.style,i=void 0===r?{}:r,o=kN(t)||{},a=o.iconClassName,s=o.children,c=o.fontFamily,u=o.mergeImageProps,d=KL(e,IL),p=e["aria-label"]||e.title,h=e["aria-label"]||e["aria-labelledby"]||e.title?{role:u?void 0:"img"}:{"aria-hidden":!0},f=s;return u&&"object"==typeof s&&"object"==typeof s.props&&p&&(f=l.cloneElement(s,{alt:p})),l.createElement("i",A({"data-icon-name":t},h,d,u?{title:void 0,"aria-label":void 0}:{},{className:nL(IN,xN.root,a,!t&&xN.placeholder,n),style:A({fontFamily:c},i)}),f)},_N=(at((function(e,t,n){return TN({iconName:e,className:t,"aria-label":n})})),gN({cacheSize:100})),PN=function(e){function t(t){var n=e.call(this,t)||this;return n._onImageLoadingStateChange=function(e){n.props.imageProps&&n.props.imageProps.onLoadingStateChange&&n.props.imageProps.onLoadingStateChange(e),e===fN.error&&n.setState({imageLoadError:!0})},n.state={imageLoadError:!1},n}return C(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.className,r=e.styles,i=e.iconName,o=e.imageErrorAs,a=e.theme,s="string"==typeof i&&0===i.length,c=!!this.props.imageProps||this.props.iconType===eN.image||this.props.iconType===eN.Image,u=kN(i)||{},d=u.iconClassName,p=u.children,h=u.mergeImageProps,f=_N(r,{theme:a,className:n,iconClassName:d,isImage:c,isPlaceholder:s}),m=c?"span":"i",g=KL(this.props,IL,["aria-label"]),v=this.state.imageLoadError,y=A(A({},this.props.imageProps),{onLoadingStateChange:this._onImageLoadingStateChange}),b=v&&o||wN,C=this.props["aria-label"]||this.props.ariaLabel,S=y.alt||C||this.props.title,E=S||this.props["aria-labelledby"]||y["aria-label"]||y["aria-labelledby"]?{role:c||h?void 0:"img","aria-label":c||h?void 0:S}:{"aria-hidden":!0},w=p;return h&&p&&"object"==typeof p&&S&&(w=l.cloneElement(p,{alt:S})),l.createElement(m,A({"data-icon-name":i},E,g,h?{title:void 0,"aria-label":void 0}:{},{className:f.root}),c?l.createElement(b,A({},y)):t||w)},t}(l.Component),DN=aN(PN,(function(e){var t=e.className,n=e.iconClassName,r=e.isPlaceholder,i=e.isImage,o=e.styles;return{root:[r&&xN.placeholder,xN.root,i&&xN.image,n,t,o&&o.root,o&&o.imageContainer]}}),void 0,{scope:"Icon"},!0);DN.displayName="Icon";var BN,RN=function(e){var t=e.className,n=e.imageProps,r=KL(e,IL,["aria-label","aria-labelledby","title","aria-describedby"]),i=n.alt||e["aria-label"],o=i||e["aria-labelledby"]||e.title||n["aria-label"]||n["aria-labelledby"]||n.title,a={"aria-labelledby":e["aria-labelledby"],"aria-describedby":e["aria-describedby"],title:e.title},s=o?{}:{"aria-hidden":!0};return l.createElement("div",A({},s,r,{className:nL(IN,xN.root,xN.image,t)}),l.createElement(wN,A({},a,n,{alt:o?i:""})))},MN=st((function(e){return st((function(t){var n=st((function(e){return function(n){return t(n,e)}}));return function(r,i){return e(r,i?n(i):t)}}))}));!function(e){e[e.Normal=0]="Normal",e[e.Divider=1]="Divider",e[e.Header=2]="Header",e[e.Section=3]="Section"}(BN||(BN={}));var LN;function ON(e,t,n){void 0===n&&(n=!0);var r=!1;if(e&&t)if(n)if(e===t)r=!0;else for(r=!1;t;){var i=HF(t);if(i===e){r=!0;break}t=i}else e.contains&&(r=e.contains(t));return r}function FN(e,t,n){var r=HN(e,e,!0,!1,!1,!0,void 0,void 0,t,n);return!!r&&(function(e){if(e){var t=mt(e);t&&(void 0!==GN&&t.cancelAnimationFrame(GN),GN=t.requestAnimationFrame((function(){e&&e.focus(),GN=void 0})))}}(r),!0)}function NN(e,t,n,r,i,o,a,s,l){var c;if(!t||!a&&t===e)return null;var u=zN(t);if(i&&u&&(o||!jN(t)&&!WN(t))){var d=NN(e,t.lastElementChild||l&&(null===(c=t.shadowRoot)||void 0===c?void 0:c.lastElementChild),!0,!0,!0,o,a,s,l);if(d){if(s&&UN(d,!0,l)||!s)return d;var p=NN(e,d.previousElementSibling,!0,!0,!0,o,a,s,l);if(p)return p;for(var h=d.parentElement;h&&h!==t;){var f=NN(e,h.previousElementSibling,!0,!0,!0,o,a,s,l);if(f)return f;h=h.parentElement}}}return n&&u&&UN(t,s,l)?t:NN(e,t.previousElementSibling,!0,!0,!0,o,a,s,l)||(r?null:NN(e,t.parentElement,!0,!1,!1,o,a,s,l))}function HN(e,t,n,r,i,o,a,s,l,c){var u;if(!t||t===e&&i&&!a)return null;var d=(l?VN:zN)(t);if(n&&d&&UN(t,s,c))return t;if(!i&&d&&(o||!jN(t)&&!WN(t))){var p=HN(e,t.firstElementChild||c&&(null===(u=t.shadowRoot)||void 0===u?void 0:u.firstElementChild),!0,!0,!1,o,a,s,l,c);if(p)return p}return t===e?null:HN(e,t.nextElementSibling,!0,!0,!1,o,a,s,l,c)||(r?null:HN(e,t.parentElement,!1,!1,!0,o,a,s,l,c))}function zN(e){if(!e||!e.getAttribute)return!1;var t=e.getAttribute("data-is-visible");return null!=t?"true"===t:0!==e.offsetHeight||null!==e.offsetParent||!0===e.isVisible}function VN(e,t){var n=null!=t?t:mt();return!!e&&zN(e)&&!e.hidden&&"hidden"!==n.getComputedStyle(e).visibility}function UN(e,t,n){if(void 0===n&&(n=!0),!e||e.disabled)return!1;var r=0,i=null;e&&e.getAttribute&&(i=e.getAttribute("tabIndex"))&&(r=parseInt(i,10));var o=e.getAttribute?e.getAttribute("data-is-focusable"):null,a=null!==i&&r>=0,s=!(!n||!e.shadowRoot||!e.shadowRoot.delegatesFocus),l=!!e&&"false"!==o&&("A"===e.tagName||"BUTTON"===e.tagName||"INPUT"===e.tagName||"TEXTAREA"===e.tagName||"SELECT"===e.tagName||"true"===o||a||s);return t?-1!==r&&l:l}function jN(e){return!!(e&&e.getAttribute&&e.getAttribute("data-focuszone-id"))}function WN(e){return!(!e||!e.getAttribute||"true"!==e.getAttribute("data-is-sub-focuszone"))}function $N(e,t,n){return"true"!==function(e,t,n){var r=zF(e,(function(e){return e.hasAttribute(t)}),n);return r&&r.getAttribute(t)}(e,t,null!=n?n:Kt())}!function(e){e[e.vertical=0]="vertical",e[e.horizontal=1]="horizontal",e[e.bidirectional=2]="bidirectional",e[e.domOrder=3]="domOrder"}(LN||(LN={}));var qN,GN=void 0;te({overflow:"hidden !important"});var KN="data-is-scrollable";var YN,XN=l.createContext(void 0),ZN="data-is-focusable",JN="data-focuszone-id",QN="tabindex",eH="data-no-vertical-wrap",tH="data-no-horizontal-wrap",nH=999999999,rH=-999999999;function iH(e,t){var n;"function"==typeof MouseEvent?n=new MouseEvent("click",{ctrlKey:null==t?void 0:t.ctrlKey,metaKey:null==t?void 0:t.metaKey,shiftKey:null==t?void 0:t.shiftKey,altKey:null==t?void 0:t.altKey,bubbles:null==t?void 0:t.bubbles,cancelable:null==t?void 0:t.cancelable}):(n=document.createEvent("MouseEvents")).initMouseEvent("click",!!t&&t.bubbles,!!t&&t.cancelable,window,0,0,0,0,0,!!t&&t.ctrlKey,!!t&&t.altKey,!!t&&t.shiftKey,!!t&&t.metaKey,0,null),e.dispatchEvent(n)}var oH,aH={},sH=new Set,lH=["text","number","password","email","tel","url","search","textarea"],cH=!1,uH=function(e){function t(n){var r,i,o,a,s=e.call(this,n)||this;s._root=l.createRef(),s._mergedRef=NF(),s._onFocus=function(e){if(!s._portalContainsElement(e.target)){var t,n=s.props,r=n.onActiveElementChanged,i=n.doNotAllowFocusEventToPropagate,o=n.stopFocusPropagation,a=n.onFocusNotification,l=n.onFocus,c=n.shouldFocusInnerElementWhenReceivedFocus,u=n.defaultTabbableElement,d=s._isImmediateDescendantOfZone(e.target);if(d)t=e.target;else for(var p=e.target;p&&p!==s._root.current;){if(UN(p,void 0,s._inShadowRoot)&&s._isImmediateDescendantOfZone(p)){t=p;break}p=HF(p,cH)}if(c&&e.target===s._root.current){var h=u&&"function"==typeof u&&s._root.current&&u(s._root.current);h&&UN(h,void 0,s._inShadowRoot)?(t=h,h.focus()):(s.focus(!0),s._activeElement&&(t=null))}var f=!s._activeElement;t&&t!==s._activeElement&&((d||f)&&s._setFocusAlignment(t,!0,!0),s._activeElement=t,f&&s._updateTabIndexes()),r&&r(s._activeElement,e),(o||i)&&e.stopPropagation(),l?l(e):a&&a()}},s._onBlur=function(){s._setParkedFocus(!1)},s._onMouseDown=function(e){if(!s._portalContainsElement(e.target)&&!s.props.disabled){for(var t=e.target,n=[];t&&t!==s._root.current;)n.push(t),t=HF(t,cH);for(;n.length&&((t=n.pop())&&UN(t,void 0,s._inShadowRoot)&&s._setActiveElement(t,!0),!jN(t)););}},s._onKeyDown=function(e,t){if(!s._portalContainsElement(e.target)){var n=s.props,r=n.direction,i=n.disabled,o=n.isInnerZoneKeystroke,a=n.pagingSupportDisabled,l=n.shouldEnterInnerZone;if(!(i||(s.props.onKeyDown&&s.props.onKeyDown(e),e.isDefaultPrevented()||s._getDocument().activeElement===s._root.current&&s._isInnerZone))){if((l&&l(e)||o&&o(e))&&s._isImmediateDescendantOfZone(e.target)){var c=s._getFirstInnerZone();if(c){if(!c.focus(!0))return}else{if(!WN(e.target))return;if(!s.focusElement(HN(e.target,e.target.firstChild,!0)))return}}else{if(e.altKey)return;switch(e.which){case 32:if(s._shouldRaiseClicksOnSpace&&s._tryInvokeClickForFocusable(e.target,e))break;return;case 37:if(r!==LN.vertical&&(s._preventDefaultWhenHandled(e),s._moveFocusLeft(t)))break;return;case 39:if(r!==LN.vertical&&(s._preventDefaultWhenHandled(e),s._moveFocusRight(t)))break;return;case 38:if(r!==LN.horizontal&&(s._preventDefaultWhenHandled(e),s._moveFocusUp()))break;return;case tO:if(r!==LN.horizontal&&(s._preventDefaultWhenHandled(e),s._moveFocusDown()))break;return;case 34:if(!a&&s._moveFocusPaging(!0))break;return;case 33:if(!a&&s._moveFocusPaging(!1))break;return;case 9:if(s.props.allowTabKey||1===s.props.handleTabKey||2===s.props.handleTabKey&&s._isElementInput(e.target)){var u=!1;if(s._processingTabKey=!0,u=r!==LN.vertical&&s._shouldWrapFocus(s._activeElement,tH)?(cN(t)?!e.shiftKey:e.shiftKey)?s._moveFocusLeft(t):s._moveFocusRight(t):e.shiftKey?s._moveFocusUp():s._moveFocusDown(),s._processingTabKey=!1,u)break;s.props.shouldResetActiveElementWhenTabFromZone&&(s._activeElement=null)}return;case 36:if(s._isContentEditableElement(e.target)||s._isElementInput(e.target)&&!s._shouldInputLoseFocus(e.target,!1))return!1;var d=s._root.current&&s._root.current.firstChild;if(s._root.current&&d&&s.focusElement(HN(s._root.current,d,!0)))break;return;case 35:if(s._isContentEditableElement(e.target)||s._isElementInput(e.target)&&!s._shouldInputLoseFocus(e.target,!0))return!1;var p=s._root.current&&s._root.current.lastChild;if(s._root.current&&s.focusElement(NN(s._root.current,p,!0,!0,!0)))break;return;case eO:if(s._shouldRaiseClicksOnEnter&&s._tryInvokeClickForFocusable(e.target,e))break;return;default:return}}e.preventDefault(),e.stopPropagation()}}},s._getHorizontalDistanceFromCenter=function(e,t,n){var r=s._focusAlignment.left||s._focusAlignment.x||0,i=Math.floor(n.top),o=Math.floor(t.bottom),a=Math.floor(n.bottom),l=Math.floor(t.top);return e&&i>o||!e&&a<l?r>=n.left&&r<=n.left+n.width?0:Math.abs(n.left+n.width/2-r):s._shouldWrapFocus(s._activeElement,eH)?nH:rH},WF(s),s._id=hL("FocusZone"),s._focusAlignment={left:0,top:0},s._processingTabKey=!1;var c=null===(i=null!==(r=n.shouldRaiseClicks)&&void 0!==r?r:t.defaultProps.shouldRaiseClicks)||void 0===i||i;return s._shouldRaiseClicksOnEnter=null!==(o=n.shouldRaiseClicksOnEnter)&&void 0!==o?o:c,s._shouldRaiseClicksOnSpace=null!==(a=n.shouldRaiseClicksOnSpace)&&void 0!==a?a:c,s}return C(t,e),t.getOuterZones=function(){return sH.size},t._onKeyDownCapture=function(e){9===e.which&&sH.forEach((function(e){return e._updateTabIndexes()}))},t.prototype.componentDidMount=function(){var e,n=this._root.current;if(this._inShadowRoot=!!(null===(e=this.context)||void 0===e?void 0:e.shadowRoot),aH[this._id]=this,n){for(var r=HF(n,cH);r&&r!==this._getDocument().body&&1===r.nodeType;){if(jN(r)){this._isInnerZone=!0;break}r=HF(r,cH)}this._isInnerZone||(sH.add(this),this._root.current&&this._root.current.addEventListener("keydown",t._onKeyDownCapture,!0)),this._root.current&&this._root.current.addEventListener("blur",this._onBlur,!0),this._updateTabIndexes(),this.props.defaultTabbableElement&&"string"==typeof this.props.defaultTabbableElement?this._activeElement=this._getDocument().querySelector(this.props.defaultTabbableElement):this.props.defaultActiveElement&&(this._activeElement=this._getDocument().querySelector(this.props.defaultActiveElement)),this.props.shouldFocusOnMount&&this.focus()}},t.prototype.componentDidUpdate=function(){var e,t=this._root.current,n=this._getDocument();if(this._inShadowRoot=!!(null===(e=this.context)||void 0===e?void 0:e.shadowRoot),(this._activeElement&&!ON(this._root.current,this._activeElement,cH)||this._defaultFocusElement&&!ON(this._root.current,this._defaultFocusElement,cH))&&(this._activeElement=null,this._defaultFocusElement=null,this._updateTabIndexes()),!this.props.preventFocusRestoration&&n&&this._lastIndexPath&&(n.activeElement===n.body||null===n.activeElement||n.activeElement===t)){var r=function(e,t){for(var n=e,r=0,i=t;r<i.length;r++){var o=i[r],a=n.children[Math.min(o,n.children.length-1)];if(!a)break;n=a}return UN(n)&&zN(n)?n:HN(e,n,!0)||NN(e,n)}(t,this._lastIndexPath);r?(this._setActiveElement(r,!0),r.focus(),this._setParkedFocus(!1)):this._setParkedFocus(!0)}},t.prototype.componentWillUnmount=function(){delete aH[this._id],this._isInnerZone||(sH.delete(this),this._root.current&&this._root.current.removeEventListener("keydown",t._onKeyDownCapture,!0)),this._root.current&&this._root.current.removeEventListener("blur",this._onBlur,!0),this._activeElement=null,this._defaultFocusElement=null},t.prototype.render=function(){var e=this,t=this.props,n=t.as,r=t.elementType,i=t.rootProps,o=t.ariaDescribedBy,a=t.ariaLabelledBy,s=t.className,c=KL(this.props,IL),u=n||r||"div";this._evaluateFocusBeforeRender();var d,p=(void 0===d&&(d=!1),!0===d&&(dn=un({},d)),dn);return l.createElement(u,A({"aria-labelledby":a,"aria-describedby":o},c,i,{className:nL((YN||(YN=te({selectors:{":focus":{outline:"none"}}},"ms-FocusZone")),YN),s),ref:this._mergedRef(this.props.elementRef,this._root),"data-focuszone-id":this._id,onKeyDown:function(t){return e._onKeyDown(t,p)},onFocus:this._onFocus,onMouseDownCapture:this._onMouseDown}),this.props.children)},t.prototype.focus=function(e,t){if(void 0===e&&(e=!1),void 0===t&&(t=!1),this._root.current){if(!e&&"true"===this._root.current.getAttribute(ZN)&&this._isInnerZone){var n=this._getOwnerZone(this._root.current);if(n!==this._root.current){var r=aH[n.getAttribute(JN)];return!!r&&r.focusElement(this._root.current)}return!1}if(!e&&this._activeElement&&ON(this._root.current,this._activeElement)&&UN(this._activeElement,void 0,this._inShadowRoot)&&(!t||VN(this._activeElement)))return this._activeElement.focus(),!0;var i=this._root.current.firstChild;return this.focusElement(HN(this._root.current,i,!0,void 0,void 0,void 0,void 0,void 0,t))}return!1},t.prototype.focusLast=function(){if(this._root.current){var e=this._root.current&&this._root.current.lastChild;return this.focusElement(NN(this._root.current,e,!0,!0,!0))}return!1},t.prototype.focusElement=function(e,t){var n=this.props,r=n.onBeforeFocus,i=n.shouldReceiveFocus;return!(i&&!i(e)||r&&!r(e)||!e||(this._setActiveElement(e,t),this._activeElement&&this._activeElement.focus(),0))},t.prototype.setFocusAlignment=function(e){this._focusAlignment=e},Object.defineProperty(t.prototype,"defaultFocusElement",{get:function(){return this._defaultFocusElement},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"activeElement",{get:function(){return this._activeElement},enumerable:!1,configurable:!0}),t.prototype._evaluateFocusBeforeRender=function(){var e=this._root.current,t=this._getDocument();if(t){var n=t.activeElement;if(n!==e){var r=ON(e,n,!1);this._lastIndexPath=r?function(e,t){for(var n=[];t&&e&&t!==e;){var r=HF(t,!0);if(null===r)return[];n.unshift(Array.prototype.indexOf.call(r.children,t)),t=r}return n}(e,n):void 0}}},t.prototype._setParkedFocus=function(e){var t=this._root.current;t&&this._isParked!==e&&(this._isParked=e,e?(this.props.allowFocusRoot||(this._parkedTabIndex=t.getAttribute("tabindex"),t.setAttribute("tabindex","-1")),t.focus()):this.props.allowFocusRoot||(this._parkedTabIndex?(t.setAttribute("tabindex",this._parkedTabIndex),this._parkedTabIndex=void 0):t.removeAttribute("tabindex")))},t.prototype._setActiveElement=function(e,t){var n=this._activeElement;this._activeElement=e,n&&(jN(n)&&this._updateTabIndexes(n),n.tabIndex=-1),this._activeElement&&(this._focusAlignment&&!t||this._setFocusAlignment(e,!0,!0),this._activeElement.tabIndex=0)},t.prototype._preventDefaultWhenHandled=function(e){this.props.preventDefaultWhenHandled&&e.preventDefault()},t.prototype._tryInvokeClickForFocusable=function(e,t){var n=e;if(n===this._root.current)return!1;do{if("BUTTON"===n.tagName||"A"===n.tagName||"INPUT"===n.tagName||"TEXTAREA"===n.tagName||"SUMMARY"===n.tagName)return!1;if(this._isImmediateDescendantOfZone(n)&&"true"===n.getAttribute(ZN)&&"true"!==n.getAttribute("data-disable-click-on-enter"))return iH(n,t),!0;n=HF(n,cH)}while(n!==this._root.current);return!1},t.prototype._getFirstInnerZone=function(e){if(!(e=e||this._activeElement||this._root.current))return null;if(jN(e))return aH[e.getAttribute(JN)];for(var t=e.firstElementChild;t;){if(jN(t))return aH[t.getAttribute(JN)];var n=this._getFirstInnerZone(t);if(n)return n;t=t.nextElementSibling}return null},t.prototype._moveFocus=function(e,t,n,r){void 0===r&&(r=!0);var i=this._activeElement,o=-1,a=void 0,s=!1,l=this.props.direction===LN.bidirectional;if(!i||!this._root.current)return!1;if(this._isElementInput(i)&&!this._shouldInputLoseFocus(i,e))return!1;var c=l?i.getBoundingClientRect():null;do{if(i=e?HN(this._root.current,i):NN(this._root.current,i),!l){a=i;break}if(i){var u=t(c,i.getBoundingClientRect());if(-1===u&&-1===o){a=i;break}if(u>-1&&(-1===o||u<o)&&(o=u,a=i),o>=0&&u<0)break}}while(i);if(a&&a!==this._activeElement)s=!0,this.focusElement(a);else if(this.props.isCircularNavigation&&r)return e?this.focusElement(HN(this._root.current,this._root.current.firstElementChild,!0)):this.focusElement(NN(this._root.current,this._root.current.lastElementChild,!0,!0,!0));return s},t.prototype._moveFocusDown=function(){var e=this,t=-1,n=this._focusAlignment.left||this._focusAlignment.x||0;return!!this._moveFocus(!0,(function(r,i){var o=-1,a=Math.floor(i.top),s=Math.floor(r.bottom);return a<s?e._shouldWrapFocus(e._activeElement,eH)?nH:rH:((-1===t&&a>=s||a===t)&&(t=a,o=n>=i.left&&n<=i.left+i.width?0:Math.abs(i.left+i.width/2-n)),o)}))&&(this._setFocusAlignment(this._activeElement,!1,!0),!0)},t.prototype._moveFocusUp=function(){var e=this,t=-1,n=this._focusAlignment.left||this._focusAlignment.x||0;return!!this._moveFocus(!1,(function(r,i){var o=-1,a=Math.floor(i.bottom),s=Math.floor(i.top),l=Math.floor(r.top);return a>l?e._shouldWrapFocus(e._activeElement,eH)?nH:rH:((-1===t&&a<=l||s===t)&&(t=s,o=n>=i.left&&n<=i.left+i.width?0:Math.abs(i.left+i.width/2-n)),o)}))&&(this._setFocusAlignment(this._activeElement,!1,!0),!0)},t.prototype._moveFocusLeft=function(e){var t=this,n=this._shouldWrapFocus(this._activeElement,tH);return!!this._moveFocus(cN(e),(function(r,i){var o=-1;return(cN(e)?parseFloat(i.top.toFixed(3))<parseFloat(r.bottom.toFixed(3)):parseFloat(i.bottom.toFixed(3))>parseFloat(r.top.toFixed(3)))&&i.right<=r.right&&t.props.direction!==LN.vertical?o=r.right-i.right:n||(o=rH),o}),void 0,n)&&(this._setFocusAlignment(this._activeElement,!0,!1),!0)},t.prototype._moveFocusRight=function(e){var t=this,n=this._shouldWrapFocus(this._activeElement,tH);return!!this._moveFocus(!cN(e),(function(r,i){var o=-1;return(cN(e)?parseFloat(i.bottom.toFixed(3))>parseFloat(r.top.toFixed(3)):parseFloat(i.top.toFixed(3))<parseFloat(r.bottom.toFixed(3)))&&i.left>=r.left&&t.props.direction!==LN.vertical?o=i.left-r.left:n||(o=rH),o}),void 0,n)&&(this._setFocusAlignment(this._activeElement,!0,!1),!0)},t.prototype._moveFocusPaging=function(e,t){void 0===t&&(t=!0);var n=this._activeElement;if(!n||!this._root.current)return!1;if(this._isElementInput(n)&&!this._shouldInputLoseFocus(n,e))return!1;var r=function(e){for(var t=e,n=Kt(e);t&&t!==n.body;){if("true"===t.getAttribute(KN))return t;t=t.parentElement}for(t=e;t&&t!==n.body;){if("false"!==t.getAttribute(KN)){var r=getComputedStyle(t),i=r?r.getPropertyValue("overflow-y"):"";if(i&&("scroll"===i||"auto"===i))return t}t=t.parentElement}return t&&t!==n.body||(t=mt(e)),t}(n);if(!r)return!1;var i=-1,o=void 0,a=-1,s=-1,l=r.clientHeight,c=n.getBoundingClientRect();do{if(n=e?HN(this._root.current,n):NN(this._root.current,n)){var u=n.getBoundingClientRect(),d=Math.floor(u.top),p=Math.floor(c.bottom),h=Math.floor(u.bottom),f=Math.floor(c.top),m=this._getHorizontalDistanceFromCenter(e,c,u);if(e&&d>p+l||!e&&h<f-l)break;m>-1&&(e&&d>a?(a=d,i=m,o=n):!e&&h<s?(s=h,i=m,o=n):(-1===i||m<=i)&&(i=m,o=n))}}while(n);var g=!1;if(o&&o!==this._activeElement)g=!0,this.focusElement(o),this._setFocusAlignment(o,!1,!0);else if(this.props.isCircularNavigation&&t)return e?this.focusElement(HN(this._root.current,this._root.current.firstElementChild,!0)):this.focusElement(NN(this._root.current,this._root.current.lastElementChild,!0,!0,!0));return g},t.prototype._setFocusAlignment=function(e,t,n){if(this.props.direction===LN.bidirectional&&(!this._focusAlignment||t||n)){var r=e.getBoundingClientRect(),i=r.left+r.width/2,o=r.top+r.height/2;this._focusAlignment||(this._focusAlignment={left:i,top:o}),t&&(this._focusAlignment.left=i),n&&(this._focusAlignment.top=o)}},t.prototype._isImmediateDescendantOfZone=function(e){return this._getOwnerZone(e)===this._root.current},t.prototype._getOwnerZone=function(e){for(var t=HF(e,cH);t&&t!==this._root.current&&t!==this._getDocument().body;){if(jN(t))return t;t=HF(t,cH)}return t},t.prototype._updateTabIndexes=function(e){!this._activeElement&&this.props.defaultTabbableElement&&"function"==typeof this.props.defaultTabbableElement&&(this._activeElement=this.props.defaultTabbableElement(this._root.current)),!e&&this._root.current&&(this._defaultFocusElement=null,e=this._root.current,this._activeElement&&!ON(e,this._activeElement)&&(this._activeElement=null)),this._activeElement&&!UN(this._activeElement,void 0,this._inShadowRoot)&&(this._activeElement=null);for(var t=e&&e.children,n=0;t&&n<t.length;n++){var r=t[n];jN(r)?"true"===r.getAttribute(ZN)&&(this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==r?"-1"!==r.getAttribute(QN)&&r.setAttribute(QN,"-1"):(this._defaultFocusElement=r,"0"!==r.getAttribute(QN)&&r.setAttribute(QN,"0"))):(r.getAttribute&&"false"===r.getAttribute(ZN)&&r.setAttribute(QN,"-1"),UN(r,void 0,this._inShadowRoot)?this.props.disabled?r.setAttribute(QN,"-1"):this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==r?"-1"!==r.getAttribute(QN)&&r.setAttribute(QN,"-1"):(this._defaultFocusElement=r,"0"!==r.getAttribute(QN)&&r.setAttribute(QN,"0")):"svg"===r.tagName&&"false"!==r.getAttribute("focusable")&&r.setAttribute("focusable","false")),this._updateTabIndexes(r)}},t.prototype._isContentEditableElement=function(e){return e&&"true"===e.getAttribute("contenteditable")},t.prototype._isElementInput=function(e){return!(!e||!e.tagName||"input"!==e.tagName.toLowerCase()&&"textarea"!==e.tagName.toLowerCase())},t.prototype._shouldInputLoseFocus=function(e,t){if(!this._processingTabKey&&e&&e.type&&lH.indexOf(e.type.toLowerCase())>-1){var n=e.selectionStart,r=n!==e.selectionEnd,i=e.value,o=e.readOnly;if(r||n>0&&!t&&!o||n!==i.length&&t&&!o||this.props.handleTabKey&&(!this.props.shouldInputLoseFocusOnArrowKey||!this.props.shouldInputLoseFocusOnArrowKey(e)))return!1}return!0},t.prototype._shouldWrapFocus=function(e,t){return!this.props.checkForNoWrap||$N(e,t)},t.prototype._portalContainsElement=function(e){return e&&!!this._root.current&&UF(e,this._root.current)},t.prototype._getDocument=function(){return Kt(this._root.current)},t.contextType=XN,t.defaultProps={isCircularNavigation:!1,direction:LN.bidirectional,shouldRaiseClicks:!0,"data-tabster":'{"uncontrolled": {}}'},t}(l.Component);function dH(e){var t;if(void 0===oH||e){var n=mt(),r=null===(t=null==n?void 0:n.navigator)||void 0===t?void 0:t.userAgent;oH=!!r&&-1!==r.indexOf("Macintosh")}return!!oH}var pH,hH,fH=function(){return!!(window&&window.navigator&&window.navigator.userAgent)&&/iPad|iPhone|iPod/i.test(window.navigator.userAgent)},mH=st((function(e){var t=e;return st((function(n){if(e===n)throw new Error("Attempted to compose a component with itself.");var r=n,i=st((function(e){return function(t){return l.createElement(r,A({},t,{defaultRender:e}))}}));return function(e){var n=e.defaultRender;return l.createElement(t,A({},e,{defaultRender:n?i(n):r}))}}))}));function gH(e,t){return mH(e)(t)}function vH(e){return e.canCheck?!(!e.isChecked&&!e.checked):"boolean"==typeof e.isChecked?e.isChecked:"boolean"==typeof e.checked?e.checked:null}function yH(e){return!(!e.subMenuProps&&!e.items)}function bH(e){return!(!e.isDisabled&&!e.disabled)}function CH(e){return null!==vH(e)?"menuitemcheckbox":"menuitem"}function AH(e,t,n,r){return e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n,r)}}!function(e){e[e.top=1]="top",e[e.bottom=-1]="bottom",e[e.left=2]="left",e[e.right=-2]="right"}(pH||(pH={})),function(e){e[e.top=0]="top",e[e.bottom=1]="bottom",e[e.start=2]="start",e[e.end=3]="end"}(hH||(hH={}));var SH,EH=function(){function e(e,t,n,r){void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=0),void 0===r&&(r=0),this.top=n,this.bottom=r,this.left=e,this.right=t}return Object.defineProperty(e.prototype,"width",{get:function(){return this.right-this.left},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.bottom-this.top},enumerable:!1,configurable:!0}),e.prototype.equals=function(e){return parseFloat(this.top.toFixed(4))===parseFloat(e.top.toFixed(4))&&parseFloat(this.bottom.toFixed(4))===parseFloat(e.bottom.toFixed(4))&&parseFloat(this.left.toFixed(4))===parseFloat(e.left.toFixed(4))&&parseFloat(this.right.toFixed(4))===parseFloat(e.right.toFixed(4))},e}();function wH(e,t,n){return{targetEdge:e,alignmentEdge:t,isAuto:n}}var xH=((SH={})[0]=wH(pH.top,pH.left),SH[1]=wH(pH.top),SH[2]=wH(pH.top,pH.right),SH[3]=wH(pH.top,void 0,!0),SH[4]=wH(pH.bottom,pH.left),SH[5]=wH(pH.bottom),SH[6]=wH(pH.bottom,pH.right),SH[7]=wH(pH.bottom,void 0,!0),SH[8]=wH(pH.left,pH.top),SH[9]=wH(pH.left),SH[10]=wH(pH.left,pH.bottom),SH[11]=wH(pH.right,pH.top),SH[12]=wH(pH.right),SH[13]=wH(pH.right,pH.bottom),SH);function IH(e,t){return!(e.top<t.top||e.bottom>t.bottom||e.left<t.left||e.right>t.right)}function kH(e,t){var n=[];return e.top<t.top&&n.push(pH.top),e.bottom>t.bottom&&n.push(pH.bottom),e.left<t.left&&n.push(pH.left),e.right>t.right&&n.push(pH.right),n}function TH(e,t){return e[pH[t]]}function _H(e,t,n){return e[pH[t]]=n,e}function PH(e,t){var n=UH(t);return(TH(e,n.positiveEdge)+TH(e,n.negativeEdge))/2}function DH(e,t){return e>0?t:-1*t}function BH(e,t){return DH(e,TH(t,e))}function RH(e,t,n){return DH(n,TH(e,n)-TH(t,n))}function MH(e,t,n,r){void 0===r&&(r=!0);var i=TH(e,t)-n,o=_H(e,t,n);return r&&(o=_H(e,-1*t,TH(e,-1*t)-i)),o}function LH(e,t,n,r){return void 0===r&&(r=0),MH(e,n,TH(t,n)+DH(n,r))}function OH(e,t,n){return BH(n,e)>BH(n,t)}function FH(e,t){for(var n=0,r=0,i=kH(e,t);r<i.length;r++){var o=i[r];n+=Math.pow(RH(e,t,o),2)}return n}function NH(e,t,n,r){return void 0===r&&(r=200),(n===pH.bottom||n===pH.top)&&RH(e,t,n)>=r}function HH(e,t,n,r){for(var i=0,o=e;i<o.length;i++){var a=o[i],s=void 0;r&&r===-1*a?(s=MH(t.elementRectangle,a,TH(n,a),!1),t.forcedInBounds=!0):OH(s=LH(t.elementRectangle,n,a),n,-1*a)||(s=MH(s,-1*a,TH(n,-1*a),!1),t.forcedInBounds=!0),t.elementRectangle=s}return t}function zH(e,t,n){var r=UH(t).positiveEdge;return MH(e,r,n-(PH(e,t)-TH(e,r)))}function VH(e,t,n,r,i){void 0===r&&(r=0);var o=new EH(e.left,e.right,e.top,e.bottom),a=n.alignmentEdge,s=n.targetEdge,l=i?s:-1*s;return o=i?LH(o,t,s,r):function(e,t,n,r){void 0===r&&(r=0);var i=DH(-1*n,r);return MH(e,-1*n,TH(t,n)+i)}(o,t,s,r),o=a?LH(o,t,a):zH(o,l,PH(t,s))}function UH(e){return e===pH.top||e===pH.bottom?{positiveEdge:pH.left,negativeEdge:pH.right}:{positiveEdge:pH.top,negativeEdge:pH.bottom}}function jH(e,t,n){return n&&Math.abs(RH(e,n,t))>Math.abs(RH(e,n,-1*t))?-1*t:t}function WH(e,t,n,r,i,o,a,s){var l,c={},u=GH(t),d=o?n:-1*n,p=i||UH(n).positiveEdge;return a&&!function(e,t,n){return void 0!==n&&TH(e,t)===TH(n,t)}(e,(l=p,-1*l),r)||(p=jH(e,p,r)),c[pH[d]]=RH(e,u,d),c[pH[p]]=RH(e,u,p),s&&(c[pH[-1*d]]=RH(e,u,-1*d),c[pH[-1*p]]=RH(e,u,-1*p)),c}function $H(e,t,n){var r=PH(t,e),i=PH(n,e),o=UH(e),a=o.positiveEdge,s=o.negativeEdge;return r<=i?a:s}function qH(e,t,n,r,i,o,a,s,l){void 0===o&&(o=!1);var c=VH(e,t,r,i,l);return IH(c,n)?{elementRectangle:c,targetEdge:r.targetEdge,alignmentEdge:r.alignmentEdge}:function(e,t,n,r,i,o,a,s,l){void 0===i&&(i=!1),void 0===a&&(a=0);var c=r.alignmentEdge,u=r.alignTargetEdge,d={elementRectangle:e,targetEdge:r.targetEdge,alignmentEdge:c};s||l||(d=function(e,t,n,r,i,o,a){void 0===i&&(i=!1),void 0===a&&(a=0);var s=[pH.left,pH.right,pH.bottom,pH.top];cN()&&(s[0]*=-1,s[1]*=-1);for(var l,c=e,u=r.targetEdge,d=r.alignmentEdge,p=u,h=d,f=0;f<4;f++){if(OH(c,n,u))return{elementRectangle:c,targetEdge:u,alignmentEdge:d};if(i&&NH(t,n,u,o)){switch(u){case pH.bottom:c.bottom=n.bottom;break;case pH.top:c.top=n.top}return{elementRectangle:c,targetEdge:u,alignmentEdge:d,forcedInBounds:!0}}var m=FH(c,n);(!l||m<l)&&(l=m,p=u,h=d),s.splice(s.indexOf(u),1),s.length>0&&(s.indexOf(-1*u)>-1?u*=-1:(d=u,u=s.slice(-1)[0]),c=VH(e,t,{targetEdge:u,alignmentEdge:d},a))}return{elementRectangle:c=VH(e,t,{targetEdge:p,alignmentEdge:h},a),targetEdge:p,alignmentEdge:h}}(e,t,n,r,i,o,a));var p=kH(d.elementRectangle,n),h=s?-d.targetEdge:void 0;if(p.length>0)if(u)if(d.alignmentEdge&&p.indexOf(-1*d.alignmentEdge)>-1){var f=function(e,t,n,r){var i=e.alignmentEdge,o=e.targetEdge,a=-1*i;return{elementRectangle:VH(e.elementRectangle,t,{targetEdge:o,alignmentEdge:a},n,r),targetEdge:o,alignmentEdge:a}}(d,t,a,l);if(IH(f.elementRectangle,n))return f;d=HH(kH(f.elementRectangle,n),d,n,h)}else d=HH(p,d,n,h);else d=HH(p,d,n,h);return d}(c,t,n,r,o,a,i,s,l)}function GH(e){var t=e.getBoundingClientRect();return new EH(t.left,t.right,t.top,t.bottom)}function KH(e,t,n,r,i,o){void 0===i&&(i=!1);var a=e.gapSpace?e.gapSpace:0,s=function(e,t){var n;if(t){if(t.preventDefault){var r=t;n=new EH(r.clientX,r.clientX,r.clientY,r.clientY)}else if(t.getBoundingClientRect)n=GH(t);else{var i=t,o=i.left||i.x,a=i.top||i.y,s=i.right||o,l=i.bottom||a;n=new EH(o,s,a,l)}if(!IH(n,e))for(var c=0,u=kH(n,e);c<u.length;c++){var d=u[c];n[pH[d]]=e[pH[d]]}}else n=new EH(0,0,0,0);return n}(n,e.target),l=function(e,t,n,r,i){return e.isAuto&&(e.alignmentEdge=$H(e.targetEdge,t,n)),e.alignTargetEdge=i,e}(function(e,t,n){if(void 0===e&&(e=7),n)return{alignmentEdge:n.alignmentEdge,isAuto:n.isAuto,targetEdge:n.targetEdge};var r=A({},xH[e]);return cN()?(r.alignmentEdge&&r.alignmentEdge%2==0&&(r.alignmentEdge=-1*r.alignmentEdge),void 0!==t?xH[t]:r):r}(e.directionalHint,e.directionalHintForRTL,r),s,n,e.coverTarget,e.alignTargetEdge),c=qH(GH(t),s,n,l,a,i,o,e.directionalHintFixed,e.coverTarget);return A(A({},c),{targetRectangle:s})}function YH(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=0),function(e){return Math.sqrt(e*e*2)}(e?t:0)/2+n}function XH(e,t,n,r,i,o,a,s){void 0===i&&(i=!1);var l=null!=s?s:mt(),c=e.isBeakVisible&&e.beakWidth||0,u=YH(e.isBeakVisible,e.beakWidth,e.gapSpace),d=e;d.gapSpace=u;var p,h,f,m,g,v,y,b,C,S=e.bounds?(C=e.bounds,new EH(C.left,C.right,C.top,C.bottom)):new EH(0,l.innerWidth-function(){if(void 0===qN){var e=Kt(),t=e.createElement("div");t.style.setProperty("width","100px"),t.style.setProperty("height","100px"),t.style.setProperty("overflow","scroll"),t.style.setProperty("position","absolute"),t.style.setProperty("top","-9999px"),e.body.appendChild(t),qN=t.offsetWidth-t.clientWidth,e.body.removeChild(t)}return qN}(),0,l.innerHeight),E=KH(d,n,S,r,i,o),w=(p=E,h=function(e,t){var n=t.targetRectangle,r=UH(t.targetEdge),i=r.positiveEdge,o=r.negativeEdge,a=PH(n,t.targetEdge),s=new EH(e/2,t.elementRectangle.width-e/2,e/2,t.elementRectangle.height-e/2),l=new EH(0,e,0,e);return OH(l=zH(l=MH(l,-1*t.targetEdge,-e/2),-1*t.targetEdge,a-BH(i,t.elementRectangle)),s,i)?OH(l,s,o)||(l=LH(l,s,o)):l=LH(l,s,i),l}(c,E),f=S,m=-1*p.targetEdge,g=new EH(0,p.elementRectangle.width,0,p.elementRectangle.height),v={},y=jH(p.elementRectangle,p.alignmentEdge?p.alignmentEdge:UH(m).positiveEdge,f),b=RH(p.elementRectangle,p.targetRectangle,m)>Math.abs(TH(h,m)),v[pH[m]]=TH(h,m),v[pH[y]]=RH(h,g,y),{elementPosition:A({},v),closestEdge:$H(p.targetEdge,h,g),targetEdge:m,hideBeak:!b});return A(A({},function(e,t,n,r,i){return{elementPosition:WH(e.elementRectangle,t,e.targetEdge,n,e.alignmentEdge,r,i,e.forcedInBounds),targetEdge:e.targetEdge,alignmentEdge:e.alignmentEdge}}(E,t,S,e.coverTarget,a)),{beakPosition:w})}var ZH=["TEMPLATE","STYLE","SCRIPT"];function JH(){var e=l.useRef();return e.current||(e.current=new YF),l.useEffect((function(){return function(){var t;null===(t=e.current)||void 0===t||t.dispose(),e.current=void 0}}),[]),e.current}function QH(e,t,n,r){var i=l.useRef(n);i.current=n,l.useEffect((function(){var n=e&&"current"in e?e.current:e;if(n&&n.addEventListener)return AH(n,t,(function(e){return i.current(e)}),r)}),[e,t,r])}function ez(e){var t=e.originalElement,n=e.containsFocus;t&&n&&t!==mt()&&setTimeout((function(){var e;null===(e=t.focus)||void 0===e||e.call(t)}),0)}function tz(e,t){var n="true"===String(e["aria-modal"]).toLowerCase()&&e.enableAriaHiddenSiblings;l.useEffect((function(){if(n&&t.current)return function(e){var t=Kt(e);if(!t)return function(){};for(var n=[];e!==t.body&&e.parentElement;){for(var r=0,i=e.parentElement.children;r<i.length;r++){var o=i[r],a=o.getAttribute("aria-hidden");o!==e&&"true"!==(null==a?void 0:a.toLowerCase())&&-1===ZH.indexOf(o.tagName)&&n.push([o,a])}e=e.parentElement}return n.forEach((function(e){e[0].setAttribute("aria-hidden","true")})),function(){!function(e){e.forEach((function(e){var t=e[0],n=e[1];n?t.setAttribute("aria-hidden",n):t.removeAttribute("aria-hidden")}))}(n),n=[]}}(t.current)}),[t,n])}var nz=l.forwardRef((function(e,t){var n=vO({shouldRestoreFocus:!0,enableAriaHiddenSiblings:!0},e),r=l.useRef(),i=yO(r,t);tz(n,r),function(e,t){var n=e.onRestoreFocus,r=void 0===n?ez:n,i=l.useRef(),o=l.useRef(!1);l.useEffect((function(){var e,n,a;return i.current=Kt().activeElement,(a=(n=Kt(e=t.current))&&n.activeElement)&&ON(e,a)&&(o.current=!0),function(){var e;null==r||r({originalElement:i.current,containsFocus:o.current,documentContainsFocus:(null===(e=Kt())||void 0===e?void 0:e.hasFocus())||!1}),i.current=void 0}}),[]),QH(t,"focus",l.useCallback((function(){o.current=!0}),[]),!0),QH(t,"blur",l.useCallback((function(e){t.current&&e.relatedTarget&&!t.current.contains(e.relatedTarget)&&(o.current=!1)}),[]),!0)}(n,r);var o=n.role,a=n.className,s=n.ariaLabel,c=n.ariaLabelledBy,u=n.ariaDescribedBy,d=n.style,p=n.children,h=n.onDismiss,f=function(e,t){var n=JH(),r=l.useState(!1),i=r[0],o=r[1];return l.useEffect((function(){return n.requestAnimationFrame((function(){var n;if(!e.style||!e.style.overflowY){var r=!1;if(t&&t.current&&(null===(n=t.current)||void 0===n?void 0:n.firstElementChild)){var a=t.current.clientHeight,s=t.current.firstElementChild.clientHeight;a>0&&s>a&&(r=s-a>1)}i!==r&&o(r)}})),function(){return n.dispose()}})),i}(n,r),m=l.useCallback((function(e){27===e.which&&h&&(h(e),e.preventDefault(),e.stopPropagation())}),[h]);return QH(iL(),"keydown",m),l.createElement("div",A({ref:i},KL(n,GL),{className:a,role:o,"aria-label":s,"aria-labelledby":c,"aria-describedby":u,onKeyDown:m,style:A({overflowY:f?"scroll":void 0,outline:"none"},d)}),p)}));function rz(e){var t=l.useRef();return void 0===t.current&&(t.current={value:"function"==typeof e?e():e}),t.current.value}function iz(e,t){var n,r,i,o=l.useRef(),a=l.useRef(null),s=iL();if(!e||e!==o.current||"string"==typeof e){var c=null==t?void 0:t.current;if(e)if("string"==typeof e)if(null===(n=null==c?void 0:c.getRootNode())||void 0===n?void 0:n.host)a.current=null!==(i=null===(r=null==c?void 0:c.getRootNode())||void 0===r?void 0:r.querySelector(e))&&void 0!==i?i:null;else{var u=Kt(c);a.current=u?u.querySelector(e):null}else a.current="stopPropagation"in e||"getBoundingClientRect"in e?e:"current"in e?e.current:e;o.current=e}return[a,s]}nz.displayName="Popup";var oz,az=((oz={})[pH.top]=Je.slideUpIn10,oz[pH.bottom]=Je.slideDownIn10,oz[pH.left]=Je.slideLeftIn10,oz[pH.right]=Je.slideRightIn10,oz),sz={opacity:0,filter:"opacity(0)",pointerEvents:"none"},lz=["role","aria-roledescription"],cz={preventDismissOnLostFocus:!1,preventDismissOnScroll:!1,preventDismissOnResize:!1,isBeakVisible:!0,beakWidth:16,gapSpace:0,minPagePadding:8,directionalHint:7},uz=gN({disableCaching:!0});function dz(e,t,n,r){var i,o=e.calloutMaxHeight,a=e.finalHeight,s=e.directionalHint,c=e.directionalHintFixed,u=e.hidden,d=e.gapSpace,p=e.beakWidth,h=e.isBeakVisible,f=e.coverTarget,m=l.useState(),g=m[0],v=m[1],y=null!==(i=null==r?void 0:r.elementPosition)&&void 0!==i?i:{},b=y.top,C=y.bottom,A=(null==n?void 0:n.current)?function(e){var t,n,r,i,o=e,a=e,s=e,l=null!==(t=s.left)&&void 0!==t?t:s.x,c=null!==(n=s.top)&&void 0!==n?n:s.y,u=null!==(r=s.right)&&void 0!==r?r:l,d=null!==(i=s.bottom)&&void 0!==i?i:c;return o.stopPropagation?new EH(o.clientX,o.clientX,o.clientY,o.clientY):void 0!==l&&void 0!==c?new EH(l,u,c,d):GH(a)}(n.current):void 0;return l.useEffect((function(){var e,n,i=null!==(e=t())&&void 0!==e?e:{},a=i.top,s=i.bottom;(null==r?void 0:r.targetEdge)===pH.top&&(null==A?void 0:A.top)&&!f&&(s=A.top-function(e,t,n){return YH(e,t,n)}(h,p,d)),"number"==typeof b&&s?n=s-b:"number"==typeof C&&"number"==typeof a&&s&&(n=s-a-C),v(!o&&!u||o&&n&&o>n?n:o||void 0)}),[C,o,a,s,c,t,u,r,b,d,p,h,A,f]),g}function pz(e,t,n,r,i,o){var a,s=l.useState(),c=s[0],u=s[1],d=l.useRef(0),p=l.useRef(),h=JH(),f=e.hidden,m=e.target,g=e.finalHeight,v=e.calloutMaxHeight,y=e.onPositioned,b=e.directionalHint,C=e.hideOverflow,S=e.preferScrollResizePositioning,E=function(){var e;return null!==(e=iL())&&void 0!==e?e:"undefined"!=typeof window?window:void 0}(),w=l.useRef();w.current!==o.current&&(w.current=o.current,a=o.current?null==E?void 0:E.getComputedStyle(o.current):void 0);var x=null==a?void 0:a.overflowY;return l.useEffect((function(){if(!f){var o=h.requestAnimationFrame((function(){var o,a,s,l;if(t.current&&n){var h=A(A({},e),{target:r.current,bounds:i()}),f=n.cloneNode(!0);f.style.maxHeight=v?"".concat(v):"",f.style.visibility="hidden",null===(o=n.parentElement)||void 0===o||o.appendChild(f);var b=p.current===m?c:void 0,w=S&&!(C||"clip"===x||"hidden"===x),I=g?function(e,t,n,r,i){return function(e,t,n,r,i){return XH(e,t,n,r,!1,void 0,!0,null!=i?i:mt())}(e,t,n,r,i)}(h,t.current,f,b,E):function(e,t,n,r,i,o,a){return XH(e,t,n,r,i,void 0,void 0,a)}(h,t.current,f,b,w,0,E);null===(a=n.parentElement)||void 0===a||a.removeChild(f),!c&&I||c&&I&&(l=I,!mz((s=c).elementPosition,l.elementPosition)||!mz(s.beakPosition.elementPosition,l.beakPosition.elementPosition))&&d.current<5?(d.current++,u(I)):d.current>0&&(d.current=0,null==y||y(c))}}),n);return p.current=m,function(){h.cancelAnimationFrame(o),p.current=void 0}}u(void 0),d.current=0}),[f,b,h,n,v,t,r,g,i,y,c,e,m,C,S,x,E]),c}var hz=l.memo(l.forwardRef((function(e,t){var n=vO(cz,e),r=n.styles,i=n.style,o=n.ariaLabel,a=n.ariaDescribedBy,s=n.ariaLabelledBy,c=n.className,u=n.isBeakVisible,d=n.children,p=n.beakWidth,h=n.calloutWidth,f=n.calloutMaxWidth,m=n.calloutMinWidth,g=n.doNotLayer,v=n.finalHeight,y=n.hideOverflow,b=void 0===y?!!v:y,C=n.backgroundColor,S=n.calloutMaxHeight,E=n.onScroll,w=n.shouldRestoreFocus,x=void 0===w||w,I=n.target,k=n.hidden,T=n.onLayerMounted,_=n.popupProps,P=l.useRef(null),D=yO(l.useRef(null),null==_?void 0:_.ref),B=l.useState(null),R=B[0],M=B[1],L=l.useCallback((function(e){M(e)}),[]),O=yO(P,t),F=iz(n.target,{current:R}),N=F[0],H=F[1],z=function(e,t,n){var r=e.bounds,i=e.minPagePadding,o=void 0===i?cz.minPagePadding:i,a=e.target,s=l.useState(!1),c=s[0],u=s[1],d=l.useRef(),p=l.useCallback((function(){if(!d.current||c){var e="function"==typeof r?n?r(a,n):void 0:r;!e&&n&&(e=function(e,t){return function(e,t){var n=void 0;if(t.getWindowSegments&&(n=t.getWindowSegments()),void 0===n||n.length<=1)return{top:0,left:0,right:t.innerWidth,bottom:t.innerHeight,width:t.innerWidth,height:t.innerHeight};var r=0,i=0;if(null!==e&&e.getBoundingClientRect){var o=e.getBoundingClientRect();r=(o.left+o.right)/2,i=(o.top+o.bottom)/2}else null!==e&&(r=e.left||e.x,i=e.top||e.y);for(var a={top:0,left:0,right:0,bottom:0,width:0,height:0},s=0,l=n;s<l.length;s++){var c=l[s];r&&c.left<=r&&c.right>=r&&i&&c.top<=i&&c.bottom>=i&&(a={top:c.top,left:c.left,right:c.right,bottom:c.bottom,width:c.width,height:c.height})}return a}(e,t)}(t.current,n),e={top:e.top+o,left:e.left+o,right:e.right-o,bottom:e.bottom-o,width:e.width-2*o,height:e.height-2*o}),d.current=e,c&&u(!1)}return d.current}),[r,o,a,t,n,c]),h=JH();return QH(n,"resize",h.debounce((function(){u(!0)}),500,{leading:!0})),p}(n,N,H),V=pz(n,P,R,N,z,D),U=dz(n,z,N,V),j=function(e,t,n,r,i){var o=e.hidden,a=e.onDismiss,s=e.preventDismissOnScroll,c=e.preventDismissOnResize,u=e.preventDismissOnLostFocus,d=e.dismissOnTargetClick,p=e.shouldDismissOnWindowFocus,h=e.preventDismissOnEvent,f=l.useRef(!1),m=JH(),g=rz([function(){f.current=!0},function(){f.current=!1}]),v=!!t;return l.useEffect((function(){var e=function(e){v&&!s&&g(e)},t=function(e){c||h&&h(e)||null==a||a(e)},l=function(e){u||g(e)},g=function(e){var t=e.composedPath?e.composedPath():[],o=t.length>0?t[0]:e.target,s=n.current&&!ON(n.current,o);if(s&&f.current)f.current=!1;else if(!r.current&&s||e.target!==i&&s&&(!r.current||"stopPropagation"in r.current||d||o!==r.current&&!ON(r.current,o))){if(h&&h(e))return;null==a||a(e)}},y=function(e){p&&((!h||h(e))&&(h||u)||(null==i?void 0:i.document.hasFocus())||null!==e.relatedTarget||null==a||a(e))},b=new Promise((function(n){m.setTimeout((function(){if(!o&&i){var r=[AH(i,"scroll",e,!0),AH(i,"resize",t,!0),AH(i.document.documentElement,"focus",l,!0),AH(i.document.documentElement,"click",l,!0),AH(i,"blur",y,!0)];n((function(){r.forEach((function(e){return e()}))}))}}),0)}));return function(){b.then((function(e){return e()}))}}),[o,m,n,r,i,a,p,d,u,c,s,v,h]),g}(n,V,P,N,H),W=j[0],$=j[1],q=(null==V?void 0:V.elementPosition.top)&&(null==V?void 0:V.elementPosition.bottom),G=A(A({},null==V?void 0:V.elementPosition),{maxHeight:U});if(q&&(G.bottom=void 0),function(e,t,n){var r=e.hidden,i=e.setInitialFocus,o=JH(),a=!!t;l.useEffect((function(){if(!r&&i&&a&&n){var e=o.requestAnimationFrame((function(){return FN(n)}),n);return function(){return o.cancelAnimationFrame(e)}}}),[r,a,o,n,i])}(n,V,R),l.useEffect((function(){k||null==T||T()}),[k]),!H)return null;var K=b,Y=u&&!!I,X=uz(r,{theme:n.theme,className:c,overflowYHidden:K,calloutWidth:h,positions:V,beakWidth:p,backgroundColor:C,calloutMaxWidth:f,calloutMinWidth:m,doNotLayer:g}),Z=A(A({maxHeight:S||"100%"},i),K&&{overflowY:"hidden"}),J=n.hidden?{visibility:"hidden"}:void 0;return l.createElement("div",{ref:O,className:X.container,style:J},l.createElement("div",A({},KL(n,GL,lz),{className:nL(X.root,V&&V.targetEdge&&az[V.targetEdge]),style:V?A({},G):sz,tabIndex:-1,ref:L}),Y&&l.createElement("div",{className:X.beak,style:fz(V)}),Y&&l.createElement("div",{className:X.beakCurtain}),l.createElement(nz,A({role:n.role,"aria-roledescription":n["aria-roledescription"],ariaDescribedBy:a,ariaLabel:o,ariaLabelledBy:s,className:X.calloutMain,onDismiss:n.onDismiss,onMouseDown:W,onMouseUp:$,onRestoreFocus:n.onRestoreFocus,onScroll:E,shouldRestoreFocus:x,style:Z},_,{ref:D}),d)))})),(function(e,t){return!(t.shouldUpdateWhenHidden||!e.hidden||!t.hidden)||XL(e,t)}));function fz(e){var t,n,r=A(A({},null===(t=null==e?void 0:e.beakPosition)||void 0===t?void 0:t.elementPosition),{display:(null===(n=null==e?void 0:e.beakPosition)||void 0===n?void 0:n.hideBeak)?"none":void 0});return r.top||r.bottom||r.left||r.right||(r.left=0,r.top=0),r}function mz(e,t){for(var n in t)if(t.hasOwnProperty(n)){var r=e[n],i=t[n];if(void 0===r||void 0===i)return!1;if(r.toFixed(2)!==i.toFixed(2))return!1}return!0}function gz(e){return{height:e,width:e}}hz.displayName="CalloutContentBase";var vz={container:"ms-Callout-container",root:"ms-Callout",beak:"ms-Callout-beak",beakCurtain:"ms-Callout-beakCurtain",calloutMain:"ms-Callout-main"},yz=aN(hz,(function(e){var t,n=e.theme,r=e.className,i=e.overflowYHidden,o=e.calloutWidth,a=e.beakWidth,s=e.backgroundColor,l=e.calloutMaxWidth,c=e.calloutMinWidth,u=e.doNotLayer,d=ut(vz,n),p=n.semanticColors,h=n.effects;return{container:[d.container,{position:"relative"}],root:[d.root,n.fonts.medium,{position:"absolute",display:"flex",zIndex:u?gt.Layer:void 0,boxSizing:"border-box",borderRadius:h.roundedCorner2,boxShadow:h.elevation16,selectors:(t={},t[dt]={borderWidth:1,borderStyle:"solid",borderColor:"WindowText"},t)},{selectors:{"&::-moz-focus-inner":{border:0},"&":{outline:"transparent"}}},r,!!o&&{width:o},!!l&&{maxWidth:l},!!c&&{minWidth:c}],beak:[d.beak,{position:"absolute",backgroundColor:p.menuBackground,boxShadow:"inherit",border:"inherit",boxSizing:"border-box",transform:"rotate(45deg)"},gz(a),s&&{backgroundColor:s}],beakCurtain:[d.beakCurtain,{position:"absolute",top:0,right:0,bottom:0,left:0,backgroundColor:p.menuBackground,borderRadius:h.roundedCorner2}],calloutMain:[d.calloutMain,{backgroundColor:p.menuBackground,overflowX:"hidden",overflowY:"auto",position:"relative",width:"100%",borderRadius:h.roundedCorner2},i&&{overflowY:"hidden"},s&&{backgroundColor:s}]}}),void 0,{scope:"CalloutContent"}),bz=l.createContext(void 0),Cz=function(){return function(){}};function Az(e,t){void 0===e&&(e={});var n=Sz(t)?t:function(e){return function(t){return e?A(A({},t),e):t}}(t);return n(e)}function Sz(e){return"function"==typeof e}bz.Provider;var Ez=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onCustomizationChange=function(){return t.forceUpdate()},t}return C(t,e),t.prototype.componentDidMount=function(){Bt.observe(this._onCustomizationChange)},t.prototype.componentWillUnmount=function(){Bt.unobserve(this._onCustomizationChange)},t.prototype.render=function(){var e=this,t=this.props.contextTransform;return l.createElement(aL.Consumer,null,(function(n){var r=function(e,t){var n,r,i,o=(t||{}).customizations,a=void 0===o?{settings:{},scopedSettings:{}}:o;return{customizations:{settings:Az(a.settings,e.settings),scopedSettings:(n=a.scopedSettings,r=e.scopedSettings,void 0===n&&(n={}),(Sz(r)?r:(void 0===(i=r)&&(i={}),function(e){var t=A({},e);for(var n in i)i.hasOwnProperty(n)&&(t[n]=A(A({},e[n]),i[n]));return t}))(n)),inCustomizerContext:!0}}}(e.props,n);return t&&(r=t(r)),l.createElement(aL.Provider,{value:r},e.props.children)}))},t}(l.Component),wz=gN(),xz=at((function(e,t){return un(A(A({},e),{rtl:t}))})),Iz=l.forwardRef((function(e,t){var n=e.className,r=e.theme,i=e.applyTheme,o=e.applyThemeToBody,a=e.styles,s=wz(a,{theme:r,applyTheme:i,className:n}),c=l.useRef(null);return function(e,t,n){var r=t.bodyThemed;l.useEffect((function(){if(e){var t=Kt(n.current);if(t)return t.body.classList.add(r),function(){t.body.classList.remove(r)}}}),[r,e,n])}(o,s,c),l.createElement(l.Fragment,null,function(e,t,n,r){var i=t.root,o=e.as,a=void 0===o?"div":o,s=e.dir,c=e.theme,u=KL(e,GL,["dir"]),d=function(e){var t=e.theme,n=e.dir,r=cN(t)?"rtl":"ltr",i=cN()?"rtl":"ltr",o=n||r;return{rootDir:o!==r||o!==i?o:n,needsTheme:o!==r}}(e),p=d.rootDir,h=d.needsTheme,f=l.createElement(fO,{providerRef:n},l.createElement(a,A({dir:p},u,{className:i,ref:yO(n,r)})));return h&&(f=l.createElement(Ez,{settings:{theme:xz(c,"rtl"===s)}},f)),f}(e,s,c,t))}));Iz.displayName="FabricBase";var kz,Tz={fontFamily:"inherit"},_z={root:"ms-Fabric",bodyThemed:"ms-Fabric-bodyThemed"},Pz=aN(Iz,(function(e){var t=e.applyTheme,n=e.className,r=e.preventBlanketFontInheritance,i=e.theme;return{root:[ut(_z,i).root,i.fonts.medium,{color:i.palette.neutralPrimary},!r&&{"& button":Tz,"& input":Tz,"& textarea":Tz},t&&{color:i.semanticColors.bodyText,backgroundColor:i.semanticColors.bodyBackground},n],bodyThemed:[{backgroundColor:i.semanticColors.bodyBackground}]}}),void 0,{scope:"Fabric"}),Dz={},Bz={},Rz="fluent-default-layer-host",Mz="#".concat(Rz),Lz=gN(),Oz=l.forwardRef((function(e,t){var n,r=null!==(n=l.useContext(bz))&&void 0!==n?n:Cz,i=l.useRef(null),o=yO(i,t),a=l.useRef(),s=l.useRef(null),c=l.useContext(lO),d=l.useState(!1),p=d[0],h=d[1],f=l.useCallback((function(e){var t,n=!!(null==(t=null==c?void 0:c.providerRef)?void 0:t.current)&&t.current.classList.contains(vt);e&&n&&e.classList.add(vt)}),[c]),m=e.children,g=e.className,v=e.eventBubblingEnabled,y=e.fabricProps,b=e.hostId,C=e.insertFirst,S=e.onLayerDidMount,E=void 0===S?function(){}:S,w=e.onLayerMounted,x=void 0===w?function(){}:w,I=e.onLayerWillUnmount,k=e.styles,T=e.theme,_=yO(s,null==y?void 0:y.ref,f),P=Lz(k,{theme:T,className:g,isNotHost:!b}),D=function(){null==I||I();var e=a.current;a.current=void 0,e&&e.parentNode&&e.parentNode.removeChild(e)},B=function(){var e,t,n,r,o=Kt(i.current),s=(null===(t=null===(e=i.current)||void 0===e?void 0:e.getRootNode())||void 0===t?void 0:t.host)?null===(n=null==i?void 0:i.current)||void 0===n?void 0:n.getRootNode():void 0;if(o&&(o||s)){var l=function(e,t){var n,r;void 0===t&&(t=null);var i=null!=t?t:e;if(b){var o=function(e){var t=Bz[e];return t&&t[0]||void 0}(b);return o?null!==(n=o.rootRef.current)&&void 0!==n?n:null:null!==(r=i.getElementById(b))&&void 0!==r?r:null}var a=Mz,s=a?i.querySelector(a):null;return s||(s=function(e,t){void 0===t&&(t=null);var n=e.createElement("div");return n.setAttribute("id",Rz),n.style.cssText="position:fixed;z-index:1000000",t?t.appendChild(n):null==e||e.body.appendChild(n),n}(e,t)),s}(o,s);if(l){l.__tabsterElementFlags||(l.__tabsterElementFlags={}),l.__tabsterElementFlags.noDirectAriaHidden=!0,D();var c=(null!==(r=l.ownerDocument)&&void 0!==r?r:o).createElement("div");c.className=P.root,c.setAttribute(VF,"true"),function(e,t){var n=e,r=t;n._virtual||(n._virtual={children:[]});var i=n._virtual.parent;if(i&&i!==t){var o=i._virtual.children.indexOf(n);o>-1&&i._virtual.children.splice(o,1)}n._virtual.parent=r||void 0,r&&(r._virtual||(r._virtual={children:[]}),r._virtual.children.push(n))}(c,i.current),C?l.insertBefore(c,l.firstChild):l.appendChild(c),a.current=c,h(!0)}}};return bN((function(){B(),b&&function(e,t){Dz[e]||(Dz[e]=[]),Dz[e].push(t);var n=Bz[e];if(n)for(var r=0,i=n;r<i.length;r++)i[r].notifyLayersChanged()}(b,B);var e=a.current?r(a.current):void 0;return function(){e&&e(),D(),b&&function(e,t){var n=Dz[e];if(n){var r=n.indexOf(t);r>=0&&(n.splice(r,1),0===n.length&&delete Dz[e])}var i=Bz[e];if(i)for(var o=0,a=i;o<a.length;o++)a[o].notifyLayersChanged()}(b,B)}}),[b]),l.useEffect((function(){a.current&&p&&(null==x||x(),null==E||E(),h(!1))}),[p,x,E]),l.createElement("span",{className:"ms-layer",ref:o},a.current&&u.createPortal(l.createElement(fO,{layerRoot:!0,providerRef:_},l.createElement(Pz,A({},!v&&(kz||(kz={},["onClick","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOver","onMouseOut","onMouseUp","onTouchMove","onTouchStart","onTouchCancel","onTouchEnd","onKeyDown","onKeyPress","onKeyUp","onFocus","onBlur","onChange","onInput","onInvalid","onSubmit"].forEach((function(e){return kz[e]=Fz}))),kz),y,{className:nL(P.content,null==y?void 0:y.className),ref:_}),m)),a.current))}));Oz.displayName="LayerBase";var Fz=function(e){e.eventPhase===Event.BUBBLING_PHASE&&"mouseenter"!==e.type&&"mouseleave"!==e.type&&"touchstart"!==e.type&&"touchend"!==e.type&&e.stopPropagation()},Nz={root:"ms-Layer",rootNoHost:"ms-Layer--fixed",content:"ms-Layer-content"},Hz=aN(Oz,(function(e){var t=e.className,n=e.isNotHost,r=e.theme,i=ut(Nz,r);return{root:[i.root,r.fonts.medium,n&&[i.rootNoHost,{position:"fixed",zIndex:gt.Layer,top:0,left:0,bottom:0,right:0,visibility:"hidden"}],t],content:[i.content,{visibility:"visible"}]}}),void 0,{scope:"Layer",fields:["hostId","theme","styles"]}),zz=l.forwardRef((function(e,t){var n=e.layerProps,r=e.doNotLayer,i=S(e,["layerProps","doNotLayer"]),o=l.createElement(yz,A({},i,{doNotLayer:r,ref:t}));return r?o:l.createElement(Hz,A({},n),o)}));zz.displayName="Callout";var Vz,Uz=function(e){var t=e.item,n=e.classNames,r=t.iconProps;return l.createElement(DN,A({},r,{className:n.icon}))},jz=function(e){var t=e.item;return e.hasIcons?t.onRenderIcon?t.onRenderIcon(e,Uz):Uz(e):null},Wz=function(e){var t=e.onCheckmarkClick,n=e.item,r=e.classNames,i=vH(n);return t?l.createElement(DN,{iconName:!1!==n.canCheck&&i?"CheckMark":"",className:r.checkmarkIcon,onClick:function(e){return t(n,e)}}):null},$z=function(e){var t=e.item,n=e.classNames;return t.text||t.name?l.createElement("span",{className:n.label},t.text||t.name):null},qz=function(e){var t=e.item,n=e.classNames;return t.secondaryText?l.createElement("span",{className:n.secondaryText},t.secondaryText):null},Gz=function(e){var t=e.item,n=e.classNames,r=e.theme;return yH(t)?l.createElement(DN,A({iconName:cN(r)?"ChevronLeft":"ChevronRight"},t.submenuIconProps,{className:n.subMenuIcon})):null},Kz=function(e){function t(t){var n=e.call(this,t)||this;return n.openSubMenu=function(){var e=n.props,t=e.item,r=e.openSubMenu,i=e.getSubmenuTarget;if(i){var o=i();yH(t)&&r&&o&&r(t,o)}},n.dismissSubMenu=function(){var e=n.props,t=e.item,r=e.dismissSubMenu;yH(t)&&r&&r()},n.dismissMenu=function(e){var t=n.props.dismissMenu;t&&t(void 0,e)},WF(n),n}return C(t,e),t.prototype.render=function(){var e=this.props,t=e.item,n=e.classNames,r=t.onRenderContent||this._renderLayout;return l.createElement("div",{className:t.split?n.linkContentMenu:n.linkContent},r(this.props,{renderCheckMarkIcon:Wz,renderItemIcon:jz,renderItemName:$z,renderSecondaryText:qz,renderSubMenuIcon:Gz}))},t.prototype._renderLayout=function(e,t){return l.createElement(l.Fragment,null,t.renderCheckMarkIcon(e),t.renderItemIcon(e),t.renderItemName(e),t.renderSecondaryText(e),t.renderSubMenuIcon(e))},t}(l.Component),Yz=at((function(e){return In({wrapper:{display:"inline-flex",height:"100%",alignItems:"center"},divider:{width:1,height:"100%",backgroundColor:e.palette.neutralTertiaryAlt}})})),Xz=36,Zz=pt(0,639),Jz=at((function(e){var t,n,r,i,o,a=e.semanticColors,s=e.fonts,l=e.palette,c=a.menuItemBackgroundHovered,u=a.menuItemTextHovered,d=a.menuItemBackgroundPressed,p=a.bodyDivider;return wn({item:[s.medium,{color:a.bodyText,position:"relative",boxSizing:"border-box"}],divider:{display:"block",height:"1px",backgroundColor:p,position:"relative"},root:[At(e),s.medium,{color:a.bodyText,backgroundColor:"transparent",border:"none",width:"100%",height:Xz,lineHeight:Xz,display:"block",cursor:"pointer",padding:"0px 8px 0 4px",textAlign:"left"}],rootDisabled:{color:a.disabledBodyText,cursor:"default",pointerEvents:"none",selectors:(t={},t[dt]={color:"GrayText",opacity:1},t)},rootHovered:{backgroundColor:c,color:u,selectors:{".ms-ContextualMenu-icon":{color:l.themeDarkAlt},".ms-ContextualMenu-submenuIcon":{color:l.neutralPrimary}}},rootFocused:{backgroundColor:l.white},rootChecked:{selectors:{".ms-ContextualMenu-checkmarkIcon":{color:l.neutralPrimary}}},rootPressed:{backgroundColor:d,selectors:{".ms-ContextualMenu-icon":{color:l.themeDark},".ms-ContextualMenu-submenuIcon":{color:l.neutralPrimary}}},rootExpanded:{backgroundColor:d,color:a.bodyTextChecked,selectors:(n={".ms-ContextualMenu-submenuIcon":(r={},r[dt]={color:"inherit"},r)},n[dt]=A({},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),n)},linkContent:{whiteSpace:"nowrap",height:"inherit",display:"flex",alignItems:"center",maxWidth:"100%"},anchorLink:{padding:"0px 8px 0 4px",textRendering:"auto",color:"inherit",letterSpacing:"normal",wordSpacing:"normal",textTransform:"none",textIndent:"0px",textShadow:"none",textDecoration:"none",boxSizing:"border-box"},label:{margin:"0 4px",verticalAlign:"middle",display:"inline-block",flexGrow:"1",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"},secondaryText:{color:e.palette.neutralSecondary,paddingLeft:"20px",textAlign:"right"},icon:{display:"inline-block",minHeight:"1px",maxHeight:Xz,fontSize:Ze.medium,width:Ze.medium,margin:"0 4px",verticalAlign:"middle",flexShrink:"0",selectors:(i={},i[Zz]={fontSize:Ze.large,width:Ze.large},i)},iconColor:{color:a.menuIcon},iconDisabled:{color:a.disabledBodyText},checkmarkIcon:{color:a.bodySubtext},subMenuIcon:{height:Xz,lineHeight:Xz,color:l.neutralSecondary,textAlign:"center",display:"inline-block",verticalAlign:"middle",flexShrink:"0",fontSize:Ze.small,selectors:(o={":hover":{color:l.neutralPrimary},":active":{color:l.neutralPrimary}},o[Zz]={fontSize:Ze.medium},o)},splitButtonFlexContainer:[At(e),{display:"flex",height:Xz,flexWrap:"nowrap",justifyContent:"center",alignItems:"flex-start"}]})})),Qz="28px",eV=pt(0,639),tV=at((function(e){var t;return In(Yz(e),{wrapper:{position:"absolute",right:28,selectors:(t={},t[eV]={right:32},t)},divider:{height:16,width:1}})})),nV={item:"ms-ContextualMenu-item",divider:"ms-ContextualMenu-divider",root:"ms-ContextualMenu-link",isChecked:"is-checked",isExpanded:"is-expanded",isDisabled:"is-disabled",linkContent:"ms-ContextualMenu-linkContent",linkContentMenu:"ms-ContextualMenu-linkContent",icon:"ms-ContextualMenu-icon",iconColor:"ms-ContextualMenu-iconColor",checkmarkIcon:"ms-ContextualMenu-checkmarkIcon",subMenuIcon:"ms-ContextualMenu-submenuIcon",label:"ms-ContextualMenu-itemText",secondaryText:"ms-ContextualMenu-secondaryText",splitMenu:"ms-ContextualMenu-splitMenu",screenReaderText:"ms-ContextualMenu-screenReaderText"},rV=at((function(e,t,n,r,i,o,a,s,l,c,u,d){var p,h,f,m,g=Jz(e),v=ut(nV,e);return In({item:[v.item,g.item,a],divider:[v.divider,g.divider,s],root:[v.root,g.root,r&&[v.isChecked,g.rootChecked],i&&g.anchorLink,n&&[v.isExpanded,g.rootExpanded],t&&[v.isDisabled,g.rootDisabled],!t&&!n&&[{selectors:(p={":hover":g.rootHovered,":active":g.rootPressed},p[".".concat(vt," &:focus, .").concat(vt," &:focus:hover, :host(.").concat(vt,") &:focus, :host(.").concat(vt,") &:focus:hover")]=g.rootFocused,p[".".concat(vt," &:hover, :host(.").concat(vt,") &:hover")]={background:"inherit;"},p)}],d],splitPrimary:[g.root,{width:"calc(100% - ".concat(Qz,")")},r&&["is-checked",g.rootChecked],(t||u)&&["is-disabled",g.rootDisabled],!(t||u)&&!r&&[{selectors:(h={":hover":g.rootHovered},h[":hover ~ .".concat(v.splitMenu)]=g.rootHovered,h[":active"]=g.rootPressed,h[".".concat(vt," &:focus, .").concat(vt," &:focus:hover, :host(.").concat(vt,") &:focus, :host(.").concat(vt,") &:focus:hover")]=g.rootFocused,h[".".concat(vt," &:hover, :host(.").concat(vt,") &:hover")]={background:"inherit;"},h)}]],splitMenu:[v.splitMenu,g.root,{flexBasis:"0",padding:"0 8px",minWidth:Qz},n&&["is-expanded",g.rootExpanded],t&&["is-disabled",g.rootDisabled],!t&&!n&&[{selectors:(f={":hover":g.rootHovered,":active":g.rootPressed},f[".".concat(vt," &:focus, .").concat(vt," &:focus:hover, :host(.").concat(vt,") &:focus, :host(.").concat(vt,") &:focus:hover")]=g.rootFocused,f[".".concat(vt," &:hover, :host(.").concat(vt,") &:hover")]={background:"inherit;"},f)}]],anchorLink:g.anchorLink,linkContent:[v.linkContent,g.linkContent],linkContentMenu:[v.linkContentMenu,g.linkContent,{justifyContent:"center"}],icon:[v.icon,o&&g.iconColor,g.icon,l,t&&[v.isDisabled,g.iconDisabled]],iconColor:g.iconColor,checkmarkIcon:[v.checkmarkIcon,o&&g.checkmarkIcon,g.icon,l],subMenuIcon:[v.subMenuIcon,g.subMenuIcon,c,n&&{color:e.palette.neutralPrimary},t&&[g.iconDisabled]],label:[v.label,g.label],secondaryText:[v.secondaryText,g.secondaryText],splitContainer:[g.splitButtonFlexContainer,!t&&!r&&[{selectors:(m={},m[".".concat(vt," &:focus, .").concat(vt," &:focus:hover, :host(.").concat(vt,") &:focus, :host(.").concat(vt,") &:focus:hover")]=g.rootFocused,m)}]],screenReaderText:[v.screenReaderText,g.screenReaderText,Qe,{visibility:"hidden"}]})})),iV=function(e){var t=e.theme,n=e.disabled,r=e.expanded,i=e.checked,o=e.isAnchorLink,a=e.knownIcon,s=e.itemClassName,l=e.dividerClassName,c=e.iconClassName,u=e.subMenuClassName,d=e.primaryDisabled,p=e.className;return rV(t,n,r,i,o,a,s,l,c,u,d,p)},oV=aN(Kz,iV,void 0,{scope:"ContextualMenuItem"}),aV=function(e){function t(t){var n=e.call(this,t)||this;return n._onItemMouseEnter=function(e){var t=n.props,r=t.item,i=t.onItemMouseEnter;i&&i(r,e,e.currentTarget)},n._onItemClick=function(e){var t=n.props,r=t.item,i=t.onItemClickBase;i&&i(r,e,e.currentTarget)},n._onItemMouseLeave=function(e){var t=n.props,r=t.item,i=t.onItemMouseLeave;i&&i(r,e)},n._onItemKeyDown=function(e){var t=n.props,r=t.item,i=t.onItemKeyDown;i&&i(r,e)},n._onItemMouseMove=function(e){var t=n.props,r=t.item,i=t.onItemMouseMove;i&&i(r,e,e.currentTarget)},n._getSubmenuTarget=function(){},WF(n),n}return C(t,e),t.prototype.shouldComponentUpdate=function(e){return!XL(e,this.props)},t}(l.Component);function sV(e){var t=l.useRef();return l.useEffect((function(){t.current=e})),t.current}!function(e){e.KEYTIP_ADDED="keytipAdded",e.KEYTIP_REMOVED="keytipRemoved",e.KEYTIP_UPDATED="keytipUpdated",e.PERSISTED_KEYTIP_ADDED="persistedKeytipAdded",e.PERSISTED_KEYTIP_REMOVED="persistedKeytipRemoved",e.PERSISTED_KEYTIP_EXECUTE="persistedKeytipExecute",e.ENTER_KEYTIP_MODE="enterKeytipMode",e.EXIT_KEYTIP_MODE="exitKeytipMode"}(Vz||(Vz={}));var lV=function(){function e(){this.keytips={},this.persistedKeytips={},this.sequenceMapping={},this.inKeytipMode=!1,this.shouldEnterKeytipMode=!0,this.delayUpdatingKeytipChange=!1}return e.getInstance=function(){return this._instance},e.prototype.init=function(e){this.delayUpdatingKeytipChange=e},e.prototype.register=function(e,t){void 0===t&&(t=!1);var n=e;t||(n=this.addParentOverflow(e),this.sequenceMapping[n.keySequences.toString()]=n);var r=this._getUniqueKtp(n);if(t?this.persistedKeytips[r.uniqueID]=r:this.keytips[r.uniqueID]=r,this.inKeytipMode||!this.delayUpdatingKeytipChange){var i=t?Vz.PERSISTED_KEYTIP_ADDED:Vz.KEYTIP_ADDED;XF.raise(this,i,{keytip:n,uniqueID:r.uniqueID})}return r.uniqueID},e.prototype.update=function(e,t){var n=this.addParentOverflow(e),r=this._getUniqueKtp(n,t),i=this.keytips[t];i&&(r.keytip.visible=i.keytip.visible,this.keytips[t]=r,delete this.sequenceMapping[i.keytip.keySequences.toString()],this.sequenceMapping[r.keytip.keySequences.toString()]=r.keytip,!this.inKeytipMode&&this.delayUpdatingKeytipChange||XF.raise(this,Vz.KEYTIP_UPDATED,{keytip:r.keytip,uniqueID:r.uniqueID}))},e.prototype.unregister=function(e,t,n){void 0===n&&(n=!1),n?delete this.persistedKeytips[t]:delete this.keytips[t],!n&&delete this.sequenceMapping[e.keySequences.toString()];var r=n?Vz.PERSISTED_KEYTIP_REMOVED:Vz.KEYTIP_REMOVED;!this.inKeytipMode&&this.delayUpdatingKeytipChange||XF.raise(this,r,{keytip:e,uniqueID:t})},e.prototype.enterKeytipMode=function(){XF.raise(this,Vz.ENTER_KEYTIP_MODE)},e.prototype.exitKeytipMode=function(){XF.raise(this,Vz.EXIT_KEYTIP_MODE)},e.prototype.getKeytips=function(){var e=this;return Object.keys(this.keytips).map((function(t){return e.keytips[t].keytip}))},e.prototype.addParentOverflow=function(e){var t=k([],e.keySequences,!0);if(t.pop(),0!==t.length){var n=this.sequenceMapping[t.toString()];if(n&&n.overflowSetSequence)return A(A({},e),{overflowSetSequence:n.overflowSetSequence})}return e},e.prototype.menuExecute=function(e,t){XF.raise(this,Vz.PERSISTED_KEYTIP_EXECUTE,{overflowButtonSequences:e,keytipSequences:t})},e.prototype._getUniqueKtp=function(e,t){return void 0===t&&(t=hL()),{keytip:A({},e),uniqueID:t}},e._instance=new e,e}();function cV(e){return e.reduce((function(e,t){return e+"-"+t.split("").join("-")}),"ktp")}var uV=function(e){var t,n=e.children,r=function(e){var t=l.useRef(),n=e.keytipProps?A({disabled:e.disabled},e.keytipProps):void 0,r=rz(lV.getInstance()),i=sV(e);bN((function(){t.current&&n&&((null==i?void 0:i.keytipProps)!==e.keytipProps||(null==i?void 0:i.disabled)!==e.disabled)&&r.update(n,t.current)})),bN((function(){return n&&(t.current=r.register(n)),function(){n&&r.unregister(n,t.current)}}),[]);var o={ariaDescribedBy:e.ariaDescribedBy,keytipId:void 0};return n&&(o=function(e,t,n){var r=e.addParentOverflow(t),i=QF(n,function(e){var t=" ktp-layer-id";return e.length?t+" "+cV(e):t}(r.keySequences)),o=k([],r.keySequences,!0);return r.overflowSetSequence&&(o=function(e,t){var n,r,i;return n=t.length-1,r=k([],t,!0).pop(),(i=k([],e,!0).slice()).splice(n,0,r),i}(o,r.overflowSetSequence)),{ariaDescribedBy:i,keytipId:cV(o)}}(r,n,e.ariaDescribedBy)),o}(S(e,["children"])),i=r.keytipId,o=r.ariaDescribedBy;return n(((t={})["data-ktp-target"]=i,t["data-ktp-execute-target"]=i,t["aria-describedby"]=o,t))},dV=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._anchor=l.createRef(),t._getMemoizedMenuButtonKeytipProps=at((function(e){return A(A({},e),{hasMenu:!0})})),t._getSubmenuTarget=function(){return t._anchor.current?t._anchor.current:void 0},t._onItemClick=function(e){var n=t.props,r=n.item,i=n.onItemClick;i&&i(r,e)},t._renderAriaDescription=function(e,n){return e?l.createElement("span",{id:t._ariaDescriptionId,className:n},e):null},t}return C(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.item,r=t.classNames,i=t.index,o=t.focusableElementIndex,a=t.totalItemCount,s=t.hasCheckmarks,c=t.hasIcons,u=t.expandedMenuItemKey,d=t.onItemClick,p=t.openSubMenu,h=t.dismissSubMenu,f=t.dismissMenu,m=oV;this.props.item.contextualMenuItemAs&&(m=gH(this.props.item.contextualMenuItemAs,m)),this.props.contextualMenuItemAs&&(m=gH(this.props.contextualMenuItemAs,m));var g=n.rel;n.target&&"_blank"===n.target.toLowerCase()&&(g=g||"nofollow noopener noreferrer");var v=yH(n),y=KL(n,BL),b=bH(n),C=n.itemProps,S=n.ariaDescription,E=n.keytipProps;E&&v&&(E=this._getMemoizedMenuButtonKeytipProps(E)),S&&(this._ariaDescriptionId=hL());var w=QF(n.ariaDescribedBy,S?this._ariaDescriptionId:void 0,y["aria-describedby"]),x={"aria-describedby":w};return l.createElement("div",null,l.createElement(uV,{keytipProps:n.keytipProps,ariaDescribedBy:w,disabled:b},(function(t){return l.createElement("a",A({},x,y,t,{ref:e._anchor,href:n.href,target:n.target,rel:g,className:r.root,role:"menuitem","aria-haspopup":v||void 0,"aria-expanded":v?n.key===u:void 0,"aria-posinset":o+1,"aria-setsize":a,"aria-disabled":bH(n),style:n.style,onClick:e._onItemClick,onMouseEnter:e._onItemMouseEnter,onMouseLeave:e._onItemMouseLeave,onMouseMove:e._onItemMouseMove,onKeyDown:v?e._onItemKeyDown:void 0}),l.createElement(m,A({componentRef:n.componentRef,item:n,classNames:r,index:i,onCheckmarkClick:s&&d?d:void 0,hasIcons:c,openSubMenu:p,dismissSubMenu:h,dismissMenu:f,getSubmenuTarget:e._getSubmenuTarget},C)),e._renderAriaDescription(S,r.screenReaderText))})))},t}(aV),pV=gN(),hV=l.forwardRef((function(e,t){var n=e.styles,r=e.theme,i=e.getClassNames,o=e.className,a=pV(n,{theme:r,getClassNames:i,className:o});return l.createElement("span",{className:a.wrapper,ref:t},l.createElement("span",{className:a.divider}))}));hV.displayName="VerticalDividerBase";var fV,mV=aN(hV,(function(e){var t=e.theme,n=e.getClassNames,r=e.className;if(!t)throw new Error("Theme is undefined or null.");if(n){var i=n(t);return{wrapper:[i.wrapper],divider:[i.divider]}}return{wrapper:[{display:"inline-flex",height:"100%",alignItems:"center"},r],divider:[{width:1,height:"100%",backgroundColor:t.palette.neutralTertiaryAlt}]}}),void 0,{scope:"VerticalDivider"}),gV=function(e){function t(t){var n=e.call(this,t)||this;return n._getMemoizedMenuButtonKeytipProps=at((function(e){return A(A({},e),{hasMenu:!0})})),n._onItemKeyDown=function(e){var t=n.props,r=t.item,i=t.onItemKeyDown;e.which===eO?(n._executeItemClick(e),e.preventDefault(),e.stopPropagation()):i&&i(r,e)},n._getSubmenuTarget=function(){return n._splitButton},n._renderAriaDescription=function(e,t){return e?l.createElement("span",{id:n._ariaDescriptionId,className:t},e):null},n._onItemMouseEnterPrimary=function(e){var t=n.props,r=t.item,i=t.onItemMouseEnter;i&&i(A(A({},r),{subMenuProps:void 0,items:void 0}),e,n._splitButton)},n._onItemMouseEnterIcon=function(e){var t=n.props,r=t.item,i=t.onItemMouseEnter;i&&i(r,e,n._splitButton)},n._onItemMouseMovePrimary=function(e){var t=n.props,r=t.item,i=t.onItemMouseMove;i&&i(A(A({},r),{subMenuProps:void 0,items:void 0}),e,n._splitButton)},n._onItemMouseMoveIcon=function(e){var t=n.props,r=t.item,i=t.onItemMouseMove;i&&i(r,e,n._splitButton)},n._onIconItemClick=function(e){var t=n.props,r=t.item,i=t.onItemClickBase;i&&i(r,e,n._splitButton?n._splitButton:e.currentTarget)},n._executeItemClick=function(e){var t=n.props,r=t.item,i=t.executeItemClick,o=t.onItemClick;if(!r.disabled&&!r.isDisabled)return n._processingTouch&&!r.canCheck&&o?o(r,e):void(i&&i(r,e))},n._onTouchStart=function(e){n._splitButton&&!("onpointerdown"in n._splitButton)&&n._handleTouchAndPointerEvent(e)},n._onPointerDown=function(e){"touch"===e.pointerType&&(n._handleTouchAndPointerEvent(e),e.preventDefault(),e.stopImmediatePropagation())},n._async=new YF(n),n._events=new XF(n),n._dismissLabelId=hL(),n}return C(t,e),t.prototype.componentDidMount=function(){this._splitButton&&"onpointerdown"in this._splitButton&&this._events.on(this._splitButton,"pointerdown",this._onPointerDown,!0)},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.render=function(){var e,t=this,n=this.props,r=n.item,i=n.classNames,o=n.index,a=n.focusableElementIndex,s=n.totalItemCount,c=n.hasCheckmarks,u=n.hasIcons,d=n.onItemMouseLeave,p=n.expandedMenuItemKey,h=yH(r),f=r.keytipProps;f&&(f=this._getMemoizedMenuButtonKeytipProps(f));var m=r.ariaDescription;m&&(this._ariaDescriptionId=hL());var g=null!==(e=vH(r))&&void 0!==e?e:void 0;return l.createElement(uV,{keytipProps:f,disabled:bH(r)},(function(e){return l.createElement("div",{"data-ktp-target":e["data-ktp-target"],ref:function(e){return t._splitButton=e},role:CH(r),"aria-label":r.ariaLabel,className:i.splitContainer,"aria-disabled":bH(r),"aria-expanded":h?r.key===p:void 0,"aria-haspopup":!0,"aria-describedby":QF(r.ariaDescribedBy,m?t._ariaDescriptionId:void 0,e["aria-describedby"]),"aria-checked":g,"aria-posinset":a+1,"aria-setsize":s,onMouseEnter:t._onItemMouseEnterPrimary,onMouseLeave:d?d.bind(t,A(A({},r),{subMenuProps:null,items:null})):void 0,onMouseMove:t._onItemMouseMovePrimary,onKeyDown:t._onItemKeyDown,onClick:t._executeItemClick,onTouchStart:t._onTouchStart,tabIndex:0,"data-is-focusable":!0,"aria-roledescription":r["aria-roledescription"]},t._renderSplitPrimaryButton(r,i,o,c,u),t._renderSplitDivider(r),t._renderSplitIconButton(r,i,o,e),t._renderAriaDescription(m,i.screenReaderText))}))},t.prototype._renderSplitPrimaryButton=function(e,t,n,r,i){var o=this.props,a=o.contextualMenuItemAs,s=void 0===a?oV:a,c=o.onItemClick,u={key:e.key,disabled:bH(e)||e.primaryDisabled,name:e.name,text:e.text||e.name,secondaryText:e.secondaryText,className:t.splitPrimary,canCheck:e.canCheck,isChecked:e.isChecked,checked:e.checked,iconProps:e.iconProps,id:this._dismissLabelId,onClick:e.onClick,onRenderIcon:e.onRenderIcon,data:e.data,"data-is-focusable":!1},d=e.itemProps;return l.createElement("button",A({},KL(u,RL)),l.createElement(s,A({"data-is-focusable":!1,item:u,classNames:t,index:n,onCheckmarkClick:r&&c?c:void 0,hasIcons:i},d)))},t.prototype._renderSplitDivider=function(e){var t=e.getSplitButtonVerticalDividerClassNames||tV;return l.createElement(mV,{getClassNames:t})},t.prototype._renderSplitIconButton=function(e,t,n,r){var i=this.props,o=i.onItemMouseLeave,a=i.onItemMouseDown,s=i.openSubMenu,c=i.dismissSubMenu,u=i.dismissMenu,d=oV;this.props.item.contextualMenuItemAs&&(d=gH(this.props.item.contextualMenuItemAs,d)),this.props.contextualMenuItemAs&&(d=gH(this.props.contextualMenuItemAs,d));var p={onClick:this._onIconItemClick,disabled:bH(e),className:t.splitMenu,subMenuProps:e.subMenuProps,submenuIconProps:e.submenuIconProps,split:!0,key:e.key,"aria-labelledby":this._dismissLabelId},h=A(A({},KL(p,RL)),{onMouseEnter:this._onItemMouseEnterIcon,onMouseLeave:o?o.bind(this,e):void 0,onMouseDown:function(t){return a?a(e,t):void 0},onMouseMove:this._onItemMouseMoveIcon,"data-is-focusable":!1,"data-ktp-execute-target":r["data-ktp-execute-target"],"aria-haspopup":!0}),f=e.itemProps;return l.createElement("button",A({},h),l.createElement(d,A({componentRef:e.componentRef,item:p,classNames:t,index:n,hasIcons:!1,openSubMenu:s,dismissSubMenu:c,dismissMenu:u,getSubmenuTarget:this._getSubmenuTarget},f)))},t.prototype._handleTouchAndPointerEvent=function(e){var t=this,n=this.props.onTap;n&&n(e),this._lastTouchTimeoutId&&(this._async.clearTimeout(this._lastTouchTimeoutId),this._lastTouchTimeoutId=void 0),this._processingTouch=!0,this._lastTouchTimeoutId=this._async.setTimeout((function(){t._processingTouch=!1,t._lastTouchTimeoutId=void 0}),500)},t}(aV),vV=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._btn=l.createRef(),t._getMemoizedMenuButtonKeytipProps=at((function(e){return A(A({},e),{hasMenu:!0})})),t._renderAriaDescription=function(e,n){return e?l.createElement("span",{id:t._ariaDescriptionId,className:n},e):null},t._getSubmenuTarget=function(){return t._btn.current?t._btn.current:void 0},t}return C(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.item,r=t.classNames,i=t.index,o=t.focusableElementIndex,a=t.totalItemCount,s=t.hasCheckmarks,c=t.hasIcons,u=t.contextualMenuItemAs,d=t.expandedMenuItemKey,p=t.onItemMouseDown,h=t.onItemClick,f=t.openSubMenu,m=t.dismissSubMenu,g=t.dismissMenu,v=oV;n.contextualMenuItemAs&&(v=gH(n.contextualMenuItemAs,v)),u&&(v=gH(u,v));var y=vH(n),b=null!==y,C=CH(n),S=yH(n),E=n.itemProps,w=n.ariaLabel,x=n.ariaDescription,I=KL(n,RL);delete I.disabled;var k=n.role||C;x&&(this._ariaDescriptionId=hL());var T=QF(n.ariaDescribedBy,x?this._ariaDescriptionId:void 0,I["aria-describedby"]),_={className:r.root,onClick:this._onItemClick,onKeyDown:S?this._onItemKeyDown:void 0,onMouseEnter:this._onItemMouseEnter,onMouseLeave:this._onItemMouseLeave,onMouseDown:function(e){return p?p(n,e):void 0},onMouseMove:this._onItemMouseMove,href:n.href,title:n.title,"aria-label":w,"aria-describedby":T,"aria-haspopup":S||void 0,"aria-expanded":S?n.key===d:void 0,"aria-posinset":o+1,"aria-setsize":a,"aria-disabled":bH(n),"aria-checked":"menuitemcheckbox"!==k&&"menuitemradio"!==k||!b?void 0:!!y,"aria-selected":"menuitem"===k&&b?!!y:void 0,role:k,style:n.style},P=n.keytipProps;return P&&S&&(P=this._getMemoizedMenuButtonKeytipProps(P)),l.createElement(uV,{keytipProps:P,ariaDescribedBy:T,disabled:bH(n)},(function(t){return l.createElement("button",A({ref:e._btn},I,_,t),l.createElement(v,A({componentRef:n.componentRef,item:n,classNames:r,index:i,onCheckmarkClick:s&&h?h:void 0,hasIcons:c,openSubMenu:f,dismissSubMenu:m,dismissMenu:g,getSubmenuTarget:e._getSubmenuTarget},E)),e._renderAriaDescription(x,r.screenReaderText))}))},t}(aV);function yV(e,t){var n=l.useRef(t);return n.current||(n.current=hL(e)),n.current}!function(e){e[e.small=0]="small",e[e.medium=1]="medium",e[e.large=2]="large",e[e.xLarge=3]="xLarge",e[e.xxLarge=4]="xxLarge",e[e.xxxLarge=5]="xxxLarge",e[e.unknown=999]="unknown"}(fV||(fV={}));var bV,CV=[479,639,1023,1365,1919,99999999];function AV(){var e;return null!==(e=bV)&&void 0!==e?e:fV.large}function SV(e){try{return e.document.documentElement.clientWidth}catch(t){return e.innerWidth}}var EV=l.createContext({}),wV=gN(),xV=gN(),IV={items:[],shouldFocusOnMount:!0,gapSpace:0,directionalHint:7,beakWidth:16};function kV(e){for(var t=0,n=0,r=e;n<r.length;n++){var i=r[n];i.itemType!==BN.Divider&&i.itemType!==BN.Header&&(t+=i.customOnRenderListLength?i.customOnRenderListLength:1)}return t}function TV(e,t){var n=null==t?void 0:t.target,r=e.subMenuProps?e.subMenuProps.items:e.items;if(r){for(var i=[],o=0,a=r;o<a.length;o++){var s=a[o];if(s.preferMenuTargetAsEventTarget){var l=s.onClick,c=S(s,["onClick"]);i.push(A(A({},c),{onClick:FV(l,n)}))}else i.push(s)}return i}}var _V="ContextualMenu",PV=at((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return xn.apply(void 0,k([t,iV],e,!1))}}));function DV(e,t){var n=e.hidden,r=e.items,i=e.theme,o=e.className,a=e.id,s=e.target,c=l.useState(),u=c[0],d=c[1],p=l.useState(),h=p[0],f=p[1],m=l.useState(),g=m[0],v=m[1],y=yV(_V,a),b=l.useCallback((function(){v(void 0),d(void 0),f(void 0)}),[]),C=l.useCallback((function(e,t,n){var r=e.key;u!==r&&(t.focus(),v(n),d(r),f(t))}),[u]);l.useEffect((function(){n&&b()}),[n,b]);var A=function(e,t){var n=l.useRef(!1);l.useEffect((function(){return n.current=!0,function(){n.current=!1}}),[]);return function(r,i){i?e(r,i):n.current&&t()}}(t,b);return[u,C,function(){var e=OV(u,r),t=null;if(e&&(t={items:TV(e,{target:s}),target:h,onDismiss:A,isSubMenu:!0,id:y,shouldFocusOnMount:!0,shouldFocusOnContainer:g,directionalHint:cN(i)?8:11,className:o,gapSpace:0,isBeakVisible:!1},e.subMenuProps&&ZL(t,e.subMenuProps),e.preferMenuTargetAsEventTarget)){var n=e.onItemClick;t.onItemClick=FV(n,s)}return t},A]}var BV=l.memo(l.forwardRef((function(e,t){var n,r=vO(IV,e),i=(r.ref,S(r,["ref"])),o=l.useRef(null),a=JH(),s=yV(_V,i.id),c=function(e,t){var n;return null===(n=i.onDismiss)||void 0===n?void 0:n.call(i,e,t)},u=iz(i.target,o),d=u[0],p=u[1],h=function(e,t,n){var r=e.hidden,i=e.onRestoreFocus,o=l.useRef(),a=l.useCallback((function(e){var t,n;i?i(e):(null==e?void 0:e.documentContainsFocus)&&(null===(n=null===(t=o.current)||void 0===t?void 0:t.focus)||void 0===n||n.call(t))}),[i]);return bN((function(){var e,i;if(r)o.current&&(a({originalElement:o.current,containsFocus:!0,documentContainsFocus:(null===(i=Kt())||void 0===i?void 0:i.hasFocus())||!1}),o.current=void 0);else{var s=null==t?void 0:t.document.activeElement;(null===(e=n.current)||void 0===e?void 0:e.contains(s))||"BODY"===s.tagName||(o.current=s)}}),[r,null==t?void 0:t.document.activeElement,a,n]),[a]}(i,p,o)[0],f=DV(i,c),m=f[0],g=f[1],v=f[2],y=f[3],b=function(e){var t=e.delayUpdateFocusOnHover,n=e.hidden,r=l.useRef(!t),i=l.useRef(!1);l.useEffect((function(){r.current=!t,i.current=!n&&!t&&i.current}),[t,n]);var o=l.useCallback((function(){t&&(r.current=!1)}),[t]);return[r,i,o]}(i),C=b[0],E=b[1],w=b[2],x=function(e){var t=l.useRef(!0),n=l.useRef();return[function(){t.current||void 0===n.current?t.current=!1:(e.clearTimeout(n.current),n.current=void 0),n.current=e.setTimeout((function(){t.current=!0}),250)},t]}(a),I=x[0],k=x[1],T=function(e,t){var n=e.subMenuHoverDelay,r=void 0===n?250:n,i=l.useRef(void 0),o=function(){void 0!==i.current&&(t.clearTimeout(i.current),i.current=void 0)};return[o,function(e){i.current=t.setTimeout((function(){e(),o()}),r)},i]}(i,a),_=T[0],P=T[1],D=T[2],B=function(e,t){var n=l.useState(AV()),r=n[0],i=n[1],o=l.useCallback((function(){var t=function(e){var t=fV.small;if(!e)throw new Error("Content was rendered in a server environment without providing a default responsive mode. Call setResponsiveMode to define what the responsive mode is.");try{for(;SV(e)>CV[t];)t++}catch(e){t=AV()}return bV=t,t}(mt(e.current));r!==t&&i(t)}),[e,r]);return QH(iL(),"resize",o),l.useEffect((function(){void 0===t&&o()}),[t]),null!=t?t:r}(o,i.responsiveMode);!function(e){var t=e.hidden,n=void 0!==t&&t,r=e.onMenuDismissed,i=e.onMenuOpened,o=sV(n),a=l.useRef(i),s=l.useRef(r),c=l.useRef(e);a.current=i,s.current=r,c.current=e,l.useEffect((function(){var e,t;n&&!1===o?null===(e=s.current)||void 0===e||e.call(s,c.current):n||!1===o||null===(t=a.current)||void 0===t||t.call(a,c.current)}),[n,o]),l.useEffect((function(){return function(){var e;return null===(e=s.current)||void 0===e?void 0:e.call(s,c.current)}}),[])}(i);var R,M=function(e,t,n,r){var i=e.theme,o=e.isSubMenu,a=e.focusZoneProps,s=void 0===a?{}:a,c=s.checkForNoWrap,u=s.direction,d=void 0===u?LN.vertical:u,p=l.useRef(),h=function(e,n,r){var i=!1;return n(e)&&(t(e,r),e.preventDefault(),e.stopPropagation(),i=!0),i},f=function(e){return 27===e.which||function(e){var t=cN(i)?39:37;return!(e.which!==t||!o||d!==LN.vertical&&(!c||$N(e.target,"data-no-horizontal-wrap")))}(e)||38===e.which&&(e.altKey||e.metaKey)},m=function(e){p.current=RV(e);var t=27===e.which&&(dH()||fH());return h(e,f,t)},g=function(e){var t=p.current&&RV(e);return p.current=!1,!!t&&!(fH()||dH())};return[m,function(e){return h(e,g,!0)},function(e){if(!m(e)&&n.current){var t=!(!e.altKey&&!e.metaKey),r=38===e.which,i=e.which===tO;if(!t&&(r||i)){var o=r?NN(n.current,n.current.lastChild,!0,!1,!0,!0,void 0,void 0,void 0):(a=n.current,s=n.current.firstChild,HN(a,s,!0,!1,!1,!0,void 0,void 0,void 0,void 0));o&&(o.focus(),e.preventDefault(),e.stopPropagation())}}var a,s},function(e,t){var n=cN(i)?37:39;e.disabled||t.which!==n&&t.which!==eO&&(t.which!==tO||!t.altKey&&!t.metaKey)||(r(e,t.currentTarget),t.preventDefault())}]}(i,c,o,g),L=M[0],O=M[1],F=M[2],N=M[3],H=function(e,t,n,r,i,o,a,s,l,c,u,d,p){var h=e.target,f=function(){return!t.current||!o.current},m=function(e,t,n){var r=n||t.currentTarget;e.key!==a&&(c(),void 0===a&&r.focus(),yH(e)?(t.stopPropagation(),l((function(){r.focus(),u(e,r,!0)}))):l((function(){d(t),r.focus()})))},g=function(t,n,r){var i=TV(t,{target:h});if(c(),yH(t)||i&&i.length){if(t.key!==a){var o="boolean"==typeof e.shouldFocusOnContainer?e.shouldFocusOnContainer:"mouse"===n.nativeEvent.pointerType;u(t,r,o)}}else v(t,n);n.stopPropagation(),n.preventDefault()},v=function(t,n){if(!t.disabled&&!t.isDisabled){t.preferMenuTargetAsEventTarget&&NV(n,h);var r=!1;t.onClick?r=!!t.onClick(n,t):e.onItemClick&&(r=!!e.onItemClick(n,t)),!r&&n.defaultPrevented||p(n,!0)}};return[function(e,t,n){i.current&&(o.current=!0),f()||m(e,t,n)},function(e,a,s){var l=a.currentTarget;i.current&&(o.current=!0,t.current&&void 0===n.current&&l!==(null==r?void 0:r.document.activeElement)&&m(e,a,s))},function(e,t){var n;if(!f()&&(c(),void 0===a))if(s.current.setActive)try{s.current.setActive()}catch(e){}else null===(n=s.current)||void 0===n||n.focus()},function(e,t){g(e,t,t.currentTarget)},function(e,t){v(e,t),t.stopPropagation()},v,g]}(i,k,D,p,C,E,m,o,P,_,g,y,c),z=H[0],V=H[1],U=H[2],j=H[3],W=H[4],$=H[5],q=H[6],G=function(e,t,n){var r=0,i=e.items,o=e.totalItemCount,a=e.hasCheckmarks,s=e.hasIcons;return l.createElement("ul",{className:t.list,onKeyDown:L,onKeyUp:O,role:"presentation"},i.map((function(e,n){var i=K(e,n,r,o,a,s,t);if(e.itemType!==BN.Divider&&e.itemType!==BN.Header){var l=e.customOnRenderListLength?e.customOnRenderListLength:1;r+=l}return i})))},K=function(e,t,n,r,o,a,s){var c,u,d=[],p=e.iconProps||{iconName:"None"},h=e.getItemClassNames,f=e.itemProps,g=f?f.styles:void 0,v=e.itemType===BN.Divider?e.className:void 0,y=e.submenuIconProps?e.submenuIconProps.className:"";if(h)u=h(i.theme,bH(e),m===e.key,!!vH(e),!!e.href,"None"!==p.iconName,e.className,v,p.className,y,e.primaryDisabled);else{var b={theme:i.theme,disabled:bH(e),expanded:m===e.key,checked:!!vH(e),isAnchorLink:!!e.href,knownIcon:"None"!==p.iconName,itemClassName:e.className,dividerClassName:v,iconClassName:p.className,subMenuClassName:y,primaryDisabled:e.primaryDisabled};u=xV(PV(null===(c=s.subComponentStyles)||void 0===c?void 0:c.menuItem,g),b)}switch("-"!==e.text&&"-"!==e.name||(e.itemType=BN.Divider),e.itemType){case BN.Divider:d.push(Z(t,u));break;case BN.Header:d.push(Z(t,u));var C=Q(e,u,s,t,o,a);d.push(X(C,e.key||t,u,e.title));break;case BN.Section:d.push(Y(e,u,s,t,o,a));break;default:var A=function(){return J(e,u,t,n,r,o,a)},S=i.onRenderContextualMenuItem?i.onRenderContextualMenuItem(e,A):A();d.push(X(S,e.key||t,u,e.title))}return l.createElement(l.Fragment,{key:e.key},d)},Y=function(e,t,n,r,i,o){var a=e.sectionProps;if(a){var c,u;if(a.title){var d=void 0,p="";if("string"==typeof a.title){var h=s+a.title.replace(/\s/g,"");d={key:"section-".concat(a.title,"-title"),itemType:BN.Header,text:a.title,id:h},p=h}else{var f=a.title.id||s+a.title.key.replace(/\s/g,"");d=A(A({},a.title),{id:f}),p=f}d&&(u={role:"group","aria-labelledby":p},c=Q(d,t,n,r,i,o))}if(a.items&&a.items.length>0){var m=0;return l.createElement("li",{role:"presentation",key:a.key||e.key||"section-".concat(r)},l.createElement("div",A({},u),l.createElement("ul",{className:n.list,role:"presentation"},a.topDivider&&Z(r,t,!0,!0),c&&X(c,e.key||r,t,e.title),a.items.map((function(e,t){var r=K(e,t,m,kV(a.items),i,o,n);if(e.itemType!==BN.Divider&&e.itemType!==BN.Header){var s=e.customOnRenderListLength?e.customOnRenderListLength:1;m+=s}return r})),a.bottomDivider&&Z(r,t,!1,!0))))}}},X=function(e,t,n,r){return l.createElement("li",{role:"presentation",title:r,key:t,className:n.item},e)},Z=function(e,t,n,r){return r||e>0?l.createElement("li",{role:"separator",key:"separator-"+e+(void 0===n?"":n?"-top":"-bottom"),className:t.divider,"aria-hidden":"true"}):null},J=function(e,t,n,r,o,a,s){if(e.onRender)return e.onRender(A({"aria-posinset":r+1,"aria-setsize":o},e),c);var u={item:e,classNames:t,index:n,focusableElementIndex:r,totalItemCount:o,hasCheckmarks:a,hasIcons:s,contextualMenuItemAs:i.contextualMenuItemAs,onItemMouseEnter:z,onItemMouseLeave:U,onItemMouseMove:V,onItemMouseDown:MV,executeItemClick:$,onItemKeyDown:N,expandedMenuItemKey:m,openSubMenu:g,dismissSubMenu:y,dismissMenu:c};if(e.href){var d=dV;return e.contextualMenuItemWrapperAs&&(d=gH(e.contextualMenuItemWrapperAs,d)),l.createElement(d,A({},u,{onItemClick:W}))}if(e.split&&yH(e)){var p=gV;return e.contextualMenuItemWrapperAs&&(p=gH(e.contextualMenuItemWrapperAs,p)),l.createElement(p,A({},u,{onItemClick:j,onItemClickBase:q,onTap:_}))}var h=vV;return e.contextualMenuItemWrapperAs&&(h=gH(e.contextualMenuItemWrapperAs,h)),l.createElement(h,A({},u,{onItemClick:j,onItemClickBase:q}))},Q=function(e,t,n,r,o,a){var s=oV;e.contextualMenuItemAs&&(s=gH(e.contextualMenuItemAs,s)),i.contextualMenuItemAs&&(s=gH(i.contextualMenuItemAs,s));var c=e.itemProps,u=e.id,d=c&&KL(c,GL);return l.createElement("div",A({id:u,className:n.header},d,{style:e.style}),l.createElement(s,A({item:e,classNames:t,index:r,onCheckmarkClick:o?j:void 0,hasIcons:a},c)))},ee=i.isBeakVisible,te=i.items,ne=i.labelElementId,re=i.id,ie=i.className,oe=i.beakWidth,ae=i.directionalHint,se=i.directionalHintForRTL,le=i.alignTargetEdge,ce=i.gapSpace,ue=i.coverTarget,de=i.ariaLabel,pe=i.doNotLayer,he=i.target,fe=i.bounds,me=i.useTargetWidth,ge=i.useTargetAsMinWidth,ve=i.directionalHintFixed,ye=i.shouldFocusOnMount,be=i.shouldFocusOnContainer,Ce=i.title,Ae=i.styles,Se=i.theme,Ee=i.calloutProps,we=i.onRenderSubMenu,xe=void 0===we?LV:we,Ie=i.onRenderMenuList,ke=void 0===Ie?function(e,t){return G(e,Pe)}:Ie,Te=i.focusZoneProps,_e=i.getMenuClassNames,Pe=_e?_e(Se,ie):wV(Ae,{theme:Se,className:ie}),De=function e(t){for(var n=0,r=t;n<r.length;n++){var i=r[n];if(i.iconProps)return!0;if(i.itemType===BN.Section&&i.sectionProps&&e(i.sectionProps.items))return!0}return!1}(te),Be=A(A({direction:LN.vertical,handleTabKey:1,isCircularNavigation:!0,"data-tabster":'{"uncontrolled": {}, "focusable": { "excludeFromMover": true }}'},Te),{className:nL(Pe.root,null===(n=i.focusZoneProps)||void 0===n?void 0:n.className)}),Re=function(e){return e.some((function(e){return!!e.canCheck||!(!e.sectionProps||!e.sectionProps.items.some((function(e){return!0===e.canCheck})))}))}(te),Me=m&&!0!==i.hidden?v():null;ee=void 0===ee?B<=fV.medium:ee;var Le=d.current;if((me||ge)&&Le&&Le.offsetWidth){var Oe=Le.getBoundingClientRect().width-2;me?R={width:Oe}:ge&&(R={minWidth:Oe})}if(te&&te.length>0){var Fe=kV(te),Ne=Pe.subComponentStyles?Pe.subComponentStyles.callout:void 0;return l.createElement(EV.Consumer,null,(function(e){return l.createElement(zz,A({styles:Ne,onRestoreFocus:h},Ee,{target:he||e.target,isBeakVisible:ee,beakWidth:oe,directionalHint:ae,directionalHintForRTL:se,gapSpace:ce,coverTarget:ue,doNotLayer:pe,className:nL("ms-ContextualMenu-Callout",Ee&&Ee.className),setInitialFocus:ye,onDismiss:i.onDismiss||e.onDismiss,onScroll:I,bounds:fe,directionalHintFixed:ve,alignTargetEdge:le,hidden:i.hidden||e.hidden,ref:t}),l.createElement("div",{style:R,ref:o,id:re,className:Pe.container,tabIndex:be?0:-1,onKeyDown:F,onKeyUp:O,onFocusCapture:w,"aria-label":de,"aria-labelledby":ne,role:"menu"},Ce&&l.createElement("div",{className:Pe.title}," ",Ce," "),te&&te.length?function(e,t){var n=i.focusZoneAs,r=void 0===n?uH:n;return l.createElement(r,A({},t),e)}(ke({ariaLabel:de,items:te,totalItemCount:Fe,hasCheckmarks:Re,hasIcons:De,defaultMenuItemRenderer:function(e){return function(e,t){var n=e.index,r=e.focusableElementIndex,i=e.totalItemCount,o=e.hasCheckmarks,a=e.hasIcons;return K(e,n,r,i,o,a,t)}(e,Pe)},labelElementId:ne},(function(e,t){return G(e,Pe)})),Be):null,Me&&xe(Me,LV)),l.createElement(cO,null))}))}return null})),(function(e,t){return!(t.shouldUpdateWhenHidden||!e.hidden||!t.hidden)||XL(e,t)}));function RV(e){return 18===e.which||"Meta"===e.key}function MV(e,t){var n;null===(n=e.onMouseDown)||void 0===n||n.call(e,e,t)}function LV(e,t){throw Error("ContextualMenuBase: onRenderSubMenu callback is null or undefined. Please ensure to set `onRenderSubMenu` property either manually or with `styled` helper.")}function OV(e,t){for(var n=0,r=t;n<r.length;n++){var i=r[n];if(i.itemType===BN.Section&&i.sectionProps){var o=OV(e,i.sectionProps.items);if(o)return o}else if(i.key&&i.key===e)return i}}function FV(e,t){return e?function(n,r){return NV(n,t),e(n,r)}:e}function NV(e,t){e&&t&&(e.persist(),t instanceof Event?e.target=t.target:t instanceof Element&&(e.target=t))}BV.displayName="ContextualMenuBase";var HV={root:"ms-ContextualMenu",container:"ms-ContextualMenu-container",list:"ms-ContextualMenu-list",header:"ms-ContextualMenu-header",title:"ms-ContextualMenu-title",isopen:"is-open"};function zV(e){return l.createElement(VV,A({},e))}var VV=aN(BV,(function(e){var t=e.className,n=e.theme,r=ut(HV,n),i=n.fonts,o=n.semanticColors,a=n.effects;return{root:[n.fonts.medium,r.root,r.isopen,{backgroundColor:o.menuBackground,minWidth:"180px"},t],container:[r.container,{selectors:{":focus":{outline:0}}}],list:[r.list,r.isopen,{listStyleType:"none",margin:"0",padding:"0"}],header:[r.header,i.small,{fontWeight:Xe.semibold,color:o.menuHeader,background:"none",backgroundColor:"transparent",border:"none",height:Xz,lineHeight:Xz,cursor:"default",padding:"0px 6px",userSelect:"none",textAlign:"left"}],title:[r.title,{fontSize:i.mediumPlus.fontSize,paddingRight:"14px",paddingLeft:"14px",paddingBottom:"5px",paddingTop:"5px",backgroundColor:o.menuItemBackgroundPressed}],subComponentStyles:{callout:{root:{boxShadow:a.elevation8}},menuItem:{}}}}),(function(e){return{onRenderSubMenu:e.onRenderSubMenu?(t=e.onRenderSubMenu,n=zV,MN(t)(n)):zV};var t,n}),{scope:"ContextualMenu"}),UV=VV;UV.displayName="ContextualMenu";var jV={msButton:"ms-Button",msButtonHasMenu:"ms-Button--hasMenu",msButtonIcon:"ms-Button-icon",msButtonMenuIcon:"ms-Button-menuIcon",msButtonLabel:"ms-Button-label",msButtonDescription:"ms-Button-description",msButtonScreenReaderText:"ms-Button-screenReaderText",msButtonFlexContainer:"ms-Button-flexContainer",msButtonTextContainer:"ms-Button-textContainer"},WV=at((function(e,t,n,r,i,o,a,s,l,c,u){var d,p,h=ut(jV,e||{}),f=c&&!u;return In(t.__shadowConfig__,{root:[h.msButton,t.root,r,l&&["is-checked",t.rootChecked],f&&["is-expanded",t.rootExpanded,(d={},d[":hover .".concat(h.msButtonIcon)]=t.iconExpandedHovered,d[":hover .".concat(h.msButtonMenuIcon)]=t.menuIconExpandedHovered||t.rootExpandedHovered,d[":hover"]=t.rootExpandedHovered,d)],s&&[jV.msButtonHasMenu,t.rootHasMenu],a&&["is-disabled",t.rootDisabled],!a&&!f&&!l&&(p={":hover":t.rootHovered},p[":hover .".concat(h.msButtonLabel)]=t.labelHovered,p[":hover .".concat(h.msButtonIcon)]=t.iconHovered,p[":hover .".concat(h.msButtonDescription)]=t.descriptionHovered,p[":hover .".concat(h.msButtonMenuIcon)]=t.menuIconHovered,p[":focus"]=t.rootFocused,p[":active"]=t.rootPressed,p[":active .".concat(h.msButtonIcon)]=t.iconPressed,p[":active .".concat(h.msButtonDescription)]=t.descriptionPressed,p[":active .".concat(h.msButtonMenuIcon)]=t.menuIconPressed,p),a&&l&&[t.rootCheckedDisabled],!a&&l&&{":hover":t.rootCheckedHovered,":active":t.rootCheckedPressed},n],flexContainer:[h.msButtonFlexContainer,t.flexContainer],textContainer:[h.msButtonTextContainer,t.textContainer],icon:[h.msButtonIcon,i,t.icon,f&&t.iconExpanded,l&&t.iconChecked,a&&t.iconDisabled],label:[h.msButtonLabel,t.label,l&&t.labelChecked,a&&t.labelDisabled],menuIcon:[h.msButtonMenuIcon,o,t.menuIcon,l&&t.menuIconChecked,a&&!u&&t.menuIconDisabled,!a&&!f&&!l&&{":hover":t.menuIconHovered,":active":t.menuIconPressed},f&&["is-expanded",t.menuIconExpanded]],description:[h.msButtonDescription,t.description,l&&t.descriptionChecked,a&&t.descriptionDisabled],screenReaderText:[h.msButtonScreenReaderText,t.screenReaderText]})})),$V=at((function(e,t,n,r,i){return{root:te(e.splitButtonMenuButton,n&&[e.splitButtonMenuButtonExpanded],t&&[e.splitButtonMenuButtonDisabled],r&&!t&&[e.splitButtonMenuButtonChecked],i&&!t&&[{":focus":e.splitButtonMenuFocused}]),splitButtonContainer:te(e.splitButtonContainer,!t&&r&&[e.splitButtonContainerChecked,{":hover":e.splitButtonContainerCheckedHovered}],!t&&!r&&[{":hover":e.splitButtonContainerHovered,":focus":e.splitButtonContainerFocused}],t&&e.splitButtonContainerDisabled),icon:te(e.splitButtonMenuIcon,t&&e.splitButtonMenuIconDisabled,!t&&i&&e.splitButtonMenuIcon),flexContainer:te(e.splitButtonFlexContainer),divider:te("ms-SplitButton-divider",e.splitButtonDivider,(i||t)&&e.splitButtonDividerDisabled)}})),qV=function(e){function t(t){var n=e.call(this,t)||this;return n._buttonElement=l.createRef(),n._splitButtonContainer=l.createRef(),n._mergedRef=NF(),n._renderedVisibleMenu=!1,n._getMemoizedMenuButtonKeytipProps=at((function(e){return A(A({},e),{hasMenu:!0})})),n._onRenderIcon=function(e,t){var r=n.props.iconProps;if(r&&(void 0!==r.iconName||r.imageProps)){var i=r.className,o=r.imageProps,a=S(r,["className","imageProps"]);if(r.styles)return l.createElement(DN,A({className:nL(n._classNames.icon,i),imageProps:o},a));if(r.iconName)return l.createElement(TN,A({className:nL(n._classNames.icon,i)},a));if(o)return l.createElement(RN,A({className:nL(n._classNames.icon,i),imageProps:o},a))}return null},n._onRenderTextContents=function(){var e=n.props,t=e.text,r=e.children,i=e.secondaryText,o=void 0===i?n.props.description:i,a=e.onRenderText,s=void 0===a?n._onRenderText:a,c=e.onRenderDescription,u=void 0===c?n._onRenderDescription:c;return t||"string"==typeof r||o?l.createElement("span",{className:n._classNames.textContainer},s(n.props,n._onRenderText),u(n.props,n._onRenderDescription)):[s(n.props,n._onRenderText),u(n.props,n._onRenderDescription)]},n._onRenderText=function(){var e=n.props.text,t=n.props.children;return void 0===e&&"string"==typeof t&&(e=t),n._hasText()?l.createElement("span",{key:n._labelId,className:n._classNames.label,id:n._labelId},e):null},n._onRenderChildren=function(){var e=n.props.children;return"string"==typeof e?null:e},n._onRenderDescription=function(e){var t=e.secondaryText,r=void 0===t?n.props.description:t;return r?l.createElement("span",{key:n._descriptionId,className:n._classNames.description,id:n._descriptionId},r):null},n._onRenderAriaDescription=function(){var e=n.props.ariaDescription;return e?l.createElement("span",{className:n._classNames.screenReaderText,id:n._ariaDescriptionId},e):null},n._onRenderMenuIcon=function(e){var t=n.props.menuIconProps;return l.createElement(TN,A({iconName:"ChevronDown"},t,{className:n._classNames.menuIcon}))},n._onRenderMenu=function(e){var t=n.props.menuAs?gH(n.props.menuAs,UV):UV;return l.createElement(t,A({},e))},n._onDismissMenu=function(e){var t=n.props.menuProps;t&&t.onDismiss&&t.onDismiss(e),e&&e.defaultPrevented||n._dismissMenu()},n._dismissMenu=function(){n._menuShouldFocusOnMount=void 0,n._menuShouldFocusOnContainer=void 0,n.setState({menuHidden:!0})},n._openMenu=function(e,t){void 0===t&&(t=!0),n.props.menuProps&&(n._menuShouldFocusOnContainer=e,n._menuShouldFocusOnMount=t,n._renderedVisibleMenu=!0,n.setState({menuHidden:!1}))},n._onToggleMenu=function(e){var t=!0;n.props.menuProps&&!1===n.props.menuProps.shouldFocusOnMount&&(t=!1),n.state.menuHidden?n._openMenu(e,t):n._dismissMenu()},n._onSplitContainerFocusCapture=function(e){var t=n._splitButtonContainer.current;!t||e.target&&UF(e.target,t)||t.focus()},n._onSplitButtonPrimaryClick=function(e){n.state.menuHidden||n._dismissMenu();var t=n._processingTouch&&!n.props.toggle;!t&&n.props.onClick?n.props.onClick(e):t&&n._onMenuClick(e)},n._onKeyDown=function(e){!n.props.disabled||e.which!==eO&&32!==e.which?n.props.disabled||(n.props.menuProps?n._onMenuKeyDown(e):void 0!==n.props.onKeyDown&&n.props.onKeyDown(e)):(e.preventDefault(),e.stopPropagation())},n._onKeyUp=function(e){n.props.disabled||void 0===n.props.onKeyUp||n.props.onKeyUp(e)},n._onKeyPress=function(e){n.props.disabled||void 0===n.props.onKeyPress||n.props.onKeyPress(e)},n._onMouseUp=function(e){n.props.disabled||void 0===n.props.onMouseUp||n.props.onMouseUp(e)},n._onMouseDown=function(e){n.props.disabled||void 0===n.props.onMouseDown||n.props.onMouseDown(e)},n._onClick=function(e){n.props.disabled||(n.props.menuProps?n._onMenuClick(e):void 0!==n.props.onClick&&n.props.onClick(e))},n._onSplitButtonContainerKeyDown=function(e){e.which===eO||32===e.which?n._buttonElement.current&&(n._buttonElement.current.click(),e.preventDefault(),e.stopPropagation()):n._onMenuKeyDown(e)},n._onMenuKeyDown=function(e){var t;if(!n.props.disabled){n.props.onKeyDown&&n.props.onKeyDown(e);var r=38===e.which,i=e.which===tO;if(!e.defaultPrevented&&n._isValidMenuOpenKey(e)){var o=n.props.onMenuClick;o&&o(e,n.props),n._onToggleMenu(!1),e.preventDefault(),e.stopPropagation()}e.which!==eO&&32!==e.which||Ct(!0,e.target,null===(t=n.context)||void 0===t?void 0:t.registeredProviders),e.altKey||e.metaKey||!r&&!i||!n.state.menuHidden&&n.props.menuProps&&((void 0!==n._menuShouldFocusOnMount?n._menuShouldFocusOnMount:n.props.menuProps.shouldFocusOnMount)||(e.preventDefault(),e.stopPropagation(),n._menuShouldFocusOnMount=!0,n.forceUpdate()))}},n._onTouchStart=function(){n._isSplitButton&&n._splitButtonContainer.current&&!("onpointerdown"in n._splitButtonContainer.current)&&n._handleTouchAndPointerEvent()},n._onMenuClick=function(e){var t=n.props,r=t.onMenuClick,i=t.menuProps;r&&r(e,n.props);var o="boolean"==typeof(null==i?void 0:i.shouldFocusOnContainer)?i.shouldFocusOnContainer:"mouse"===e.nativeEvent.pointerType;e.defaultPrevented||(n._onToggleMenu(o),e.preventDefault(),e.stopPropagation())},WF(n),n._async=new YF(n),n._events=new XF(n),n.props.split,n._labelId=hL(),n._descriptionId=hL(),n._ariaDescriptionId=hL(),n.state={menuHidden:!0},n}return C(t,e),Object.defineProperty(t.prototype,"_isSplitButton",{get:function(){return!!this.props.menuProps&&!!this.props.onClick&&!0===this.props.split},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e,t=this.props,n=t.ariaDescription,r=t.ariaLabel,i=t.ariaHidden,o=t.className,a=t.disabled,s=t.allowDisabledFocus,l=t.primaryDisabled,c=t.secondaryText,u=void 0===c?this.props.description:c,d=t.href,p=t.iconProps,h=t.menuIconProps,f=t.styles,m=t.checked,g=t.variantClassName,v=t.theme,y=t.toggle,b=t.getClassNames,C=t.role,A=this.state.menuHidden,S=a||l;this._classNames=b?b(v,o,g,p&&p.className,h&&h.className,S,m,!A,!!this.props.menuProps,this.props.split,!!s):WV(v,f,o,g,p&&p.className,h&&h.className,S,!!this.props.menuProps,m,!A,this.props.split);var E=this,w=E._ariaDescriptionId,x=E._labelId,I=E._descriptionId,k=!S&&!!d,T=k?"a":"button",_=KL(ZL(k?{}:{type:"button"},this.props.rootProps,this.props),k?BL:RL,["disabled"]),P=r||_["aria-label"],D=void 0;n?D=w:u&&this.props.onRenderDescription!==JF?D=I:_["aria-describedby"]&&(D=_["aria-describedby"]);var B=void 0;_["aria-labelledby"]?B=_["aria-labelledby"]:D&&!P&&(B=this._hasText()?x:void 0);var R=!(!1===this.props["data-is-focusable"]||a&&!s||this._isSplitButton),M="menuitemcheckbox"===C||"checkbox"===C,L=M||!0===y?!!m:void 0,O=ZL(_,((e={className:this._classNames.root,ref:this._mergedRef(this.props.elementRef,this._buttonElement),disabled:S&&!s,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseDown:this._onMouseDown,onMouseUp:this._onMouseUp,onClick:this._onClick,"aria-label":P,"aria-labelledby":B,"aria-describedby":D,"aria-disabled":S,"data-is-focusable":R})[M?"aria-checked":"aria-pressed"]=L,e));if(i&&(O["aria-hidden"]=!0),this._isSplitButton)return this._onRenderSplitButtonContent(T,O);if(this.props.menuProps){var F=this.props.menuProps.id,N=void 0===F?"".concat(this._labelId,"-menu"):F;ZL(O,{"aria-expanded":!A,"aria-controls":A?null:N,"aria-haspopup":!0})}return this._onRenderContent(T,O)},t.prototype.componentDidMount=function(){this._isSplitButton&&this._splitButtonContainer.current&&("onpointerdown"in this._splitButtonContainer.current&&this._events.on(this._splitButtonContainer.current,"pointerdown",this._onPointerDown,!0),"onpointerup"in this._splitButtonContainer.current&&this.props.onPointerUp&&this._events.on(this._splitButtonContainer.current,"pointerup",this.props.onPointerUp,!0))},t.prototype.componentDidUpdate=function(e,t){this.props.onAfterMenuDismiss&&!t.menuHidden&&this.state.menuHidden&&this.props.onAfterMenuDismiss()},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.focus=function(){var e,t;this._isSplitButton&&this._splitButtonContainer.current?(Ct(!0,void 0,null===(e=this.context)||void 0===e?void 0:e.registeredProviders),this._splitButtonContainer.current.focus()):this._buttonElement.current&&(Ct(!0,void 0,null===(t=this.context)||void 0===t?void 0:t.registeredProviders),this._buttonElement.current.focus())},t.prototype.dismissMenu=function(){this._dismissMenu()},t.prototype.openMenu=function(e,t){this._openMenu(e,t)},t.prototype._onRenderContent=function(e,t){var n=this,r=this.props,i=e,o=r.menuIconProps,a=r.menuProps,s=r.onRenderIcon,c=void 0===s?this._onRenderIcon:s,u=r.onRenderAriaDescription,d=void 0===u?this._onRenderAriaDescription:u,p=r.onRenderChildren,h=void 0===p?this._onRenderChildren:p,f=r.onRenderMenu,m=void 0===f?this._onRenderMenu:f,g=r.onRenderMenuIcon,v=void 0===g?this._onRenderMenuIcon:g,y=r.disabled,b=r.keytipProps;b&&a&&(b=this._getMemoizedMenuButtonKeytipProps(b));var C=function(e){return l.createElement(i,A({},t,e),l.createElement("span",{className:n._classNames.flexContainer,"data-automationid":"splitbuttonprimary"},c(r,n._onRenderIcon),n._onRenderTextContents(),d(r,n._onRenderAriaDescription),h(r,n._onRenderChildren),!n._isSplitButton&&(a||o||n.props.onRenderMenuIcon)&&v(n.props,n._onRenderMenuIcon),a&&!a.doNotLayer&&n._shouldRenderMenu()&&m(n._getMenuProps(a),n._onRenderMenu)))},S=b?l.createElement(uV,{keytipProps:this._isSplitButton?void 0:b,ariaDescribedBy:t["aria-describedby"],disabled:y},(function(e){return C(e)})):C();return a&&a.doNotLayer?l.createElement(l.Fragment,null,S,this._shouldRenderMenu()&&m(this._getMenuProps(a),this._onRenderMenu)):l.createElement(l.Fragment,null,S,l.createElement(cO,null))},t.prototype._shouldRenderMenu=function(){var e=this.state.menuHidden,t=this.props,n=t.persistMenu,r=t.renderPersistedMenuHiddenOnMount;return!e||!(!n||!this._renderedVisibleMenu&&!r)},t.prototype._hasText=function(){return null!==this.props.text&&(void 0!==this.props.text||"string"==typeof this.props.children)},t.prototype._getMenuProps=function(e){var t=this.props.persistMenu,n=this.state.menuHidden;return e.ariaLabel||e.labelElementId||!this._hasText()||(e=A(A({},e),{labelElementId:this._labelId})),A(A({id:this._labelId+"-menu",directionalHint:4},e),{shouldFocusOnContainer:this._menuShouldFocusOnContainer,shouldFocusOnMount:this._menuShouldFocusOnMount,hidden:t?n:void 0,className:nL("ms-BaseButton-menuhost",e.className),target:this._isSplitButton?this._splitButtonContainer.current:this._buttonElement.current,onDismiss:this._onDismissMenu})},t.prototype._onRenderSplitButtonContent=function(e,t){var n=this,r=this.props,i=r.styles,o=void 0===i?{}:i,a=r.disabled,s=r.allowDisabledFocus,c=r.checked,u=r.getSplitButtonClassNames,d=r.primaryDisabled,p=r.menuProps,h=r.toggle,f=r.role,m=r.primaryActionButtonProps,g=this.props.keytipProps,v=this.state.menuHidden,y=u?u(!!a,!v,!!c,!!s):o&&$V(o,!!a,!v,!!c,!!d);ZL(t,{onClick:void 0,onPointerDown:void 0,onPointerUp:void 0,tabIndex:-1,"data-is-focusable":!1}),g&&p&&(g=this._getMemoizedMenuButtonKeytipProps(g));var b=KL(t,[],["disabled"]);m&&ZL(t,m);var C=function(r){return l.createElement("div",A({},b,{"data-ktp-target":r?r["data-ktp-target"]:void 0,role:f||"button","aria-disabled":a,"aria-haspopup":!0,"aria-expanded":!v,"aria-pressed":h?!!c:void 0,"aria-describedby":QF(t["aria-describedby"],r?r["aria-describedby"]:void 0),className:y&&y.splitButtonContainer,onKeyDown:n._onSplitButtonContainerKeyDown,onTouchStart:n._onTouchStart,ref:n._splitButtonContainer,"data-is-focusable":!0,onClick:a||d?void 0:n._onSplitButtonPrimaryClick,tabIndex:!a&&!d||s?0:void 0,"aria-roledescription":t["aria-roledescription"],onFocusCapture:n._onSplitContainerFocusCapture}),l.createElement("span",{style:{display:"flex",width:"100%"}},n._onRenderContent(e,t),n._onRenderSplitButtonMenuButton(y,r),n._onRenderSplitButtonDivider(y)))};return g?l.createElement(uV,{keytipProps:g,disabled:a},(function(e){return C(e)})):C()},t.prototype._onRenderSplitButtonDivider=function(e){return e&&e.divider?l.createElement("span",{className:e.divider,"aria-hidden":!0,onClick:function(e){e.stopPropagation()}}):null},t.prototype._onRenderSplitButtonMenuButton=function(e,n){var r=this.props,i=r.allowDisabledFocus,o=r.checked,a=r.disabled,s=r.splitButtonMenuProps,c=r.splitButtonAriaLabel,u=r.primaryDisabled,d=this.state.menuHidden,p=this.props.menuIconProps;void 0===p&&(p={iconName:"ChevronDown"});var h=A(A({},s),{styles:e,checked:o,disabled:a,allowDisabledFocus:i,onClick:this._onMenuClick,menuProps:void 0,iconProps:A(A({},p),{className:this._classNames.menuIcon}),ariaLabel:c,"aria-haspopup":!0,"aria-expanded":!d,"data-is-focusable":!1});return l.createElement(t,A({},h,{"data-ktp-execute-target":n?n["data-ktp-execute-target"]:n,onMouseDown:this._onMouseDown,tabIndex:u&&!i?0:-1}))},t.prototype._onPointerDown=function(e){var t=this.props.onPointerDown;t&&t(e),"touch"===e.pointerType&&(this._handleTouchAndPointerEvent(),e.preventDefault(),e.stopImmediatePropagation())},t.prototype._handleTouchAndPointerEvent=function(){var e=this;void 0!==this._lastTouchTimeoutId&&(this._async.clearTimeout(this._lastTouchTimeoutId),this._lastTouchTimeoutId=void 0),this._processingTouch=!0,this._lastTouchTimeoutId=this._async.setTimeout((function(){e._processingTouch=!1,e._lastTouchTimeoutId=void 0,e.state.menuHidden&&e.focus()}),500)},t.prototype._isValidMenuOpenKey=function(e){return this.props.menuTriggerKeyCode?e.which===this.props.menuTriggerKeyCode:!!this.props.menuProps&&e.which===tO&&(e.altKey||e.metaKey)},t.defaultProps={baseClassName:"ms-Button",styles:{},split:!1},t.contextType=lO,t}(l.Component),GV=function(e){var t=e.stylesheetKey,n=e.children,r=iN(),i=r.useAdoptedStylesheetEx,o=r.useMergeStylesRootStylesheets,a=r.useWindow,s=l.useContext(XN),c=o(),u=a();return i(d,s,c,u),i(t,s,c,u),n(!!s)},KV=at((function(e,t,n){return{stylesheetKey:e,inShadow:t,window:n,__isShadowConfig__:!0}})),YV=at((function(e,t,n){var r,i=null!==(r=null!=t?t:e)&&void 0!==r?r:{};return i.__shadowConfig__=n,i}));function XV(e,t,n){return function(r){var i,o=(i=function(i){function o(e){var t=i.call(this,e)||this;return t._styleCache={},t._onSettingChanged=t._onSettingChanged.bind(t),t}return C(o,i),o.prototype.componentDidMount=function(){Bt.observe(this._onSettingChanged)},o.prototype.componentWillUnmount=function(){Bt.unobserve(this._onSettingChanged)},o.prototype.render=function(){var i=this;return l.createElement(GV,{stylesheetKey:e},(function(o){return l.createElement(aL.Consumer,null,(function(a){var s,c=Bt.getSettings(t,e,a.customizations),u=null!==(s=i.context.window)&&void 0!==s?s:mt(),d=KV(e,o,u),p=i.props;if(c.styles&&"function"==typeof c.styles&&(c.styles=c.styles(A(A({},c),p))),n&&c.styles){if(i._styleCache.default!==c.styles||i._styleCache.component!==p.styles){var h=wn(c.styles,p.styles);h.__shadowConfig__=d,i._styleCache.default=c.styles,i._styleCache.component=p.styles,i._styleCache.merged=h}return l.createElement(r,A({},c,p,{styles:i._styleCache.merged}))}var f=YV(c.styles,p.styles,d);return l.createElement(r,A({},c,p,{styles:f}))}))}))},o.prototype._onSettingChanged=function(){this.forceUpdate()},o}(l.Component),i.displayName="Customized"+e,i.contextType=rL,i);return function(e,t){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}(r,o)}}var ZV={outline:0},JV=function(e){return{fontSize:e,margin:"0 4px",height:"16px",lineHeight:"16px",textAlign:"center",flexShrink:0}},QV=at((function(e){var t,n,r=e.semanticColors,i=e.effects,o=e.fonts,a=r.buttonBorder,s=r.disabledBackground,l=r.disabledText,c={left:-2,top:-2,bottom:-2,right:-2,outlineColor:"ButtonText"};return{root:[At(e,{inset:1,highContrastStyle:c,borderColor:"transparent"}),e.fonts.medium,{border:"1px solid "+a,borderRadius:i.roundedCorner2,boxSizing:"border-box",cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",padding:"0 16px",textDecoration:"none",textAlign:"center",userSelect:"none",":active > span":{position:"relative",left:0,top:0}}],rootDisabled:[At(e,{inset:1,highContrastStyle:c,borderColor:"transparent"}),{backgroundColor:s,borderColor:s,color:l,cursor:"default",":hover":ZV,":focus":ZV}],iconDisabled:(t={color:l},t[dt]={color:"GrayText"},t),menuIconDisabled:(n={color:l},n[dt]={color:"GrayText"},n),flexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},description:{display:"block"},textContainer:{flexGrow:1,display:"block"},icon:JV(o.mediumPlus.fontSize),menuIcon:JV(o.small.fontSize),label:{margin:"0 4px",lineHeight:"100%",display:"block"},screenReaderText:Qe}})),eU=at((function(e,t){var n,r,i,o,a,s,l,c,u,d,p,h,f,m,g,v,y,b=e.effects,C=e.palette,S=e.semanticColors,E={left:-2,top:-2,bottom:-2,right:-2,border:"none"},w={position:"absolute",width:1,right:31,top:8,bottom:8};return wn({splitButtonContainer:[At(e,{highContrastStyle:E,inset:2,pointerEvents:"none"}),{display:"inline-flex",".ms-Button--default":{borderTopRightRadius:"0",borderBottomRightRadius:"0",borderRight:"none",flexGrow:"1"},".ms-Button--primary":(n={borderTopRightRadius:"0",borderBottomRightRadius:"0",border:"none",flexGrow:"1",":hover":{border:"none"},":active":{border:"none"}},n[dt]=A(A({color:"WindowText",backgroundColor:"Window",border:"1px solid WindowText",borderRightWidth:"0"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{":hover":{backgroundColor:"Highlight",border:"1px solid Highlight",borderRightWidth:"0",color:"HighlightText"},":active":{border:"1px solid Highlight"}}),n),".ms-Button--default + .ms-Button":(r={},r[dt]={border:"1px solid WindowText",borderLeftWidth:"0",":hover":{backgroundColor:"HighlightText",borderColor:"Highlight",color:"Highlight",".ms-Button-menuIcon":A({backgroundColor:"HighlightText",color:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"})}},r),'.ms-Button--default + .ms-Button[aria-expanded="true"]':(i={},i[dt]={backgroundColor:"HighlightText",borderColor:"Highlight",color:"Highlight",".ms-Button-menuIcon":A({backgroundColor:"HighlightText",color:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"})},i),".ms-Button--primary + .ms-Button":(o={border:"none"},o[dt]={border:"1px solid WindowText",borderLeftWidth:"0",":hover":{borderLeftWidth:"0",backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText",".ms-Button-menuIcon":A(A({},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{color:"HighlightText"})}},o),'.ms-Button--primary + .ms-Button[aria-expanded="true"]':(a={},a[dt]=A(A({backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{".ms-Button-menuIcon":{color:"HighlightText"}}),a),".ms-Button.is-disabled":(s={},s[dt]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},s)}],splitButtonContainerHovered:{".ms-Button--default.is-disabled":(l={backgroundColor:S.buttonBackgroundDisabled,color:S.buttonTextDisabled},l[dt]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},l),".ms-Button--primary.is-disabled":(c={backgroundColor:S.primaryButtonBackgroundDisabled,color:S.primaryButtonTextDisabled},c[dt]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},c)},splitButtonContainerChecked:{".ms-Button--primary":(u={},u[dt]=A({color:"Window",backgroundColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),u)},splitButtonContainerCheckedHovered:{".ms-Button--primary":(d={},d[dt]=A({color:"Window",backgroundColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),d)},splitButtonContainerFocused:{outline:"none!important"},splitButtonMenuButton:(p={padding:6,height:"auto",boxSizing:"border-box",borderRadius:0,borderTopRightRadius:b.roundedCorner2,borderBottomRightRadius:b.roundedCorner2,border:"1px solid ".concat(C.neutralSecondaryAlt),borderLeft:"none",outline:"transparent",userSelect:"none",display:"inline-block",textDecoration:"none",textAlign:"center",cursor:"pointer",verticalAlign:"top",width:32,marginLeft:-1,marginTop:0,marginRight:0,marginBottom:0},p[dt]={".ms-Button-menuIcon":{color:"WindowText"}},p),splitButtonDivider:A(A({},w),(h={},h[dt]={backgroundColor:"WindowText"},h)),splitButtonDividerDisabled:A(A({},w),(f={},f[dt]={backgroundColor:"GrayText"},f)),splitButtonMenuButtonDisabled:(m={pointerEvents:"none",border:"none",":hover":{cursor:"default"},".ms-Button--primary":(g={},g[dt]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},g),".ms-Button-menuIcon":(v={},v[dt]={color:"GrayText"},v)},m[dt]={color:"GrayText",border:"1px solid GrayText",backgroundColor:"Window"},m),splitButtonFlexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},splitButtonContainerDisabled:(y={outline:"none",border:"none"},y[dt]=A({color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),y),splitButtonMenuFocused:A({},At(e,{highContrastStyle:E,inset:2}))},t)})),tU=at((function(e,t,n,r){var i,o,a,s,l,c,u,d,p,h,f,m,g,v=QV(e),y=eU(e),b=e.palette,C=e.semanticColors;return wn(v,y,{root:[At(e,{inset:2,highContrastStyle:{left:4,top:4,bottom:4,right:4,border:"none"},borderColor:"transparent"}),e.fonts.medium,(i={minWidth:"40px",backgroundColor:b.white,color:b.neutralPrimary,padding:"0 4px",border:"none",borderRadius:0},i[dt]={border:"none"},i)],rootHovered:(o={backgroundColor:b.neutralLighter,color:b.neutralDark},o[dt]={color:"Highlight"},o[".".concat(jV.msButtonIcon)]={color:b.themeDarkAlt},o[".".concat(jV.msButtonMenuIcon)]={color:b.neutralPrimary},o),rootPressed:(a={backgroundColor:b.neutralLight,color:b.neutralDark},a[".".concat(jV.msButtonIcon)]={color:b.themeDark},a[".".concat(jV.msButtonMenuIcon)]={color:b.neutralPrimary},a),rootChecked:(s={backgroundColor:b.neutralLight,color:b.neutralDark},s[".".concat(jV.msButtonIcon)]={color:b.themeDark},s[".".concat(jV.msButtonMenuIcon)]={color:b.neutralPrimary},s),rootCheckedHovered:(l={backgroundColor:b.neutralQuaternaryAlt},l[".".concat(jV.msButtonIcon)]={color:b.themeDark},l[".".concat(jV.msButtonMenuIcon)]={color:b.neutralPrimary},l),rootExpanded:(c={backgroundColor:b.neutralLight,color:b.neutralDark},c[".".concat(jV.msButtonIcon)]={color:b.themeDark},c[".".concat(jV.msButtonMenuIcon)]={color:b.neutralPrimary},c),rootExpandedHovered:{backgroundColor:b.neutralQuaternaryAlt},rootDisabled:(u={backgroundColor:b.white},u[".".concat(jV.msButtonIcon)]=(d={color:C.disabledBodySubtext},d[dt]=A({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),d),u[dt]=A({color:"GrayText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),u),splitButtonContainer:(p={height:"100%"},p[dt]={border:"none"},p),splitButtonDividerDisabled:(h={},h[dt]={backgroundColor:"Window"},h),splitButtonDivider:{backgroundColor:b.neutralTertiaryAlt},splitButtonMenuButton:{backgroundColor:b.white,border:"none",borderTopRightRadius:"0",borderBottomRightRadius:"0",color:b.neutralSecondary,":hover":(f={backgroundColor:b.neutralLighter,color:b.neutralDark},f[dt]={color:"Highlight"},f[".".concat(jV.msButtonIcon)]={color:b.neutralPrimary},f),":active":(m={backgroundColor:b.neutralLight},m[".".concat(jV.msButtonIcon)]={color:b.neutralPrimary},m)},splitButtonMenuButtonDisabled:(g={backgroundColor:b.white},g[dt]=A({color:"GrayText",border:"none",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),g),splitButtonMenuButtonChecked:{backgroundColor:b.neutralLight,color:b.neutralDark,":hover":{backgroundColor:b.neutralQuaternaryAlt}},splitButtonMenuButtonExpanded:{backgroundColor:b.neutralLight,color:b.black,":hover":{backgroundColor:b.neutralQuaternaryAlt}},splitButtonMenuIcon:{color:b.neutralPrimary},splitButtonMenuIconDisabled:{color:b.neutralTertiary},label:{fontWeight:"normal"},icon:{color:b.themePrimary},menuIcon:{color:b.neutralSecondary}},t)})),nU=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return C(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,n=e.theme;return l.createElement(qV,A({},this.props,{variantClassName:"ms-Button--commandBar",styles:tU(n,t),onRenderDescription:JF}))},E([XV("CommandBarButton",["theme","styles"],!0)],t)}(l.Component),rU=function(e,t,n){for(var r=0,i=e;r<i.length;r++){var o=i[r];n[t.register(o,!0)]=o}},iU=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];e.unregister(t[i],i,!0),delete t[i]}},oU=function(e){var t=lV.getInstance(),n=e.className,r=e.overflowItems,i=e.keytipSequences,o=e.itemSubMenuProvider,a=e.onRenderOverflowButton,s=rz({}),c=l.useCallback((function(e){return o?o(e):e.subMenuProps?e.subMenuProps.items:void 0}),[o]),u=l.useMemo((function(){var e=[],n=[];return i?null==r||r.forEach((function(r){var o,a=r.keytipProps;if(a){var s={content:a.content,keySequences:a.keySequences,disabled:a.disabled||!(!r.disabled&&!r.isDisabled),hasDynamicChildren:a.hasDynamicChildren,hasMenu:a.hasMenu};a.hasDynamicChildren||c(r)?(s.onExecute=t.menuExecute.bind(t,i,null===(o=null==r?void 0:r.keytipProps)||void 0===o?void 0:o.keySequences),s.hasOverflowSubMenu=!0):s.onExecute=a.onExecute,e.push(s);var l=A(A({},r),{keytipProps:A(A({},a),{overflowSetSequence:i})});null==n||n.push(l)}else null==n||n.push(r)})):n=r,{modifiedOverflowItems:n,keytipsToRegister:e}}),[r,c,t,i]),d=u.modifiedOverflowItems;return function(e,t,n){var r=sV(e);l.useEffect((function(){r&&(iU(n,r),rU(t,n,e))})),l.useEffect((function(){return rU(t,n,e),function(){iU(n,e)}}),[])}(s,u.keytipsToRegister,t),l.createElement("div",{className:n},a(d))},aU=gN(),sU=l.forwardRef((function(e,t){var n=l.useRef(null),r=yO(n,t);!function(e,t){var n=function(){var e;return null!==(e=oL())&&void 0!==e?e:"undefined"!=typeof document?document:void 0}();l.useImperativeHandle(e.componentRef,(function(){return{focus:function(e,n){var r=!1;return t.current&&(r=FN(t.current,n)),r},focusElement:function(e){var r=!1;return!!e&&(t.current&&ON(t.current,e)&&(e.focus(),r=(null==n?void 0:n.activeElement)===e),r)}}}),[t,n])}(e,n);var i=e.items,o=e.overflowItems,a=e.className,s=e.styles,c=e.vertical,u=e.role,d=e.overflowSide,p=void 0===d?"end":d,h=e.onRenderItem,f=aU(s,{className:a,vertical:c}),m=!!o&&o.length>0;return l.createElement("div",A({},KL(e,GL),{role:u||"group","aria-orientation":"menubar"===u?!0===c?"vertical":"horizontal":void 0,className:f.root,ref:r}),"start"===p&&m&&l.createElement(oU,A({},e,{className:f.overflowButton})),i&&i.map((function(e,t){return l.createElement("div",{className:f.item,key:e.key,role:"none"},h(e))})),"end"===p&&m&&l.createElement(oU,A({},e,{className:f.overflowButton})))}));sU.displayName="OverflowSet";var lU,cU={flexShrink:0,display:"inherit"},uU=aN(sU,(function(e){var t=e.className;return{root:["ms-OverflowSet",{position:"relative",display:"flex",flexWrap:"nowrap"},e.vertical&&{flexDirection:"column"},t],item:["ms-OverflowSet-item",cU],overflowButton:["ms-OverflowSet-overflowButton",cU]}}),void 0,{scope:"OverflowSet"});!function(e){e[e.horizontal=0]="horizontal",e[e.vertical=1]="vertical"}(lU||(lU={}));var dU=function(e){var t;void 0===e&&(t={},e={getCachedMeasurement:function(e){if(e&&e.cacheKey&&t.hasOwnProperty(e.cacheKey))return t[e.cacheKey]},addMeasurementToCache:function(e,n){e.cacheKey&&(t[e.cacheKey]=n)}});var n,r=e;function i(e,t){var n=r.getCachedMeasurement(e);if(void 0!==n)return n;var i=t();return r.addMeasurementToCache(e,i),i}function o(e,t,o){for(var a=e,s=i(e,o);s>n;){var l=t(a);if(void 0===l)return{renderedData:a,resizeDirection:void 0,dataToMeasure:void 0};if(void 0===(s=r.getCachedMeasurement(l)))return{dataToMeasure:l,resizeDirection:"shrink"};a=l}return{renderedData:a,resizeDirection:void 0,dataToMeasure:void 0}}return{getNextState:function(e,t,a,s){if(void 0!==s||void 0!==t.dataToMeasure){if(s){if(n&&t.renderedData&&!t.dataToMeasure)return A(A({},t),function(e,t,r,i){var o;return o=e>n?i?{resizeDirection:"grow",dataToMeasure:i(r)}:{resizeDirection:"shrink",dataToMeasure:t}:{resizeDirection:"shrink",dataToMeasure:r},n=e,A(A({},o),{measureContainer:!1})}(s,e.data,t.renderedData,e.onGrowData));n=s}var l=A(A({},t),{measureContainer:!1});return t.dataToMeasure&&(l="grow"===t.resizeDirection&&e.onGrowData?A(A({},l),function(e,t,a,s){for(var l=e,c=i(e,a);c<n;){var u=t(l);if(void 0===u)return{renderedData:l,resizeDirection:void 0,dataToMeasure:void 0};if(void 0===(c=r.getCachedMeasurement(u)))return{dataToMeasure:u};l=u}return A({resizeDirection:"shrink"},o(l,s,a))}(t.dataToMeasure,e.onGrowData,a,e.onReduceData)):A(A({},l),o(t.dataToMeasure,e.onReduceData,a))),l}},shouldRenderDataForMeasurement:function(e){return!(!e||void 0!==r.getCachedMeasurement(e))},getInitialResizeGroupState:function(e){return{dataToMeasure:A({},e),resizeDirection:"grow",measureContainer:!0}}}},pU=l.createContext({isMeasured:!1}),hU={position:"fixed",visibility:"hidden"},fU={position:"relative"};function mU(e,t){var n;switch(t.type){case"resizeData":return A({},t.value);case"dataToMeasure":return A(A({},e),{dataToMeasure:t.value,resizeDirection:"grow",measureContainer:!0});default:return A(A({},e),((n={})[t.type]=t.value,n))}}var gU={isMeasured:!0},vU=l.forwardRef((function(e,t){var n=l.useRef(null),r=yO(n,t),i=function(e,t){var n=rz(dU),r=l.useRef(null),i=l.useRef(null),o=l.useRef(!1),a=JH(),s=function(e,t,n){var r=rz((function(){return t.getInitialResizeGroupState(e.data)})),i=l.useReducer(mU,r),o=i[0],a=i[1];l.useEffect((function(){a({type:"dataToMeasure",value:e.data})}),[e.data]);var s=l.useRef(r);return s.current=A({},o),[s,l.useCallback((function(e){e&&a({type:"resizeData",value:e})}),[]),l.useCallback((function(){n.current&&a({type:"measureContainer",value:!0})}),[n])]}(e,n,t),c=s[0],u=s[1],d=s[2];l.useEffect((function(){var t;c.current.renderedData&&(o.current=!0,null===(t=e.dataDidRender)||void 0===t||t.call(e,c.current.renderedData))})),l.useEffect((function(){a.requestAnimationFrame((function(){var a=void 0;if(c.current.measureContainer&&t.current){var s=t.current.getBoundingClientRect();a=e.direction===lU.vertical?s.height:s.width}var l=n.getNextState(e,c.current,(function(){var t=o.current?i:r;if(!t.current)return 0;var n=t.current.getBoundingClientRect();return e.direction===lU.vertical?n.height:n.width}),a);u(l)}),t.current)})),QH(iL(),"resize",a.debounce(d,16,{leading:!0}));var p=n.shouldRenderDataForMeasurement(c.current.dataToMeasure),h=!o.current&&p;return[c.current.dataToMeasure,c.current.renderedData,d,r,i,p,h]}(e,n),o=i[0],a=i[1],s=i[2],c=i[3],u=i[4],d=i[5],p=i[6];l.useImperativeHandle(e.componentRef,(function(){return{remeasure:s}}),[s]);var h=e.className,f=e.onRenderData,m=KL(e,GL,["data"]);return l.createElement("div",A({},m,{className:h,ref:r}),l.createElement("div",{style:fU},d&&!p&&l.createElement("div",{style:hU,ref:u},l.createElement(pU.Provider,{value:gU},f(o))),l.createElement("div",{ref:c,style:p?hU:void 0,"data-automation-id":"visibleContent"},p?f(o):a&&f(a))))}));vU.displayName="ResizeGroupBase";var yU=vU;const bU=e=>`overflow_${e.appId}_${e.overflowTabs.join("_")}`,CU=(0,l.forwardRef)((function({app:e,darkMode:t,webview:n,appLocalizedResources:r,currentTab:i,onSwitchTabs:o},s){const c=(0,l.useMemo)((()=>{const t=e&&uR(e),n=e&&pR(e).map(((e,t)=>({name:e.name||"Tab",entityId:e.entityId,visible:!0,index:t})))||[],r={appId:t,tabs:n,visibleTabs:n.filter((e=>e.entityId!==i)).map((e=>e.index)),overflowTabs:[]};return r.cacheKey=bU(r),r}),[e,i]);if((0,l.useEffect)((()=>{const e=e=>{if(e?.data&&c.tabs.length>1){const t=c.tabs.findIndex((e=>e.entityId===i));if(e.data.nextTab){const e=t<0||t>=c.tabs.length-1?0:t+1;return void(c.tabs[e]&&o(c.tabs[e].entityId))}if(e.data.previousTab){const e=t<1?c.tabs.length-1:t-1;return void(c.tabs[e]&&o(c.tabs[e].entityId))}}};return n.addEventListener("message",e),()=>{n.removeEventListener("message",e)}}),[n,c,i,o]),c.tabs.length<=1)return(0,a.jsx)("div",{className:oM.popOutTabButtons});const u=n=>{const r=n,s=r.key===i,l=t?"#ffffff":e&&function(e){return cR(e)?e.titleDefinition.accentColor:e.accentColor}(e)||"#242424",c=s?l:t?"#666666":"#808080";return(0,a.jsx)(nU,{text:r.name,onClick:()=>o(r.key),className:"tabButton",styles:{label:{borderColor:"transparent",borderBottomColor:s?l:void 0,borderStyle:"solid",borderWidth:"2px",padding:"2px 0"},labelHovered:{borderBottomColor:c}}})},d=e=>{if("object"!=typeof e||!e.length)return null;const t={items:e.map((e=>({key:e.key,text:e.name,onClick:()=>o(e.key)})))},n=OR(r,"IDS_APPHOST_MORE_TABS","<numTabs> more").replace("<numTabs>",t.items.length.toString());return(0,a.jsx)(nU,{className:"tabButton",text:n,menuProps:t})},p=`${oM.dialogHeaderText} ${oM.popOutTabButtons}`;return(0,a.jsx)("div",{className:p,ref:s,children:(0,a.jsx)(yU,{data:c,onGrowData:e=>{const t=e.overflowTabs.shift();if("number"==typeof t)return e.tabs[t]&&(e.tabs[t].visible=!0),e.visibleTabs.push(t),e.cacheKey=bU(e),e},onReduceData:e=>{const t=e.visibleTabs.pop();if("number"==typeof t)return e.tabs[t]&&(e.tabs[t].visible=!1),e.overflowTabs.unshift(t),e.cacheKey=bU(e),e},onRenderData:e=>{const t=e.tabs.filter((e=>e.visible)).map((e=>({key:e.entityId,name:e.name,index:e.index}))),n=e.overflowTabs.flatMap((t=>e.tabs[t]?{key:e.tabs[t].entityId,name:e.tabs[t].name,index:t}:[]));return(0,a.jsx)(uU,{items:t,overflowItems:n,onRenderItem:u,onRenderOverflowButton:d})}})})})),AU=({app:e,darkMode:t,highContrastMode:n,webview:r,appLocalizedResources:i,currentTab:o,onSwitchTabs:s})=>{const c=(0,l.useRef)(null),u=(0,l.useRef)(null),d=(0,l.useRef)(null),[p,h]=(0,l.useState)(!1);(0,l.useEffect)((()=>{const t=c.current;if(t){const n=new ResizeObserver((()=>{let n;u.current?.querySelectorAll(".tabButton").forEach((e=>{const t=e.getBoundingClientRect();if(!n)return void(n=t);const r=Math.max(n.x+n.width,t.x+t.width),i=Math.max(n.y+n.height,t.y+t.height);n.x=Math.min(n.x,t.x),n.y=Math.min(n.y,t.y),n.width=r-n.x,n.height=i-n.y})),r.postMessage({updatePopOutHeader:{appName:e&&dR(e),popOutHeader:t.getBoundingClientRect(),closeButton:d.current?.getBoundingClientRect(),tabButtons:n}})}));return n.observe(t),()=>{n.unobserve(t)}}return()=>{}})),(0,l.useEffect)((()=>{const e=e=>{e?.data&&("boolean"!=typeof e.data.isMaximized||h(e.data.isMaximized))};return r.addEventListener("message",e),()=>{r.removeEventListener("message",e)}}),[r]);const f=(0,l.useCallback)((()=>{r.postMessage({closePopOut:!0})}),[r]),m=(0,l.useCallback)((()=>{p?r.postMessage({restorePopOut:!0}):r.postMessage({maximizePopOut:!0})}),[r,p]),g=(0,l.useCallback)((()=>{r.postMessage({minimizePopOut:!0})}),[r]),v=t?`${oM.dialogHeader} ${oM.darkMode}`:oM.dialogHeader;return(0,a.jsxs)("div",{id:"outlookPopOutHeader",ref:c,className:v,children:[(0,a.jsx)(uM,{app:e,darkMode:t,highContrastMode:n}),(0,a.jsx)(CU,{app:e,darkMode:t,webview:r,appLocalizedResources:i,currentTab:o,onSwitchTabs:s,ref:u}),(0,a.jsx)(EM,{webview:r,ref:d,isMaximized:p,onClose:f,onMaximize:m,onMinimize:g})]})},SU=({children:e,...t})=>{const{darkMode:n}=t,r=t.darkMode?`${oM.rootContainer} ${oM.darkMode}`:oM.rootContainer;return(0,a.jsx)(bO,{theme:n?OF:void 0,className:oM.rootContainer,children:(0,a.jsxs)(VI,{theme:n?PF:LF,className:r,children:[(0,a.jsx)(AU,{...t}),(0,a.jsx)("div",{className:oM.contentContainer,children:e})]})})};var EU=A;function wU(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=e;return i.isSlot?0===(n=l.Children.toArray(n)).length?i(t):i(A(A({},t),{children:n})):l.createElement.apply(c,k([e,t],n,!1))}function xU(e,t){void 0===t&&(t={});var n=t.defaultProp,r=void 0===n?"children":n;return function(t,n,i,o,a){if(l.isValidElement(n))return n;var s=function(e,t){var n,r;return"string"==typeof t||"number"==typeof t||"boolean"==typeof t?((n={})[e]=t,r=n):r=t,r}(r,n),c=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];for(var i={},o=[],a=0,s=n;a<s.length;a++){var l=s[a];o.push(l&&l.className),EU(i,l)}return i.className=ne([e,o],{rtl:cN(t)}),i}(o,a,t,s);if(i){if(i.component){var u=i.component;return l.createElement(u,A({},c))}if(i.render)return i.render(c,e)}return l.createElement(e,A({},c))}}var IU=at((function(e){return xU(e)}));function kU(e,t){var n={},r=e,i=function(e){if(t.hasOwnProperty(e)){var i=function(n){for(var i=[],o=1;o<arguments.length;o++)i[o-1]=arguments[o];if(i.length>0)throw new Error("Any module using getSlots must use withSlots. Please see withSlots javadoc for more info.");return function(e,t,n,r,i,o){return void 0!==e.create?e.create(t,n,r,i):IU(e)(t,n,r,i,o)}(t[e],n,r[e],r.slots&&r.slots[e],r._defaultStyles&&r._defaultStyles[e],r.theme)};i.isSlot=!0,n[e]=i}};for(var o in t)i(o);return n}function TU(e,t){void 0===t&&(t={});var n=t.factoryOptions,r=(void 0===n?{}:n).defaultProp,i=function(n){var r,i,o,a=(r=t.displayName,i=l.useContext(aL),o=t.fields,Bt.getSettings(o||["theme","styles","tokens"],r,i.customizations)),s=t.state;s&&(n=A(A({},n),s(n)));var c=n.theme||a.theme,u=_U(n,c,t.tokens,a.tokens,n.tokens),d=function(e,t,n){for(var r=[],i=3;i<arguments.length;i++)r[i-3]=arguments[i];return wn.apply(void 0,r.map((function(r){return"function"==typeof r?r(e,t,n):r})))}(n,c,u,t.styles,a.styles,n.styles),p=A(A({},n),{styles:d,tokens:u,_defaultStyles:d,theme:c});return e(p)};return i.displayName=t.displayName||e.name,r&&(i.create=xU(i,{defaultProp:r})),EU(i,t.statics),i}function _U(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];for(var i={},o=0,a=n;o<a.length;o++){var s=a[o];s&&(s="function"==typeof s?s(e,t):s,Array.isArray(s)&&(s=_U.apply(void 0,k([e,t],s,!1))),EU(i,s))}return i}var PU={root:"ms-StackItem"},DU={start:"flex-start",end:"flex-end"},BU=function(e,t){return t.spacing.hasOwnProperty(e)?t.spacing[e]:e},RU=function(e){var t=parseFloat(e),n=isNaN(t)?0:t,r=isNaN(t)?"":t.toString();return{value:n,unit:e.substring(r.toString().length)||"px"}},MU=function(e,t){if(void 0===e||"number"==typeof e||""===e)return e;var n=e.split(" ");return n.length<2?BU(e,t):n.reduce((function(e,n){return BU(e,t)+" "+BU(n,t)}))},LU={start:"flex-start",end:"flex-end"},OU={root:"ms-Stack",inner:"ms-Stack-inner",child:"ms-Stack-child"},FU=TU((function(e){var t=e.children,n=KL(e,IL);return null==t?null:wU(kU(e,{root:"div"}).root,A({},n),t)}),{displayName:"StackItem",styles:function(e,t,n){var r=e.grow,i=e.shrink,o=e.disableShrink,a=e.align,s=e.verticalFill,l=e.order,c=e.className,u=e.basis,d=void 0===u?"auto":u,p=ut(PU,t);return{root:[t.fonts.medium,p.root,{flexBasis:d,margin:n.margin,padding:n.padding,height:s?"100%":"auto",width:"auto"},r&&{flexGrow:!0===r?1:r},(o||!r&&!i)&&{flexShrink:0},i&&!o&&{flexShrink:1},a&&{alignSelf:DU[a]||a},l&&{order:l},c]}}});function NU(e,t){var n=t.disableShrink,r=t.enableScopedSelectors,i=t.doNotRenderFalsyValues,o=l.Children.toArray(e);return l.Children.map(o,(function(e){if(!e)return i?null:e;if(!l.isValidElement(e))return e;if(e.type===l.Fragment)return e.props.children?NU(e.props.children,{disableShrink:n,enableScopedSelectors:r,doNotRenderFalsyValues:i}):null;var t,o=e,a={};(t=e)&&"object"==typeof t&&t.type&&t.type.displayName===FU.displayName&&(a={shrink:!n});var s=o.props.className;return l.cloneElement(o,A(A(A(A({},a),o.props),s&&{className:s}),r&&{className:nL(OU.child,s)}))}))}var HU,zU,VU=TU((function(e){var t=e.as,n=void 0===t?"div":t,r=e.disableShrink,i=void 0!==r&&r,o=e.doNotRenderFalsyValues,a=void 0!==o&&o,s=e.enableScopedSelectors,l=void 0!==s&&s,c=e.wrap,u=S(e,["as","disableShrink","doNotRenderFalsyValues","enableScopedSelectors","wrap"]),d=yV("stack-inner"),p=NU(e.children,{disableShrink:i,enableScopedSelectors:l,doNotRenderFalsyValues:a}),h=KL(u,IL),f=kU(e,{root:n,inner:"div"});return wU(f.root,A({},h),c?wU(f.inner,{key:d},p):p)}),{displayName:"Stack",styles:function(e,t,n){var r,i,o,a,s,l,c,u,d,p,h,f,m,g=e.className,v=e.disableShrink,y=e.enableScopedSelectors,b=e.grow,C=e.horizontal,S=e.horizontalAlign,E=e.reversed,w=e.verticalAlign,x=e.verticalFill,I=e.wrap,k=ut(OU,t),T=n&&n.childrenGap?n.childrenGap:e.gap,_=n&&n.maxHeight?n.maxHeight:e.maxHeight,P=n&&n.maxWidth?n.maxWidth:e.maxWidth,D=n&&n.padding?n.padding:e.padding,B=function(e,t){if(void 0===e||""===e)return{rowGap:{value:0,unit:"px"},columnGap:{value:0,unit:"px"}};if("number"==typeof e)return{rowGap:{value:e,unit:"px"},columnGap:{value:e,unit:"px"}};var n=e.split(" ");if(n.length>2)return{rowGap:{value:0,unit:"px"},columnGap:{value:0,unit:"px"}};if(2===n.length)return{rowGap:RU(BU(n[0],t)),columnGap:RU(BU(n[1],t))};var r=RU(BU(e,t));return{rowGap:r,columnGap:r}}(T,t),R=B.rowGap,M=B.columnGap,L="".concat(-.5*M.value).concat(M.unit),O="".concat(-.5*R.value).concat(R.unit),F={textOverflow:"ellipsis"},N="> "+(y?"."+OU.child:"*"),H=((r={})["".concat(N,":not(.").concat(PU.root,")")]={flexShrink:0},r);return I?{root:[k.root,{flexWrap:"wrap",maxWidth:P,maxHeight:_,width:"auto",overflow:"visible",height:"100%"},S&&(i={},i[C?"justifyContent":"alignItems"]=LU[S]||S,i),w&&(o={},o[C?"alignItems":"justifyContent"]=LU[w]||w,o),g,{display:"flex"},C&&{height:x?"100%":"auto"}],inner:[k.inner,(a={display:"flex",flexWrap:"wrap",marginLeft:L,marginRight:L,marginTop:O,marginBottom:O,overflow:"visible",boxSizing:"border-box",padding:MU(D,t),width:0===M.value?"100%":"calc(100% + ".concat(M.value).concat(M.unit,")"),maxWidth:"100vw"},a[N]=A({margin:"".concat(.5*R.value).concat(R.unit," ").concat(.5*M.value).concat(M.unit)},F),a),v&&H,S&&(s={},s[C?"justifyContent":"alignItems"]=LU[S]||S,s),w&&(l={},l[C?"alignItems":"justifyContent"]=LU[w]||w,l),C&&(c={flexDirection:E?"row-reverse":"row",height:0===R.value?"100%":"calc(100% + ".concat(R.value).concat(R.unit,")")},c[N]={maxWidth:0===M.value?"100%":"calc(100% - ".concat(M.value).concat(M.unit,")")},c),!C&&(u={flexDirection:E?"column-reverse":"column",height:"calc(100% + ".concat(R.value).concat(R.unit,")")},u[N]={maxHeight:0===R.value?"100%":"calc(100% - ".concat(R.value).concat(R.unit,")")},u)]}:{root:[k.root,(d={display:"flex",flexDirection:C?E?"row-reverse":"row":E?"column-reverse":"column",flexWrap:"nowrap",width:"auto",height:x?"100%":"auto",maxWidth:P,maxHeight:_,padding:MU(D,t),boxSizing:"border-box"},d[N]=F,d),v&&H,b&&{flexGrow:!0===b?1:b},S&&(p={},p[C?"justifyContent":"alignItems"]=LU[S]||S,p),w&&(h={},h[C?"alignItems":"justifyContent"]=LU[w]||w,h),C&&M.value>0&&(f={},f["".concat(N,E?":not(:last-child)":":not(:first-child)")]={marginLeft:"".concat(M.value).concat(M.unit)},f),!C&&R.value>0&&(m={},m["".concat(N,E?":not(:last-child)":":not(:first-child)")]={marginTop:"".concat(R.value).concat(R.unit)},m),g]}},statics:{Item:FU}});!function(e){e[e.xSmall=0]="xSmall",e[e.small=1]="small",e[e.medium=2]="medium",e[e.large=3]="large"}(HU||(HU={})),function(e){e[e.normal=0]="normal",e[e.large=1]="large"}(zU||(zU={}));var UU=function(e){function t(t){var n=e.call(this,t)||this;return n.state={isRendered:void 0===mt()},n}return C(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props.delay;this._timeoutId=window.setTimeout((function(){e.setState({isRendered:!0})}),t)},t.prototype.componentWillUnmount=function(){this._timeoutId&&clearTimeout(this._timeoutId)},t.prototype.render=function(){return this.state.isRendered?l.Children.only(this.props.children):null},t.defaultProps={delay:0},t}(l.Component),jU=gN(),WU=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return C(t,e),t.prototype.render=function(){var e=this.props,t=e.type,n=e.size,r=e.ariaLabel,i=e.ariaLive,o=e.styles,a=e.label,s=e.theme,c=e.className,u=e.labelPosition,d=r,p=KL(this.props,GL,["size"]),h=n;void 0===h&&void 0!==t&&(h=t===zU.large?HU.large:HU.medium);var f=jU(o,{theme:s,size:h,className:c,labelPosition:u});return l.createElement("div",A({},p,{className:f.root}),l.createElement("div",{className:f.circle}),a&&l.createElement("div",{className:f.label},a),d&&l.createElement("div",{role:"status","aria-live":i},l.createElement(UU,null,l.createElement("div",{className:f.screenReaderText},d))))},t.defaultProps={size:HU.medium,ariaLive:"polite",labelPosition:"bottom"},t}(l.Component),$U={root:"ms-Spinner",circle:"ms-Spinner-circle",label:"ms-Spinner-label"},qU=at((function(){return re({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}})})),GU=aN(WU,(function(e){var t,n=e.theme,r=e.size,i=e.className,o=e.labelPosition,a=n.palette,s=ut($U,n);return{root:[s.root,{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},"top"===o&&{flexDirection:"column-reverse"},"right"===o&&{flexDirection:"row"},"left"===o&&{flexDirection:"row-reverse"},i],circle:[s.circle,{boxSizing:"border-box",borderRadius:"50%",borderWidth:"1.5px",borderStyle:"solid",borderTopColor:a.themePrimary,borderRightColor:a.themeLight,borderBottomColor:a.themeLight,borderLeftColor:a.themeLight,animationName:qU(),animationDuration:"1.3s",animationIterationCount:"infinite",animationTimingFunction:"cubic-bezier(.53,.21,.29,.67)",selectors:(t={},t[dt]=A({borderTopColor:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t)},r===HU.xSmall&&["ms-Spinner--xSmall",{width:12,height:12}],r===HU.small&&["ms-Spinner--small",{width:16,height:16}],r===HU.medium&&["ms-Spinner--medium",{width:20,height:20}],r===HU.large&&["ms-Spinner--large",{width:28,height:28}]],label:[s.label,n.fonts.small,{color:a.themePrimary,margin:"8px 0 0",textAlign:"center"},"top"===o&&{margin:"0 0 8px"},"right"===o&&{margin:"0 0 0 8px"},"left"===o&&{margin:"0 8px 0 0"}],screenReaderText:Qe}}),void 0,{scope:"Spinner"}),KU=at((function(e,t,n){var r=QV(e),i=eU(e);return wn(r,{root:{minWidth:"80px",minHeight:"32px"},label:{fontWeight:Xe.semibold}},n?function(e){var t,n,r,i,o,a,s,l,c,u=e.palette,d=e.semanticColors;return{root:(t={backgroundColor:d.primaryButtonBackground,border:"1px solid ".concat(d.primaryButtonBackground),color:d.primaryButtonText},t[dt]=A({color:"Window",backgroundColor:"WindowText",borderColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t[".".concat(vt," &:focus, :host(.").concat(vt,") &:focus")]={":after":{border:"none",outlineColor:u.white}},t),rootHovered:(n={backgroundColor:d.primaryButtonBackgroundHovered,border:"1px solid ".concat(d.primaryButtonBackgroundHovered),color:d.primaryButtonTextHovered},n[dt]={color:"Window",backgroundColor:"Highlight",borderColor:"Highlight"},n),rootPressed:(r={backgroundColor:d.primaryButtonBackgroundPressed,border:"1px solid ".concat(d.primaryButtonBackgroundPressed),color:d.primaryButtonTextPressed},r[dt]=A({color:"Window",backgroundColor:"WindowText",borderColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),r),rootExpanded:{backgroundColor:d.primaryButtonBackgroundPressed,color:d.primaryButtonTextPressed},rootChecked:{backgroundColor:d.primaryButtonBackgroundPressed,color:d.primaryButtonTextPressed},rootCheckedHovered:{backgroundColor:d.primaryButtonBackgroundPressed,color:d.primaryButtonTextPressed},rootDisabled:(i={color:d.primaryButtonTextDisabled,backgroundColor:d.primaryButtonBackgroundDisabled},i[dt]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},i),splitButtonContainer:(o={},o[dt]={border:"none"},o),splitButtonDivider:A(A({},{position:"absolute",width:1,right:31,top:8,bottom:8}),(a={backgroundColor:u.white},a[dt]={backgroundColor:"Window"},a)),splitButtonMenuButton:(s={backgroundColor:d.primaryButtonBackground,color:d.primaryButtonText},s[dt]={backgroundColor:"Canvas"},s[":hover"]=(l={backgroundColor:d.primaryButtonBackgroundHovered},l[dt]={color:"Highlight"},l),s),splitButtonMenuButtonDisabled:{backgroundColor:d.primaryButtonBackgroundDisabled,":hover":{backgroundColor:d.primaryButtonBackgroundDisabled}},splitButtonMenuButtonChecked:{backgroundColor:d.primaryButtonBackgroundPressed,":hover":{backgroundColor:d.primaryButtonBackgroundPressed}},splitButtonMenuButtonExpanded:{backgroundColor:d.primaryButtonBackgroundPressed,":hover":{backgroundColor:d.primaryButtonBackgroundPressed}},splitButtonMenuIcon:{color:d.primaryButtonText},splitButtonMenuIconDisabled:(c={color:u.neutralTertiary},c[dt]={color:"GrayText"},c)}}(e):function(e){var t,n,r,i,o,a=e.semanticColors,s=e.palette,l=a.buttonBackground,c=a.buttonBackgroundPressed,u=a.buttonBackgroundHovered,d=a.buttonBackgroundDisabled,p=a.buttonText,h=a.buttonTextHovered,f=a.buttonTextDisabled,m=a.buttonTextChecked,g=a.buttonTextCheckedHovered;return{root:{backgroundColor:l,color:p},rootHovered:(t={backgroundColor:u,color:h},t[dt]={borderColor:"Highlight",color:"Highlight"},t),rootPressed:{backgroundColor:c,color:m},rootExpanded:{backgroundColor:c,color:m},rootChecked:{backgroundColor:c,color:m},rootCheckedHovered:{backgroundColor:c,color:g},rootDisabled:(n={color:f,backgroundColor:d},n[dt]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},n),splitButtonContainer:(r={},r[dt]={border:"none"},r),splitButtonMenuButton:{color:s.white,backgroundColor:"transparent",":hover":(i={backgroundColor:s.neutralLight},i[dt]={color:"Highlight"},i)},splitButtonMenuButtonDisabled:{backgroundColor:a.buttonBackgroundDisabled,":hover":{backgroundColor:a.buttonBackgroundDisabled}},splitButtonDivider:A(A({},{position:"absolute",width:1,right:31,top:8,bottom:8}),(o={backgroundColor:s.neutralTertiaryAlt},o[dt]={backgroundColor:"WindowText"},o)),splitButtonDividerDisabled:{backgroundColor:e.palette.neutralTertiaryAlt},splitButtonMenuButtonChecked:{backgroundColor:s.neutralQuaternaryAlt,":hover":{backgroundColor:s.neutralQuaternaryAlt}},splitButtonMenuButtonExpanded:{backgroundColor:s.neutralQuaternaryAlt,":hover":{backgroundColor:s.neutralQuaternaryAlt}},splitButtonMenuIcon:{color:a.buttonText},splitButtonMenuIconDisabled:{color:a.buttonTextDisabled}}}(e),i,t)})),YU=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return C(t,e),t.prototype.render=function(){var e=this.props,t=e.primary,n=void 0!==t&&t,r=e.styles,i=e.theme;return l.createElement(qV,A({},this.props,{variantClassName:n?"ms-Button--primary":"ms-Button--default",styles:KU(i,r,n),onRenderDescription:JF}))},E([XV("DefaultButton",["theme","styles"],!0)],t)}(l.Component),XU=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return C(t,e),t.prototype.render=function(){return l.createElement(YU,A({},this.props,{primary:!0,onRenderDescription:JF}))},E([XV("PrimaryButton",["theme","styles"],!0)],t)}(l.Component);const ZU=({webview:e,appLocalizedResources:t,configService:n,isRemovalPage:r})=>{const[i,o]=(0,l.useState)(!1),[s,c]=(0,l.useState)(!1),[u,d]=(0,l.useState)(!1);(0,l.useEffect)((()=>{const e=e=>{r&&s||o(e)};return n.addCustomEventListener("setValidityState",e),()=>{n.removeCustomEventListener("setValidityState",e)}}),[n,s,r]);const p=(0,l.useCallback)((()=>{d(!0),e.postMessage({submitDialog:{result:"canceled"}})}),[e]),h=(0,l.useCallback)((()=>{d(!0),n.dispatchEvent("settings.save",{data:{}})}),[n]),f=(0,l.useCallback)((()=>{d(!0),n.startRemoveTimer(),n.dispatchEvent("settings.remove",{})}),[n]);return(0,l.useEffect)((()=>{let e=null;return r&&!s&&(e=setTimeout((()=>{o(!0),c(!0)}),5e3)),()=>{null!==e&&clearTimeout(e)}}),[r,s]),(0,a.jsxs)(VU,{horizontal:!0,horizontalAlign:"end",tokens:{childrenGap:16,padding:16},className:oM.configPageButtonContainer,children:[u?(0,a.jsx)(GU,{}):null,(0,a.jsx)(YU,{text:OR(t,"IDS_APPHOST_CONFIGPAGE_BACK","Back"),disabled:u,onClick:p,allowDisabledFocus:!0}),r?(0,a.jsx)(XU,{text:OR(t,"IDS_APPHOST_CONFIGPAGE_REMOVE","Remove"),disabled:u||!i,onClick:f,allowDisabledFocus:!0}):(0,a.jsx)(XU,{text:OR(t,"IDS_APPHOST_CONFIGPAGE_ADD","Add"),disabled:u||!i,onClick:h,allowDisabledFocus:!0})]})},JU=({children:e,...t})=>{const n=t.darkMode?`${oM.rootContainer} ${oM.darkMode}`:oM.rootContainer;return(0,a.jsxs)("div",{className:n,children:[(0,a.jsx)(xM,{...t}),(0,a.jsx)("div",{className:oM.contentContainer,children:e}),(0,a.jsx)(ZU,{...t})]})};var QU=at((function(e,t){var n,r=QV(e),i=eU(e),o=e.palette;return wn(r,{root:{padding:"0 4px",width:"32px",height:"32px",backgroundColor:"transparent",border:"none",color:e.semanticColors.link},rootHovered:(n={color:o.themeDarkAlt,backgroundColor:o.neutralLighter},n[dt]={borderColor:"Highlight",color:"Highlight"},n),rootHasMenu:{width:"auto"},rootPressed:{color:o.themeDark,backgroundColor:o.neutralLight},rootExpanded:{color:o.themeDark,backgroundColor:o.neutralLight},rootChecked:{color:o.themeDark,backgroundColor:o.neutralLight},rootCheckedHovered:{color:o.themeDark,backgroundColor:o.neutralQuaternaryAlt},rootDisabled:{color:o.neutralTertiaryAlt}},i,t)})),ej=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return C(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,n=e.theme;return l.createElement(qV,A({},this.props,{variantClassName:"ms-Button--icon",styles:QU(n,t),onRenderText:JF,onRenderDescription:JF}))},E([XV("IconButton",["theme","styles"],!0)],t)}(l.Component);const tj=({app:e,darkMode:t,highContrastMode:n,webview:r,appLocalizedResources:i,currentTab:o,onSwitchTabs:s,onReload:l,linkService:c,showPermissionMenuItem:u,onShowCurrentAppPermissionsDialog:d})=>{const p=e&&uR(e),h=OR(i,"IDS_APPHOST_COMMAND_MORE","More"),f=OR(i,"IDS_APPHOST_COMMAND_POPOUTAPP","Pop Out App"),m=OR(i,"IDS_APPHOST_COMMAND_REFRESH","Refresh"),g=OR(i,"IDS_APPHOST_COMMAND_PERMISSIONS","Permissions"),v=OR(i,"IDS_APPHOST_COMMAND_ABOUT","About"),y=OR(i,"IDS_APPHOST_COMMAND_OPENINBROWSER","Open in Browser"),b=OR(i,"IDS_APPHOST_COMMAND_CONTACTSUPPORT","Contact Support"),C={items:[]};if(p){const e={type:"popOutApp",appId:p,entityId:o};C.items.push({key:"popOutApp",text:f,onClick:()=>{r.postMessage({executeDeepLink:e})}}),C.items.push({key:"refresh",text:m,onClick:l});const t={type:"aboutDialog",appId:p};C.items.push({key:"about",text:v,onClick:()=>{r.postMessage({executeDeepLink:t})}})}u&&C.items.push({key:"permissions",text:g,onClick:()=>{d(!0)}});const A=e&&hR(e,o);if(A?.websiteUrl){const e={type:"openInBrowser",websiteUrl:A.websiteUrl};C.items.push({key:"openInBrowser",text:y,onClick:()=>r.postMessage({executeDeepLink:e})})}return c&&C.items.push({key:"contactSupport",text:b,onClick:()=>{c.openLink(bR)}}),(0,a.jsxs)("div",{id:"outlookAppHostHeader",className:oM.dialogHeader,children:[(0,a.jsx)(uM,{app:e,darkMode:t,highContrastMode:n}),(0,a.jsx)(CU,{app:e,darkMode:t,webview:r,appLocalizedResources:i,currentTab:o,onSwitchTabs:s}),(0,a.jsx)("div",{className:oM.dialogHeaderRight,children:(0,a.jsx)(ej,{iconProps:{iconName:"More"},onRenderMenuIcon:()=>null,menuProps:C,title:h,ariaLabel:h})})]})},nj=({children:e,...t})=>{const{app:n,darkMode:r}=t,i=n&&!function(e){return(cR(e)?e.titleDefinition.isFullScreen:e.isFullScreen)||!1}(n),o=t.darkMode?`${oM.rootContainer} ${oM.darkMode}`:oM.rootContainer;return(0,a.jsx)(bO,{theme:r?OF:void 0,className:oM.rootContainer,children:(0,a.jsxs)(VI,{theme:r?PF:LF,className:o,children:[i?(0,a.jsx)(tj,{...t}):null,(0,a.jsx)("div",{className:oM.contentContainer,children:e})]})})};var rj=i(2376),ij=i.n(rj),oj=i(9688),aj=i.n(oj);const sj=ow({root:{display:"flex",height:"100%",width:"100%",flexDirection:"column",alignItems:"center",justifyContent:"center",textAlign:"center",rowGap:"1em"},buttonContainer:{marginTop:"2em",display:"flex",rowGap:".5em",flexDirection:"column",alignItems:"center","> button":{width:"100%"}},imageContainer:{width:"auto",maxHeight:"33%"}}),lj=({darkMode:e,offline:t,appLocalizedResources:n,onReload:r})=>{const i=sj(),o=e?t?aj():zM():t?ij():NM(),s=OR(n,"IDS_ERR_CONNECTIVITY","There was a problem reaching this app"),l=t?OR(n,"IDS_ERR_NOINTERNET","You need an internet connection to use this app. Connect to the internet and try again."):OR(n,"IDS_ERR_APPHOST_OTHERERROR","An error occurred. Please try again."),c=OR(n,"IDS_ERR_TRYAGAIN","Retry");return(0,a.jsxs)("div",{id:"hubErrorUi",className:i.root,children:[(0,a.jsx)("div",{className:i.imageContainer,children:(0,a.jsx)(Tk,{src:o,alt:""})}),(0,a.jsx)(_k,{children:s}),(0,a.jsx)(Pk,{children:l}),(0,a.jsx)(fI,{appearance:"transparent",icon:(0,a.jsx)(Bk,{}),"aria-label":c,onClick:r,children:c})]})};Fk.AdaptiveCard.onProcessMarkdown=(e,t)=>{t.outputHtml=qP().render(e),t.didProcess=!0};const cj=(0,l.memo)((e=>{var t,n,r;cv(rv.Start,iv.OverallAppLoadTimeBeforeInitialize),cv(rv.Start,iv.MetaOsAppContainerInitiation);const i=e.context.page.frameContext;if(e.context.dialogParameters&&"task"!==i)throw new Error('dialogParameters should be provided only in "task" frameContext');let o=e.hubServices;e.hubServices.lifecycleService&&(null!=Lk||(Lk=new NA)),l.useEffect((()=>{var e,t;null==Lk||Lk.setCachingConstraintsService(null===(t=null===(e=o.lifecycleService)||void 0===e?void 0:e.cacheabilityDataService)||void 0===t?void 0:t.constraints)}),[o.lifecycleService]),o.lifecycleService&&(o=Object.assign(Object.assign({},e.hubServices),{cacheManagementService:e.hubServices.cacheManagementService||Lk}));const[a,s]=l.useState(!1),c=l.useMemo((()=>{var t,n;const r={appId:e.appDefinition.id,frameContext:i};return null!==(n=null===(t=e.isolationProvider)||void 0===t?void 0:t.communicationBridge)&&void 0!==n?n:((e,t)=>{var n;return null!==(n=null==Lk?void 0:Lk.getCachedCommunicationBridge(e))&&void 0!==n?n:new mv(t)})(r,e.hubServices.logger)}),[null===(t=e.isolationProvider)||void 0===t?void 0:t.communicationBridge,e.contentUrl,e.appDefinition.id,e.hubServices.logger,e.hubServices.lifecycleService]),u=l.useCallback((()=>{return t=e.hubServices.devicePermissionService,w(void 0,void 0,void 0,(function*(){let e;return e=t?yield t.storageService.getPermissions():[],e.filter((e=>e.status==vr.Consented))}));var t}),[e.hubServices.devicePermissionService]),d=function(e){const[t,n]=l.useState(void 0);return l.useEffect((()=>{let t=!1;return cv(rv.Start,iv.GetPermissions),e().then((e=>{cv(rv.End,iv.GetPermissions);const r=e.map((e=>zA[e.permission])).flat().concat(["autoplay; clipboard-write"]).join("; ");t||n(r)})),()=>{t=!0}}),[e]),t}(u);if(e.hostVersionsInfo&&e.hostVersionsInfo.adaptiveCardSchemaVersion&&Ds(e.hostVersionsInfo.adaptiveCardSchemaVersion))throw new Error("dialogService.cardService requires that the host specifies an adaptive card version of at least 1.5");if((o.locationService||o.barCodeService)&&!o.devicePermissionService)throw new Error("devicePermissionService needs to be provided if any of following services is provided: locationService, barCodeService");var p,h;e.featureFlags&&(p=e.featureFlags,h=Object.assign(Object.assign({},$a),p),$a=h);const{appHostSdk:f,appInitInfo:m}=((e,t,n,r,i,o,a,s,c)=>{const[u,d]=l.useState({state:Da.Unknown});l.useEffect((()=>{u.state===Da.Failed&&d({state:Da.Unknown})}),[r]);const p=l.useMemo((()=>new LA(e,i,t,n,d,o,a,s,c)),[e,t.page.frameContext,d,t.app.host.clientType,n.cacheManagementService,i,a,s]);return l.useEffect((()=>(p.loadSDK(),function(){p.unloadSDK()})),[p]),l.useEffect((()=>{p.initializeAuthenticationContext(t)}),[p,t]),{appHostSdk:p,appInitInfo:u}})(e.hostWindow,e.context,o,e.appDefinition,c,e.hostVersionsInfo,e.isNAAChannelRecommended,e.hostInsecureOrigins,e.isCachedLaunch),g=l.useMemo((()=>{var e;return(null===(e=o.webStorageService)||void 0===e?void 0:e.webStorageApiService)||new HA(f)}),[f,null===(n=o.webStorageService)||void 0===n?void 0:n.webStorageApiService]);null==Lk||Lk.setTelemetryAndLogger(f.getTelemetryService(),f.getLogger());const v=e.context.app.theme;l.useEffect((()=>{v&&(f.onThemeChanged&&f.onThemeChanged(v),f.onUserSettingsChanged&&f.onUserSettingsChanged(ur.theme,v))}),[f,v]);const y=e.context.app.userFileOpenPreference;l.useEffect((()=>{y&&f.onUserSettingsChanged&&f.onUserSettingsChanged(ur.fileOpenPreference,y)}),[f,y]);const[b,C]=l.useState(_s(m,e.appDefinition.showLoadingIndicator));l.useEffect((()=>{(()=>{if(_s(m,e.appDefinition.showLoadingIndicator))try{const e=g.getValue(m.reason);C(!e)}catch(e){C(!0)}else C(!1)})()}),[m,e.appDefinition,g]),l.useEffect((()=>{b&&m.state===Da.Loaded&&e.hubServices.logger.log(yr.Warn,"Error Bubble Reason",_a)}),[m.state,e.hubServices.logger,b]);const A=((e,t,n,r,i)=>t.cacheManagementService?t.cacheManagementService.shouldDisplayLoadingUI(n,e,r,i):!(!e||n.state!==Da.Loading&&n.state!==Da.WaitingForAppLoad))(e.appDefinition.showLoadingIndicator,o,m,f.getIsCachedLaunch(),f.getCacheablePageInfo()),S=l.useCallback((()=>b?l.createElement(xk,{reason:m.reason,hubUiService:o.hubUiService,webStorageApiService:g}):null),[b,m,o.hubUiService,g]),E=l.useCallback((()=>{var t;if(!((e,t,n,r)=>!!t||void 0!==e&&!(n&&!r))(d,e.isolationProvider,o.lifecycleService,o.cacheManagementService))return null;const n=Object.assign(Object.assign({},e),{sdkHost:f,isLoading:A,frameContext:i,userClickTime:null!==(t=e.context.app.userClickTime)&&void 0!==t?t:Ok,userClickTimeV2:e.context.app.userClickTimeV2,communicationBridge:c,getRequiredPermissions:u,allowList:d});return e.isolationProvider?l.createElement(Av,{isolationProvider:e.isolationProvider,hostProps:n,errorUI:S,appHostSdk:f}):l.createElement("div",{id:"default-app-host-container",style:{flex:1,width:"100%",display:"flex",flexDirection:"column"}},S(),o.cacheManagementService&&o.lifecycleService&&i===pr.content?l.createElement(Cv,Object.assign({cacheManagementService:o.cacheManagementService},n,{allowList:d,setIsUnLoading:s})):l.createElement(yv,Object.assign({},n)))}),[d,f,c,i,u,o.cacheManagementService,o.lifecycleService,A,e,S]),x=l.useMemo((()=>E()),[E]);if(((e,t)=>e.state===Da.Failed&&t)(m,e.appDefinition.showLoadingIndicator)){const t=f.getTelemetryService().createScenario("errorScreenLoad"),n=m.reason;return t.fail(n),e.hubServices.logger.log(yr.Error,"Show HubError UI",n),l.createElement(Rk,{reason:n,hubUiService:e.hubServices.hubUiService})}return cv(rv.End,iv.MetaOsAppContainerInitiation),(null===(r=e.featureFlags)||void 0===r?void 0:r.enableNotificationsUI)?l.createElement(l.Fragment,null,(A||a)&&o.hubUiService.getLoadingUi(),l.createElement("div",{style:{flex:1,width:"100%",display:"flex",flexDirection:"column"}},l.createElement(gI,null),x)):l.createElement(l.Fragment,null,(A||a)&&o.hubUiService.getLoadingUi(),x)})),uj=({webview:e})=>{const[t,n]=(0,l.useState)(void 0),[r,o]=(0,l.useState)(void 0),[s,c]=(0,l.useState)([]),[u,d]=(0,l.useState)(!1),[p,h]=(0,l.useState)(!1),[f,m]=(0,l.useState)("geolocation"),g=(0,l.useRef)((e=>{})),[v,y]=(0,l.useState)(!1),[b,C]=(0,l.useState)(!1),[A,S]=(0,l.useState)(!1),[E,w]=(0,l.useState)(!1),x=t?.dialog,I=t?.appManifest,k=t?t.darkMode:document.body.classList.contains("darkMode"),T=(0,l.useMemo)((()=>I&&function(e){return cR(e)?(e=>{var t,n,r,i;return{appEligibilityInformation:e.titleDefinition.appEligibilityInformation,composeExtension:void 0!==e.titleDefinition.elementDefinitions.composeExtensions&&e.titleDefinition.elementDefinitions.composeExtensions.length>0?{botId:e.titleDefinition.elementDefinitions.composeExtensions[0].botId,type:oR(e.titleDefinition.elementDefinitions.composeExtensions[0].composeExtensionType),commands:aR(e)}:void 0,copilotAgents:{customEngineAgents:sR(e.titleDefinition.elementDefinitions)},connector:void 0!==e.titleDefinition.elementDefinitions.connectors&&e.titleDefinition.elementDefinitions.connectors.length>0?{connectorId:e.titleDefinition.elementDefinitions.connectors[0].connectorId,scopes:e.titleDefinition.elementDefinitions.connectors[0].scopes,configurationUrl:e.titleDefinition.elementDefinitions.connectors[0].configurationUrl}:void 0,devicePermissions:e.titleDefinition.devicePermissions||[],id:e.appId||e.titleId,isFullTrust:null!==(t=e.titleDefinition.isFullTrust)&&void 0!==t&&t,isMicrosoftOwned:null!==(n=e.titleDefinition.isMicrosoftOwned)&&void 0!==n&&n,isLOB:"Tenant"===e.titleDefinition.scope,manifestVersion:e.titleDefinition.manifestVersion,pages:{configurable:(null===(r=e.titleDefinition.elementDefinitions.configurableTabs)||void 0===r?void 0:r.map((e=>({configurationUrl:e.configurationUrl}))))||[],static:(null===(i=e.titleDefinition.elementDefinitions.staticTabs)||void 0===i?void 0:i.filter((e=>e.name&&!iR.includes(e.name))).map((e=>({contentUrl:e.contentUrl,entityId:e.entityId,name:e.name}))))||[]},showLoadingIndicator:e.titleDefinition.showLoadingIndicator||!1,validDomains:e.titleDefinition.validDomains||[],version:e.titleDefinition.version,webApplicationInfo:e.titleDefinition.webApplicationInfo}})(e):(e=>{var t,n,r,i;return{appEligibilityInformation:e.appEligibilityInformation,composeExtension:void 0!==e.composeExtensions&&e.composeExtensions.length>0?{botId:e.composeExtensions[0].botId,type:e.composeExtensions[0].type,commands:lR(e)}:void 0,copilotAgents:{customEngineAgents:(null===(n=null===(t=e.copilotExtensions)||void 0===t?void 0:t.customEngineCopilots)||void 0===n?void 0:n.length)?e.copilotExtensions.customEngineCopilots.map((e=>({id:new ar(e.id),type:e.type}))):[]},connector:void 0!==e.connectors&&e.connectors.length>0?{connectorId:e.connectors[0].connectorId,scopes:e.connectors[0].scopes,configurationUrl:e.connectors[0].configurationUrl}:void 0,devicePermissions:e.devicePermissions||[],id:e.appId,isFullTrust:e.isFullTrustApp||!1,isMicrosoftOwned:e.isMicrosoftOwned||!1,isLOB:!!e.tenantId,pages:{configurable:(null===(r=e.galleryTabs)||void 0===r?void 0:r.map((e=>({configurationUrl:e.configurationUrl}))))||[],static:(null===(i=e.staticTabs)||void 0===i?void 0:i.map((e=>({entityId:e.entityId,contentUrl:e.contentUrl,name:e.name}))))||[]},showLoadingIndicator:e.showLoadingIndicator||!1,validDomains:e.validDomains||[],manifestVersion:e.manifestVersion,version:e.version,webApplicationInfo:e.webApplicationInfo}})(e)}(I)),[I]),_=(0,l.useCallback)((e=>{g.current(e),C(!1),S(!1)}),[]),P=(0,l.useCallback)((async e=>(m(function(e){switch(e){case gr.GeoLocation:return"geolocation";case gr.Media:return"media";case gr.Midi:return"midi";case gr.Notifications:return"notifications";case gr.OpenExternal:return"openExternal";case gr.DisplayCapture:return"displayCapture";default:throw new Error(`Unhandled DevicePermission: ${e}`)}}(e)),C(!0),new Promise((e=>{g.current=t=>{e(t)}})))),[]);(0,l.useEffect)((()=>{const t=e=>{if(e?.data?.setConfig){const t=e.data.setConfig;t&&t.appManifest&&!cR(t.appManifest)&&void 0===t.appManifest.appId&&"string"==typeof t.appManifest.id&&(t.appManifest.appId=t.appManifest.id),w(!1),n(t);const r=t.entityId||t.appManifest&&pR(t.appManifest)[0]?.entityId;o(r)}};return e.addEventListener("message",t),e.postMessage({getConfig:!0}),()=>{e.removeEventListener("message",t)}}),[e]),(0,l.useEffect)((()=>{t&&e.postMessage({notifyTabChanged:r})}),[t,e,r]),(0,l.useEffect)((()=>{const t=e=>{if(!e?.data?.onSetWorkOffline)return;const t=e.data.onSetWorkOffline;d(t.offline)};return e.addEventListener("message",t),e.postMessage({getWorkOffline:!0}),()=>{e.removeEventListener("message",t)}}),[e]),(0,l.useEffect)((()=>{t&&document.body.classList.remove("darkMode")}),[t]);const D=(0,l.useRef)(null);(0,l.useEffect)((()=>{let n;if(p&&x?.contentType===qB.card&&x.payload&&t&&D.current){if(D.current.children?.length>0)for(const e of D.current.children)D.current.removeChild(e);n=new Fk.AdaptiveCard,n.hostConfig=new Fk.HostConfig(k?KM:GM),i(k?6036:2694),n.onExecuteAction=t=>{t instanceof Fk.SubmitAction||t instanceof Fk.ExecuteAction?e.postMessage({submitDialog:{result:t.data,appIds:I&&[uR(I)]}}):t instanceof Fk.OpenUrlAction&&e.postMessage({actionOpenUrl:t.url})};const t="string"==typeof x.payload?JSON.parse(x.payload):x.payload,r=t.contentType&&t.content?t.content:t;n.parse(r),n.render(D.current)}return()=>{n?.clear()}}),[e,t,x,I,p,k]);const B=(0,l.useRef)(null),R="number"==typeof x?.height?x.height:0,M=I&&r?hR(I,r):void 0,L=function(e,t,n){const r=e?.contentUrl||n?.contentUrl;return t?t.contentType===qB.url?t.payload||r:void 0:r}(t,x,M),O=(0,l.useMemo)((()=>({adaptiveCardSchemaVersion:{majorVersion:1,minorVersion:5}})),[]),{hubServices:F,onReload:N}=(({webview:e,appConfig:t,entityId:n,dialogHeader:r,appLocalizedResources:i,darkMode:o,contentUrl:a,showRequestDialogAndGetUserResponse:s})=>{const[c,u]=(0,l.useState)(void 0);(0,l.useEffect)((()=>{if(!c&&t){const e=!t?.ripcords?.searchService&&!t.popOut&&!t.dialog;u({dialogService:new DM(r),authenticationService:new BM(t?.ripcords?.externalAuth,t?.ripcords?.authRequestId),pageService:new gR,calendarService:OM,meetingService:t?.ripcords?.meetingService?void 0:new MM,logger:new VR,devicePermissionService:new NR(s),locationService:t?.ripcords?.locationService?void 0:new HR,profileService:t?.ripcords?.profileService?void 0:new UR,searchService:e?new WR:void 0,linkService:new AR,telemetryService:new eR,mailService:new LM,hubUiService:new WM,nestedAppAuthService:t?.ripcords?.nestedAppAuth?new $M:void 0,customMessageService:t?.ripcords?.customMessageService?void 0:new qM})}}),[c,t,r,s]),c&&(c.authenticationService.user=t?.user,c.dialogService.dialogHeader=r,c.pageService.entityId=n,c.pageService.contentUrl=a,c.pageService.appDefinition=t?.appManifest,c.hubUiService.darkMode=o,c.hubUiService.appLocalizedResources=i),(0,l.useEffect)((()=>()=>{c&&(c.authenticationService.onUnmount(),c.dialogService.cardService.onUnmount(),c.dialogService.urlService.parentCommunicationService.onUnmount(),c.dialogService.urlService.onUnmount(),c.meetingService?.onUnmount(),c.searchService?.onUnmount(),c.mailService?.onUnmount(),c.nestedAppAuthService?.onUnmount(),c.customMessageService?.onUnmount())}),[c]);const d=(0,l.useCallback)((()=>{c&&(c.authenticationService?.reset(),c.dialogService?.cardService.reset(),c.dialogService?.urlService.parentCommunicationService.reset(),c.dialogService?.urlService.reset(),c.meetingService?.reset(),c.searchService?.reset(),c.mailService?.reset(),c.nestedAppAuthService?.reset(),c.customMessageService?.reset()),e.postMessage({getWorkOffline:!0}),e.postMessage({reload:!0})}),[e,c]);return c&&(c.hubUiService.onReload=d),(0,l.useMemo)((()=>({hubServices:c,onReload:d})),[c,d])})({webview:e,appConfig:t,entityId:r,dialogHeader:B,appLocalizedResources:s,darkMode:k,contentUrl:L,showRequestDialogAndGetUserResponse:P}),H=(0,l.useCallback)((()=>{I&&F?.devicePermissionService&&F.devicePermissionService.setupDevicePermissions(I)}),[I,F?.devicePermissionService]);(0,l.useEffect)((()=>{const t=e=>{if(e?.data?.setOutlookResource?.OutlookResources?.length){const t=e.data.setOutlookResource.OutlookResources;c([...t])}};return e.addEventListener("message",t),e.postMessage({getOutlookResource:!0}),()=>{e.removeEventListener("message",t)}}),[e]),(0,l.useEffect)((()=>{t?.appManifest&&F?.devicePermissionService&&(F.devicePermissionService.setStorage(t),F.devicePermissionService.setLocalizedResources(s),F.devicePermissionService.setupDevicePermissions(t?.appManifest).then((()=>{w(!0)})).catch((()=>{})))}),[t,F?.devicePermissionService,s]);const z=(0,l.useMemo)((()=>{if(!t)return;const e=L&&new URL(L).origin,n=function(e){return e?.type===$B.configuration?pr.settings:e?.type===$B.removal?pr.remove:e?.type===$B.task?pr.task:pr.content}(x),r=function(e,t){return e&&t&&function(e){return mR.includes(uR(e).toLowerCase())}(t)?hr.copilotSidePanel:void 0}(t.sidePane,I);return{app:{locale:t.locale,sessionId:t.sessionId,theme:k?cr.dark:cr.default,host:{name:sr.outlookWin32,clientType:dr.desktop,sessionId:t.hostSessionId,version:t.version},userClickTime:t.userClickTime},page:{id:M?.entityId||"",subPageId:t.subEntityId,frameContext:n,renderingSurface:r,sourceOrigin:e},user:{dataResidency:t.dataResidency,tenant:{id:t.user.profile.tid}},chat:t.chatId?{id:t.chatId}:void 0,meeting:t.chatId?{id:btoa("0#"+t.chatId+"#0")}:void 0,sharePointSite:{teamSiteUrl:t.sharePointSite?.teamSiteUrl,teamSiteDomain:t.sharePointSite?.teamSiteDomain,teamSitePath:t.sharePointSite?.teamSitePath,mySiteDomain:t.sharePointSite?.mySiteDomain,mySitePath:t.sharePointSite?.mySitePath}}}),[t,I,L,x,M,k]);let V,U=!1;x?.contentType===qB.card?(V=(0,a.jsx)("div",{id:"outlookAdaptiveCardRoot",ref:D},"outlookAdaptiveCardRoot"),U=!0):V=x?.contentType===qB.message?(0,a.jsx)("div",{className:oM.imageContainer,children:(0,a.jsx)("div",{className:oM.dialogMessage,children:x.payload||""})}):x?.contentType===qB.error?(0,a.jsx)("div",{className:oM.imageContainer,children:(0,a.jsx)("div",{className:oM.dialogError,children:x.payload||""})}):x?.contentType===qB.loader?(0,a.jsx)(jM,{appLocalizedResources:s}):t&&z&&F&&I&&T&&E?L&&!u&&t.dataResidency?(0,a.jsx)(cj,{hostWindow:window,hubServices:F,appDefinition:T,contentUrl:L,context:z,hostVersionsInfo:O,title:dR(I),isNAAChannelRecommended:!!t.ripcords?.nestedAppAuth}):(0,a.jsx)(lj,{offline:u,darkMode:k,appLocalizedResources:s,onReload:N}):(0,a.jsx)(jM,{appLocalizedResources:s}),p!==U&&h(U);let j=null;return I&&F?.devicePermissionService&&fR(I)&&(b?j=(0,a.jsx)(tL,{appName:dR(I),devicePermissionService:F.devicePermissionService,setShowCurrentAppPermissionsDialog:S,devicePermissionsForApp:F.devicePermissionService.getDevicePermissionsForApp(),devicePermissionsDialogPermissions:F.devicePermissionService.getDevicePermissionsDialogPermissions(),onRefreshDevicePermissions:H,setShowRefreshDialog:y,hideRequestDialog:_,appLocalizedResources:s,onReload:N,children:(0,a.jsx)(MB,{appId:uR(I),permissionBeingRequested:f,renderDialogContainerStyles:!0})}):v?j=(0,a.jsx)(tL,{appName:dR(I),devicePermissionService:F.devicePermissionService,setShowCurrentAppPermissionsDialog:S,devicePermissionsForApp:F.devicePermissionService.getDevicePermissionsForApp(),devicePermissionsDialogPermissions:F.devicePermissionService.getDevicePermissionsDialogPermissions(),onRefreshDevicePermissions:H,setShowRefreshDialog:y,hideRequestDialog:_,appLocalizedResources:s,onReload:N,children:(0,a.jsx)(NB,{appId:uR(I),renderDialogContainerStyles:!0})}):A&&(j=(0,a.jsx)(tL,{appName:dR(I),devicePermissionService:F.devicePermissionService,setShowCurrentAppPermissionsDialog:S,devicePermissionsForApp:F.devicePermissionService.getDevicePermissionsForApp(),devicePermissionsDialogPermissions:F.devicePermissionService.getDevicePermissionsDialogPermissions(),onRefreshDevicePermissions:H,setShowRefreshDialog:y,hideRequestDialog:_,appLocalizedResources:s,onReload:N,children:(0,a.jsx)(JB,{appId:uR(I),includeNavigateToInstalledAppsControlText:!1})}))),x?x.type!==$B.configuration&&x.type!==$B.removal||!F?.pageService?.configService?(0,a.jsxs)(FF,{app:I,title:x.title,darkMode:k,highContrastMode:t.highContrastMode,webview:e,dialogHeight:R,headerRef:B,children:[j,V]}):(0,a.jsxs)(JU,{app:I,configService:F.pageService?.configService,darkMode:k,highContrastMode:t.highContrastMode,webview:e,appLocalizedResources:s,dialogHeight:R,headerRef:B,isRemovalPage:x.type===$B.removal,children:[j,V]}):t?.popOut?(0,a.jsxs)(SU,{app:I,darkMode:k,highContrastMode:t.highContrastMode,webview:e,appLocalizedResources:s,currentTab:M?.entityId||"",onSwitchTabs:o,children:[j,V]}):(0,a.jsxs)(nj,{app:I,darkMode:k,highContrastMode:Boolean(t?.highContrastMode),webview:e,appLocalizedResources:s,currentTab:M?.entityId||"",onSwitchTabs:o,onReload:N,linkService:F?.linkService,showPermissionMenuItem:Boolean(I&&F?.devicePermissionService.showPermissionsMenu()&&fR(I)),onShowCurrentAppPermissionsDialog:S,children:[j,V]})};var dj=i(9397),pj={};pj.styleTagTransform=nM(),pj.setAttributes=JR(),pj.insert=XR().bind(null,"head"),pj.domAPI=KR(),pj.insertStyleElement=eM(),qR()(dj.A,pj),dj.A&&dj.A.locals&&dj.A.locals,function(e){var t,n;void 0===e&&(e=(null===(t=null==Jn?void 0:Jn.FabricConfig)||void 0===t?void 0:t.iconBaseUrl)||(null===(n=null==Jn?void 0:Jn.FabricConfig)||void 0===n?void 0:n.fontBaseUrl)||Zn),[Dn,Bn,Rn,Mn,Ln,On,Fn,Nn,Hn,zn,Vn,Un,jn,Wn,$n,qn,Gn,Kn,Yn].forEach((function(t){return t(e,undefined)})),Cn("trash","delete"),Cn("onedrive","onedrivelogo"),Cn("alertsolid12","eventdatemissed12"),Cn("sixpointstar","6pointstar"),Cn("twelvepointstar","12pointstar"),Cn("toggleon","toggleleft"),Cn("toggleoff","toggleright")}(),(0,u.render)((0,a.jsx)((()=>{const e=QB();return e?(0,a.jsx)(uj,{webview:e}):(0,a.jsx)("div",{})}),{}),document.getElementById("outlookAppHostRoot"))})()})();