@livetiles/reach-components-react 0.5.0-preview.393 → 0.5.0-preview.396
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.esm2.js +2 -2
- package/index.umd.js +2 -2
- package/package.json +1 -1
package/index.umd.js
CHANGED
|
@@ -129,7 +129,7 @@ var JU=function(){return JU=Object.assign||function(e){for(var t,n=1,i=arguments
|
|
|
129
129
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
130
130
|
PERFORMANCE OF THIS SOFTWARE.
|
|
131
131
|
***************************************************************************** */
|
|
132
|
-
var gK=function(e,t){return gK=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])},gK(e,t)};var vK=function(){return vK=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},vK.apply(this,arguments)};function yK(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]])}return n}function bK(e,t,n,i){return new(n||(n=Promise))((function(r,a){function o(e){try{l(i.next(e))}catch(e){a(e)}}function s(e){try{l(i.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}l((i=i.apply(e,t||[])).next())}))}function OK(e,t){var n,i,r,a,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(r=2&a[0]?i.return:a[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,a[1])).done)return r;switch(i=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,i=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(r=o.trys,(r=r.length>0&&r[r.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]<r[3])){o.label=a[1];break}if(6===a[0]&&o.label<r[1]){o.label=r[1],r=a;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(a);break}r[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],i=0}finally{n=r=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function _K(e,t){for(var n=0,i=t.length,r=e.length;n<i;n++,r++)e[r]=t[n];return e}function wK(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var kK,xK,SK,PK,EK=a.createGlobalStyle(kK||(kK=wK(["\n // focus style should be visible only when keyboard navigation is activated\n // office ui fabric adds 'ms-Fabric--isFocusVisible' when the user presses keyboard keys, and removes it when the user clicks a mouse button\n\n .ms-Fabric--isFocusVisible .lt-reach {\n a:not(.ms-Button):focus,\n div[data-is-focusable]:not(.ms-PickerPersona-container):focus {\n box-shadow: none;\n outline: 2px solid ",";\n outline-offset: 2px;\n }\n\n div[data-is-focusable][role=\"listbox\"]:focus,\n div[data-is-focusable].ms-Dropdown:focus {\n &::after {\n border: 0;\n }\n }\n\n a[data-rounded-outline='true']:focus {\n border-radius: 20px;\n outline-offset: 4px;\n }\n\n button:focus {\n &::after {\n outline: 2px solid ",";\n outline-offset: 2px;\n inset: 0;\n }\n }\n\n button[data-rounded-outline='50']:focus {\n &::after {\n border-radius: 50%;\n outline-offset: 4px;\n }\n }\n\n button[data-rounded-outline='true']:focus {\n &::after {\n border-radius: 20px;\n outline-offset: 4px;\n }\n }\n\n button[data-toggle-button='true']:focus {\n &::after {\n border: none;\n border-radius: 12px;\n outline-offset: 3px;\n }\n }\n\n a[data-clickable-overlay]:focus {\n outline: 0 !important;\n\n &::before {\n outline: 2px solid ",";\n outline-offset: 5px;\n }\n }\n\n input[type='checkbox']:focus + label::before {\n outline: 2px solid ",";\n }\n\n div.ms-Dropdown-item input[type='checkbox']:focus + label::before,\n button.ms-Dropdown-item:focus::after {\n outline-offset: -2px;\n }\n\n div.ms-ChoiceField-wrapper.is-inFocus {\n &::after {\n outline: 2px solid ",";\n border: 0;\n }\n }\n\n .ms-SearchBox-clearButton button:focus::after {\n outline-offset: -4px;\n }\n\n .ms-PickerPersona-container:focus {\n &::after {\n outline: 2px solid ",";\n outline-offset: 0;\n }\n }\n }\n\n .ms-Fabric--isFocusVisible .lt-reach-contextual-menu {\n button:focus {\n &::after {\n outline-color: ",";\n outline-width: 2px;\n outline-offset: -2px;\n }\n }\n }\n"],["\n // focus style should be visible only when keyboard navigation is activated\n // office ui fabric adds 'ms-Fabric--isFocusVisible' when the user presses keyboard keys, and removes it when the user clicks a mouse button\n\n .ms-Fabric--isFocusVisible .lt-reach {\n a:not(.ms-Button):focus,\n div[data-is-focusable]:not(.ms-PickerPersona-container):focus {\n box-shadow: none;\n outline: 2px solid ",";\n outline-offset: 2px;\n }\n\n div[data-is-focusable][role=\"listbox\"]:focus,\n div[data-is-focusable].ms-Dropdown:focus {\n &::after {\n border: 0;\n }\n }\n\n a[data-rounded-outline='true']:focus {\n border-radius: 20px;\n outline-offset: 4px;\n }\n\n button:focus {\n &::after {\n outline: 2px solid ",";\n outline-offset: 2px;\n inset: 0;\n }\n }\n\n button[data-rounded-outline='50']:focus {\n &::after {\n border-radius: 50%;\n outline-offset: 4px;\n }\n }\n\n button[data-rounded-outline='true']:focus {\n &::after {\n border-radius: 20px;\n outline-offset: 4px;\n }\n }\n\n button[data-toggle-button='true']:focus {\n &::after {\n border: none;\n border-radius: 12px;\n outline-offset: 3px;\n }\n }\n\n a[data-clickable-overlay]:focus {\n outline: 0 !important;\n\n &::before {\n outline: 2px solid ",";\n outline-offset: 5px;\n }\n }\n\n input[type='checkbox']:focus + label::before {\n outline: 2px solid ",";\n }\n\n div.ms-Dropdown-item input[type='checkbox']:focus + label::before,\n button.ms-Dropdown-item:focus::after {\n outline-offset: -2px;\n }\n\n div.ms-ChoiceField-wrapper.is-inFocus {\n &::after {\n outline: 2px solid ",";\n border: 0;\n }\n }\n\n .ms-SearchBox-clearButton button:focus::after {\n outline-offset: -4px;\n }\n\n .ms-PickerPersona-container:focus {\n &::after {\n outline: 2px solid ",";\n outline-offset: 0;\n }\n }\n }\n\n .ms-Fabric--isFocusVisible .lt-reach-contextual-menu {\n button:focus {\n &::after {\n outline-color: ",";\n outline-width: 2px;\n outline-offset: -2px;\n }\n }\n }\n"])),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent})),FK=function(e){return"\n .ms-Fabric--isFocusVisible .lt-reach {\n "+e+"\n }\n"},CK=function(e){return a.css(xK||(xK=wK(["\n &::-webkit-scrollbar {\n display: inherit;\n ","\n }\n\n &:hover::-webkit-scrollbar {\n ","\n width: ",";\n }\n\n &:hover::-webkit-scrollbar-track {\n -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4);\n border-radius: 8px;\n -webkit-border-radius: 8px;\n }\n\n &:hover::-webkit-scrollbar-thumb {\n -webkit-border-radius: 10px;\n border-radius: 10px;\n background: rgba(100, 100, 100, 0.8);\n -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);\n }\n"],["\n &::-webkit-scrollbar {\n display: inherit;\n ","\n }\n\n &:hover::-webkit-scrollbar {\n ","\n width: ",";\n }\n\n &:hover::-webkit-scrollbar-track {\n -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4);\n border-radius: 8px;\n -webkit-border-radius: 8px;\n }\n\n &:hover::-webkit-scrollbar-thumb {\n -webkit-border-radius: 10px;\n border-radius: 10px;\n background: rgba(100, 100, 100, 0.8);\n -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);\n }\n"])),e&&"height: 10px;",e&&"height: 10px;",e?"100%":"10px")},TK=a.createGlobalStyle(SK||(SK=wK(["\n .lt-reach {\n color: ",";\n\n a {\n text-decoration: none;\n }\n\n *:focus {\n outline: none;\n }\n\n input[type='button'],\n input[type='reset'],\n input[type='submit'],\n button {\n min-width: auto;\n }\n\n h1,\n h2,\n h3,\n div,\n span,\n input,\n textarea,\n .ms-font-m,\n div.ms-Dialog,\n .ms-Label,\n .ms-Link {\n font-family: 'Roboto', sans-serif !important;\n }\n\n h1,\n h2,\n h3,\n h4,\n h5 {\n font-weight: 500;\n }\n\n .ms-Fabric {\n -webkit-font-smoothing: initial !important;\n }\n\n .ms-Button--icon.ms-Button {\n\n &:hover {\n background-color: transparent;\n }\n\n &.is-expanded {\n background-color: transparent;\n }\n }\n\n /***\n UI Fabric overrides\n */\n .ms-Dialog-main {\n width: inherit;\n .ms-Dialog-button--close:hover {\n background-color: transparent;\n }\n }\n\n .ms-Dialog-main {\n width: auto !important;\n max-width: 100% !important;\n margin: 0 10px;\n }\n\n .ms-Callout {\n // max-width 100% overflows on small screens where the dialog contents\n // occupy the whole 100%\n max-width: 90% !important;\n }\n\n }\n \n .lt-reach-picker-callout .ms-PeoplePicker-Persona {\n width: auto;\n }\n\n // the pull to refresh container is placed ABOVE our element, therefore we can not use a class from our component\n // however since \"app\" is our outer-most class it should be fine to use this\n .app {\n .ptr--ptr {\n box-shadow: none;\n }\n }\n\n .lt-reach-languageselector-menu-item {\n &.selected {\n background-color: #c0c0c0;\n span {\n font-weight: bold;\n }\n }\n\n button i {\n color: inherit;\n }\n }\n\n .browser-name-safari,\n .browser-name-ios,\n .browser-name-ios-webview {\n .lt-reach-header-actions {\n height: 50px;\n }\n }\n\n .browser-name-safari {\n .lt-reach-force-safari-h-scrollbar {\n ","\n }\n\n .lt-reach-force-safari-v-scrollbar {\n ","\n }\n }\n"],["\n .lt-reach {\n color: ",";\n\n a {\n text-decoration: none;\n }\n\n *:focus {\n outline: none;\n }\n\n input[type='button'],\n input[type='reset'],\n input[type='submit'],\n button {\n min-width: auto;\n }\n\n h1,\n h2,\n h3,\n div,\n span,\n input,\n textarea,\n .ms-font-m,\n div.ms-Dialog,\n .ms-Label,\n .ms-Link {\n font-family: 'Roboto', sans-serif !important;\n }\n\n h1,\n h2,\n h3,\n h4,\n h5 {\n font-weight: 500;\n }\n\n .ms-Fabric {\n -webkit-font-smoothing: initial !important;\n }\n\n .ms-Button--icon.ms-Button {\n\n &:hover {\n background-color: transparent;\n }\n\n &.is-expanded {\n background-color: transparent;\n }\n }\n\n /***\n UI Fabric overrides\n */\n .ms-Dialog-main {\n width: inherit;\n .ms-Dialog-button--close:hover {\n background-color: transparent;\n }\n }\n\n .ms-Dialog-main {\n width: auto !important;\n max-width: 100% !important;\n margin: 0 10px;\n }\n\n .ms-Callout {\n // max-width 100% overflows on small screens where the dialog contents\n // occupy the whole 100%\n max-width: 90% !important;\n }\n\n }\n \n .lt-reach-picker-callout .ms-PeoplePicker-Persona {\n width: auto;\n }\n\n // the pull to refresh container is placed ABOVE our element, therefore we can not use a class from our component\n // however since \"app\" is our outer-most class it should be fine to use this\n .app {\n .ptr--ptr {\n box-shadow: none;\n }\n }\n\n .lt-reach-languageselector-menu-item {\n &.selected {\n background-color: #c0c0c0;\n span {\n font-weight: bold;\n }\n }\n\n button i {\n color: inherit;\n }\n }\n\n .browser-name-safari,\n .browser-name-ios,\n .browser-name-ios-webview {\n .lt-reach-header-actions {\n height: 50px;\n }\n }\n\n .browser-name-safari {\n .lt-reach-force-safari-h-scrollbar {\n ","\n }\n\n .lt-reach-force-safari-v-scrollbar {\n ","\n }\n }\n"])),(function(e){return e.theme.textColors.default}),CK(!0),CK()),DK=Yq(["browser-version-"+sg,"browser-name-"+og],"lt-reach");!function(e){e[e.asc=1]="asc",e[e.desc=-1]="desc"}(PK||(PK={}));var AK="Language",IK="Locale";function LK(){var e=bS();return i.useMemo((function(){return{getLocalLanguage:function(){return bK(this,void 0,void 0,(function(){return OK(this,(function(t){switch(t.label){case 0:return[4,e.getString(AK)];case 1:return[2,dw(t.sent())]}}))}))},saveLanguageToLocalStorage:function(t){return bK(this,void 0,void 0,(function(){return OK(this,(function(n){switch(n.label){case 0:return[4,e.setString(AK,t)];case 1:return n.sent(),[2]}}))}))},saveLocaleToLocalStorage:function(t){return bK(this,void 0,void 0,(function(){return OK(this,(function(n){switch(n.label){case 0:return[4,e.setString(IK,t)];case 1:return n.sent(),[2]}}))}))},getLocaleFromLocalStorage:function(){return bK(this,void 0,void 0,(function(){return OK(this,(function(t){return[2,e.getString(IK)]}))}))}}}),[e])}var zK="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},$K=function(e){return e&&e.Math==Math&&e},RK=$K("object"==typeof globalThis&&globalThis)||$K("object"==typeof window&&window)||$K("object"==typeof self&&self)||$K("object"==typeof zK&&zK)||Function("return this")(),QK={},jK=function(e){try{return!!e()}catch(e){return!0}},MK=!jK((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),NK={},UK={}.propertyIsEnumerable,qK=Object.getOwnPropertyDescriptor,BK=qK&&!UK.call({1:2},1);NK.f=BK?function(e){var t=qK(this,e);return!!t&&t.enumerable}:UK;var GK=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},WK={}.toString,XK=function(e){return WK.call(e).slice(8,-1)},VK=XK,YK="".split,ZK=jK((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==VK(e)?YK.call(e,""):Object(e)}:Object,HK=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},KK=ZK,JK=HK,eJ=function(e){return KK(JK(e))},tJ=function(e){return"object"==typeof e?null!==e:"function"==typeof e},nJ=tJ,iJ=function(e,t){if(!nJ(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!nJ(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!nJ(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!nJ(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")},rJ={}.hasOwnProperty,aJ=function(e,t){return rJ.call(e,t)},oJ=tJ,sJ=RK.document,lJ=oJ(sJ)&&oJ(sJ.createElement),uJ=function(e){return lJ?sJ.createElement(e):{}},cJ=uJ,dJ=!MK&&!jK((function(){return 7!=Object.defineProperty(cJ("div"),"a",{get:function(){return 7}}).a})),hJ=MK,pJ=NK,fJ=GK,mJ=eJ,gJ=iJ,vJ=aJ,yJ=dJ,bJ=Object.getOwnPropertyDescriptor;QK.f=hJ?bJ:function(e,t){if(e=mJ(e),t=gJ(t,!0),yJ)try{return bJ(e,t)}catch(e){}if(vJ(e,t))return fJ(!pJ.f.call(e,t),e[t])};var OJ={},_J=tJ,wJ=function(e){if(!_J(e))throw TypeError(String(e)+" is not an object");return e},kJ=MK,xJ=dJ,SJ=wJ,PJ=iJ,EJ=Object.defineProperty;OJ.f=kJ?EJ:function(e,t,n){if(SJ(e),t=PJ(t,!0),SJ(n),xJ)try{return EJ(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var FJ=OJ,CJ=GK,TJ=MK?function(e,t,n){return FJ.f(e,t,CJ(1,n))}:function(e,t,n){return e[t]=n,e},DJ={exports:{}},AJ=RK,IJ=TJ,LJ=function(e,t){try{IJ(AJ,e,t)}catch(n){AJ[e]=t}return t},zJ=LJ,$J="__core-js_shared__",RJ=RK[$J]||zJ($J,{}),QJ=RJ,jJ=Function.toString;"function"!=typeof QJ.inspectSource&&(QJ.inspectSource=function(e){return jJ.call(e)});var MJ=QJ.inspectSource,NJ=MJ,UJ=RK.WeakMap,qJ="function"==typeof UJ&&/native code/.test(NJ(UJ)),BJ={exports:{}},GJ=RJ;(BJ.exports=function(e,t){return GJ[e]||(GJ[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"});var WJ,XJ,VJ,YJ=0,ZJ=Math.random(),HJ=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++YJ+ZJ).toString(36)},KJ=BJ.exports,JJ=HJ,e0=KJ("keys"),t0=function(e){return e0[e]||(e0[e]=JJ(e))},n0={},i0=qJ,r0=tJ,a0=TJ,o0=aJ,s0=t0,l0=n0,u0=RK.WeakMap;if(i0){var c0=new u0,d0=c0.get,h0=c0.has,p0=c0.set;WJ=function(e,t){return p0.call(c0,e,t),t},XJ=function(e){return d0.call(c0,e)||{}},VJ=function(e){return h0.call(c0,e)}}else{var f0=s0("state");l0[f0]=!0,WJ=function(e,t){return a0(e,f0,t),t},XJ=function(e){return o0(e,f0)?e[f0]:{}},VJ=function(e){return o0(e,f0)}}var m0={set:WJ,get:XJ,has:VJ,enforce:function(e){return VJ(e)?XJ(e):WJ(e,{})},getterFor:function(e){return function(t){var n;if(!r0(t)||(n=XJ(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},g0=RK,v0=TJ,y0=aJ,b0=LJ,O0=MJ,_0=m0.get,w0=m0.enforce,k0=String(String).split("String");(DJ.exports=function(e,t,n,i){var r=!!i&&!!i.unsafe,a=!!i&&!!i.enumerable,o=!!i&&!!i.noTargetGet;"function"==typeof n&&("string"!=typeof t||y0(n,"name")||v0(n,"name",t),w0(n).source=k0.join("string"==typeof t?t:"")),e!==g0?(r?!o&&e[t]&&(a=!0):delete e[t],a?e[t]=n:v0(e,t,n)):a?e[t]=n:b0(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&_0(this).source||O0(this)}));var x0=RK,S0=RK,P0=function(e){return"function"==typeof e?e:void 0},E0=function(e,t){return arguments.length<2?P0(x0[e])||P0(S0[e]):x0[e]&&x0[e][t]||S0[e]&&S0[e][t]},F0={},C0=Math.ceil,T0=Math.floor,D0=function(e){return isNaN(e=+e)?0:(e>0?T0:C0)(e)},A0=D0,I0=Math.min,L0=function(e){return e>0?I0(A0(e),9007199254740991):0},z0=D0,$0=Math.max,R0=Math.min,Q0=eJ,j0=L0,M0=function(e,t){var n=z0(e);return n<0?$0(n+t,0):R0(n,t)},N0=function(e){return function(t,n,i){var r,a=Q0(t),o=j0(a.length),s=M0(i,o);if(e&&n!=n){for(;o>s;)if((r=a[s++])!=r)return!0}else for(;o>s;s++)if((e||s in a)&&a[s]===n)return e||s||0;return!e&&-1}},U0={includes:N0(!0),indexOf:N0(!1)},q0=aJ,B0=eJ,G0=U0.indexOf,W0=n0,X0=function(e,t){var n,i=B0(e),r=0,a=[];for(n in i)!q0(W0,n)&&q0(i,n)&&a.push(n);for(;t.length>r;)q0(i,n=t[r++])&&(~G0(a,n)||a.push(n));return a},V0=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Y0=X0,Z0=V0.concat("length","prototype");F0.f=Object.getOwnPropertyNames||function(e){return Y0(e,Z0)};var H0={};H0.f=Object.getOwnPropertySymbols;var K0=F0,J0=H0,e1=wJ,t1=E0("Reflect","ownKeys")||function(e){var t=K0.f(e1(e)),n=J0.f;return n?t.concat(n(e)):t},n1=aJ,i1=t1,r1=QK,a1=OJ,o1=jK,s1=/#|\.prototype\./,l1=function(e,t){var n=c1[u1(e)];return n==h1||n!=d1&&("function"==typeof t?o1(t):!!t)},u1=l1.normalize=function(e){return String(e).replace(s1,".").toLowerCase()},c1=l1.data={},d1=l1.NATIVE="N",h1=l1.POLYFILL="P",p1=l1,f1=RK,m1=QK.f,g1=TJ,v1=DJ.exports,y1=LJ,b1=function(e,t){for(var n=i1(t),i=a1.f,r=r1.f,a=0;a<n.length;a++){var o=n[a];n1(e,o)||i(e,o,r(t,o))}},O1=p1,_1=function(e,t){var n,i,r,a,o,s=e.target,l=e.global,u=e.stat;if(n=l?f1:u?f1[s]||y1(s,{}):(f1[s]||{}).prototype)for(i in t){if(a=t[i],r=e.noTargetGet?(o=m1(n,i))&&o.value:n[i],!O1(l?i:s+(u?".":"#")+i,e.forced)&&void 0!==r){if(typeof a==typeof r)continue;b1(a,r)}(e.sham||r&&r.sham)&&g1(a,"sham",!0),v1(n,i,a,e)}},w1=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},k1=HK,x1=function(e){return Object(k1(e))},S1=w1,P1=x1,E1=ZK,F1=L0,C1=function(e){return function(t,n,i,r){S1(n);var a=P1(t),o=E1(a),s=F1(a.length),l=e?s-1:0,u=e?-1:1;if(i<2)for(;;){if(l in o){r=o[l],l+=u;break}if(l+=u,e?l<0:s<=l)throw TypeError("Reduce of empty array with no initial value")}for(;e?l>=0:s>l;l+=u)l in o&&(r=n(r,o[l],l,a));return r}},T1={left:C1(!1),right:C1(!0)},D1=jK,A1=function(e,t){var n=[][e];return!!n&&D1((function(){n.call(null,t||function(){throw 1},1)}))},I1=MK,L1=jK,z1=aJ,$1=Object.defineProperty,R1={},Q1=function(e){throw e},j1=_1,M1=T1.left,N1=function(e,t){if(z1(R1,e))return R1[e];t||(t={});var n=[][e],i=!!z1(t,"ACCESSORS")&&t.ACCESSORS,r=z1(t,0)?t[0]:Q1,a=z1(t,1)?t[1]:void 0;return R1[e]=!!n&&!L1((function(){if(i&&!I1)return!0;var e={length:-1};i?$1(e,1,{enumerable:!0,get:Q1}):e[1]=1,n.call(e,r,a)}))},U1=A1("reduce"),q1=N1("reduce",{1:0});j1({target:"Array",proto:!0,forced:!U1||!q1},{reduce:function(e){return M1(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}});var B1=RK.Promise,G1=DJ.exports,W1=jK,X1=!!Object.getOwnPropertySymbols&&!W1((function(){return!String(Symbol())})),V1=X1&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Y1=RK,Z1=BJ.exports,H1=aJ,K1=HJ,J1=X1,e2=V1,t2=Z1("wks"),n2=Y1.Symbol,i2=e2?n2:n2&&n2.withoutSetter||K1,r2=function(e){return H1(t2,e)||(J1&&H1(n2,e)?t2[e]=n2[e]:t2[e]=i2("Symbol."+e)),t2[e]},a2=OJ.f,o2=aJ,s2=r2("toStringTag"),l2=function(e,t,n){e&&!o2(e=n?e:e.prototype,s2)&&a2(e,s2,{configurable:!0,value:t})},u2=E0,c2=OJ,d2=MK,h2=r2("species"),p2=function(e){var t=u2(e),n=c2.f;d2&&t&&!t[h2]&&n(t,h2,{configurable:!0,get:function(){return this}})},f2={exports:{}},m2={},g2=m2,v2=r2("iterator"),y2=Array.prototype,b2=w1,O2=function(e,t,n){if(b2(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}},_2={};_2[r2("toStringTag")]="z";var w2="[object z]"===String(_2),k2=XK,x2=r2("toStringTag"),S2="Arguments"==k2(function(){return arguments}()),P2=w2?k2:function(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),x2))?n:S2?k2(t):"Object"==(i=k2(t))&&"function"==typeof t.callee?"Arguments":i},E2=P2,F2=m2,C2=r2("iterator"),T2=wJ,D2=wJ,A2=function(e){return void 0!==e&&(g2.Array===e||y2[v2]===e)},I2=L0,L2=O2,z2=function(e){if(null!=e)return e[C2]||e["@@iterator"]||F2[E2(e)]},$2=function(e,t,n,i){try{return i?t(T2(n)[0],n[1]):t(n)}catch(t){var r=e.return;throw void 0!==r&&T2(r.call(e)),t}},R2=function(e,t){this.stopped=e,this.result=t},Q2=f2.exports=function(e,t,n,i,r){var a,o,s,l,u,c,d,h=L2(t,n,i?2:1);if(r)a=e;else{if("function"!=typeof(o=z2(e)))throw TypeError("Target is not iterable");if(A2(o)){for(s=0,l=I2(e.length);l>s;s++)if((u=i?h(D2(d=e[s])[0],d[1]):h(e[s]))&&u instanceof R2)return u;return new R2(!1)}a=o.call(e)}for(c=a.next;!(d=c.call(a)).done;)if("object"==typeof(u=$2(a,h,d.value,i))&&u&&u instanceof R2)return u;return new R2(!1)};Q2.stop=function(e){return new R2(!0,e)};var j2=r2("iterator"),M2=!1;try{var N2=0,U2={next:function(){return{done:!!N2++}},return:function(){M2=!0}};U2[j2]=function(){return this},Array.from(U2,(function(){throw 2}))}catch(e){}var q2,B2,G2,W2=wJ,X2=w1,V2=r2("species"),Y2=function(e,t){var n,i=W2(e).constructor;return void 0===i||null==(n=W2(i)[V2])?t:X2(n)},Z2=E0("document","documentElement"),H2=E0("navigator","userAgent")||"",K2=/(iphone|ipod|ipad).*applewebkit/i.test(H2),J2=RK,e3=jK,t3=XK,n3=O2,i3=Z2,r3=uJ,a3=K2,o3=J2.location,s3=J2.setImmediate,l3=J2.clearImmediate,u3=J2.process,c3=J2.MessageChannel,d3=J2.Dispatch,h3=0,p3={},f3="onreadystatechange",m3=function(e){if(p3.hasOwnProperty(e)){var t=p3[e];delete p3[e],t()}},g3=function(e){return function(){m3(e)}},v3=function(e){m3(e.data)},y3=function(e){J2.postMessage(e+"",o3.protocol+"//"+o3.host)};s3&&l3||(s3=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return p3[++h3]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},q2(h3),h3},l3=function(e){delete p3[e]},"process"==t3(u3)?q2=function(e){u3.nextTick(g3(e))}:d3&&d3.now?q2=function(e){d3.now(g3(e))}:c3&&!a3?(G2=(B2=new c3).port2,B2.port1.onmessage=v3,q2=n3(G2.postMessage,G2,1)):!J2.addEventListener||"function"!=typeof postMessage||J2.importScripts||e3(y3)||"file:"===o3.protocol?q2=f3 in r3("script")?function(e){i3.appendChild(r3("script")).onreadystatechange=function(){i3.removeChild(this),m3(e)}}:function(e){setTimeout(g3(e),0)}:(q2=y3,J2.addEventListener("message",v3,!1)));var b3,O3,_3,w3,k3,x3,S3,P3,E3={set:s3,clear:l3},F3=RK,C3=QK.f,T3=XK,D3=E3.set,A3=K2,I3=F3.MutationObserver||F3.WebKitMutationObserver,L3=F3.process,z3=F3.Promise,$3="process"==T3(L3),R3=C3(F3,"queueMicrotask"),Q3=R3&&R3.value;Q3||(b3=function(){var e,t;for($3&&(e=L3.domain)&&e.exit();O3;){t=O3.fn,O3=O3.next;try{t()}catch(e){throw O3?w3():_3=void 0,e}}_3=void 0,e&&e.enter()},$3?w3=function(){L3.nextTick(b3)}:I3&&!A3?(k3=!0,x3=document.createTextNode(""),new I3(b3).observe(x3,{characterData:!0}),w3=function(){x3.data=k3=!k3}):z3&&z3.resolve?(S3=z3.resolve(void 0),P3=S3.then,w3=function(){P3.call(S3,b3)}):w3=function(){D3.call(F3,b3)});var j3=Q3||function(e){var t={fn:e,next:void 0};_3&&(_3.next=t),O3||(O3=t,w3()),_3=t},M3={},N3=w1,U3=function(e){var t,n;this.promise=new e((function(e,i){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=i})),this.resolve=N3(t),this.reject=N3(n)};M3.f=function(e){return new U3(e)};var q3,B3,G3=wJ,W3=tJ,X3=M3,V3=RK,Y3=H2,Z3=RK.process,H3=Z3&&Z3.versions,K3=H3&&H3.v8;K3?B3=(q3=K3.split("."))[0]+q3[1]:Y3&&(!(q3=Y3.match(/Edge\/(\d+)/))||q3[1]>=74)&&(q3=Y3.match(/Chrome\/(\d+)/))&&(B3=q3[1]);var J3,e4,t4,n4,i4=B3&&+B3,r4=_1,a4=RK,o4=E0,s4=B1,l4=DJ.exports,u4=function(e,t,n){for(var i in t)G1(e,i,t[i],n);return e},c4=l2,d4=p2,h4=tJ,p4=w1,f4=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},m4=XK,g4=MJ,v4=f2.exports,y4=function(e,t){if(!t&&!M2)return!1;var n=!1;try{var i={};i[j2]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n},b4=Y2,O4=E3.set,_4=j3,w4=function(e,t){if(G3(e),W3(t)&&t.constructor===e)return t;var n=X3.f(e);return(0,n.resolve)(t),n.promise},k4=function(e,t){var n=V3.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))},x4=M3,S4=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},P4=m0,E4=p1,F4=i4,C4=r2("species"),T4="Promise",D4=P4.get,A4=P4.set,I4=P4.getterFor(T4),L4=s4,z4=a4.TypeError,$4=a4.document,R4=a4.process,Q4=o4("fetch"),j4=x4.f,M4=j4,N4="process"==m4(R4),U4=!!($4&&$4.createEvent&&a4.dispatchEvent),q4="unhandledrejection",B4=E4(T4,(function(){if(!(g4(L4)!==String(L4))){if(66===F4)return!0;if(!N4&&"function"!=typeof PromiseRejectionEvent)return!0}if(F4>=51&&/native code/.test(L4))return!1;var e=L4.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[C4]=t,!(e.then((function(){}))instanceof t)})),G4=B4||!y4((function(e){L4.all(e).catch((function(){}))})),W4=function(e){var t;return!(!h4(e)||"function"!=typeof(t=e.then))&&t},X4=function(e,t,n){if(!t.notified){t.notified=!0;var i=t.reactions;_4((function(){for(var r=t.value,a=1==t.state,o=0;i.length>o;){var s,l,u,c=i[o++],d=a?c.ok:c.fail,h=c.resolve,p=c.reject,f=c.domain;try{d?(a||(2===t.rejection&&H4(e,t),t.rejection=1),!0===d?s=r:(f&&f.enter(),s=d(r),f&&(f.exit(),u=!0)),s===c.promise?p(z4("Promise-chain cycle")):(l=W4(s))?l.call(s,h,p):h(s)):p(r)}catch(e){f&&!u&&f.exit(),p(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&Y4(e,t)}))}},V4=function(e,t,n){var i,r;U4?((i=$4.createEvent("Event")).promise=t,i.reason=n,i.initEvent(e,!1,!0),a4.dispatchEvent(i)):i={promise:t,reason:n},(r=a4["on"+e])?r(i):e===q4&&k4("Unhandled promise rejection",n)},Y4=function(e,t){O4.call(a4,(function(){var n,i=t.value;if(Z4(t)&&(n=S4((function(){N4?R4.emit("unhandledRejection",i,e):V4(q4,e,i)})),t.rejection=N4||Z4(t)?2:1,n.error))throw n.value}))},Z4=function(e){return 1!==e.rejection&&!e.parent},H4=function(e,t){O4.call(a4,(function(){N4?R4.emit("rejectionHandled",e):V4("rejectionhandled",e,t.value)}))},K4=function(e,t,n,i){return function(r){e(t,n,r,i)}},J4=function(e,t,n,i){t.done||(t.done=!0,i&&(t=i),t.value=n,t.state=2,X4(e,t,!0))},e6=function(e,t,n,i){if(!t.done){t.done=!0,i&&(t=i);try{if(e===n)throw z4("Promise can't be resolved itself");var r=W4(n);r?_4((function(){var i={done:!1};try{r.call(n,K4(e6,e,i,t),K4(J4,e,i,t))}catch(n){J4(e,i,n,t)}})):(t.value=n,t.state=1,X4(e,t,!1))}catch(n){J4(e,{done:!1},n,t)}}};function t6(e){switch(null==e?void 0:e.toLowerCase()){case"da":return Promise.resolve().then((function(){return AFi}));case"de":return Promise.resolve().then((function(){return IFi}));case"fr":return Promise.resolve().then((function(){return LFi}));case"es":return Promise.resolve().then((function(){return zFi}));case"zh-tw":return Promise.resolve().then((function(){return $Fi}));case"zh-cn":return Promise.resolve().then((function(){return RFi}));case"ja":return Promise.resolve().then((function(){return QFi}));case"tr":return Promise.resolve().then((function(){return jFi}));case"it":return Promise.resolve().then((function(){return MFi}));default:return Promise.resolve().then((function(){return NFi}))}}function n6(e){switch(null==e?void 0:e.toLowerCase()){case"ar-dz":return Promise.resolve().then((function(){return BFi}));case"ar-kw":return Promise.resolve().then((function(){return WFi}));case"ar-ly":return Promise.resolve().then((function(){return VFi}));case"ar-ma":return Promise.resolve().then((function(){return ZFi}));case"ar-sa":return Promise.resolve().then((function(){return KFi}));case"ar-tn":return Promise.resolve().then((function(){return eCi}));case"ar":return Promise.resolve().then((function(){return nCi}));case"bg":return Promise.resolve().then((function(){return rCi}));case"bn":return Promise.resolve().then((function(){return oCi}));case"ca":return Promise.resolve().then((function(){return lCi}));case"cs":return Promise.resolve().then((function(){return cCi}));case"da":return Promise.resolve().then((function(){return hCi}));case"de-at":return Promise.resolve().then((function(){return fCi}));case"de-ch":return Promise.resolve().then((function(){return gCi}));case"de":return Promise.resolve().then((function(){return yCi}));case"el":return Promise.resolve().then((function(){return OCi}));case"en-au":return Promise.resolve().then((function(){return wCi}));case"en-ca":return Promise.resolve().then((function(){return xCi}));case"en-gb":return Promise.resolve().then((function(){return PCi}));case"en-ie":return Promise.resolve().then((function(){return FCi}));case"en-il":return Promise.resolve().then((function(){return TCi}));case"en-nz":return Promise.resolve().then((function(){return ACi}));case"en-sg":return Promise.resolve().then((function(){return LCi}));case"es-do":return Promise.resolve().then((function(){return $Ci}));case"es-us":return Promise.resolve().then((function(){return QCi}));case"es":return Promise.resolve().then((function(){return MCi}));case"et":return Promise.resolve().then((function(){return UCi}));case"fa":return Promise.resolve().then((function(){return BCi}));case"fi":return Promise.resolve().then((function(){return WCi}));case"fr-ca":return Promise.resolve().then((function(){return VCi}));case"fr-ch":return Promise.resolve().then((function(){return ZCi}));case"fr":return Promise.resolve().then((function(){return KCi}));case"gu":return Promise.resolve().then((function(){return eTi}));case"he":return Promise.resolve().then((function(){return nTi}));case"hi":return Promise.resolve().then((function(){return rTi}));case"hr":return Promise.resolve().then((function(){return oTi}));case"hu":return Promise.resolve().then((function(){return lTi}));case"id":return Promise.resolve().then((function(){return cTi}));case"it-ch":return Promise.resolve().then((function(){return hTi}));case"it":return Promise.resolve().then((function(){return fTi}));case"ja":return Promise.resolve().then((function(){return gTi}));case"kn":return Promise.resolve().then((function(){return yTi}));case"ko":return Promise.resolve().then((function(){return OTi}));case"lt":return Promise.resolve().then((function(){return wTi}));case"lv":return Promise.resolve().then((function(){return xTi}));case"ml":return Promise.resolve().then((function(){return PTi}));case"mr":return Promise.resolve().then((function(){return FTi}));case"ms-my":return Promise.resolve().then((function(){return TTi}));case"ms":return Promise.resolve().then((function(){return ATi}));case"nb":return Promise.resolve().then((function(){return LTi}));case"nl-be":return Promise.resolve().then((function(){return $Ti}));case"nl":return Promise.resolve().then((function(){return QTi}));case"pl":return Promise.resolve().then((function(){return MTi}));case"pt-br":return Promise.resolve().then((function(){return UTi}));case"pt":return Promise.resolve().then((function(){return BTi}));case"ro":return Promise.resolve().then((function(){return WTi}));case"ru":return Promise.resolve().then((function(){return VTi}));case"sk":return Promise.resolve().then((function(){return ZTi}));case"sl":return Promise.resolve().then((function(){return KTi}));case"sr-cyrl":return Promise.resolve().then((function(){return eDi}));case"sr":return Promise.resolve().then((function(){return nDi}));case"sv":return Promise.resolve().then((function(){return rDi}));case"sw":return Promise.resolve().then((function(){return oDi}));case"ta":return Promise.resolve().then((function(){return lDi}));case"te":return Promise.resolve().then((function(){return cDi}));case"th":return Promise.resolve().then((function(){return hDi}));case"tr":return Promise.resolve().then((function(){return fDi}));case"uk":return Promise.resolve().then((function(){return gDi}));case"vi":return Promise.resolve().then((function(){return yDi}));case"zh-cn":return Promise.resolve().then((function(){return ODi}));case"zh-hk":return Promise.resolve().then((function(){return wDi}));case"zh-tw":return Promise.resolve().then((function(){return xDi}));default:return Promise.resolve()}}B4&&(L4=function(e){f4(this,L4,T4),p4(e),J3.call(this);var t=D4(this);try{e(K4(e6,this,t),K4(J4,this,t))}catch(e){J4(this,t,e)}},(J3=function(e){A4(this,{type:T4,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=u4(L4.prototype,{then:function(e,t){var n=I4(this),i=j4(b4(this,L4));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=N4?R4.domain:void 0,n.parent=!0,n.reactions.push(i),0!=n.state&&X4(this,n,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),e4=function(){var e=new J3,t=D4(e);this.promise=e,this.resolve=K4(e6,e,t),this.reject=K4(J4,e,t)},x4.f=j4=function(e){return e===L4||e===t4?new e4(e):M4(e)},"function"==typeof s4&&(n4=s4.prototype.then,l4(s4.prototype,"then",(function(e,t){var n=this;return new L4((function(e,t){n4.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof Q4&&r4({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return w4(L4,Q4.apply(a4,arguments))}}))),r4({global:!0,wrap:!0,forced:B4},{Promise:L4}),c4(L4,T4,!1),d4(T4),t4=o4(T4),r4({target:T4,stat:!0,forced:B4},{reject:function(e){var t=j4(this);return t.reject.call(void 0,e),t.promise}}),r4({target:T4,stat:!0,forced:B4},{resolve:function(e){return w4(this,e)}}),r4({target:T4,stat:!0,forced:G4},{all:function(e){var t=this,n=j4(t),i=n.resolve,r=n.reject,a=S4((function(){var n=p4(t.resolve),a=[],o=0,s=1;v4(e,(function(e){var l=o++,u=!1;a.push(void 0),s++,n.call(t,e).then((function(e){u||(u=!0,a[l]=e,--s||i(a))}),r)})),--s||i(a)}));return a.error&&r(a.value),n.promise},race:function(e){var t=this,n=j4(t),i=n.reject,r=S4((function(){var r=p4(t.resolve);v4(e,(function(e){r.call(t,e).then(n.resolve,i)}))}));return r.error&&i(r.value),n.promise}});var i6=function(e){var n,r=e.children,a=e.language,o=i.useState(null),s=o[0],l=o[1],u=LK(),c=u.getLocalLanguage,d=u.getLocaleFromLocalStorage;return i.useEffect((function(){(function(){return bK(this,void 0,void 0,(function(){var e,t,n;return OK(this,(function(i){switch(i.label){case 0:return[4,d()];case 1:return e=i.sent(),t=h,null==a?[3,2]:(n=a,[3,4]);case 2:return[4,c()];case 3:n=i.sent(),i.label=4;case 4:return[4,t.apply(void 0,[n,e])];case 5:return i.sent(),[2]}}))}))})().then((function(){return null}),ng.error)}),[]),(null===(n=null==s?void 0:s.resources)||void 0===n?void 0:n[s.language])?t.jsx(SS.Provider,vK({value:{language:s.language,changeLocale:function(e){return function(e,t){return bK(this,void 0,void 0,(function(){return OK(this,(function(n){switch(n.label){case 0:return[4,r6(e||t)];case 1:return n.sent(),l((function(t){return vK(vK({},t),{locale:e})})),[2]}}))}))}(e,s.language)},changeLanguage:function(e){return bK(this,void 0,void 0,(function(){var t;return OK(this,(function(n){switch(n.label){case 0:return[4,p(e=null==e?void 0:e.toLocaleLowerCase())];case 1:return t=n.sent(),s.locale?[3,3]:[4,r6(e)];case 2:n.sent(),n.label=3;case 3:return l((function(n){return vK(vK({},n),{language:e,resources:t})})),[2]}}))}))},changeSettings:h,addResources:function(e){l((function(t){var n=Object.keys(e).reduce((function(n,i){var r;return(r={})[i]=vK(vK(vK({},n),t.resources[i]),e[i]),r}),{});return vK(vK({},t),{resources:vK(vK({},t.resources),n)})}))}}},{children:t.jsx(tS,vK({locale:s.locale||s.language,messages:s.resources[s.language]},{children:t.jsx(xS,{children:r},void 0)}),void 0)}),void 0):null;function h(e,t){return bK(this,void 0,void 0,(function(){var n;return OK(this,(function(i){switch(i.label){case 0:return e=null==e?void 0:e.toLocaleLowerCase(),(null==s?void 0:s.language)===e&&(null==s?void 0:s.locale)===t?[2]:[4,p(e)];case 1:return n=i.sent(),[4,r6(t||e)];case 2:return i.sent(),l({language:e,locale:t,resources:n}),[2]}}))}))}function p(e){return bK(this,void 0,void 0,(function(){var t;return OK(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,f(e)];case 1:return[2,n.sent()];case 2:return t=n.sent(),ng.error(t),[2,null];case 3:return[2]}}))}))}function f(e){var t;return bK(this,void 0,void 0,(function(){var n,i,r;return OK(this,(function(a){switch(a.label){case 0:if(null==e)return[2,null];if(null===(t=null==s?void 0:s.resources)||void 0===t?void 0:t[e])return[2,s.resources];a.label=1;case 1:return a.trys.push([1,3,,4]),e=e.toLowerCase(),n=m,i=[e],[4,t6(e)];case 2:return[2,n.apply(void 0,i.concat([a.sent().default]))];case 3:return r=a.sent(),ng.error(r),[2,{}];case 4:return[2]}}))}))}function m(e,t){var n,i,r,a=window.__localeResourcesInterceptor||{};return vK(vK(vK({},null!==(r=null==s?void 0:s.resources)&&void 0!==r?r:{}),((n={})[e]=t,n)),a[e]&&((i={})[e]=a[e],i))}};function r6(e){return bK(this,void 0,void 0,(function(){var t;return OK(this,(function(n){switch(n.label){case 0:if(!e)return[2];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,n6(e)];case 2:return n.sent(),rs.locale(e),[3,4];case 3:return t=n.sent(),ng.error(t),[3,4];case 4:return[2]}}))}))}function a6(e){switch(null==e?void 0:e.toLowerCase()){case"ar-dz":case"ar-kw":case"ar-ly":case"ar-tn":case"ar":return Promise.resolve().then((function(){return ADi}));case"ar-ma":return Promise.resolve().then((function(){return MDi}));case"ar-sa":return Promise.resolve().then((function(){return VDi}));case"bg":return Promise.resolve().then((function(){return sAi}));case"bn":return Promise.resolve().then((function(){return vAi}));case"ca":return Promise.resolve().then((function(){return EAi}));case"cs":return Promise.resolve().then((function(){return $Ai}));case"da":return Promise.resolve().then((function(){return BAi}));case"de":case"de-ch":case"de-at":return Promise.resolve().then((function(){return tIi}));case"el":return Promise.resolve().then((function(){return uIi}));case"en-au":return Promise.resolve().then((function(){return dIi}));case"en-ca":return Promise.resolve().then((function(){return mIi}));case"en-gb":case"en-il":case"en-ie":case"en-sg":return Promise.resolve().then((function(){return vIi}));case"en-nz":return Promise.resolve().then((function(){return bIi}));case"es":case"es-us":case"es-do":return Promise.resolve().then((function(){return FIi}));case"et":return Promise.resolve().then((function(){return QIi}));case"fa":return Promise.resolve().then((function(){return WIi}));case"fi":return Promise.resolve().then((function(){return cLi}));case"fr-ca":return Promise.resolve().then((function(){return OLi}));case"fr-ch":return Promise.resolve().then((function(){return CLi}));case"fr":return Promise.resolve().then((function(){return DLi}));case"gu":return Promise.resolve().then((function(){return jLi}));case"he":return Promise.resolve().then((function(){return YLi}));case"hi":return Promise.resolve().then((function(){return azi}));case"hr":return Promise.resolve().then((function(){return fzi}));case"hu":return Promise.resolve().then((function(){return Pzi}));case"id":return Promise.resolve().then((function(){return zzi}));case"it":case"it-ch":return Promise.resolve().then((function(){return Gzi}));case"ja":return Promise.resolve().then((function(){return e$i}));case"kn":return Promise.resolve().then((function(){return u$i}));case"ko":return Promise.resolve().then((function(){return y$i}));case"lt":return Promise.resolve().then((function(){return A$i}));case"lv":return Promise.resolve().then((function(){return q$i}));case"ms":case"ms-my":return Promise.resolve().then((function(){return K$i}));case"nb":return Promise.resolve().then((function(){return oRi}));case"nl-be":return Promise.resolve().then((function(){return fRi}));case"nl":return Promise.resolve().then((function(){return wRi}));case"pl":return Promise.resolve().then((function(){return QRi}));case"pt-br":return Promise.resolve().then((function(){return XRi}));case"pt":return Promise.resolve().then((function(){return tQi}));case"ro":return Promise.resolve().then((function(){return cQi}));case"ru":return Promise.resolve().then((function(){return wQi}));case"sk":return Promise.resolve().then((function(){return zQi}));case"sl":return Promise.resolve().then((function(){return WQi}));case"sr-cyrl":return Promise.resolve().then((function(){return tji}));case"sr":return Promise.resolve().then((function(){return cji}));case"sv":return Promise.resolve().then((function(){return Oji}));case"ta":return Promise.resolve().then((function(){return Cji}));case"te":return Promise.resolve().then((function(){return Rji}));case"th":return Promise.resolve().then((function(){return Gji}));case"tr":return Promise.resolve().then((function(){return Jji}));case"uk":return Promise.resolve().then((function(){return dMi}));case"vi":return Promise.resolve().then((function(){return OMi}));case"zh-cn":case"zh-hk":return Promise.resolve().then((function(){return TMi}));case"zh-tw":return Promise.resolve().then((function(){return jMi}));default:return Promise.resolve().then((function(){return MMi}))}}var o6,s6,l6,u6,c6,d6,h6,p6,f6,m6,g6,v6,y6,b6,O6=["news","comments","multiLanguage","keywords","pushNotifications","mailNotification","teamsNotifications","themes","webHooks","reporting","likes","confirmation","customLogo","customName","avatars","manualChannelSubscription","bannerImages","bannerVideos","editorInlineFiles","editorInlineImages","editorInlineGallery","editorInlineVideos","editorInlineMarkup","editorInlineTable","editorInlineContact","expiryDate","onBehalfOf","editorConversations","targetAudienceRules","unreadTracking","editorInlineQuotes","selfRegistration","people","posts","newsAlerts","pages","inPageNavigation","automaticTranslation","polls","events","teams","userInvitation","languageDetection","postKeywords","hyperfish","canva","allowUserImpersonation","directoryGroupMemberCaching","inAppBrowser","externalNews","termsAndConditions","chat","recurringEvents","publicAccess","allowUserPropertiesUpdate","showMyNews","allowToUnpinMandatoryChannels","allowToReorderMandatoryChannels","useDirectoryUserPropertiesForTargetAudience","giphy","replyToComments","enableUserflow","reportingPreview","preventContentRedirectForBrandedApps","browserPushNotifications","contentHeadline","popularNewsReport","notificationFeed","unsplash","externalPages","showLikers","pageDocuments","unifiedPostView","stream","showAllNews","customFavicon","editorPreview","editorAutomaticTranslation","editorYouTubeVideos","editorVimeoVideos","editorKalturaVideos","editorMicrosoftVideos","searchEverywhere","zendesk","gettyImages","sharedItems","userLocationLookup","deleteUserAccount","inviteUsersFromCsv","editorApprovalNotifications","analytics","breakPageGroupInheritance"],_6=function(){},w6=i.createContext(null);function k6(){return i.useContext(w6)}function x6(){var e=i.useContext(w6);return null==e?void 0:e.user}function S6(){var e=x6();return function(e){var t,n=new _6;if(!e)return n;for(var i=0;i<O6.length;i++){var r=O6[i];e.featureMask?n[r]="1"===e.featureMask[i]:n[r]=!(null===(t=e.disabledFeatures)||void 0===t?void 0:t[r])}return n}(null==e?void 0:e.subscription)}!function(e){e[e.User=1]="User",e[e.Group=2]="Group"}(o6||(o6={})),function(e){e[e.AnyGroupOrAnyProperty=0]="AnyGroupOrAnyProperty",e[e.AnyGroupAndAnyProperty=1]="AnyGroupAndAnyProperty"}(s6||(s6={})),function(e){e.large="large",e.small="small"}(l6||(l6={})),function(e){e[e.Success=1]="Success",e[e.InvalidHash=2]="InvalidHash",e[e.OneDirectoryLimit=3]="OneDirectoryLimit",e[e.CurrentTenantAlreadyLinked=4]="CurrentTenantAlreadyLinked"}(u6||(u6={})),function(e){e.global="Global",e.page="Page",e.eventEditorFeedbackSection="EventEditorFeedbackSection",e.eventDetailViewSection="EventDetailViewSection",e.itemEditor="ItemEditor"}(c6||(c6={})),function(e){e[e.Unknown=0]="Unknown",e[e.Text=1]="Text",e[e.MultilineText=2]="MultilineText"}(d6||(d6={})),function(e){e[e.Unknown=0]="Unknown",e[e.AdminOnly=1]="AdminOnly",e[e.UserEditable=2]="UserEditable",e[e.Hidden=3]="Hidden"}(h6||(h6={})),function(e){e.Admin="Admin",e.Editor="Editor",e.Author="Author",e.Reader="Reader",e.LimitedReader="LimitedReader",e.None="None"}(p6||(p6={})),function(e){e[e.None=0]="None",e[e.LimitedReader=5]="LimitedReader",e[e.Reader=10]="Reader",e[e.Author=20]="Author",e[e.Editor=30]="Editor",e[e.Admin=40]="Admin"}(f6||(f6={})),function(e){e[e.Success=1]="Success",e[e.InvalidHash=2]="InvalidHash",e[e.InvalidEmail=3]="InvalidEmail",e[e.NotPending=4]="NotPending"}(m6||(m6={})),function(e){e[e.Success=1]="Success",e[e.InvalidHash=2]="InvalidHash",e[e.InvalidEmail=3]="InvalidEmail",e[e.NewUserCannotBeTemporary=6]="NewUserCannotBeTemporary",e[e.NotAuthenticated=7]="NotAuthenticated",e[e.GenericError=8]="GenericError"}(g6||(g6={})),function(e){e[e.None=0]="None",e[e.MobilePush=1]="MobilePush",e[e.Email=2]="Email",e[e.Teams=4]="Teams",e[e.BrowserPush=8]="BrowserPush"}(v6||(v6={})),function(e){e[e.Unknown=0]="Unknown",e[e.Success=1]="Success",e[e.ActiveUserExists=2]="ActiveUserExists",e[e.AlreadyInvited=3]="AlreadyInvited",e[e.ActiveUserExistsDifferentEmail=4]="ActiveUserExistsDifferentEmail"}(y6||(y6={})),function(e){e[e.Unknown=0]="Unknown",e[e.Success=1]="Success",e[e.ActiveUserExists=2]="ActiveUserExists",e[e.AlreadyRegistered=3]="AlreadyRegistered",e[e.InvitedUserExists=4]="InvitedUserExists"}(b6||(b6={}));var P6=tJ,E6=XK,F6=r2("match"),C6=function(e){var t;return P6(e)&&(void 0!==(t=e[F6])?!!t:"RegExp"==E6(e))},T6=C6,D6=function(e){if(T6(e))throw TypeError("The method doesn't accept regular expressions");return e},A6=r2("match"),I6=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[A6]=!1,"/./"[e](t)}catch(e){}}return!1},L6=D6,z6=HK;_1({target:"String",proto:!0,forced:!I6("includes")},{includes:function(e){return!!~String(z6(this)).indexOf(L6(e),arguments.length>1?arguments[1]:void 0)}});var $6=_1,R6=QK.f,Q6=L0,j6=D6,M6=HK,N6=I6,U6="".endsWith,q6=Math.min,B6=N6("endsWith"),G6=!B6&&!!function(){var e=R6(String.prototype,"endsWith");return e&&!e.writable}();function W6(e,t,n){var i=n,r=Array.isArray(n)?n:(null==i?void 0:i.groupIds)||[];return!!(t&&e&&r&&r.length)&&(!!t.isSubscriptionOwner||function(e,t,n){var i=t.groups.filter((function(e){return!n||n.includes(e.id)}));if(!i.length)return!1;return i.some((function(t){return t.role.roleValue>=e}))}(e,t,r))}function X6(e,t,n){var i=n,r=Array.isArray(n)?n:(null==i?void 0:i.groupIds)||[];return!!(t&&e&&r&&r.length)&&(!!t.isSubscriptionOwner||function(e,t,n){var i=t.groups.filter((function(e){return!n||n.includes(e.id)}));if(!i.length||n&&n.length!==i.length)return!1;return i.every((function(t){return t.role.roleValue>=e}))}(e,t,r))}function V6(e,t,n){return n||(n=function(){return!0}),t.groups.filter((function(t){return t.role.roleValue>=e&&n(t)}))}function Y6(e,t){var n=t,i=Array.isArray(t)?t:(null==n?void 0:n.groupIds)||[];if(!e||!(null==i?void 0:i.length))return f6.None;if(e.isSubscriptionOwner)return f6.Admin;var r=e.groups.filter((function(e){return i.includes(e.id)}));return r.length!==i.length?f6.None:r.reduce((function(e,t){return t.role.roleValue<e?t.role.roleValue:e}),f6.Admin)}function Z6(e){return!!e&&e.endsWith("@hidden-email.reach.livetiles.io")}$6({target:"String",proto:!0,forced:!G6&&!B6},{endsWith:function(e){var t=String(M6(this));j6(e);var n=arguments.length>1?arguments[1]:void 0,i=Q6(t.length),r=void 0===n?i:q6(Q6(n),i),a=String(e);return U6?U6.call(t,a,r):t.slice(r-a.length,r)===a}});var H6,K6,J6,e5,t5,n5,i5,r5,a5,o5,s5,l5,u5,c5,d5,h5,p5={},f5={};function m5(){var e=aq();return i.useMemo((function(){return{searchAccounts:t,searchAccountsByItemId:function(e,n,i){return t({search:i,type:o6.User,includePendingInvitationUsers:!0,includePendingRegistrationUsers:!0,localOnly:!0,excludeApiUsers:!0,itemId:n,minRole:e})},getUserInfo:function(t){f5[t]||(f5[t]=e.custom("users/"+t+"/info").get().then((function(e){return e.body().data()})).catch((function(e){if(f5[t]=null,e.response&&404===e.response.statusCode)return{userPrincipalName:t};throw e})));return f5[t]},getUserInfoById:function(t){f5[t]||(f5[t]=e.custom("users/by_id/"+t+"/info").get().then((function(e){return e.body().data()})).catch((function(e){if(f5[t]=null,e.response&&404===e.response.statusCode)return{userPrincipalName:t};throw e})));return f5[t]},getUserAvatarUrl:function(t,n){p5[t]||(p5[t]=e.custom("users/"+encodeURIComponent(t)+"/avatar?"+Wm.stringify({tenantId:n})).get().then((function(e){return e.body().data()})).catch((function(e){if(e.response&&404===e.response.statusCode)return null;throw e})));return ZB(p5[t])},clearUserInfoCache:function(e){f5[e]&&delete f5[e]},clearUserAvatarCache:function(e){p5[e]&&delete p5[e]}};function t(t){var n=Wm.stringify(t);return e.all("accounts?"+n).getAll().then((function(e){return e.body(!1)}))}}),[e])}function g5(){var e=aq(),t=rq(),n=i.useContext(Nw).onRequestToken;return i.useMemo((function(){return{getCurrentUser:function(e,t){void 0===t&&(t=!0);return bK(this,void 0,void 0,(function(){var n,a;return OK(this,(function(o){switch(o.label){case 0:return e?[4,i(e,t)]:[3,2];case 1:return a=o.sent(),[3,4];case 2:return[4,r(t)];case 3:a=o.sent(),o.label=4;case 4:return function(e){e&&(e.minRoles=function(e){var t=e.groups.reduce((function(e,t){return Math.max(e,t.role.roleValue)}),0),n=e.isSubscriptionOwner;return{isSubscriptionOwner:n,isAdmin:n||t>=f6.Admin,isEditor:n||t>=f6.Editor,isAuthor:n||t>=f6.Author,isReader:n||t>=f6.Reader}}(e),e.hasDirectory=e.subscription&&e.subscription.directories&&e.subscription.directories.length>0)}(n=a),[2,n]}}))}))},getCurrentOrganization:function(){return e.custom("users/current/organization").get().then((function(e){return e.body().data()})).catch((function(e){if(e.response&&404===e.response.statusCode)return null;throw e}))},updateCurrentUserProfileProperties:function(t){return e.custom("users/current/properties").put(t)},updateCurrentUserAvatar:function(e,i){return bK(this,void 0,void 0,(function(){var r,a,o;return OK(this,(function(s){switch(s.label){case 0:return(r=new FormData).append("file",i,i.name||"image."+cG.getExtension(i.type)),[4,n()];case 1:return a=s.sent(),o={method:"PUT",body:r,headers:{authorization:"Bearer "+a,"subscription-id":e}},[2,t.fetchFromApi("/users/current/avatar",o)]}}))}))},deleteCurrentUserAvatar:function(){return bK(this,void 0,void 0,(function(){return OK(this,(function(t){return[2,e.custom("users/current/avatar").delete()]}))}))}};function i(e,n){return bK(this,void 0,void 0,(function(){var i;return OK(this,(function(r){switch(r.label){case 0:return[4,t.fetchFromApi("/users/current?"+Wm.stringify({essentialOnly:n}),{headers:{Authorization:"Bearer "+e}})];case 1:return[2,404===(i=r.sent()).status?null:i.json()]}}))}))}function r(t){return bK(this,void 0,void 0,(function(){return OK(this,(function(n){return[2,e.custom("users/current?"+Wm.stringify({essentialOnly:t})).get().then((function(e){return e.body().data()})).catch((function(e){if(e.response&&404===e.response.statusCode)return null;throw e}))]}))}))}}),[t,e,n])}function v5(e){switch(e){case d5.YouTube:return c5.YouTube;case d5.Vimeo:return c5.Vimeo;case d5.MicrosoftStream:return c5.MicrosoftStream;case d5.GenericUrl:return c5.GenericUrl;case d5.Kaltura:return c5.Kaltura;default:return null}}!function(e){e[e.Image=0]="Image",e[e.File=1]="File",e[e.YouTubeVideo=2]="YouTubeVideo",e[e.VimeoVideo=3]="VimeoVideo",e[e.News=4]="News",e[e.Event=5]="Event",e[e.Page=6]="Page",e[e.Post=7]="Post",e[e.Giphy=8]="Giphy"}(H6||(H6={})),function(e){e.Image="IMAGE",e.File="FILE",e.YouTubeVideo="YOU_TUBE_VIDEO",e.VimeoVideo="VIMEO_VIDEO",e.News="NEWS",e.Event="EVENT",e.Page="PAGE",e.Post="POST",e.Giphy="GIPHY"}(K6||(K6={})),function(e){e[e.Public=0]="Public",e[e.Editor=1]="Editor",e[e.Posts=2]="Posts"}(J6||(J6={})),e.ItemResourceTypes=void 0,(e5=e.ItemResourceTypes||(e.ItemResourceTypes={})).News="news",e5.Pages="pages",e5.Posts="posts",e5.Events="events",e5.Comments="comments",function(e){e[e.NotSet=0]="NotSet",e[e.Registered=1]="Registered",e[e.Declined=2]="Declined"}(t5||(t5={})),function(e){e[e.None=0]="None",e[e.FullSeries=1]="FullSeries",e[e.PerInstance=2]="PerInstance"}(n5||(n5={})),function(e){e[e.NotSet=0]="NotSet",e[e.Daily=1]="Daily",e[e.Weekly=2]="Weekly",e[e.Monthly=3]="Monthly",e[e.Yearly=4]="Yearly"}(i5||(i5={})),function(e){e[e.None=0]="None",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=4]="Wednesday",e[e.Thursday=8]="Thursday",e[e.Friday=16]="Friday",e[e.Saturday=32]="Saturday",e[e.Sunday=64]="Sunday"}(r5||(r5={})),function(e){e[e.Unknown=0]="Unknown",e[e.First=1]="First",e[e.Second=2]="Second",e[e.Third=3]="Third",e[e.Fourth=4]="Fourth",e[e.Last=5]="Last"}(a5||(a5={})),function(e){e[e.None=0]="None",e[e.January=1]="January",e[e.February=2]="February",e[e.March=3]="March",e[e.April=4]="April",e[e.May=5]="May",e[e.June=6]="June",e[e.July=7]="July",e[e.August=8]="August",e[e.September=9]="September",e[e.October=10]="October",e[e.November=11]="November",e[e.December=12]="December"}(o5||(o5={})),e.PageType=void 0,(s5=e.PageType||(e.PageType={}))[s5.Page=0]="Page",s5[s5.Document=1]="Document",function(e){e[e.None=0]="None",e[e.Unconfirmed=1]="Unconfirmed",e[e.Alert=2]="Alert"}(l5||(l5={})),function(e){e.draft="draft",e.ready="ready",e.rejected="rejected",e.approved="approved",e.deleted="deleted"}(u5||(u5={})),function(e){e[e.YouTube=0]="YouTube",e[e.Vimeo=1]="Vimeo",e[e.MicrosoftStream=2]="MicrosoftStream",e[e.GenericUrl=3]="GenericUrl",e[e.Kaltura=4]="Kaltura"}(c5||(c5={})),function(e){e.YouTube="YOUTUBE",e.Vimeo="VIMEO",e.MicrosoftStream="MICROSOFTSTREAM",e.GenericUrl="GENERICURL",e.Kaltura="KALTURA"}(d5||(d5={})),function(e){e[e.unknown=0]="unknown",e[e.pending=1]="pending",e[e.complete=2]="complete",e[e.error=3]="error"}(h5||(h5={}));var y5=function(e){function t(t,n){var i=e.call(this)||this;return i.actualSizeInMb=t,i.maxSizeInMb=n,i}return 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}gK(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t}(Error);function b5(e,t){if(e.size>1e6*t){var n=new y5(e.size/1e6,t);throw i=n,r=window.location.href,function(){if(null==(void 0).appInsightsKey)return!1}()&&(r||(r=window.location.href),ng.error(i,r),(void 0).trackException({exception:i})),n}var i,r,a=new FormData;return a.append("file",e),a}function O5(){var e=Gm(),t=rq(),n=t.createApiUrl,r=t.fetchFromApi,a=i.useContext(Nw).onRequestToken;return i.useMemo((function(){return{getFileUrlWithToken:function(e,t,i,r,a,o){return n("/"+o+"/"+t+"/files/"+r,{access_token:e,subscriptionId:i,originalFileName:a})},uploadFile:function(t,n,i,o,s){return bK(this,void 0,void 0,(function(){var l,u,c;return OK(this,(function(d){switch(d.label){case 0:if(!t)throw new Error("Requires itemId to be set before saving a file");return l="/"+i+"/"+t+"/files/"+s,u=b5(o,e.maxFileSizeInMb),[4,a()];case 1:return c=d.sent(),[2,r(l,{method:"PUT",body:u,headers:{authorization:"Bearer "+c,"subscription-id":n}}).then((function(e){return e.json()}))]}}))}))}}}),[e.maxFileSizeInMb,n,r,a])}var _5=X0,w5=V0,k5=Object.keys||function(e){return _5(e,w5)},x5=MK,S5=jK,P5=k5,E5=H0,F5=NK,C5=x1,T5=ZK,D5=Object.assign,A5=Object.defineProperty,I5=!D5||S5((function(){if(x5&&1!==D5({b:1},D5(A5({},"a",{enumerable:!0,get:function(){A5(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach((function(e){t[e]=e})),7!=D5({},e)[n]||P5(D5({},t)).join("")!=i}))?function(e,t){for(var n=C5(e),i=arguments.length,r=1,a=E5.f,o=F5.f;i>r;)for(var s,l=T5(arguments[r++]),u=a?P5(l).concat(a(l)):P5(l),c=u.length,d=0;c>d;)s=u[d++],x5&&!o.call(l,s)||(n[s]=l[s]);return n}:D5,L5=I5;_1({target:"Object",stat:!0,forced:Object.assign!==L5},{assign:L5});var z5=["rm"],$5=["af","ar","as","bn","bs","bg","yue","ca","zh-TW","zh-CN","hr","cs","prs","da","nl","en","et","fj","fil","fi","fr","fr-ca","de","el","gu","ht","he","hi","mww","hu","is","id","ga","it","ja","kn","kk","sw","ko","ku","kmr","lv","lt","mg","ms","ml","mt","mi","mr","nb","or","ps","fa","pl","pt-br","pt-pt","pa","otq","rm","ro","ru","sm","sr-cyrl","sr-latn","sk","sl","es","sv","ty","ta","te","th","to","tr","uk","ur","vi","cy"];function R5(e){return e.preferredContentLanguage||e.preferredUiLanguage||cw()||e.subscription&&e.subscription.defaultLanguage||"en"}function Q5(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t?t.map((function(t){return vK(vK({},t),{localizedName:e.formatMessage({id:"Generic.languages."+t.code,defaultMessage:t.englishName})})})):[]}function j5(e){var t=Object.keys(e||[]);return t.length?t.map((function(t){return e[t].map((function(e){return Object.assign({},e,{groupId:t})}))})).reduce((function(e,t){return e.concat(t)})):null}function M5(e){var t={};return(e||[]).forEach((function(e){t[e.groupId]||(t[e.groupId]=[]),t[e.groupId].push(e)})),t}function N5(e,t,n,i,r,a){var o=i||r;if(null==e)return o;var s=e.find((function(e){return e.name===r}))||e.find((function(e){return e.id===n}));if(!s)return o;if(!i)return U5(t,s.translations,o,a);var l=s&&s.keywords.find((function(e){return e.name===i}));return l?U5(t,l.translations,o,a):o}function U5(e,t,n,i){return null==t&&(t={}),i||(i=R5(e)),i&&t[i]||t[e.subscription.defaultLanguage]||n}var q5=wJ,B5=function(){var e=q5(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},G5={},W5=jK;function X5(e,t){return RegExp(e,t)}G5.UNSUPPORTED_Y=W5((function(){var e=X5("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),G5.BROKEN_CARET=W5((function(){var e=X5("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));var V5=B5,Y5=G5,Z5=RegExp.prototype.exec,H5=String.prototype.replace,K5=Z5,J5=function(){var e=/a/,t=/b*/g;return Z5.call(e,"a"),Z5.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),e9=Y5.UNSUPPORTED_Y||Y5.BROKEN_CARET,t9=void 0!==/()??/.exec("")[1];(J5||t9||e9)&&(K5=function(e){var t,n,i,r,a=this,o=e9&&a.sticky,s=V5.call(a),l=a.source,u=0,c=e;return o&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),c=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(l="(?: "+l+")",c=" "+c,u++),n=new RegExp("^(?:"+l+")",s)),t9&&(n=new RegExp("^"+l+"$(?!\\s)",s)),J5&&(t=a.lastIndex),i=Z5.call(o?n:a,c),o?i?(i.input=i.input.slice(u),i[0]=i[0].slice(u),i.index=a.lastIndex,a.lastIndex+=i[0].length):a.lastIndex=0:J5&&i&&(a.lastIndex=a.global?i.index+i[0].length:t),t9&&i&&i.length>1&&H5.call(i[0],n,(function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(i[r]=void 0)})),i});var n9=K5;_1({target:"RegExp",proto:!0,forced:/./.exec!==n9},{exec:n9});var i9=DJ.exports,r9=jK,a9=r2,o9=n9,s9=TJ,l9=a9("species"),u9=!r9((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),c9="$0"==="a".replace(/./,"$0"),d9=a9("replace"),h9=!!/./[d9]&&""===/./[d9]("a","$0"),p9=!r9((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),f9=function(e,t,n,i){var r=a9(e),a=!r9((function(){var t={};return t[r]=function(){return 7},7!=""[e](t)})),o=a&&!r9((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[l9]=function(){return n},n.flags="",n[r]=/./[r]),n.exec=function(){return t=!0,null},n[r](""),!t}));if(!a||!o||"replace"===e&&(!u9||!c9||h9)||"split"===e&&!p9){var s=/./[r],l=n(r,""[e],(function(e,t,n,i,r){return t.exec===o9?a&&!r?{done:!0,value:s.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}}),{REPLACE_KEEPS_$0:c9,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:h9}),u=l[0],c=l[1];i9(String.prototype,e,u),i9(RegExp.prototype,r,2==t?function(e,t){return c.call(e,this,t)}:function(e){return c.call(e,this)})}i&&s9(RegExp.prototype[r],"sham",!0)},m9=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},g9=XK,v9=n9,y9=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==g9(e))throw TypeError("RegExp#exec called on incompatible receiver");return v9.call(e,t)},b9=wJ,O9=HK,_9=m9,w9=y9;f9("search",1,(function(e,t,n){return[function(t){var n=O9(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,n):new RegExp(t)[e](String(n))},function(e){var i=n(t,e,this);if(i.done)return i.value;var r=b9(e),a=String(this),o=r.lastIndex;_9(o,0)||(r.lastIndex=0);var s=w9(r,a);return _9(r.lastIndex,o)||(r.lastIndex=o),null===s?-1:s.index}]}));var k9=D0,x9=HK,S9=function(e){return function(t,n){var i,r,a=String(x9(t)),o=k9(n),s=a.length;return o<0||o>=s?e?"":void 0:(i=a.charCodeAt(o))<55296||i>56319||o+1===s||(r=a.charCodeAt(o+1))<56320||r>57343?e?a.charAt(o):i:e?a.slice(o,o+2):r-56320+(i-55296<<10)+65536}},P9={codeAt:S9(!1),charAt:S9(!0)}.charAt,E9=function(e,t,n){return t+(n?P9(e,t).length:1)},F9=f9,C9=wJ,T9=x1,D9=L0,A9=D0,I9=HK,L9=E9,z9=y9,$9=Math.max,R9=Math.min,Q9=Math.floor,j9=/\$([$&'`]|\d\d?|<[^>]*>)/g,M9=/\$([$&'`]|\d\d?)/g,N9=function(e){return void 0===e?e:String(e)};function U9(e){var t;return bK(this,void 0,void 0,(function(){var n;return OK(this,(function(i){return n="string"==typeof e?new Error(e):e,403===(null===(t=n.response)||void 0===t?void 0:t.statusCode)?(wie(Jie.create()),[2,!0]):[2,!1]}))}))}function q9(e){var t;return bK(this,void 0,void 0,(function(){return OK(this,(function(n){return 403===(null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.statusCode)?(wie(ere.create()),[2,!0]):[2,!1]}))}))}F9("replace",2,(function(e,t,n,i){var r=i.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,a=i.REPLACE_KEEPS_$0,o=r?"$":"$0";return[function(n,i){var r=I9(this),a=null==n?void 0:n[e];return void 0!==a?a.call(n,r,i):t.call(String(r),n,i)},function(e,i){if(!r&&a||"string"==typeof i&&-1===i.indexOf(o)){var l=n(t,e,this,i);if(l.done)return l.value}var u=C9(e),c=String(this),d="function"==typeof i;d||(i=String(i));var h=u.global;if(h){var p=u.unicode;u.lastIndex=0}for(var f=[];;){var m=z9(u,c);if(null===m)break;if(f.push(m),!h)break;""===String(m[0])&&(u.lastIndex=L9(c,D9(u.lastIndex),p))}for(var g="",v=0,y=0;y<f.length;y++){m=f[y];for(var b=String(m[0]),O=$9(R9(A9(m.index),c.length),0),_=[],w=1;w<m.length;w++)_.push(N9(m[w]));var k=m.groups;if(d){var x=[b].concat(_,O,c);void 0!==k&&x.push(k);var S=String(i.apply(void 0,x))}else S=s(b,c,O,_,k,i);O>=v&&(g+=c.slice(v,O)+S,v=O+b.length)}return g+c.slice(v)}];function s(e,n,i,r,a,o){var s=i+e.length,l=r.length,u=M9;return void 0!==a&&(a=T9(a),u=j9),t.call(o,u,(function(t,o){var u;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,i);case"'":return n.slice(s);case"<":u=a[o.slice(1,-1)];break;default:var c=+o;if(0===c)return t;if(c>l){var d=Q9(c/10);return 0===d?t:d<=l?void 0===r[d-1]?o.charAt(1):r[d-1]+o.charAt(1):t}u=r[c-1]}return void 0===u?"":u}))}}));var B9="\t\n\v\f\r \u2028\u2029\ufeff",G9=HK,W9="[\t\n\v\f\r \u2028\u2029\ufeff]",X9=RegExp("^"+W9+W9+"*"),V9=RegExp(W9+W9+"*$"),Y9=function(e){return function(t){var n=String(G9(t));return 1&e&&(n=n.replace(X9,"")),2&e&&(n=n.replace(V9,"")),n}},Z9={start:Y9(1),end:Y9(2),trim:Y9(3)},H9=jK,K9=B9,J9=Z9.trim,e8=function(e){return H9((function(){return!!K9[e]()||"
"!="
"[e]()||K9[e].name!==e}))};_1({target:"String",proto:!0,forced:e8("trim")},{trim:function(){return J9(this)}});var t8=tJ,n8=wJ,i8=function(e){if(!t8(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e},r8=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,i){return n8(n),i8(i),t?e.call(n,i):n.__proto__=i,n}}():void 0),a8=tJ,o8=r8,s8=MK,l8=RK,u8=p1,c8=function(e,t,n){var i,r;return o8&&"function"==typeof(i=t.constructor)&&i!==n&&a8(r=i.prototype)&&r!==n.prototype&&o8(e,r),e},d8=OJ.f,h8=F0.f,p8=C6,f8=B5,m8=G5,g8=DJ.exports,v8=jK,y8=m0.set,b8=p2,O8=r2("match"),_8=l8.RegExp,w8=_8.prototype,k8=/a/g,x8=/a/g,S8=new _8(k8)!==k8,P8=m8.UNSUPPORTED_Y;if(s8&&u8("RegExp",!S8||P8||v8((function(){return x8[O8]=!1,_8(k8)!=k8||_8(x8)==x8||"/a/i"!=_8(k8,"i")})))){for(var E8=function(e,t){var n,i=this instanceof E8,r=p8(e),a=void 0===t;if(!i&&r&&e.constructor===E8&&a)return e;S8?r&&!a&&(e=e.source):e instanceof E8&&(a&&(t=f8.call(e)),e=e.source),P8&&(n=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var o=c8(S8?new _8(e,t):_8(e,t),i?this:w8,E8);return P8&&n&&y8(o,{sticky:n}),o},F8=function(e){e in E8||d8(E8,e,{configurable:!0,get:function(){return _8[e]},set:function(t){_8[e]=t}})},C8=h8(_8),T8=0;C8.length>T8;)F8(C8[T8++]);w8.constructor=E8,E8.prototype=w8,g8(l8,"RegExp",E8)}b8("RegExp");var D8=DJ.exports,A8=wJ,I8=jK,L8=B5,z8="toString",$8=RegExp.prototype,R8=$8.toString,Q8=I8((function(){return"/a/b"!=R8.call({source:"a",flags:"b"})})),j8=R8.name!=z8;(Q8||j8)&&D8(RegExp.prototype,z8,(function(){var e=A8(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in $8)?L8.call(e):n)}),{unsafe:!0});var M8,N8=985,U8=10,q8=20,B8=30,G8=40,W8=60,X8=550,V8=768,Y8=1024,Z8=1350,H8=1640,K8=549,J8=767,e7=1023,t7=1349,n7=25,i7=18,r7=16,a7=14,o7=12,s7=21/9,l7="rgba(0, 0, 0, 0.2)",u7="rgb(221, 221, 221)",c7="rgb(206, 255, 188)",d7=q8,h7=W8,p7=20;!function(e){e.Internal="internal",e.External="external",e.Download="download"}(M8||(M8={}));var f7,m7,g7,v7,y7="LiveTiles Reach";!function(e){e.embeddedVideo="embedded-video",e.embeddedAudio="embedded-audio",e.languageChange="language-change",e.eventRegistration="event-registration",e.eventSeriesRegistration="event-series-registration",e.translateContent="translate-content",e.downloadFile="download-file",e.embeddedIframe="embedded-iframe",e.externalLink="external-link",e.follow="follow",e.bookmark="bookmark"}(f7||(f7={})),function(e){e.click="click",e.navigate="navigate",e.view="view",e.search="search"}(m7||(m7={})),function(e){e.Admin="admin",e.Chat="chat",e.Comments="comments",e.Events="events",e.Search="search",e.News="news",e.Pages="pages",e.People="people",e.Posts="posts",e.Stream="stream",e.User="user"}(g7||(g7={})),function(e){e.AllChats="allChats",e.AllNews="allNews",e.AllPosts="allPosts",e.Bookmarks="bookmarks",e.Channel="channel",e.Channels="channels",e.ChatConversation="conversation",e.Customization="customization",e.DetailView="detailView",e.DirectoryConfig="directoryConfiguration",e.Group="group",e.Groups="groups",e.Keywords="keywords",e.Languages="languages",e.MyNews="myNews",e.Owners="owners",e.Preview="preview",e.RootPages="rootPages",e.Search="search",e.SelfRegistration="selfRegistration",e.TargetAudience="targetAudience",e.UpcomingEvents="upcoming",e.BookedEvents="booked",e.PastEvents="past",e.Users="users",e.WebHooks="webHooks",e.Editor="editor"}(v7||(v7={}));var b7=i.createContext(null),O7=function(e){var n=e.module,r=e.children,a=i.useMemo((function(){return n}),[n]);return t.jsx(b7.Provider,vK({value:a},{children:r}),void 0)},_7=i.createContext(void 0);function w7(){var e=i.useContext(_7);if(!e)throw new Error("useAnalyticsContext must be used within the AnalyticsContextProvider");var t=i.useContext(b7);return vK(vK({},e),{interaction:function(n){return e.interaction(vK(vK({},n),{module:null!=t?t:e.module}))},trackActivity:function(n){return e.trackActivity(n,t)}})}var k7=function(e){var n,i,r=e.appName,a=e.children,o=Gm(),s=o.analytics,l=o.configType,u=(null===(i=null===(n=null==r?void 0:r.trim())||void 0===n?void 0:n.slice(0,30))||void 0===i?void 0:i.replace(/\s+/g,"-"))||"reach-components-react";return t.jsx(x7,vK({appName:u,analyticsConfig:{hostName:s.hostName,regions:s.regions},shouldDisableTracking:l===is.Local||l===is.CiTestsDocker,moduleInstance:{module:null,setModule:function(){return null}},disableScrollTracking:!0},{children:a}),void 0)},x7=function(e){var n,a=e.appName,o=e.analyticsConfig,s=e.disableScrollTracking,l=e.shouldDisableTracking,u=e.moduleInstance,c=e.children,d=Am(),h=x6(),p=i.useCallback((function(){return{build:d.buildId,name:a,version:d.version}}),[d.buildId,d.version,a]),f=i.useCallback((function(){return{name:d.browserName,version:d.browserVersion}}),[d.browserName,d.browserVersion]),m=i.useCallback((function(){return{model:d.deviceInfo.model,platform:d.deviceInfo.platform}}),[d.deviceInfo]),g=i.useCallback((function(){return{name:d.deviceInfo.operatingSystem,version:d.deviceInfo.osVersion}}),[d.deviceInfo]),v=i.useCallback((function(){var e;return{id:h.subscription.id,name:null!==(e=h.subscription.subscriptionName)&&void 0!==e?e:y7,organisation:h.subscription.company||""}}),[h.subscription]),y=i.useCallback((function(){var e,t;if(l)return"";var n=null===(e=o.regions)||void 0===e?void 0:e[(null===(t=h.subscription.regionSettings)||void 0===t?void 0:t.name)||"global"];return d.isProduction&&n?"api-"+n+"."+o.hostName:"api."+o.hostName}),[d.isProduction,null===(n=h.subscription.regionSettings)||void 0===n?void 0:n.name]),b=i.useMemo((function(){return((e,t)=>{const n=uY.load({writeKey:"VALUE_NOT_REQUIRED",cdnURL:t,cdnSettings:{integrations:{"Segment.io":{}}},plugins:[HY(e.getAppInfo(),e.getBrowserInfo(),e.getDeviceInfo(),e.getOsInfo(),e.getWorkspaceInfo())]},{integrations:{"Segment.io":!!t&&{apiHost:t,deliveryStrategy:{strategy:"batching",config:{size:10,timeout:5e3}},addBundledMetadata:!1}}}),i=e=>dG(void 0,null,(function*(){yield n.track("activity",e)}));return{getUser:()=>{var e;return null==(e=n.instance)?void 0:e.user()},identify:(e,t)=>{var i;null==(i=n.instance)||i.user().identify(e,t)},interaction:e=>dG(void 0,null,(function*(){yield n.track("interaction",e)})),activity:e=>fZ(i,e)}})({getAppInfo:p,getBrowserInfo:f,getDeviceInfo:m,getOsInfo:g,getWorkspaceInfo:v},y())}),[p,f,m,g,v,y]),O=null==u?void 0:u.module,_=function(e,t){var n=i.useRef([]);return i.useMemo((function(){return{data:n.current,onSearchTermChange:function(i){return n.current.push(i),e.interaction({event:"search",action:m7.search,module:t,search:i})},onItemRead:function(r){if(n.current.length){var a=_K([],n.current);i();var o=a[a.length-1],s=o.results.find((function(e){return e.itemId===r})),l=s?{id:s.itemId,type:s.itemType}:null;e.interaction({event:"search",action:m7.search,module:t,item:l,search:o})}}};function i(){n.current.splice(0,n.current.length)}}),[e,t])}(b,O),w=r.useLocation();i.useEffect((function(){var e,t=h.mail;if((null===(e=b.getUser())||void 0===e?void 0:e.id())!==t){var n=function(e){return{id:e.id,givenName:e.givenName,surname:e.surname,displayName:e.displayName,isPublicUser:e.isPublicUser,preferredContentLanguage:e.preferredContentLanguage,preferredLocale:e.preferredLocale,preferredUiLanguage:e.preferredUiLanguage}}(h);b.identify(t,n)}}),[b,h]);var k=i.useRef(null),x=i.useCallback((function(e,t){var n;if(null===(n=k.current)||void 0===n||n.disable(),s||e)return k.current=b.activity({scrollElement:e,module:null!=t?t:O}),k.current}),[b,O,s]),S=vK(vK(vK(vK({},b),u),_),{trackActivity:x,sendActivity:function(){var e;null===(e=k.current)||void 0===e||e.send({path:w.pathname,referrer:document.referrer,search:w.search,title:document.title,url:""+window.location.origin+w.pathname})}});return t.jsx(_7.Provider,vK({value:S},{children:t.jsx(S7,{children:c},void 0)}),void 0)},S7=function(e){var n,r=e.children;return n=w7().interaction,i.useEffect((function(){var e=function(){window.setTimeout((function(){document.querySelectorAll(".video-view-container iframe").forEach((function(e){document.activeElement===e&&n({event:f7.embeddedIframe,value:e.src,action:m7.click})}))}),0)};return window.addEventListener("blur",e),function(){window.removeEventListener("blur",e)}}),[n]),function(){var e=w7().interaction;i.useEffect((function(){var t=function(t){var n="A"===t.target.tagName?t.target:t.target.closest("a"),i=null==n?void 0:n.attributes.getNamedItem("data-link");(null==i?void 0:i.value)===M8.External&&e({event:f7.externalLink,action:m7.click,value:n.href}),"A"===(null==n?void 0:n.tagName)&&(null==i?void 0:i.value)===M8.Download&&e({event:f7.downloadFile,action:m7.click,value:n.href})};return window.addEventListener("click",t),function(){window.removeEventListener("click",t)}}),[e])}(),t.jsx(t.Fragment,{children:r},void 0)};function P7(e,t,n){var r=i.useRef({}),a=w7(),o=a.interaction,s=a.module;i.useEffect((function(){e&&t.forEach((function(e){r.current[e.id]||(r.current[e.id]=!0,o({action:m7.view,item:{id:e.id,type:n}}))}))}),[e,t,n,o,s])}function E7(){var t=w7().interaction,n=aq(),r=aq(U9),a=LK(),o=a.saveLanguageToLocalStorage,s=a.saveLocaleToLocalStorage;return i.useMemo((function(){return{updateNotificationTypeSettings:function(e){for(var t={comments:null,mentions:null,posts:null,news:null,events:null,chat:null,pluginNotifications:null,newsEditor:null,eventEditor:null},i=function(n){Object.keys(t).every((function(e){return e!==n}))&&delete e[n]},r=0,a=Object.keys(e||{});r<a.length;r++){var o=a[r];i(o)}return n.custom("users/current/notification_settings/types").put(e).then((function(e){return e.body().data()}))},getFollowCommentsStatus:function(e,t,i){return n.custom("users/current/notification_settings/"+c(t,i)+"/"+e).get().then((function(e){return e.body().data().enabled}))},toggleFollowComments:i,followPublicPublishableItemComments:a,followEditorPublishableItemComments:l,followAllPublishableItemComments:function(e,t){a(e,t),l(e,t)},followPublishableItemComments:u,resolveSegment:c,getFollowCommentSegment:d,toggleBookmark:function(n,i){null==i.bookmarks&&(i.bookmarks=[]);var a=i.bookmarks.findIndex((function(e){return e===n}));if(a<0)return r.one("users","current").all("bookmarks").put(n,null).then((function(){i.bookmarks.push(n)})).then((function(){t({event:f7.bookmark,value:!0,action:m7.click,item:{id:n,type:e.ItemResourceTypes.News}})})).then((function(){return!0}));return r.one("users","current").all("bookmarks").delete(n).then((function(){i.bookmarks.splice(a,1)})).then((function(){t({event:f7.bookmark,value:!1,action:m7.click,item:{id:n,type:e.ItemResourceTypes.News}})})).then((function(){return!1}))},getUserProperties:function(){return n.all("users/user_properties").get("").then((function(e){return e.body().data()}))},setUserChannels:function(e){return n.custom("users/current/channels").put(e)},addContact:function(e){return bK(this,void 0,void 0,(function(){return OK(this,(function(t){switch(t.label){case 0:return[4,n.all("users/current/contacts").post(e)];case 1:return[2,t.sent().body().data()]}}))}))},deleteContact:function(e){return bK(this,void 0,void 0,(function(){return OK(this,(function(t){switch(t.label){case 0:return[4,n.all("users/current/contacts/"+e.tokenUniqueId).delete("")];case 1:return[2,t.sent().body().data()]}}))}))},getContactAccounts:function(){return n.all("users/current/contacts").getAll().then((function(e){return e.body(!1)}))},setLanguage:function(e){return bK(this,void 0,void 0,(function(){return OK(this,(function(t){switch(t.label){case 0:return[4,n.custom("users/current/ui_language/"+e).put(null)];case 1:return t.sent(),[4,o(e)];case 2:return t.sent(),[2]}}))}))},setContentLanguage:function(e){return bK(this,void 0,void 0,(function(){return OK(this,(function(t){switch(t.label){case 0:return[4,n.custom("users/current/content_language/"+e).put(null)];case 1:return t.sent(),[2]}}))}))},setLocale:function(e){return bK(this,void 0,void 0,(function(){return OK(this,(function(t){switch(t.label){case 0:return[4,n.custom("users/current/locale/"+e).put(null)];case 1:return t.sent(),[4,s(e)];case 2:return t.sent(),[2]}}))}))},getGroupNotificationSettings:function(e){return bK(this,void 0,void 0,(function(){return OK(this,(function(t){switch(t.label){case 0:return[4,n.custom("users/current/notification_settings/groups/"+e).get().then((function(e){return e.body().data()}))];case 1:return[2,t.sent()]}}))}))},updateGroupNotificationSettings:function(e,t){return bK(this,void 0,void 0,(function(){return OK(this,(function(i){switch(i.label){case 0:return[4,n.custom("users/current/notification_settings/groups/"+e).put(t).then((function(e){return e.body().data()}))];case 1:return[2,i.sent()]}}))}))},clearMyUnreadItems:function(e){return bK(this,void 0,void 0,(function(){return OK(this,(function(t){switch(t.label){case 0:return[4,n.custom("users/current/"+e+"/unread").delete()];case 1:return t.sent(),[2]}}))}))},acceptTermsAndConditions:function(e){return n.custom("users/current/terms_and_conditions/"+e).patch({})},deleteAccount:function(){return bK(this,void 0,void 0,(function(){return OK(this,(function(e){switch(e.label){case 0:return[4,n.custom("users/current").delete()];case 1:return[2,e.sent()]}}))}))}};function i(e,n,i,a){return r.custom("users/current/notification_settings/"+c(n,i)+"/"+e).put({enabled:a}).then((function(){t({event:f7.follow,action:m7.click,value:a,item:{id:e,type:n}})}))}function a(e,t){u(e,t,J6.Public)}function l(e,t){u(e,t,J6.Editor)}function u(e,t,n){i(e,t,n,!0).then((function(){return null}),(function(e){return ng.error(e)}))}function c(e,t){switch(t){case J6.Editor:return"editor_comments";case J6.Public:return d(e)+"_comments";case J6.Posts:return"post_comments";default:throw Error("Invalid scope")}}function d(t){switch(t){case e.ItemResourceTypes.News:return"news";case e.ItemResourceTypes.Pages:return"page";case e.ItemResourceTypes.Events:return"event";default:throw Error("Invalid type")}}}),[n,r,t,o,s])}(new yB).pipe(vZ(100),(function(e){return OB()((t=xZ,function(e){var i;if(i="function"==typeof t?t:function(){return t},"function"==typeof n)return e.lift(new kZ(i,n));var r=Object.create(e,xB);return r.source=e,r.subjectFactory=i,r})(e));var t,n}));var F7,C7=OJ,T7=wJ,D7=k5,A7=MK?Object.defineProperties:function(e,t){T7(e);for(var n,i=D7(t),r=i.length,a=0;r>a;)C7.f(e,n=i[a++],t[n]);return e},I7=wJ,L7=A7,z7=V0,$7=n0,R7=Z2,Q7=uJ,j7=t0("IE_PROTO"),M7=function(){},N7=function(e){return"<script>"+e+"</"+"script>"},U7=function(){try{F7=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;U7=F7?function(e){e.write(N7("")),e.close();var t=e.parentWindow.Object;return e=null,t}(F7):((t=Q7("iframe")).style.display="none",R7.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(N7("document.F=Object")),e.close(),e.F);for(var n=z7.length;n--;)delete U7.prototype[z7[n]];return U7()};$7[j7]=!0;var q7=Object.create||function(e,t){var n;return null!==e?(M7.prototype=I7(e),n=new M7,M7.prototype=null,n[j7]=e):n=U7(),void 0===t?n:L7(n,t)},B7=q7,G7=OJ,W7=r2("unscopables"),X7=Array.prototype;null==X7[W7]&&G7.f(X7,W7,{configurable:!0,value:B7(null)});var V7,Y7,Z7,H7=function(e){X7[W7][e]=!0},K7=!jK((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),J7=aJ,eee=x1,tee=K7,nee=t0("IE_PROTO"),iee=Object.prototype,ree=tee?Object.getPrototypeOf:function(e){return e=eee(e),J7(e,nee)?e[nee]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?iee:null},aee=ree,oee=TJ,see=aJ,lee=r2("iterator"),uee=!1;[].keys&&("next"in(Z7=[].keys())?(Y7=aee(aee(Z7)))!==Object.prototype&&(V7=Y7):uee=!0),null==V7&&(V7={}),see(V7,lee)||oee(V7,lee,(function(){return this}));var cee={IteratorPrototype:V7,BUGGY_SAFARI_ITERATORS:uee},dee=cee.IteratorPrototype,hee=q7,pee=GK,fee=l2,mee=m2,gee=function(){return this},vee=_1,yee=function(e,t,n){var i=t+" Iterator";return e.prototype=hee(dee,{next:pee(1,n)}),fee(e,i,!1),mee[i]=gee,e},bee=ree,Oee=r8,_ee=l2,wee=TJ,kee=DJ.exports,xee=m2,See=cee.IteratorPrototype,Pee=cee.BUGGY_SAFARI_ITERATORS,Eee=r2("iterator"),Fee="keys",Cee="values",Tee="entries",Dee=function(){return this},Aee=eJ,Iee=H7,Lee=m2,zee=m0,$ee=function(e,t,n,i,r,a,o){yee(n,t,i);var s,l,u,c=function(e){if(e===r&&m)return m;if(!Pee&&e in p)return p[e];switch(e){case Fee:case Cee:case Tee:return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",h=!1,p=e.prototype,f=p[Eee]||p["@@iterator"]||r&&p[r],m=!Pee&&f||c(r),g="Array"==t&&p.entries||f;if(g&&(s=bee(g.call(new e)),See!==Object.prototype&&s.next&&(bee(s)!==See&&(Oee?Oee(s,See):"function"!=typeof s[Eee]&&wee(s,Eee,Dee)),_ee(s,d,!0))),r==Cee&&f&&f.name!==Cee&&(h=!0,m=function(){return f.call(this)}),p[Eee]!==m&&wee(p,Eee,m),xee[t]=m,r)if(l={values:c(Cee),keys:a?m:c(Fee),entries:c(Tee)},o)for(u in l)(Pee||h||!(u in p))&&kee(p,u,l[u]);else vee({target:t,proto:!0,forced:Pee||h},l);return l},Ree="Array Iterator",Qee=zee.set,jee=zee.getterFor(Ree),Mee=$ee(Array,"Array",(function(e,t){Qee(this,{type:Ree,target:Aee(e),index:0,kind:t})}),(function(){var e=jee(this),t=e.target,n=e.kind,i=e.index++;return!t||i>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:t[i],done:!1}:{value:[i,t[i]],done:!1}}),"values");Lee.Arguments=Lee.Array,Iee("keys"),Iee("values"),Iee("entries");var Nee=RK,Uee={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},qee=Mee,Bee=TJ,Gee=r2,Wee=Gee("iterator"),Xee=Gee("toStringTag"),Vee=qee.values;for(var Yee in Uee){var Zee=Nee[Yee],Hee=Zee&&Zee.prototype;if(Hee){if(Hee[Wee]!==Vee)try{Bee(Hee,Wee,Vee)}catch(e){Hee[Wee]=Vee}if(Hee[Xee]||Bee(Hee,Xee,Yee),Uee[Yee])for(var Kee in qee)if(Hee[Kee]!==qee[Kee])try{Bee(Hee,Kee,qee[Kee])}catch(e){Hee[Kee]=qee[Kee]}}}var Jee=i.createContext(null);function ete(){var e=i.useContext(Jee);return null!=e?e.refresh:function(){return null}}var tte,nte=function(e){var n=e.children,r=k6().refreshUser,a=iz(),o=i.useCallback((function(){var e,t;return bK(this,void 0,void 0,(function(){var n,i;return OK(this,(function(o){switch(o.label){case 0:return[4,a.query({query:ite,fetchPolicy:"no-cache",errorPolicy:"all"})];case 1:return n=o.sent(),null==(i=null===(e=null==n?void 0:n.data)||void 0===e?void 0:e.currentUser)?[3,3]:[4,r((function(e){return vK(vK({},e),function(e){var t,n,i,r,a;return{availableSubscriptions:null!==(t=null==e?void 0:e.availableSubscriptions)&&void 0!==t?t:[],bookmarks:null!==(n=null==e?void 0:e.bookmarks)&&void 0!==n?n:[],unreadNews:null!==(i=null==e?void 0:e.unreadNews)&&void 0!==i?i:[],unreadEvents:null!==(r=null==e?void 0:e.unreadEvents)&&void 0!==r?r:[],unreadPosts:null!==(a=null==e?void 0:e.unreadPosts)&&void 0!==a?a:[],hasUnreadChats:null==e?void 0:e.hasUnreadChats,unreadFeedItemsCount:null==e?void 0:e.unreadFeedItemsCount,mostRecentPostGroups:null==e?void 0:e.mostRecentPostGroups}}(vK({bookmarks:i.bookmarkIds,availableSubscriptions:i.subscriptions},i)))}))];case 2:return[2,o.sent()];case 3:return(null==i||(null===(t=null==n?void 0:n.errors)||void 0===t?void 0:t.length)>0)&&ng.error("Failed to load the currentUser with details.",null==n?void 0:n.errors),[2]}}))}))}),[a]),s=i.useMemo((function(){return{refresh:o}}),[o]);return i.useEffect((function(){o().then(null,ng.error)}),[o]),t.jsx(Jee.Provider,vK({value:s},{children:n}),void 0)},ite=WL(tte||(tte=wK(["\n query CurrentUserDetails {\n currentUser {\n bookmarkIds\n unreadNews {\n itemId\n channelIds\n }\n unreadEvents {\n itemId\n channelIds\n }\n unreadPosts {\n itemId\n groupId\n }\n unreadFeedItemsCount\n hasUnreadChats\n mostRecentPostGroups\n subscriptions {\n id\n subscriptionName\n company\n contact {\n displayName\n userPrincipalName\n }\n hasUnreadItems\n }\n }\n }\n"],["\n query CurrentUserDetails {\n currentUser {\n bookmarkIds\n unreadNews {\n itemId\n channelIds\n }\n unreadEvents {\n itemId\n channelIds\n }\n unreadPosts {\n itemId\n groupId\n }\n unreadFeedItemsCount\n hasUnreadChats\n mostRecentPostGroups\n subscriptions {\n id\n subscriptionName\n company\n contact {\n displayName\n userPrincipalName\n }\n hasUnreadItems\n }\n }\n }\n"]))),rte=_1,ate=QK.f,ote=L0,ste=D6,lte=HK,ute=I6,cte="".startsWith,dte=Math.min,hte=ute("startsWith"),pte=!hte&&!!function(){var e=ate(String.prototype,"startsWith");return e&&!e.writable}();function fte(){var e=i.useContext(OS).identifier,t=e.subscriptionHandle||e.id;return{buildPath:function(e){if(e)return"/"+t+"/"+(e.startsWith("/")?e.substring(1):e);return"/"+t},subscriptionHandle:t}}function mte(){var e=Dm().webAppUrl,t=vte();return t?"https://"+t:e}function gte(){var e=Dm().webAppUrls,t=vte();return t?_K(_K([],e),["https://"+t]):e}function vte(){var e,t=x6();return(null===(e=null==t?void 0:t.subscription)||void 0===e?void 0:e.customDomain)||process.env.NX_CUSTOM_DOMAIN}function yte(){var e=aq();return i.useMemo((function(){return{getChannels:function(){return bK(this,void 0,void 0,(function(){return OK(this,(function(t){return[2,e.all("subscriptions/current/channels").getAll().then((function(e){return e.body().map((function(e){return e.data()}))}))]}))}))},getChannelsByItemId:function(t,n){void 0===n&&(n="");return bK(this,void 0,void 0,(function(){return OK(this,(function(i){return[2,e.all(n+"news/"+t+"/channels").getAll().then((function(e){return e.body().map((function(e){return e.data()}))}))]}))}))}}}),[e])}rte({target:"String",proto:!0,forced:!pte&&!hte},{startsWith:function(e){var t=String(lte(this));ste(e);var n=ote(dte(arguments.length>1?arguments[1]:void 0,t.length)),i=String(e);return cte?cte.call(t,i,n):t.slice(n,n+i.length)===i}});var bte=i.createContext(null);var Ote=window.System;function _te(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var i=document.querySelector('script[type="systemjs-importmap"][data-reach-package="'+e+'"]');if(null==i){var r=document.createElement("script");r.type="systemjs-importmap",r.setAttribute("data-reach-package",e);for(var a={imports:{}},o=0,s=t;o<s.length;o++){var l=s[o].name;a.imports[l]="app:"+l}r.textContent=JSON.stringify(a,null,2),document.head.appendChild(r);for(var u=0,c=t;u<c.length;u++){var d=c[u],h=d.name,p=d.packageDefinition;Ote.set("app:"+h,p)}}}var wte=function(){return null};function kte(){return i.useContext(bte).storage}function xte(e,t){var n="Plugins::"+e+"::";return{getAllKeys:i,getString:function(e){return t.getString(n+e)},setString:function(e,i){return t.setString(n+e,i)},remove:function(e){return t.remove(n+e)},clearAll:function(){return bK(this,void 0,void 0,(function(){var e,r,a,o;return OK(this,(function(s){switch(s.label){case 0:return[4,i()];case 1:e=s.sent(),r=0,a=e,s.label=2;case 2:return r<a.length?(o=a[r],[4,t.remove(n+o)]):[3,5];case 3:s.sent(),s.label=4;case 4:return r++,[3,2];case 5:return[2]}}))}))}};function i(){var e;return bK(this,void 0,void 0,(function(){var i;return OK(this,(function(r){switch(r.label){case 0:return[4,t.getAllKeys()];case 1:return i=r.sent(),[2,null!==(e=null==i?void 0:i.filter((function(e){return e.startsWith(n)})).map((function(e){return e.replace(n,"")})))&&void 0!==e?e:[]]}}))}))}}function Ste(e){var t;if(404!==(null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.statusCode))throw e}function Pte(e,t){return{get:function(n){return t.custom("users/current/plugins/"+e+"/store/"+n+"/value").get().then((function(e){return e.body().data()}))},set:function(n,i){return t.custom("users/current/plugins/"+e+"/store/"+n+"/value").put(i).then((function(e){return e.body().data()}))},delete:function(n){return t.custom("users/current/plugins/"+e+"/store/"+n+"/value").delete()}}}function Ete(e,t){return{get:function(n){return t.custom("subscriptions/current/plugins/"+e+"/store/"+n+"/value").get().then((function(e){return e.body().data()}))},set:function(n,i){return t.custom("subscriptions/current/plugins/"+e+"/store/"+n+"/value").put(i).then((function(e){return e.body().data()}))},delete:function(n){return t.custom("subscriptions/current/plugins/"+e+"/store/"+n+"/value").delete()}}}var Fte,Cte=function(e){var n=e.pluginId,r=e.componentName,a=e.settings,o=e.bundleUrl,s=e.bundleModificationDate,l=yK(e,["pluginId","componentName","settings","bundleUrl","bundleModificationDate"]),u=bS(),c=aq(),d=function(){var e=aq(),t=x6(),n=rq(),r=n.createApiUrl,a=n.fetchFromApi,o=i.useContext(Nw).onRequestToken;return i.useMemo((function(){return{getPluginFileUrl:function(e,t,n){return t||(e.startsWith("http")?e+"?cache="+(new Date).getTime():r("/plugins/"+e,n?{cache:new Date(n).getTime()}:null))},saveDefinition:function(t){return bK(this,void 0,void 0,(function(){return OK(this,(function(n){switch(n.label){case 0:return[4,e.custom("plugins/"+encodeURIComponent(t.pluginId)+"/definition").put(t).then((function(e){return e.body()}))];case 1:return[2,n.sent()]}}))}))},saveFile:function(e,n){return bK(this,void 0,void 0,(function(){var i,r,s;return OK(this,(function(l){switch(l.label){case 0:return(i=new FormData).append("file",n),[4,o()];case 1:return r=l.sent(),s={method:"PUT",body:i,headers:{authorization:"Bearer "+r,"subscription-id":t.subscription.id}},[2,a("/plugins/"+encodeURIComponent(e)+"/bundle",s)]}}))}))},generateApiKey:function(t,n,i){return bK(this,void 0,void 0,(function(){return OK(this,(function(r){switch(r.label){case 0:return[4,e.all("plugins/"+encodeURIComponent(t)+"/api_keys").post({displayName:n,expiryDate:i}).then((function(e){return e.body().data()}))];case 1:return[2,r.sent()]}}))}))},linkPlugin:function(t,n){return bK(this,void 0,void 0,(function(){return OK(this,(function(i){switch(i.label){case 0:return[4,e.custom("subscriptions/current/plugins/"+encodeURIComponent(t)).put({settings:n}).then((function(e){return e.body()}))];case 1:return[2,i.sent()]}}))}))},unlinkPlugin:function(t){return bK(this,void 0,void 0,(function(){return OK(this,(function(n){switch(n.label){case 0:return[4,e.custom("subscriptions/current/plugins/"+encodeURIComponent(t)).delete().then((function(e){return e.body()}))];case 1:return[2,n.sent()]}}))}))}}}),[e,r,a,o,t.subscription.id])}().getPluginFileUrl,h=i.useMemo((function(){return i.lazy((function(){return function(e,t){return bK(this,void 0,void 0,(function(){var n;return OK(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,Ote.import(e)];case 1:return[2,{default:i.sent()[t]}];case 2:return n=i.sent(),ng.error(n),[2,{default:wte}];case 3:return[2]}}))}))}(d(n,o,s),r)}))}),[r,n,d,o,s]),p=i.useMemo((function(){return{settings:a,storage:xte(n,u),userStore:Pte(n,c),subscriptionStore:Ete(n,c)}}),[n,a,u,c]);return t.jsx(i.Suspense,vK({fallback:t.jsx("div",{},void 0)},{children:t.jsx(bte.Provider,vK({value:p},{children:t.jsx(h,vK({name:r},l),void 0)}),void 0)}),void 0)},Tte=XK,Dte=Array.isArray||function(e){return"Array"==Tte(e)},Ate=Dte,Ite=L0,Lte=O2,zte=function(e,t,n,i,r,a,o,s){for(var l,u=r,c=0,d=!!o&&Lte(o,s,3);c<i;){if(c in n){if(l=d?d(n[c],c,t):n[c],a>0&&Ate(l))u=zte(e,t,l,Ite(l.length),u,a-1)-1;else{if(u>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[u]=l}u++}c++}return u},$te=zte,Rte=tJ,Qte=Dte,jte=r2("species"),Mte=$te,Nte=x1,Ute=L0,qte=w1,Bte=function(e,t){var n;return Qte(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!Qte(n.prototype)?Rte(n)&&null===(n=n[jte])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)};function Gte(){var e=x6(),t=function(){var e=function(){var e=r.useLocation(),t=Wm.parse(e.search);if(null!=t.plugin){var n=JSON.parse(atob(t.plugin));Xte.some((function(e){return e.pluginId===n.pluginId}))||(Xte.push(n),window.sessionStorage.setItem("Reach::InjectedRemotePlugins",JSON.stringify(Xte)))}return Xte}(),t=zw(n,[],[null==e?void 0:e.length])[0];return null!=Vte?Vte:t;function n(){return bK(this,void 0,void 0,(function(){var t,n,i,r,a,o;return OK(this,(function(s){switch(s.label){case 0:if(Vte)return[2,Vte];t=[],n=0,i=e,s.label=1;case 1:return n<i.length?(r=i[n],a="http://localhost:"+r.port,[4,fetch(a+"/definition.json?rev="+(new Date).getTime())]):[3,5];case 2:return[4,s.sent().json()];case 3:(o=s.sent()).bundleUrl=a+"/index.js?rev="+(new Date).getTime(),t.push(o),s.label=4;case 4:return n++,[3,1];case 5:return[2,Vte=t]}}))}))}}();return _K(_K([],(e.subscription.webPluginDefinitions||[]).filter((function(e){return!t.some((function(t){return t.pluginId===e.pluginId}))}))),t)}function Wte(e){return Gte().flatMap((function(e){return(e.extensions||[]).map((function(t){return vK(vK({},e),t)}))})).filter((function(t){return null==e||t.area===e}))}_1({target:"Array",proto:!0},{flatMap:function(e){var t,n=Nte(this),i=Ute(n.length);return qte(e),(t=Bte(n,0)).length=Mte(t,n,n,i,0,1,e,arguments.length>1?arguments[1]:void 0),t}}),H7("flatMap");var Xte=null!==(Fte=JSON.parse(window.sessionStorage.getItem("Reach::InjectedRemotePlugins")))&&void 0!==Fte?Fte:[];var Vte=null;var Yte=function(e){var n=e.area,i=yK(e,["area"]),r=Wte(n);return 0===r.length?null:t.jsx(t.Fragment,{children:r.map((function(e){return t.jsx(Cte,vK({},e,i),e.pluginId)}))},void 0)},Zte=XK,Hte=D0,Kte=HK,Jte="".repeat||function(e){var t=String(Kte(this)),n="",i=Hte(e);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n},ene=_1,tne=D0,nne=function(e){if("number"!=typeof e&&"Number"!=Zte(e))throw TypeError("Incorrect invocation");return+e},ine=Jte,rne=jK,ane=1..toFixed,one=Math.floor,sne=function(e,t,n){return 0===t?n:t%2==1?sne(e,t-1,n*e):sne(e*e,t/2,n)};ene({target:"Number",proto:!0,forced:ane&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!rne((function(){ane.call({})}))},{toFixed:function(e){var t,n,i,r,a=nne(this),o=tne(e),s=[0,0,0,0,0,0],l="",u="0",c=function(e,t){for(var n=-1,i=t;++n<6;)i+=e*s[n],s[n]=i%1e7,i=one(i/1e7)},d=function(e){for(var t=6,n=0;--t>=0;)n+=s[t],s[t]=one(n/e),n=n%e*1e7},h=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==s[e]){var n=String(s[e]);t=""===t?n:t+ine.call("0",7-n.length)+n}return t};if(o<0||o>20)throw RangeError("Incorrect fraction digits");if(a!=a)return"NaN";if(a<=-1e21||a>=1e21)return String(a);if(a<0&&(l="-",a=-a),a>1e-21)if(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(a*sne(2,69,1))-69,n=t<0?a*sne(2,-t,1):a/sne(2,t,1),n*=4503599627370496,(t=52-t)>0){for(c(0,n),i=o;i>=7;)c(1e7,0),i-=7;for(c(sne(10,i,1),0),i=t-1;i>=23;)d(1<<23),i-=23;d(1<<i),c(1,1),d(2),u=h()}else c(0,n),c(1<<-t,0),u=h()+ine.call("0",o);return u=o>0?l+((r=u.length)<=o?"0."+ine.call("0",o-r)+u:u.slice(0,r-o)+"."+u.slice(r-o)):l+u}});var lne={primaryColor:"#512DA8",secondaryColor:"#6AE6C6"},une={palette:{themeDarker:"#004578",themeDark:"#005a9e",themeDarkAlt:"#106ebe",themePrimary:"#52A0BF",themeSecondary:"#2b88d8",themeTertiary:"#71afe5",themeLight:"#c7e0f4",themeLighter:"#deecf9",themeLighterAlt:"#eff6fc",neutralDark:"#212121",neutralPrimary:"#333333",neutralPrimaryAlt:"#3c3c3c",neutralSecondary:"#424242",neutralSecondaryAlt:"#767676",neutralTertiary:"#a6a6a6",neutralTertiaryAlt:"#c8c8c8",neutralQuaternary:"#d0d0d0",neutralQuaternaryAlt:"#dadada",neutralLight:"#eaeaea",neutralLighter:"#f2f2f2",neutralLighterAlt:"#f8f8f8",accent:"#52A0BF",textColorOnWhiteBackground:"#52A0BF",black:"#000000",blackTranslucent40:"rgba(0,0,0,.4)",blue:"#0078d7",blueDark:"#002050",blueLight:"#00bcf2",blueMid:"#00188f",error:"#a80000",green:"#107c10",greenDark:"#004b1c",greenLight:"#bad80a",info:"#107c10",magenta:"#b4009e",magentaDark:"#5c005c",magentaLight:"#e3008c",orange:"#d83b01",orangeLight:"#ff8c00",orangeLighter:"#ea4300",purple:"#5c2d91",purpleDark:"#32145a",purpleLight:"#b4a0ff",red:"#e81123",redDark:"#a80000",severeWarning:"#d83b01",success:"#107c10",teal:"#008272",tealDark:"#004b50",tealLight:"#00b294",white:"#ffffff",whiteTranslucent40:"rgba(255,255,255,.4)",yellow:"#ffb900",yellowLight:"#fff100"},semanticColors:{infoText:"#333333",successText:"#333333",alertBackground:"#deecf9",severeWarningBackground:"#fed9cc",successBackground:"#dff6dd",warningBackground:"#fff4ce",errorBackground:"#fde7e9",infoBackground:"#f4f4f4"},textColors:{onPrimary:"#ffffff",onSecondary:"#000000"}},cne=wJ,dne=L0,hne=HK,pne=E9,fne=y9;f9("match",1,(function(e,t,n){return[function(t){var n=hne(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,n):new RegExp(t)[e](String(n))},function(e){var i=n(t,e,this);if(i.done)return i.value;var r=cne(e),a=String(this);if(!r.global)return fne(r,a);var o=r.unicode;r.lastIndex=0;for(var s,l=[],u=0;null!==(s=fne(r,a));){var c=String(s[0]);l[u]=c,""===c&&(r.lastIndex=pne(a,dne(r.lastIndex),o)),u++}return 0===u?null:l}]}));var mne=Z9.trim,gne=B9,vne=RK.parseInt,yne=/^[+-]?0[Xx]/,bne=8!==vne(gne+"08")||22!==vne(gne+"0x16")?function(e,t){var n=mne(String(e));return vne(n,t>>>0||(yne.test(n)?16:10))}:vne;_1({global:!0,forced:parseInt!=bne},{parseInt:bne});var One=f9,_ne=C6,wne=wJ,kne=HK,xne=Y2,Sne=E9,Pne=L0,Ene=y9,Fne=n9,Cne=jK,Tne=[].push,Dne=Math.min,Ane=4294967295,Ine=!Cne((function(){return!RegExp(Ane,"y")}));One("split",2,(function(e,t,n){var i;return i="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var i=String(kne(this)),r=void 0===n?Ane:n>>>0;if(0===r)return[];if(void 0===e)return[i];if(!_ne(e))return t.call(i,e,r);for(var a,o,s,l=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),c=0,d=new RegExp(e.source,u+"g");(a=Fne.call(d,i))&&!((o=d.lastIndex)>c&&(l.push(i.slice(c,a.index)),a.length>1&&a.index<i.length&&Tne.apply(l,a.slice(1)),s=a[0].length,c=o,l.length>=r));)d.lastIndex===a.index&&d.lastIndex++;return c===i.length?!s&&d.test("")||l.push(""):l.push(i.slice(c)),l.length>r?l.slice(0,r):l}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var r=kne(this),a=null==t?void 0:t[e];return void 0!==a?a.call(t,r,n):i.call(String(r),t,n)},function(e,r){var a=n(i,e,this,r,i!==t);if(a.done)return a.value;var o=wne(e),s=String(this),l=xne(o,RegExp),u=o.unicode,c=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(Ine?"y":"g"),d=new l(Ine?o:"^(?:"+o.source+")",c),h=void 0===r?Ane:r>>>0;if(0===h)return[];if(0===s.length)return null===Ene(d,s)?[s]:[];for(var p=0,f=0,m=[];f<s.length;){d.lastIndex=Ine?f:0;var g,v=Ene(d,Ine?s:s.slice(f));if(null===v||(g=Dne(Pne(d.lastIndex+(Ine?0:f)),s.length))===p)f=Sne(s,f,u);else{if(m.push(s.slice(p,f)),m.length===h)return m;for(var y=1;y<=v.length-1;y++)if(m.push(v[y]),m.length===h)return m;f=p=g}}return m.push(s.slice(p)),m}]}),!Ine);var Lne=function(){function e(e){var t=this;this.setRgb=function(e){-1!==e.indexOf("rgba")?t.setRgbFromRgba(e):t.setRgbFromHex(e)},this.setRgbFromHex=function(e){var n=e.replace("#","").match(/.{1,2}/g);t.r=parseInt(n[0],16),t.g=parseInt(n[1],16),t.b=parseInt(n[2],16)},this.setRgbFromRgba=function(e){var n=e.replace("rgba(","").replace(")","").split(",");t.r=parseInt(t.trim(n[0]),10),t.g=parseInt(t.trim(n[1]),10),t.b=parseInt(t.trim(n[2]),10)},this.trim=function(e){return e.replace(/^\s+|\s+$/gm,"")},this.setRgb(e)}return e.prototype.lighten=function(e){return this.r=Math.min(Math.ceil(this.r+this.r*e),255),this.g=Math.min(Math.ceil(this.g+this.g*e),255),this.b=Math.min(Math.ceil(this.b+this.b*e),255),this},e.prototype.toHex=function(){var e=function(e){return("00"+e.toString(16)).slice(-2)};return"#"+e(this.r)+e(this.g)+e(this.b)},e}(),zne=null,$ne=vK({name:"Default"},lne),Rne=une.palette.neutralLighter,Qne="#ffffff",jne="#333333",Mne=[$ne,{name:"Apatite",primaryColor:"#1570B3",secondaryColor:"#CFFF6C"},{name:"Azurite",primaryColor:"#20273C",secondaryColor:"#F4F4F4"},{name:"Cordierite",primaryColor:"#343332",secondaryColor:"#419BEB"},{name:"Nephrite",primaryColor:"#224926",secondaryColor:"#EAEAEA"},{name:"Pyrite",primaryColor:"#263251",secondaryColor:"#FFE357"},{name:"Quartz",primaryColor:"#363636",secondaryColor:"#D45081"}];function Nne(e,t){var n=Une(e.primaryColor),i=e.useHighlightColorOnWhiteBackground?e.secondaryColor:e.primaryColor,r=e.useHighlightColorOnWhiteBackground?qne(i):qne(n),a={primaryColor:e.primaryColor,secondaryColor:e.secondaryColor,textColorOnPrimary:qne(n),textColorOnSecondary:qne(e.secondaryColor),accentColor:i,textColorOnAccent:r},s=vK({},une),l=function(e){var t={palette:{},semanticColors:{},textColors:{}},n=new Lne(e.accentColor).toHex(),i=new Lne(e.accentColor).lighten(-.3).toHex(),r=new Lne(e.accentColor).lighten(.5).toHex(),a=Une(e.primaryColor),o=qne(i);return t.palette.themeDarker=new Lne(e.primaryColor).lighten(-.4).toHex(),t.palette.themeDark=new Lne(e.primaryColor).lighten(-.3).toHex(),t.palette.themeDarkAlt=a,t.palette.themePrimary=new Lne(e.primaryColor).toHex(),t.palette.themeLight=new Lne(e.primaryColor).lighten(.2).toHex(),t.palette.themeLighter=new Lne(e.primaryColor).lighten(.65).toHex(),t.palette.themeLighterAlt=new Lne(e.primaryColor).lighten(.8).toHex(),t.palette.red=new Lne("#B90000").toHex(),t.palette.redDark=new Lne("#a80000").toHex(),t.palette.accent=n,t.semanticColors.warningText=new Lne(e.secondaryColor).lighten(.8).toHex(),t.semanticColors.inputPlaceholderText=new Lne("#666666").toHex(),t.semanticColors.primaryButtonBackground=n,t.semanticColors.primaryButtonText=e.textColorOnAccent,t.semanticColors.primaryButtonBackgroundHovered=i,t.semanticColors.primaryButtonTextHovered=o,t.semanticColors.primaryButtonBackgroundPressed=i,t.semanticColors.primaryButtonTextPressed=o,t.semanticColors.inputIcon=n,t.semanticColors.inputIconHovered=i,t.semanticColors.inputBackgroundChecked=n,t.semanticColors.inputBackgroundCheckedHovered=i,t.semanticColors.inputFocusBorderAlt=n,t.semanticColors.inputPlaceholderBackgroundChecked=r,t.palette.themeSecondary=new Lne(e.secondaryColor).toHex(),t.palette.themeTertiary=new Lne(e.secondaryColor).lighten(-.2).toHex(),t.textColors.onPrimary=new Lne(e.textColorOnPrimary).toHex(),t.textColors.onSecondary=new Lne(e.textColorOnSecondary).toHex(),t.textColors.default=new Lne(jne).toHex(),t.textColors.onAccent=new Lne(e.textColorOnAccent).toHex(),t}(a);for(var u in l)l.hasOwnProperty(u)&&Object.assign(s[u],l[u]);return t||o.loadTheme(s),function(e){var t=[],n=".lt-reach";for(var i in e)if(e.hasOwnProperty(i)){var r=e[i];for(var a in r)if(r.hasOwnProperty(a)){var o=r[a];"textColors"!==i&&(t.push(n+" .ms-bgColor-"+a+" { background-color: "+o+";}"),t.push(n+" .ms-borderColor-"+a+" { border-color: "+o+";}")),t.push(n+" .ms-fontColor-"+a+" { color: "+o+";}"),t.push(n+" .ms-fontColor-"+a+"--hover:hover {color: "+o+";}")}}zne||((zne=document.createElement("style")).type="text/css",zne.id="condense-ui-fabric-overrides",document.head.appendChild(zne));zne.innerHTML=t.join(" ")}(s),s}function Une(e){return new Lne(e).lighten(-.2).toHex()}function qne(e){return function(e){var t=RZ(e,jne),n=RZ(e,Qne);return t>n}(e)?jne:Qne}var Bne=i.createContext(null),Gne=function(e){var n=e.disableUiFabricThemeOverwrite,r=e.children,o=i.useState((function(){return Nne(Mne.find((function(e){return"Default"===e.name})),n)})),s=o[0],l=o[1];return t.jsx(Bne.Provider,vK({value:{theme:s,setTheme:function(e){return l(Nne(e,n))}}},{children:t.jsx(a.ThemeProvider,vK({theme:s},{children:r}),void 0)}),void 0)};var Wne,Xne,Vne=function(e){var n=e.area,r=e.pluginId,a=e.componentName,o=yK(e,["area","pluginId","componentName"]),s=Wx().formatMessage,l=Wte(n).find((function(e){return e.pluginId===r&&e.componentName===a&&null!=e.area}));return l?t.jsx(DZ.exports.ErrorBoundary,vK({FallbackComponent:function(e){return t.jsx(Yne,vK({},e,{showDetailedErrorMessage:null==o?void 0:o.showDetailedErrorMessage}),void 0)}},{children:i.createElement(Cte,vK({},o,l,{key:r}))}),void 0):o.showDetailedErrorMessage?t.jsx(Yne,{error:new Error(s({id:"InlinePlugin.fallback.error.notFound"})),showDetailedErrorMessage:!0},void 0):null},Yne=function(e){var n=e.error,i=e.showDetailedErrorMessage;return t.jsxs(Zne,{children:[t.jsx(hS,{id:"InlinePlugin.fallback.error"},void 0),i&&(null==n?void 0:n.message)&&t.jsx(Hne,{children:t.jsx(hS,{id:"InlinePlugin.fallback.error.message",values:{errorMessage:n.message}},void 0)},void 0)]},void 0)},Zne=y.default.div.withConfig({displayName:"Plugin__Host",componentId:"sc-nofq56-0"})(Wne||(Wne=wK(["\n padding: ","px;\n background-color: ",";\n font-size: ","px;\n"],["\n padding: ","px;\n background-color: ",";\n font-size: ","px;\n"])),U8,Rne,a7),Hne=y.default.p.withConfig({displayName:"Plugin__ErrorMessage",componentId:"sc-nofq56-1"})(Xne||(Xne=wK(["\n &&& {\n margin: ","px 0 0 0;\n }\n"],["\n &&& {\n margin: ","px 0 0 0;\n }\n"])),U8),Kne=i.createContext(null),Jne=i.createContext(null);function eie(){return i.useContext(Kne)}var tie,nie,iie,rie,aie,oie,sie=function(e){var n=e.children,r=i.useState(!1),a=r[0],s=r[1],l=i.useState({}),u=l[0],c=l[1],d=i.useMemo((function(){return{showErrorText:f,showInfo:p,showError:m,showWarning:g,showSuccess:v,hideNotification:y,showToast:b,showToastWarning:O,dismissToast:_}}),[c,s]),h=i.useMemo((function(){return vK(vK({},u),{isNotificationBarVisible:a})}),[u,a]);return t.jsx(Kne.Provider,vK({value:d},{children:t.jsx(Jne.Provider,vK({value:h},{children:n}),void 0)}),void 0);function p(e,t){c({messageId:e,messageValues:t,messageBarType:o.MessageBarType.info,actions:null,className:"ms-messageBar--info"}),s(!0)}function f(e){c({text:e,messageBarType:o.MessageBarType.error,actions:null}),s(!0)}function m(e,t){c({messageId:e,messageValues:t,messageBarType:o.MessageBarType.error,actions:null}),s(!0)}function g(e,t){c({messageId:e,messageValues:t,messageBarType:o.MessageBarType.warning,actions:null}),s(!0)}function v(e,t,n,i){c({messageId:e,messageValues:t,messageBarType:o.MessageBarType.success,className:n,actions:i}),s(!0)}function y(){s(!1)}function b(e,n,i,r){var a=t.jsx(hS,{id:e,values:n},void 0);return null==i?hK(a,r):hK(t.jsxs(lie,{children:[t.jsx(uie,{children:a},void 0),t.jsx(cie,{children:i},void 0)]},void 0),vK({},r))}function O(e,t,n){var i={autoClose:!1,type:"warning"};return n&&(i.onClose=n),b(e,t,null,i)}function _(e){hK.dismiss(e)}},lie=y.default.div.withConfig({displayName:"NotificationContext__Wrapper",componentId:"sc-ant4hw-0"})(tie||(tie=wK(["\n display: flex;\n align-items: center;\n\n @media (max-width: ","px) {\n flex-direction: column;\n }\n"],["\n display: flex;\n align-items: center;\n\n @media (max-width: ","px) {\n flex-direction: column;\n }\n"])),X8),uie=y.default.p.withConfig({displayName:"NotificationContext__Message",componentId:"sc-ant4hw-1"})(nie||(nie=wK(["\n flex: 1 1 auto;\n"],["\n flex: 1 1 auto;\n"]))),cie=y.default.div.withConfig({displayName:"NotificationContext__Actions",componentId:"sc-ant4hw-2"})(iie||(iie=wK(["\n margin-left: 25px;\n flex: 1 0 auto;\n\n @media (max-width: ","px) {\n margin-left: 0;\n margin-top: 10px;\n }\n"],["\n margin-left: 25px;\n flex: 1 0 auto;\n\n @media (max-width: ","px) {\n margin-left: 0;\n margin-top: 10px;\n }\n"])),X8),die=function(){var e=r.useHistory(),n=i.useContext(KF).hideChrome;return i.useEffect((function(){var t=e.listen((function(){return hK.dismiss()}));return function(){return t()}}),[e]),t.jsxs(t.Fragment,{children:[t.jsx(hie,{chromeless:n},void 0),t.jsx(JH,{toastClassName:"ms-fontColor-default",bodyClassName:"ms-fontColor-default",autoClose:5e3,hideProgressBar:!0,transition:KH,closeButton:!1},void 0)]},void 0)},hie=a.createGlobalStyle(oie||(oie=wK(["\n .lt-reach .Toastify .Toastify__toast-container {\n ","\n\n ","\n }\n\n .Toastify {\n .Toastify__toast-container {\n // This allows us to have wider toasts that do not wrap too soon.\n // Toastify itself will add responsive design at 480px and span the\n // toast the full width...\n max-width: 540px;\n width: auto;\n z-index: 1000001;\n\n @media (max-width: 480px) {\n padding: 0 10px !important;\n }\n }\n\n .Toastify__toast-body {\n display: flex;\n flex: 1 1 540px;\n height: 100%;\n justify-content: center;\n flex-direction: column;\n // IE fix: this is a default value from Toastify but doesn't work properly unless added here too\n min-height: 48px;\n }\n }\n"],["\n .lt-reach .Toastify .Toastify__toast-container {\n ","\n\n ","\n }\n\n .Toastify {\n .Toastify__toast-container {\n // This allows us to have wider toasts that do not wrap too soon.\n // Toastify itself will add responsive design at 480px and span the\n // toast the full width...\n max-width: 540px;\n width: auto;\n z-index: 1000001;\n\n @media (max-width: 480px) {\n padding: 0 10px !important;\n }\n }\n\n .Toastify__toast-body {\n display: flex;\n flex: 1 1 540px;\n height: 100%;\n justify-content: center;\n flex-direction: column;\n // IE fix: this is a default value from Toastify but doesn't work properly unless added here too\n min-height: 48px;\n }\n }\n"])),(function(e){return!e.chromeless&&a.css(rie||(rie=wK(["\n top: 4em;\n "],["\n top: 4em;\n "])))}),(function(e){return e.chromeless&&a.css(aie||(aie=wK(["\n @media all and (max-width: ","px) {\n top: 0.5em;\n right: 0.5em;\n }\n "],["\n @media all and (max-width: ","px) {\n top: 0.5em;\n right: 0.5em;\n }\n "])),K8)}));function pie(){var e=aq();return i.useMemo((function(){return{getAllKeywords:t,getAllKeywordsByGroupIds:function(){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(1===e.length){var n=e[0];if(tB(n))return tG(n,null);if(nB(n)&&Object.getPrototypeOf(n)===Object.prototype){var i=Object.keys(n);return tG(i.map((function(e){return n[e]})),i)}}if("function"==typeof e[e.length-1]){var r=e.pop();return tG(e=1===e.length&&tB(e[0])?e[0]:e,null).pipe(QB((function(e){return r.apply(void 0,e)})))}return tG(e,null)}(n(),t()).pipe(QB((function(e){var t=e[0],n=e[1],i={};return t.forEach((function(e){i[e.id]=n.filter((function(t){return t.groupId===e.id}))})),i}))).toPromise()},getSelectedGroups:n,getKeywordGroupsByItemId:function(t,n){void 0===n&&(n="");return bK(this,void 0,void 0,(function(){return OK(this,(function(i){return[2,e.all(n+"news/"+t+"/keyword_groups").getAll().then((function(e){return e.body().map((function(e){return e.data()}))}))]}))}))}};function t(t){return e.all("keywords").getAll({},{"Cache-Control":t?"no-cache":"private"}).then((function(e){return e.body().map((function(e){return e.data()}))}))}function n(){return bK(this,void 0,void 0,(function(){return OK(this,(function(t){return[2,e.all("keyword_groups/selected").getAll().then((function(e){return e.body().map((function(e){return e.data()}))}))]}))}))}}),[e])}var fie=function(e){var n=e.loadingIndicator,r=e.children,a=i.useContext(mie);return a.channels?t.jsx(gie.Provider,vK({value:a},{children:r}),void 0):t.jsx(t.Fragment,{children:null!=n?n:t.jsx(o.Spinner,{},void 0)},void 0)},mie=i.createContext(null),gie=i.createContext(null),vie={},yie=Array.from(Array(15),(function(){return{locked:!1,key:null,promise:null,resolve:null}}));yie.forEach((function(e){return e.promise=new Promise((function(t){return e.resolve=t}))}));var bie=function(e){var n=e.children,i=yte().getChannels,r=pie(),a=r.getAllKeywords,o=r.getSelectedGroups;return t.jsx(Oie,vK({getChannels:i,getAllKeywords:a,getSelectedGroups:o},{children:n}),void 0)},Oie=function(e){var n=e.getChannels,r=e.getAllKeywords,a=e.getSelectedGroups,o=e.children,s=S6(),l=i.useContext(OS).identifier,u=i.useContext(gS).handleFatalError,c=i.useCallback((function(){return bK(this,void 0,void 0,(function(){var e,t,i,r,a,o;return OK(this,(function(s){switch(s.label){case 0:return s.trys.push([0,2,,4]),[4,Promise.all([n(),O(),_()])];case 1:return e=s.sent(),t=e[0],i=e[1],r=e[2],a=r.reduce((function(e,t){var n;return vK(vK({},e),((n={})[t.id]=i.filter((function(e){return e.groupId===t.id})),n))}),{}),function(e){if(vie[y]){var t=yie.findIndex((function(e){return e.key===y})),n={locked:!1,key:null,resolve:null,promise:null};n.promise=new Promise((function(e){return n.resolve=e})),yie[t]=n}vie[y]=function(e){var t=yie.findIndex((function(e){return!e.locked})),n=yie[t];return n.locked=!0,n.key=y,n.resolve(e),n.promise}(e)}(t),[2,{channels:t,allKeywords:i,keywordsByGroupId:a,selectedKeywordGroups:r}];case 2:return o=s.sent(),ng.error(JSON.stringify(o)),[4,q9(o)];case 3:return!0!==s.sent()&&u({error:o}),[2,{}];case 4:return[2]}}))}))}),[n,r,a]),d=zw(c,{},[l.id,n,r]),h=d[0],p=h.channels,f=h.allKeywords,m=h.keywordsByGroupId,g=h.selectedKeywordGroups,v=d[3],y=fte().subscriptionHandle,b=i.useMemo((function(){return{channels:p,getChannels:function(){return vie[y]},allKeywords:f,keywordsByGroupId:m,selectedKeywordGroups:g,refreshSubscription:function(){return bK(void 0,void 0,void 0,(function(){var e;return OK(this,(function(t){switch(t.label){case 0:return[4,c()];case 1:return e=t.sent(),v(e),[2]}}))}))}}}),[p,f,m,g,v,c]);return t.jsx(mie.Provider,vK({value:b},{children:o}),void 0);function O(){return bK(this,void 0,void 0,(function(){var e;return OK(this,(function(t){switch(t.label){case 0:if(!s.keywords)return[2,[]];t.label=1;case 1:return t.trys.push([1,3,,4]),[4,r()];case 2:return[2,t.sent()];case 3:return e=t.sent(),ng.error(e),[2,[]];case 4:return[2]}}))}))}function _(){return bK(this,void 0,void 0,(function(){var e;return OK(this,(function(t){switch(t.label){case 0:if(!s.keywords)return[2,[]];t.label=1;case 1:return t.trys.push([1,3,,4]),[4,a()];case 2:return[2,t.sent()];case 3:return e=t.sent(),ng.error(e),[2,[]];case 4:return[2]}}))}))}};var _ie={};function wie(e){var t;(null==e?void 0:e.type)&&(null===(t=_ie[e.type])||void 0===t||t.some((function(t){return t(e)})))}function kie(e,t,n){i.useEffect((function(){if(e)return _ie[e]||(_ie[e]=[]),_ie[e].push(t),function(){_ie[e]=_ie[e].filter((function(e){return e!==t}))}}),_K([e],n||[]))}var xie=_1,Sie=w1,Pie=x1,Eie=jK,Fie=A1,Cie=[],Tie=Cie.sort,Die=Eie((function(){Cie.sort(void 0)})),Aie=Eie((function(){Cie.sort(null)})),Iie=Fie("sort");xie({target:"Array",proto:!0,forced:Die||!Aie||!Iie},{sort:function(e){return void 0===e?Tie.call(Pie(this)):Tie.call(Pie(this),Sie(e))}});var Lie=Dte,zie=[].reverse,$ie=[1,2];_1({target:"Array",proto:!0,forced:String($ie)===String($ie.reverse())},{reverse:function(){return Lie(this)&&(this.length=this.length),zie.call(this)}});var Rie,Qie,jie,Mie,Nie=[],Uie=function(e,t){Nie.some((function(t){return t.handler===e}))||Nie.push({handler:e,priority:t||0})},qie=function(e){Nie=Nie.filter((function(t){return t.handler!==e}))};function Bie(e,t,n,i){if(!((null==e?void 0:e.length)&&t.keywords&&n&&i))return{};var r=e.flatMap((function(e){return e.defaultKeywordIds||[]})).concat(e.flatMap((function(e){return e.availableKeywordIds||n.map((function(e){return e.id}))})),e.flatMap((function(e){return e.mandatoryKeywordIds||[]})));return Xie(Array.from(new Set(r)),i)}function Gie(e,t,n,i){var r=Bie(e,t,n,i);return Object.values(r).reduce((function(e,t){return e=e.concat(t)}),[])}function Wie(e,t,n){if(!(null==e?void 0:e.length)||!t.keywords)return{};var i=e.flatMap((function(e){return e.mandatoryKeywordIds||[]})).concat(e.flatMap((function(e){return e.defaultKeywordIds||[]})));return i.length?Xie(i,n):{}}function Xie(e,t){var n={};return Object.keys(t).forEach((function(i){var r=t[i].filter((function(t){return e.some((function(e){return e===t.id}))}));r.length&&(n[i]=r)})),n}function Vie(e,t,n,i,r){if(e){var a=t.groups.filter((function(t){var n;return null===(n=e.groupIds)||void 0===n?void 0:n.includes(t.id)}));e.keywords||(e.keywords={});var o=Bie(a,n,i,r),s=function(e,t,n){if(!(null==e?void 0:e.length)||!t.keywords)return{};var i=e.flatMap((function(e){return e.mandatoryKeywordIds||[]}));return i.length?Xie(i,n):{}}(a,n,r);Object.keys(e.keywords).forEach((function(t){var n,i=o[t]||[];e.keywords[t]=null===(n=e.keywords[t])||void 0===n?void 0:n.filter((function(e){return i.some((function(t){return t.id===e.id}))}))})),Object.keys(s).forEach((function(t){var n,i,r=null===(n=e.keywords[t])||void 0===n?void 0:n.filter((function(e){var n;return null===(n=s[t])||void 0===n?void 0:n.every((function(t){return t.id!==e.id}))}));e.keywords[t]=(null!=r?r:[]).concat(null!==(i=s[t])&&void 0!==i?i:[])}))}}function Yie(e,t){var n=Kie(e,t),i=function(e,t){if(!(null==e?void 0:e.length))return[];var n=e.flatMap((function(e){return e.defaultChannelIds||[]}));return t.filter((function(e){return n.includes(e.id)}))}(e,t);return Array.from(new Set(n.concat(i)))}function Zie(e,t){if(!(null==e?void 0:e.length))return[];var n=e.flatMap((function(e){return e.defaultChannelIds||[]})).concat(e.flatMap((function(e){return e.availableChannelIds||t.map((function(e){return e.id}))})),e.flatMap((function(e){return e.mandatoryChannelIds||[]})));return n=Array.from(new Set(n)),t.filter((function(e){return n.includes(e.id)}))}function Hie(e,t,n){if(e){var i=t.groups.filter((function(t){var n;return null===(n=e.groupIds)||void 0===n?void 0:n.includes(t.id)})),r=Zie(i,n),a=Kie(i,n);e.channels||(e.channels=[]);var o=r.filter((function(t){return e.channels.some((function(e){return e.name===t.name}))}));e.channels=Array.from(new Set(o.concat(a)))}}function Kie(e,t){if(!(null==e?void 0:e.length))return[];var n=e.flatMap((function(e){return e.mandatoryChannelIds||[]}));return n.length?t.filter((function(e){return n.includes(e.id)})):[]}!function(e){e.Default="default",e.Left="left",e.Right="right",e.Center="center"}(Rie||(Rie={})),function(e){e.NotDeleted="NOT_DELETED",e.RecycleBin="RECYCLE_BIN",e.Deleted="DELETED"}(Qie||(Qie={})),function(e){e.Default="DEFAULT",e.GroupNameChange="GROUP_NAME_CHANGE",e.UserLeftChat="USER_LEFT_CHAT"}(jie||(jie={})),function(e){e.Normal="NORMAL",e.LeftChat="LEFT_CHAT"}(Mie||(Mie={}));var Jie=function(){function e(){this.type=e.type}return e.create=function(){return new e},e.type="forbidden_error",e}(),ere=function(){function e(){this.type=e.type}return e.create=function(){return new e},e.type="generic_access_denied",e}();function tre(){var e,t=r.useLocation(),n=null===(e=null==t?void 0:t.state)||void 0===e?void 0:e.modalRouting;return{isModalRoutingActive:null==n?void 0:n.isActive,modalItemId:null==n?void 0:n.itemId,backgroundLocation:null==n?void 0:n.backgroundLocation}}function nre(){var e=r.useLocation(),t=as.isTeams;return function(n){if(!t)return{modalRouting:{isActive:!0,itemId:n,backgroundLocation:vK(vK({},e),{state:{modalRouting:{isActive:!0}}})}}}}mK("/*! PhotoSwipe main CSS by Dmitry Semenov | photoswipe.com | MIT license */\n/*\n\tStyles for basic PhotoSwipe functionality (sliding area, open/close transitions)\n*/\n/* pswp = photoswipe */\n.pswp {\n display: none;\n position: absolute;\n width: 100%;\n height: 100%;\n left: 0;\n top: 0;\n overflow: hidden;\n touch-action: none;\n z-index: 1500;\n -webkit-text-size-adjust: 100%;\n /* create separate layer, to avoid paint on window.onscroll in webkit/blink */\n -webkit-backface-visibility: hidden;\n outline: none; }\n .pswp * {\n box-sizing: border-box; }\n .pswp img {\n max-width: none; }\n\n/* style is added when JS option showHideOpacity is set to true */\n.pswp--animate_opacity {\n /* 0.001, because opacity:0 doesn't trigger Paint action, which causes lag at start of transition */\n opacity: 0.001;\n will-change: opacity;\n /* for open/close transition */\n transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); }\n\n.pswp--open {\n display: block; }\n\n.pswp--zoom-allowed .pswp__img {\n /* autoprefixer: off */\n cursor: -webkit-zoom-in;\n cursor: -moz-zoom-in;\n cursor: zoom-in; }\n\n.pswp--zoomed-in .pswp__img {\n /* autoprefixer: off */\n cursor: -webkit-grab;\n cursor: -moz-grab;\n cursor: grab; }\n\n.pswp--dragging .pswp__img {\n /* autoprefixer: off */\n cursor: -webkit-grabbing;\n cursor: -moz-grabbing;\n cursor: grabbing; }\n\n/*\n\tBackground is added as a separate element.\n\tAs animating opacity is much faster than animating rgba() background-color.\n*/\n.pswp__bg {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n background: #000;\n opacity: 0;\n transform: translateZ(0);\n -webkit-backface-visibility: hidden;\n will-change: opacity; }\n\n.pswp__scroll-wrap {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n overflow: hidden; }\n\n.pswp__container,\n.pswp__zoom-wrap {\n touch-action: none;\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0; }\n\n/* Prevent selection and tap highlights */\n.pswp__container,\n.pswp__img {\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n -webkit-tap-highlight-color: transparent;\n -webkit-touch-callout: none; }\n\n.pswp__zoom-wrap {\n position: absolute;\n width: 100%;\n transform-origin: left top;\n /* for open/close transition */\n transition: transform 333ms cubic-bezier(0.4, 0, 0.22, 1); }\n\n.pswp__bg {\n will-change: opacity;\n /* for open/close transition */\n transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); }\n\n.pswp--animated-in .pswp__bg,\n.pswp--animated-in .pswp__zoom-wrap {\n transition: none; }\n\n.pswp__container,\n.pswp__zoom-wrap {\n -webkit-backface-visibility: hidden; }\n\n.pswp__item {\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n overflow: hidden; }\n\n.pswp__img {\n position: absolute;\n width: auto;\n height: auto;\n top: 0;\n left: 0; }\n\n/*\n\tstretched thumbnail or div placeholder element (see below)\n\tstyle is added to avoid flickering in webkit/blink when layers overlap\n*/\n.pswp__img--placeholder {\n -webkit-backface-visibility: hidden; }\n\n/*\n\tdiv element that matches size of large image\n\tlarge image loads on top of it\n*/\n.pswp__img--placeholder--blank {\n background: #222; }\n\n.pswp--ie .pswp__img {\n width: 100% !important;\n height: auto !important;\n left: 0;\n top: 0; }\n\n/*\n\tError message appears when image is not loaded\n\t(JS option errorMsg controls markup)\n*/\n.pswp__error-msg {\n position: absolute;\n left: 0;\n top: 50%;\n width: 100%;\n text-align: center;\n font-size: 14px;\n line-height: 16px;\n margin-top: -8px;\n color: #CCC; }\n\n.pswp__error-msg a {\n color: #CCC;\n text-decoration: underline; }\n");mK('/*! PhotoSwipe Default UI CSS by Dmitry Semenov | photoswipe.com | MIT license */\n/*\n\n\tContents:\n\n\t1. Buttons\n\t2. Share modal and links\n\t3. Index indicator ("1 of X" counter)\n\t4. Caption\n\t5. Loading indicator\n\t6. Additional styles (root element, top bar, idle state, hidden state, etc.)\n\n*/\n/*\n\t\n\t1. Buttons\n\n */\n/* <button> css reset */\n.pswp__button {\n width: 44px;\n height: 44px;\n position: relative;\n background: none;\n cursor: pointer;\n overflow: visible;\n -webkit-appearance: none;\n display: block;\n border: 0;\n padding: 0;\n margin: 0;\n float: right;\n opacity: 0.75;\n transition: opacity 0.2s;\n box-shadow: none; }\n .pswp__button:focus, .pswp__button:hover {\n opacity: 1; }\n .pswp__button:active {\n outline: none;\n opacity: 0.9; }\n .pswp__button::-moz-focus-inner {\n padding: 0;\n border: 0; }\n\n/* pswp__ui--over-close class it added when mouse is over element that should close gallery */\n.pswp__ui--over-close .pswp__button--close {\n opacity: 1; }\n\n.pswp__button,\n.pswp__button--arrow--left:before,\n.pswp__button--arrow--right:before {\n background: url(default-skin.png) 0 0 no-repeat;\n background-size: 264px 88px;\n width: 44px;\n height: 44px; }\n\n@media (-webkit-min-device-pixel-ratio: 1.1), (-webkit-min-device-pixel-ratio: 1.09375), (min-resolution: 105dpi), (min-resolution: 1.1dppx) {\n /* Serve SVG sprite if browser supports SVG and resolution is more than 105dpi */\n .pswp--svg .pswp__button,\n .pswp--svg .pswp__button--arrow--left:before,\n .pswp--svg .pswp__button--arrow--right:before {\n background-image: url(default-skin.svg); }\n .pswp--svg .pswp__button--arrow--left,\n .pswp--svg .pswp__button--arrow--right {\n background: none; } }\n\n.pswp__button--close {\n background-position: 0 -44px; }\n\n.pswp__button--share {\n background-position: -44px -44px; }\n\n.pswp__button--fs {\n display: none; }\n\n.pswp--supports-fs .pswp__button--fs {\n display: block; }\n\n.pswp--fs .pswp__button--fs {\n background-position: -44px 0; }\n\n.pswp__button--zoom {\n display: none;\n background-position: -88px 0; }\n\n.pswp--zoom-allowed .pswp__button--zoom {\n display: block; }\n\n.pswp--zoomed-in .pswp__button--zoom {\n background-position: -132px 0; }\n\n/* no arrows on touch screens */\n.pswp--touch .pswp__button--arrow--left,\n.pswp--touch .pswp__button--arrow--right {\n visibility: hidden; }\n\n/*\n\tArrow buttons hit area\n\t(icon is added to :before pseudo-element)\n*/\n.pswp__button--arrow--left,\n.pswp__button--arrow--right {\n background: none;\n top: 50%;\n margin-top: -50px;\n width: 70px;\n height: 100px;\n position: absolute; }\n\n.pswp__button--arrow--left {\n left: 0; }\n\n.pswp__button--arrow--right {\n right: 0; }\n\n.pswp__button--arrow--left:before,\n.pswp__button--arrow--right:before {\n content: \'\';\n top: 35px;\n background-color: rgba(0, 0, 0, 0.3);\n height: 30px;\n width: 32px;\n position: absolute; }\n\n.pswp__button--arrow--left:before {\n left: 6px;\n background-position: -138px -44px; }\n\n.pswp__button--arrow--right:before {\n right: 6px;\n background-position: -94px -44px; }\n\n/*\n\n\t2. Share modal/popup and links\n\n */\n.pswp__counter,\n.pswp__share-modal {\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none; }\n\n.pswp__share-modal {\n display: block;\n background: rgba(0, 0, 0, 0.5);\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n padding: 10px;\n position: absolute;\n z-index: 1600;\n opacity: 0;\n transition: opacity 0.25s ease-out;\n -webkit-backface-visibility: hidden;\n will-change: opacity; }\n\n.pswp__share-modal--hidden {\n display: none; }\n\n.pswp__share-tooltip {\n z-index: 1620;\n position: absolute;\n background: #FFF;\n top: 56px;\n border-radius: 2px;\n display: block;\n width: auto;\n right: 44px;\n box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);\n transform: translateY(6px);\n transition: transform 0.25s;\n -webkit-backface-visibility: hidden;\n will-change: transform; }\n .pswp__share-tooltip a {\n display: block;\n padding: 8px 12px;\n color: #000;\n text-decoration: none;\n font-size: 14px;\n line-height: 18px; }\n .pswp__share-tooltip a:hover {\n text-decoration: none;\n color: #000; }\n .pswp__share-tooltip a:first-child {\n /* round corners on the first/last list item */\n border-radius: 2px 2px 0 0; }\n .pswp__share-tooltip a:last-child {\n border-radius: 0 0 2px 2px; }\n\n.pswp__share-modal--fade-in {\n opacity: 1; }\n .pswp__share-modal--fade-in .pswp__share-tooltip {\n transform: translateY(0); }\n\n/* increase size of share links on touch devices */\n.pswp--touch .pswp__share-tooltip a {\n padding: 16px 12px; }\n\na.pswp__share--facebook:before {\n content: \'\';\n display: block;\n width: 0;\n height: 0;\n position: absolute;\n top: -12px;\n right: 15px;\n border: 6px solid transparent;\n border-bottom-color: #FFF;\n -webkit-pointer-events: none;\n -moz-pointer-events: none;\n pointer-events: none; }\n\na.pswp__share--facebook:hover {\n background: #3E5C9A;\n color: #FFF; }\n a.pswp__share--facebook:hover:before {\n border-bottom-color: #3E5C9A; }\n\na.pswp__share--twitter:hover {\n background: #55ACEE;\n color: #FFF; }\n\na.pswp__share--pinterest:hover {\n background: #CCC;\n color: #CE272D; }\n\na.pswp__share--download:hover {\n background: #DDD; }\n\n/*\n\n\t3. Index indicator ("1 of X" counter)\n\n */\n.pswp__counter {\n position: absolute;\n left: 0;\n top: 0;\n height: 44px;\n font-size: 13px;\n line-height: 44px;\n color: #FFF;\n opacity: 0.75;\n padding: 0 10px; }\n\n/*\n\t\n\t4. Caption\n\n */\n.pswp__caption {\n position: absolute;\n left: 0;\n bottom: 0;\n width: 100%;\n min-height: 44px; }\n .pswp__caption small {\n font-size: 11px;\n color: #BBB; }\n\n.pswp__caption__center {\n text-align: left;\n max-width: 420px;\n margin: 0 auto;\n font-size: 13px;\n padding: 10px;\n line-height: 20px;\n color: #CCC; }\n\n.pswp__caption--empty {\n display: none; }\n\n/* Fake caption element, used to calculate height of next/prev image */\n.pswp__caption--fake {\n visibility: hidden; }\n\n/*\n\n\t5. Loading indicator (preloader)\n\n\tYou can play with it here - http://codepen.io/dimsemenov/pen/yyBWoR\n\n */\n.pswp__preloader {\n width: 44px;\n height: 44px;\n position: absolute;\n top: 0;\n left: 50%;\n margin-left: -22px;\n opacity: 0;\n transition: opacity 0.25s ease-out;\n will-change: opacity;\n direction: ltr; }\n\n.pswp__preloader__icn {\n width: 20px;\n height: 20px;\n margin: 12px; }\n\n.pswp__preloader--active {\n opacity: 1; }\n .pswp__preloader--active .pswp__preloader__icn {\n /* We use .gif in browsers that don\'t support CSS animation */\n background: url(preloader.gif) 0 0 no-repeat; }\n\n.pswp--css_animation .pswp__preloader--active {\n opacity: 1; }\n .pswp--css_animation .pswp__preloader--active .pswp__preloader__icn {\n -webkit-animation: clockwise 500ms linear infinite;\n animation: clockwise 500ms linear infinite; }\n .pswp--css_animation .pswp__preloader--active .pswp__preloader__donut {\n -webkit-animation: donut-rotate 1000ms cubic-bezier(0.4, 0, 0.22, 1) infinite;\n animation: donut-rotate 1000ms cubic-bezier(0.4, 0, 0.22, 1) infinite; }\n\n.pswp--css_animation .pswp__preloader__icn {\n background: none;\n opacity: 0.75;\n width: 14px;\n height: 14px;\n position: absolute;\n left: 15px;\n top: 15px;\n margin: 0; }\n\n.pswp--css_animation .pswp__preloader__cut {\n /* \n\t\t\tThe idea of animating inner circle is based on Polymer ("material") loading indicator \n\t\t\t by Keanu Lee https://blog.keanulee.com/2014/10/20/the-tale-of-three-spinners.html\n\t\t*/\n position: relative;\n width: 7px;\n height: 14px;\n overflow: hidden; }\n\n.pswp--css_animation .pswp__preloader__donut {\n box-sizing: border-box;\n width: 14px;\n height: 14px;\n border: 2px solid #FFF;\n border-radius: 50%;\n border-left-color: transparent;\n border-bottom-color: transparent;\n position: absolute;\n top: 0;\n left: 0;\n background: none;\n margin: 0; }\n\n@media screen and (max-width: 1024px) {\n .pswp__preloader {\n position: relative;\n left: auto;\n top: auto;\n margin: 0;\n float: right; } }\n\n@-webkit-keyframes clockwise {\n 0% {\n transform: rotate(0deg); }\n 100% {\n transform: rotate(360deg); } }\n\n@keyframes clockwise {\n 0% {\n transform: rotate(0deg); }\n 100% {\n transform: rotate(360deg); } }\n\n@-webkit-keyframes donut-rotate {\n 0% {\n transform: rotate(0); }\n 50% {\n transform: rotate(-140deg); }\n 100% {\n transform: rotate(0); } }\n\n@keyframes donut-rotate {\n 0% {\n transform: rotate(0); }\n 50% {\n transform: rotate(-140deg); }\n 100% {\n transform: rotate(0); } }\n\n/*\n\t\n\t6. Additional styles\n\n */\n/* root element of UI */\n.pswp__ui {\n -webkit-font-smoothing: auto;\n visibility: visible;\n opacity: 1;\n z-index: 1550; }\n\n/* top black bar with buttons and "1 of X" indicator */\n.pswp__top-bar {\n position: absolute;\n left: 0;\n top: 0;\n height: 44px;\n width: 100%; }\n\n.pswp__caption,\n.pswp__top-bar,\n.pswp--has_mouse .pswp__button--arrow--left,\n.pswp--has_mouse .pswp__button--arrow--right {\n -webkit-backface-visibility: hidden;\n will-change: opacity;\n transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); }\n\n/* pswp--has_mouse class is added only when two subsequent mousemove events occur */\n.pswp--has_mouse .pswp__button--arrow--left,\n.pswp--has_mouse .pswp__button--arrow--right {\n visibility: visible; }\n\n.pswp__top-bar,\n.pswp__caption {\n background-color: rgba(0, 0, 0, 0.5); }\n\n/* pswp__ui--fit class is added when main image "fits" between top bar and bottom bar (caption) */\n.pswp__ui--fit .pswp__top-bar,\n.pswp__ui--fit .pswp__caption {\n background-color: rgba(0, 0, 0, 0.3); }\n\n/* pswp__ui--idle class is added when mouse isn\'t moving for several seconds (JS option timeToIdle) */\n.pswp__ui--idle .pswp__top-bar {\n opacity: 0; }\n\n.pswp__ui--idle .pswp__button--arrow--left,\n.pswp__ui--idle .pswp__button--arrow--right {\n opacity: 0; }\n\n/*\n\tpswp__ui--hidden class is added when controls are hidden\n\te.g. when user taps to toggle visibility of controls\n*/\n.pswp__ui--hidden .pswp__top-bar,\n.pswp__ui--hidden .pswp__caption,\n.pswp__ui--hidden .pswp__button--arrow--left,\n.pswp__ui--hidden .pswp__button--arrow--right {\n /* Force paint & create composition layer for controls. */\n opacity: 0.001; }\n\n/* pswp__ui--one-slide class is added when there is just one item in gallery */\n.pswp__ui--one-slide .pswp__button--arrow--left,\n.pswp__ui--one-slide .pswp__button--arrow--right,\n.pswp__ui--one-slide .pswp__counter {\n display: none; }\n\n.pswp__element--disabled {\n display: none !important; }\n\n.pswp--minimal--dark .pswp__top-bar {\n background: none; }\n');var ire={exports:{}};
|
|
132
|
+
var gK=function(e,t){return gK=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])},gK(e,t)};var vK=function(){return vK=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},vK.apply(this,arguments)};function yK(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]])}return n}function bK(e,t,n,i){return new(n||(n=Promise))((function(r,a){function o(e){try{l(i.next(e))}catch(e){a(e)}}function s(e){try{l(i.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}l((i=i.apply(e,t||[])).next())}))}function OK(e,t){var n,i,r,a,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(r=2&a[0]?i.return:a[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,a[1])).done)return r;switch(i=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,i=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(r=o.trys,(r=r.length>0&&r[r.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]<r[3])){o.label=a[1];break}if(6===a[0]&&o.label<r[1]){o.label=r[1],r=a;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(a);break}r[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],i=0}finally{n=r=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function _K(e,t){for(var n=0,i=t.length,r=e.length;n<i;n++,r++)e[r]=t[n];return e}function wK(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var kK,xK,SK,PK,EK=a.createGlobalStyle(kK||(kK=wK(["\n // focus style should be visible only when keyboard navigation is activated\n // office ui fabric adds 'ms-Fabric--isFocusVisible' when the user presses keyboard keys, and removes it when the user clicks a mouse button\n\n .ms-Fabric--isFocusVisible .lt-reach {\n a:not(.ms-Button):focus,\n div[data-is-focusable]:not(.ms-PickerPersona-container):focus {\n box-shadow: none;\n outline: 2px solid ",";\n outline-offset: 2px;\n }\n\n div[data-is-focusable][role=\"listbox\"]:focus,\n div[data-is-focusable].ms-Dropdown:focus {\n &::after {\n border: 0;\n }\n }\n\n a[data-rounded-outline='true']:focus {\n border-radius: 20px;\n outline-offset: 4px;\n }\n\n button:focus {\n &::after {\n outline: 2px solid ",";\n outline-offset: 2px;\n inset: 0;\n }\n }\n\n button[data-rounded-outline='50']:focus {\n &::after {\n border-radius: 50%;\n outline-offset: 4px;\n }\n }\n\n button[data-rounded-outline='true']:focus {\n &::after {\n border-radius: 20px;\n outline-offset: 4px;\n }\n }\n\n button[data-toggle-button='true']:focus {\n &::after {\n border: none;\n border-radius: 12px;\n outline-offset: 3px;\n }\n }\n\n a[data-clickable-overlay]:focus {\n outline: 0 !important;\n\n &::before {\n outline: 2px solid ",";\n outline-offset: 5px;\n }\n }\n\n input[type='checkbox']:focus + label::before {\n outline: 2px solid ",";\n }\n\n div.ms-Dropdown-item input[type='checkbox']:focus + label::before,\n button.ms-Dropdown-item:focus::after {\n outline-offset: -2px;\n }\n\n div.ms-ChoiceField-wrapper.is-inFocus {\n &::after {\n outline: 2px solid ",";\n border: 0;\n }\n }\n\n .ms-SearchBox-clearButton button:focus::after {\n outline-offset: -4px;\n }\n\n .ms-PickerPersona-container:focus {\n &::after {\n outline: 2px solid ",";\n outline-offset: 0;\n }\n }\n }\n\n .ms-Fabric--isFocusVisible .lt-reach-contextual-menu {\n button:focus {\n &::after {\n outline-color: ",";\n outline-width: 2px;\n outline-offset: -2px;\n }\n }\n }\n"],["\n // focus style should be visible only when keyboard navigation is activated\n // office ui fabric adds 'ms-Fabric--isFocusVisible' when the user presses keyboard keys, and removes it when the user clicks a mouse button\n\n .ms-Fabric--isFocusVisible .lt-reach {\n a:not(.ms-Button):focus,\n div[data-is-focusable]:not(.ms-PickerPersona-container):focus {\n box-shadow: none;\n outline: 2px solid ",";\n outline-offset: 2px;\n }\n\n div[data-is-focusable][role=\"listbox\"]:focus,\n div[data-is-focusable].ms-Dropdown:focus {\n &::after {\n border: 0;\n }\n }\n\n a[data-rounded-outline='true']:focus {\n border-radius: 20px;\n outline-offset: 4px;\n }\n\n button:focus {\n &::after {\n outline: 2px solid ",";\n outline-offset: 2px;\n inset: 0;\n }\n }\n\n button[data-rounded-outline='50']:focus {\n &::after {\n border-radius: 50%;\n outline-offset: 4px;\n }\n }\n\n button[data-rounded-outline='true']:focus {\n &::after {\n border-radius: 20px;\n outline-offset: 4px;\n }\n }\n\n button[data-toggle-button='true']:focus {\n &::after {\n border: none;\n border-radius: 12px;\n outline-offset: 3px;\n }\n }\n\n a[data-clickable-overlay]:focus {\n outline: 0 !important;\n\n &::before {\n outline: 2px solid ",";\n outline-offset: 5px;\n }\n }\n\n input[type='checkbox']:focus + label::before {\n outline: 2px solid ",";\n }\n\n div.ms-Dropdown-item input[type='checkbox']:focus + label::before,\n button.ms-Dropdown-item:focus::after {\n outline-offset: -2px;\n }\n\n div.ms-ChoiceField-wrapper.is-inFocus {\n &::after {\n outline: 2px solid ",";\n border: 0;\n }\n }\n\n .ms-SearchBox-clearButton button:focus::after {\n outline-offset: -4px;\n }\n\n .ms-PickerPersona-container:focus {\n &::after {\n outline: 2px solid ",";\n outline-offset: 0;\n }\n }\n }\n\n .ms-Fabric--isFocusVisible .lt-reach-contextual-menu {\n button:focus {\n &::after {\n outline-color: ",";\n outline-width: 2px;\n outline-offset: -2px;\n }\n }\n }\n"])),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent})),FK=function(e){return"\n .ms-Fabric--isFocusVisible .lt-reach {\n "+e+"\n }\n"},CK=function(e){return a.css(xK||(xK=wK(["\n &::-webkit-scrollbar {\n display: inherit;\n ","\n }\n\n &:hover::-webkit-scrollbar {\n ","\n width: ",";\n }\n\n &:hover::-webkit-scrollbar-track {\n -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4);\n border-radius: 8px;\n -webkit-border-radius: 8px;\n }\n\n &:hover::-webkit-scrollbar-thumb {\n -webkit-border-radius: 10px;\n border-radius: 10px;\n background: rgba(100, 100, 100, 0.8);\n -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);\n }\n"],["\n &::-webkit-scrollbar {\n display: inherit;\n ","\n }\n\n &:hover::-webkit-scrollbar {\n ","\n width: ",";\n }\n\n &:hover::-webkit-scrollbar-track {\n -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4);\n border-radius: 8px;\n -webkit-border-radius: 8px;\n }\n\n &:hover::-webkit-scrollbar-thumb {\n -webkit-border-radius: 10px;\n border-radius: 10px;\n background: rgba(100, 100, 100, 0.8);\n -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);\n }\n"])),e&&"height: 10px;",e&&"height: 10px;",e?"100%":"10px")},TK=a.createGlobalStyle(SK||(SK=wK(["\n .lt-reach {\n color: ",";\n\n a {\n text-decoration: none;\n }\n\n *:focus {\n outline: none;\n }\n\n input[type='button'],\n input[type='reset'],\n input[type='submit'],\n button {\n min-width: auto;\n }\n\n h1,\n h2,\n h3,\n div,\n span,\n input,\n textarea,\n .ms-font-m,\n div.ms-Dialog,\n .ms-Label,\n .ms-Link {\n font-family: 'Roboto', sans-serif !important;\n }\n\n h1,\n h2,\n h3,\n h4,\n h5 {\n font-weight: 500;\n }\n\n .ms-Fabric {\n -webkit-font-smoothing: initial !important;\n }\n\n .ms-Button--icon.ms-Button {\n\n &:hover {\n background-color: transparent;\n }\n\n &.is-expanded {\n background-color: transparent;\n }\n }\n\n /***\n UI Fabric overrides\n */\n .ms-Dialog-main {\n width: inherit;\n .ms-Dialog-button--close:hover {\n background-color: transparent;\n }\n }\n\n .ms-Dialog-main {\n width: auto !important;\n max-width: 100% !important;\n margin: 0 10px;\n }\n\n .ms-Callout {\n // max-width 100% overflows on small screens where the dialog contents\n // occupy the whole 100%\n max-width: 90% !important;\n }\n\n }\n \n .lt-reach-picker-callout .ms-PeoplePicker-Persona {\n width: auto;\n }\n\n // the pull to refresh container is placed ABOVE our element, therefore we can not use a class from our component\n // however since \"app\" is our outer-most class it should be fine to use this\n .app {\n .ptr--ptr {\n box-shadow: none;\n }\n }\n\n .lt-reach-languageselector-menu-item {\n &.selected {\n background-color: #c0c0c0;\n span {\n font-weight: bold;\n }\n }\n\n button i {\n color: inherit;\n }\n }\n\n .browser-name-safari,\n .browser-name-ios,\n .browser-name-ios-webview {\n .lt-reach-header-actions {\n height: 50px;\n }\n }\n\n .browser-name-safari {\n .lt-reach-force-safari-h-scrollbar {\n ","\n }\n\n .lt-reach-force-safari-v-scrollbar {\n ","\n }\n }\n"],["\n .lt-reach {\n color: ",";\n\n a {\n text-decoration: none;\n }\n\n *:focus {\n outline: none;\n }\n\n input[type='button'],\n input[type='reset'],\n input[type='submit'],\n button {\n min-width: auto;\n }\n\n h1,\n h2,\n h3,\n div,\n span,\n input,\n textarea,\n .ms-font-m,\n div.ms-Dialog,\n .ms-Label,\n .ms-Link {\n font-family: 'Roboto', sans-serif !important;\n }\n\n h1,\n h2,\n h3,\n h4,\n h5 {\n font-weight: 500;\n }\n\n .ms-Fabric {\n -webkit-font-smoothing: initial !important;\n }\n\n .ms-Button--icon.ms-Button {\n\n &:hover {\n background-color: transparent;\n }\n\n &.is-expanded {\n background-color: transparent;\n }\n }\n\n /***\n UI Fabric overrides\n */\n .ms-Dialog-main {\n width: inherit;\n .ms-Dialog-button--close:hover {\n background-color: transparent;\n }\n }\n\n .ms-Dialog-main {\n width: auto !important;\n max-width: 100% !important;\n margin: 0 10px;\n }\n\n .ms-Callout {\n // max-width 100% overflows on small screens where the dialog contents\n // occupy the whole 100%\n max-width: 90% !important;\n }\n\n }\n \n .lt-reach-picker-callout .ms-PeoplePicker-Persona {\n width: auto;\n }\n\n // the pull to refresh container is placed ABOVE our element, therefore we can not use a class from our component\n // however since \"app\" is our outer-most class it should be fine to use this\n .app {\n .ptr--ptr {\n box-shadow: none;\n }\n }\n\n .lt-reach-languageselector-menu-item {\n &.selected {\n background-color: #c0c0c0;\n span {\n font-weight: bold;\n }\n }\n\n button i {\n color: inherit;\n }\n }\n\n .browser-name-safari,\n .browser-name-ios,\n .browser-name-ios-webview {\n .lt-reach-header-actions {\n height: 50px;\n }\n }\n\n .browser-name-safari {\n .lt-reach-force-safari-h-scrollbar {\n ","\n }\n\n .lt-reach-force-safari-v-scrollbar {\n ","\n }\n }\n"])),(function(e){return e.theme.textColors.default}),CK(!0),CK()),DK=Yq(["browser-version-"+sg,"browser-name-"+og],"lt-reach");!function(e){e[e.asc=1]="asc",e[e.desc=-1]="desc"}(PK||(PK={}));var AK="Language",IK="Locale";function LK(){var e=bS();return i.useMemo((function(){return{getLocalLanguage:function(){return bK(this,void 0,void 0,(function(){return OK(this,(function(t){switch(t.label){case 0:return[4,e.getString(AK)];case 1:return[2,dw(t.sent())]}}))}))},saveLanguageToLocalStorage:function(t){return bK(this,void 0,void 0,(function(){return OK(this,(function(n){switch(n.label){case 0:return[4,e.setString(AK,t)];case 1:return n.sent(),[2]}}))}))},saveLocaleToLocalStorage:function(t){return bK(this,void 0,void 0,(function(){return OK(this,(function(n){switch(n.label){case 0:return[4,e.setString(IK,t)];case 1:return n.sent(),[2]}}))}))},getLocaleFromLocalStorage:function(){return bK(this,void 0,void 0,(function(){return OK(this,(function(t){return[2,e.getString(IK)]}))}))}}}),[e])}var zK="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},$K=function(e){return e&&e.Math==Math&&e},RK=$K("object"==typeof globalThis&&globalThis)||$K("object"==typeof window&&window)||$K("object"==typeof self&&self)||$K("object"==typeof zK&&zK)||Function("return this")(),QK={},jK=function(e){try{return!!e()}catch(e){return!0}},MK=!jK((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),NK={},UK={}.propertyIsEnumerable,qK=Object.getOwnPropertyDescriptor,BK=qK&&!UK.call({1:2},1);NK.f=BK?function(e){var t=qK(this,e);return!!t&&t.enumerable}:UK;var GK=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},WK={}.toString,XK=function(e){return WK.call(e).slice(8,-1)},VK=XK,YK="".split,ZK=jK((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==VK(e)?YK.call(e,""):Object(e)}:Object,HK=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},KK=ZK,JK=HK,eJ=function(e){return KK(JK(e))},tJ=function(e){return"object"==typeof e?null!==e:"function"==typeof e},nJ=tJ,iJ=function(e,t){if(!nJ(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!nJ(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!nJ(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!nJ(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")},rJ={}.hasOwnProperty,aJ=function(e,t){return rJ.call(e,t)},oJ=tJ,sJ=RK.document,lJ=oJ(sJ)&&oJ(sJ.createElement),uJ=function(e){return lJ?sJ.createElement(e):{}},cJ=uJ,dJ=!MK&&!jK((function(){return 7!=Object.defineProperty(cJ("div"),"a",{get:function(){return 7}}).a})),hJ=MK,pJ=NK,fJ=GK,mJ=eJ,gJ=iJ,vJ=aJ,yJ=dJ,bJ=Object.getOwnPropertyDescriptor;QK.f=hJ?bJ:function(e,t){if(e=mJ(e),t=gJ(t,!0),yJ)try{return bJ(e,t)}catch(e){}if(vJ(e,t))return fJ(!pJ.f.call(e,t),e[t])};var OJ={},_J=tJ,wJ=function(e){if(!_J(e))throw TypeError(String(e)+" is not an object");return e},kJ=MK,xJ=dJ,SJ=wJ,PJ=iJ,EJ=Object.defineProperty;OJ.f=kJ?EJ:function(e,t,n){if(SJ(e),t=PJ(t,!0),SJ(n),xJ)try{return EJ(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var FJ=OJ,CJ=GK,TJ=MK?function(e,t,n){return FJ.f(e,t,CJ(1,n))}:function(e,t,n){return e[t]=n,e},DJ={exports:{}},AJ=RK,IJ=TJ,LJ=function(e,t){try{IJ(AJ,e,t)}catch(n){AJ[e]=t}return t},zJ=LJ,$J="__core-js_shared__",RJ=RK[$J]||zJ($J,{}),QJ=RJ,jJ=Function.toString;"function"!=typeof QJ.inspectSource&&(QJ.inspectSource=function(e){return jJ.call(e)});var MJ=QJ.inspectSource,NJ=MJ,UJ=RK.WeakMap,qJ="function"==typeof UJ&&/native code/.test(NJ(UJ)),BJ={exports:{}},GJ=RJ;(BJ.exports=function(e,t){return GJ[e]||(GJ[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"});var WJ,XJ,VJ,YJ=0,ZJ=Math.random(),HJ=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++YJ+ZJ).toString(36)},KJ=BJ.exports,JJ=HJ,e0=KJ("keys"),t0=function(e){return e0[e]||(e0[e]=JJ(e))},n0={},i0=qJ,r0=tJ,a0=TJ,o0=aJ,s0=t0,l0=n0,u0=RK.WeakMap;if(i0){var c0=new u0,d0=c0.get,h0=c0.has,p0=c0.set;WJ=function(e,t){return p0.call(c0,e,t),t},XJ=function(e){return d0.call(c0,e)||{}},VJ=function(e){return h0.call(c0,e)}}else{var f0=s0("state");l0[f0]=!0,WJ=function(e,t){return a0(e,f0,t),t},XJ=function(e){return o0(e,f0)?e[f0]:{}},VJ=function(e){return o0(e,f0)}}var m0={set:WJ,get:XJ,has:VJ,enforce:function(e){return VJ(e)?XJ(e):WJ(e,{})},getterFor:function(e){return function(t){var n;if(!r0(t)||(n=XJ(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},g0=RK,v0=TJ,y0=aJ,b0=LJ,O0=MJ,_0=m0.get,w0=m0.enforce,k0=String(String).split("String");(DJ.exports=function(e,t,n,i){var r=!!i&&!!i.unsafe,a=!!i&&!!i.enumerable,o=!!i&&!!i.noTargetGet;"function"==typeof n&&("string"!=typeof t||y0(n,"name")||v0(n,"name",t),w0(n).source=k0.join("string"==typeof t?t:"")),e!==g0?(r?!o&&e[t]&&(a=!0):delete e[t],a?e[t]=n:v0(e,t,n)):a?e[t]=n:b0(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&_0(this).source||O0(this)}));var x0=RK,S0=RK,P0=function(e){return"function"==typeof e?e:void 0},E0=function(e,t){return arguments.length<2?P0(x0[e])||P0(S0[e]):x0[e]&&x0[e][t]||S0[e]&&S0[e][t]},F0={},C0=Math.ceil,T0=Math.floor,D0=function(e){return isNaN(e=+e)?0:(e>0?T0:C0)(e)},A0=D0,I0=Math.min,L0=function(e){return e>0?I0(A0(e),9007199254740991):0},z0=D0,$0=Math.max,R0=Math.min,Q0=eJ,j0=L0,M0=function(e,t){var n=z0(e);return n<0?$0(n+t,0):R0(n,t)},N0=function(e){return function(t,n,i){var r,a=Q0(t),o=j0(a.length),s=M0(i,o);if(e&&n!=n){for(;o>s;)if((r=a[s++])!=r)return!0}else for(;o>s;s++)if((e||s in a)&&a[s]===n)return e||s||0;return!e&&-1}},U0={includes:N0(!0),indexOf:N0(!1)},q0=aJ,B0=eJ,G0=U0.indexOf,W0=n0,X0=function(e,t){var n,i=B0(e),r=0,a=[];for(n in i)!q0(W0,n)&&q0(i,n)&&a.push(n);for(;t.length>r;)q0(i,n=t[r++])&&(~G0(a,n)||a.push(n));return a},V0=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Y0=X0,Z0=V0.concat("length","prototype");F0.f=Object.getOwnPropertyNames||function(e){return Y0(e,Z0)};var H0={};H0.f=Object.getOwnPropertySymbols;var K0=F0,J0=H0,e1=wJ,t1=E0("Reflect","ownKeys")||function(e){var t=K0.f(e1(e)),n=J0.f;return n?t.concat(n(e)):t},n1=aJ,i1=t1,r1=QK,a1=OJ,o1=jK,s1=/#|\.prototype\./,l1=function(e,t){var n=c1[u1(e)];return n==h1||n!=d1&&("function"==typeof t?o1(t):!!t)},u1=l1.normalize=function(e){return String(e).replace(s1,".").toLowerCase()},c1=l1.data={},d1=l1.NATIVE="N",h1=l1.POLYFILL="P",p1=l1,f1=RK,m1=QK.f,g1=TJ,v1=DJ.exports,y1=LJ,b1=function(e,t){for(var n=i1(t),i=a1.f,r=r1.f,a=0;a<n.length;a++){var o=n[a];n1(e,o)||i(e,o,r(t,o))}},O1=p1,_1=function(e,t){var n,i,r,a,o,s=e.target,l=e.global,u=e.stat;if(n=l?f1:u?f1[s]||y1(s,{}):(f1[s]||{}).prototype)for(i in t){if(a=t[i],r=e.noTargetGet?(o=m1(n,i))&&o.value:n[i],!O1(l?i:s+(u?".":"#")+i,e.forced)&&void 0!==r){if(typeof a==typeof r)continue;b1(a,r)}(e.sham||r&&r.sham)&&g1(a,"sham",!0),v1(n,i,a,e)}},w1=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},k1=HK,x1=function(e){return Object(k1(e))},S1=w1,P1=x1,E1=ZK,F1=L0,C1=function(e){return function(t,n,i,r){S1(n);var a=P1(t),o=E1(a),s=F1(a.length),l=e?s-1:0,u=e?-1:1;if(i<2)for(;;){if(l in o){r=o[l],l+=u;break}if(l+=u,e?l<0:s<=l)throw TypeError("Reduce of empty array with no initial value")}for(;e?l>=0:s>l;l+=u)l in o&&(r=n(r,o[l],l,a));return r}},T1={left:C1(!1),right:C1(!0)},D1=jK,A1=function(e,t){var n=[][e];return!!n&&D1((function(){n.call(null,t||function(){throw 1},1)}))},I1=MK,L1=jK,z1=aJ,$1=Object.defineProperty,R1={},Q1=function(e){throw e},j1=_1,M1=T1.left,N1=function(e,t){if(z1(R1,e))return R1[e];t||(t={});var n=[][e],i=!!z1(t,"ACCESSORS")&&t.ACCESSORS,r=z1(t,0)?t[0]:Q1,a=z1(t,1)?t[1]:void 0;return R1[e]=!!n&&!L1((function(){if(i&&!I1)return!0;var e={length:-1};i?$1(e,1,{enumerable:!0,get:Q1}):e[1]=1,n.call(e,r,a)}))},U1=A1("reduce"),q1=N1("reduce",{1:0});j1({target:"Array",proto:!0,forced:!U1||!q1},{reduce:function(e){return M1(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}});var B1=RK.Promise,G1=DJ.exports,W1=jK,X1=!!Object.getOwnPropertySymbols&&!W1((function(){return!String(Symbol())})),V1=X1&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Y1=RK,Z1=BJ.exports,H1=aJ,K1=HJ,J1=X1,e2=V1,t2=Z1("wks"),n2=Y1.Symbol,i2=e2?n2:n2&&n2.withoutSetter||K1,r2=function(e){return H1(t2,e)||(J1&&H1(n2,e)?t2[e]=n2[e]:t2[e]=i2("Symbol."+e)),t2[e]},a2=OJ.f,o2=aJ,s2=r2("toStringTag"),l2=function(e,t,n){e&&!o2(e=n?e:e.prototype,s2)&&a2(e,s2,{configurable:!0,value:t})},u2=E0,c2=OJ,d2=MK,h2=r2("species"),p2=function(e){var t=u2(e),n=c2.f;d2&&t&&!t[h2]&&n(t,h2,{configurable:!0,get:function(){return this}})},f2={exports:{}},m2={},g2=m2,v2=r2("iterator"),y2=Array.prototype,b2=w1,O2=function(e,t,n){if(b2(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}},_2={};_2[r2("toStringTag")]="z";var w2="[object z]"===String(_2),k2=XK,x2=r2("toStringTag"),S2="Arguments"==k2(function(){return arguments}()),P2=w2?k2:function(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),x2))?n:S2?k2(t):"Object"==(i=k2(t))&&"function"==typeof t.callee?"Arguments":i},E2=P2,F2=m2,C2=r2("iterator"),T2=wJ,D2=wJ,A2=function(e){return void 0!==e&&(g2.Array===e||y2[v2]===e)},I2=L0,L2=O2,z2=function(e){if(null!=e)return e[C2]||e["@@iterator"]||F2[E2(e)]},$2=function(e,t,n,i){try{return i?t(T2(n)[0],n[1]):t(n)}catch(t){var r=e.return;throw void 0!==r&&T2(r.call(e)),t}},R2=function(e,t){this.stopped=e,this.result=t},Q2=f2.exports=function(e,t,n,i,r){var a,o,s,l,u,c,d,h=L2(t,n,i?2:1);if(r)a=e;else{if("function"!=typeof(o=z2(e)))throw TypeError("Target is not iterable");if(A2(o)){for(s=0,l=I2(e.length);l>s;s++)if((u=i?h(D2(d=e[s])[0],d[1]):h(e[s]))&&u instanceof R2)return u;return new R2(!1)}a=o.call(e)}for(c=a.next;!(d=c.call(a)).done;)if("object"==typeof(u=$2(a,h,d.value,i))&&u&&u instanceof R2)return u;return new R2(!1)};Q2.stop=function(e){return new R2(!0,e)};var j2=r2("iterator"),M2=!1;try{var N2=0,U2={next:function(){return{done:!!N2++}},return:function(){M2=!0}};U2[j2]=function(){return this},Array.from(U2,(function(){throw 2}))}catch(e){}var q2,B2,G2,W2=wJ,X2=w1,V2=r2("species"),Y2=function(e,t){var n,i=W2(e).constructor;return void 0===i||null==(n=W2(i)[V2])?t:X2(n)},Z2=E0("document","documentElement"),H2=E0("navigator","userAgent")||"",K2=/(iphone|ipod|ipad).*applewebkit/i.test(H2),J2=RK,e3=jK,t3=XK,n3=O2,i3=Z2,r3=uJ,a3=K2,o3=J2.location,s3=J2.setImmediate,l3=J2.clearImmediate,u3=J2.process,c3=J2.MessageChannel,d3=J2.Dispatch,h3=0,p3={},f3="onreadystatechange",m3=function(e){if(p3.hasOwnProperty(e)){var t=p3[e];delete p3[e],t()}},g3=function(e){return function(){m3(e)}},v3=function(e){m3(e.data)},y3=function(e){J2.postMessage(e+"",o3.protocol+"//"+o3.host)};s3&&l3||(s3=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return p3[++h3]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},q2(h3),h3},l3=function(e){delete p3[e]},"process"==t3(u3)?q2=function(e){u3.nextTick(g3(e))}:d3&&d3.now?q2=function(e){d3.now(g3(e))}:c3&&!a3?(G2=(B2=new c3).port2,B2.port1.onmessage=v3,q2=n3(G2.postMessage,G2,1)):!J2.addEventListener||"function"!=typeof postMessage||J2.importScripts||e3(y3)||"file:"===o3.protocol?q2=f3 in r3("script")?function(e){i3.appendChild(r3("script")).onreadystatechange=function(){i3.removeChild(this),m3(e)}}:function(e){setTimeout(g3(e),0)}:(q2=y3,J2.addEventListener("message",v3,!1)));var b3,O3,_3,w3,k3,x3,S3,P3,E3={set:s3,clear:l3},F3=RK,C3=QK.f,T3=XK,D3=E3.set,A3=K2,I3=F3.MutationObserver||F3.WebKitMutationObserver,L3=F3.process,z3=F3.Promise,$3="process"==T3(L3),R3=C3(F3,"queueMicrotask"),Q3=R3&&R3.value;Q3||(b3=function(){var e,t;for($3&&(e=L3.domain)&&e.exit();O3;){t=O3.fn,O3=O3.next;try{t()}catch(e){throw O3?w3():_3=void 0,e}}_3=void 0,e&&e.enter()},$3?w3=function(){L3.nextTick(b3)}:I3&&!A3?(k3=!0,x3=document.createTextNode(""),new I3(b3).observe(x3,{characterData:!0}),w3=function(){x3.data=k3=!k3}):z3&&z3.resolve?(S3=z3.resolve(void 0),P3=S3.then,w3=function(){P3.call(S3,b3)}):w3=function(){D3.call(F3,b3)});var j3=Q3||function(e){var t={fn:e,next:void 0};_3&&(_3.next=t),O3||(O3=t,w3()),_3=t},M3={},N3=w1,U3=function(e){var t,n;this.promise=new e((function(e,i){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=i})),this.resolve=N3(t),this.reject=N3(n)};M3.f=function(e){return new U3(e)};var q3,B3,G3=wJ,W3=tJ,X3=M3,V3=RK,Y3=H2,Z3=RK.process,H3=Z3&&Z3.versions,K3=H3&&H3.v8;K3?B3=(q3=K3.split("."))[0]+q3[1]:Y3&&(!(q3=Y3.match(/Edge\/(\d+)/))||q3[1]>=74)&&(q3=Y3.match(/Chrome\/(\d+)/))&&(B3=q3[1]);var J3,e4,t4,n4,i4=B3&&+B3,r4=_1,a4=RK,o4=E0,s4=B1,l4=DJ.exports,u4=function(e,t,n){for(var i in t)G1(e,i,t[i],n);return e},c4=l2,d4=p2,h4=tJ,p4=w1,f4=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},m4=XK,g4=MJ,v4=f2.exports,y4=function(e,t){if(!t&&!M2)return!1;var n=!1;try{var i={};i[j2]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n},b4=Y2,O4=E3.set,_4=j3,w4=function(e,t){if(G3(e),W3(t)&&t.constructor===e)return t;var n=X3.f(e);return(0,n.resolve)(t),n.promise},k4=function(e,t){var n=V3.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))},x4=M3,S4=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},P4=m0,E4=p1,F4=i4,C4=r2("species"),T4="Promise",D4=P4.get,A4=P4.set,I4=P4.getterFor(T4),L4=s4,z4=a4.TypeError,$4=a4.document,R4=a4.process,Q4=o4("fetch"),j4=x4.f,M4=j4,N4="process"==m4(R4),U4=!!($4&&$4.createEvent&&a4.dispatchEvent),q4="unhandledrejection",B4=E4(T4,(function(){if(!(g4(L4)!==String(L4))){if(66===F4)return!0;if(!N4&&"function"!=typeof PromiseRejectionEvent)return!0}if(F4>=51&&/native code/.test(L4))return!1;var e=L4.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[C4]=t,!(e.then((function(){}))instanceof t)})),G4=B4||!y4((function(e){L4.all(e).catch((function(){}))})),W4=function(e){var t;return!(!h4(e)||"function"!=typeof(t=e.then))&&t},X4=function(e,t,n){if(!t.notified){t.notified=!0;var i=t.reactions;_4((function(){for(var r=t.value,a=1==t.state,o=0;i.length>o;){var s,l,u,c=i[o++],d=a?c.ok:c.fail,h=c.resolve,p=c.reject,f=c.domain;try{d?(a||(2===t.rejection&&H4(e,t),t.rejection=1),!0===d?s=r:(f&&f.enter(),s=d(r),f&&(f.exit(),u=!0)),s===c.promise?p(z4("Promise-chain cycle")):(l=W4(s))?l.call(s,h,p):h(s)):p(r)}catch(e){f&&!u&&f.exit(),p(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&Y4(e,t)}))}},V4=function(e,t,n){var i,r;U4?((i=$4.createEvent("Event")).promise=t,i.reason=n,i.initEvent(e,!1,!0),a4.dispatchEvent(i)):i={promise:t,reason:n},(r=a4["on"+e])?r(i):e===q4&&k4("Unhandled promise rejection",n)},Y4=function(e,t){O4.call(a4,(function(){var n,i=t.value;if(Z4(t)&&(n=S4((function(){N4?R4.emit("unhandledRejection",i,e):V4(q4,e,i)})),t.rejection=N4||Z4(t)?2:1,n.error))throw n.value}))},Z4=function(e){return 1!==e.rejection&&!e.parent},H4=function(e,t){O4.call(a4,(function(){N4?R4.emit("rejectionHandled",e):V4("rejectionhandled",e,t.value)}))},K4=function(e,t,n,i){return function(r){e(t,n,r,i)}},J4=function(e,t,n,i){t.done||(t.done=!0,i&&(t=i),t.value=n,t.state=2,X4(e,t,!0))},e6=function(e,t,n,i){if(!t.done){t.done=!0,i&&(t=i);try{if(e===n)throw z4("Promise can't be resolved itself");var r=W4(n);r?_4((function(){var i={done:!1};try{r.call(n,K4(e6,e,i,t),K4(J4,e,i,t))}catch(n){J4(e,i,n,t)}})):(t.value=n,t.state=1,X4(e,t,!1))}catch(n){J4(e,{done:!1},n,t)}}};function t6(e){switch(null==e?void 0:e.toLowerCase()){case"da":return Promise.resolve().then((function(){return AFi}));case"de":return Promise.resolve().then((function(){return IFi}));case"fr":return Promise.resolve().then((function(){return LFi}));case"es":return Promise.resolve().then((function(){return zFi}));case"zh-tw":return Promise.resolve().then((function(){return $Fi}));case"zh-cn":return Promise.resolve().then((function(){return RFi}));case"ja":return Promise.resolve().then((function(){return QFi}));case"tr":return Promise.resolve().then((function(){return jFi}));case"it":return Promise.resolve().then((function(){return MFi}));default:return Promise.resolve().then((function(){return NFi}))}}function n6(e){switch(null==e?void 0:e.toLowerCase()){case"ar-dz":return Promise.resolve().then((function(){return BFi}));case"ar-kw":return Promise.resolve().then((function(){return WFi}));case"ar-ly":return Promise.resolve().then((function(){return VFi}));case"ar-ma":return Promise.resolve().then((function(){return ZFi}));case"ar-sa":return Promise.resolve().then((function(){return KFi}));case"ar-tn":return Promise.resolve().then((function(){return eCi}));case"ar":return Promise.resolve().then((function(){return nCi}));case"bg":return Promise.resolve().then((function(){return rCi}));case"bn":return Promise.resolve().then((function(){return oCi}));case"ca":return Promise.resolve().then((function(){return lCi}));case"cs":return Promise.resolve().then((function(){return cCi}));case"da":return Promise.resolve().then((function(){return hCi}));case"de-at":return Promise.resolve().then((function(){return fCi}));case"de-ch":return Promise.resolve().then((function(){return gCi}));case"de":return Promise.resolve().then((function(){return yCi}));case"el":return Promise.resolve().then((function(){return OCi}));case"en-au":return Promise.resolve().then((function(){return wCi}));case"en-ca":return Promise.resolve().then((function(){return xCi}));case"en-gb":return Promise.resolve().then((function(){return PCi}));case"en-ie":return Promise.resolve().then((function(){return FCi}));case"en-il":return Promise.resolve().then((function(){return TCi}));case"en-nz":return Promise.resolve().then((function(){return ACi}));case"en-sg":return Promise.resolve().then((function(){return LCi}));case"es-do":return Promise.resolve().then((function(){return $Ci}));case"es-us":return Promise.resolve().then((function(){return QCi}));case"es":return Promise.resolve().then((function(){return MCi}));case"et":return Promise.resolve().then((function(){return UCi}));case"fa":return Promise.resolve().then((function(){return BCi}));case"fi":return Promise.resolve().then((function(){return WCi}));case"fr-ca":return Promise.resolve().then((function(){return VCi}));case"fr-ch":return Promise.resolve().then((function(){return ZCi}));case"fr":return Promise.resolve().then((function(){return KCi}));case"gu":return Promise.resolve().then((function(){return eTi}));case"he":return Promise.resolve().then((function(){return nTi}));case"hi":return Promise.resolve().then((function(){return rTi}));case"hr":return Promise.resolve().then((function(){return oTi}));case"hu":return Promise.resolve().then((function(){return lTi}));case"id":return Promise.resolve().then((function(){return cTi}));case"it-ch":return Promise.resolve().then((function(){return hTi}));case"it":return Promise.resolve().then((function(){return fTi}));case"ja":return Promise.resolve().then((function(){return gTi}));case"kn":return Promise.resolve().then((function(){return yTi}));case"ko":return Promise.resolve().then((function(){return OTi}));case"lt":return Promise.resolve().then((function(){return wTi}));case"lv":return Promise.resolve().then((function(){return xTi}));case"ml":return Promise.resolve().then((function(){return PTi}));case"mr":return Promise.resolve().then((function(){return FTi}));case"ms-my":return Promise.resolve().then((function(){return TTi}));case"ms":return Promise.resolve().then((function(){return ATi}));case"nb":return Promise.resolve().then((function(){return LTi}));case"nl-be":return Promise.resolve().then((function(){return $Ti}));case"nl":return Promise.resolve().then((function(){return QTi}));case"pl":return Promise.resolve().then((function(){return MTi}));case"pt-br":return Promise.resolve().then((function(){return UTi}));case"pt":return Promise.resolve().then((function(){return BTi}));case"ro":return Promise.resolve().then((function(){return WTi}));case"ru":return Promise.resolve().then((function(){return VTi}));case"sk":return Promise.resolve().then((function(){return ZTi}));case"sl":return Promise.resolve().then((function(){return KTi}));case"sr-cyrl":return Promise.resolve().then((function(){return eDi}));case"sr":return Promise.resolve().then((function(){return nDi}));case"sv":return Promise.resolve().then((function(){return rDi}));case"sw":return Promise.resolve().then((function(){return oDi}));case"ta":return Promise.resolve().then((function(){return lDi}));case"te":return Promise.resolve().then((function(){return cDi}));case"th":return Promise.resolve().then((function(){return hDi}));case"tr":return Promise.resolve().then((function(){return fDi}));case"uk":return Promise.resolve().then((function(){return gDi}));case"vi":return Promise.resolve().then((function(){return yDi}));case"zh-cn":return Promise.resolve().then((function(){return ODi}));case"zh-hk":return Promise.resolve().then((function(){return wDi}));case"zh-tw":return Promise.resolve().then((function(){return xDi}));default:return Promise.resolve()}}B4&&(L4=function(e){f4(this,L4,T4),p4(e),J3.call(this);var t=D4(this);try{e(K4(e6,this,t),K4(J4,this,t))}catch(e){J4(this,t,e)}},(J3=function(e){A4(this,{type:T4,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=u4(L4.prototype,{then:function(e,t){var n=I4(this),i=j4(b4(this,L4));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=N4?R4.domain:void 0,n.parent=!0,n.reactions.push(i),0!=n.state&&X4(this,n,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),e4=function(){var e=new J3,t=D4(e);this.promise=e,this.resolve=K4(e6,e,t),this.reject=K4(J4,e,t)},x4.f=j4=function(e){return e===L4||e===t4?new e4(e):M4(e)},"function"==typeof s4&&(n4=s4.prototype.then,l4(s4.prototype,"then",(function(e,t){var n=this;return new L4((function(e,t){n4.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof Q4&&r4({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return w4(L4,Q4.apply(a4,arguments))}}))),r4({global:!0,wrap:!0,forced:B4},{Promise:L4}),c4(L4,T4,!1),d4(T4),t4=o4(T4),r4({target:T4,stat:!0,forced:B4},{reject:function(e){var t=j4(this);return t.reject.call(void 0,e),t.promise}}),r4({target:T4,stat:!0,forced:B4},{resolve:function(e){return w4(this,e)}}),r4({target:T4,stat:!0,forced:G4},{all:function(e){var t=this,n=j4(t),i=n.resolve,r=n.reject,a=S4((function(){var n=p4(t.resolve),a=[],o=0,s=1;v4(e,(function(e){var l=o++,u=!1;a.push(void 0),s++,n.call(t,e).then((function(e){u||(u=!0,a[l]=e,--s||i(a))}),r)})),--s||i(a)}));return a.error&&r(a.value),n.promise},race:function(e){var t=this,n=j4(t),i=n.reject,r=S4((function(){var r=p4(t.resolve);v4(e,(function(e){r.call(t,e).then(n.resolve,i)}))}));return r.error&&i(r.value),n.promise}});var i6=function(e){var n,r=e.children,a=e.language,o=i.useState(null),s=o[0],l=o[1],u=LK(),c=u.getLocalLanguage,d=u.getLocaleFromLocalStorage;return i.useEffect((function(){(function(){return bK(this,void 0,void 0,(function(){var e,t,n;return OK(this,(function(i){switch(i.label){case 0:return[4,d()];case 1:return e=i.sent(),t=h,null==a?[3,2]:(n=a,[3,4]);case 2:return[4,c()];case 3:n=i.sent(),i.label=4;case 4:return[4,t.apply(void 0,[n,e])];case 5:return i.sent(),[2]}}))}))})().then((function(){return null}),ng.error)}),[]),(null===(n=null==s?void 0:s.resources)||void 0===n?void 0:n[s.language])?t.jsx(SS.Provider,vK({value:{language:s.language,changeLocale:function(e){return function(e,t){return bK(this,void 0,void 0,(function(){return OK(this,(function(n){switch(n.label){case 0:return[4,r6(e||t)];case 1:return n.sent(),l((function(t){return vK(vK({},t),{locale:e})})),[2]}}))}))}(e,s.language)},changeLanguage:function(e){return bK(this,void 0,void 0,(function(){var t;return OK(this,(function(n){switch(n.label){case 0:return[4,p(e=null==e?void 0:e.toLocaleLowerCase())];case 1:return t=n.sent(),s.locale?[3,3]:[4,r6(e)];case 2:n.sent(),n.label=3;case 3:return l((function(n){return vK(vK({},n),{language:e,resources:t})})),[2]}}))}))},changeSettings:h,addResources:function(e){l((function(t){var n=Object.keys(e).reduce((function(n,i){var r;return(r={})[i]=vK(vK(vK({},n),t.resources[i]),e[i]),r}),{});return vK(vK({},t),{resources:vK(vK({},t.resources),n)})}))}}},{children:t.jsx(tS,vK({locale:s.locale||s.language,messages:s.resources[s.language]},{children:t.jsx(xS,{children:r},void 0)}),void 0)}),void 0):null;function h(e,t){return bK(this,void 0,void 0,(function(){var n;return OK(this,(function(i){switch(i.label){case 0:return e=null==e?void 0:e.toLocaleLowerCase(),(null==s?void 0:s.language)===e&&(null==s?void 0:s.locale)===t?[2]:[4,p(e)];case 1:return n=i.sent(),[4,r6(t||e)];case 2:return i.sent(),l({language:e,locale:t,resources:n}),[2]}}))}))}function p(e){return bK(this,void 0,void 0,(function(){var t;return OK(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,f(e)];case 1:return[2,n.sent()];case 2:return t=n.sent(),ng.error(t),[2,null];case 3:return[2]}}))}))}function f(e){var t;return bK(this,void 0,void 0,(function(){var n,i,r;return OK(this,(function(a){switch(a.label){case 0:if(null==e)return[2,null];if(null===(t=null==s?void 0:s.resources)||void 0===t?void 0:t[e])return[2,s.resources];a.label=1;case 1:return a.trys.push([1,3,,4]),e=e.toLowerCase(),n=m,i=[e],[4,t6(e)];case 2:return[2,n.apply(void 0,i.concat([a.sent().default]))];case 3:return r=a.sent(),ng.error(r),[2,{}];case 4:return[2]}}))}))}function m(e,t){var n,i,r,a=window.__localeResourcesInterceptor||{};return vK(vK(vK({},null!==(r=null==s?void 0:s.resources)&&void 0!==r?r:{}),((n={})[e]=t,n)),a[e]&&((i={})[e]=a[e],i))}};function r6(e){return bK(this,void 0,void 0,(function(){var t;return OK(this,(function(n){switch(n.label){case 0:if(!e)return[2];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,n6(e)];case 2:return n.sent(),rs.locale(e),[3,4];case 3:return t=n.sent(),ng.error(t),[3,4];case 4:return[2]}}))}))}function a6(e){switch(null==e?void 0:e.toLowerCase()){case"ar-dz":case"ar-kw":case"ar-ly":case"ar-tn":case"ar":return Promise.resolve().then((function(){return ADi}));case"ar-ma":return Promise.resolve().then((function(){return MDi}));case"ar-sa":return Promise.resolve().then((function(){return VDi}));case"bg":return Promise.resolve().then((function(){return sAi}));case"bn":return Promise.resolve().then((function(){return vAi}));case"ca":return Promise.resolve().then((function(){return EAi}));case"cs":return Promise.resolve().then((function(){return $Ai}));case"da":return Promise.resolve().then((function(){return BAi}));case"de":case"de-ch":case"de-at":return Promise.resolve().then((function(){return tIi}));case"el":return Promise.resolve().then((function(){return uIi}));case"en-au":return Promise.resolve().then((function(){return dIi}));case"en-ca":return Promise.resolve().then((function(){return mIi}));case"en-gb":case"en-il":case"en-ie":case"en-sg":return Promise.resolve().then((function(){return vIi}));case"en-nz":return Promise.resolve().then((function(){return bIi}));case"es":case"es-us":case"es-do":return Promise.resolve().then((function(){return FIi}));case"et":return Promise.resolve().then((function(){return QIi}));case"fa":return Promise.resolve().then((function(){return WIi}));case"fi":return Promise.resolve().then((function(){return cLi}));case"fr-ca":return Promise.resolve().then((function(){return OLi}));case"fr-ch":return Promise.resolve().then((function(){return CLi}));case"fr":return Promise.resolve().then((function(){return DLi}));case"gu":return Promise.resolve().then((function(){return jLi}));case"he":return Promise.resolve().then((function(){return YLi}));case"hi":return Promise.resolve().then((function(){return azi}));case"hr":return Promise.resolve().then((function(){return fzi}));case"hu":return Promise.resolve().then((function(){return Pzi}));case"id":return Promise.resolve().then((function(){return zzi}));case"it":case"it-ch":return Promise.resolve().then((function(){return Gzi}));case"ja":return Promise.resolve().then((function(){return e$i}));case"kn":return Promise.resolve().then((function(){return u$i}));case"ko":return Promise.resolve().then((function(){return y$i}));case"lt":return Promise.resolve().then((function(){return A$i}));case"lv":return Promise.resolve().then((function(){return q$i}));case"ms":case"ms-my":return Promise.resolve().then((function(){return K$i}));case"nb":return Promise.resolve().then((function(){return oRi}));case"nl-be":return Promise.resolve().then((function(){return fRi}));case"nl":return Promise.resolve().then((function(){return wRi}));case"pl":return Promise.resolve().then((function(){return QRi}));case"pt-br":return Promise.resolve().then((function(){return XRi}));case"pt":return Promise.resolve().then((function(){return tQi}));case"ro":return Promise.resolve().then((function(){return cQi}));case"ru":return Promise.resolve().then((function(){return wQi}));case"sk":return Promise.resolve().then((function(){return zQi}));case"sl":return Promise.resolve().then((function(){return WQi}));case"sr-cyrl":return Promise.resolve().then((function(){return tji}));case"sr":return Promise.resolve().then((function(){return cji}));case"sv":return Promise.resolve().then((function(){return Oji}));case"ta":return Promise.resolve().then((function(){return Cji}));case"te":return Promise.resolve().then((function(){return Rji}));case"th":return Promise.resolve().then((function(){return Gji}));case"tr":return Promise.resolve().then((function(){return Jji}));case"uk":return Promise.resolve().then((function(){return dMi}));case"vi":return Promise.resolve().then((function(){return OMi}));case"zh-cn":case"zh-hk":return Promise.resolve().then((function(){return TMi}));case"zh-tw":return Promise.resolve().then((function(){return jMi}));default:return Promise.resolve().then((function(){return MMi}))}}var o6,s6,l6,u6,c6,d6,h6,p6,f6,m6,g6,v6,y6,b6,O6=["news","comments","multiLanguage","keywords","pushNotifications","mailNotification","teamsNotifications","themes","webHooks","reporting","likes","confirmation","customLogo","customName","avatars","manualChannelSubscription","bannerImages","bannerVideos","editorInlineFiles","editorInlineImages","editorInlineGallery","editorInlineVideos","editorInlineMarkup","editorInlineTable","editorInlineContact","expiryDate","onBehalfOf","editorConversations","targetAudienceRules","unreadTracking","editorInlineQuotes","selfRegistration","people","posts","newsAlerts","pages","inPageNavigation","automaticTranslation","polls","events","teams","userInvitation","languageDetection","postKeywords","hyperfish","canva","allowUserImpersonation","directoryGroupMemberCaching","inAppBrowser","externalNews","termsAndConditions","chat","recurringEvents","publicAccess","allowUserPropertiesUpdate","showMyNews","allowToUnpinMandatoryChannels","allowToReorderMandatoryChannels","useDirectoryUserPropertiesForTargetAudience","giphy","replyToComments","enableUserflow","reportingPreview","preventContentRedirectForBrandedApps","browserPushNotifications","contentHeadline","popularNewsReport","notificationFeed","unsplash","externalPages","showLikers","pageDocuments","unifiedPostView","stream","showAllNews","customFavicon","editorPreview","editorAutomaticTranslation","editorYouTubeVideos","editorVimeoVideos","editorKalturaVideos","editorMicrosoftVideos","searchEverywhere","zendesk","gettyImages","sharedItems","userLocationLookup","deleteUserAccount","inviteUsersFromCsv","editorApprovalNotifications","analytics","breakPageGroupInheritance"],_6=function(){},w6=i.createContext(null);function k6(){return i.useContext(w6)}function x6(){var e=i.useContext(w6);return null==e?void 0:e.user}function S6(){var e=x6();return function(e){var t,n=new _6;if(!e)return n;for(var i=0;i<O6.length;i++){var r=O6[i];e.featureMask?n[r]="1"===e.featureMask[i]:n[r]=!(null===(t=e.disabledFeatures)||void 0===t?void 0:t[r])}return n}(null==e?void 0:e.subscription)}!function(e){e[e.User=1]="User",e[e.Group=2]="Group"}(o6||(o6={})),function(e){e[e.AnyGroupOrAnyProperty=0]="AnyGroupOrAnyProperty",e[e.AnyGroupAndAnyProperty=1]="AnyGroupAndAnyProperty"}(s6||(s6={})),function(e){e.large="large",e.small="small"}(l6||(l6={})),function(e){e[e.Success=1]="Success",e[e.InvalidHash=2]="InvalidHash",e[e.OneDirectoryLimit=3]="OneDirectoryLimit",e[e.CurrentTenantAlreadyLinked=4]="CurrentTenantAlreadyLinked"}(u6||(u6={})),function(e){e.global="Global",e.page="Page",e.eventEditorFeedbackSection="EventEditorFeedbackSection",e.eventDetailViewSection="EventDetailViewSection",e.itemEditor="ItemEditor"}(c6||(c6={})),function(e){e[e.Unknown=0]="Unknown",e[e.Text=1]="Text",e[e.MultilineText=2]="MultilineText"}(d6||(d6={})),function(e){e[e.Unknown=0]="Unknown",e[e.AdminOnly=1]="AdminOnly",e[e.UserEditable=2]="UserEditable",e[e.Hidden=3]="Hidden"}(h6||(h6={})),function(e){e.Admin="Admin",e.Editor="Editor",e.Author="Author",e.Reader="Reader",e.LimitedReader="LimitedReader",e.None="None"}(p6||(p6={})),function(e){e[e.None=0]="None",e[e.LimitedReader=5]="LimitedReader",e[e.Reader=10]="Reader",e[e.Author=20]="Author",e[e.Editor=30]="Editor",e[e.Admin=40]="Admin"}(f6||(f6={})),function(e){e[e.Success=1]="Success",e[e.InvalidHash=2]="InvalidHash",e[e.InvalidEmail=3]="InvalidEmail",e[e.NotPending=4]="NotPending"}(m6||(m6={})),function(e){e[e.Success=1]="Success",e[e.InvalidHash=2]="InvalidHash",e[e.InvalidEmail=3]="InvalidEmail",e[e.NewUserCannotBeTemporary=6]="NewUserCannotBeTemporary",e[e.NotAuthenticated=7]="NotAuthenticated",e[e.GenericError=8]="GenericError"}(g6||(g6={})),function(e){e[e.None=0]="None",e[e.MobilePush=1]="MobilePush",e[e.Email=2]="Email",e[e.Teams=4]="Teams",e[e.BrowserPush=8]="BrowserPush"}(v6||(v6={})),function(e){e[e.Unknown=0]="Unknown",e[e.Success=1]="Success",e[e.ActiveUserExists=2]="ActiveUserExists",e[e.AlreadyInvited=3]="AlreadyInvited",e[e.ActiveUserExistsDifferentEmail=4]="ActiveUserExistsDifferentEmail"}(y6||(y6={})),function(e){e[e.Unknown=0]="Unknown",e[e.Success=1]="Success",e[e.ActiveUserExists=2]="ActiveUserExists",e[e.AlreadyRegistered=3]="AlreadyRegistered",e[e.InvitedUserExists=4]="InvitedUserExists"}(b6||(b6={}));var P6=tJ,E6=XK,F6=r2("match"),C6=function(e){var t;return P6(e)&&(void 0!==(t=e[F6])?!!t:"RegExp"==E6(e))},T6=C6,D6=function(e){if(T6(e))throw TypeError("The method doesn't accept regular expressions");return e},A6=r2("match"),I6=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[A6]=!1,"/./"[e](t)}catch(e){}}return!1},L6=D6,z6=HK;_1({target:"String",proto:!0,forced:!I6("includes")},{includes:function(e){return!!~String(z6(this)).indexOf(L6(e),arguments.length>1?arguments[1]:void 0)}});var $6=_1,R6=QK.f,Q6=L0,j6=D6,M6=HK,N6=I6,U6="".endsWith,q6=Math.min,B6=N6("endsWith"),G6=!B6&&!!function(){var e=R6(String.prototype,"endsWith");return e&&!e.writable}();function W6(e,t,n){var i=n,r=Array.isArray(n)?n:(null==i?void 0:i.groupIds)||[];return!!(t&&e&&r&&r.length)&&(!!t.isSubscriptionOwner||function(e,t,n){var i=t.groups.filter((function(e){return!n||n.includes(e.id)}));if(!i.length)return!1;return i.some((function(t){return t.role.roleValue>=e}))}(e,t,r))}function X6(e,t,n){var i=n,r=Array.isArray(n)?n:(null==i?void 0:i.groupIds)||[];return!!(t&&e&&r&&r.length)&&(!!t.isSubscriptionOwner||function(e,t,n){var i=t.groups.filter((function(e){return!n||n.includes(e.id)}));if(!i.length||n&&n.length!==i.length)return!1;return i.every((function(t){return t.role.roleValue>=e}))}(e,t,r))}function V6(e,t,n){return n||(n=function(){return!0}),t.groups.filter((function(t){return t.role.roleValue>=e&&n(t)}))}function Y6(e,t){var n=t,i=Array.isArray(t)?t:(null==n?void 0:n.groupIds)||[];if(!e||!(null==i?void 0:i.length))return f6.None;if(e.isSubscriptionOwner)return f6.Admin;var r=e.groups.filter((function(e){return i.includes(e.id)}));return r.length!==i.length?f6.None:r.reduce((function(e,t){return t.role.roleValue<e?t.role.roleValue:e}),f6.Admin)}function Z6(e){return!!e&&e.endsWith("@hidden-email.reach.livetiles.io")}$6({target:"String",proto:!0,forced:!G6&&!B6},{endsWith:function(e){var t=String(M6(this));j6(e);var n=arguments.length>1?arguments[1]:void 0,i=Q6(t.length),r=void 0===n?i:q6(Q6(n),i),a=String(e);return U6?U6.call(t,a,r):t.slice(r-a.length,r)===a}});var H6,K6,J6,e5,t5,n5,i5,r5,a5,o5,s5,l5,u5,c5,d5,h5,p5={},f5={};function m5(){var e=aq();return i.useMemo((function(){return{searchAccounts:t,searchAccountsByItemId:function(e,n,i){return t({search:i,type:o6.User,includePendingInvitationUsers:!0,includePendingRegistrationUsers:!0,localOnly:!0,excludeApiUsers:!0,itemId:n,minRole:e})},getUserInfo:function(t){f5[t]||(f5[t]=e.custom("users/"+t+"/info").get().then((function(e){return e.body().data()})).catch((function(e){if(f5[t]=null,e.response&&404===e.response.statusCode)return{userPrincipalName:t};throw e})));return f5[t]},getUserInfoById:function(t){f5[t]||(f5[t]=e.custom("users/by_id/"+t+"/info").get().then((function(e){return e.body().data()})).catch((function(e){if(f5[t]=null,e.response&&404===e.response.statusCode)return{userPrincipalName:t};throw e})));return f5[t]},getUserAvatarUrl:function(t,n){p5[t]||(p5[t]=e.custom("users/"+encodeURIComponent(t)+"/avatar?"+Wm.stringify({tenantId:n})).get().then((function(e){return e.body().data()})).catch((function(e){if(e.response&&404===e.response.statusCode)return null;throw e})));return ZB(p5[t])},clearUserInfoCache:function(e){f5[e]&&delete f5[e]},clearUserAvatarCache:function(e){p5[e]&&delete p5[e]}};function t(t){var n=Wm.stringify(t);return e.all("accounts?"+n).getAll().then((function(e){return e.body(!1)}))}}),[e])}function g5(){var e=aq(),t=rq(),n=i.useContext(Nw).onRequestToken;return i.useMemo((function(){return{getCurrentUser:function(e,t){void 0===t&&(t=!0);return bK(this,void 0,void 0,(function(){var n,a;return OK(this,(function(o){switch(o.label){case 0:return e?[4,i(e,t)]:[3,2];case 1:return a=o.sent(),[3,4];case 2:return[4,r(t)];case 3:a=o.sent(),o.label=4;case 4:return function(e){e&&(e.minRoles=function(e){var t=e.groups.reduce((function(e,t){return Math.max(e,t.role.roleValue)}),0),n=e.isSubscriptionOwner;return{isSubscriptionOwner:n,isAdmin:n||t>=f6.Admin,isEditor:n||t>=f6.Editor,isAuthor:n||t>=f6.Author,isReader:n||t>=f6.Reader}}(e),e.hasDirectory=e.subscription&&e.subscription.directories&&e.subscription.directories.length>0)}(n=a),[2,n]}}))}))},getCurrentOrganization:function(){return e.custom("users/current/organization").get().then((function(e){return e.body().data()})).catch((function(e){if(e.response&&404===e.response.statusCode)return null;throw e}))},updateCurrentUserProfileProperties:function(t){return e.custom("users/current/properties").put(t)},updateCurrentUserAvatar:function(e,i){return bK(this,void 0,void 0,(function(){var r,a,o;return OK(this,(function(s){switch(s.label){case 0:return(r=new FormData).append("file",i,i.name||"image."+cG.getExtension(i.type)),[4,n()];case 1:return a=s.sent(),o={method:"PUT",body:r,headers:{authorization:"Bearer "+a,"subscription-id":e}},[2,t.fetchFromApi("/users/current/avatar",o)]}}))}))},deleteCurrentUserAvatar:function(){return bK(this,void 0,void 0,(function(){return OK(this,(function(t){return[2,e.custom("users/current/avatar").delete()]}))}))}};function i(e,n){return bK(this,void 0,void 0,(function(){var i;return OK(this,(function(r){switch(r.label){case 0:return[4,t.fetchFromApi("/users/current?"+Wm.stringify({essentialOnly:n}),{headers:{Authorization:"Bearer "+e}})];case 1:return[2,404===(i=r.sent()).status?null:i.json()]}}))}))}function r(t){return bK(this,void 0,void 0,(function(){return OK(this,(function(n){return[2,e.custom("users/current?"+Wm.stringify({essentialOnly:t})).get().then((function(e){return e.body().data()})).catch((function(e){if(e.response&&404===e.response.statusCode)return null;throw e}))]}))}))}}),[t,e,n])}function v5(e){switch(e){case d5.YouTube:return c5.YouTube;case d5.Vimeo:return c5.Vimeo;case d5.MicrosoftStream:return c5.MicrosoftStream;case d5.GenericUrl:return c5.GenericUrl;case d5.Kaltura:return c5.Kaltura;default:return null}}!function(e){e[e.Image=0]="Image",e[e.File=1]="File",e[e.YouTubeVideo=2]="YouTubeVideo",e[e.VimeoVideo=3]="VimeoVideo",e[e.News=4]="News",e[e.Event=5]="Event",e[e.Page=6]="Page",e[e.Post=7]="Post",e[e.Giphy=8]="Giphy"}(H6||(H6={})),function(e){e.Image="IMAGE",e.File="FILE",e.YouTubeVideo="YOU_TUBE_VIDEO",e.VimeoVideo="VIMEO_VIDEO",e.News="NEWS",e.Event="EVENT",e.Page="PAGE",e.Post="POST",e.Giphy="GIPHY"}(K6||(K6={})),function(e){e[e.Public=0]="Public",e[e.Editor=1]="Editor",e[e.Posts=2]="Posts"}(J6||(J6={})),e.ItemResourceTypes=void 0,(e5=e.ItemResourceTypes||(e.ItemResourceTypes={})).News="news",e5.Pages="pages",e5.Posts="posts",e5.Events="events",e5.Comments="comments",function(e){e[e.NotSet=0]="NotSet",e[e.Registered=1]="Registered",e[e.Declined=2]="Declined"}(t5||(t5={})),function(e){e[e.None=0]="None",e[e.FullSeries=1]="FullSeries",e[e.PerInstance=2]="PerInstance"}(n5||(n5={})),function(e){e[e.NotSet=0]="NotSet",e[e.Daily=1]="Daily",e[e.Weekly=2]="Weekly",e[e.Monthly=3]="Monthly",e[e.Yearly=4]="Yearly"}(i5||(i5={})),function(e){e[e.None=0]="None",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=4]="Wednesday",e[e.Thursday=8]="Thursday",e[e.Friday=16]="Friday",e[e.Saturday=32]="Saturday",e[e.Sunday=64]="Sunday"}(r5||(r5={})),function(e){e[e.Unknown=0]="Unknown",e[e.First=1]="First",e[e.Second=2]="Second",e[e.Third=3]="Third",e[e.Fourth=4]="Fourth",e[e.Last=5]="Last"}(a5||(a5={})),function(e){e[e.None=0]="None",e[e.January=1]="January",e[e.February=2]="February",e[e.March=3]="March",e[e.April=4]="April",e[e.May=5]="May",e[e.June=6]="June",e[e.July=7]="July",e[e.August=8]="August",e[e.September=9]="September",e[e.October=10]="October",e[e.November=11]="November",e[e.December=12]="December"}(o5||(o5={})),e.PageType=void 0,(s5=e.PageType||(e.PageType={}))[s5.Page=0]="Page",s5[s5.Document=1]="Document",function(e){e[e.None=0]="None",e[e.Unconfirmed=1]="Unconfirmed",e[e.Alert=2]="Alert"}(l5||(l5={})),function(e){e.draft="draft",e.ready="ready",e.rejected="rejected",e.approved="approved",e.deleted="deleted"}(u5||(u5={})),function(e){e[e.YouTube=0]="YouTube",e[e.Vimeo=1]="Vimeo",e[e.MicrosoftStream=2]="MicrosoftStream",e[e.GenericUrl=3]="GenericUrl",e[e.Kaltura=4]="Kaltura"}(c5||(c5={})),function(e){e.YouTube="YOUTUBE",e.Vimeo="VIMEO",e.MicrosoftStream="MICROSOFTSTREAM",e.GenericUrl="GENERICURL",e.Kaltura="KALTURA"}(d5||(d5={})),function(e){e[e.unknown=0]="unknown",e[e.pending=1]="pending",e[e.complete=2]="complete",e[e.error=3]="error"}(h5||(h5={}));var y5=function(e){function t(t,n){var i=e.call(this)||this;return i.actualSizeInMb=t,i.maxSizeInMb=n,i}return 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}gK(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t}(Error);function b5(e,t){if(e.size>1e6*t){var n=new y5(e.size/1e6,t);throw i=n,r=window.location.href,function(){if(null==(void 0).appInsightsKey)return!1}()&&(r||(r=window.location.href),ng.error(i,r),(void 0).trackException({exception:i})),n}var i,r,a=new FormData;return a.append("file",e),a}function O5(){var e=Gm(),t=rq(),n=t.createApiUrl,r=t.fetchFromApi,a=i.useContext(Nw).onRequestToken;return i.useMemo((function(){return{getFileUrlWithToken:function(e,t,i,r,a,o){return n("/"+o+"/"+t+"/files/"+r,{access_token:e,subscriptionId:i,originalFileName:a})},uploadFile:function(t,n,i,o,s){return bK(this,void 0,void 0,(function(){var l,u,c;return OK(this,(function(d){switch(d.label){case 0:if(!t)throw new Error("Requires itemId to be set before saving a file");return l="/"+i+"/"+t+"/files/"+s,u=b5(o,e.maxFileSizeInMb),[4,a()];case 1:return c=d.sent(),[2,r(l,{method:"PUT",body:u,headers:{authorization:"Bearer "+c,"subscription-id":n}}).then((function(e){return e.json()}))]}}))}))}}}),[e.maxFileSizeInMb,n,r,a])}var _5=X0,w5=V0,k5=Object.keys||function(e){return _5(e,w5)},x5=MK,S5=jK,P5=k5,E5=H0,F5=NK,C5=x1,T5=ZK,D5=Object.assign,A5=Object.defineProperty,I5=!D5||S5((function(){if(x5&&1!==D5({b:1},D5(A5({},"a",{enumerable:!0,get:function(){A5(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach((function(e){t[e]=e})),7!=D5({},e)[n]||P5(D5({},t)).join("")!=i}))?function(e,t){for(var n=C5(e),i=arguments.length,r=1,a=E5.f,o=F5.f;i>r;)for(var s,l=T5(arguments[r++]),u=a?P5(l).concat(a(l)):P5(l),c=u.length,d=0;c>d;)s=u[d++],x5&&!o.call(l,s)||(n[s]=l[s]);return n}:D5,L5=I5;_1({target:"Object",stat:!0,forced:Object.assign!==L5},{assign:L5});var z5=["rm"],$5=["af","ar","as","bn","bs","bg","yue","ca","zh-TW","zh-CN","hr","cs","prs","da","nl","en","et","fj","fil","fi","fr","fr-ca","de","el","gu","ht","he","hi","mww","hu","is","id","ga","it","ja","kn","kk","sw","ko","ku","kmr","lv","lt","mg","ms","ml","mt","mi","mr","nb","or","ps","fa","pl","pt-br","pt-pt","pa","otq","rm","ro","ru","sm","sr-cyrl","sr-latn","sk","sl","es","sv","ty","ta","te","th","to","tr","uk","ur","vi","cy"];function R5(e){return e.preferredContentLanguage||e.preferredUiLanguage||cw()||e.subscription&&e.subscription.defaultLanguage||"en"}function Q5(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t?t.map((function(t){return vK(vK({},t),{localizedName:e.formatMessage({id:"Generic.languages."+t.code,defaultMessage:t.englishName})})})):[]}function j5(e){var t=Object.keys(e||[]);return t.length?t.map((function(t){return e[t].map((function(e){return Object.assign({},e,{groupId:t})}))})).reduce((function(e,t){return e.concat(t)})):null}function M5(e){var t={};return(e||[]).forEach((function(e){t[e.groupId]||(t[e.groupId]=[]),t[e.groupId].push(e)})),t}function N5(e,t,n,i,r,a){var o=i||r;if(null==e)return o;var s=e.find((function(e){return e.name===r}))||e.find((function(e){return e.id===n}));if(!s)return o;if(!i)return U5(t,s.translations,o,a);var l=s&&s.keywords.find((function(e){return e.name===i}));return l?U5(t,l.translations,o,a):o}function U5(e,t,n,i){return null==t&&(t={}),i||(i=R5(e)),i&&t[i]||t[e.subscription.defaultLanguage]||n}var q5=wJ,B5=function(){var e=q5(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},G5={},W5=jK;function X5(e,t){return RegExp(e,t)}G5.UNSUPPORTED_Y=W5((function(){var e=X5("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),G5.BROKEN_CARET=W5((function(){var e=X5("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));var V5=B5,Y5=G5,Z5=RegExp.prototype.exec,H5=String.prototype.replace,K5=Z5,J5=function(){var e=/a/,t=/b*/g;return Z5.call(e,"a"),Z5.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),e9=Y5.UNSUPPORTED_Y||Y5.BROKEN_CARET,t9=void 0!==/()??/.exec("")[1];(J5||t9||e9)&&(K5=function(e){var t,n,i,r,a=this,o=e9&&a.sticky,s=V5.call(a),l=a.source,u=0,c=e;return o&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),c=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(l="(?: "+l+")",c=" "+c,u++),n=new RegExp("^(?:"+l+")",s)),t9&&(n=new RegExp("^"+l+"$(?!\\s)",s)),J5&&(t=a.lastIndex),i=Z5.call(o?n:a,c),o?i?(i.input=i.input.slice(u),i[0]=i[0].slice(u),i.index=a.lastIndex,a.lastIndex+=i[0].length):a.lastIndex=0:J5&&i&&(a.lastIndex=a.global?i.index+i[0].length:t),t9&&i&&i.length>1&&H5.call(i[0],n,(function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(i[r]=void 0)})),i});var n9=K5;_1({target:"RegExp",proto:!0,forced:/./.exec!==n9},{exec:n9});var i9=DJ.exports,r9=jK,a9=r2,o9=n9,s9=TJ,l9=a9("species"),u9=!r9((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),c9="$0"==="a".replace(/./,"$0"),d9=a9("replace"),h9=!!/./[d9]&&""===/./[d9]("a","$0"),p9=!r9((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),f9=function(e,t,n,i){var r=a9(e),a=!r9((function(){var t={};return t[r]=function(){return 7},7!=""[e](t)})),o=a&&!r9((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[l9]=function(){return n},n.flags="",n[r]=/./[r]),n.exec=function(){return t=!0,null},n[r](""),!t}));if(!a||!o||"replace"===e&&(!u9||!c9||h9)||"split"===e&&!p9){var s=/./[r],l=n(r,""[e],(function(e,t,n,i,r){return t.exec===o9?a&&!r?{done:!0,value:s.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}}),{REPLACE_KEEPS_$0:c9,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:h9}),u=l[0],c=l[1];i9(String.prototype,e,u),i9(RegExp.prototype,r,2==t?function(e,t){return c.call(e,this,t)}:function(e){return c.call(e,this)})}i&&s9(RegExp.prototype[r],"sham",!0)},m9=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},g9=XK,v9=n9,y9=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==g9(e))throw TypeError("RegExp#exec called on incompatible receiver");return v9.call(e,t)},b9=wJ,O9=HK,_9=m9,w9=y9;f9("search",1,(function(e,t,n){return[function(t){var n=O9(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,n):new RegExp(t)[e](String(n))},function(e){var i=n(t,e,this);if(i.done)return i.value;var r=b9(e),a=String(this),o=r.lastIndex;_9(o,0)||(r.lastIndex=0);var s=w9(r,a);return _9(r.lastIndex,o)||(r.lastIndex=o),null===s?-1:s.index}]}));var k9=D0,x9=HK,S9=function(e){return function(t,n){var i,r,a=String(x9(t)),o=k9(n),s=a.length;return o<0||o>=s?e?"":void 0:(i=a.charCodeAt(o))<55296||i>56319||o+1===s||(r=a.charCodeAt(o+1))<56320||r>57343?e?a.charAt(o):i:e?a.slice(o,o+2):r-56320+(i-55296<<10)+65536}},P9={codeAt:S9(!1),charAt:S9(!0)}.charAt,E9=function(e,t,n){return t+(n?P9(e,t).length:1)},F9=f9,C9=wJ,T9=x1,D9=L0,A9=D0,I9=HK,L9=E9,z9=y9,$9=Math.max,R9=Math.min,Q9=Math.floor,j9=/\$([$&'`]|\d\d?|<[^>]*>)/g,M9=/\$([$&'`]|\d\d?)/g,N9=function(e){return void 0===e?e:String(e)};function U9(e){var t;return bK(this,void 0,void 0,(function(){var n;return OK(this,(function(i){return n="string"==typeof e?new Error(e):e,403===(null===(t=n.response)||void 0===t?void 0:t.statusCode)?(wie(Jie.create()),[2,!0]):[2,!1]}))}))}function q9(e){var t;return bK(this,void 0,void 0,(function(){return OK(this,(function(n){return 403===(null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.statusCode)?(wie(ere.create()),[2,!0]):[2,!1]}))}))}F9("replace",2,(function(e,t,n,i){var r=i.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,a=i.REPLACE_KEEPS_$0,o=r?"$":"$0";return[function(n,i){var r=I9(this),a=null==n?void 0:n[e];return void 0!==a?a.call(n,r,i):t.call(String(r),n,i)},function(e,i){if(!r&&a||"string"==typeof i&&-1===i.indexOf(o)){var l=n(t,e,this,i);if(l.done)return l.value}var u=C9(e),c=String(this),d="function"==typeof i;d||(i=String(i));var h=u.global;if(h){var p=u.unicode;u.lastIndex=0}for(var f=[];;){var m=z9(u,c);if(null===m)break;if(f.push(m),!h)break;""===String(m[0])&&(u.lastIndex=L9(c,D9(u.lastIndex),p))}for(var g="",v=0,y=0;y<f.length;y++){m=f[y];for(var b=String(m[0]),O=$9(R9(A9(m.index),c.length),0),_=[],w=1;w<m.length;w++)_.push(N9(m[w]));var k=m.groups;if(d){var x=[b].concat(_,O,c);void 0!==k&&x.push(k);var S=String(i.apply(void 0,x))}else S=s(b,c,O,_,k,i);O>=v&&(g+=c.slice(v,O)+S,v=O+b.length)}return g+c.slice(v)}];function s(e,n,i,r,a,o){var s=i+e.length,l=r.length,u=M9;return void 0!==a&&(a=T9(a),u=j9),t.call(o,u,(function(t,o){var u;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,i);case"'":return n.slice(s);case"<":u=a[o.slice(1,-1)];break;default:var c=+o;if(0===c)return t;if(c>l){var d=Q9(c/10);return 0===d?t:d<=l?void 0===r[d-1]?o.charAt(1):r[d-1]+o.charAt(1):t}u=r[c-1]}return void 0===u?"":u}))}}));var B9="\t\n\v\f\r \u2028\u2029\ufeff",G9=HK,W9="[\t\n\v\f\r \u2028\u2029\ufeff]",X9=RegExp("^"+W9+W9+"*"),V9=RegExp(W9+W9+"*$"),Y9=function(e){return function(t){var n=String(G9(t));return 1&e&&(n=n.replace(X9,"")),2&e&&(n=n.replace(V9,"")),n}},Z9={start:Y9(1),end:Y9(2),trim:Y9(3)},H9=jK,K9=B9,J9=Z9.trim,e8=function(e){return H9((function(){return!!K9[e]()||"
"!="
"[e]()||K9[e].name!==e}))};_1({target:"String",proto:!0,forced:e8("trim")},{trim:function(){return J9(this)}});var t8=tJ,n8=wJ,i8=function(e){if(!t8(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e},r8=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,i){return n8(n),i8(i),t?e.call(n,i):n.__proto__=i,n}}():void 0),a8=tJ,o8=r8,s8=MK,l8=RK,u8=p1,c8=function(e,t,n){var i,r;return o8&&"function"==typeof(i=t.constructor)&&i!==n&&a8(r=i.prototype)&&r!==n.prototype&&o8(e,r),e},d8=OJ.f,h8=F0.f,p8=C6,f8=B5,m8=G5,g8=DJ.exports,v8=jK,y8=m0.set,b8=p2,O8=r2("match"),_8=l8.RegExp,w8=_8.prototype,k8=/a/g,x8=/a/g,S8=new _8(k8)!==k8,P8=m8.UNSUPPORTED_Y;if(s8&&u8("RegExp",!S8||P8||v8((function(){return x8[O8]=!1,_8(k8)!=k8||_8(x8)==x8||"/a/i"!=_8(k8,"i")})))){for(var E8=function(e,t){var n,i=this instanceof E8,r=p8(e),a=void 0===t;if(!i&&r&&e.constructor===E8&&a)return e;S8?r&&!a&&(e=e.source):e instanceof E8&&(a&&(t=f8.call(e)),e=e.source),P8&&(n=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var o=c8(S8?new _8(e,t):_8(e,t),i?this:w8,E8);return P8&&n&&y8(o,{sticky:n}),o},F8=function(e){e in E8||d8(E8,e,{configurable:!0,get:function(){return _8[e]},set:function(t){_8[e]=t}})},C8=h8(_8),T8=0;C8.length>T8;)F8(C8[T8++]);w8.constructor=E8,E8.prototype=w8,g8(l8,"RegExp",E8)}b8("RegExp");var D8=DJ.exports,A8=wJ,I8=jK,L8=B5,z8="toString",$8=RegExp.prototype,R8=$8.toString,Q8=I8((function(){return"/a/b"!=R8.call({source:"a",flags:"b"})})),j8=R8.name!=z8;(Q8||j8)&&D8(RegExp.prototype,z8,(function(){var e=A8(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in $8)?L8.call(e):n)}),{unsafe:!0});var M8,N8=985,U8=10,q8=20,B8=30,G8=40,W8=60,X8=550,V8=768,Y8=1024,Z8=1350,H8=1640,K8=549,J8=767,e7=1023,t7=1349,n7=25,i7=18,r7=16,a7=14,o7=12,s7=21/9,l7="rgba(0, 0, 0, 0.2)",u7="rgb(221, 221, 221)",c7="rgb(206, 255, 188)",d7=q8,h7=W8,p7=20;!function(e){e.Internal="internal",e.External="external",e.Download="download"}(M8||(M8={}));var f7,m7,g7,v7,y7="LiveTiles Reach";!function(e){e.embeddedVideo="embedded-video",e.embeddedAudio="embedded-audio",e.languageChange="language-change",e.eventRegistration="event-registration",e.eventSeriesRegistration="event-series-registration",e.translateContent="translate-content",e.downloadFile="download-file",e.embeddedIframe="embedded-iframe",e.externalLink="external-link",e.follow="follow",e.bookmark="bookmark"}(f7||(f7={})),function(e){e.click="click",e.navigate="navigate",e.view="view",e.search="search"}(m7||(m7={})),function(e){e.Admin="admin",e.Chat="chat",e.Comments="comments",e.Events="events",e.Search="search",e.News="news",e.Pages="pages",e.People="people",e.Posts="posts",e.Stream="stream",e.User="user"}(g7||(g7={})),function(e){e.AllChats="allChats",e.AllNews="allNews",e.AllPosts="allPosts",e.Bookmarks="bookmarks",e.Channel="channel",e.Channels="channels",e.ChatConversation="conversation",e.Customization="customization",e.DetailView="detailView",e.DirectoryConfig="directoryConfiguration",e.Group="group",e.Groups="groups",e.Keywords="keywords",e.Languages="languages",e.MyNews="myNews",e.Owners="owners",e.Preview="preview",e.RootPages="rootPages",e.Search="search",e.SelfRegistration="selfRegistration",e.TargetAudience="targetAudience",e.UpcomingEvents="upcoming",e.BookedEvents="booked",e.PastEvents="past",e.Users="users",e.WebHooks="webHooks",e.Editor="editor"}(v7||(v7={}));var b7=i.createContext(null),O7=function(e){var n=e.module,r=e.children,a=i.useMemo((function(){return n}),[n]);return t.jsx(b7.Provider,vK({value:a},{children:r}),void 0)},_7=i.createContext(void 0);function w7(){var e=i.useContext(_7);if(!e)throw new Error("useAnalyticsContext must be used within the AnalyticsContextProvider");var t=i.useContext(b7);return vK(vK({},e),{interaction:function(n){return e.interaction(vK(vK({},n),{module:null!=t?t:e.module}))},trackActivity:function(n){return e.trackActivity(n,t)}})}var k7=function(e){var n,i,r=e.appName,a=e.children,o=Gm(),s=o.analytics,l=o.configType,u=(null===(i=null===(n=null==r?void 0:r.trim())||void 0===n?void 0:n.slice(0,30))||void 0===i?void 0:i.replace(/\s+/g,"-"))||"reach-components-react";return t.jsx(x7,vK({appName:u,analyticsConfig:{hostName:s.hostName,regions:s.regions},shouldDisableTracking:l===is.Local||l===is.CiTestsDocker,moduleInstance:{module:null,setModule:function(){return null}},disableScrollTracking:!0},{children:a}),void 0)},x7=function(e){var n,a=e.appName,o=e.analyticsConfig,s=e.disableScrollTracking,l=e.shouldDisableTracking,u=e.moduleInstance,c=e.children,d=Am(),h=x6(),p=i.useCallback((function(){return{build:d.buildId,name:a,version:d.version}}),[d.buildId,d.version,a]),f=i.useCallback((function(){return{name:d.browserName,version:d.browserVersion}}),[d.browserName,d.browserVersion]),m=i.useCallback((function(){return{model:d.deviceInfo.model,platform:d.deviceInfo.platform}}),[d.deviceInfo]),g=i.useCallback((function(){return{name:d.deviceInfo.operatingSystem,version:d.deviceInfo.osVersion}}),[d.deviceInfo]),v=i.useCallback((function(){var e;return{id:h.subscription.id,name:null!==(e=h.subscription.subscriptionName)&&void 0!==e?e:y7,organisation:h.subscription.company||""}}),[h.subscription]),y=i.useCallback((function(){var e,t;if(l)return"";var n=null===(e=o.regions)||void 0===e?void 0:e[(null===(t=h.subscription.regionSettings)||void 0===t?void 0:t.name)||"global"];return d.isProduction?n?"api-"+n+"."+o.hostName:"":"api."+o.hostName}),[d.isProduction,null===(n=h.subscription.regionSettings)||void 0===n?void 0:n.name]),b=i.useMemo((function(){return((e,t)=>{const n=uY.load({writeKey:"VALUE_NOT_REQUIRED",cdnURL:t,cdnSettings:{integrations:{"Segment.io":{}}},plugins:[HY(e.getAppInfo(),e.getBrowserInfo(),e.getDeviceInfo(),e.getOsInfo(),e.getWorkspaceInfo())]},{integrations:{"Segment.io":!!t&&{apiHost:t,deliveryStrategy:{strategy:"batching",config:{size:10,timeout:5e3}},addBundledMetadata:!1}}}),i=e=>dG(void 0,null,(function*(){yield n.track("activity",e)}));return{getUser:()=>{var e;return null==(e=n.instance)?void 0:e.user()},identify:(e,t)=>{var i;null==(i=n.instance)||i.user().identify(e,t)},interaction:e=>dG(void 0,null,(function*(){yield n.track("interaction",e)})),activity:e=>fZ(i,e)}})({getAppInfo:p,getBrowserInfo:f,getDeviceInfo:m,getOsInfo:g,getWorkspaceInfo:v},y())}),[p,f,m,g,v,y]),O=null==u?void 0:u.module,_=function(e,t){var n=i.useRef([]);return i.useMemo((function(){return{data:n.current,onSearchTermChange:function(i){return n.current.push(i),e.interaction({event:"search",action:m7.search,module:t,search:i})},onItemRead:function(r){if(n.current.length){var a=_K([],n.current);i();var o=a[a.length-1],s=o.results.find((function(e){return e.itemId===r})),l=s?{id:s.itemId,type:s.itemType}:null;e.interaction({event:"search",action:m7.search,module:t,item:l,search:o})}}};function i(){n.current.splice(0,n.current.length)}}),[e,t])}(b,O),w=r.useLocation();i.useEffect((function(){var e,t=h.mail;if((null===(e=b.getUser())||void 0===e?void 0:e.id())!==t){var n=function(e){return{id:e.id,givenName:e.givenName,surname:e.surname,displayName:e.displayName,isPublicUser:e.isPublicUser,preferredContentLanguage:e.preferredContentLanguage,preferredLocale:e.preferredLocale,preferredUiLanguage:e.preferredUiLanguage}}(h);b.identify(t,n)}}),[b,h]);var k=i.useRef(null),x=i.useCallback((function(e,t){var n;if(null===(n=k.current)||void 0===n||n.disable(),s||e)return k.current=b.activity({scrollElement:e,module:null!=t?t:O}),k.current}),[b,O,s]),S=vK(vK(vK(vK({},b),u),_),{trackActivity:x,sendActivity:function(){var e;null===(e=k.current)||void 0===e||e.send({path:w.pathname,referrer:document.referrer,search:w.search,title:document.title,url:""+window.location.origin+w.pathname})}});return t.jsx(_7.Provider,vK({value:S},{children:t.jsx(S7,{children:c},void 0)}),void 0)},S7=function(e){var n,r=e.children;return n=w7().interaction,i.useEffect((function(){var e=function(){window.setTimeout((function(){document.querySelectorAll(".video-view-container iframe").forEach((function(e){document.activeElement===e&&n({event:f7.embeddedIframe,value:e.src,action:m7.click})}))}),0)};return window.addEventListener("blur",e),function(){window.removeEventListener("blur",e)}}),[n]),function(){var e=w7().interaction;i.useEffect((function(){var t=function(t){var n="A"===t.target.tagName?t.target:t.target.closest("a"),i=null==n?void 0:n.attributes.getNamedItem("data-link");(null==i?void 0:i.value)===M8.External&&e({event:f7.externalLink,action:m7.click,value:n.href}),"A"===(null==n?void 0:n.tagName)&&(null==i?void 0:i.value)===M8.Download&&e({event:f7.downloadFile,action:m7.click,value:n.href})};return window.addEventListener("click",t),function(){window.removeEventListener("click",t)}}),[e])}(),t.jsx(t.Fragment,{children:r},void 0)};function P7(e,t,n){var r=i.useRef({}),a=w7(),o=a.interaction,s=a.module;i.useEffect((function(){e&&t.forEach((function(e){r.current[e.id]||(r.current[e.id]=!0,o({action:m7.view,item:{id:e.id,type:n}}))}))}),[e,t,n,o,s])}function E7(){var t=w7().interaction,n=aq(),r=aq(U9),a=LK(),o=a.saveLanguageToLocalStorage,s=a.saveLocaleToLocalStorage;return i.useMemo((function(){return{updateNotificationTypeSettings:function(e){for(var t={comments:null,mentions:null,posts:null,news:null,events:null,chat:null,pluginNotifications:null,newsEditor:null,eventEditor:null},i=function(n){Object.keys(t).every((function(e){return e!==n}))&&delete e[n]},r=0,a=Object.keys(e||{});r<a.length;r++){var o=a[r];i(o)}return n.custom("users/current/notification_settings/types").put(e).then((function(e){return e.body().data()}))},getFollowCommentsStatus:function(e,t,i){return n.custom("users/current/notification_settings/"+c(t,i)+"/"+e).get().then((function(e){return e.body().data().enabled}))},toggleFollowComments:i,followPublicPublishableItemComments:a,followEditorPublishableItemComments:l,followAllPublishableItemComments:function(e,t){a(e,t),l(e,t)},followPublishableItemComments:u,resolveSegment:c,getFollowCommentSegment:d,toggleBookmark:function(n,i){null==i.bookmarks&&(i.bookmarks=[]);var a=i.bookmarks.findIndex((function(e){return e===n}));if(a<0)return r.one("users","current").all("bookmarks").put(n,null).then((function(){i.bookmarks.push(n)})).then((function(){t({event:f7.bookmark,value:!0,action:m7.click,item:{id:n,type:e.ItemResourceTypes.News}})})).then((function(){return!0}));return r.one("users","current").all("bookmarks").delete(n).then((function(){i.bookmarks.splice(a,1)})).then((function(){t({event:f7.bookmark,value:!1,action:m7.click,item:{id:n,type:e.ItemResourceTypes.News}})})).then((function(){return!1}))},getUserProperties:function(){return n.all("users/user_properties").get("").then((function(e){return e.body().data()}))},setUserChannels:function(e){return n.custom("users/current/channels").put(e)},addContact:function(e){return bK(this,void 0,void 0,(function(){return OK(this,(function(t){switch(t.label){case 0:return[4,n.all("users/current/contacts").post(e)];case 1:return[2,t.sent().body().data()]}}))}))},deleteContact:function(e){return bK(this,void 0,void 0,(function(){return OK(this,(function(t){switch(t.label){case 0:return[4,n.all("users/current/contacts/"+e.tokenUniqueId).delete("")];case 1:return[2,t.sent().body().data()]}}))}))},getContactAccounts:function(){return n.all("users/current/contacts").getAll().then((function(e){return e.body(!1)}))},setLanguage:function(e){return bK(this,void 0,void 0,(function(){return OK(this,(function(t){switch(t.label){case 0:return[4,n.custom("users/current/ui_language/"+e).put(null)];case 1:return t.sent(),[4,o(e)];case 2:return t.sent(),[2]}}))}))},setContentLanguage:function(e){return bK(this,void 0,void 0,(function(){return OK(this,(function(t){switch(t.label){case 0:return[4,n.custom("users/current/content_language/"+e).put(null)];case 1:return t.sent(),[2]}}))}))},setLocale:function(e){return bK(this,void 0,void 0,(function(){return OK(this,(function(t){switch(t.label){case 0:return[4,n.custom("users/current/locale/"+e).put(null)];case 1:return t.sent(),[4,s(e)];case 2:return t.sent(),[2]}}))}))},getGroupNotificationSettings:function(e){return bK(this,void 0,void 0,(function(){return OK(this,(function(t){switch(t.label){case 0:return[4,n.custom("users/current/notification_settings/groups/"+e).get().then((function(e){return e.body().data()}))];case 1:return[2,t.sent()]}}))}))},updateGroupNotificationSettings:function(e,t){return bK(this,void 0,void 0,(function(){return OK(this,(function(i){switch(i.label){case 0:return[4,n.custom("users/current/notification_settings/groups/"+e).put(t).then((function(e){return e.body().data()}))];case 1:return[2,i.sent()]}}))}))},clearMyUnreadItems:function(e){return bK(this,void 0,void 0,(function(){return OK(this,(function(t){switch(t.label){case 0:return[4,n.custom("users/current/"+e+"/unread").delete()];case 1:return t.sent(),[2]}}))}))},acceptTermsAndConditions:function(e){return n.custom("users/current/terms_and_conditions/"+e).patch({})},deleteAccount:function(){return bK(this,void 0,void 0,(function(){return OK(this,(function(e){switch(e.label){case 0:return[4,n.custom("users/current").delete()];case 1:return[2,e.sent()]}}))}))}};function i(e,n,i,a){return r.custom("users/current/notification_settings/"+c(n,i)+"/"+e).put({enabled:a}).then((function(){t({event:f7.follow,action:m7.click,value:a,item:{id:e,type:n}})}))}function a(e,t){u(e,t,J6.Public)}function l(e,t){u(e,t,J6.Editor)}function u(e,t,n){i(e,t,n,!0).then((function(){return null}),(function(e){return ng.error(e)}))}function c(e,t){switch(t){case J6.Editor:return"editor_comments";case J6.Public:return d(e)+"_comments";case J6.Posts:return"post_comments";default:throw Error("Invalid scope")}}function d(t){switch(t){case e.ItemResourceTypes.News:return"news";case e.ItemResourceTypes.Pages:return"page";case e.ItemResourceTypes.Events:return"event";default:throw Error("Invalid type")}}}),[n,r,t,o,s])}(new yB).pipe(vZ(100),(function(e){return OB()((t=xZ,function(e){var i;if(i="function"==typeof t?t:function(){return t},"function"==typeof n)return e.lift(new kZ(i,n));var r=Object.create(e,xB);return r.source=e,r.subjectFactory=i,r})(e));var t,n}));var F7,C7=OJ,T7=wJ,D7=k5,A7=MK?Object.defineProperties:function(e,t){T7(e);for(var n,i=D7(t),r=i.length,a=0;r>a;)C7.f(e,n=i[a++],t[n]);return e},I7=wJ,L7=A7,z7=V0,$7=n0,R7=Z2,Q7=uJ,j7=t0("IE_PROTO"),M7=function(){},N7=function(e){return"<script>"+e+"</"+"script>"},U7=function(){try{F7=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;U7=F7?function(e){e.write(N7("")),e.close();var t=e.parentWindow.Object;return e=null,t}(F7):((t=Q7("iframe")).style.display="none",R7.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(N7("document.F=Object")),e.close(),e.F);for(var n=z7.length;n--;)delete U7.prototype[z7[n]];return U7()};$7[j7]=!0;var q7=Object.create||function(e,t){var n;return null!==e?(M7.prototype=I7(e),n=new M7,M7.prototype=null,n[j7]=e):n=U7(),void 0===t?n:L7(n,t)},B7=q7,G7=OJ,W7=r2("unscopables"),X7=Array.prototype;null==X7[W7]&&G7.f(X7,W7,{configurable:!0,value:B7(null)});var V7,Y7,Z7,H7=function(e){X7[W7][e]=!0},K7=!jK((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),J7=aJ,eee=x1,tee=K7,nee=t0("IE_PROTO"),iee=Object.prototype,ree=tee?Object.getPrototypeOf:function(e){return e=eee(e),J7(e,nee)?e[nee]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?iee:null},aee=ree,oee=TJ,see=aJ,lee=r2("iterator"),uee=!1;[].keys&&("next"in(Z7=[].keys())?(Y7=aee(aee(Z7)))!==Object.prototype&&(V7=Y7):uee=!0),null==V7&&(V7={}),see(V7,lee)||oee(V7,lee,(function(){return this}));var cee={IteratorPrototype:V7,BUGGY_SAFARI_ITERATORS:uee},dee=cee.IteratorPrototype,hee=q7,pee=GK,fee=l2,mee=m2,gee=function(){return this},vee=_1,yee=function(e,t,n){var i=t+" Iterator";return e.prototype=hee(dee,{next:pee(1,n)}),fee(e,i,!1),mee[i]=gee,e},bee=ree,Oee=r8,_ee=l2,wee=TJ,kee=DJ.exports,xee=m2,See=cee.IteratorPrototype,Pee=cee.BUGGY_SAFARI_ITERATORS,Eee=r2("iterator"),Fee="keys",Cee="values",Tee="entries",Dee=function(){return this},Aee=eJ,Iee=H7,Lee=m2,zee=m0,$ee=function(e,t,n,i,r,a,o){yee(n,t,i);var s,l,u,c=function(e){if(e===r&&m)return m;if(!Pee&&e in p)return p[e];switch(e){case Fee:case Cee:case Tee:return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",h=!1,p=e.prototype,f=p[Eee]||p["@@iterator"]||r&&p[r],m=!Pee&&f||c(r),g="Array"==t&&p.entries||f;if(g&&(s=bee(g.call(new e)),See!==Object.prototype&&s.next&&(bee(s)!==See&&(Oee?Oee(s,See):"function"!=typeof s[Eee]&&wee(s,Eee,Dee)),_ee(s,d,!0))),r==Cee&&f&&f.name!==Cee&&(h=!0,m=function(){return f.call(this)}),p[Eee]!==m&&wee(p,Eee,m),xee[t]=m,r)if(l={values:c(Cee),keys:a?m:c(Fee),entries:c(Tee)},o)for(u in l)(Pee||h||!(u in p))&&kee(p,u,l[u]);else vee({target:t,proto:!0,forced:Pee||h},l);return l},Ree="Array Iterator",Qee=zee.set,jee=zee.getterFor(Ree),Mee=$ee(Array,"Array",(function(e,t){Qee(this,{type:Ree,target:Aee(e),index:0,kind:t})}),(function(){var e=jee(this),t=e.target,n=e.kind,i=e.index++;return!t||i>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:t[i],done:!1}:{value:[i,t[i]],done:!1}}),"values");Lee.Arguments=Lee.Array,Iee("keys"),Iee("values"),Iee("entries");var Nee=RK,Uee={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},qee=Mee,Bee=TJ,Gee=r2,Wee=Gee("iterator"),Xee=Gee("toStringTag"),Vee=qee.values;for(var Yee in Uee){var Zee=Nee[Yee],Hee=Zee&&Zee.prototype;if(Hee){if(Hee[Wee]!==Vee)try{Bee(Hee,Wee,Vee)}catch(e){Hee[Wee]=Vee}if(Hee[Xee]||Bee(Hee,Xee,Yee),Uee[Yee])for(var Kee in qee)if(Hee[Kee]!==qee[Kee])try{Bee(Hee,Kee,qee[Kee])}catch(e){Hee[Kee]=qee[Kee]}}}var Jee=i.createContext(null);function ete(){var e=i.useContext(Jee);return null!=e?e.refresh:function(){return null}}var tte,nte=function(e){var n=e.children,r=k6().refreshUser,a=iz(),o=i.useCallback((function(){var e,t;return bK(this,void 0,void 0,(function(){var n,i;return OK(this,(function(o){switch(o.label){case 0:return[4,a.query({query:ite,fetchPolicy:"no-cache",errorPolicy:"all"})];case 1:return n=o.sent(),null==(i=null===(e=null==n?void 0:n.data)||void 0===e?void 0:e.currentUser)?[3,3]:[4,r((function(e){return vK(vK({},e),function(e){var t,n,i,r,a;return{availableSubscriptions:null!==(t=null==e?void 0:e.availableSubscriptions)&&void 0!==t?t:[],bookmarks:null!==(n=null==e?void 0:e.bookmarks)&&void 0!==n?n:[],unreadNews:null!==(i=null==e?void 0:e.unreadNews)&&void 0!==i?i:[],unreadEvents:null!==(r=null==e?void 0:e.unreadEvents)&&void 0!==r?r:[],unreadPosts:null!==(a=null==e?void 0:e.unreadPosts)&&void 0!==a?a:[],hasUnreadChats:null==e?void 0:e.hasUnreadChats,unreadFeedItemsCount:null==e?void 0:e.unreadFeedItemsCount,mostRecentPostGroups:null==e?void 0:e.mostRecentPostGroups}}(vK({bookmarks:i.bookmarkIds,availableSubscriptions:i.subscriptions},i)))}))];case 2:return[2,o.sent()];case 3:return(null==i||(null===(t=null==n?void 0:n.errors)||void 0===t?void 0:t.length)>0)&&ng.error("Failed to load the currentUser with details.",null==n?void 0:n.errors),[2]}}))}))}),[a]),s=i.useMemo((function(){return{refresh:o}}),[o]);return i.useEffect((function(){o().then(null,ng.error)}),[o]),t.jsx(Jee.Provider,vK({value:s},{children:n}),void 0)},ite=WL(tte||(tte=wK(["\n query CurrentUserDetails {\n currentUser {\n bookmarkIds\n unreadNews {\n itemId\n channelIds\n }\n unreadEvents {\n itemId\n channelIds\n }\n unreadPosts {\n itemId\n groupId\n }\n unreadFeedItemsCount\n hasUnreadChats\n mostRecentPostGroups\n subscriptions {\n id\n subscriptionName\n company\n contact {\n displayName\n userPrincipalName\n }\n hasUnreadItems\n }\n }\n }\n"],["\n query CurrentUserDetails {\n currentUser {\n bookmarkIds\n unreadNews {\n itemId\n channelIds\n }\n unreadEvents {\n itemId\n channelIds\n }\n unreadPosts {\n itemId\n groupId\n }\n unreadFeedItemsCount\n hasUnreadChats\n mostRecentPostGroups\n subscriptions {\n id\n subscriptionName\n company\n contact {\n displayName\n userPrincipalName\n }\n hasUnreadItems\n }\n }\n }\n"]))),rte=_1,ate=QK.f,ote=L0,ste=D6,lte=HK,ute=I6,cte="".startsWith,dte=Math.min,hte=ute("startsWith"),pte=!hte&&!!function(){var e=ate(String.prototype,"startsWith");return e&&!e.writable}();function fte(){var e=i.useContext(OS).identifier,t=e.subscriptionHandle||e.id;return{buildPath:function(e){if(e)return"/"+t+"/"+(e.startsWith("/")?e.substring(1):e);return"/"+t},subscriptionHandle:t}}function mte(){var e=Dm().webAppUrl,t=vte();return t?"https://"+t:e}function gte(){var e=Dm().webAppUrls,t=vte();return t?_K(_K([],e),["https://"+t]):e}function vte(){var e,t=x6();return(null===(e=null==t?void 0:t.subscription)||void 0===e?void 0:e.customDomain)||process.env.NX_CUSTOM_DOMAIN}function yte(){var e=aq();return i.useMemo((function(){return{getChannels:function(){return bK(this,void 0,void 0,(function(){return OK(this,(function(t){return[2,e.all("subscriptions/current/channels").getAll().then((function(e){return e.body().map((function(e){return e.data()}))}))]}))}))},getChannelsByItemId:function(t,n){void 0===n&&(n="");return bK(this,void 0,void 0,(function(){return OK(this,(function(i){return[2,e.all(n+"news/"+t+"/channels").getAll().then((function(e){return e.body().map((function(e){return e.data()}))}))]}))}))}}}),[e])}rte({target:"String",proto:!0,forced:!pte&&!hte},{startsWith:function(e){var t=String(lte(this));ste(e);var n=ote(dte(arguments.length>1?arguments[1]:void 0,t.length)),i=String(e);return cte?cte.call(t,i,n):t.slice(n,n+i.length)===i}});var bte=i.createContext(null);var Ote=window.System;function _te(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var i=document.querySelector('script[type="systemjs-importmap"][data-reach-package="'+e+'"]');if(null==i){var r=document.createElement("script");r.type="systemjs-importmap",r.setAttribute("data-reach-package",e);for(var a={imports:{}},o=0,s=t;o<s.length;o++){var l=s[o].name;a.imports[l]="app:"+l}r.textContent=JSON.stringify(a,null,2),document.head.appendChild(r);for(var u=0,c=t;u<c.length;u++){var d=c[u],h=d.name,p=d.packageDefinition;Ote.set("app:"+h,p)}}}var wte=function(){return null};function kte(){return i.useContext(bte).storage}function xte(e,t){var n="Plugins::"+e+"::";return{getAllKeys:i,getString:function(e){return t.getString(n+e)},setString:function(e,i){return t.setString(n+e,i)},remove:function(e){return t.remove(n+e)},clearAll:function(){return bK(this,void 0,void 0,(function(){var e,r,a,o;return OK(this,(function(s){switch(s.label){case 0:return[4,i()];case 1:e=s.sent(),r=0,a=e,s.label=2;case 2:return r<a.length?(o=a[r],[4,t.remove(n+o)]):[3,5];case 3:s.sent(),s.label=4;case 4:return r++,[3,2];case 5:return[2]}}))}))}};function i(){var e;return bK(this,void 0,void 0,(function(){var i;return OK(this,(function(r){switch(r.label){case 0:return[4,t.getAllKeys()];case 1:return i=r.sent(),[2,null!==(e=null==i?void 0:i.filter((function(e){return e.startsWith(n)})).map((function(e){return e.replace(n,"")})))&&void 0!==e?e:[]]}}))}))}}function Ste(e){var t;if(404!==(null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.statusCode))throw e}function Pte(e,t){return{get:function(n){return t.custom("users/current/plugins/"+e+"/store/"+n+"/value").get().then((function(e){return e.body().data()}))},set:function(n,i){return t.custom("users/current/plugins/"+e+"/store/"+n+"/value").put(i).then((function(e){return e.body().data()}))},delete:function(n){return t.custom("users/current/plugins/"+e+"/store/"+n+"/value").delete()}}}function Ete(e,t){return{get:function(n){return t.custom("subscriptions/current/plugins/"+e+"/store/"+n+"/value").get().then((function(e){return e.body().data()}))},set:function(n,i){return t.custom("subscriptions/current/plugins/"+e+"/store/"+n+"/value").put(i).then((function(e){return e.body().data()}))},delete:function(n){return t.custom("subscriptions/current/plugins/"+e+"/store/"+n+"/value").delete()}}}var Fte,Cte=function(e){var n=e.pluginId,r=e.componentName,a=e.settings,o=e.bundleUrl,s=e.bundleModificationDate,l=yK(e,["pluginId","componentName","settings","bundleUrl","bundleModificationDate"]),u=bS(),c=aq(),d=function(){var e=aq(),t=x6(),n=rq(),r=n.createApiUrl,a=n.fetchFromApi,o=i.useContext(Nw).onRequestToken;return i.useMemo((function(){return{getPluginFileUrl:function(e,t,n){return t||(e.startsWith("http")?e+"?cache="+(new Date).getTime():r("/plugins/"+e,n?{cache:new Date(n).getTime()}:null))},saveDefinition:function(t){return bK(this,void 0,void 0,(function(){return OK(this,(function(n){switch(n.label){case 0:return[4,e.custom("plugins/"+encodeURIComponent(t.pluginId)+"/definition").put(t).then((function(e){return e.body()}))];case 1:return[2,n.sent()]}}))}))},saveFile:function(e,n){return bK(this,void 0,void 0,(function(){var i,r,s;return OK(this,(function(l){switch(l.label){case 0:return(i=new FormData).append("file",n),[4,o()];case 1:return r=l.sent(),s={method:"PUT",body:i,headers:{authorization:"Bearer "+r,"subscription-id":t.subscription.id}},[2,a("/plugins/"+encodeURIComponent(e)+"/bundle",s)]}}))}))},generateApiKey:function(t,n,i){return bK(this,void 0,void 0,(function(){return OK(this,(function(r){switch(r.label){case 0:return[4,e.all("plugins/"+encodeURIComponent(t)+"/api_keys").post({displayName:n,expiryDate:i}).then((function(e){return e.body().data()}))];case 1:return[2,r.sent()]}}))}))},linkPlugin:function(t,n){return bK(this,void 0,void 0,(function(){return OK(this,(function(i){switch(i.label){case 0:return[4,e.custom("subscriptions/current/plugins/"+encodeURIComponent(t)).put({settings:n}).then((function(e){return e.body()}))];case 1:return[2,i.sent()]}}))}))},unlinkPlugin:function(t){return bK(this,void 0,void 0,(function(){return OK(this,(function(n){switch(n.label){case 0:return[4,e.custom("subscriptions/current/plugins/"+encodeURIComponent(t)).delete().then((function(e){return e.body()}))];case 1:return[2,n.sent()]}}))}))}}}),[e,r,a,o,t.subscription.id])}().getPluginFileUrl,h=i.useMemo((function(){return i.lazy((function(){return function(e,t){return bK(this,void 0,void 0,(function(){var n;return OK(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,Ote.import(e)];case 1:return[2,{default:i.sent()[t]}];case 2:return n=i.sent(),ng.error(n),[2,{default:wte}];case 3:return[2]}}))}))}(d(n,o,s),r)}))}),[r,n,d,o,s]),p=i.useMemo((function(){return{settings:a,storage:xte(n,u),userStore:Pte(n,c),subscriptionStore:Ete(n,c)}}),[n,a,u,c]);return t.jsx(i.Suspense,vK({fallback:t.jsx("div",{},void 0)},{children:t.jsx(bte.Provider,vK({value:p},{children:t.jsx(h,vK({name:r},l),void 0)}),void 0)}),void 0)},Tte=XK,Dte=Array.isArray||function(e){return"Array"==Tte(e)},Ate=Dte,Ite=L0,Lte=O2,zte=function(e,t,n,i,r,a,o,s){for(var l,u=r,c=0,d=!!o&&Lte(o,s,3);c<i;){if(c in n){if(l=d?d(n[c],c,t):n[c],a>0&&Ate(l))u=zte(e,t,l,Ite(l.length),u,a-1)-1;else{if(u>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[u]=l}u++}c++}return u},$te=zte,Rte=tJ,Qte=Dte,jte=r2("species"),Mte=$te,Nte=x1,Ute=L0,qte=w1,Bte=function(e,t){var n;return Qte(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!Qte(n.prototype)?Rte(n)&&null===(n=n[jte])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)};function Gte(){var e=x6(),t=function(){var e=function(){var e=r.useLocation(),t=Wm.parse(e.search);if(null!=t.plugin){var n=JSON.parse(atob(t.plugin));Xte.some((function(e){return e.pluginId===n.pluginId}))||(Xte.push(n),window.sessionStorage.setItem("Reach::InjectedRemotePlugins",JSON.stringify(Xte)))}return Xte}(),t=zw(n,[],[null==e?void 0:e.length])[0];return null!=Vte?Vte:t;function n(){return bK(this,void 0,void 0,(function(){var t,n,i,r,a,o;return OK(this,(function(s){switch(s.label){case 0:if(Vte)return[2,Vte];t=[],n=0,i=e,s.label=1;case 1:return n<i.length?(r=i[n],a="http://localhost:"+r.port,[4,fetch(a+"/definition.json?rev="+(new Date).getTime())]):[3,5];case 2:return[4,s.sent().json()];case 3:(o=s.sent()).bundleUrl=a+"/index.js?rev="+(new Date).getTime(),t.push(o),s.label=4;case 4:return n++,[3,1];case 5:return[2,Vte=t]}}))}))}}();return _K(_K([],(e.subscription.webPluginDefinitions||[]).filter((function(e){return!t.some((function(t){return t.pluginId===e.pluginId}))}))),t)}function Wte(e){return Gte().flatMap((function(e){return(e.extensions||[]).map((function(t){return vK(vK({},e),t)}))})).filter((function(t){return null==e||t.area===e}))}_1({target:"Array",proto:!0},{flatMap:function(e){var t,n=Nte(this),i=Ute(n.length);return qte(e),(t=Bte(n,0)).length=Mte(t,n,n,i,0,1,e,arguments.length>1?arguments[1]:void 0),t}}),H7("flatMap");var Xte=null!==(Fte=JSON.parse(window.sessionStorage.getItem("Reach::InjectedRemotePlugins")))&&void 0!==Fte?Fte:[];var Vte=null;var Yte=function(e){var n=e.area,i=yK(e,["area"]),r=Wte(n);return 0===r.length?null:t.jsx(t.Fragment,{children:r.map((function(e){return t.jsx(Cte,vK({},e,i),e.pluginId)}))},void 0)},Zte=XK,Hte=D0,Kte=HK,Jte="".repeat||function(e){var t=String(Kte(this)),n="",i=Hte(e);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n},ene=_1,tne=D0,nne=function(e){if("number"!=typeof e&&"Number"!=Zte(e))throw TypeError("Incorrect invocation");return+e},ine=Jte,rne=jK,ane=1..toFixed,one=Math.floor,sne=function(e,t,n){return 0===t?n:t%2==1?sne(e,t-1,n*e):sne(e*e,t/2,n)};ene({target:"Number",proto:!0,forced:ane&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!rne((function(){ane.call({})}))},{toFixed:function(e){var t,n,i,r,a=nne(this),o=tne(e),s=[0,0,0,0,0,0],l="",u="0",c=function(e,t){for(var n=-1,i=t;++n<6;)i+=e*s[n],s[n]=i%1e7,i=one(i/1e7)},d=function(e){for(var t=6,n=0;--t>=0;)n+=s[t],s[t]=one(n/e),n=n%e*1e7},h=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==s[e]){var n=String(s[e]);t=""===t?n:t+ine.call("0",7-n.length)+n}return t};if(o<0||o>20)throw RangeError("Incorrect fraction digits");if(a!=a)return"NaN";if(a<=-1e21||a>=1e21)return String(a);if(a<0&&(l="-",a=-a),a>1e-21)if(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(a*sne(2,69,1))-69,n=t<0?a*sne(2,-t,1):a/sne(2,t,1),n*=4503599627370496,(t=52-t)>0){for(c(0,n),i=o;i>=7;)c(1e7,0),i-=7;for(c(sne(10,i,1),0),i=t-1;i>=23;)d(1<<23),i-=23;d(1<<i),c(1,1),d(2),u=h()}else c(0,n),c(1<<-t,0),u=h()+ine.call("0",o);return u=o>0?l+((r=u.length)<=o?"0."+ine.call("0",o-r)+u:u.slice(0,r-o)+"."+u.slice(r-o)):l+u}});var lne={primaryColor:"#512DA8",secondaryColor:"#6AE6C6"},une={palette:{themeDarker:"#004578",themeDark:"#005a9e",themeDarkAlt:"#106ebe",themePrimary:"#52A0BF",themeSecondary:"#2b88d8",themeTertiary:"#71afe5",themeLight:"#c7e0f4",themeLighter:"#deecf9",themeLighterAlt:"#eff6fc",neutralDark:"#212121",neutralPrimary:"#333333",neutralPrimaryAlt:"#3c3c3c",neutralSecondary:"#424242",neutralSecondaryAlt:"#767676",neutralTertiary:"#a6a6a6",neutralTertiaryAlt:"#c8c8c8",neutralQuaternary:"#d0d0d0",neutralQuaternaryAlt:"#dadada",neutralLight:"#eaeaea",neutralLighter:"#f2f2f2",neutralLighterAlt:"#f8f8f8",accent:"#52A0BF",textColorOnWhiteBackground:"#52A0BF",black:"#000000",blackTranslucent40:"rgba(0,0,0,.4)",blue:"#0078d7",blueDark:"#002050",blueLight:"#00bcf2",blueMid:"#00188f",error:"#a80000",green:"#107c10",greenDark:"#004b1c",greenLight:"#bad80a",info:"#107c10",magenta:"#b4009e",magentaDark:"#5c005c",magentaLight:"#e3008c",orange:"#d83b01",orangeLight:"#ff8c00",orangeLighter:"#ea4300",purple:"#5c2d91",purpleDark:"#32145a",purpleLight:"#b4a0ff",red:"#e81123",redDark:"#a80000",severeWarning:"#d83b01",success:"#107c10",teal:"#008272",tealDark:"#004b50",tealLight:"#00b294",white:"#ffffff",whiteTranslucent40:"rgba(255,255,255,.4)",yellow:"#ffb900",yellowLight:"#fff100"},semanticColors:{infoText:"#333333",successText:"#333333",alertBackground:"#deecf9",severeWarningBackground:"#fed9cc",successBackground:"#dff6dd",warningBackground:"#fff4ce",errorBackground:"#fde7e9",infoBackground:"#f4f4f4"},textColors:{onPrimary:"#ffffff",onSecondary:"#000000"}},cne=wJ,dne=L0,hne=HK,pne=E9,fne=y9;f9("match",1,(function(e,t,n){return[function(t){var n=hne(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,n):new RegExp(t)[e](String(n))},function(e){var i=n(t,e,this);if(i.done)return i.value;var r=cne(e),a=String(this);if(!r.global)return fne(r,a);var o=r.unicode;r.lastIndex=0;for(var s,l=[],u=0;null!==(s=fne(r,a));){var c=String(s[0]);l[u]=c,""===c&&(r.lastIndex=pne(a,dne(r.lastIndex),o)),u++}return 0===u?null:l}]}));var mne=Z9.trim,gne=B9,vne=RK.parseInt,yne=/^[+-]?0[Xx]/,bne=8!==vne(gne+"08")||22!==vne(gne+"0x16")?function(e,t){var n=mne(String(e));return vne(n,t>>>0||(yne.test(n)?16:10))}:vne;_1({global:!0,forced:parseInt!=bne},{parseInt:bne});var One=f9,_ne=C6,wne=wJ,kne=HK,xne=Y2,Sne=E9,Pne=L0,Ene=y9,Fne=n9,Cne=jK,Tne=[].push,Dne=Math.min,Ane=4294967295,Ine=!Cne((function(){return!RegExp(Ane,"y")}));One("split",2,(function(e,t,n){var i;return i="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var i=String(kne(this)),r=void 0===n?Ane:n>>>0;if(0===r)return[];if(void 0===e)return[i];if(!_ne(e))return t.call(i,e,r);for(var a,o,s,l=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),c=0,d=new RegExp(e.source,u+"g");(a=Fne.call(d,i))&&!((o=d.lastIndex)>c&&(l.push(i.slice(c,a.index)),a.length>1&&a.index<i.length&&Tne.apply(l,a.slice(1)),s=a[0].length,c=o,l.length>=r));)d.lastIndex===a.index&&d.lastIndex++;return c===i.length?!s&&d.test("")||l.push(""):l.push(i.slice(c)),l.length>r?l.slice(0,r):l}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var r=kne(this),a=null==t?void 0:t[e];return void 0!==a?a.call(t,r,n):i.call(String(r),t,n)},function(e,r){var a=n(i,e,this,r,i!==t);if(a.done)return a.value;var o=wne(e),s=String(this),l=xne(o,RegExp),u=o.unicode,c=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(Ine?"y":"g"),d=new l(Ine?o:"^(?:"+o.source+")",c),h=void 0===r?Ane:r>>>0;if(0===h)return[];if(0===s.length)return null===Ene(d,s)?[s]:[];for(var p=0,f=0,m=[];f<s.length;){d.lastIndex=Ine?f:0;var g,v=Ene(d,Ine?s:s.slice(f));if(null===v||(g=Dne(Pne(d.lastIndex+(Ine?0:f)),s.length))===p)f=Sne(s,f,u);else{if(m.push(s.slice(p,f)),m.length===h)return m;for(var y=1;y<=v.length-1;y++)if(m.push(v[y]),m.length===h)return m;f=p=g}}return m.push(s.slice(p)),m}]}),!Ine);var Lne=function(){function e(e){var t=this;this.setRgb=function(e){-1!==e.indexOf("rgba")?t.setRgbFromRgba(e):t.setRgbFromHex(e)},this.setRgbFromHex=function(e){var n=e.replace("#","").match(/.{1,2}/g);t.r=parseInt(n[0],16),t.g=parseInt(n[1],16),t.b=parseInt(n[2],16)},this.setRgbFromRgba=function(e){var n=e.replace("rgba(","").replace(")","").split(",");t.r=parseInt(t.trim(n[0]),10),t.g=parseInt(t.trim(n[1]),10),t.b=parseInt(t.trim(n[2]),10)},this.trim=function(e){return e.replace(/^\s+|\s+$/gm,"")},this.setRgb(e)}return e.prototype.lighten=function(e){return this.r=Math.min(Math.ceil(this.r+this.r*e),255),this.g=Math.min(Math.ceil(this.g+this.g*e),255),this.b=Math.min(Math.ceil(this.b+this.b*e),255),this},e.prototype.toHex=function(){var e=function(e){return("00"+e.toString(16)).slice(-2)};return"#"+e(this.r)+e(this.g)+e(this.b)},e}(),zne=null,$ne=vK({name:"Default"},lne),Rne=une.palette.neutralLighter,Qne="#ffffff",jne="#333333",Mne=[$ne,{name:"Apatite",primaryColor:"#1570B3",secondaryColor:"#CFFF6C"},{name:"Azurite",primaryColor:"#20273C",secondaryColor:"#F4F4F4"},{name:"Cordierite",primaryColor:"#343332",secondaryColor:"#419BEB"},{name:"Nephrite",primaryColor:"#224926",secondaryColor:"#EAEAEA"},{name:"Pyrite",primaryColor:"#263251",secondaryColor:"#FFE357"},{name:"Quartz",primaryColor:"#363636",secondaryColor:"#D45081"}];function Nne(e,t){var n=Une(e.primaryColor),i=e.useHighlightColorOnWhiteBackground?e.secondaryColor:e.primaryColor,r=e.useHighlightColorOnWhiteBackground?qne(i):qne(n),a={primaryColor:e.primaryColor,secondaryColor:e.secondaryColor,textColorOnPrimary:qne(n),textColorOnSecondary:qne(e.secondaryColor),accentColor:i,textColorOnAccent:r},s=vK({},une),l=function(e){var t={palette:{},semanticColors:{},textColors:{}},n=new Lne(e.accentColor).toHex(),i=new Lne(e.accentColor).lighten(-.3).toHex(),r=new Lne(e.accentColor).lighten(.5).toHex(),a=Une(e.primaryColor),o=qne(i);return t.palette.themeDarker=new Lne(e.primaryColor).lighten(-.4).toHex(),t.palette.themeDark=new Lne(e.primaryColor).lighten(-.3).toHex(),t.palette.themeDarkAlt=a,t.palette.themePrimary=new Lne(e.primaryColor).toHex(),t.palette.themeLight=new Lne(e.primaryColor).lighten(.2).toHex(),t.palette.themeLighter=new Lne(e.primaryColor).lighten(.65).toHex(),t.palette.themeLighterAlt=new Lne(e.primaryColor).lighten(.8).toHex(),t.palette.red=new Lne("#B90000").toHex(),t.palette.redDark=new Lne("#a80000").toHex(),t.palette.accent=n,t.semanticColors.warningText=new Lne(e.secondaryColor).lighten(.8).toHex(),t.semanticColors.inputPlaceholderText=new Lne("#666666").toHex(),t.semanticColors.primaryButtonBackground=n,t.semanticColors.primaryButtonText=e.textColorOnAccent,t.semanticColors.primaryButtonBackgroundHovered=i,t.semanticColors.primaryButtonTextHovered=o,t.semanticColors.primaryButtonBackgroundPressed=i,t.semanticColors.primaryButtonTextPressed=o,t.semanticColors.inputIcon=n,t.semanticColors.inputIconHovered=i,t.semanticColors.inputBackgroundChecked=n,t.semanticColors.inputBackgroundCheckedHovered=i,t.semanticColors.inputFocusBorderAlt=n,t.semanticColors.inputPlaceholderBackgroundChecked=r,t.palette.themeSecondary=new Lne(e.secondaryColor).toHex(),t.palette.themeTertiary=new Lne(e.secondaryColor).lighten(-.2).toHex(),t.textColors.onPrimary=new Lne(e.textColorOnPrimary).toHex(),t.textColors.onSecondary=new Lne(e.textColorOnSecondary).toHex(),t.textColors.default=new Lne(jne).toHex(),t.textColors.onAccent=new Lne(e.textColorOnAccent).toHex(),t}(a);for(var u in l)l.hasOwnProperty(u)&&Object.assign(s[u],l[u]);return t||o.loadTheme(s),function(e){var t=[],n=".lt-reach";for(var i in e)if(e.hasOwnProperty(i)){var r=e[i];for(var a in r)if(r.hasOwnProperty(a)){var o=r[a];"textColors"!==i&&(t.push(n+" .ms-bgColor-"+a+" { background-color: "+o+";}"),t.push(n+" .ms-borderColor-"+a+" { border-color: "+o+";}")),t.push(n+" .ms-fontColor-"+a+" { color: "+o+";}"),t.push(n+" .ms-fontColor-"+a+"--hover:hover {color: "+o+";}")}}zne||((zne=document.createElement("style")).type="text/css",zne.id="condense-ui-fabric-overrides",document.head.appendChild(zne));zne.innerHTML=t.join(" ")}(s),s}function Une(e){return new Lne(e).lighten(-.2).toHex()}function qne(e){return function(e){var t=RZ(e,jne),n=RZ(e,Qne);return t>n}(e)?jne:Qne}var Bne=i.createContext(null),Gne=function(e){var n=e.disableUiFabricThemeOverwrite,r=e.children,o=i.useState((function(){return Nne(Mne.find((function(e){return"Default"===e.name})),n)})),s=o[0],l=o[1];return t.jsx(Bne.Provider,vK({value:{theme:s,setTheme:function(e){return l(Nne(e,n))}}},{children:t.jsx(a.ThemeProvider,vK({theme:s},{children:r}),void 0)}),void 0)};var Wne,Xne,Vne=function(e){var n=e.area,r=e.pluginId,a=e.componentName,o=yK(e,["area","pluginId","componentName"]),s=Wx().formatMessage,l=Wte(n).find((function(e){return e.pluginId===r&&e.componentName===a&&null!=e.area}));return l?t.jsx(DZ.exports.ErrorBoundary,vK({FallbackComponent:function(e){return t.jsx(Yne,vK({},e,{showDetailedErrorMessage:null==o?void 0:o.showDetailedErrorMessage}),void 0)}},{children:i.createElement(Cte,vK({},o,l,{key:r}))}),void 0):o.showDetailedErrorMessage?t.jsx(Yne,{error:new Error(s({id:"InlinePlugin.fallback.error.notFound"})),showDetailedErrorMessage:!0},void 0):null},Yne=function(e){var n=e.error,i=e.showDetailedErrorMessage;return t.jsxs(Zne,{children:[t.jsx(hS,{id:"InlinePlugin.fallback.error"},void 0),i&&(null==n?void 0:n.message)&&t.jsx(Hne,{children:t.jsx(hS,{id:"InlinePlugin.fallback.error.message",values:{errorMessage:n.message}},void 0)},void 0)]},void 0)},Zne=y.default.div.withConfig({displayName:"Plugin__Host",componentId:"sc-nofq56-0"})(Wne||(Wne=wK(["\n padding: ","px;\n background-color: ",";\n font-size: ","px;\n"],["\n padding: ","px;\n background-color: ",";\n font-size: ","px;\n"])),U8,Rne,a7),Hne=y.default.p.withConfig({displayName:"Plugin__ErrorMessage",componentId:"sc-nofq56-1"})(Xne||(Xne=wK(["\n &&& {\n margin: ","px 0 0 0;\n }\n"],["\n &&& {\n margin: ","px 0 0 0;\n }\n"])),U8),Kne=i.createContext(null),Jne=i.createContext(null);function eie(){return i.useContext(Kne)}var tie,nie,iie,rie,aie,oie,sie=function(e){var n=e.children,r=i.useState(!1),a=r[0],s=r[1],l=i.useState({}),u=l[0],c=l[1],d=i.useMemo((function(){return{showErrorText:f,showInfo:p,showError:m,showWarning:g,showSuccess:v,hideNotification:y,showToast:b,showToastWarning:O,dismissToast:_}}),[c,s]),h=i.useMemo((function(){return vK(vK({},u),{isNotificationBarVisible:a})}),[u,a]);return t.jsx(Kne.Provider,vK({value:d},{children:t.jsx(Jne.Provider,vK({value:h},{children:n}),void 0)}),void 0);function p(e,t){c({messageId:e,messageValues:t,messageBarType:o.MessageBarType.info,actions:null,className:"ms-messageBar--info"}),s(!0)}function f(e){c({text:e,messageBarType:o.MessageBarType.error,actions:null}),s(!0)}function m(e,t){c({messageId:e,messageValues:t,messageBarType:o.MessageBarType.error,actions:null}),s(!0)}function g(e,t){c({messageId:e,messageValues:t,messageBarType:o.MessageBarType.warning,actions:null}),s(!0)}function v(e,t,n,i){c({messageId:e,messageValues:t,messageBarType:o.MessageBarType.success,className:n,actions:i}),s(!0)}function y(){s(!1)}function b(e,n,i,r){var a=t.jsx(hS,{id:e,values:n},void 0);return null==i?hK(a,r):hK(t.jsxs(lie,{children:[t.jsx(uie,{children:a},void 0),t.jsx(cie,{children:i},void 0)]},void 0),vK({},r))}function O(e,t,n){var i={autoClose:!1,type:"warning"};return n&&(i.onClose=n),b(e,t,null,i)}function _(e){hK.dismiss(e)}},lie=y.default.div.withConfig({displayName:"NotificationContext__Wrapper",componentId:"sc-ant4hw-0"})(tie||(tie=wK(["\n display: flex;\n align-items: center;\n\n @media (max-width: ","px) {\n flex-direction: column;\n }\n"],["\n display: flex;\n align-items: center;\n\n @media (max-width: ","px) {\n flex-direction: column;\n }\n"])),X8),uie=y.default.p.withConfig({displayName:"NotificationContext__Message",componentId:"sc-ant4hw-1"})(nie||(nie=wK(["\n flex: 1 1 auto;\n"],["\n flex: 1 1 auto;\n"]))),cie=y.default.div.withConfig({displayName:"NotificationContext__Actions",componentId:"sc-ant4hw-2"})(iie||(iie=wK(["\n margin-left: 25px;\n flex: 1 0 auto;\n\n @media (max-width: ","px) {\n margin-left: 0;\n margin-top: 10px;\n }\n"],["\n margin-left: 25px;\n flex: 1 0 auto;\n\n @media (max-width: ","px) {\n margin-left: 0;\n margin-top: 10px;\n }\n"])),X8),die=function(){var e=r.useHistory(),n=i.useContext(KF).hideChrome;return i.useEffect((function(){var t=e.listen((function(){return hK.dismiss()}));return function(){return t()}}),[e]),t.jsxs(t.Fragment,{children:[t.jsx(hie,{chromeless:n},void 0),t.jsx(JH,{toastClassName:"ms-fontColor-default",bodyClassName:"ms-fontColor-default",autoClose:5e3,hideProgressBar:!0,transition:KH,closeButton:!1},void 0)]},void 0)},hie=a.createGlobalStyle(oie||(oie=wK(["\n .lt-reach .Toastify .Toastify__toast-container {\n ","\n\n ","\n }\n\n .Toastify {\n .Toastify__toast-container {\n // This allows us to have wider toasts that do not wrap too soon.\n // Toastify itself will add responsive design at 480px and span the\n // toast the full width...\n max-width: 540px;\n width: auto;\n z-index: 1000001;\n\n @media (max-width: 480px) {\n padding: 0 10px !important;\n }\n }\n\n .Toastify__toast-body {\n display: flex;\n flex: 1 1 540px;\n height: 100%;\n justify-content: center;\n flex-direction: column;\n // IE fix: this is a default value from Toastify but doesn't work properly unless added here too\n min-height: 48px;\n }\n }\n"],["\n .lt-reach .Toastify .Toastify__toast-container {\n ","\n\n ","\n }\n\n .Toastify {\n .Toastify__toast-container {\n // This allows us to have wider toasts that do not wrap too soon.\n // Toastify itself will add responsive design at 480px and span the\n // toast the full width...\n max-width: 540px;\n width: auto;\n z-index: 1000001;\n\n @media (max-width: 480px) {\n padding: 0 10px !important;\n }\n }\n\n .Toastify__toast-body {\n display: flex;\n flex: 1 1 540px;\n height: 100%;\n justify-content: center;\n flex-direction: column;\n // IE fix: this is a default value from Toastify but doesn't work properly unless added here too\n min-height: 48px;\n }\n }\n"])),(function(e){return!e.chromeless&&a.css(rie||(rie=wK(["\n top: 4em;\n "],["\n top: 4em;\n "])))}),(function(e){return e.chromeless&&a.css(aie||(aie=wK(["\n @media all and (max-width: ","px) {\n top: 0.5em;\n right: 0.5em;\n }\n "],["\n @media all and (max-width: ","px) {\n top: 0.5em;\n right: 0.5em;\n }\n "])),K8)}));function pie(){var e=aq();return i.useMemo((function(){return{getAllKeywords:t,getAllKeywordsByGroupIds:function(){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(1===e.length){var n=e[0];if(tB(n))return tG(n,null);if(nB(n)&&Object.getPrototypeOf(n)===Object.prototype){var i=Object.keys(n);return tG(i.map((function(e){return n[e]})),i)}}if("function"==typeof e[e.length-1]){var r=e.pop();return tG(e=1===e.length&&tB(e[0])?e[0]:e,null).pipe(QB((function(e){return r.apply(void 0,e)})))}return tG(e,null)}(n(),t()).pipe(QB((function(e){var t=e[0],n=e[1],i={};return t.forEach((function(e){i[e.id]=n.filter((function(t){return t.groupId===e.id}))})),i}))).toPromise()},getSelectedGroups:n,getKeywordGroupsByItemId:function(t,n){void 0===n&&(n="");return bK(this,void 0,void 0,(function(){return OK(this,(function(i){return[2,e.all(n+"news/"+t+"/keyword_groups").getAll().then((function(e){return e.body().map((function(e){return e.data()}))}))]}))}))}};function t(t){return e.all("keywords").getAll({},{"Cache-Control":t?"no-cache":"private"}).then((function(e){return e.body().map((function(e){return e.data()}))}))}function n(){return bK(this,void 0,void 0,(function(){return OK(this,(function(t){return[2,e.all("keyword_groups/selected").getAll().then((function(e){return e.body().map((function(e){return e.data()}))}))]}))}))}}),[e])}var fie=function(e){var n=e.loadingIndicator,r=e.children,a=i.useContext(mie);return a.channels?t.jsx(gie.Provider,vK({value:a},{children:r}),void 0):t.jsx(t.Fragment,{children:null!=n?n:t.jsx(o.Spinner,{},void 0)},void 0)},mie=i.createContext(null),gie=i.createContext(null),vie={},yie=Array.from(Array(15),(function(){return{locked:!1,key:null,promise:null,resolve:null}}));yie.forEach((function(e){return e.promise=new Promise((function(t){return e.resolve=t}))}));var bie=function(e){var n=e.children,i=yte().getChannels,r=pie(),a=r.getAllKeywords,o=r.getSelectedGroups;return t.jsx(Oie,vK({getChannels:i,getAllKeywords:a,getSelectedGroups:o},{children:n}),void 0)},Oie=function(e){var n=e.getChannels,r=e.getAllKeywords,a=e.getSelectedGroups,o=e.children,s=S6(),l=i.useContext(OS).identifier,u=i.useContext(gS).handleFatalError,c=i.useCallback((function(){return bK(this,void 0,void 0,(function(){var e,t,i,r,a,o;return OK(this,(function(s){switch(s.label){case 0:return s.trys.push([0,2,,4]),[4,Promise.all([n(),O(),_()])];case 1:return e=s.sent(),t=e[0],i=e[1],r=e[2],a=r.reduce((function(e,t){var n;return vK(vK({},e),((n={})[t.id]=i.filter((function(e){return e.groupId===t.id})),n))}),{}),function(e){if(vie[y]){var t=yie.findIndex((function(e){return e.key===y})),n={locked:!1,key:null,resolve:null,promise:null};n.promise=new Promise((function(e){return n.resolve=e})),yie[t]=n}vie[y]=function(e){var t=yie.findIndex((function(e){return!e.locked})),n=yie[t];return n.locked=!0,n.key=y,n.resolve(e),n.promise}(e)}(t),[2,{channels:t,allKeywords:i,keywordsByGroupId:a,selectedKeywordGroups:r}];case 2:return o=s.sent(),ng.error(JSON.stringify(o)),[4,q9(o)];case 3:return!0!==s.sent()&&u({error:o}),[2,{}];case 4:return[2]}}))}))}),[n,r,a]),d=zw(c,{},[l.id,n,r]),h=d[0],p=h.channels,f=h.allKeywords,m=h.keywordsByGroupId,g=h.selectedKeywordGroups,v=d[3],y=fte().subscriptionHandle,b=i.useMemo((function(){return{channels:p,getChannels:function(){return vie[y]},allKeywords:f,keywordsByGroupId:m,selectedKeywordGroups:g,refreshSubscription:function(){return bK(void 0,void 0,void 0,(function(){var e;return OK(this,(function(t){switch(t.label){case 0:return[4,c()];case 1:return e=t.sent(),v(e),[2]}}))}))}}}),[p,f,m,g,v,c]);return t.jsx(mie.Provider,vK({value:b},{children:o}),void 0);function O(){return bK(this,void 0,void 0,(function(){var e;return OK(this,(function(t){switch(t.label){case 0:if(!s.keywords)return[2,[]];t.label=1;case 1:return t.trys.push([1,3,,4]),[4,r()];case 2:return[2,t.sent()];case 3:return e=t.sent(),ng.error(e),[2,[]];case 4:return[2]}}))}))}function _(){return bK(this,void 0,void 0,(function(){var e;return OK(this,(function(t){switch(t.label){case 0:if(!s.keywords)return[2,[]];t.label=1;case 1:return t.trys.push([1,3,,4]),[4,a()];case 2:return[2,t.sent()];case 3:return e=t.sent(),ng.error(e),[2,[]];case 4:return[2]}}))}))}};var _ie={};function wie(e){var t;(null==e?void 0:e.type)&&(null===(t=_ie[e.type])||void 0===t||t.some((function(t){return t(e)})))}function kie(e,t,n){i.useEffect((function(){if(e)return _ie[e]||(_ie[e]=[]),_ie[e].push(t),function(){_ie[e]=_ie[e].filter((function(e){return e!==t}))}}),_K([e],n||[]))}var xie=_1,Sie=w1,Pie=x1,Eie=jK,Fie=A1,Cie=[],Tie=Cie.sort,Die=Eie((function(){Cie.sort(void 0)})),Aie=Eie((function(){Cie.sort(null)})),Iie=Fie("sort");xie({target:"Array",proto:!0,forced:Die||!Aie||!Iie},{sort:function(e){return void 0===e?Tie.call(Pie(this)):Tie.call(Pie(this),Sie(e))}});var Lie=Dte,zie=[].reverse,$ie=[1,2];_1({target:"Array",proto:!0,forced:String($ie)===String($ie.reverse())},{reverse:function(){return Lie(this)&&(this.length=this.length),zie.call(this)}});var Rie,Qie,jie,Mie,Nie=[],Uie=function(e,t){Nie.some((function(t){return t.handler===e}))||Nie.push({handler:e,priority:t||0})},qie=function(e){Nie=Nie.filter((function(t){return t.handler!==e}))};function Bie(e,t,n,i){if(!((null==e?void 0:e.length)&&t.keywords&&n&&i))return{};var r=e.flatMap((function(e){return e.defaultKeywordIds||[]})).concat(e.flatMap((function(e){return e.availableKeywordIds||n.map((function(e){return e.id}))})),e.flatMap((function(e){return e.mandatoryKeywordIds||[]})));return Xie(Array.from(new Set(r)),i)}function Gie(e,t,n,i){var r=Bie(e,t,n,i);return Object.values(r).reduce((function(e,t){return e=e.concat(t)}),[])}function Wie(e,t,n){if(!(null==e?void 0:e.length)||!t.keywords)return{};var i=e.flatMap((function(e){return e.mandatoryKeywordIds||[]})).concat(e.flatMap((function(e){return e.defaultKeywordIds||[]})));return i.length?Xie(i,n):{}}function Xie(e,t){var n={};return Object.keys(t).forEach((function(i){var r=t[i].filter((function(t){return e.some((function(e){return e===t.id}))}));r.length&&(n[i]=r)})),n}function Vie(e,t,n,i,r){if(e){var a=t.groups.filter((function(t){var n;return null===(n=e.groupIds)||void 0===n?void 0:n.includes(t.id)}));e.keywords||(e.keywords={});var o=Bie(a,n,i,r),s=function(e,t,n){if(!(null==e?void 0:e.length)||!t.keywords)return{};var i=e.flatMap((function(e){return e.mandatoryKeywordIds||[]}));return i.length?Xie(i,n):{}}(a,n,r);Object.keys(e.keywords).forEach((function(t){var n,i=o[t]||[];e.keywords[t]=null===(n=e.keywords[t])||void 0===n?void 0:n.filter((function(e){return i.some((function(t){return t.id===e.id}))}))})),Object.keys(s).forEach((function(t){var n,i,r=null===(n=e.keywords[t])||void 0===n?void 0:n.filter((function(e){var n;return null===(n=s[t])||void 0===n?void 0:n.every((function(t){return t.id!==e.id}))}));e.keywords[t]=(null!=r?r:[]).concat(null!==(i=s[t])&&void 0!==i?i:[])}))}}function Yie(e,t){var n=Kie(e,t),i=function(e,t){if(!(null==e?void 0:e.length))return[];var n=e.flatMap((function(e){return e.defaultChannelIds||[]}));return t.filter((function(e){return n.includes(e.id)}))}(e,t);return Array.from(new Set(n.concat(i)))}function Zie(e,t){if(!(null==e?void 0:e.length))return[];var n=e.flatMap((function(e){return e.defaultChannelIds||[]})).concat(e.flatMap((function(e){return e.availableChannelIds||t.map((function(e){return e.id}))})),e.flatMap((function(e){return e.mandatoryChannelIds||[]})));return n=Array.from(new Set(n)),t.filter((function(e){return n.includes(e.id)}))}function Hie(e,t,n){if(e){var i=t.groups.filter((function(t){var n;return null===(n=e.groupIds)||void 0===n?void 0:n.includes(t.id)})),r=Zie(i,n),a=Kie(i,n);e.channels||(e.channels=[]);var o=r.filter((function(t){return e.channels.some((function(e){return e.name===t.name}))}));e.channels=Array.from(new Set(o.concat(a)))}}function Kie(e,t){if(!(null==e?void 0:e.length))return[];var n=e.flatMap((function(e){return e.mandatoryChannelIds||[]}));return n.length?t.filter((function(e){return n.includes(e.id)})):[]}!function(e){e.Default="default",e.Left="left",e.Right="right",e.Center="center"}(Rie||(Rie={})),function(e){e.NotDeleted="NOT_DELETED",e.RecycleBin="RECYCLE_BIN",e.Deleted="DELETED"}(Qie||(Qie={})),function(e){e.Default="DEFAULT",e.GroupNameChange="GROUP_NAME_CHANGE",e.UserLeftChat="USER_LEFT_CHAT"}(jie||(jie={})),function(e){e.Normal="NORMAL",e.LeftChat="LEFT_CHAT"}(Mie||(Mie={}));var Jie=function(){function e(){this.type=e.type}return e.create=function(){return new e},e.type="forbidden_error",e}(),ere=function(){function e(){this.type=e.type}return e.create=function(){return new e},e.type="generic_access_denied",e}();function tre(){var e,t=r.useLocation(),n=null===(e=null==t?void 0:t.state)||void 0===e?void 0:e.modalRouting;return{isModalRoutingActive:null==n?void 0:n.isActive,modalItemId:null==n?void 0:n.itemId,backgroundLocation:null==n?void 0:n.backgroundLocation}}function nre(){var e=r.useLocation(),t=as.isTeams;return function(n){if(!t)return{modalRouting:{isActive:!0,itemId:n,backgroundLocation:vK(vK({},e),{state:{modalRouting:{isActive:!0}}})}}}}mK("/*! PhotoSwipe main CSS by Dmitry Semenov | photoswipe.com | MIT license */\n/*\n\tStyles for basic PhotoSwipe functionality (sliding area, open/close transitions)\n*/\n/* pswp = photoswipe */\n.pswp {\n display: none;\n position: absolute;\n width: 100%;\n height: 100%;\n left: 0;\n top: 0;\n overflow: hidden;\n touch-action: none;\n z-index: 1500;\n -webkit-text-size-adjust: 100%;\n /* create separate layer, to avoid paint on window.onscroll in webkit/blink */\n -webkit-backface-visibility: hidden;\n outline: none; }\n .pswp * {\n box-sizing: border-box; }\n .pswp img {\n max-width: none; }\n\n/* style is added when JS option showHideOpacity is set to true */\n.pswp--animate_opacity {\n /* 0.001, because opacity:0 doesn't trigger Paint action, which causes lag at start of transition */\n opacity: 0.001;\n will-change: opacity;\n /* for open/close transition */\n transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); }\n\n.pswp--open {\n display: block; }\n\n.pswp--zoom-allowed .pswp__img {\n /* autoprefixer: off */\n cursor: -webkit-zoom-in;\n cursor: -moz-zoom-in;\n cursor: zoom-in; }\n\n.pswp--zoomed-in .pswp__img {\n /* autoprefixer: off */\n cursor: -webkit-grab;\n cursor: -moz-grab;\n cursor: grab; }\n\n.pswp--dragging .pswp__img {\n /* autoprefixer: off */\n cursor: -webkit-grabbing;\n cursor: -moz-grabbing;\n cursor: grabbing; }\n\n/*\n\tBackground is added as a separate element.\n\tAs animating opacity is much faster than animating rgba() background-color.\n*/\n.pswp__bg {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n background: #000;\n opacity: 0;\n transform: translateZ(0);\n -webkit-backface-visibility: hidden;\n will-change: opacity; }\n\n.pswp__scroll-wrap {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n overflow: hidden; }\n\n.pswp__container,\n.pswp__zoom-wrap {\n touch-action: none;\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0; }\n\n/* Prevent selection and tap highlights */\n.pswp__container,\n.pswp__img {\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n -webkit-tap-highlight-color: transparent;\n -webkit-touch-callout: none; }\n\n.pswp__zoom-wrap {\n position: absolute;\n width: 100%;\n transform-origin: left top;\n /* for open/close transition */\n transition: transform 333ms cubic-bezier(0.4, 0, 0.22, 1); }\n\n.pswp__bg {\n will-change: opacity;\n /* for open/close transition */\n transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); }\n\n.pswp--animated-in .pswp__bg,\n.pswp--animated-in .pswp__zoom-wrap {\n transition: none; }\n\n.pswp__container,\n.pswp__zoom-wrap {\n -webkit-backface-visibility: hidden; }\n\n.pswp__item {\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n overflow: hidden; }\n\n.pswp__img {\n position: absolute;\n width: auto;\n height: auto;\n top: 0;\n left: 0; }\n\n/*\n\tstretched thumbnail or div placeholder element (see below)\n\tstyle is added to avoid flickering in webkit/blink when layers overlap\n*/\n.pswp__img--placeholder {\n -webkit-backface-visibility: hidden; }\n\n/*\n\tdiv element that matches size of large image\n\tlarge image loads on top of it\n*/\n.pswp__img--placeholder--blank {\n background: #222; }\n\n.pswp--ie .pswp__img {\n width: 100% !important;\n height: auto !important;\n left: 0;\n top: 0; }\n\n/*\n\tError message appears when image is not loaded\n\t(JS option errorMsg controls markup)\n*/\n.pswp__error-msg {\n position: absolute;\n left: 0;\n top: 50%;\n width: 100%;\n text-align: center;\n font-size: 14px;\n line-height: 16px;\n margin-top: -8px;\n color: #CCC; }\n\n.pswp__error-msg a {\n color: #CCC;\n text-decoration: underline; }\n");mK('/*! PhotoSwipe Default UI CSS by Dmitry Semenov | photoswipe.com | MIT license */\n/*\n\n\tContents:\n\n\t1. Buttons\n\t2. Share modal and links\n\t3. Index indicator ("1 of X" counter)\n\t4. Caption\n\t5. Loading indicator\n\t6. Additional styles (root element, top bar, idle state, hidden state, etc.)\n\n*/\n/*\n\t\n\t1. Buttons\n\n */\n/* <button> css reset */\n.pswp__button {\n width: 44px;\n height: 44px;\n position: relative;\n background: none;\n cursor: pointer;\n overflow: visible;\n -webkit-appearance: none;\n display: block;\n border: 0;\n padding: 0;\n margin: 0;\n float: right;\n opacity: 0.75;\n transition: opacity 0.2s;\n box-shadow: none; }\n .pswp__button:focus, .pswp__button:hover {\n opacity: 1; }\n .pswp__button:active {\n outline: none;\n opacity: 0.9; }\n .pswp__button::-moz-focus-inner {\n padding: 0;\n border: 0; }\n\n/* pswp__ui--over-close class it added when mouse is over element that should close gallery */\n.pswp__ui--over-close .pswp__button--close {\n opacity: 1; }\n\n.pswp__button,\n.pswp__button--arrow--left:before,\n.pswp__button--arrow--right:before {\n background: url(default-skin.png) 0 0 no-repeat;\n background-size: 264px 88px;\n width: 44px;\n height: 44px; }\n\n@media (-webkit-min-device-pixel-ratio: 1.1), (-webkit-min-device-pixel-ratio: 1.09375), (min-resolution: 105dpi), (min-resolution: 1.1dppx) {\n /* Serve SVG sprite if browser supports SVG and resolution is more than 105dpi */\n .pswp--svg .pswp__button,\n .pswp--svg .pswp__button--arrow--left:before,\n .pswp--svg .pswp__button--arrow--right:before {\n background-image: url(default-skin.svg); }\n .pswp--svg .pswp__button--arrow--left,\n .pswp--svg .pswp__button--arrow--right {\n background: none; } }\n\n.pswp__button--close {\n background-position: 0 -44px; }\n\n.pswp__button--share {\n background-position: -44px -44px; }\n\n.pswp__button--fs {\n display: none; }\n\n.pswp--supports-fs .pswp__button--fs {\n display: block; }\n\n.pswp--fs .pswp__button--fs {\n background-position: -44px 0; }\n\n.pswp__button--zoom {\n display: none;\n background-position: -88px 0; }\n\n.pswp--zoom-allowed .pswp__button--zoom {\n display: block; }\n\n.pswp--zoomed-in .pswp__button--zoom {\n background-position: -132px 0; }\n\n/* no arrows on touch screens */\n.pswp--touch .pswp__button--arrow--left,\n.pswp--touch .pswp__button--arrow--right {\n visibility: hidden; }\n\n/*\n\tArrow buttons hit area\n\t(icon is added to :before pseudo-element)\n*/\n.pswp__button--arrow--left,\n.pswp__button--arrow--right {\n background: none;\n top: 50%;\n margin-top: -50px;\n width: 70px;\n height: 100px;\n position: absolute; }\n\n.pswp__button--arrow--left {\n left: 0; }\n\n.pswp__button--arrow--right {\n right: 0; }\n\n.pswp__button--arrow--left:before,\n.pswp__button--arrow--right:before {\n content: \'\';\n top: 35px;\n background-color: rgba(0, 0, 0, 0.3);\n height: 30px;\n width: 32px;\n position: absolute; }\n\n.pswp__button--arrow--left:before {\n left: 6px;\n background-position: -138px -44px; }\n\n.pswp__button--arrow--right:before {\n right: 6px;\n background-position: -94px -44px; }\n\n/*\n\n\t2. Share modal/popup and links\n\n */\n.pswp__counter,\n.pswp__share-modal {\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none; }\n\n.pswp__share-modal {\n display: block;\n background: rgba(0, 0, 0, 0.5);\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n padding: 10px;\n position: absolute;\n z-index: 1600;\n opacity: 0;\n transition: opacity 0.25s ease-out;\n -webkit-backface-visibility: hidden;\n will-change: opacity; }\n\n.pswp__share-modal--hidden {\n display: none; }\n\n.pswp__share-tooltip {\n z-index: 1620;\n position: absolute;\n background: #FFF;\n top: 56px;\n border-radius: 2px;\n display: block;\n width: auto;\n right: 44px;\n box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);\n transform: translateY(6px);\n transition: transform 0.25s;\n -webkit-backface-visibility: hidden;\n will-change: transform; }\n .pswp__share-tooltip a {\n display: block;\n padding: 8px 12px;\n color: #000;\n text-decoration: none;\n font-size: 14px;\n line-height: 18px; }\n .pswp__share-tooltip a:hover {\n text-decoration: none;\n color: #000; }\n .pswp__share-tooltip a:first-child {\n /* round corners on the first/last list item */\n border-radius: 2px 2px 0 0; }\n .pswp__share-tooltip a:last-child {\n border-radius: 0 0 2px 2px; }\n\n.pswp__share-modal--fade-in {\n opacity: 1; }\n .pswp__share-modal--fade-in .pswp__share-tooltip {\n transform: translateY(0); }\n\n/* increase size of share links on touch devices */\n.pswp--touch .pswp__share-tooltip a {\n padding: 16px 12px; }\n\na.pswp__share--facebook:before {\n content: \'\';\n display: block;\n width: 0;\n height: 0;\n position: absolute;\n top: -12px;\n right: 15px;\n border: 6px solid transparent;\n border-bottom-color: #FFF;\n -webkit-pointer-events: none;\n -moz-pointer-events: none;\n pointer-events: none; }\n\na.pswp__share--facebook:hover {\n background: #3E5C9A;\n color: #FFF; }\n a.pswp__share--facebook:hover:before {\n border-bottom-color: #3E5C9A; }\n\na.pswp__share--twitter:hover {\n background: #55ACEE;\n color: #FFF; }\n\na.pswp__share--pinterest:hover {\n background: #CCC;\n color: #CE272D; }\n\na.pswp__share--download:hover {\n background: #DDD; }\n\n/*\n\n\t3. Index indicator ("1 of X" counter)\n\n */\n.pswp__counter {\n position: absolute;\n left: 0;\n top: 0;\n height: 44px;\n font-size: 13px;\n line-height: 44px;\n color: #FFF;\n opacity: 0.75;\n padding: 0 10px; }\n\n/*\n\t\n\t4. Caption\n\n */\n.pswp__caption {\n position: absolute;\n left: 0;\n bottom: 0;\n width: 100%;\n min-height: 44px; }\n .pswp__caption small {\n font-size: 11px;\n color: #BBB; }\n\n.pswp__caption__center {\n text-align: left;\n max-width: 420px;\n margin: 0 auto;\n font-size: 13px;\n padding: 10px;\n line-height: 20px;\n color: #CCC; }\n\n.pswp__caption--empty {\n display: none; }\n\n/* Fake caption element, used to calculate height of next/prev image */\n.pswp__caption--fake {\n visibility: hidden; }\n\n/*\n\n\t5. Loading indicator (preloader)\n\n\tYou can play with it here - http://codepen.io/dimsemenov/pen/yyBWoR\n\n */\n.pswp__preloader {\n width: 44px;\n height: 44px;\n position: absolute;\n top: 0;\n left: 50%;\n margin-left: -22px;\n opacity: 0;\n transition: opacity 0.25s ease-out;\n will-change: opacity;\n direction: ltr; }\n\n.pswp__preloader__icn {\n width: 20px;\n height: 20px;\n margin: 12px; }\n\n.pswp__preloader--active {\n opacity: 1; }\n .pswp__preloader--active .pswp__preloader__icn {\n /* We use .gif in browsers that don\'t support CSS animation */\n background: url(preloader.gif) 0 0 no-repeat; }\n\n.pswp--css_animation .pswp__preloader--active {\n opacity: 1; }\n .pswp--css_animation .pswp__preloader--active .pswp__preloader__icn {\n -webkit-animation: clockwise 500ms linear infinite;\n animation: clockwise 500ms linear infinite; }\n .pswp--css_animation .pswp__preloader--active .pswp__preloader__donut {\n -webkit-animation: donut-rotate 1000ms cubic-bezier(0.4, 0, 0.22, 1) infinite;\n animation: donut-rotate 1000ms cubic-bezier(0.4, 0, 0.22, 1) infinite; }\n\n.pswp--css_animation .pswp__preloader__icn {\n background: none;\n opacity: 0.75;\n width: 14px;\n height: 14px;\n position: absolute;\n left: 15px;\n top: 15px;\n margin: 0; }\n\n.pswp--css_animation .pswp__preloader__cut {\n /* \n\t\t\tThe idea of animating inner circle is based on Polymer ("material") loading indicator \n\t\t\t by Keanu Lee https://blog.keanulee.com/2014/10/20/the-tale-of-three-spinners.html\n\t\t*/\n position: relative;\n width: 7px;\n height: 14px;\n overflow: hidden; }\n\n.pswp--css_animation .pswp__preloader__donut {\n box-sizing: border-box;\n width: 14px;\n height: 14px;\n border: 2px solid #FFF;\n border-radius: 50%;\n border-left-color: transparent;\n border-bottom-color: transparent;\n position: absolute;\n top: 0;\n left: 0;\n background: none;\n margin: 0; }\n\n@media screen and (max-width: 1024px) {\n .pswp__preloader {\n position: relative;\n left: auto;\n top: auto;\n margin: 0;\n float: right; } }\n\n@-webkit-keyframes clockwise {\n 0% {\n transform: rotate(0deg); }\n 100% {\n transform: rotate(360deg); } }\n\n@keyframes clockwise {\n 0% {\n transform: rotate(0deg); }\n 100% {\n transform: rotate(360deg); } }\n\n@-webkit-keyframes donut-rotate {\n 0% {\n transform: rotate(0); }\n 50% {\n transform: rotate(-140deg); }\n 100% {\n transform: rotate(0); } }\n\n@keyframes donut-rotate {\n 0% {\n transform: rotate(0); }\n 50% {\n transform: rotate(-140deg); }\n 100% {\n transform: rotate(0); } }\n\n/*\n\t\n\t6. Additional styles\n\n */\n/* root element of UI */\n.pswp__ui {\n -webkit-font-smoothing: auto;\n visibility: visible;\n opacity: 1;\n z-index: 1550; }\n\n/* top black bar with buttons and "1 of X" indicator */\n.pswp__top-bar {\n position: absolute;\n left: 0;\n top: 0;\n height: 44px;\n width: 100%; }\n\n.pswp__caption,\n.pswp__top-bar,\n.pswp--has_mouse .pswp__button--arrow--left,\n.pswp--has_mouse .pswp__button--arrow--right {\n -webkit-backface-visibility: hidden;\n will-change: opacity;\n transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); }\n\n/* pswp--has_mouse class is added only when two subsequent mousemove events occur */\n.pswp--has_mouse .pswp__button--arrow--left,\n.pswp--has_mouse .pswp__button--arrow--right {\n visibility: visible; }\n\n.pswp__top-bar,\n.pswp__caption {\n background-color: rgba(0, 0, 0, 0.5); }\n\n/* pswp__ui--fit class is added when main image "fits" between top bar and bottom bar (caption) */\n.pswp__ui--fit .pswp__top-bar,\n.pswp__ui--fit .pswp__caption {\n background-color: rgba(0, 0, 0, 0.3); }\n\n/* pswp__ui--idle class is added when mouse isn\'t moving for several seconds (JS option timeToIdle) */\n.pswp__ui--idle .pswp__top-bar {\n opacity: 0; }\n\n.pswp__ui--idle .pswp__button--arrow--left,\n.pswp__ui--idle .pswp__button--arrow--right {\n opacity: 0; }\n\n/*\n\tpswp__ui--hidden class is added when controls are hidden\n\te.g. when user taps to toggle visibility of controls\n*/\n.pswp__ui--hidden .pswp__top-bar,\n.pswp__ui--hidden .pswp__caption,\n.pswp__ui--hidden .pswp__button--arrow--left,\n.pswp__ui--hidden .pswp__button--arrow--right {\n /* Force paint & create composition layer for controls. */\n opacity: 0.001; }\n\n/* pswp__ui--one-slide class is added when there is just one item in gallery */\n.pswp__ui--one-slide .pswp__button--arrow--left,\n.pswp__ui--one-slide .pswp__button--arrow--right,\n.pswp__ui--one-slide .pswp__counter {\n display: none; }\n\n.pswp__element--disabled {\n display: none !important; }\n\n.pswp--minimal--dark .pswp__top-bar {\n background: none; }\n');var ire={exports:{}};
|
|
133
133
|
/*! PhotoSwipe - v4.1.3 - 2019-01-08
|
|
134
134
|
* http://photoswipe.com
|
|
135
135
|
* Copyright (c) 2019 Dmitry Semenov; */!function(e,t){e.exports=function(){var e=function(e,t,n,i){var r={features:null,bind:function(e,t,n,i){var r=(i?"remove":"add")+"EventListener";t=t.split(" ");for(var a=0;a<t.length;a++)t[a]&&e[r](t[a],n,!1)},isArray:function(e){return e instanceof Array},createEl:function(e,t){var n=document.createElement(t||"div");return e&&(n.className=e),n},getScrollY:function(){var e=window.pageYOffset;return void 0!==e?e:document.documentElement.scrollTop},unbind:function(e,t,n){r.bind(e,t,n,!0)},removeClass:function(e,t){var n=new RegExp("(\\s|^)"+t+"(\\s|$)");e.className=e.className.replace(n," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")},addClass:function(e,t){r.hasClass(e,t)||(e.className+=(e.className?" ":"")+t)},hasClass:function(e,t){return e.className&&new RegExp("(^|\\s)"+t+"(\\s|$)").test(e.className)},getChildByClass:function(e,t){for(var n=e.firstChild;n;){if(r.hasClass(n,t))return n;n=n.nextSibling}},arraySearch:function(e,t,n){for(var i=e.length;i--;)if(e[i][n]===t)return i;return-1},extend:function(e,t,n){for(var i in t)if(t.hasOwnProperty(i)){if(n&&e.hasOwnProperty(i))continue;e[i]=t[i]}},easing:{sine:{out:function(e){return Math.sin(e*(Math.PI/2))},inOut:function(e){return-(Math.cos(Math.PI*e)-1)/2}},cubic:{out:function(e){return--e*e*e+1}}},detectFeatures:function(){if(r.features)return r.features;var e=r.createEl().style,t="",n={};if(n.oldIE=document.all&&!document.addEventListener,n.touch="ontouchstart"in window,window.requestAnimationFrame&&(n.raf=window.requestAnimationFrame,n.caf=window.cancelAnimationFrame),n.pointerEvent=!!window.PointerEvent||navigator.msPointerEnabled,!n.pointerEvent){var i=navigator.userAgent;if(/iP(hone|od)/.test(navigator.platform)){var a=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);a&&a.length>0&&(a=parseInt(a[1],10))>=1&&a<8&&(n.isOldIOSPhone=!0)}var o=i.match(/Android\s([0-9\.]*)/),s=o?o[1]:0;(s=parseFloat(s))>=1&&(s<4.4&&(n.isOldAndroid=!0),n.androidVersion=s),n.isMobileOpera=/opera mini|opera mobi/i.test(i)}for(var l,u,c=["transform","perspective","animationName"],d=["","webkit","Moz","ms","O"],h=0;h<4;h++){t=d[h];for(var p=0;p<3;p++)l=c[p],u=t+(t?l.charAt(0).toUpperCase()+l.slice(1):l),!n[l]&&u in e&&(n[l]=u);t&&!n.raf&&(t=t.toLowerCase(),n.raf=window[t+"RequestAnimationFrame"],n.raf&&(n.caf=window[t+"CancelAnimationFrame"]||window[t+"CancelRequestAnimationFrame"]))}if(!n.raf){var f=0;n.raf=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-f)),i=window.setTimeout((function(){e(t+n)}),n);return f=t+n,i},n.caf=function(e){clearTimeout(e)}}return n.svg=!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,r.features=n,n}};r.detectFeatures(),r.features.oldIE&&(r.bind=function(e,t,n,i){t=t.split(" ");for(var r,a=(i?"detach":"attach")+"Event",o=function(){n.handleEvent.call(n)},s=0;s<t.length;s++)if(r=t[s])if("object"==typeof n&&n.handleEvent){if(i){if(!n["oldIE"+r])return!1}else n["oldIE"+r]=o;e[a]("on"+r,n["oldIE"+r])}else e[a]("on"+r,n)});var a=this,o=25,s=3,l={allowPanToNext:!0,spacing:.12,bgOpacity:1,mouseUsed:!1,loop:!0,pinchToClose:!0,closeOnScroll:!0,closeOnVerticalDrag:!0,verticalDragRange:.75,hideAnimationDuration:333,showAnimationDuration:333,showHideOpacity:!1,focus:!0,escKey:!0,arrowKeys:!0,mainScrollEndFriction:.35,panEndFriction:.35,isClickableElement:function(e){return"A"===e.tagName},getDoubleTapZoom:function(e,t){return e||t.initialZoomLevel<.7?1:1.33},maxSpreadZoom:1.33,modal:!0,scaleMode:"fit"};r.extend(l,i);var u,c,d,h,p,f,m,g,v,y,b,O,_,w,k,x,S,P,E,F,C,T,D,A,I,L,z,$,R,Q,j,M,N,U,q,B,G,W,X,V,Y,Z,H,K,J,ee,te,ne,ie,re,ae,oe,se,le,ue,ce,de=function(){return{x:0,y:0}},he=de(),pe=de(),fe=de(),me={},ge=0,ve={},ye=de(),be=0,Oe=!0,_e=[],we={},ke=!1,xe=function(e,t){r.extend(a,t.publicMethods),_e.push(e)},Se=function(e){var t=Jt();return e>t-1?e-t:e<0?t+e:e},Pe={},Ee=function(e,t){return Pe[e]||(Pe[e]=[]),Pe[e].push(t)},Fe=function(e){var t=Pe[e];if(t){var n=Array.prototype.slice.call(arguments);n.shift();for(var i=0;i<t.length;i++)t[i].apply(a,n)}},Ce=function(){return(new Date).getTime()},Te=function(e){le=e,a.bg.style.opacity=e*l.bgOpacity},De=function(e,t,n,i,r){(!ke||r&&r!==a.currItem)&&(i/=r?r.fitRatio:a.currItem.fitRatio),e[T]=O+t+"px, "+n+"px"+_+" scale("+i+")"},Ae=function(e){ie&&(e&&(y>a.currItem.fitRatio?ke||(dn(a.currItem,!1,!0),ke=!0):ke&&(dn(a.currItem),ke=!1)),De(ie,fe.x,fe.y,y))},Ie=function(e){e.container&&De(e.container.style,e.initialPosition.x,e.initialPosition.y,e.initialZoomLevel,e)},Le=function(e,t){t[T]=O+e+"px, 0px"+_},ze=function(e,t){if(!l.loop&&t){var n=h+(ye.x*ge-e)/ye.x,i=Math.round(e-yt.x);(n<0&&i>0||n>=Jt()-1&&i<0)&&(e=yt.x+i*l.mainScrollEndFriction)}yt.x=e,Le(e,p)},$e=function(e,t){var n=bt[e]-ve[e];return pe[e]+he[e]+n-n*(t/b)},Re=function(e,t){e.x=t.x,e.y=t.y,t.id&&(e.id=t.id)},Qe=function(e){e.x=Math.round(e.x),e.y=Math.round(e.y)},je=null,Me=function(){je&&(r.unbind(document,"mousemove",Me),r.addClass(e,"pswp--has_mouse"),l.mouseUsed=!0,Fe("mouseUsed")),je=setTimeout((function(){je=null}),100)},Ne=function(){r.bind(document,"keydown",a),j.transform&&r.bind(a.scrollWrap,"click",a),l.mouseUsed||r.bind(document,"mousemove",Me),r.bind(window,"resize scroll orientationchange",a),Fe("bindEvents")},Ue=function(){r.unbind(window,"resize scroll orientationchange",a),r.unbind(window,"scroll",v.scroll),r.unbind(document,"keydown",a),r.unbind(document,"mousemove",Me),j.transform&&r.unbind(a.scrollWrap,"click",a),X&&r.unbind(window,m,a),clearTimeout(M),Fe("unbindEvents")},qe=function(e,t){var n=sn(a.currItem,me,e);return t&&(ne=n),n},Be=function(e){return e||(e=a.currItem),e.initialZoomLevel},Ge=function(e){return e||(e=a.currItem),e.w>0?l.maxSpreadZoom:1},We=function(e,t,n,i){return i===a.currItem.initialZoomLevel?(n[e]=a.currItem.initialPosition[e],!0):(n[e]=$e(e,i),n[e]>t.min[e]?(n[e]=t.min[e],!0):n[e]<t.max[e]&&(n[e]=t.max[e],!0))},Xe=function(){if(T){var t=j.perspective&&!A;return O="translate"+(t?"3d(":"("),void(_=j.perspective?", 0px)":")")}T="left",r.addClass(e,"pswp--ie"),Le=function(e,t){t.left=e+"px"},Ie=function(e){var t=e.fitRatio>1?1:e.fitRatio,n=e.container.style,i=t*e.w,r=t*e.h;n.width=i+"px",n.height=r+"px",n.left=e.initialPosition.x+"px",n.top=e.initialPosition.y+"px"},Ae=function(){if(ie){var e=ie,t=a.currItem,n=t.fitRatio>1?1:t.fitRatio,i=n*t.w,r=n*t.h;e.width=i+"px",e.height=r+"px",e.left=fe.x+"px",e.top=fe.y+"px"}}},Ve=function(e){var t="";l.escKey&&27===e.keyCode?t="close":l.arrowKeys&&(37===e.keyCode?t="prev":39===e.keyCode&&(t="next")),t&&(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey||(e.preventDefault?e.preventDefault():e.returnValue=!1,a[t]()))},Ye=function(e){e&&(Z||Y||re||G)&&(e.preventDefault(),e.stopPropagation())},Ze=function(){a.setScrollOffset(0,r.getScrollY())},He={},Ke=0,Je=function(e){He[e]&&(He[e].raf&&L(He[e].raf),Ke--,delete He[e])},et=function(e){He[e]&&Je(e),He[e]||(Ke++,He[e]={})},tt=function(){for(var e in He)He.hasOwnProperty(e)&&Je(e)},nt=function(e,t,n,i,r,a,o){var s,l=Ce();et(e);var u=function(){if(He[e]){if((s=Ce()-l)>=i)return Je(e),a(n),void(o&&o());a((n-t)*r(s/i)+t),He[e].raf=I(u)}};u()},it={shout:Fe,listen:Ee,viewportSize:me,options:l,isMainScrollAnimating:function(){return re},getZoomLevel:function(){return y},getCurrentIndex:function(){return h},isDragging:function(){return X},isZooming:function(){return ee},setScrollOffset:function(e,t){ve.x=e,Q=ve.y=t,Fe("updateScrollOffset",ve)},applyZoomPan:function(e,t,n,i){fe.x=t,fe.y=n,y=e,Ae(i)},init:function(){if(!u&&!c){var n;a.framework=r,a.template=e,a.bg=r.getChildByClass(e,"pswp__bg"),z=e.className,u=!0,j=r.detectFeatures(),I=j.raf,L=j.caf,T=j.transform,R=j.oldIE,a.scrollWrap=r.getChildByClass(e,"pswp__scroll-wrap"),a.container=r.getChildByClass(a.scrollWrap,"pswp__container"),p=a.container.style,a.itemHolders=x=[{el:a.container.children[0],wrap:0,index:-1},{el:a.container.children[1],wrap:0,index:-1},{el:a.container.children[2],wrap:0,index:-1}],x[0].el.style.display=x[2].el.style.display="none",Xe(),v={resize:a.updateSize,orientationchange:function(){clearTimeout(M),M=setTimeout((function(){me.x!==a.scrollWrap.clientWidth&&a.updateSize()}),500)},scroll:Ze,keydown:Ve,click:Ye};var i=j.isOldIOSPhone||j.isOldAndroid||j.isMobileOpera;for(j.animationName&&j.transform&&!i||(l.showAnimationDuration=l.hideAnimationDuration=0),n=0;n<_e.length;n++)a["init"+_e[n]]();t&&(a.ui=new t(a,r)).init(),Fe("firstUpdate"),h=h||l.index||0,(isNaN(h)||h<0||h>=Jt())&&(h=0),a.currItem=Kt(h),(j.isOldIOSPhone||j.isOldAndroid)&&(Oe=!1),e.setAttribute("aria-hidden","false"),l.modal&&(Oe?e.style.position="fixed":(e.style.position="absolute",e.style.top=r.getScrollY()+"px")),void 0===Q&&(Fe("initialLayout"),Q=$=r.getScrollY());var o="pswp--open ";for(l.mainClass&&(o+=l.mainClass+" "),l.showHideOpacity&&(o+="pswp--animate_opacity "),o+=A?"pswp--touch":"pswp--notouch",o+=j.animationName?" pswp--css_animation":"",o+=j.svg?" pswp--svg":"",r.addClass(e,o),a.updateSize(),f=-1,be=null,n=0;n<s;n++)Le((n+f)*ye.x,x[n].el.style);R||r.bind(a.scrollWrap,g,a),Ee("initialZoomInEnd",(function(){a.setContent(x[0],h-1),a.setContent(x[2],h+1),x[0].el.style.display=x[2].el.style.display="block",l.focus&&e.focus(),Ne()})),a.setContent(x[1],h),a.updateCurrItem(),Fe("afterInit"),Oe||(w=setInterval((function(){Ke||X||ee||y!==a.currItem.initialZoomLevel||a.updateSize()}),1e3)),r.addClass(e,"pswp--visible")}},close:function(){u&&(u=!1,c=!0,Fe("close"),Ue(),en(a.currItem,null,!0,a.destroy))},destroy:function(){Fe("destroy"),Vt&&clearTimeout(Vt),e.setAttribute("aria-hidden","true"),e.className=z,w&&clearInterval(w),r.unbind(a.scrollWrap,g,a),r.unbind(window,"scroll",a),xt(),tt(),Pe=null},panTo:function(e,t,n){n||(e>ne.min.x?e=ne.min.x:e<ne.max.x&&(e=ne.max.x),t>ne.min.y?t=ne.min.y:t<ne.max.y&&(t=ne.max.y)),fe.x=e,fe.y=t,Ae()},handleEvent:function(e){e=e||window.event,v[e.type]&&v[e.type](e)},goTo:function(e){var t=(e=Se(e))-h;be=t,h=e,a.currItem=Kt(h),ge-=t,ze(ye.x*ge),tt(),re=!1,a.updateCurrItem()},next:function(){a.goTo(h+1)},prev:function(){a.goTo(h-1)},updateCurrZoomItem:function(e){if(e&&Fe("beforeChange",0),x[1].el.children.length){var t=x[1].el.children[0];ie=r.hasClass(t,"pswp__zoom-wrap")?t.style:null}else ie=null;ne=a.currItem.bounds,b=y=a.currItem.initialZoomLevel,fe.x=ne.center.x,fe.y=ne.center.y,e&&Fe("afterChange")},invalidateCurrItems:function(){k=!0;for(var e=0;e<s;e++)x[e].item&&(x[e].item.needsUpdate=!0)},updateCurrItem:function(e){if(0!==be){var t,n=Math.abs(be);if(!(e&&n<2)){a.currItem=Kt(h),ke=!1,Fe("beforeChange",be),n>=s&&(f+=be+(be>0?-s:s),n=s);for(var i=0;i<n;i++)be>0?(t=x.shift(),x[s-1]=t,f++,Le((f+2)*ye.x,t.el.style),a.setContent(t,h-n+i+1+1)):(t=x.pop(),x.unshift(t),f--,Le(f*ye.x,t.el.style),a.setContent(t,h+n-i-1-1));if(ie&&1===Math.abs(be)){var r=Kt(S);r.initialZoomLevel!==y&&(sn(r,me),dn(r),Ie(r))}be=0,a.updateCurrZoomItem(),S=h,Fe("afterChange")}}},updateSize:function(t){if(!Oe&&l.modal){var n=r.getScrollY();if(Q!==n&&(e.style.top=n+"px",Q=n),!t&&we.x===window.innerWidth&&we.y===window.innerHeight)return;we.x=window.innerWidth,we.y=window.innerHeight,e.style.height=we.y+"px"}if(me.x=a.scrollWrap.clientWidth,me.y=a.scrollWrap.clientHeight,Ze(),ye.x=me.x+Math.round(me.x*l.spacing),ye.y=me.y,ze(ye.x*ge),Fe("beforeResize"),void 0!==f){for(var i,o,u,c=0;c<s;c++)i=x[c],Le((c+f)*ye.x,i.el.style),u=h+c-1,l.loop&&Jt()>2&&(u=Se(u)),(o=Kt(u))&&(k||o.needsUpdate||!o.bounds)?(a.cleanSlide(o),a.setContent(i,u),1===c&&(a.currItem=o,a.updateCurrZoomItem(!0)),o.needsUpdate=!1):-1===i.index&&u>=0&&a.setContent(i,u),o&&o.container&&(sn(o,me),dn(o),Ie(o));k=!1}b=y=a.currItem.initialZoomLevel,(ne=a.currItem.bounds)&&(fe.x=ne.center.x,fe.y=ne.center.y,Ae(!0)),Fe("resize")},zoomTo:function(e,t,n,i,a){t&&(b=y,bt.x=Math.abs(t.x)-fe.x,bt.y=Math.abs(t.y)-fe.y,Re(pe,fe));var o=qe(e,!1),s={};We("x",o,s,e),We("y",o,s,e);var l=y,u={x:fe.x,y:fe.y};Qe(s);var c=function(t){1===t?(y=e,fe.x=s.x,fe.y=s.y):(y=(e-l)*t+l,fe.x=(s.x-u.x)*t+u.x,fe.y=(s.y-u.y)*t+u.y),a&&a(t),Ae(1===t)};n?nt("customZoomTo",0,1,n,i||r.easing.sine.inOut,c):c(1)}},rt=30,at=10,ot={},st={},lt={},ut={},ct={},dt=[],ht={},pt=[],ft={},mt=0,gt=de(),vt=0,yt=de(),bt=de(),Ot=de(),_t=function(e,t){return e.x===t.x&&e.y===t.y},wt=function(e,t){return Math.abs(e.x-t.x)<o&&Math.abs(e.y-t.y)<o},kt=function(e,t){return ft.x=Math.abs(e.x-t.x),ft.y=Math.abs(e.y-t.y),Math.sqrt(ft.x*ft.x+ft.y*ft.y)},xt=function(){H&&(L(H),H=null)},St=function(){X&&(H=I(St),Nt())},Pt=function(){return!("fit"===l.scaleMode&&y===a.currItem.initialZoomLevel)},Et=function(e,t){return!(!e||e===document)&&!(e.getAttribute("class")&&e.getAttribute("class").indexOf("pswp__scroll-wrap")>-1)&&(t(e)?e:Et(e.parentNode,t))},Ft={},Ct=function(e,t){return Ft.prevent=!Et(e.target,l.isClickableElement),Fe("preventDragEvent",e,t,Ft),Ft.prevent},Tt=function(e,t){return t.x=e.pageX,t.y=e.pageY,t.id=e.identifier,t},Dt=function(e,t,n){n.x=.5*(e.x+t.x),n.y=.5*(e.y+t.y)},At=function(e,t,n){if(e-U>50){var i=pt.length>2?pt.shift():{};i.x=t,i.y=n,pt.push(i),U=e}},It=function(){var e=fe.y-a.currItem.initialPosition.y;return 1-Math.abs(e/(me.y/2))},Lt={},zt={},$t=[],Rt=function(e){for(;$t.length>0;)$t.pop();return D?(ce=0,dt.forEach((function(e){0===ce?$t[0]=e:1===ce&&($t[1]=e),ce++}))):e.type.indexOf("touch")>-1?e.touches&&e.touches.length>0&&($t[0]=Tt(e.touches[0],Lt),e.touches.length>1&&($t[1]=Tt(e.touches[1],zt))):(Lt.x=e.pageX,Lt.y=e.pageY,Lt.id="",$t[0]=Lt),$t},Qt=function(e,t){var n,i,r,o,s=fe[e]+t[e],u=t[e]>0,c=yt.x+t.x,d=yt.x-ht.x;if(n=s>ne.min[e]||s<ne.max[e]?l.panEndFriction:1,s=fe[e]+t[e]*n,(l.allowPanToNext||y===a.currItem.initialZoomLevel)&&(ie?"h"!==ae||"x"!==e||Y||(u?(s>ne.min[e]&&(n=l.panEndFriction,ne.min[e],i=ne.min[e]-pe[e]),(i<=0||d<0)&&Jt()>1?(o=c,d<0&&c>ht.x&&(o=ht.x)):ne.min.x!==ne.max.x&&(r=s)):(s<ne.max[e]&&(n=l.panEndFriction,ne.max[e],i=pe[e]-ne.max[e]),(i<=0||d>0)&&Jt()>1?(o=c,d>0&&c<ht.x&&(o=ht.x)):ne.min.x!==ne.max.x&&(r=s))):o=c,"x"===e))return void 0!==o&&(ze(o,!0),K=o!==ht.x),ne.min.x!==ne.max.x&&(void 0!==r?fe.x=r:K||(fe.x+=t.x*n)),void 0!==o;re||K||y>a.currItem.fitRatio&&(fe[e]+=t[e]*n)},jt=function(e){if(!("mousedown"===e.type&&e.button>0))if(Ht)e.preventDefault();else if(!W||"mousedown"!==e.type){if(Ct(e,!0)&&e.preventDefault(),Fe("pointerDown"),D){var t=r.arraySearch(dt,e.pointerId,"id");t<0&&(t=dt.length),dt[t]={x:e.pageX,y:e.pageY,id:e.pointerId}}var n=Rt(e),i=n.length;J=null,tt(),X&&1!==i||(X=oe=!0,r.bind(window,m,a),B=ue=se=G=K=Z=V=Y=!1,ae=null,Fe("firstTouchStart",n),Re(pe,fe),he.x=he.y=0,Re(ut,n[0]),Re(ct,ut),ht.x=ye.x*ge,pt=[{x:ut.x,y:ut.y}],U=N=Ce(),qe(y,!0),xt(),St()),!ee&&i>1&&!re&&!K&&(b=y,Y=!1,ee=V=!0,he.y=he.x=0,Re(pe,fe),Re(ot,n[0]),Re(st,n[1]),Dt(ot,st,Ot),bt.x=Math.abs(Ot.x)-fe.x,bt.y=Math.abs(Ot.y)-fe.y,te=kt(ot,st))}},Mt=function(e){if(e.preventDefault(),D){var t=r.arraySearch(dt,e.pointerId,"id");if(t>-1){var n=dt[t];n.x=e.pageX,n.y=e.pageY}}if(X){var i=Rt(e);if(ae||Z||ee)J=i;else if(yt.x!==ye.x*ge)ae="h";else{var a=Math.abs(i[0].x-ut.x)-Math.abs(i[0].y-ut.y);Math.abs(a)>=at&&(ae=a>0?"h":"v",J=i)}}},Nt=function(){if(J){var e=J.length;if(0!==e)if(Re(ot,J[0]),lt.x=ot.x-ut.x,lt.y=ot.y-ut.y,ee&&e>1){if(ut.x=ot.x,ut.y=ot.y,!lt.x&&!lt.y&&_t(J[1],st))return;Re(st,J[1]),Y||(Y=!0,Fe("zoomGestureStarted"));var t=kt(ot,st),n=Wt(t);n>a.currItem.initialZoomLevel+a.currItem.initialZoomLevel/15&&(ue=!0);var i=1,r=Be(),o=Ge();if(n<r)if(l.pinchToClose&&!ue&&b<=a.currItem.initialZoomLevel){var s=1-(r-n)/(r/1.2);Te(s),Fe("onPinchClose",s),se=!0}else(i=(r-n)/r)>1&&(i=1),n=r-i*(r/3);else n>o&&((i=(n-o)/(6*r))>1&&(i=1),n=o+i*r);i<0&&(i=0),Dt(ot,st,gt),he.x+=gt.x-Ot.x,he.y+=gt.y-Ot.y,Re(Ot,gt),fe.x=$e("x",n),fe.y=$e("y",n),B=n>y,y=n,Ae()}else{if(!ae)return;if(oe&&(oe=!1,Math.abs(lt.x)>=at&&(lt.x-=J[0].x-ct.x),Math.abs(lt.y)>=at&&(lt.y-=J[0].y-ct.y)),ut.x=ot.x,ut.y=ot.y,0===lt.x&&0===lt.y)return;if("v"===ae&&l.closeOnVerticalDrag&&!Pt()){he.y+=lt.y,fe.y+=lt.y;var u=It();return G=!0,Fe("onVerticalDrag",u),Te(u),void Ae()}At(Ce(),ot.x,ot.y),Z=!0,ne=a.currItem.bounds,Qt("x",lt)||(Qt("y",lt),Qe(fe),Ae())}}},Ut=function(e){if(j.isOldAndroid){if(W&&"mouseup"===e.type)return;e.type.indexOf("touch")>-1&&(clearTimeout(W),W=setTimeout((function(){W=0}),600))}var t;if(Fe("pointerUp"),Ct(e,!1)&&e.preventDefault(),D){var n=r.arraySearch(dt,e.pointerId,"id");if(n>-1)if(t=dt.splice(n,1)[0],navigator.msPointerEnabled){var i={4:"mouse",2:"touch",3:"pen"};t.type=i[e.pointerType],t.type||(t.type=e.pointerType||"mouse")}else t.type=e.pointerType||"mouse"}var o,s=Rt(e),u=s.length;if("mouseup"===e.type&&(u=0),2===u)return J=null,!0;1===u&&Re(ct,s[0]),0!==u||ae||re||(t||("mouseup"===e.type?t={x:e.pageX,y:e.pageY,type:"mouse"}:e.changedTouches&&e.changedTouches[0]&&(t={x:e.changedTouches[0].pageX,y:e.changedTouches[0].pageY,type:"touch"})),Fe("touchRelease",e,t));var c=-1;if(0===u&&(X=!1,r.unbind(window,m,a),xt(),ee?c=0:-1!==vt&&(c=Ce()-vt)),vt=1===u?Ce():-1,o=-1!==c&&c<150?"zoom":"swipe",ee&&u<2&&(ee=!1,1===u&&(o="zoomPointerUp"),Fe("zoomGestureEnded")),J=null,Z||Y||re||G)if(tt(),q||(q=qt()),q.calculateSwipeSpeed("x"),G)if(It()<l.verticalDragRange)a.close();else{var d=fe.y,h=le;nt("verticalDrag",0,1,300,r.easing.cubic.out,(function(e){fe.y=(a.currItem.initialPosition.y-d)*e+d,Te((1-h)*e+h),Ae()})),Fe("onVerticalDrag",1)}else{if((K||re)&&0===u){if(Gt(o,q))return;o="zoomPointerUp"}re||("swipe"===o?!K&&y>a.currItem.fitRatio&&Bt(q):Xt())}},qt=function(){var e,t,n={lastFlickOffset:{},lastFlickDist:{},lastFlickSpeed:{},slowDownRatio:{},slowDownRatioReverse:{},speedDecelerationRatio:{},speedDecelerationRatioAbs:{},distanceOffset:{},backAnimDestination:{},backAnimStarted:{},calculateSwipeSpeed:function(i){pt.length>1?(e=Ce()-U+50,t=pt[pt.length-2][i]):(e=Ce()-N,t=ct[i]),n.lastFlickOffset[i]=ut[i]-t,n.lastFlickDist[i]=Math.abs(n.lastFlickOffset[i]),n.lastFlickDist[i]>20?n.lastFlickSpeed[i]=n.lastFlickOffset[i]/e:n.lastFlickSpeed[i]=0,Math.abs(n.lastFlickSpeed[i])<.1&&(n.lastFlickSpeed[i]=0),n.slowDownRatio[i]=.95,n.slowDownRatioReverse[i]=1-n.slowDownRatio[i],n.speedDecelerationRatio[i]=1},calculateOverBoundsAnimOffset:function(e,t){n.backAnimStarted[e]||(fe[e]>ne.min[e]?n.backAnimDestination[e]=ne.min[e]:fe[e]<ne.max[e]&&(n.backAnimDestination[e]=ne.max[e]),void 0!==n.backAnimDestination[e]&&(n.slowDownRatio[e]=.7,n.slowDownRatioReverse[e]=1-n.slowDownRatio[e],n.speedDecelerationRatioAbs[e]<.05&&(n.lastFlickSpeed[e]=0,n.backAnimStarted[e]=!0,nt("bounceZoomPan"+e,fe[e],n.backAnimDestination[e],t||300,r.easing.sine.out,(function(t){fe[e]=t,Ae()})))))},calculateAnimOffset:function(e){n.backAnimStarted[e]||(n.speedDecelerationRatio[e]=n.speedDecelerationRatio[e]*(n.slowDownRatio[e]+n.slowDownRatioReverse[e]-n.slowDownRatioReverse[e]*n.timeDiff/10),n.speedDecelerationRatioAbs[e]=Math.abs(n.lastFlickSpeed[e]*n.speedDecelerationRatio[e]),n.distanceOffset[e]=n.lastFlickSpeed[e]*n.speedDecelerationRatio[e]*n.timeDiff,fe[e]+=n.distanceOffset[e])},panAnimLoop:function(){if(He.zoomPan&&(He.zoomPan.raf=I(n.panAnimLoop),n.now=Ce(),n.timeDiff=n.now-n.lastNow,n.lastNow=n.now,n.calculateAnimOffset("x"),n.calculateAnimOffset("y"),Ae(),n.calculateOverBoundsAnimOffset("x"),n.calculateOverBoundsAnimOffset("y"),n.speedDecelerationRatioAbs.x<.05&&n.speedDecelerationRatioAbs.y<.05))return fe.x=Math.round(fe.x),fe.y=Math.round(fe.y),Ae(),void Je("zoomPan")}};return n},Bt=function(e){if(e.calculateSwipeSpeed("y"),ne=a.currItem.bounds,e.backAnimDestination={},e.backAnimStarted={},Math.abs(e.lastFlickSpeed.x)<=.05&&Math.abs(e.lastFlickSpeed.y)<=.05)return e.speedDecelerationRatioAbs.x=e.speedDecelerationRatioAbs.y=0,e.calculateOverBoundsAnimOffset("x"),e.calculateOverBoundsAnimOffset("y"),!0;et("zoomPan"),e.lastNow=Ce(),e.panAnimLoop()},Gt=function(e,t){var n,i,o;if(re||(mt=h),"swipe"===e){var s=ut.x-ct.x,u=t.lastFlickDist.x<10;s>rt&&(u||t.lastFlickOffset.x>20)?i=-1:s<-rt&&(u||t.lastFlickOffset.x<-20)&&(i=1)}i&&((h+=i)<0?(h=l.loop?Jt()-1:0,o=!0):h>=Jt()&&(h=l.loop?0:Jt()-1,o=!0),o&&!l.loop||(be+=i,ge-=i,n=!0));var c,d=ye.x*ge,p=Math.abs(d-yt.x);return n||d>yt.x==t.lastFlickSpeed.x>0?(c=Math.abs(t.lastFlickSpeed.x)>0?p/Math.abs(t.lastFlickSpeed.x):333,c=Math.min(c,400),c=Math.max(c,250)):c=333,mt===h&&(n=!1),re=!0,Fe("mainScrollAnimStart"),nt("mainScroll",yt.x,d,c,r.easing.cubic.out,ze,(function(){tt(),re=!1,mt=-1,(n||mt!==h)&&a.updateCurrItem(),Fe("mainScrollAnimComplete")})),n&&a.updateCurrItem(!0),n},Wt=function(e){return 1/te*e*b},Xt=function(){var e=y,t=Be(),n=Ge();y<t?e=t:y>n&&(e=n);var i,o=1,s=le;return se&&!B&&!ue&&y<t?(a.close(),!0):(se&&(i=function(e){Te((o-s)*e+s)}),a.zoomTo(e,0,200,r.easing.cubic.out,i),!0)};xe("Gestures",{publicMethods:{initGestures:function(){var e=function(e,t,n,i,r){P=e+t,E=e+n,F=e+i,C=r?e+r:""};(D=j.pointerEvent)&&j.touch&&(j.touch=!1),D?navigator.msPointerEnabled?e("MSPointer","Down","Move","Up","Cancel"):e("pointer","down","move","up","cancel"):j.touch?(e("touch","start","move","end","cancel"),A=!0):e("mouse","down","move","up"),m=E+" "+F+" "+C,g=P,D&&!A&&(A=navigator.maxTouchPoints>1||navigator.msMaxTouchPoints>1),a.likelyTouchDevice=A,v[P]=jt,v[E]=Mt,v[F]=Ut,C&&(v[C]=v[F]),j.touch&&(g+=" mousedown",m+=" mousemove mouseup",v.mousedown=v[P],v.mousemove=v[E],v.mouseup=v[F]),A||(l.allowPanToNext=!1)}}});var Vt,Yt,Zt,Ht,Kt,Jt,en=function(t,n,i,o){var s;Vt&&clearTimeout(Vt),Ht=!0,Zt=!0,t.initialLayout?(s=t.initialLayout,t.initialLayout=null):s=l.getThumbBoundsFn&&l.getThumbBoundsFn(h);var u=i?l.hideAnimationDuration:l.showAnimationDuration,c=function(){Je("initialZoom"),i?(a.template.removeAttribute("style"),a.bg.removeAttribute("style")):(Te(1),n&&(n.style.display="block"),r.addClass(e,"pswp--animated-in"),Fe("initialZoom"+(i?"OutEnd":"InEnd"))),o&&o(),Ht=!1};if(!u||!s||void 0===s.x)return Fe("initialZoom"+(i?"Out":"In")),y=t.initialZoomLevel,Re(fe,t.initialPosition),Ae(),e.style.opacity=i?0:1,Te(1),void(u?setTimeout((function(){c()}),u):c());var p=function(){var n=d,o=!a.currItem.src||a.currItem.loadError||l.showHideOpacity;t.miniImg&&(t.miniImg.style.webkitBackfaceVisibility="hidden"),i||(y=s.w/t.w,fe.x=s.x,fe.y=s.y-$,a[o?"template":"bg"].style.opacity=.001,Ae()),et("initialZoom"),i&&!n&&r.removeClass(e,"pswp--animated-in"),o&&(i?r[(n?"remove":"add")+"Class"](e,"pswp--animate_opacity"):setTimeout((function(){r.addClass(e,"pswp--animate_opacity")}),30)),Vt=setTimeout((function(){if(Fe("initialZoom"+(i?"Out":"In")),i){var a=s.w/t.w,l={x:fe.x,y:fe.y},d=y,h=le,p=function(t){1===t?(y=a,fe.x=s.x,fe.y=s.y-Q):(y=(a-d)*t+d,fe.x=(s.x-l.x)*t+l.x,fe.y=(s.y-Q-l.y)*t+l.y),Ae(),o?e.style.opacity=1-t:Te(h-t*h)};n?nt("initialZoom",0,1,u,r.easing.cubic.out,p,c):(p(1),Vt=setTimeout(c,u+20))}else y=t.initialZoomLevel,Re(fe,t.initialPosition),Ae(),Te(1),o?e.style.opacity=1:Te(1),Vt=setTimeout(c,u+20)}),i?25:90)};p()},tn={},nn=[],rn={index:0,errorMsg:'<div class="pswp__error-msg"><a href="%url%" target="_blank">The image</a> could not be loaded.</div>',forceProgressiveLoading:!1,preload:[1,1],getNumItemsFn:function(){return Yt.length}},an=function(){return{center:{x:0,y:0},max:{x:0,y:0},min:{x:0,y:0}}},on=function(e,t,n){var i=e.bounds;i.center.x=Math.round((tn.x-t)/2),i.center.y=Math.round((tn.y-n)/2)+e.vGap.top,i.max.x=t>tn.x?Math.round(tn.x-t):i.center.x,i.max.y=n>tn.y?Math.round(tn.y-n)+e.vGap.top:i.center.y,i.min.x=t>tn.x?0:i.center.x,i.min.y=n>tn.y?e.vGap.top:i.center.y},sn=function(e,t,n){if(e.src&&!e.loadError){var i=!n;if(i&&(e.vGap||(e.vGap={top:0,bottom:0}),Fe("parseVerticalMargin",e)),tn.x=t.x,tn.y=t.y-e.vGap.top-e.vGap.bottom,i){var r=tn.x/e.w,a=tn.y/e.h;e.fitRatio=r<a?r:a;var o=l.scaleMode;"orig"===o?n=1:"fit"===o&&(n=e.fitRatio),n>1&&(n=1),e.initialZoomLevel=n,e.bounds||(e.bounds=an())}if(!n)return;return on(e,e.w*n,e.h*n),i&&n===e.initialZoomLevel&&(e.initialPosition=e.bounds.center),e.bounds}return e.w=e.h=0,e.initialZoomLevel=e.fitRatio=1,e.bounds=an(),e.initialPosition=e.bounds.center,e.bounds},ln=function(e,t,n,i,r,o){t.loadError||i&&(t.imageAppended=!0,dn(t,i,t===a.currItem&&ke),n.appendChild(i),o&&setTimeout((function(){t&&t.loaded&&t.placeholder&&(t.placeholder.style.display="none",t.placeholder=null)}),500))},un=function(e){e.loading=!0,e.loaded=!1;var t=e.img=r.createEl("pswp__img","img"),n=function(){e.loading=!1,e.loaded=!0,e.loadComplete?e.loadComplete(e):e.img=null,t.onload=t.onerror=null,t=null};return t.onload=n,t.onerror=function(){e.loadError=!0,n()},t.src=e.src,t},cn=function(e,t){if(e.src&&e.loadError&&e.container)return t&&(e.container.innerHTML=""),e.container.innerHTML=l.errorMsg.replace("%url%",e.src),!0},dn=function(e,t,n){if(e.src){t||(t=e.container.lastChild);var i=n?e.w:Math.round(e.w*e.fitRatio),r=n?e.h:Math.round(e.h*e.fitRatio);e.placeholder&&!e.loaded&&(e.placeholder.style.width=i+"px",e.placeholder.style.height=r+"px"),t.style.width=i+"px",t.style.height=r+"px"}},hn=function(){if(nn.length){for(var e,t=0;t<nn.length;t++)(e=nn[t]).holder.index===e.index&&ln(e.index,e.item,e.baseDiv,e.img,!1,e.clearPlaceholder);nn=[]}};xe("Controller",{publicMethods:{lazyLoadItem:function(e){e=Se(e);var t=Kt(e);t&&(!t.loaded&&!t.loading||k)&&(Fe("gettingData",e,t),t.src&&un(t))},initController:function(){r.extend(l,rn,!0),a.items=Yt=n,Kt=a.getItemAt,(Jt=l.getNumItemsFn)()<3&&(l.loop=!1),Ee("beforeChange",(function(e){var t,n=l.preload,i=null===e||e>=0,r=Math.min(n[0],Jt()),o=Math.min(n[1],Jt());for(t=1;t<=(i?o:r);t++)a.lazyLoadItem(h+t);for(t=1;t<=(i?r:o);t++)a.lazyLoadItem(h-t)})),Ee("initialLayout",(function(){a.currItem.initialLayout=l.getThumbBoundsFn&&l.getThumbBoundsFn(h)})),Ee("mainScrollAnimComplete",hn),Ee("initialZoomInEnd",hn),Ee("destroy",(function(){for(var e,t=0;t<Yt.length;t++)(e=Yt[t]).container&&(e.container=null),e.placeholder&&(e.placeholder=null),e.img&&(e.img=null),e.preloader&&(e.preloader=null),e.loadError&&(e.loaded=e.loadError=!1);nn=null}))},getItemAt:function(e){return e>=0&&void 0!==Yt[e]&&Yt[e]},allowProgressiveImg:function(){return l.forceProgressiveLoading||!A||l.mouseUsed||screen.width>1200},setContent:function(e,t){l.loop&&(t=Se(t));var n=a.getItemAt(e.index);n&&(n.container=null);var i,o=a.getItemAt(t);if(o){Fe("gettingData",t,o),e.index=t,e.item=o;var s=o.container=r.createEl("pswp__zoom-wrap");if(!o.src&&o.html&&(o.html.tagName?s.appendChild(o.html):s.innerHTML=o.html),cn(o),sn(o,me),!o.src||o.loadError||o.loaded)o.src&&!o.loadError&&((i=r.createEl("pswp__img","img")).style.opacity=1,i.src=o.src,dn(o,i),ln(t,o,s,i));else{if(o.loadComplete=function(n){if(u){if(e&&e.index===t){if(cn(n,!0))return n.loadComplete=n.img=null,sn(n,me),Ie(n),void(e.index===h&&a.updateCurrZoomItem());n.imageAppended?!Ht&&n.placeholder&&(n.placeholder.style.display="none",n.placeholder=null):j.transform&&(re||Ht)?nn.push({item:n,baseDiv:s,img:n.img,index:t,holder:e,clearPlaceholder:!0}):ln(t,n,s,n.img,re||Ht,!0)}n.loadComplete=null,n.img=null,Fe("imageLoadComplete",t,n)}},r.features.transform){var c="pswp__img pswp__img--placeholder";c+=o.msrc?"":" pswp__img--placeholder--blank";var d=r.createEl(c,o.msrc?"img":"");o.msrc&&(d.src=o.msrc),dn(o,d),s.appendChild(d),o.placeholder=d}o.loading||un(o),a.allowProgressiveImg()&&(!Zt&&j.transform?nn.push({item:o,baseDiv:s,img:o.img,index:t,holder:e}):ln(t,o,s,o.img,!0,!0))}Zt||t!==h?Ie(o):(ie=s.style,en(o,i||o.img)),e.el.innerHTML="",e.el.appendChild(s)}else e.el.innerHTML=""},cleanSlide:function(e){e.img&&(e.img.onload=e.img.onerror=null),e.loaded=e.loading=e.img=e.imageAppended=!1}}});var pn,fn,mn={},gn=function(e,t,n){var i=document.createEvent("CustomEvent"),r={origEvent:e,target:e.target,releasePoint:t,pointerType:n||"touch"};i.initCustomEvent("pswpTap",!0,!0,r),e.target.dispatchEvent(i)};xe("Tap",{publicMethods:{initTap:function(){Ee("firstTouchStart",a.onTapStart),Ee("touchRelease",a.onTapRelease),Ee("destroy",(function(){mn={},pn=null}))},onTapStart:function(e){e.length>1&&(clearTimeout(pn),pn=null)},onTapRelease:function(e,t){if(t&&!Z&&!V&&!Ke){var n=t;if(pn&&(clearTimeout(pn),pn=null,wt(n,mn)))return void Fe("doubleTap",n);if("mouse"===t.type)return void gn(e,t,"mouse");if("BUTTON"===e.target.tagName.toUpperCase()||r.hasClass(e.target,"pswp__single-tap"))return void gn(e,t);Re(mn,n),pn=setTimeout((function(){gn(e,t),pn=null}),300)}}}}),xe("DesktopZoom",{publicMethods:{initDesktopZoom:function(){R||(A?Ee("mouseUsed",(function(){a.setupDesktopZoom()})):a.setupDesktopZoom(!0))},setupDesktopZoom:function(t){fn={};var n="wheel mousewheel DOMMouseScroll";Ee("bindEvents",(function(){r.bind(e,n,a.handleMouseWheel)})),Ee("unbindEvents",(function(){fn&&r.unbind(e,n,a.handleMouseWheel)})),a.mouseZoomedIn=!1;var i,o=function(){a.mouseZoomedIn&&(r.removeClass(e,"pswp--zoomed-in"),a.mouseZoomedIn=!1),y<1?r.addClass(e,"pswp--zoom-allowed"):r.removeClass(e,"pswp--zoom-allowed"),s()},s=function(){i&&(r.removeClass(e,"pswp--dragging"),i=!1)};Ee("resize",o),Ee("afterChange",o),Ee("pointerDown",(function(){a.mouseZoomedIn&&(i=!0,r.addClass(e,"pswp--dragging"))})),Ee("pointerUp",s),t||o()},handleMouseWheel:function(e){if(y<=a.currItem.fitRatio)return l.modal&&(!l.closeOnScroll||Ke||X?e.preventDefault():T&&Math.abs(e.deltaY)>2&&(d=!0,a.close())),!0;if(e.stopPropagation(),fn.x=0,"deltaX"in e)1===e.deltaMode?(fn.x=18*e.deltaX,fn.y=18*e.deltaY):(fn.x=e.deltaX,fn.y=e.deltaY);else if("wheelDelta"in e)e.wheelDeltaX&&(fn.x=-.16*e.wheelDeltaX),e.wheelDeltaY?fn.y=-.16*e.wheelDeltaY:fn.y=-.16*e.wheelDelta;else{if(!("detail"in e))return;fn.y=e.detail}qe(y,!0);var t=fe.x-fn.x,n=fe.y-fn.y;(l.modal||t<=ne.min.x&&t>=ne.max.x&&n<=ne.min.y&&n>=ne.max.y)&&e.preventDefault(),a.panTo(t,n)},toggleDesktopZoom:function(t){t=t||{x:me.x/2+ve.x,y:me.y/2+ve.y};var n=l.getDoubleTapZoom(!0,a.currItem),i=y===n;a.mouseZoomedIn=!i,a.zoomTo(i?a.currItem.initialZoomLevel:n,t,333),r[(i?"remove":"add")+"Class"](e,"pswp--zoomed-in")}}});var vn,yn,bn,On,_n,wn,kn,xn,Sn,Pn,En,Fn,Cn={history:!0,galleryUID:1},Tn=function(){return En.hash.substring(1)},Dn=function(){vn&&clearTimeout(vn),bn&&clearTimeout(bn)},An=function(){var e=Tn(),t={};if(e.length<5)return t;var n,i=e.split("&");for(n=0;n<i.length;n++)if(i[n]){var r=i[n].split("=");r.length<2||(t[r[0]]=r[1])}if(l.galleryPIDs){var a=t.pid;for(t.pid=0,n=0;n<Yt.length;n++)if(Yt[n].pid===a){t.pid=n;break}}else t.pid=parseInt(t.pid,10)-1;return t.pid<0&&(t.pid=0),t},In=function(){if(bn&&clearTimeout(bn),Ke||X)bn=setTimeout(In,500);else{On?clearTimeout(yn):On=!0;var e=h+1,t=Kt(h);t.hasOwnProperty("pid")&&(e=t.pid);var n=kn+"&gid="+l.galleryUID+"&pid="+e;xn||-1===En.hash.indexOf(n)&&(Pn=!0);var i=En.href.split("#")[0]+"#"+n;Fn?"#"+n!==window.location.hash&&history[xn?"replaceState":"pushState"]("",document.title,i):xn?En.replace(i):En.hash=n,xn=!0,yn=setTimeout((function(){On=!1}),60)}};xe("History",{publicMethods:{initHistory:function(){if(r.extend(l,Cn,!0),l.history){En=window.location,Pn=!1,Sn=!1,xn=!1,kn=Tn(),Fn="pushState"in history,kn.indexOf("gid=")>-1&&(kn=(kn=kn.split("&gid=")[0]).split("?gid=")[0]),Ee("afterChange",a.updateURL),Ee("unbindEvents",(function(){r.unbind(window,"hashchange",a.onHashChange)}));var e=function(){wn=!0,Sn||(Pn?history.back():kn?En.hash=kn:Fn?history.pushState("",document.title,En.pathname+En.search):En.hash=""),Dn()};Ee("unbindEvents",(function(){d&&e()})),Ee("destroy",(function(){wn||e()})),Ee("firstUpdate",(function(){h=An().pid}));var t=kn.indexOf("pid=");t>-1&&"&"===(kn=kn.substring(0,t)).slice(-1)&&(kn=kn.slice(0,-1)),setTimeout((function(){u&&r.bind(window,"hashchange",a.onHashChange)}),40)}},onHashChange:function(){if(Tn()===kn)return Sn=!0,void a.close();On||(_n=!0,a.goTo(An().pid),_n=!1)},updateURL:function(){Dn(),_n||(xn?vn=setTimeout(In,800):In())}}}),r.extend(a,it)};return e}()}(ire);var rre=ire.exports,are={exports:{}};
|
|
@@ -171,7 +171,7 @@ var gK=function(e,t){return gK=Object.setPrototypeOf||{__proto__:[]}instanceof A
|
|
|
171
171
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
172
172
|
PERFORMANCE OF THIS SOFTWARE.
|
|
173
173
|
***************************************************************************** */
|
|
174
|
-
var a_e=function(){return a_e=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a_e.apply(this,arguments)};function o_e(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]])}return n}function s_e(e,t,n,i){return new(n||(n=Promise))((function(r,a){function o(e){try{l(i.next(e))}catch(e){a(e)}}function s(e){try{l(i.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}l((i=i.apply(e,t||[])).next())}))}function l_e(e,t){var n,i,r,a,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(r=2&a[0]?i.return:a[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,a[1])).done)return r;switch(i=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,i=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(r=o.trys,(r=r.length>0&&r[r.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]<r[3])){o.label=a[1];break}if(6===a[0]&&o.label<r[1]){o.label=r[1],r=a;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(a);break}r[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],i=0}finally{n=r=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function u_e(e,t){for(var n=0,i=t.length,r=e.length;n<i;n++,r++)e[r]=t[n];return e}function c_e(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var d_e,h_e=function(e){var n,i=e.children,r=o_e(e,["children"]);return t.jsxs(t.Fragment,{children:[t.jsx(p_e,{},void 0),t.jsx(o.Dialog,a_e({},r,{modalProps:a_e(a_e({},r.modalProps||{}),{className:Yq(DK,"lt-reach-dialog",{"lt-reach-dialog-mobile":as.isAnyMobileApp},null===(n=r.modalProps)||void 0===n?void 0:n.className)})},{children:i}),void 0)]},void 0)},p_e=a.createGlobalStyle(d_e||(d_e=c_e(['\n /**\n Mobile overrides\n */\n .lt-reach-dialog-mobile {\n .ms-Dialog-main {\n .ms-Modal-scrollableContent {\n max-height: calc(100vh - 32px);\n overflow-y: auto;\n }\n\n .dialog-content-host {\n min-height: 0;\n height: auto;\n }\n }\n }\n\n .browser-name-ios-webview.lt-reach-dialog-mobile {\n .ms-Dialog-main {\n .ms-Modal-scrollableContent {\n // 8 more pixels, because if you open the app from within another app (e.g. Testflight)\n // it has an additional "backbar" there which takes up space\n max-height: calc(100vh - 32px - env(safe-area-inset-top) - 8px);\n }\n }\n }\n'],['\n /**\n Mobile overrides\n */\n .lt-reach-dialog-mobile {\n .ms-Dialog-main {\n .ms-Modal-scrollableContent {\n max-height: calc(100vh - 32px);\n overflow-y: auto;\n }\n\n .dialog-content-host {\n min-height: 0;\n height: auto;\n }\n }\n }\n\n .browser-name-ios-webview.lt-reach-dialog-mobile {\n .ms-Dialog-main {\n .ms-Modal-scrollableContent {\n // 8 more pixels, because if you open the app from within another app (e.g. Testflight)\n // it has an additional "backbar" there which takes up space\n max-height: calc(100vh - 32px - env(safe-area-inset-top) - 8px);\n }\n }\n }\n']))),f_e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},m_e=function(e){return e&&e.Math==Math&&e},g_e=m_e("object"==typeof globalThis&&globalThis)||m_e("object"==typeof window&&window)||m_e("object"==typeof self&&self)||m_e("object"==typeof f_e&&f_e)||Function("return this")(),v_e={},y_e=function(e){try{return!!e()}catch(e){return!0}},b_e=!y_e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),O_e={},__e={}.propertyIsEnumerable,w_e=Object.getOwnPropertyDescriptor,k_e=w_e&&!__e.call({1:2},1);O_e.f=k_e?function(e){var t=w_e(this,e);return!!t&&t.enumerable}:__e;var x_e=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},S_e={}.toString,P_e=function(e){return S_e.call(e).slice(8,-1)},E_e=P_e,F_e="".split,C_e=y_e((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==E_e(e)?F_e.call(e,""):Object(e)}:Object,T_e=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},D_e=C_e,A_e=T_e,I_e=function(e){return D_e(A_e(e))},L_e=function(e){return"object"==typeof e?null!==e:"function"==typeof e},z_e=L_e,$_e=function(e,t){if(!z_e(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!z_e(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!z_e(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!z_e(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")},R_e={}.hasOwnProperty,Q_e=function(e,t){return R_e.call(e,t)},j_e=L_e,M_e=g_e.document,N_e=j_e(M_e)&&j_e(M_e.createElement),U_e=function(e){return N_e?M_e.createElement(e):{}},q_e=U_e,B_e=!b_e&&!y_e((function(){return 7!=Object.defineProperty(q_e("div"),"a",{get:function(){return 7}}).a})),G_e=b_e,W_e=O_e,X_e=x_e,V_e=I_e,Y_e=$_e,Z_e=Q_e,H_e=B_e,K_e=Object.getOwnPropertyDescriptor;v_e.f=G_e?K_e:function(e,t){if(e=V_e(e),t=Y_e(t,!0),H_e)try{return K_e(e,t)}catch(e){}if(Z_e(e,t))return X_e(!W_e.f.call(e,t),e[t])};var J_e={},ewe=L_e,twe=function(e){if(!ewe(e))throw TypeError(String(e)+" is not an object");return e},nwe=b_e,iwe=B_e,rwe=twe,awe=$_e,owe=Object.defineProperty;J_e.f=nwe?owe:function(e,t,n){if(rwe(e),t=awe(t,!0),rwe(n),iwe)try{return owe(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var swe=J_e,lwe=x_e,uwe=b_e?function(e,t,n){return swe.f(e,t,lwe(1,n))}:function(e,t,n){return e[t]=n,e},cwe={exports:{}},dwe=g_e,hwe=uwe,pwe=function(e,t){try{hwe(dwe,e,t)}catch(n){dwe[e]=t}return t},fwe=pwe,mwe="__core-js_shared__",gwe=g_e[mwe]||fwe(mwe,{}),vwe=gwe,ywe=Function.toString;"function"!=typeof vwe.inspectSource&&(vwe.inspectSource=function(e){return ywe.call(e)});var bwe=vwe.inspectSource,Owe=bwe,_we=g_e.WeakMap,wwe="function"==typeof _we&&/native code/.test(Owe(_we)),kwe={exports:{}},xwe=gwe;(kwe.exports=function(e,t){return xwe[e]||(xwe[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"});var Swe,Pwe,Ewe,Fwe=0,Cwe=Math.random(),Twe=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++Fwe+Cwe).toString(36)},Dwe=kwe.exports,Awe=Twe,Iwe=Dwe("keys"),Lwe=function(e){return Iwe[e]||(Iwe[e]=Awe(e))},zwe={},$we=wwe,Rwe=L_e,Qwe=uwe,jwe=Q_e,Mwe=Lwe,Nwe=zwe,Uwe=g_e.WeakMap;if($we){var qwe=new Uwe,Bwe=qwe.get,Gwe=qwe.has,Wwe=qwe.set;Swe=function(e,t){return Wwe.call(qwe,e,t),t},Pwe=function(e){return Bwe.call(qwe,e)||{}},Ewe=function(e){return Gwe.call(qwe,e)}}else{var Xwe=Mwe("state");Nwe[Xwe]=!0,Swe=function(e,t){return Qwe(e,Xwe,t),t},Pwe=function(e){return jwe(e,Xwe)?e[Xwe]:{}},Ewe=function(e){return jwe(e,Xwe)}}var Vwe={set:Swe,get:Pwe,has:Ewe,enforce:function(e){return Ewe(e)?Pwe(e):Swe(e,{})},getterFor:function(e){return function(t){var n;if(!Rwe(t)||(n=Pwe(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},Ywe=g_e,Zwe=uwe,Hwe=Q_e,Kwe=pwe,Jwe=bwe,eke=Vwe.get,tke=Vwe.enforce,nke=String(String).split("String");(cwe.exports=function(e,t,n,i){var r=!!i&&!!i.unsafe,a=!!i&&!!i.enumerable,o=!!i&&!!i.noTargetGet;"function"==typeof n&&("string"!=typeof t||Hwe(n,"name")||Zwe(n,"name",t),tke(n).source=nke.join("string"==typeof t?t:"")),e!==Ywe?(r?!o&&e[t]&&(a=!0):delete e[t],a?e[t]=n:Zwe(e,t,n)):a?e[t]=n:Kwe(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&eke(this).source||Jwe(this)}));var ike=g_e,rke=g_e,ake=function(e){return"function"==typeof e?e:void 0},oke=function(e,t){return arguments.length<2?ake(ike[e])||ake(rke[e]):ike[e]&&ike[e][t]||rke[e]&&rke[e][t]},ske={},lke=Math.ceil,uke=Math.floor,cke=function(e){return isNaN(e=+e)?0:(e>0?uke:lke)(e)},dke=cke,hke=Math.min,pke=function(e){return e>0?hke(dke(e),9007199254740991):0},fke=cke,mke=Math.max,gke=Math.min,vke=I_e,yke=pke,bke=function(e,t){var n=fke(e);return n<0?mke(n+t,0):gke(n,t)},Oke=function(e){return function(t,n,i){var r,a=vke(t),o=yke(a.length),s=bke(i,o);if(e&&n!=n){for(;o>s;)if((r=a[s++])!=r)return!0}else for(;o>s;s++)if((e||s in a)&&a[s]===n)return e||s||0;return!e&&-1}},_ke={includes:Oke(!0),indexOf:Oke(!1)},wke=Q_e,kke=I_e,xke=_ke.indexOf,Ske=zwe,Pke=function(e,t){var n,i=kke(e),r=0,a=[];for(n in i)!wke(Ske,n)&&wke(i,n)&&a.push(n);for(;t.length>r;)wke(i,n=t[r++])&&(~xke(a,n)||a.push(n));return a},Eke=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Fke=Pke,Cke=Eke.concat("length","prototype");ske.f=Object.getOwnPropertyNames||function(e){return Fke(e,Cke)};var Tke={};Tke.f=Object.getOwnPropertySymbols;var Dke=ske,Ake=Tke,Ike=twe,Lke=oke("Reflect","ownKeys")||function(e){var t=Dke.f(Ike(e)),n=Ake.f;return n?t.concat(n(e)):t},zke=Q_e,$ke=Lke,Rke=v_e,Qke=J_e,jke=y_e,Mke=/#|\.prototype\./,Nke=function(e,t){var n=qke[Uke(e)];return n==Gke||n!=Bke&&("function"==typeof t?jke(t):!!t)},Uke=Nke.normalize=function(e){return String(e).replace(Mke,".").toLowerCase()},qke=Nke.data={},Bke=Nke.NATIVE="N",Gke=Nke.POLYFILL="P",Wke=Nke,Xke=g_e,Vke=v_e.f,Yke=uwe,Zke=cwe.exports,Hke=pwe,Kke=function(e,t){for(var n=$ke(t),i=Qke.f,r=Rke.f,a=0;a<n.length;a++){var o=n[a];zke(e,o)||i(e,o,r(t,o))}},Jke=Wke,exe=function(e,t){var n,i,r,a,o,s=e.target,l=e.global,u=e.stat;if(n=l?Xke:u?Xke[s]||Hke(s,{}):(Xke[s]||{}).prototype)for(i in t){if(a=t[i],r=e.noTargetGet?(o=Vke(n,i))&&o.value:n[i],!Jke(l?i:s+(u?".":"#")+i,e.forced)&&void 0!==r){if(typeof a==typeof r)continue;Kke(a,r)}(e.sham||r&&r.sham)&&Yke(a,"sham",!0),Zke(n,i,a,e)}},txe=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},nxe=T_e,ixe=function(e){return Object(nxe(e))},rxe=txe,axe=ixe,oxe=C_e,sxe=pke,lxe=function(e){return function(t,n,i,r){rxe(n);var a=axe(t),o=oxe(a),s=sxe(a.length),l=e?s-1:0,u=e?-1:1;if(i<2)for(;;){if(l in o){r=o[l],l+=u;break}if(l+=u,e?l<0:s<=l)throw TypeError("Reduce of empty array with no initial value")}for(;e?l>=0:s>l;l+=u)l in o&&(r=n(r,o[l],l,a));return r}},uxe={left:lxe(!1),right:lxe(!0)},cxe=y_e,dxe=function(e,t){var n=[][e];return!!n&&cxe((function(){n.call(null,t||function(){throw 1},1)}))},hxe=b_e,pxe=y_e,fxe=Q_e,mxe=Object.defineProperty,gxe={},vxe=function(e){throw e},yxe=exe,bxe=uxe.left,Oxe=function(e,t){if(fxe(gxe,e))return gxe[e];t||(t={});var n=[][e],i=!!fxe(t,"ACCESSORS")&&t.ACCESSORS,r=fxe(t,0)?t[0]:vxe,a=fxe(t,1)?t[1]:void 0;return gxe[e]=!!n&&!pxe((function(){if(i&&!hxe)return!0;var e={length:-1};i?mxe(e,1,{enumerable:!0,get:vxe}):e[1]=1,n.call(e,r,a)}))},_xe=dxe("reduce"),wxe=Oxe("reduce",{1:0});yxe({target:"Array",proto:!0,forced:!_xe||!wxe},{reduce:function(e){return bxe(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}});var kxe=Pke,xxe=Eke,Sxe=Object.keys||function(e){return kxe(e,xxe)},Pxe=b_e,Exe=y_e,Fxe=Sxe,Cxe=Tke,Txe=O_e,Dxe=ixe,Axe=C_e,Ixe=Object.assign,Lxe=Object.defineProperty,zxe=!Ixe||Exe((function(){if(Pxe&&1!==Ixe({b:1},Ixe(Lxe({},"a",{enumerable:!0,get:function(){Lxe(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach((function(e){t[e]=e})),7!=Ixe({},e)[n]||Fxe(Ixe({},t)).join("")!=i}))?function(e,t){for(var n=Dxe(e),i=arguments.length,r=1,a=Cxe.f,o=Txe.f;i>r;)for(var s,l=Axe(arguments[r++]),u=a?Fxe(l).concat(a(l)):Fxe(l),c=u.length,d=0;c>d;)s=u[d++],Pxe&&!o.call(l,s)||(n[s]=l[s]);return n}:Ixe,$xe=zxe;exe({target:"Object",stat:!0,forced:Object.assign!==$xe},{assign:$xe});var Rxe=y_e,Qxe=!!Object.getOwnPropertySymbols&&!Rxe((function(){return!String(Symbol())})),jxe=Qxe&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Mxe=g_e,Nxe=kwe.exports,Uxe=Q_e,qxe=Twe,Bxe=Qxe,Gxe=jxe,Wxe=Nxe("wks"),Xxe=Mxe.Symbol,Vxe=Gxe?Xxe:Xxe&&Xxe.withoutSetter||qxe,Yxe=function(e){return Uxe(Wxe,e)||(Bxe&&Uxe(Xxe,e)?Wxe[e]=Xxe[e]:Wxe[e]=Vxe("Symbol."+e)),Wxe[e]},Zxe=L_e,Hxe=P_e,Kxe=Yxe("match"),Jxe=function(e){var t;return Zxe(e)&&(void 0!==(t=e[Kxe])?!!t:"RegExp"==Hxe(e))},eSe=Jxe,tSe=function(e){if(eSe(e))throw TypeError("The method doesn't accept regular expressions");return e},nSe=Yxe("match"),iSe=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[nSe]=!1,"/./"[e](t)}catch(e){}}return!1},rSe=tSe,aSe=T_e;function oSe(e,t){var n=e||[],i=t||[],r=n.map((function(e){return e.id})),a=i.filter((function(e){return!r.includes(e.id)}));return n.concat(a)}exe({target:"String",proto:!0,forced:!iSe("includes")},{includes:function(e){return!!~String(aSe(this)).indexOf(rSe(e),arguments.length>1?arguments[1]:void 0)}});var sSe,lSe=J_e,uSe=twe,cSe=Sxe,dSe=b_e?Object.defineProperties:function(e,t){uSe(e);for(var n,i=cSe(t),r=i.length,a=0;r>a;)lSe.f(e,n=i[a++],t[n]);return e},hSe=oke("document","documentElement"),pSe=twe,fSe=dSe,mSe=Eke,gSe=zwe,vSe=hSe,ySe=U_e,bSe=Lwe("IE_PROTO"),OSe=function(){},_Se=function(e){return"<script>"+e+"</"+"script>"},wSe=function(){try{sSe=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;wSe=sSe?function(e){e.write(_Se("")),e.close();var t=e.parentWindow.Object;return e=null,t}(sSe):((t=ySe("iframe")).style.display="none",vSe.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(_Se("document.F=Object")),e.close(),e.F);for(var n=mSe.length;n--;)delete wSe.prototype[mSe[n]];return wSe()};gSe[bSe]=!0;var kSe=Object.create||function(e,t){var n;return null!==e?(OSe.prototype=pSe(e),n=new OSe,OSe.prototype=null,n[bSe]=e):n=wSe(),void 0===t?n:fSe(n,t)},xSe=kSe,SSe=J_e,PSe=Yxe("unscopables"),ESe=Array.prototype;null==ESe[PSe]&&SSe.f(ESe,PSe,{configurable:!0,value:xSe(null)});var FSe,CSe,TSe,DSe=function(e){ESe[PSe][e]=!0},ASe={},ISe=!y_e((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),LSe=Q_e,zSe=ixe,$Se=ISe,RSe=Lwe("IE_PROTO"),QSe=Object.prototype,jSe=$Se?Object.getPrototypeOf:function(e){return e=zSe(e),LSe(e,RSe)?e[RSe]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?QSe:null},MSe=jSe,NSe=uwe,USe=Q_e,qSe=Yxe("iterator"),BSe=!1;[].keys&&("next"in(TSe=[].keys())?(CSe=MSe(MSe(TSe)))!==Object.prototype&&(FSe=CSe):BSe=!0),null==FSe&&(FSe={}),USe(FSe,qSe)||NSe(FSe,qSe,(function(){return this}));var GSe={IteratorPrototype:FSe,BUGGY_SAFARI_ITERATORS:BSe},WSe=J_e.f,XSe=Q_e,VSe=Yxe("toStringTag"),YSe=function(e,t,n){e&&!XSe(e=n?e:e.prototype,VSe)&&WSe(e,VSe,{configurable:!0,value:t})},ZSe=GSe.IteratorPrototype,HSe=kSe,KSe=x_e,JSe=YSe,ePe=ASe,tPe=function(){return this},nPe=L_e,iPe=twe,rPe=function(e){if(!nPe(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e},aPe=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,i){return iPe(n),rPe(i),t?e.call(n,i):n.__proto__=i,n}}():void 0),oPe=exe,sPe=function(e,t,n){var i=t+" Iterator";return e.prototype=HSe(ZSe,{next:KSe(1,n)}),JSe(e,i,!1),ePe[i]=tPe,e},lPe=jSe,uPe=aPe,cPe=YSe,dPe=uwe,hPe=cwe.exports,pPe=ASe,fPe=GSe.IteratorPrototype,mPe=GSe.BUGGY_SAFARI_ITERATORS,gPe=Yxe("iterator"),vPe="keys",yPe="values",bPe="entries",OPe=function(){return this},_Pe=I_e,wPe=DSe,kPe=ASe,xPe=Vwe,SPe=function(e,t,n,i,r,a,o){sPe(n,t,i);var s,l,u,c=function(e){if(e===r&&m)return m;if(!mPe&&e in p)return p[e];switch(e){case vPe:case yPe:case bPe:return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",h=!1,p=e.prototype,f=p[gPe]||p["@@iterator"]||r&&p[r],m=!mPe&&f||c(r),g="Array"==t&&p.entries||f;if(g&&(s=lPe(g.call(new e)),fPe!==Object.prototype&&s.next&&(lPe(s)!==fPe&&(uPe?uPe(s,fPe):"function"!=typeof s[gPe]&&dPe(s,gPe,OPe)),cPe(s,d,!0))),r==yPe&&f&&f.name!==yPe&&(h=!0,m=function(){return f.call(this)}),p[gPe]!==m&&dPe(p,gPe,m),pPe[t]=m,r)if(l={values:c(yPe),keys:a?m:c(vPe),entries:c(bPe)},o)for(u in l)(mPe||h||!(u in p))&&hPe(p,u,l[u]);else oPe({target:t,proto:!0,forced:mPe||h},l);return l},PPe="Array Iterator",EPe=xPe.set,FPe=xPe.getterFor(PPe),CPe=SPe(Array,"Array",(function(e,t){EPe(this,{type:PPe,target:_Pe(e),index:0,kind:t})}),(function(){var e=FPe(this),t=e.target,n=e.kind,i=e.index++;return!t||i>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:t[i],done:!1}:{value:[i,t[i]],done:!1}}),"values");kPe.Arguments=kPe.Array,wPe("keys"),wPe("values"),wPe("entries");var TPe=g_e,DPe={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},APe=CPe,IPe=uwe,LPe=Yxe,zPe=LPe("iterator"),$Pe=LPe("toStringTag"),RPe=APe.values;for(var QPe in DPe){var jPe=TPe[QPe],MPe=jPe&&jPe.prototype;if(MPe){if(MPe[zPe]!==RPe)try{IPe(MPe,zPe,RPe)}catch(e){MPe[zPe]=RPe}if(MPe[$Pe]||IPe(MPe,$Pe,QPe),DPe[QPe])for(var NPe in APe)if(MPe[NPe]!==APe[NPe])try{IPe(MPe,NPe,APe[NPe])}catch(e){MPe[NPe]=APe[NPe]}}}var UPe,qPe,BPe,GPe,WPe,XPe,VPe,YPe,ZPe,HPe,KPe,JPe,eEe,tEe,nEe,iEe,rEe,aEe,oEe,sEe=function(e){var n=Wx().formatMessage;return t.jsx(o.TooltipHost,a_e({},e,{className:void 0,role:e.role,onClick:e.onClick,hostClassName:e.className,content:e.resourceKey||e.text?e.text||n({id:e.resourceKey},e.values||{}):null,calloutProps:{calloutWidth:e.width,hidden:e.hidden}},{children:e.children}),void 0)},lEe=function(e){return a.css(WPe||(WPe=c_e(["\n ","\n\n ","\n\n box-sizing: border-box;\n padding: ","px ","px;\n border-radius: ","px;\n display: flex;\n "],["\n ","\n\n ","\n\n box-sizing: border-box;\n padding: ","px ","px;\n border-radius: ","px;\n display: flex;\n "])),(null==e?void 0:e.backgroundColor)?a.css(UPe||(UPe=c_e(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),e.backgroundColor):a.css(qPe||(qPe=c_e(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),Rne),(null==e?void 0:e.color)?a.css(BPe||(BPe=c_e(["\n color: ",";\n "],["\n color: ",";\n "])),e.color):a.css(GPe||(GPe=c_e(["\n color: ",";\n "],["\n color: ",";\n "])),(function(e){return e.theme.textColors.default})),3,U8,q8)},uEe=function(e){var n=e.tooltipResourceKey,i=e.className,r=o_e(e,["tooltipResourceKey","className"]);return t.jsx(sEe,a_e({resourceKey:n,className:i},{children:t.jsx(cEe,a_e({},r,{"data-highlight-bubble":!0}),void 0)}),void 0)},cEe=y.default.div.withConfig({displayName:"EditorHighlight__EditorHighlightBubble",componentId:"sc-1d6ahk1-0"})(XPe||(XPe=c_e(["\n ",";\n &:empty {\n display: none;\n }\n\n min-height: 30px;\n padding: ","px ","px;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: ","px;\n\n cursor: ",";\n\n > * {\n opacity: ",";\n flex: 1 1 auto;\n }\n"],["\n ",";\n &:empty {\n display: none;\n }\n\n min-height: 30px;\n padding: ","px ","px;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: ","px;\n\n cursor: ",";\n\n > * {\n opacity: ",";\n flex: 1 1 auto;\n }\n"])),lEe(),6,15,a7,(function(e){return e.readOnly?"inherit":"pointer"}),(function(e){return e.isActive?1:.4})),dEe=y.default.div.withConfig({displayName:"EditorHighlight__ChannelsEditorBubbleHost",componentId:"sc-1d6ahk1-1"})(VPe||(VPe=c_e(["\n &:empty {\n display: none;\n }\n\n padding: 10px 0;\n\n cursor: ",";\n\n > * {\n opacity: ",";\n flex: 1 1 auto;\n }\n"],["\n &:empty {\n display: none;\n }\n\n padding: 10px 0;\n\n cursor: ",";\n\n > * {\n opacity: ",";\n flex: 1 1 auto;\n }\n"])),(function(e){return e.readOnly?"inherit":"pointer"}),(function(e){return e.isActive?1:.4})),hEe=function(e){var n=e.showDialog,i=e.onClose,r=e.onClosed,a=e.handleSave,s=e.titleResource,l=e.disableSave,u=e.saveButtonResourceId,c=e.children,d=e.className,h=Wx().formatMessage;return t.jsxs(h_e,a_e({hidden:!n,modalProps:{isBlocking:!0,onDismissed:r},dialogContentProps:{type:o.DialogType.normal,title:h({id:s})},onDismiss:i},{children:[t.jsx(pEe,a_e({className:d},{children:c}),void 0),t.jsxs(o.DialogFooter,{children:[t.jsx(o.DefaultButton,a_e({onClick:i,"data-button":"cancel"},{children:t.jsx(hS,{id:"Generic.Cancel"},void 0)}),void 0),t.jsx(o.PrimaryButton,a_e({disabled:l,onClick:a,"data-button":"save"},{children:t.jsx(hS,{id:u||"Generic.Save"},void 0)}),void 0)]},void 0)]}),void 0)},pEe=y.default.div.withConfig({displayName:"EditorSettingsDialog__Host",componentId:"sc-132lfuo-0"})(YPe||(YPe=c_e(["\n min-height: 45px;\n\n > *:not(:last-child) {\n margin-bottom: ","px;\n }\n"],["\n min-height: 45px;\n\n > *:not(:last-child) {\n margin-bottom: ","px;\n }\n"])),q8),fEe=y.default(hEe).withConfig({displayName:"EditorSettingsDialog__EditorSettingsDialogWithFixedWidth",componentId:"sc-132lfuo-1"})(ZPe||(ZPe=c_e(["\n width: 400px;\n"],["\n width: 400px;\n"]))),mEe=y.default(o.IconButton).withConfig({displayName:"IconButton",componentId:"sc-1mokw5y-0"})(HPe||(HPe=c_e(["\n && {\n &:not([disabled]) {\n color: ",";\n i {\n color: inherit;\n }\n }\n }\n"],["\n && {\n &:not([disabled]) {\n color: ",";\n i {\n color: inherit;\n }\n }\n }\n"])),(function(e){var t;return null!==(t=e.color)&&void 0!==t?t:e.theme.textColors.default})),gEe=function(e){var n=e.checked,i=e.readOnly,r=e.onChange,a=e.className,o=e.iconName,s=e.activeIconName,l=e.tooltipResourceKey,u=e.ariaLabelResourceKey,c=Wx().formatMessage,d=n?s||o||"CheckboxComposite":o||"Checkbox";return t.jsx(vEe,a_e({className:a},{children:i?t.jsx(bEe,{},void 0):t.jsx(sEe,a_e({resourceKey:l},{children:t.jsx(yEe,{iconProps:{iconName:d},onClick:function(){return r(!n)},ariaLabel:u?c({id:u}):null},void 0)}),void 0)}),void 0)},vEe=y.default.div.withConfig({displayName:"GutterToggle__Host",componentId:"sc-1aya63j-0"})(KPe||(KPe=c_e(["\n margin: 0 21px 0 6px;\n\n @media (min-width: 700px) {\n margin: 0 10px 0 18px;\n }\n"],["\n margin: 0 21px 0 6px;\n\n @media (min-width: 700px) {\n margin: 0 10px 0 18px;\n }\n"]))),yEe=y.default(mEe).withConfig({displayName:"GutterToggle__ToggleIcon",componentId:"sc-1aya63j-1"})(JPe||(JPe=c_e(["\n && {\n margin: 0;\n padding: 0;\n font-size: ","px;\n\n &[disabled] {\n background: transparent;\n }\n\n i {\n font-size: inherit;\n margin: 0;\n }\n\n @media (min-width: 700px) {\n font-size: ","px;\n }\n }\n"],["\n && {\n margin: 0;\n padding: 0;\n font-size: ","px;\n\n &[disabled] {\n background: transparent;\n }\n\n i {\n font-size: inherit;\n margin: 0;\n }\n\n @media (min-width: 700px) {\n font-size: ","px;\n }\n }\n"])),i7,20),bEe=y.default.div.withConfig({displayName:"GutterToggle__Spacer",componentId:"sc-1aya63j-2"})(eEe||(eEe=c_e(["\n width: 22px;\n"],["\n width: 22px;\n"]))),OEe=a.css(tEe||(tEe=c_e(["\n color: ",";\n text-decoration: underline;\n\n &:hover,\n &:visited {\n color: ",";\n }\n"],["\n color: ",";\n text-decoration: underline;\n\n &:hover,\n &:visited {\n color: ",";\n }\n"])),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent})),_Ee=y.default(o.Link).withConfig({displayName:"Link__ExternalLink",componentId:"sc-5x4ijx-0"})(nEe||(nEe=c_e(["\n && {\n ",";\n }\n"],["\n && {\n ",";\n }\n"])),OEe),wEe=y.default(r.Link).withConfig({displayName:"Link",componentId:"sc-5x4ijx-1"})(iEe||(iEe=c_e(["\n && {\n ",";\n }\n"],["\n && {\n ",";\n }\n"])),OEe),kEe=a.css(rEe||(rEe=c_e(["\n height: auto;\n box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);\n\n span {\n line-height: ","px !important;\n }\n\n .ms-MessageBar-text {\n color: #fff !important;\n margin: 15px 8px;\n\n @media (max-width: 479px) {\n margin-bottom: 8px;\n }\n }\n\n .ms-MessageBar-icon {\n color: #fff !important;\n }\n\n &.ms-MessageBar--error {\n background-color: #c24844 !important;\n }\n\n .ms-MessageBar-content {\n align-items: center;\n display: flex;\n i {\n color: #fff !important;\n }\n }\n"],["\n height: auto;\n box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);\n\n span {\n line-height: ","px !important;\n }\n\n .ms-MessageBar-text {\n color: #fff !important;\n margin: 15px 8px;\n\n @media (max-width: 479px) {\n margin-bottom: 8px;\n }\n }\n\n .ms-MessageBar-icon {\n color: #fff !important;\n }\n\n &.ms-MessageBar--error {\n background-color: #c24844 !important;\n }\n\n .ms-MessageBar-content {\n align-items: center;\n display: flex;\n i {\n color: #fff !important;\n }\n }\n"])),20),xEe=function(){var e=eie().hideNotification,n=i.useContext(Jne),r=n.isNotificationBarVisible,a=o_e(n,["isNotificationBarVisible"]),o=Wx().formatMessage,s=a.messageId||a.text;return r?t.jsx(SEe,a_e({className:"notification-wrapper","data-notification-bar":!0},{children:t.jsx(PEe,a_e({messageBarType:a.messageBarType,className:a.className,actions:a.actions,onDismiss:function(){return e()},isMultiline:!1,dismissButtonAriaLabel:o({id:"AriaLabel.closeNotificationBarButton"})},{children:s&&t.jsx(sEe,a_e({text:a.text,resourceKey:a.messageId,values:a.messageValues},{children:a.text||t.jsx(hS,{id:a.messageId,values:a.messageValues||{}},void 0)}),void 0)}),void 0)}),void 0):null},SEe=y.default.div.withConfig({displayName:"NotificationBar__Host",componentId:"sc-17dep9g-0"})(aEe||(aEe=c_e(["\n display: block;\n position: relative;\n z-index: 101;\n"],["\n display: block;\n position: relative;\n z-index: 101;\n"]))),PEe=y.default(o.MessageBar).withConfig({displayName:"NotificationBar__StyledMessageBar",componentId:"sc-17dep9g-1"})(oEe||(oEe=c_e(["\n ","\n\n .ms-MessageBar-dismissal {\n i {\n color: #fff !important;\n }\n\n &:hover {\n background-color: transparent !important;\n }\n }\n\n &:not(.notification-bar--undo) {\n .ms-MessageBar-text {\n font-size: ","px;\n }\n\n .ms-MessageBar-icon {\n font-size: ","px;\n }\n\n .ms-MessageBar-dismissal {\n i {\n font-size: ","px;\n }\n }\n }\n\n &.ms-messageBar--info {\n background-color: white !important;\n\n .ms-MessageBar-icon,\n .ms-MessageBar-text,\n .ms-MessageBar-dismissal i {\n font-size: ","px;\n color: black !important;\n }\n }\n\n &.ms-MessageBar--success {\n background-color: #498526 !important;\n }\n\n &.ms-MessageBar--warning {\n background-color: #b95e06 !important;\n }\n\n &.notification-bar--undo {\n position: relative;\n\n .ms-MessageBar-icon {\n display: none !important;\n }\n\n .ms-MessageBar-text {\n font-size: ","px !important;\n font-weight: 500 !important;\n\n @media (max-width: 700px) {\n font-size: ","px !important;\n }\n }\n\n .ms-MessageBar-actionsOneline {\n padding-right: ","px;\n\n > div {\n width: 100%;\n display: flex;\n }\n }\n\n .ms-MessageBar-dismissOneline {\n position: absolute;\n right: 12px;\n top: calc(50% - 8px);\n z-index: 1;\n width: 35px;\n\n i {\n font-size: ","px;\n font-weight: bold;\n }\n }\n }\n"],["\n ","\n\n .ms-MessageBar-dismissal {\n i {\n color: #fff !important;\n }\n\n &:hover {\n background-color: transparent !important;\n }\n }\n\n &:not(.notification-bar--undo) {\n .ms-MessageBar-text {\n font-size: ","px;\n }\n\n .ms-MessageBar-icon {\n font-size: ","px;\n }\n\n .ms-MessageBar-dismissal {\n i {\n font-size: ","px;\n }\n }\n }\n\n &.ms-messageBar--info {\n background-color: white !important;\n\n .ms-MessageBar-icon,\n .ms-MessageBar-text,\n .ms-MessageBar-dismissal i {\n font-size: ","px;\n color: black !important;\n }\n }\n\n &.ms-MessageBar--success {\n background-color: #498526 !important;\n }\n\n &.ms-MessageBar--warning {\n background-color: #b95e06 !important;\n }\n\n &.notification-bar--undo {\n position: relative;\n\n .ms-MessageBar-icon {\n display: none !important;\n }\n\n .ms-MessageBar-text {\n font-size: ","px !important;\n font-weight: 500 !important;\n\n @media (max-width: 700px) {\n font-size: ","px !important;\n }\n }\n\n .ms-MessageBar-actionsOneline {\n padding-right: ","px;\n\n > div {\n width: 100%;\n display: flex;\n }\n }\n\n .ms-MessageBar-dismissOneline {\n position: absolute;\n right: 12px;\n top: calc(50% - 8px);\n z-index: 1;\n width: 35px;\n\n i {\n font-size: ","px;\n font-weight: bold;\n }\n }\n }\n"])),kEe,r7,i7,i7,r7,i7,a7,B8,20),EEe=function(e){var n,r=Wx().formatMessage,a=S6(),s=x6(),l=m5(),u=l.searchAccounts,c=l.getUserAvatarUrl,d=i.useRef(),h=$w();i.useEffect((function(){e.autoFocus&&d&&d.current&&setTimeout((function(){d.current.focus()}))}),[d,e.autoFocus]);var p=(null===(n=s.subscription.directories)||void 0===n?void 0:n.length)>1,f=!e.selectionMode||e.selectionMode===o.SelectionMode.multiple,m=e.selectedItems||[],g=p,v={defaultSelectedItems:(e.defaultSelectedItems||[]).map((function(e){return y(e)})),resolveDelay:500,onResolveSuggestions:function(e){return b(e,g)},onGetMoreResults:function(e){return b(e,!1)},getTextFromItem:function(e){return e.text},onChange:function(t){return function(t){var n=t.map((function(e){return{id:(t=e).id,tokenUniqueId:t.tokenUniqueId,tenantId:t.tenantId,displayName:t.text,userPrincipalName:t.accountType!==o6.Group?t.userPrincipalName:null,mail:Z6(t.tertiaryText)?null:t.tertiaryText,type:t.accountType,authenticationType:t.authenticationType};var t}));e.onChange&&e.onChange(n)}(t)},pickerSuggestionsProps:{noResultsFoundText:r({id:"Generic.noResultsFound"}),searchForMoreText:g&&!e.localOnly?r({id:"Generic.searchInDirectories"}):void 0,suggestionsContainerAriaLabel:r({id:"AriaLabel.peoplePicker.suggestionsContainer"})},disabled:e.disabled,pickerCalloutProps:{calloutMaxWidth:h.width<K8?300:0,className:"lt-reach-picker-callout"},inputProps:{id:e.inputId,required:e.required,"aria-required":e.required,"aria-label":e.inputAriaLabelResourceKey?r({id:e.inputAriaLabelResourceKey}):null},removeButtonAriaLabel:r({id:"AriaLabel.removeUserButton"})};return e.onEmptyInputFocus&&(v.onEmptyResolveSuggestions=function(){return function(e){if(function(e){return void 0!==e.length}(e))return O(e).map(y);return e.then((function(e){return O(e).map(y)}))}(e.onEmptyInputFocus())}),e.placeholderStringResourceKey&&0===m.length&&(v.inputProps.placeholder=r({id:e.placeholderStringResourceKey})),e.selectedItems&&(v.selectedItems=m.map((function(e){return y(e)}))),t.jsx(CEe,a_e({className:Yq(e.className,"people-picker")},{children:t.jsx(o.NormalPeoplePicker,a_e({},v,{componentRef:d,itemLimit:f?void 0:1}),void 0)}),void 0);function y(e){var t=Z6(e.mail)?null:e.mail,n=Z6(e.userPrincipalName)?null:e.userPrincipalName,i=Pw(e.displayName||e.mail||e.userPrincipalName),r=e.type===o6.User?n:e.type===o6.Group?t:null,o={id:e.id,tokenUniqueId:e.tokenUniqueId,tenantId:e.tenantId,userPrincipalName:e.userPrincipalName,text:e.displayName||e.mail,secondaryText:(r||"")+(t&&t!==r?" ("+t+")":""),tertiaryText:t,imageInitials:i,initialsColor:Ew(i),key:r,accountType:e.type,authenticationType:e.authenticationType};return a.avatars&&c(e.userPrincipalName).subscribe((function(e){return o.imageUrl=e})),o}function b(t,n){return s_e(this,void 0,void 0,(function(){var i,r,a;return l_e(this,(function(o){switch(o.label){case 0:if(!t&&0===t.length)return[2,[]];i=e.allowMailItems&&fw(t)&&{mail:t,userPrincipalName:t,displayName:t,type:o6.User},o.label=1;case 1:return o.trys.push([1,3,,4]),[4,u({search:t,type:e.accountType,includePendingInvitationUsers:e.includePendingInvitationUsers,includePendingRegistrationUsers:e.includePendingRegistrationUsers,localOnly:e.localOnly||n,excludeApiUsers:e.excludeApiUsers})];case 2:return r=o.sent(),i&&r.every((function(e){return!function(e,t){return(e.userPrincipalName||"").toLowerCase()===t.userPrincipalName.toLowerCase()||(e.mail||"").toLowerCase()===t.mail.toLowerCase()}(e,i)}))&&r.push(i),e.additionalSearch&&(a=e.additionalSearch(t))&&(r=r.concat(a)),[2,O(r).map(y)];case 3:return o.sent(),[2,i&&[i].map(y)];case 4:return[2]}}))}))}function O(t){if(!e.selectedItems&&!e.defaultSelectedItems&&!e.excludedItems)return t;var n=(e.excludedItems||[]).concat(e.selectedItems||e.defaultSelectedItems||[]);return t.filter((function(e){return n.every((function(t){return!function(e,t){if(e.id&&t.id)return e.id===t.id;if(e.tokenUniqueId&&t.tokenUniqueId)return e.tokenUniqueId===t.tokenUniqueId;return e.userPrincipalName===t.userPrincipalName}(t,e)}))}))}};var FEe,CEe=y.default.div.withConfig({displayName:"PeoplePicker__Container",componentId:"sc-1if6guq-0"})(FEe||(FEe=c_e(["\n .ms-BasePicker-text {\n padding: 3px 6px;\n }\n\n input.ms-BasePicker-input {\n font-size: 14px;\n }\n"],["\n .ms-BasePicker-text {\n padding: 3px 6px;\n }\n\n input.ms-BasePicker-input {\n font-size: 14px;\n }\n"]))),TEe=exe,DEe=v_e.f,AEe=pke,IEe=tSe,LEe=T_e,zEe=iSe,$Ee="".startsWith,REe=Math.min,QEe=zEe("startsWith"),jEe=!QEe&&!!function(){var e=DEe(String.prototype,"startsWith");return e&&!e.writable}();TEe({target:"String",proto:!0,forced:!jEe&&!QEe},{startsWith:function(e){var t=String(LEe(this));IEe(e);var n=AEe(REe(arguments.length>1?arguments[1]:void 0,t.length)),i=String(e);return $Ee?$Ee.call(t,i,n):t.slice(n,n+i.length)===i}});var MEe=twe,NEe=function(){var e=MEe(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},UEe=cwe.exports,qEe=twe,BEe=y_e,GEe=NEe,WEe="toString",XEe=RegExp.prototype,VEe=XEe.toString,YEe=BEe((function(){return"/a/b"!=VEe.call({source:"a",flags:"b"})})),ZEe=VEe.name!=WEe;(YEe||ZEe)&&UEe(RegExp.prototype,WEe,(function(){var e=qEe(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in XEe)?GEe.call(e):n)}),{unsafe:!0});var HEe,KEe=function(e){var n=e.fileName,i=e.url;return t.jsx(JEe,a_e({href:i,target:"_blank",download:n,onMouseDown:function(e){return e.preventDefault()}},{children:t.jsx("span",{children:n},void 0)}),void 0)},JEe=y.default.a.withConfig({displayName:"AttachedMediaDownloadLink__Host",componentId:"sc-8hqs4q-0"})(HEe||(HEe=c_e(["\n margin-bottom: ","px;\n &&& {\n width: 100%;\n display: block;\n color: ",";\n line-height: 1.5em;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n text-decoration: none;\n margin-bottom: ","px;\n }\n"],["\n margin-bottom: ","px;\n &&& {\n width: 100%;\n display: block;\n color: ",";\n line-height: 1.5em;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n text-decoration: none;\n margin-bottom: ","px;\n }\n"])),3,(function(e){return e.theme.palette.accent}),U8),eFe=function(e){var n=e.fileName,i=e.url,r=e.onPlay;return i?t.jsxs(aFe,a_e({className:"lt-reach-embedded-audio"},{children:[t.jsx(KEe,{fileName:n,url:i},void 0),t.jsxs("audio",a_e({onPlay:function(){return null==r?void 0:r(i)},controls:!0,title:n,controlsList:"nodownload"},{children:[t.jsx("source",{src:i,type:"audio/mpeg"},void 0),t.jsx(hS,{id:"Generic.audioReplayError",tagName:"p"},void 0)]}),void 0)]}),void 0):null};function tFe(e){var t=cG.getType(e);return t&&t.toString().startsWith("audio/")}var nFe,iFe,rFe,aFe=y.default.div.withConfig({displayName:"AudioFile__Host",componentId:"sc-wq9avv-0"})(nFe||(nFe=c_e(["\n width: 100%;\n"],["\n width: 100%;\n"])));y.default.div.withConfig({displayName:"GroupedListItemStyles__GroupedListItemHost",componentId:"sc-upeq9r-0"})(iFe||(iFe=c_e(["\n margin-top: ","px;\n &:first-child {\n margin-top: ","px;\n\n > h2 {\n margin-top: 0;\n }\n }\n"],["\n margin-top: ","px;\n &:first-child {\n margin-top: ","px;\n\n > h2 {\n margin-top: 0;\n }\n }\n"])),B8,U8),y.default.h2.withConfig({displayName:"GroupedListItemStyles__GroupedListItemTitle",componentId:"sc-upeq9r-1"})(rFe||(rFe=c_e(["\n margin: ","px 0 ","px 0;\n font-weight: normal;\n font-size: ","px;\n color: ",";\n"],["\n margin: ","px 0 ","px 0;\n font-weight: normal;\n font-size: ","px;\n color: ",";\n"])),B8,B8,20,(function(e){return e.theme.textColors.default}));var oFe,sFe,lFe,uFe,cFe,dFe,hFe=function(e){var n=e.children,i=e.deleteButton,r=e.domIdentifier,a=e.backgroundColor,o=e.className;return t.jsxs(mFe,a_e({className:o},{children:[i&&t.jsx(fFe,{children:i},void 0),t.jsx(pFe,a_e({"data-attachment":r,backgroundColor:a},{children:n}),void 0)]}),void 0)},pFe=y.default.div.withConfig({displayName:"AttachmentHost__Inner",componentId:"sc-mjwmvo-0"})(oFe||(oFe=c_e(["\n width: auto;\n border-radius: ","px;\n overflow: hidden;\n /* fix for iOS and Safari: overflow: hidden with border-radius */\n transform: translateZ(0);\n\n ","\n"],["\n width: auto;\n border-radius: ","px;\n overflow: hidden;\n /* fix for iOS and Safari: overflow: hidden with border-radius */\n transform: translateZ(0);\n\n ","\n"])),10,(function(e){return e.backgroundColor?"background-color: "+e.backgroundColor+";":"background-color: "+e.theme.palette.white+";"})),fFe=y.default.div.withConfig({displayName:"AttachmentHost__ButtonHost",componentId:"sc-mjwmvo-1"})(sFe||(sFe=c_e(["\n position: absolute;\n top: 0;\n right: 0;\n z-index: 1;\n background-color: ",";\n border-top-right-radius: ","px;\n border-bottom-left-radius: ","px;\n"],["\n position: absolute;\n top: 0;\n right: 0;\n z-index: 1;\n background-color: ",";\n border-top-right-radius: ","px;\n border-bottom-left-radius: ","px;\n"])),(function(e){return e.theme.palette.white}),9,10),mFe=y.default.div.withConfig({displayName:"AttachmentHost__Host",componentId:"sc-mjwmvo-2"})(lFe||(lFe=c_e(["\n position: relative;\n width: 100%;\n margin-top: ","px;\n"],["\n position: relative;\n width: 100%;\n margin-top: ","px;\n"])),q8),gFe=y.default(o.ActionButton).withConfig({displayName:"ActionButton",componentId:"sc-hmhuj9-0"})(uFe||(uFe=c_e(["\n &&:not([disabled]) {\n color: ",";\n\n i {\n color: ",";\n }\n }\n"],["\n &&:not([disabled]) {\n color: ",";\n\n i {\n color: ",";\n }\n }\n"])),(function(e){var t;return null!==(t=e.color)&&void 0!==t?t:e.theme.textColors.default}),(function(e){var t;return null!==(t=e.color)&&void 0!==t?t:e.theme.textColors.default}));y.default.div.withConfig({displayName:"AvailableSubscriptionList__Host",componentId:"sc-113n7q9-0"})(cFe||(cFe=c_e(["\n display: flex;\n flex-direction: column;\n"],["\n display: flex;\n flex-direction: column;\n"]))),y.default(gFe).withConfig({displayName:"AvailableSubscriptionList__SubscriptionButton",componentId:"sc-113n7q9-1"})(dFe||(dFe=c_e(["\n && {\n font-weight: bold;\n display: flex;\n flex-direction: row;\n justify-content: center;\n color: ",";\n }\n"],["\n && {\n font-weight: bold;\n display: flex;\n flex-direction: row;\n justify-content: center;\n color: ",";\n }\n"])),(function(e){return e.theme.palette.accent}));var vFe,yFe,bFe,OFe,_Fe=function(e){var n=e.children,i=o_e(e,["children"]);return t.jsx(o.FocusTrapCallout,a_e({},i,{className:Yq(DK,"lt-reach-callout",null==i?void 0:i.className),focusTrapProps:{isClickableOutsideFocusTrap:!0}},{children:n}),void 0)},wFe=function(e){var n=Wx().formatMessage,r=i.useState(!1),a=r[0],s=r[1],l=i.useContext(Bne).theme.palette.accent;return t.jsxs(h_e,a_e({modalProps:{isBlocking:!0,allowTouchBodyScroll:!0},hidden:!1,dialogContentProps:{showCloseButton:!e.hideCloseButton,type:e.hideCloseButton?o.DialogType.normal:o.DialogType.close,title:n({id:e.titleResourceKey},e.titleResourceValues),titleProps:{style:{color:l}}},onDismiss:e.onCancel},{children:[t.jsx(kFe,{children:t.jsx(hS,{id:e.infoResourceKey,tagName:"span",values:e.infoResourceValues},void 0)},void 0),t.jsx(xFe,{"data-verify-item-input":!0,onChange:function(t,n){var i=n===e.compareValue;i!==a&&s(i)},ariaLabel:n({id:e.inputAriaLabelResourceKey})},void 0),e.children,t.jsxs(o.DialogFooter,{children:[t.jsx(o.DefaultButton,a_e({onClick:e.onCancel,disabled:e.disabled},{children:t.jsx(hS,{id:"Generic.Cancel"},void 0)}),void 0),t.jsx(SFe,a_e({onClick:e.onConfirm,"data-delete-button":!0,disabled:!a||e.disabled},{children:t.jsx(hS,{id:"Generic.Delete"},void 0)}),void 0)]},void 0)]}),void 0)},kFe=y.default.span.withConfig({displayName:"ConfirmDeleteDialog__LinePreserverSpan",componentId:"sc-1ybmivq-0"})(vFe||(vFe=c_e(["\n white-space: pre-line;\n"],["\n white-space: pre-line;\n"]))),xFe=y.default(o.TextField).withConfig({displayName:"ConfirmDeleteDialog__StyledTextField",componentId:"sc-1ybmivq-1"})(yFe||(yFe=c_e(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),q8),SFe=y.default(o.PrimaryButton).withConfig({displayName:"ConfirmDeleteDialog__DeleteButton",componentId:"sc-1ybmivq-2"})(bFe||(bFe=c_e(["\n &&:not([disabled]) {\n background-color: ",";\n border-color: ",";\n color: ",";\n\n &:hover {\n background-color: ",";\n border-color: ",";\n color: ",";\n }\n }\n"],["\n &&:not([disabled]) {\n background-color: ",";\n border-color: ",";\n color: ",";\n\n &:hover {\n background-color: ",";\n border-color: ",";\n color: ",";\n }\n }\n"])),(function(e){return e.theme.palette.red}),(function(e){return e.theme.palette.red}),(function(e){return e.theme.palette.white}),(function(e){return e.theme.palette.redDark}),(function(e){return e.theme.palette.redDark}),(function(e){return e.theme.palette.white})),PFe=function(e){var n=e.showDialog,r=e.titleResourceKey,a=e.titleResourceValues,s=e.infoResourceKey,l=e.infoResourceValues,u=e.onConfirm,c=e.onClose,d=e.width,h=e.children,p=Wx().formatMessage,f=i.useContext(Bne).theme.palette.accent;return t.jsxs(h_e,a_e({hidden:!n,modalProps:{isBlocking:!0,styles:{scrollableContent:{width:d}}},dialogContentProps:{type:o.DialogType.normal,subText:s?p({id:s},l):"",title:p({id:r},a),titleProps:{style:{color:f}}},onDismiss:c},{children:[h,t.jsxs(o.DialogFooter,{children:[t.jsx(o.DefaultButton,a_e({onClick:c,"data-cancel-button":!0},{children:t.jsx(hS,{id:"Generic.Cancel"},void 0)}),void 0),t.jsx(o.PrimaryButton,a_e({"data-ok-button":!0,onClick:function(){null==u||u(),null==c||c()}},{children:t.jsx(hS,{id:"Generic.Ok"},void 0)}),void 0)]},void 0)]}),void 0)},EFe=function(e){var n=e.onConfirm,r=e.onCancel,a=Wx().formatMessage,s=i.useContext(Bne).theme.palette.accent;return t.jsx(h_e,a_e({modalProps:{isBlocking:!0},hidden:!1,dialogContentProps:{type:o.DialogType.close,title:a({id:"Events.editor.recurrence.resetDialogTitle"}),titleProps:{style:{color:s}}},onDismiss:r},{children:t.jsxs(FFe,{children:[t.jsx(hS,{id:"Events.editor.recurrence.resetDialogDescription",tagName:"span"},void 0),t.jsxs(o.DialogFooter,{children:[t.jsx(o.PrimaryButton,a_e({onClick:n},{children:t.jsx(hS,{id:"Events.editor.recurrence.reset"},void 0)}),void 0),t.jsx(o.DefaultButton,a_e({onClick:r},{children:t.jsx(hS,{id:"Generic.Cancel"},void 0)}),void 0)]},void 0)]},void 0)}),void 0)},FFe=y.default.div.withConfig({displayName:"ConfirmResetDialog__Host",componentId:"sc-akcggz-0"})(OFe||(OFe=c_e(["\n max-width: 600px;\n"],["\n max-width: 600px;\n"]))),CFe=function(e){var n=e.value,r=i.useContext(SS).language,a=function(e,t,n){void 0===t&&(t=Date.now());void 0===n&&(n={});var i=a_e(a_e({},zFe),n||{}),r=(+e-+t)/1e3;if(Math.abs(r)<i.second)return{value:Math.round(r),unit:"second"};var a=r/60;if(Math.abs(a)<i.minute)return{value:Math.round(a),unit:"minute"};var o=r/TFe;if(Math.abs(o)<i.hour)return{value:Math.round(o),unit:"hour"};var s=r/DFe;if(Math.abs(s)<i.day)return{value:Math.round(s),unit:"day"};var l=r/AFe;if(Math.round(Math.abs(l))>0&&Math.abs(l)<i.week)return{value:Math.round(l),unit:"week"};var u=new Date(e),c=new Date(t),d=u.getFullYear()-c.getFullYear(),h=12*d+u.getMonth()-c.getMonth();if(Math.round(Math.abs(h))>0&&Math.abs(h)<i.month)return{value:Math.round(h),unit:"month"};return{value:Math.round(d),unit:"year"}}(n),o=a.value,s=a.unit;return t.jsx(tS,a_e({locale:r},{children:t.jsx(uS,{value:o,numeric:"auto",unit:s,updateIntervalInSeconds:["second","minute","hour"].some((function(e){return e===s}))?10:void 0},void 0)}),void 0)},TFe=3600,DFe=86400,AFe=604800;var IFe,LFe,zFe={second:45,minute:45,hour:22,day:6,week:4,month:12},$Fe=function(e){return rs(e).isSame(new Date,"day")},RFe=function(e){var n=rs(e.value),i=n.toDate(),r=!e.showAsAbsolute&&(e.showAsRelative||$Fe(e.value)),a={dateTime:i.toISOString(),title:n.format("LLLL")};return!e.showWeekDay&&r?t.jsx(jFe,a_e({className:Yq(e.className)},a,{children:t.jsx(CFe,{value:i},void 0)}),void 0):t.jsxs(jFe,a_e({className:Yq(e.className)},a,{children:[t.jsx(pS,{weekday:e.showWeekDay?"long":void 0,day:"2-digit",month:"2-digit",year:"numeric",value:i},void 0)," ",t.jsx(fS,{value:i},void 0)]}),void 0)},QFe=function(e){var n=e.startDate,i=e.endDate,r=e.className;if(!n)return null;if(!i)return t.jsx("div",a_e({className:r},{children:t.jsx(RFe,{value:n,showWeekDay:!0},void 0)}),void 0);var a=rs(n),o=rs(i);return a.isSame(o,"d")?t.jsxs("div",a_e({className:r},{children:[t.jsx(RFe,{value:n,showWeekDay:!0},void 0)," - ",t.jsx(fS,{value:o.toDate()},void 0)]}),void 0):t.jsxs("div",a_e({className:r},{children:[t.jsx(RFe,{value:n,showWeekDay:!0},void 0)," - ",t.jsx(RFe,{value:i,showWeekDay:!0},void 0)]}),void 0)},jFe=y.default.time.withConfig({displayName:"DateTime__Host",componentId:"sc-ulo84j-0"})(IFe||(IFe=c_e(["\n white-space: nowrap;\n"],["\n white-space: nowrap;\n"])));y.default.div.withConfig({displayName:"Divider",componentId:"sc-1qr9ydh-0"})(LFe||(LFe=c_e(["\n margin: 1em 0;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n\n ::before {\n content: '';\n position: absolute;\n left: 0;\n display: block;\n width: 100%;\n border-top: 1px solid rgba(0, 0, 0, 0.1);\n }\n\n span {\n padding: 0.5em;\n text-transform: uppercase;\n z-index: 1;\n color: ",";\n background-color: #fff;\n\n @media all and (max-width: 767px) {\n background-color: ",";\n }\n }\n"],["\n margin: 1em 0;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n\n ::before {\n content: '';\n position: absolute;\n left: 0;\n display: block;\n width: 100%;\n border-top: 1px solid rgba(0, 0, 0, 0.1);\n }\n\n span {\n padding: 0.5em;\n text-transform: uppercase;\n z-index: 1;\n color: ",";\n background-color: #fff;\n\n @media all and (max-width: 767px) {\n background-color: ",";\n }\n }\n"])),(function(e){return e.theme.palette.neutralTertiary}),Rne);var MFe,NFe,UFe,qFe,BFe,GFe,WFe,XFe=function(e){var n,i=e.children,r=o_e(e,["children"]);return t.jsx(o.Dropdown,a_e({},r,{calloutProps:a_e(a_e({},r.calloutProps||{}),{className:Yq(DK,"lt-reach-dropdown",null===(n=r.calloutProps)||void 0===n?void 0:n.className)})},{children:i}),void 0)},VFe=function(e){var n=e.svg,i=e.icon,r=e.styleDefinition,a=e.emptyMessageResources,s=void 0===a?["EmptySearchResult.info1","EmptySearchResult.info2"]:a,l=e.additionalButton,u=e.className,c=(null==r?void 0:r.size)||"large";return t.jsx(YFe,a_e({className:u,offset:null==r?void 0:r.offset,"data-nothing-found":!0},{children:t.jsxs(ZFe,a_e({hasLargeParagraphStyle:!i,hasLargeSvgStyle:"large"===c},{children:[i&&t.jsx(o.Icon,{iconName:i},void 0),!i&&n,s.map((function(e,n){return t.jsx("p",{children:t.jsx(hS,{id:e},void 0)},n)})),l]}),void 0)}),void 0)},YFe=y.default.div.withConfig({displayName:"EmptyList__Container",componentId:"sc-11jeabk-0"})(UFe||(UFe=c_e(["\n min-width: 300px;\n max-width: 100%;\n\n ","\n"],["\n min-width: 300px;\n max-width: 100%;\n\n ","\n"])),(function(e){return e.offset?a.css(MFe||(MFe=c_e(["\n margin-top: ","px;\n "],["\n margin-top: ","px;\n "])),e.offset):a.css(NFe||(NFe=c_e(["\n margin: auto; /* ensure it's vertically centered in a flex container */\n "],["\n margin: auto; /* ensure it's vertically centered in a flex container */\n "])))})),ZFe=y.default.div.withConfig({displayName:"EmptyList__Inner",componentId:"sc-11jeabk-1"})(GFe||(GFe=c_e(["\n display: flex;\n flex-direction: column;\n align-items: center;\n text-align: center;\n word-break: normal;\n margin: ","px 0;\n\n > p {\n font-size: ","px;\n margin: 0;\n min-width: 100%;\n width: ","px;\n }\n\n ","\n\n ","\n\n svg {\n color: ",";\n height: auto;\n max-width: 400px; /* it ensures svg is not too big */\n }\n\n > p + p {\n margin-top: ","px;\n }\n\n @media (max-width: ","px) {\n svg {\n transform: scale(0.8);\n }\n p {\n font-size: ","px;\n }\n }\n\n && button {\n height: ","px;\n align-items: center;\n margin-top: ","px;\n padding: 0 12px;\n\n i {\n margin: 0 8px 0 0;\n }\n\n span {\n font-weight: normal;\n }\n }\n"],["\n display: flex;\n flex-direction: column;\n align-items: center;\n text-align: center;\n word-break: normal;\n margin: ","px 0;\n\n > p {\n font-size: ","px;\n margin: 0;\n min-width: 100%;\n width: ","px;\n }\n\n ","\n\n ","\n\n svg {\n color: ",";\n height: auto;\n max-width: 400px; /* it ensures svg is not too big */\n }\n\n > p + p {\n margin-top: ","px;\n }\n\n @media (max-width: ","px) {\n svg {\n transform: scale(0.8);\n }\n p {\n font-size: ","px;\n }\n }\n\n && button {\n height: ","px;\n align-items: center;\n margin-top: ","px;\n padding: 0 12px;\n\n i {\n margin: 0 8px 0 0;\n }\n\n span {\n font-weight: normal;\n }\n }\n"])),q8,a7,U8,(function(e){return!e.hasLargeSvgStyle&&a.css(qFe||(qFe=c_e(["\n > p {\n font-size: ","px;\n color: ",";\n }\n\n svg {\n margin-bottom: ","px;\n }\n "],["\n > p {\n font-size: ","px;\n color: ",";\n }\n\n svg {\n margin-bottom: ","px;\n }\n "])),i7,e.theme.palette.neutralSecondary,B8)}),(function(e){return e.hasLargeParagraphStyle&&e.hasLargeSvgStyle&&a.css(BFe||(BFe=c_e(["\n > p {\n font-size: ","px;\n font-weight: 500;\n margin: ","px 0 0;\n color: ",";\n opacity: 80%;\n }\n\n > i {\n font-size: 100px;\n padding-bottom: ","px;\n padding-top: ","px;\n\n @media (min-height: ","px) {\n padding-top: 150px;\n }\n }\n "],["\n > p {\n font-size: ","px;\n font-weight: 500;\n margin: ","px 0 0;\n color: ",";\n opacity: 80%;\n }\n\n > i {\n font-size: 100px;\n padding-bottom: ","px;\n padding-top: ","px;\n\n @media (min-height: ","px) {\n padding-top: 150px;\n }\n }\n "])),32,q8,(function(e){return e.theme.palette.accent}),B8,B8,X8)}),(function(e){return e.theme.palette.accent}),3,J8,24,B8,B8),HFe=function(e,t){return null!=e&&(e&t)===t};y.default.p.withConfig({displayName:"ErrorSection__Host",componentId:"sc-1muscsm-0"})(WFe||(WFe=c_e(["\n max-width: 600px;\n margin: 0;\n"],["\n max-width: 600px;\n margin: 0;\n"])));var KFe=exe,JFe=txe,eCe=ixe,tCe=y_e,nCe=dxe,iCe=[],rCe=iCe.sort,aCe=tCe((function(){iCe.sort(void 0)})),oCe=tCe((function(){iCe.sort(null)})),sCe=nCe("sort");KFe({target:"Array",proto:!0,forced:aCe||!oCe||!sCe},{sort:function(e){return void 0===e?rCe.call(eCe(this)):rCe.call(eCe(this),JFe(e))}});var lCe=function(e){var n=e.languages,i=e.translations,r=e.onChange,a=e.placeholderStringResource,o=e.customPlaceholder,s=Wx(),l=s.formatMessage;return t.jsx(t.Fragment,{children:Q5.apply(void 0,u_e([s],n)).sort((function(e,t){return e.localizedName<t.localizedName?-1:1})).map((function(e){return t.jsx(fCe,{children:t.jsx(mCe,{"data-translation-field":e.code,placeholder:null!=o?o:l({id:a},{lang:e.localizedName}),label:e.localizedName,value:i[e.code],onChange:function(t,n){var a;r(a_e(a_e({},i),((a={})[e.code]=n,a)))}},void 0)},e.code)}))},void 0)};y.default.div.withConfig({displayName:"FieldTranslationEditor__Host",componentId:"sc-1s8zb6d-0"})(uCe||(uCe=c_e(["\n display: flex;\n flex-flow: column;\n flex: 1 1 100%;\n"],["\n display: flex;\n flex-flow: column;\n flex: 1 1 100%;\n"])));var uCe,cCe,dCe,hCe,pCe,fCe=y.default.div.withConfig({displayName:"FieldTranslationEditor__TranslationField",componentId:"sc-1s8zb6d-1"})(cCe||(cCe=c_e(["\n display: flex;\n label {\n font-weight: bold !important;\n }\n"],["\n display: flex;\n label {\n font-weight: bold !important;\n }\n"]))),mCe=y.default(o.TextField).withConfig({displayName:"FieldTranslationEditor__StyledTextField",componentId:"sc-1s8zb6d-2"})(dCe||(dCe=c_e(["\n margin-top: 5px;\n flex: 1 1 auto;\n"],["\n margin-top: 5px;\n flex: 1 1 auto;\n"])));y.default.div.withConfig({displayName:"FieldTranslationEditor__Header",componentId:"sc-1s8zb6d-3"})(hCe||(hCe=c_e(["\n cursor: default;\n display: flex;\n justify-content: space-between;\n align-items: center;\n font-weight: bold;\n padding-top: 10px;\n"],["\n cursor: default;\n display: flex;\n justify-content: space-between;\n align-items: center;\n font-weight: bold;\n padding-top: 10px;\n"]))),y.default.div.withConfig({displayName:"FieldTranslationEditor__Buttons",componentId:"sc-1s8zb6d-4"})(pCe||(pCe=c_e(["\n display: flex;\n"],["\n display: flex;\n"])));var gCe,vCe=function(e){var n=i.useState(null==e.delay),r=n[0],a=n[1];return i.useEffect((function(){if(null!=!e.delay){var t=setTimeout((function(){return a(!0)}),e.delay);return function(){return clearTimeout(t)}}}),[e.delay]),r?t.jsx(yCe,a_e({className:e.className},{children:t.jsx(o.Spinner,a_e({},e,{className:""}),void 0)}),void 0):null},yCe=y.default.div.withConfig({displayName:"Spinner__Host",componentId:"sc-1wroad6-0"})(gCe||(gCe=c_e(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n margin-top: 10%;\n > .ms-Spinner {\n flex: 0 0 auto;\n > .ms-Spinner-circle {\n border-color: #b2b2b2 !important;\n border-top-color: #929292 !important;\n }\n }\n"],["\n display: flex;\n flex-direction: column;\n justify-content: center;\n margin-top: 10%;\n > .ms-Spinner {\n flex: 0 0 auto;\n > .ms-Spinner-circle {\n border-color: #b2b2b2 !important;\n border-top-color: #929292 !important;\n }\n }\n"]))),bCe=g_e.Promise,OCe=cwe.exports,_Ce=oke,wCe=J_e,kCe=b_e,xCe=Yxe("species"),SCe=function(e){var t=_Ce(e),n=wCe.f;kCe&&t&&!t[xCe]&&n(t,xCe,{configurable:!0,get:function(){return this}})},PCe={exports:{}},ECe=ASe,FCe=Yxe("iterator"),CCe=Array.prototype,TCe=txe,DCe=function(e,t,n){if(TCe(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}},ACe={};ACe[Yxe("toStringTag")]="z";var ICe="[object z]"===String(ACe),LCe=P_e,zCe=Yxe("toStringTag"),$Ce="Arguments"==LCe(function(){return arguments}()),RCe=ICe?LCe:function(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),zCe))?n:$Ce?LCe(t):"Object"==(i=LCe(t))&&"function"==typeof t.callee?"Arguments":i},QCe=RCe,jCe=ASe,MCe=Yxe("iterator"),NCe=twe,UCe=twe,qCe=function(e){return void 0!==e&&(ECe.Array===e||CCe[FCe]===e)},BCe=pke,GCe=DCe,WCe=function(e){if(null!=e)return e[MCe]||e["@@iterator"]||jCe[QCe(e)]},XCe=function(e,t,n,i){try{return i?t(NCe(n)[0],n[1]):t(n)}catch(t){var r=e.return;throw void 0!==r&&NCe(r.call(e)),t}},VCe=function(e,t){this.stopped=e,this.result=t},YCe=PCe.exports=function(e,t,n,i,r){var a,o,s,l,u,c,d,h=GCe(t,n,i?2:1);if(r)a=e;else{if("function"!=typeof(o=WCe(e)))throw TypeError("Target is not iterable");if(qCe(o)){for(s=0,l=BCe(e.length);l>s;s++)if((u=i?h(UCe(d=e[s])[0],d[1]):h(e[s]))&&u instanceof VCe)return u;return new VCe(!1)}a=o.call(e)}for(c=a.next;!(d=c.call(a)).done;)if("object"==typeof(u=XCe(a,h,d.value,i))&&u&&u instanceof VCe)return u;return new VCe(!1)};YCe.stop=function(e){return new VCe(!0,e)};var ZCe=Yxe("iterator"),HCe=!1;try{var KCe=0,JCe={next:function(){return{done:!!KCe++}},return:function(){HCe=!0}};JCe[ZCe]=function(){return this},Array.from(JCe,(function(){throw 2}))}catch(e){}var eTe,tTe,nTe,iTe=twe,rTe=txe,aTe=Yxe("species"),oTe=function(e,t){var n,i=iTe(e).constructor;return void 0===i||null==(n=iTe(i)[aTe])?t:rTe(n)},sTe=oke("navigator","userAgent")||"",lTe=/(iphone|ipod|ipad).*applewebkit/i.test(sTe),uTe=g_e,cTe=y_e,dTe=P_e,hTe=DCe,pTe=hSe,fTe=U_e,mTe=lTe,gTe=uTe.location,vTe=uTe.setImmediate,yTe=uTe.clearImmediate,bTe=uTe.process,OTe=uTe.MessageChannel,_Te=uTe.Dispatch,wTe=0,kTe={},xTe="onreadystatechange",STe=function(e){if(kTe.hasOwnProperty(e)){var t=kTe[e];delete kTe[e],t()}},PTe=function(e){return function(){STe(e)}},ETe=function(e){STe(e.data)},FTe=function(e){uTe.postMessage(e+"",gTe.protocol+"//"+gTe.host)};vTe&&yTe||(vTe=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return kTe[++wTe]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},eTe(wTe),wTe},yTe=function(e){delete kTe[e]},"process"==dTe(bTe)?eTe=function(e){bTe.nextTick(PTe(e))}:_Te&&_Te.now?eTe=function(e){_Te.now(PTe(e))}:OTe&&!mTe?(nTe=(tTe=new OTe).port2,tTe.port1.onmessage=ETe,eTe=hTe(nTe.postMessage,nTe,1)):!uTe.addEventListener||"function"!=typeof postMessage||uTe.importScripts||cTe(FTe)||"file:"===gTe.protocol?eTe=xTe in fTe("script")?function(e){pTe.appendChild(fTe("script")).onreadystatechange=function(){pTe.removeChild(this),STe(e)}}:function(e){setTimeout(PTe(e),0)}:(eTe=FTe,uTe.addEventListener("message",ETe,!1)));var CTe,TTe,DTe,ATe,ITe,LTe,zTe,$Te,RTe={set:vTe,clear:yTe},QTe=g_e,jTe=v_e.f,MTe=P_e,NTe=RTe.set,UTe=lTe,qTe=QTe.MutationObserver||QTe.WebKitMutationObserver,BTe=QTe.process,GTe=QTe.Promise,WTe="process"==MTe(BTe),XTe=jTe(QTe,"queueMicrotask"),VTe=XTe&&XTe.value;VTe||(CTe=function(){var e,t;for(WTe&&(e=BTe.domain)&&e.exit();TTe;){t=TTe.fn,TTe=TTe.next;try{t()}catch(e){throw TTe?ATe():DTe=void 0,e}}DTe=void 0,e&&e.enter()},WTe?ATe=function(){BTe.nextTick(CTe)}:qTe&&!UTe?(ITe=!0,LTe=document.createTextNode(""),new qTe(CTe).observe(LTe,{characterData:!0}),ATe=function(){LTe.data=ITe=!ITe}):GTe&>e.resolve?(zTe=GTe.resolve(void 0),$Te=zTe.then,ATe=function(){$Te.call(zTe,CTe)}):ATe=function(){NTe.call(QTe,CTe)});var YTe=VTe||function(e){var t={fn:e,next:void 0};DTe&&(DTe.next=t),TTe||(TTe=t,ATe()),DTe=t},ZTe={},HTe=txe,KTe=function(e){var t,n;this.promise=new e((function(e,i){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=i})),this.resolve=HTe(t),this.reject=HTe(n)};ZTe.f=function(e){return new KTe(e)};var JTe,eDe,tDe=twe,nDe=L_e,iDe=ZTe,rDe=g_e,aDe=sTe,oDe=g_e.process,sDe=oDe&&oDe.versions,lDe=sDe&&sDe.v8;lDe?eDe=(JTe=lDe.split("."))[0]+JTe[1]:aDe&&(!(JTe=aDe.match(/Edge\/(\d+)/))||JTe[1]>=74)&&(JTe=aDe.match(/Chrome\/(\d+)/))&&(eDe=JTe[1]);var uDe,cDe,dDe,hDe,pDe=eDe&&+eDe,fDe=exe,mDe=g_e,gDe=oke,vDe=bCe,yDe=cwe.exports,bDe=function(e,t,n){for(var i in t)OCe(e,i,t[i],n);return e},ODe=YSe,_De=SCe,wDe=L_e,kDe=txe,xDe=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},SDe=P_e,PDe=bwe,EDe=PCe.exports,FDe=function(e,t){if(!t&&!HCe)return!1;var n=!1;try{var i={};i[ZCe]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n},CDe=oTe,TDe=RTe.set,DDe=YTe,ADe=function(e,t){if(tDe(e),nDe(t)&&t.constructor===e)return t;var n=iDe.f(e);return(0,n.resolve)(t),n.promise},IDe=function(e,t){var n=rDe.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))},LDe=ZTe,zDe=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},$De=Vwe,RDe=Wke,QDe=pDe,jDe=Yxe("species"),MDe="Promise",NDe=$De.get,UDe=$De.set,qDe=$De.getterFor(MDe),BDe=vDe,GDe=mDe.TypeError,WDe=mDe.document,XDe=mDe.process,VDe=gDe("fetch"),YDe=LDe.f,ZDe=YDe,HDe="process"==SDe(XDe),KDe=!!(WDe&&WDe.createEvent&&mDe.dispatchEvent),JDe="unhandledrejection",eAe=RDe(MDe,(function(){if(!(PDe(BDe)!==String(BDe))){if(66===QDe)return!0;if(!HDe&&"function"!=typeof PromiseRejectionEvent)return!0}if(QDe>=51&&/native code/.test(BDe))return!1;var e=BDe.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[jDe]=t,!(e.then((function(){}))instanceof t)})),tAe=eAe||!FDe((function(e){BDe.all(e).catch((function(){}))})),nAe=function(e){var t;return!(!wDe(e)||"function"!=typeof(t=e.then))&&t},iAe=function(e,t,n){if(!t.notified){t.notified=!0;var i=t.reactions;DDe((function(){for(var r=t.value,a=1==t.state,o=0;i.length>o;){var s,l,u,c=i[o++],d=a?c.ok:c.fail,h=c.resolve,p=c.reject,f=c.domain;try{d?(a||(2===t.rejection&&sAe(e,t),t.rejection=1),!0===d?s=r:(f&&f.enter(),s=d(r),f&&(f.exit(),u=!0)),s===c.promise?p(GDe("Promise-chain cycle")):(l=nAe(s))?l.call(s,h,p):h(s)):p(r)}catch(e){f&&!u&&f.exit(),p(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&aAe(e,t)}))}},rAe=function(e,t,n){var i,r;KDe?((i=WDe.createEvent("Event")).promise=t,i.reason=n,i.initEvent(e,!1,!0),mDe.dispatchEvent(i)):i={promise:t,reason:n},(r=mDe["on"+e])?r(i):e===JDe&&IDe("Unhandled promise rejection",n)},aAe=function(e,t){TDe.call(mDe,(function(){var n,i=t.value;if(oAe(t)&&(n=zDe((function(){HDe?XDe.emit("unhandledRejection",i,e):rAe(JDe,e,i)})),t.rejection=HDe||oAe(t)?2:1,n.error))throw n.value}))},oAe=function(e){return 1!==e.rejection&&!e.parent},sAe=function(e,t){TDe.call(mDe,(function(){HDe?XDe.emit("rejectionHandled",e):rAe("rejectionhandled",e,t.value)}))},lAe=function(e,t,n,i){return function(r){e(t,n,r,i)}},uAe=function(e,t,n,i){t.done||(t.done=!0,i&&(t=i),t.value=n,t.state=2,iAe(e,t,!0))},cAe=function(e,t,n,i){if(!t.done){t.done=!0,i&&(t=i);try{if(e===n)throw GDe("Promise can't be resolved itself");var r=nAe(n);r?DDe((function(){var i={done:!1};try{r.call(n,lAe(cAe,e,i,t),lAe(uAe,e,i,t))}catch(n){uAe(e,i,n,t)}})):(t.value=n,t.state=1,iAe(e,t,!1))}catch(n){uAe(e,{done:!1},n,t)}}};eAe&&(BDe=function(e){xDe(this,BDe,MDe),kDe(e),uDe.call(this);var t=NDe(this);try{e(lAe(cAe,this,t),lAe(uAe,this,t))}catch(e){uAe(this,t,e)}},(uDe=function(e){UDe(this,{type:MDe,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=bDe(BDe.prototype,{then:function(e,t){var n=qDe(this),i=YDe(CDe(this,BDe));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=HDe?XDe.domain:void 0,n.parent=!0,n.reactions.push(i),0!=n.state&&iAe(this,n,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),cDe=function(){var e=new uDe,t=NDe(e);this.promise=e,this.resolve=lAe(cAe,e,t),this.reject=lAe(uAe,e,t)},LDe.f=YDe=function(e){return e===BDe||e===dDe?new cDe(e):ZDe(e)},"function"==typeof vDe&&(hDe=vDe.prototype.then,yDe(vDe.prototype,"then",(function(e,t){var n=this;return new BDe((function(e,t){hDe.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof VDe&&fDe({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return ADe(BDe,VDe.apply(mDe,arguments))}}))),fDe({global:!0,wrap:!0,forced:eAe},{Promise:BDe}),ODe(BDe,MDe,!1),_De(MDe),dDe=gDe(MDe),fDe({target:MDe,stat:!0,forced:eAe},{reject:function(e){var t=YDe(this);return t.reject.call(void 0,e),t.promise}}),fDe({target:MDe,stat:!0,forced:eAe},{resolve:function(e){return ADe(this,e)}}),fDe({target:MDe,stat:!0,forced:tAe},{all:function(e){var t=this,n=YDe(t),i=n.resolve,r=n.reject,a=zDe((function(){var n=kDe(t.resolve),a=[],o=0,s=1;EDe(e,(function(e){var l=o++,u=!1;a.push(void 0),s++,n.call(t,e).then((function(e){u||(u=!0,a[l]=e,--s||i(a))}),r)})),--s||i(a)}));return a.error&&r(a.value),n.promise},race:function(e){var t=this,n=YDe(t),i=n.reject,r=zDe((function(){var r=kDe(t.resolve);EDe(e,(function(e){r.call(t,e).then(n.resolve,i)}))}));return r.error&&i(r.value),n.promise}});var dAe={},hAe=y_e;function pAe(e,t){return RegExp(e,t)}dAe.UNSUPPORTED_Y=hAe((function(){var e=pAe("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),dAe.BROKEN_CARET=hAe((function(){var e=pAe("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));var fAe=NEe,mAe=dAe,gAe=RegExp.prototype.exec,vAe=String.prototype.replace,yAe=gAe,bAe=function(){var e=/a/,t=/b*/g;return gAe.call(e,"a"),gAe.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),OAe=mAe.UNSUPPORTED_Y||mAe.BROKEN_CARET,_Ae=void 0!==/()??/.exec("")[1];(bAe||_Ae||OAe)&&(yAe=function(e){var t,n,i,r,a=this,o=OAe&&a.sticky,s=fAe.call(a),l=a.source,u=0,c=e;return o&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),c=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(l="(?: "+l+")",c=" "+c,u++),n=new RegExp("^(?:"+l+")",s)),_Ae&&(n=new RegExp("^"+l+"$(?!\\s)",s)),bAe&&(t=a.lastIndex),i=gAe.call(o?n:a,c),o?i?(i.input=i.input.slice(u),i[0]=i[0].slice(u),i.index=a.lastIndex,a.lastIndex+=i[0].length):a.lastIndex=0:bAe&&i&&(a.lastIndex=a.global?i.index+i[0].length:t),_Ae&&i&&i.length>1&&vAe.call(i[0],n,(function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(i[r]=void 0)})),i});var wAe=yAe;exe({target:"RegExp",proto:!0,forced:/./.exec!==wAe},{exec:wAe});var kAe,xAe=cwe.exports,SAe=y_e,PAe=Yxe,EAe=wAe,FAe=uwe,CAe=PAe("species"),TAe=!SAe((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),DAe="$0"==="a".replace(/./,"$0"),AAe=PAe("replace"),IAe=!!/./[AAe]&&""===/./[AAe]("a","$0"),LAe=!SAe((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),zAe=function(e,t,n,i){var r=PAe(e),a=!SAe((function(){var t={};return t[r]=function(){return 7},7!=""[e](t)})),o=a&&!SAe((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[CAe]=function(){return n},n.flags="",n[r]=/./[r]),n.exec=function(){return t=!0,null},n[r](""),!t}));if(!a||!o||"replace"===e&&(!TAe||!DAe||IAe)||"split"===e&&!LAe){var s=/./[r],l=n(r,""[e],(function(e,t,n,i,r){return t.exec===EAe?a&&!r?{done:!0,value:s.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}}),{REPLACE_KEEPS_$0:DAe,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:IAe}),u=l[0],c=l[1];xAe(String.prototype,e,u),xAe(RegExp.prototype,r,2==t?function(e,t){return c.call(e,this,t)}:function(e){return c.call(e,this)})}i&&FAe(RegExp.prototype[r],"sham",!0)},$Ae=cke,RAe=T_e,QAe=function(e){return function(t,n){var i,r,a=String(RAe(t)),o=$Ae(n),s=a.length;return o<0||o>=s?e?"":void 0:(i=a.charCodeAt(o))<55296||i>56319||o+1===s||(r=a.charCodeAt(o+1))<56320||r>57343?e?a.charAt(o):i:e?a.slice(o,o+2):r-56320+(i-55296<<10)+65536}},jAe={codeAt:QAe(!1),charAt:QAe(!0)}.charAt,MAe=function(e,t,n){return t+(n?jAe(e,t).length:1)},NAe=P_e,UAe=wAe,qAe=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==NAe(e))throw TypeError("RegExp#exec called on incompatible receiver");return UAe.call(e,t)},BAe=zAe,GAe=Jxe,WAe=twe,XAe=T_e,VAe=oTe,YAe=MAe,ZAe=pke,HAe=qAe,KAe=wAe,JAe=y_e,eIe=[].push,tIe=Math.min,nIe=4294967295,iIe=!JAe((function(){return!RegExp(nIe,"y")}));BAe("split",2,(function(e,t,n){var i;return i="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var i=String(XAe(this)),r=void 0===n?nIe:n>>>0;if(0===r)return[];if(void 0===e)return[i];if(!GAe(e))return t.call(i,e,r);for(var a,o,s,l=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),c=0,d=new RegExp(e.source,u+"g");(a=KAe.call(d,i))&&!((o=d.lastIndex)>c&&(l.push(i.slice(c,a.index)),a.length>1&&a.index<i.length&&eIe.apply(l,a.slice(1)),s=a[0].length,c=o,l.length>=r));)d.lastIndex===a.index&&d.lastIndex++;return c===i.length?!s&&d.test("")||l.push(""):l.push(i.slice(c)),l.length>r?l.slice(0,r):l}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var r=XAe(this),a=null==t?void 0:t[e];return void 0!==a?a.call(t,r,n):i.call(String(r),t,n)},function(e,r){var a=n(i,e,this,r,i!==t);if(a.done)return a.value;var o=WAe(e),s=String(this),l=VAe(o,RegExp),u=o.unicode,c=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(iIe?"y":"g"),d=new l(iIe?o:"^(?:"+o.source+")",c),h=void 0===r?nIe:r>>>0;if(0===h)return[];if(0===s.length)return null===HAe(d,s)?[s]:[];for(var p=0,f=0,m=[];f<s.length;){d.lastIndex=iIe?f:0;var g,v=HAe(d,iIe?s:s.slice(f));if(null===v||(g=tIe(ZAe(d.lastIndex+(iIe?0:f)),s.length))===p)f=YAe(s,f,u);else{if(m.push(s.slice(p,f)),m.length===h)return m;for(var y=1;y<=v.length-1;y++)if(m.push(v[y]),m.length===h)return m;f=p=g}}return m.push(s.slice(p)),m}]}),!iIe),function(e){e.mp4="video/mp4",e.webm="video/webm",e.quicktime="video/quicktime"}(kAe||(kAe={}));var rIe=function(e){var n=e.fileName,i=e.url,r=e.onPlay;if(!i)return null;var a="safari"===og?i+"#t=0.1":i;return t.jsxs("div",a_e({className:"lt-reach-embedded-video"},{children:[t.jsx(KEe,{fileName:n,url:i},void 0),t.jsxs("video",a_e({onPlay:function(){return null==r?void 0:r(i)},preload:"metadata",controls:!0,title:n,width:"auto",height:"auto"},{children:[t.jsx("source",{src:a,type:"video/mp4"},void 0),t.jsx(hS,{id:"Generic.videoReplayError",tagName:"p"},void 0)]}),void 0)]}),void 0)};function aIe(e){var t,n="mac"===as.deviceInfo.operatingSystem,i=null===(t=cG.getType(e))||void 0===t?void 0:t.toString();return!!i&&(!!i.startsWith(kAe.mp4)||(n?i.startsWith(kAe.quicktime):i.startsWith(kAe.webm)))}var oIe,sIe,lIe=function(e,t){return"\n box-shadow: "+e/2+"px "+t/2+"px "+(Math.abs(e)+Math.abs(t))+"px grey;\n "},uIe=function(e){return"\n &:-moz-placeholder {\n "+e+";\n }\n &::-moz-placeholder {\n "+e+";\n }\n &:-ms-input-placeholder {\n "+e+";\n }\n &::-webkit-input-placeholder {\n "+e+";\n }\n "},cIe=function(e,t,n){return a.css(sIe||(sIe=c_e(["\n display: block;\n display: -webkit-box;\n max-height: ","px;\n font-size: ","px;\n line-height: ",";\n -webkit-line-clamp: ",";\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n "],["\n display: block;\n display: -webkit-box;\n max-height: ","px;\n font-size: ","px;\n line-height: ",";\n -webkit-line-clamp: ",";\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n "])),t*n*e,t,n,e)};function dIe(e){var t=new Image,n=new Promise((function(e){t.onload=function(t){var n=t.currentTarget;e({width:n.width,height:n.height})}}));return t.src=e,n}function hIe(e){return s_e(this,void 0,void 0,(function(){return l_e(this,(function(t){switch(t.label){case 0:return null==e||0===e.length?[2,null]:[4,Promise.all(e.map(dIe))];case 1:return[2,t.sent()]}}))}))}function pIe(e){return tFe(e)?"MusicInCollectionFill":aIe(e)?"Video":gIe(null==e?void 0:e.split(".").pop().toLowerCase())}function fIe(e){switch(e){case"WordDocument":return"#1C5FC0";case"ExcelDocument":return"#138147";case"PowerPointDocument":return"#CA4B27";case"VisioDocument":return"#1C5FBF";case"PDF":return"#CF1700";default:return"#000"}}function mIe(e){switch(e){case"VisioDocument":case"WordDocument":case"ExcelDocument":case"PowerPointDocument":return-55;default:return-50}}function gIe(e){switch(null==e?void 0:e.toLowerCase()){case"vsdx":return"VisioDocument";case"rar":case"zip":case"7z":return"ZipFolder";case"pdf":return"PDF";case"doc":case"docx":return"WordDocument";case"xls":case"xlsx":case"csv":return"ExcelDocument";case"ppt":case"pptx":case"potx":case"ppsx":return"PowerPointDocument";case"mp4":case"webm":case"mpeg":case"avi":case"ogv":return"Video";case"aac":case"mp3":case"oga":case"opus":case"wav":case"weba":return"MusicInCollectionFill";case"bmp":case"gif":case"ico":case"jpeg":case"jpg":case"png":case"svg":case"tif":case"webp":return"FileImage";default:return"Page"}}function vIe(){var e=aq(),t=rq(),n=t.createApiUrl,r=t.fetchFromApi,a=i.useContext(OS).identifier,o=Am(),s=w7().interaction,l=null==a?void 0:a.id;return i.useMemo((function(){return{exchangeShortLivedToken:function(e){return s_e(this,void 0,void 0,(function(){var t;return l_e(this,(function(n){switch(n.label){case 0:return e?[4,r("/file_access_token/types/short_lived",{method:"POST",headers:{authorization:"Bearer "+e,"subscription-id":l}})]:[2,null];case 1:return[2,200!==(t=n.sent()).status?null:t.text()]}}))}))},getPublishableItemShortLivedToken:function(t,n){return e.custom(t+"/"+n+"/file_access_token/types/short_lived").get().then((function(e){return e.body().data()}))},createDownloadClickHandler:function(e,t,n,i,r){var a=this;return function(){return s_e(a,void 0,void 0,(function(){var a;return l_e(this,(function(l){switch(l.label){case 0:return[4,t()];case 1:return a=l.sent(),window.open(a,"ios"===o.deviceInfo.operatingSystem?"_self":e),s({event:f7.downloadFile,action:m7.click,value:a,item:{id:n,type:i,parentId:r}}),[2]}}))}))}}}}),[l,r,n,e,module])}var yIe,bIe,OIe,_Ie,wIe,kIe,xIe,SIe,PIe,EIe,FIe,CIe,TIe,DIe,AIe,IIe,LIe,zIe,$Ie=function(e){var n=e.files,i=e.onDeleteClick,r=e.getFileUrl,a=e.fileAccessToken,o=e.onPlayVideo,s=e.onPlayAudio,l=e.disabled,u=e.parentId,c=e.itemResourceType,d=e.className;if(!n||0===n.length)return null;var h=n.filter((function(e){return r&&tFe(e.filename)})),p=n.filter((function(e){return r&&aIe(e.filename)})),f=n.filter((function(e){return!h.includes(e)&&!p.includes(e)}));return t.jsxs(t.Fragment,{children:[p.length>0&&t.jsx(QIe,a_e({className:d,"data-preload-video":"safari"===og},{children:p.map((function(e){return t.jsx(jIe,{children:t.jsx(rIe,{fileName:e.filename,url:r(e.id),onPlay:function(t){return o(t,e.id)}},void 0)},e.id)}))}),void 0),h.length>0&&t.jsx(RIe,a_e({className:d},{children:h.map((function(e){return t.jsx(MIe,{children:t.jsx(eFe,{fileName:e.filename,url:r(e.id),onPlay:function(t){return s(t,e.id)}},void 0)},e.id)}))}),void 0),f.length>0&&t.jsx(RIe,a_e({className:d},{children:f.map((function(e){return t.jsx(MIe,{children:t.jsx(NIe,{attachment:e,disabled:l,getFileUrl:r,fileAccessToken:a,onDeleteClick:i,itemResourceType:c,parentId:u},void 0)},e.id)}))}),void 0)]},void 0)},RIe=y.default.ul.withConfig({displayName:"FileAttachmentList__FilesListHost",componentId:"sc-lwztxx-0"})(yIe||(yIe=c_e(["\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n margin: 0;\n padding: 0;\n list-style: none;\n\n audio {\n width: 100%;\n }\n"],["\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n margin: 0;\n padding: 0;\n list-style: none;\n\n audio {\n width: 100%;\n }\n"]))),QIe=y.default.ul.withConfig({displayName:"FileAttachmentList__VideoFilesListHost",componentId:"sc-lwztxx-1"})(bIe||(bIe=c_e(["\n margin: 0;\n padding: 0;\n list-style: none;\n\n video {\n width: 100%;\n border-radius: ","px;\n overflow: hidden;\n }\n\n &[data-preload-video='true'] {\n video {\n box-shadow: inset 0 0 0 0.5px #707070, 0 0 0 0.5px #707070;\n background-color: #e4e4e4;\n }\n }\n"],["\n margin: 0;\n padding: 0;\n list-style: none;\n\n video {\n width: 100%;\n border-radius: ","px;\n overflow: hidden;\n }\n\n &[data-preload-video='true'] {\n video {\n box-shadow: inset 0 0 0 0.5px #707070, 0 0 0 0.5px #707070;\n background-color: #e4e4e4;\n }\n }\n"])),20),jIe=y.default.li.withConfig({displayName:"FileAttachmentList__VideoFileItem",componentId:"sc-lwztxx-2"})(OIe||(OIe=c_e(["\n &:not(:first-child) {\n margin-top: ","px;\n }\n"],["\n &:not(:first-child) {\n margin-top: ","px;\n }\n"])),U8),MIe=y.default.li.withConfig({displayName:"FileAttachmentList__FileItem",componentId:"sc-lwztxx-3"})(_Ie||(_Ie=c_e(["\n width: 100%;\n &:not(:first-child) {\n margin-top: ","px;\n }\n\n @media (min-width: ","px) {\n width: calc(50% - ","px);\n\n &:nth-child(2) {\n margin-top: 0;\n }\n }\n"],["\n width: 100%;\n &:not(:first-child) {\n margin-top: ","px;\n }\n\n @media (min-width: ","px) {\n width: calc(50% - ","px);\n\n &:nth-child(2) {\n margin-top: 0;\n }\n }\n"])),U8,X8,5),NIe=function(e){var n=e.attachment,i=e.onDeleteClick,r=e.getFileUrl,a=e.fileAccessToken,s=e.disabled,l=e.parentId,u=e.itemResourceType,c=Wx().formatMessage,d=!s&&i,h=vIe(),p=h.exchangeShortLivedToken,f=h.createDownloadClickHandler;return t.jsxs(UIe,{children:[n.isUploadInProgress&&t.jsx(YIe,{children:t.jsx(ZIe,{size:o.SpinnerSize.medium},void 0)},void 0),t.jsx(BIe,a_e({takeFullWidth:!d},{children:function(){var e=this;if(n.hasError)return t.jsxs(GIe,{children:[t.jsx(HIe,{iconName:"Warning"},void 0),t.jsx(VIe,a_e({title:n.filename},{children:n.filename}),void 0)]},void 0);var i=pIe(n.filename);if(r)return t.jsxs(qIe,a_e({title:n.filename,onClick:f("_blank",(function(){return s_e(e,void 0,void 0,(function(){var e;return l_e(this,(function(t){switch(t.label){case 0:return[4,p(a)];case 1:return e=t.sent(),[2,r(n.id,e)]}}))}))}),n.id,u,l)},{children:[t.jsx(WIe,{iconName:i},void 0),t.jsx(VIe,{children:n.filename},void 0)]}),void 0);return t.jsxs(GIe,{children:[t.jsx(WIe,{iconName:i},void 0),t.jsx(VIe,a_e({title:n.filename},{children:n.filename}),void 0)]},void 0)}()}),void 0),d&&t.jsx(XIe,{iconProps:{iconName:"Delete"},onClick:function(){return i(n)},disabled:n.isUploadInProgress,ariaLabel:c({id:"AriaLabel.removeAttachmentButton"})},void 0)]},void 0)},UIe=y.default.div.withConfig({displayName:"FileAttachmentList__Host",componentId:"sc-lwztxx-4"})(wIe||(wIe=c_e(["\n position: relative;\n display: flex;\n border: 1px solid #95989a;\n border-radius: 2px;\n background-color: ",";\n"],["\n position: relative;\n display: flex;\n border: 1px solid #95989a;\n border-radius: 2px;\n background-color: ",";\n"])),(function(e){return e.theme.palette.white})),qIe=y.default(o.DefaultButton).withConfig({displayName:"FileAttachmentList__DownloadButton",componentId:"sc-lwztxx-5"})(kIe||(kIe=c_e(["\n display: flex;\n align-items: center;\n width: 100%;\n color: ",";\n box-sizing: border-box;\n padding: ","px;\n border: 0;\n height: auto;\n\n &:hover {\n background-color: initial;\n color: ",";\n }\n\n & > span {\n max-width: 100%;\n }\n\n // make the entire tile clickable\n button::before {\n content: '';\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n left: 0;\n z-index: 0;\n }\n"],["\n display: flex;\n align-items: center;\n width: 100%;\n color: ",";\n box-sizing: border-box;\n padding: ","px;\n border: 0;\n height: auto;\n\n &:hover {\n background-color: initial;\n color: ",";\n }\n\n & > span {\n max-width: 100%;\n }\n\n // make the entire tile clickable\n button::before {\n content: '';\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n left: 0;\n z-index: 0;\n }\n"])),(function(e){return e.theme.textColors.default}),U8,(function(e){return e.theme.textColors.default})),BIe=y.default.span.withConfig({displayName:"FileAttachmentList__Inner",componentId:"sc-lwztxx-6"})(PIe||(PIe=c_e(["\n display: inline-flex;\n\n ","\n"],["\n display: inline-flex;\n\n ","\n"])),(function(e){return e.takeFullWidth?a.css(xIe||(xIe=c_e(["\n width: 100%;\n "],["\n width: 100%;\n "]))):a.css(SIe||(SIe=c_e(["\n width: calc(100% - 34px); // delete button size;\n "],["\n width: calc(100% - 34px); // delete button size;\n "])))})),GIe=y.default.span.withConfig({displayName:"FileAttachmentList__FileNameContainer",componentId:"sc-lwztxx-7"})(EIe||(EIe=c_e(["\n display: flex;\n width: 100%;\n box-sizing: border-box;\n padding: ","px;\n"],["\n display: flex;\n width: 100%;\n box-sizing: border-box;\n padding: ","px;\n"])),U8),WIe=y.default(o.Icon).withConfig({displayName:"FileAttachmentList__FileIcon",componentId:"sc-lwztxx-8"})(FIe||(FIe=c_e(["\n margin-right: ","px;\n font-size: 18px;\n"],["\n margin-right: ","px;\n font-size: 18px;\n"])),U8),XIe=y.default(o.IconButton).withConfig({displayName:"FileAttachmentList__DeleteButton",componentId:"sc-lwztxx-9"})(CIe||(CIe=c_e(["\n margin: 0 auto;\n height: auto;\n width: auto;\n padding: 0 8px;\n\n && {\n color: ",";\n }\n\n &:disabled {\n background-color: transparent;\n }\n\n i {\n font-size: 18px;\n margin: 0;\n }\n"],["\n margin: 0 auto;\n height: auto;\n width: auto;\n padding: 0 8px;\n\n && {\n color: ",";\n }\n\n &:disabled {\n background-color: transparent;\n }\n\n i {\n font-size: 18px;\n margin: 0;\n }\n"])),(function(e){return e.theme.textColors.default})),VIe=y.default.span.withConfig({displayName:"FileAttachmentList__FileName",componentId:"sc-lwztxx-10"})(TIe||(TIe=c_e(["\n font-size: 14px;\n flex: 1;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n text-decoration: none;\n"],["\n font-size: 14px;\n flex: 1;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n text-decoration: none;\n"]))),YIe=y.default.div.withConfig({displayName:"FileAttachmentList__AttachmentOverlay",componentId:"sc-lwztxx-11"})(DIe||(DIe=c_e(["\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n left: 0;\n z-index: 100;\n\n display: flex;\n align-items: center;\n justify-content: center;\n"],["\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n left: 0;\n z-index: 100;\n\n display: flex;\n align-items: center;\n justify-content: center;\n"]))),ZIe=y.default(vCe).withConfig({displayName:"FileAttachmentList__CenteredSpinner",componentId:"sc-lwztxx-12"})(AIe||(AIe=c_e(["\n margin-top: auto;\n height: 100%;\n"],["\n margin-top: auto;\n height: 100%;\n"]))),HIe=y.default(o.Icon).withConfig({displayName:"FileAttachmentList__WarningIcon",componentId:"sc-lwztxx-13"})(IIe||(IIe=c_e(["\n font-size: 20px;\n color: ",";\n"],["\n font-size: 20px;\n color: ",";\n"])),(function(e){return e.theme.palette.redDark})),KIe=function(e){var n,i=e.children,r=o_e(e,["children"]);return t.jsxs(t.Fragment,{children:[t.jsx(JIe,{},void 0),t.jsx(h_e,a_e({},r,{modalProps:a_e(a_e({},r.modalProps||{}),{className:Yq({"lt-reach-dialog-mobile-full-height":as.isAnyMobileApp},null===(n=r.modalProps)||void 0===n?void 0:n.className)})},{children:i}),void 0)]},void 0)},JIe=a.createGlobalStyle(LIe||(LIe=c_e(['\n /**\n Mobile overrides\n */\n .lt-reach-dialog-mobile-full-height {\n .ms-Dialog-main {\n .ms-Modal-scrollableContent {\n height: calc(100vh - 32px);\n }\n }\n }\n\n .browser-name-ios-webview.lt-reach-dialog-mobile-full-height {\n .ms-Dialog-main {\n .ms-Modal-scrollableContent {\n // 8 more pixels, because if you open the app from within another app (e.g. Testflight)\n // it has an additional "backbar" there which takes up space\n height: calc(100vh - 32px - env(safe-area-inset-top) - 8px);\n }\n }\n }\n'],['\n /**\n Mobile overrides\n */\n .lt-reach-dialog-mobile-full-height {\n .ms-Dialog-main {\n .ms-Modal-scrollableContent {\n height: calc(100vh - 32px);\n }\n }\n }\n\n .browser-name-ios-webview.lt-reach-dialog-mobile-full-height {\n .ms-Dialog-main {\n .ms-Modal-scrollableContent {\n // 8 more pixels, because if you open the app from within another app (e.g. Testflight)\n // it has an additional "backbar" there which takes up space\n height: calc(100vh - 32px - env(safe-area-inset-top) - 8px);\n }\n }\n }\n'])));!function(e){e[e.Top=0]="Top",e[e.Bottom=1]="Bottom"}(zIe||(zIe={}));var eLe=function(e){var n=e.className,i=e.offsetTop,r=void 0===i?0:i,a=e.positionBottomOnMobile,o=e.domIdentifier,s=e.offsetRight,l=void 0===s?0:s,u=e.children;return t.jsxs(iLe,a_e({offsetTop:r,offsetRight:l,className:n,positionBottomOnMobile:a,"data-fab":o},{children:[t.jsx(aLe,{},void 0),u]}),void 0)},tLe=function(e){var n=e.iconName,i=e.onClick,r=e.tooltipResourceKey,a=e.useSecondaryBgColor,o=e.domIdentifier,s=e.className,l=Wx().formatMessage;return t.jsxs(sEe,a_e({className:s,resourceKey:r},{children:[t.jsx(aLe,{},void 0),t.jsx(oLe,{"data-fab":o,iconProps:{iconName:n},onClick:i,ariaLabel:l({id:r}),useSecondaryBgColor:a},void 0)]}),void 0)},nLe=function(e){var n=e.iconName,r=e.tooltipResourceKey,a=e.titleResourceKey,s=e.showCloseButton,l=e.useSecondaryBgColor,u=e.children,c=e.domIdentifier,d=e.useMobileFullHeight,h=Wx().formatMessage,p=i.useState(!1),f=p[0],m=p[1],g=i.useRef(null),v=as.isAnyMobileApp;return t.jsxs(t.Fragment,{children:[t.jsx("div",a_e({ref:g},{children:t.jsx(tLe,{"data-fab":c,tooltipResourceKey:r,iconName:n,onClick:function(){return m(!f)},useSecondaryBgColor:l},void 0)}),void 0),f&&v&&d&&t.jsxs(KIe,a_e({hidden:!f,modalProps:{isBlocking:!1,className:"dialog-mobile-full-height"},dialogContentProps:{showCloseButton:!0,type:o.DialogType.close,title:h({id:a})},onDismiss:function(){return m(!1)}},{children:[t.jsx(wLe,{},void 0),u]}),void 0),f&&v&&!d&&t.jsxs(h_e,a_e({hidden:!f},{children:[u,t.jsx(o.DialogFooter,{children:t.jsx(o.DefaultButton,{text:h({id:"Generic.close"}),onClick:function(){return m(!1)}},void 0)},void 0)]}),void 0),f&&!v&&t.jsx(_Fe,a_e({target:g.current,directionalHint:o.DirectionalHint.bottomRightEdge,onDismiss:function(){return m(!1)}},{children:t.jsxs(OLe,{children:[u,s&&t.jsx(_Le,{text:h({id:"Generic.close"}),onClick:function(){return m(!1)}},void 0)]},void 0)}),void 0)]},void 0)},iLe=y.default.nav.withConfig({displayName:"FloatingActionButton__Navigation",componentId:"sc-1spkihm-0"})(uLe||(uLe=c_e(["\n position: fixed;\n margin: 0 10px;\n right: ","px;\n z-index: 11;\n\n ","\n"],["\n position: fixed;\n margin: 0 10px;\n right: ","px;\n z-index: 11;\n\n ","\n"])),(function(e){return e.offsetRight+20}),(function(e){return e.positionBottomOnMobile?a.css(sLe||(sLe=c_e(["\n bottom: 20px;\n @media (min-width: ","px) {\n bottom: unset;\n top: ","px;\n }\n "],["\n bottom: 20px;\n @media (min-width: ","px) {\n bottom: unset;\n top: ","px;\n }\n "])),V8,e.offsetTop+20):a.css(lLe||(lLe=c_e(["\n top: ","px;\n "],["\n top: ","px;\n "])),e.offsetTop+20)})),rLe=function(e){return a.css(hLe||(hLe=c_e(["\n display: flex;\n justify-content: center;\n align-items: center;\n width: 50px;\n height: 50px;\n font-size: 20px;\n\n border-radius: 50%;\n box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.2),\n 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);\n transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,\n box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n margin-bottom: 15px;\n\n ","\n "],["\n display: flex;\n justify-content: center;\n align-items: center;\n width: 50px;\n height: 50px;\n font-size: 20px;\n\n border-radius: 50%;\n box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.2),\n 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);\n transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,\n box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n margin-bottom: 15px;\n\n ","\n "])),e?a.css(cLe||(cLe=c_e(["\n background-color: ",";\n color: ",";\n\n &:hover {\n background-color: ",";\n }\n "],["\n background-color: ",";\n color: ",";\n\n &:hover {\n background-color: ",";\n }\n "])),(function(e){return e.theme.palette.themeSecondary}),(function(e){return e.theme.textColors.onSecondary}),(function(e){return e.theme.palette.themeTertiary})):a.css(dLe||(dLe=c_e(["\n background-color: ",";\n color: ",";\n\n &:hover {\n background-color: ",";\n }\n "],["\n background-color: ",";\n color: ",";\n\n &:hover {\n background-color: ",";\n }\n "])),(function(e){return e.theme.palette.neutralTertiary}),(function(e){return e.theme.palette.neutralPrimary}),(function(e){return e.theme.palette.neutralTertiaryAlt})))},aLe=a.createGlobalStyle(pLe||(pLe=c_e(["\n ","\n"],["\n ","\n"])),(function(e){return FK("\n [data-fab] button:focus::after,\n button[data-fab]:focus::after {\n outline-color: "+e.theme.palette.themePrimary+";\n outline-offset: 5px;\n border-radius: 50%;\n }\n ")})),oLe=y.default(o.IconButton).withConfig({displayName:"FloatingActionButton__StyledFabIconButton",componentId:"sc-1spkihm-1"})(fLe||(fLe=c_e(["\n &&& {\n ","\n }\n"],["\n &&& {\n ","\n }\n"])),(function(e){return rLe(e.useSecondaryBgColor)}));y.default(sEe).withConfig({displayName:"FloatingActionButton__StyledTooltip",componentId:"sc-1spkihm-2"})(mLe||(mLe=c_e(["\n a,\n a:visited {\n ","\n }\n"],["\n a,\n a:visited {\n ","\n }\n"])),(function(e){return rLe(e.useSecondaryBgColor)}));var sLe,lLe,uLe,cLe,dLe,hLe,pLe,fLe,mLe,gLe,vLe,yLe,bLe,OLe=y.default.div.withConfig({displayName:"FloatingActionButton__CalloutHost",componentId:"sc-1spkihm-3"})(gLe||(gLe=c_e(["\n display: flex;\n flex-direction: column;\n padding: ","px;\n"],["\n display: flex;\n flex-direction: column;\n padding: ","px;\n"])),q8),_Le=y.default(o.DefaultButton).withConfig({displayName:"FloatingActionButton__CalloutCloseButton",componentId:"sc-1spkihm-4"})(vLe||(vLe=c_e(["\n && {\n margin-left: auto;\n }\n"],["\n && {\n margin-left: auto;\n }\n"]))),wLe=a.createGlobalStyle(yLe||(yLe=c_e(["\n .dialog-mobile-full-height {\n .ms-Dialog-main {\n @media (max-width: ","px) {\n width: 100% !important;\n }\n }\n\n .ms-Dialog-title {\n padding-bottom: 0;\n }\n\n .dialog-content-host {\n height: 466px;\n }\n}\n"],["\n .dialog-mobile-full-height {\n .ms-Dialog-main {\n @media (max-width: ","px) {\n width: 100% !important;\n }\n }\n\n .ms-Dialog-title {\n padding-bottom: 0;\n }\n\n .dialog-content-host {\n height: 466px;\n }\n}\n"])),K8),kLe=function(e){var n=e.tagName,r=void 0===n?"div":n,a=e.id,o=e.values,s=e.className;return i.createElement(r,{className:s},t.jsx(hS,{id:a,values:o},void 0))},xLe=function(e){var n=e.icon,i=e.resourceKey,r=e.className,a=e.values,s="string"==typeof n?t.jsx(o.Icon,{iconName:n},void 0):n;return t.jsxs(SLe,a_e({className:r},{children:[s,t.jsx(hS,{id:i,values:a,tagName:"span"},void 0)]}),void 0)},SLe=y.default.div(bLe||(bLe=c_e(["\n display: flex;\n align-items: center;\n\n > *:first-child {\n margin-right: ","px;\n }\n\n i {\n font-size: 24px;\n }\n\n > span {\n font-size: ","px;\n }\n"],["\n display: flex;\n align-items: center;\n\n > *:first-child {\n margin-right: ","px;\n }\n\n i {\n font-size: 24px;\n }\n\n > span {\n font-size: ","px;\n }\n"])),6,a7),PLe={},ELe=new yB;var FLe=new yB;function CLe(e){var t=i.useRef(!0);i.useEffect((function(){t.current||FLe.next(),t.current=!1}),e)}var TLe,DLe,ALe,ILe,LLe=function(e){var n=e.groupName,r=e.groupId,a=e.keywordName,o=e.keywordId,s=e.language,l=e.underlined,u=e.onClick,c=e.tabIndex,d=x6(),h=N5(i.useContext(mie).selectedKeywordGroups,d,r,a,n,s);return u?t.jsx($Le,a_e({onClick:function(){return u(o)},tabIndex:c},{children:t.jsx(RLe,a_e({underlined:!0},{children:h}),void 0)}),void 0):t.jsx(RLe,a_e({underlined:l},{children:h}),void 0)},zLe=function(e){var n=e.groupId,r=e.keywordName,a=x6(),o=N5(i.useContext(mie).selectedKeywordGroups,a,n,r);return CLe([o]),t.jsx(RLe,a_e({underlined:!0},{children:o}),void 0)},$Le=y.default(gFe).withConfig({displayName:"KeywordTitle__KeywordButton",componentId:"sc-18jcqyr-0"})(TLe||(TLe=c_e(["\n z-index: 1;\n height: inherit;\n padding: 0;\n > span {\n width: 100%;\n color: ",";\n }\n"],["\n z-index: 1;\n height: inherit;\n padding: 0;\n > span {\n width: 100%;\n color: ",";\n }\n"])),(function(e){return e.theme.palette.neutralSecondaryAlt})),RLe=y.default.span.withConfig({displayName:"KeywordTitle__Keyword",componentId:"sc-18jcqyr-1"})(ALe||(ALe=c_e(["\n ","\n"],["\n ","\n"])),(function(e){return e.underlined&&a.css(DLe||(DLe=c_e(["\n text-decoration: underline;\n "],["\n text-decoration: underline;\n "])))})),QLe=function(e){var n=e.modified,i=Wx();return n?t.jsxs(jLe,a_e({className:"ms-fontColor-neutralTertiary"},{children:["(",t.jsx(sEe,a_e({resourceKey:"Generic.wasModifiedTooltip",values:{modified:function(){var e=i.formatDate(n,{day:"2-digit",month:"2-digit",year:"numeric"}),t=i.formatTime(n);return e+" "+t}()}},{children:t.jsx(hS,{id:"Generic.wasModified"},void 0)}),void 0),")"]}),void 0):null},jLe=y.default.div(ILe||(ILe=c_e(["\n font-size: ","px;\n"],["\n font-size: ","px;\n"])),o7);function MLe(){return MLe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},MLe.apply(this,arguments)}var NLe=function(e){return m.createElement("svg",MLe({width:400,height:246,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),m.createElement("path",{style:{fill:"none"},d:"M0 90.012h400v100H0z"}),m.createElement("path",{d:"M303.95 99.623c0-6.623-5.377-12-12-12h-223c-6.623 0-12 5.377-12 12s5.377 12 12 12h223c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M109.95 111.623h231.857c6.113 0 11.143 5.417 11.143 12s-5.03 12-11.143 12H109.95c6.113 0 11.143-5.417 11.143-12s-5.03-12-11.143-12Z",style:{fill:"currentColor",fillOpacity:.2,fillRule:"nonzero"}}),m.createElement("circle",{cx:374.95,cy:123.623,r:12,style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M328.95 147.623c0-6.623-5.377-12-12-12h-229c-6.623 0-12 5.377-12 12s5.377 12 12 12h229c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M72.95 159.623h181c-6.583 0-12 5.417-12 12s5.417 12 12 12h-181c-6.583 0-12-5.417-12-12s5.417-12 12-12Z",style:{fill:"currentColor",fillOpacity:.2,fillRule:"nonzero"}}),m.createElement("path",{d:"M354.95 195.623c0-6.623-5.377-12-12-12h-249c-6.623 0-12 5.377-12 12s5.377 12 12 12h249c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"m287.318 41.85-140.914-4.921-6.98 199.878 140.914 4.921 6.98-199.878Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m281.417 34.091-140.914 4.921 6.98 199.878 140.914-4.921-6.98-199.878Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M270.614 121.843a3.922 3.922 0 0 0 2.186-5.094l-12.336-30.881a3.921 3.921 0 0 0-5.094-2.187 3.922 3.922 0 0 0-2.186 5.095l12.335 30.881a3.923 3.923 0 0 0 5.095 2.186Z",style:{fill:"currentColor"}}),m.createElement("path",{d:"M257.614 132.166c-13.771-34.474-20.534-54.646-13.585-57.422l.021-.008c6.947-2.729 15.939 16.546 29.696 50.986l-16.132 6.444Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m257.875 130.779 14.726-5.882c15.927 39.871 28.772 71.236 21.136 74.286-7.636 3.05-19.935-28.532-35.862-68.404ZM94.857 6.66c6.969 3.252 17.655 10.686 17.655 10.686-4.646 6.505-6.504 16.262-6.504 16.262 10.686 5.111 6.04 13.009 6.04 13.009-6.04 1.394-20.444-2.323-20.444-2.323-3.252 11.615-16.261 3.717-16.261 3.717 1.858-11.616 2.787-24.16 2.787-24.16-6.04-6.97-4.646-18.585-4.646-18.585C81.847 8.518 94.857 6.66 94.857 6.66Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M80.314 30.738c5.111 11.615 13.939 13.938 13.939 13.938 5.576 3.717 23.231-16.726 23.231-16.726 2.788 7.434-.929 19.514-.929 19.514-.929 6.04-6.969 13.474-6.969 13.474-5.111 3.717-21.373 2.323-21.373 2.323-9.757-5.575-14.868-8.828-14.868-8.828 1.859-9.757 6.505-14.403 6.505-14.403l.464-9.292Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M65.554 32.465c-2.788 10.222-2.323 17.191-2.323 17.191 5.111 7.898 18.585 14.403 18.585 14.403l8.828-12.545c4.181-3.252 14.867 2.323 14.867 2.323 6.505 2.788 13.01-13.009 13.01-13.009-10.686-10.222-15.333-14.868-15.333-14.868-5.11-7.434-6.504-13.938-6.504-13.938l-4.647-7.899c-4.646 4.646-4.181 26.019-4.181 26.019C90.179 34.788 71.594 32 71.594 32l-6.04.465Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m59.887 23.474-5.555 9.305 5.4 7.121 10.694 3.229c8.278-1.275 12.592-3.061 12.592-3.061 3.727-7.798 5.745-9.934 5.745-9.934l5.045-5.341 5.483-4.521.042-5.822-6.7-1.679c-6.172 2.254-12.943 5.358-12.943 5.358-3.685 1.976-14.171 6.016-14.171 6.016l-5.632-.671Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M102.724 12.771c-5.576 4.646-20.908 16.726-20.908 16.726-5.576 3.717-12.08 10.222-12.08 10.222l2.787 7.898c4.647 4.182 11.616 6.969 11.616 6.969 9.292 3.253 18.12 1.859 18.12 1.859 7.899-12.545 10.686-19.514 10.686-19.514 3.253-9.757 5.576-19.514 5.576-19.514-6.04-2.788-15.797-4.646-15.797-4.646Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M86.898 11.688c-6.505 2.323-17.191 6.04-17.191 6.04l-6.04 9.293-.465 13.474c6.505.929 18.12 3.717 18.12 3.717-.929-6.505-2.323-12.081-2.323-12.081l-.465-6.969 8.364-13.474Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}))};function ULe(){return ULe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},ULe.apply(this,arguments)}var qLe=function(e){return m.createElement("svg",ULe({width:400,height:160,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),m.createElement("path",{style:{fill:"none"},d:"M0 31.309h400v100H0z"}),m.createElement("path",{d:"M341.375 39.358c0-6.623-5.377-12-12-12h-248.5c-6.623 0-12 5.377-12 12s5.377 12 12 12h248.5c6.623 0 12-5.377 12-12ZM394.625 63.358c0-6.623-5.377-12-12-12H44.875c-6.623 0-12 5.377-12 12s5.377 12 12 12h337.75c6.623 0 12-5.377 12-12ZM384.625 135.309c0-6.623-5.377-12-12-12H44.875c-6.623 0-12 5.377-12 12s5.377 12 12 12h327.75c6.623 0 12-5.377 12-12ZM151.75 75.358H16c-6.623 0-12 5.377-12 12s5.377 12 12 12h135.75c-6.623 0-12-5.377-12-12s5.377-12 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M58.688 99.358h153.75c6.623 0 12 5.377 12 12s-5.377 12-12 12H58.688c6.623 0 12-5.377 12-12s-5.377-12-12-12ZM368.778 98.309c0-6.623-5.377-12-12-12s-12 5.377-12 12 5.377 12 12 12 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M198.494 11.655 94.626 18.918a5.483 5.483 0 0 0-5.084 5.849l8.792 125.734a5.483 5.483 0 0 0 5.849 5.084l103.867-7.263-9.556-136.667ZM202.138 11.4l103.867-7.263a5.483 5.483 0 0 1 5.849 5.084l8.792 125.734a5.483 5.483 0 0 1-5.084 5.849l-103.867 7.263L202.138 11.4Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m195.257 43.926.191 2.733-3.645.255-.509-7.289 3.644-.255.191 2.734 5.467-.383-1.465-20.955-91.112 6.371 8.283 118.445 91.111-6.371-1.465-20.956-5.467.382.191 2.734-3.644.255-.51-7.289 3.645-.255.191 2.733 5.466-.382-5.097-72.889-5.466.382ZM209.835 42.907l.191 2.733 3.644-.255-.509-7.289-3.645.255.191 2.733-5.466.383-1.466-20.956 91.112-6.371 8.282 118.445-91.111 6.371L209.592 118l5.467-.382.191 2.733 3.645-.254-.51-7.289-3.645.255.192 2.733-5.467.382-5.097-72.889 5.467-.382Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:1}}),m.createElement("path",{d:"m193.498 44.964 18.223-1.274M198.723 119.676l18.222-1.274M193.243 41.32l18.223-1.274M198.468 116.032l18.222-1.275",style:{fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeMiterlimit:1.5}}),m.createElement("path",{d:"m123.999 46.162 60.133-4.205M124.954 59.829l60.134-4.205M125.91 73.496l60.134-4.205M126.866 87.162l60.133-4.205M127.821 100.829l60.134-4.205M128.777 114.496l60.134-4.205M129.733 128.163l60.133-4.205M282.087 28.698l-57.401 4.014 2.74 39.178 57.4-4.014-2.739-39.178ZM285.591 78.81l-57.4 4.014 2.739 39.178 57.401-4.014-2.74-39.178Z",style:{fill:"none",stroke:"currentColor",strokeOpacity:.2,strokeWidth:2}}))};function BLe(){return BLe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},BLe.apply(this,arguments)}var GLe=function(e){return m.createElement("svg",BLe({width:400,height:185,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),m.createElement("path",{style:{fill:"none"},d:"M0 30h400v100H0z"}),m.createElement("path",{d:"M306.436 12c0-6.623-5.377-12-12-12h-153.5c-6.623 0-12 5.377-12 12s5.377 12 12 12h153.5c6.623 0 12-5.377 12-12ZM372.436 60c0-6.623-5.377-12-12-12H50.686c-6.623 0-12 5.377-12 12s5.377 12 12 12h309.75c6.623 0 12-5.377 12-12ZM343.325 72.049h-153.75c-6.623 0-12 5.377-12 12s5.377 12 12 12h153.75c-6.623 0-12-5.377-12-12s5.377-12 12-12ZM282.436 36c0-6.623-5.377-12-12-12H74.686c-6.623 0-12 5.377-12 12s5.377 12 12 12h195.75c6.623 0 12-5.377 12-12ZM282.436 132c0-6.623-5.377-12-12-12h-129.5c-6.623 0-12 5.377-12 12s5.377 12 12 12h129.5c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M356.686 108c0-6.623-5.377-12-12-12H68.936c-6.623 0-12 5.377-12 12s5.377 12 12 12h275.75c6.623 0 12-5.377 12-12ZM392.95 108c0-6.623-5.377-12-12-12s-12 5.377-12 12 5.377 12 12 12 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"m324.66 39.281-87.775-6.288-7.646 106.726 87.775 6.288 7.646-106.726Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m319.316 43.911-77.801-5.574-5.574 77.801 77.801 5.573 5.574-77.8Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M314.299 74.522 227.54 59.795l-17.906 105.491 86.759 14.727 17.906-105.491Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m308.533 78.615-76.9-13.053-13.054 76.9 76.9 13.053 13.054-76.9Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M240.587 19.16 93.266 33.322l10.047 104.518 147.321-14.162L240.587 19.16Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m168.075 38.186 7.654 79.633M186.507 83.631l41.808-4.019M187.751 96.571l41.808-4.019M188.995 109.511l41.808-4.018",style:{fill:"none",stroke:"currentColor",strokeWidth:1}}),m.createElement("path",{d:"m232.394 27.985-17.918 1.722 2.105 21.899 17.918-1.722-2.105-21.899Z",style:{fill:"currentColor",fillOpacity:.2}}))};function WLe(){return WLe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},WLe.apply(this,arguments)}var XLe,VLe,YLe,ZLe,HLe,KLe,JLe,eze,tze,nze,ize,rze=function(e){return m.createElement("svg",WLe({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 124"},e),m.createElement("path",{style:{fill:"none"},d:"M0 6.131h400v100H0z"}),m.createElement("path",{d:"M248 12c0-6.623-5.377-12-12-12H136c-6.623 0-12 5.377-12 12s5.377 12 12 12h100c6.623 0 12-5.377 12-12ZM320 36c0-6.623-5.377-12-12-12H62c-6.623 0-12 5.377-12 12s5.377 12 12 12h246c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M105 48h245c6.583 0 12 5.417 12 12s-5.417 12-12 12H105c6.583 0 12-5.417 12-12s-5.417-12-12-12ZM36 72h268c-6.583 0-12 5.417-12 12s5.417 12 12 12H36c-6.583 0-12-5.417-12-12s5.417-12 12-12Z",style:{fill:"currentColor",fillOpacity:.2,fillRule:"nonzero"}}),m.createElement("path",{d:"M320 108c0-6.623-5.377-12-12-12H142c-6.623 0-12 5.377-12 12s5.377 12 12 12h166c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("circle",{cx:350,cy:108,r:12,style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"m290.483 107.633-7.558-7.907a4.774 4.774 0 0 0-3.256-1.512l-12.674-.814a4.922 4.922 0 0 0-2.907.7c-8.488 5.349-16.977 10.349-19.186 11.279-2.791 0-15.116-1.047-25.465-2.093l-18.256-2.093-16.512-4.186a4.792 4.792 0 0 0-5.465 2.442l-6.633 12.084-21.744 5.116-21.512-9.416a5.444 5.444 0 0 0-1.977-.349h-.465a5.5 5.5 0 0 0-2.907 1.279l-6.628 6.047-5.349 1.047-6.162-70.812 93.721-8.256a30.769 30.769 0 0 0 2.674 4.535l-1.739 2.79a4.618 4.618 0 0 0-1.162 3.061c0 2.531 2.083 4.613 4.613 4.613h.037a5.169 5.169 0 0 0 2.674-.814l3.372-1.86a26.83 26.83 0 0 0 10 4.651c4.767 1.047 9.535.349 12.558-2.791 4.07-4.07 4.07-10.581 1.279-16.977l.116-.233 55.813-4.882 6.4 72.674-5.7 2.677Z",style:{fill:"#fff"}}),m.createElement("path",{d:"M259.221 66.661 122.533 78.619l.608 6.951 136.688-11.959-.608-6.95ZM233.685 81.664l-110.046 9.628.608 6.951 110.046-9.628-.608-6.951Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M292.222 31.003a1.175 1.175 0 0 0-.465-.814.774.774 0 0 0-.814-.233L235.71 34.84l5.814-9.3c.581.233 1.279.465 1.86.7 2.907.93 6.047.814 7.907-1.163 1.977-1.977 2.093-5 1.163-7.907a23.214 23.214 0 0 0-5.7-8.953 22.876 22.876 0 0 0-8.837-5.7 11.406 11.406 0 0 0-3.372-.581h-1.047a6.055 6.055 0 0 0-3.6 1.628c-1.977 1.977-2.093 5-1.163 7.907.233.581.465 1.279.7 1.86l-12.093 7.558a21.654 21.654 0 0 0-8.14-1.86c-3.372 0-6.512.93-8.721 3.256-3.14 3.14-3.837 7.791-2.791 12.558.233 1.047.581 2.093.93 3.256l-94.188 8.253a1.115 1.115 0 0 0-1.049 1.281l6.4 73.256c.036.324.204.619.465.814.267.198.602.282.93.233l6.86-1.4c.233 0 .349-.116.581-.233l6.86-6.279c.443-.348.96-.588 1.512-.7.44-.036.881.044 1.279.233l21.86 9.535a.703.703 0 0 0 .465.116h.233l22.555-5.345c.349-.116.581-.233.7-.581l6.86-12.558a2.665 2.665 0 0 1 2.907-1.279l16.633 4.188h.116l18.372 2.209c10.7 1.047 23.372 2.093 25.93 2.093a.701.701 0 0 0 .465-.116c2.558-.93 13.14-7.326 19.884-11.512a1.768 1.768 0 0 1 1.512-.349l12.791.814a2.477 2.477 0 0 1 1.744.814l8.14 8.488c.322.359.851.456 1.279.233l7.442-3.256c.472-.179.762-.662.7-1.163l-6.636-74.885Zm-1.739 76.63-7.558-7.907a4.774 4.774 0 0 0-3.256-1.512l-12.674-.814a4.922 4.922 0 0 0-2.907.7c-8.488 5.349-16.977 10.349-19.186 11.279-2.791 0-15.116-1.047-25.465-2.093l-18.256-2.093-16.512-4.186a4.792 4.792 0 0 0-5.465 2.442l-6.633 12.084-21.744 5.116-21.512-9.416a5.444 5.444 0 0 0-1.977-.349h-.465a5.5 5.5 0 0 0-2.907 1.279l-6.628 6.047-5.349 1.047-6.162-70.812 93.721-8.256a30.769 30.769 0 0 0 2.674 4.535l-1.739 2.79a4.618 4.618 0 0 0-1.162 3.061c0 2.531 2.083 4.613 4.613 4.613h.037a5.169 5.169 0 0 0 2.674-.814l3.372-1.86a26.83 26.83 0 0 0 10 4.651c4.767 1.047 9.535.349 12.558-2.791 4.07-4.07 4.07-10.581 1.279-16.977l.116-.233 55.813-4.882 6.4 72.674-5.7 2.677Z",style:{fill:"currentColor"}}),m.createElement("path",{d:"M232.92 5.075a2.458 2.458 0 0 1 1.86-.7h.581a6.331 6.331 0 0 1 2.326.465 19.61 19.61 0 0 1 7.674 5 18.44 18.44 0 0 1 4.884 7.674c.7 2.326.465 3.953-.349 4.767-.814.814-2.442 1.047-4.767.349a19.614 19.614 0 0 1-7.674-5 18.444 18.444 0 0 1-4.884-7.674c-.814-2.441-.465-4.069.349-4.881ZM231.175 15.886a25.059 25.059 0 0 0 3.6 4.419 24.213 24.213 0 0 0 4.42 3.488l-11.86 19.186c-.814.814-2.326 1.047-4.419.465a15.949 15.949 0 0 1-6.86-4.419 18.817 18.817 0 0 1-4.419-6.977c-.581-2.093-.349-3.6.465-4.419l19.073-11.743Z",style:{fill:"#fff"}}),m.createElement("path",{d:"M203.036 24.026a8.792 8.792 0 0 1 6.512-2.326c1.656.063 3.298.336 4.884.814l-4.07 2.442c-.116.116-.233.116-.233.233-1.86 1.86-1.977 4.651-1.279 7.442a19.49 19.49 0 0 0 5.116 8.14 20.223 20.223 0 0 0 8.14 5.116c2.791.814 5.581.581 7.442-1.279.116-.116.116-.233.233-.233l2.442-4.07c1.512 4.767 1.046 8.953-1.512 11.4-2.209 2.209-5.581 2.907-9.767 1.977a29.22 29.22 0 0 1-20.117-20.122c-.582-3.953 0-7.325 2.209-9.534Z",style:{fill:"#fff"}}),m.createElement("path",{d:"M232.92 5.075a2.458 2.458 0 0 1 1.86-.7h.581a6.331 6.331 0 0 1 2.326.465 19.61 19.61 0 0 1 7.674 5 18.44 18.44 0 0 1 4.884 7.674c.7 2.326.465 3.953-.349 4.767-.814.814-2.442 1.047-4.767.349a19.614 19.614 0 0 1-7.674-5 18.444 18.444 0 0 1-4.884-7.674c-.814-2.441-.465-4.069.349-4.881ZM231.175 15.886a25.059 25.059 0 0 0 3.6 4.419 24.213 24.213 0 0 0 4.42 3.488l-11.86 19.186c-.814.814-2.326 1.047-4.419.465a15.949 15.949 0 0 1-6.86-4.419 18.817 18.817 0 0 1-4.419-6.977c-.581-2.093-.349-3.6.465-4.419l19.073-11.743Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M203.036 24.026a8.792 8.792 0 0 1 6.512-2.326c1.656.063 3.298.336 4.884.814l-4.07 2.442c-.116.116-.233.116-.233.233-1.86 1.86-1.977 4.651-1.279 7.442a19.49 19.49 0 0 0 5.116 8.14 20.223 20.223 0 0 0 8.14 5.116c2.791.814 5.581.581 7.442-1.279.116-.116.116-.233.233-.233l2.442-4.07c1.512 4.767 1.046 8.953-1.512 11.4-2.209 2.209-5.581 2.907-9.767 1.977a29.22 29.22 0 0 1-20.117-20.122c-.582-3.953 0-7.325 2.209-9.534Z",style:{fill:"currentColor",fillOpacity:.2}}))},aze=function(e){var n=e.images,i=e.selectedIndex,r=e.hidden,a=e.onClose,s=e.imageUrlResolver,l=zw((function(){return s_e(this,void 0,void 0,(function(){var e;return l_e(this,(function(t){switch(t.label){case 0:return e=n.map((function(e){return null!=e.width&&null!=e.height?Promise.resolve({width:e.width,height:e.height}):dIe(s(e.imageId,1e3))})),[4,Promise.all(e)];case 1:return[2,t.sent()]}}))}))}),null,[n]),u=l[0],c=l[1],d=l[2];return c||d?null:t.jsx(o.Layer,{children:t.jsx(oze,{images:n.map((function(e,t){return function(e,t){var n=Math.min(t.width,2500),i=Math.trunc(t.height/t.width*n);return{thumbnail:e.previewUrl,large:s(e.imageId,n,i),width:n,height:i,caption:e.imageTitle}}(e,u[t])})),selectedIndex:i,hidden:r,onClose:a},void 0)},void 0)},oze=function(e){var n=e.images,r=e.hidden,a=e.selectedIndex,o=e.onClose,s=Wx().formatMessage,l=i.useRef(null),u=i.useRef();return i.useEffect((function(){var e;if(!r)return clearTimeout(u.current),u.current=setTimeout((function(){return e=function(){var e=new rre(l.current,ore,n.map((function(e){return{src:e.large,msrc:e.thumbnail,w:e.width,h:e.height,title:e.caption}})),{index:a});return e.listen("close",o),e.init(),e}()}),200),function(){return null==e?void 0:e.close()}}),[r,a]),t.jsxs(t.Fragment,{children:[t.jsx(sze,{enforceArrowVisibility:!as.isNativeMobileApp},void 0),t.jsxs("div",a_e({ref:l,className:"pswp",tabIndex:-1,role:"dialog","aria-hidden":"true"},{children:[t.jsx("div",{className:"pswp__bg"},void 0),t.jsxs("div",a_e({className:"pswp__scroll-wrap"},{children:[t.jsxs("div",a_e({className:"pswp__container"},{children:[t.jsx("div",{className:"pswp__item"},void 0),t.jsx("div",{className:"pswp__item"},void 0),t.jsx("div",{className:"pswp__item"},void 0)]}),void 0),t.jsxs("div",a_e({className:"pswp__ui pswp__ui--hidden"},{children:[t.jsxs("div",a_e({className:"pswp__top-bar"},{children:[t.jsx("div",{className:"pswp__counter"},void 0),t.jsx("button",{className:"pswp__button pswp__button--close",title:s({id:"ImageViewer.closeCaption"})},void 0),t.jsx("button",{className:"pswp__button pswp__button--fs",title:s({id:"ImageViewer.toggleFullscreenCaption"})},void 0),t.jsx("div",a_e({className:"pswp__preloader"},{children:t.jsx("div",a_e({className:"pswp__preloader__icn"},{children:t.jsx("div",a_e({className:"pswp__preloader__cut"},{children:t.jsx("div",{className:"pswp__preloader__donut"},void 0)}),void 0)}),void 0)}),void 0)]}),void 0),t.jsx("div",a_e({className:"pswp__share-modal pswp__share-modal--hidden pswp__single-tap"},{children:t.jsx("div",{className:"pswp__share-tooltip"},void 0)}),void 0),t.jsx("button",{className:"pswp__button pswp__button--arrow--left",title:s({id:"ImageView.previousCaption"})},void 0),t.jsx("button",{className:"pswp__button pswp__button--arrow--right",title:s({id:"ImageView.nextCaption"})},void 0),t.jsx("div",a_e({className:"pswp__caption"},{children:t.jsx("div",{className:"pswp__caption__center"},void 0)}),void 0)]}),void 0)]}),void 0)]}),void 0)]},void 0)},sze=a.createGlobalStyle(VLe||(VLe=c_e(["\n.browser-name-ios-webview {\n .pswp__top-bar {\n padding-top: calc(env(safe-area-inset-top));\n height: calc(initial + env(safe-area-inset-top));\n\n .pswp__counter {\n padding-top: env(safe-area-inset-top);\n }\n }\n}\n\n.pswp__caption__center {\n && {\n text-align: center;\n }\n}\n\n","\n"],["\n.browser-name-ios-webview {\n .pswp__top-bar {\n padding-top: calc(env(safe-area-inset-top));\n height: calc(initial + env(safe-area-inset-top));\n\n .pswp__counter {\n padding-top: env(safe-area-inset-top);\n }\n }\n}\n\n.pswp__caption__center {\n && {\n text-align: center;\n }\n}\n\n","\n"])),(function(e){return e.enforceArrowVisibility&&a.css(XLe||(XLe=c_e(["\n .pswp--touch .pswp__button--arrow--left,\n .pswp--touch .pswp__button--arrow--right {\n visibility: visible !important;\n }\n "],["\n .pswp--touch .pswp__button--arrow--left,\n .pswp--touch .pswp__button--arrow--right {\n visibility: visible !important;\n }\n "])))})),lze=function(e){var n=e.images,r=e.imageUrlResolver,a=e.disableRoundedCorners,s=e.gridBackgroundColor,l=e.className,u=Wx().formatMessage,c=i.useState(null),d=c[0],h=c[1],p=i.useContext(Bne).theme.palette;if(!n||0===n.length)return null;var f=n.length>4,m=n.length>1,g=n[0];return t.jsxs(cze,a_e({"data-multi-images":m,className:l,singleImageHeight:g.height,singleImageWidth:g.width},{children:[t.jsx("div",a_e({"data-gallery-wrapper":!0},{children:m?t.jsxs(t.Fragment,{children:[t.jsx(hze,a_e({backgroundColor:null!=s?s:p.neutralLight,applyRoundedCorners:!a},{children:n.slice(0,4).map((function(e,n){return t.jsx(pze,a_e({href:e.previewUrl,onClick:function(e){e.stopPropagation(),e.preventDefault(),v(n)},"aria-label":u({id:"AriaLabel.viewImageGallery"}),"data-clickable-overlay":!0},{children:t.jsx(fze,{src:e.previewUrl,imageFit:o.ImageFit.centerCover,alt:e.imageTitle||""},void 0)}),n)}))}),void 0),f&&t.jsxs(mze,a_e({onClick:function(){return v(4)}},{children:["+",n.length-4]}),void 0)]},void 0):t.jsx(uze,{image:g,onClick:function(){return v(0)},disableRoundedCorners:a},void 0)}),void 0),t.jsx(aze,{images:n,selectedIndex:d,hidden:null==d,onClose:function(){h(null)},imageUrlResolver:r},void 0)]}),void 0);function v(e){h(e)}},uze=function(e){var n=e.image,i=e.onClick,r=e.disableRoundedCorners,a=Wx().formatMessage;return t.jsx(dze,a_e({href:n.previewUrl,onClick:function(e){e.stopPropagation(),e.preventDefault(),i()},applyRoundedCorners:!r,"aria-label":a({id:"AriaLabel.viewImage"}),"data-clickable-overlay":!0},{children:t.jsx("img",{src:n.previewUrl,alt:""},void 0)}),void 0)},cze=y.default.div.withConfig({displayName:"PhotoGrid__Host",componentId:"sc-flk193-0"})(ZLe||(ZLe=c_e(["\n overflow: hidden;\n width: 100%;\n\n position: relative;\n\n &:after {\n content: '';\n display: block;\n font-size: 0;\n }\n\n > [data-gallery-wrapper] {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n\n &[data-multi-images='false'] {\n [data-gallery-wrapper] {\n display: flex;\n }\n\n ","\n }\n\n &[data-multi-images='true'] {\n &:after {\n padding-bottom: calc(2 / 3 * 100%); // fixed image area aspect ratio 3:2\n }\n }\n"],["\n overflow: hidden;\n width: 100%;\n\n position: relative;\n\n &:after {\n content: '';\n display: block;\n font-size: 0;\n }\n\n > [data-gallery-wrapper] {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n\n &[data-multi-images='false'] {\n [data-gallery-wrapper] {\n display: flex;\n }\n\n ","\n }\n\n &[data-multi-images='true'] {\n &:after {\n padding-bottom: calc(2 / 3 * 100%); // fixed image area aspect ratio 3:2\n }\n }\n"])),(function(e){return e.singleImageWidth&&e.singleImageHeight&&a.css(YLe||(YLe=c_e(["\n &:after {\n // fallback for old browsers - that do not suport min function\n // the image aspect ratio is maintained\n padding-bottom: calc(\n ",'* 100%\n );\n\n // the image can have any aspect ratio from a 1:1 aspect ratio to any wider aspect ratio,\n // but it cannot get "taller" than 1:1\n @supports (padding-bottom: min(100%, ',"px)) {\n padding-bottom: min(\n min(100%, ","px, ","px),\n calc(\n ","*\n min(100%, ","px)\n )\n );\n }\n }\n "],["\n &:after {\n // fallback for old browsers - that do not suport min function\n // the image aspect ratio is maintained\n padding-bottom: calc(\n ",'* 100%\n );\n\n // the image can have any aspect ratio from a 1:1 aspect ratio to any wider aspect ratio,\n // but it cannot get "taller" than 1:1\n @supports (padding-bottom: min(100%, ',"px)) {\n padding-bottom: min(\n min(100%, ","px, ","px),\n calc(\n ","*\n min(100%, ","px)\n )\n );\n }\n }\n "])),e.singleImageHeight/e.singleImageWidth,e.singleImageWidth,e.singleImageHeight,e.singleImageWidth,e.singleImageHeight/e.singleImageWidth,e.singleImageWidth)})),dze=y.default.a.withConfig({displayName:"PhotoGrid__SingleImageHost",componentId:"sc-flk193-1"})(KLe||(KLe=c_e(["\n display: flex;\n align-items: center;\n justify-content: center;\n height: auto;\n\n max-height: 100%;\n\n overflow: hidden;\n\n // fallback for old browsers\n width: 100%;\n\n @supports (height: min(100%, 0px)) {\n width: auto;\n }\n\n img {\n max-width: 100%;\n height: 100%;\n width: 100%;\n\n @supports (height: min(100%, 0px)) {\n height: auto;\n width: auto;\n }\n }\n\n position: relative;\n\n &::before {\n content: '';\n position: absolute;\n width: 100%;\n height: 100%;\n z-index: 1;\n }\n\n &:focus {\n &::before {\n outline-offset: -10px !important;\n }\n\n img {\n opacity: 0.6;\n }\n }\n\n ","\n"],["\n display: flex;\n align-items: center;\n justify-content: center;\n height: auto;\n\n max-height: 100%;\n\n overflow: hidden;\n\n // fallback for old browsers\n width: 100%;\n\n @supports (height: min(100%, 0px)) {\n width: auto;\n }\n\n img {\n max-width: 100%;\n height: 100%;\n width: 100%;\n\n @supports (height: min(100%, 0px)) {\n height: auto;\n width: auto;\n }\n }\n\n position: relative;\n\n &::before {\n content: '';\n position: absolute;\n width: 100%;\n height: 100%;\n z-index: 1;\n }\n\n &:focus {\n &::before {\n outline-offset: -10px !important;\n }\n\n img {\n opacity: 0.6;\n }\n }\n\n ","\n"])),(function(e){return e.applyRoundedCorners&&a.css(HLe||(HLe=c_e(["\n border-radius: 10px;\n "],["\n border-radius: 10px;\n "])))})),hze=y.default.div.withConfig({displayName:"PhotoGrid__Gallery",componentId:"sc-flk193-2"})(eze||(eze=c_e(["\n width: 100%;\n height: 100%;\n overflow: hidden;\n\n background-color: ",";\n\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n grid-template-rows: repeat(2, 1fr);\n\n // case: gallery with 3 images\n // the first image will span across the 2 grid tracks (2 rows)\n > a:first-child:nth-last-child(3) {\n grid-row: auto / span 2;\n }\n\n // case: gallery with 2 images\n // the images will span across the 2 grid tracks (2 rows)\n > a:first-child:nth-last-child(2),\n > a:nth-child(2):last-child {\n grid-row: auto / span 2;\n }\n\n ","\n"],["\n width: 100%;\n height: 100%;\n overflow: hidden;\n\n background-color: ",";\n\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n grid-template-rows: repeat(2, 1fr);\n\n // case: gallery with 3 images\n // the first image will span across the 2 grid tracks (2 rows)\n > a:first-child:nth-last-child(3) {\n grid-row: auto / span 2;\n }\n\n // case: gallery with 2 images\n // the images will span across the 2 grid tracks (2 rows)\n > a:first-child:nth-last-child(2),\n > a:nth-child(2):last-child {\n grid-row: auto / span 2;\n }\n\n ","\n"])),(function(e){return e.backgroundColor}),(function(e){return e.applyRoundedCorners&&a.css(JLe||(JLe=c_e(["\n border-radius: 10px;\n "],["\n border-radius: 10px;\n "])))})),pze=y.default.a.withConfig({displayName:"PhotoGrid__ImageItem",componentId:"sc-flk193-3"})(tze||(tze=c_e(["\n display: block;\n position: relative;\n\n &::before {\n content: '';\n position: absolute;\n width: 100%;\n height: 100%;\n z-index: 1;\n }\n\n &:focus {\n &::before {\n outline-offset: -10px !important;\n }\n\n img {\n opacity: 0.6;\n }\n }\n"],["\n display: block;\n position: relative;\n\n &::before {\n content: '';\n position: absolute;\n width: 100%;\n height: 100%;\n z-index: 1;\n }\n\n &:focus {\n &::before {\n outline-offset: -10px !important;\n }\n\n img {\n opacity: 0.6;\n }\n }\n"]))),fze=y.default(o.Image).withConfig({displayName:"PhotoGrid__StyledImage",componentId:"sc-flk193-4"})(nze||(nze=c_e(["\n height: 100%;\n"],["\n height: 100%;\n"]))),mze=y.default(o.DefaultButton).withConfig({displayName:"PhotoGrid__MoreIndicator",componentId:"sc-flk193-5"})(ize||(ize=c_e(["\n && {\n margin: 0;\n padding: 0;\n border: 0;\n width: auto;\n height: auto;\n color: white;\n background: transparent;\n\n &:hover {\n background: transparent;\n }\n }\n\n position: absolute;\n bottom: 15px;\n right: 15px;\n\n font-size: ","px;\n @media (min-width: ","px) {\n font-size: ","px;\n }\n\n @supports (filter: drop-shadow(0 1px 2px #000000cc)) {\n filter: drop-shadow(0 1px 2px #000000cc);\n }\n\n @supports not (filter: drop-shadow(0 1px 2px #000000cc)) {\n text-shadow: 0 1px 2px #000000cc;\n }\n"],["\n && {\n margin: 0;\n padding: 0;\n border: 0;\n width: auto;\n height: auto;\n color: white;\n background: transparent;\n\n &:hover {\n background: transparent;\n }\n }\n\n position: absolute;\n bottom: 15px;\n right: 15px;\n\n font-size: ","px;\n @media (min-width: ","px) {\n font-size: ","px;\n }\n\n @supports (filter: drop-shadow(0 1px 2px #000000cc)) {\n filter: drop-shadow(0 1px 2px #000000cc);\n }\n\n @supports not (filter: drop-shadow(0 1px 2px #000000cc)) {\n text-shadow: 0 1px 2px #000000cc;\n }\n"])),i7,X8,28);var gze,vze,yze,bze,Oze,_ze,wze=function(e){var n=e.icon,i=e.isActive,r=e.disabled,a=e.tooltipResourceKey,s=e.onClick,l=e.link,u=e.className,c=o_e(e,["icon","isActive","disabled","tooltipResourceKey","onClick","link","className"]),d=Wx().formatMessage;if(!l&&!s)return null;var h=Yq("header-button",u),p=l?t.jsx(Sze,a_e({className:h,to:l},c,{children:t.jsx(o.Icon,{iconName:n},void 0)}),void 0):t.jsx(xze,a_e({className:h,disabled:r,onClick:function(e){return s(e.currentTarget)},iconProps:{iconName:n},ariaLabel:d({id:a}),"data-button-type":"header-btn",isActive:i},c),void 0);return t.jsx(kze,a_e({className:"tooltip-container"},{children:t.jsx(sEe,a_e({resourceKey:a},{children:p}),void 0)}),void 0)},kze=y.default.div.withConfig({displayName:"IconHeaderButton__Host",componentId:"sc-1p61ffo-0"})(gze||(gze=c_e(["\n height: 100%;\n"],["\n height: 100%;\n"]))),xze=y.default(o.IconButton).withConfig({displayName:"IconHeaderButton__Button",componentId:"sc-1p61ffo-1"})(bze||(bze=c_e(['\n && {\n display: flex;\n padding: 0 5px;\n background-color: transparent;\n height: 100%;\n margin: 0 -1.5px; // this removes the "gap" between two side by side active buttons\n\n ',";\n ","\n }\n"],['\n && {\n display: flex;\n padding: 0 5px;\n background-color: transparent;\n height: 100%;\n margin: 0 -1.5px; // this removes the "gap" between two side by side active buttons\n\n ',";\n ","\n }\n"])),(function(e){return!e.isActive&&a.css(vze||(vze=c_e(["\n color: ",";\n "],["\n color: ",";\n "])),e.theme.textColors.onPrimary)}),(function(e){return e.isActive&&a.css(yze||(yze=c_e(["\n background-color: ",";\n color: ",";\n\n &&:hover {\n background-color: ",";\n color: ",";\n }\n "],["\n background-color: ",";\n color: ",";\n\n &&:hover {\n background-color: ",";\n color: ",";\n }\n "])),e.theme.palette.themeSecondary,e.theme.textColors.onSecondary,e.theme.palette.themeSecondary,e.theme.textColors.onSecondary)})),Sze=y.default(r.Link).withConfig({displayName:"IconHeaderButton__StyledLink",componentId:"sc-1p61ffo-2"})(_ze||(_ze=c_e(["\n && {\n height: 100%;\n ",";\n }\n"],["\n && {\n height: 100%;\n ",";\n }\n"])),(function(e){return a.css(Oze||(Oze=c_e(["\n color: ",";\n "],["\n color: ",";\n "])),e.theme.textColors.onPrimary)})),Pze="\t\n\v\f\r \u2028\u2029\ufeff",Eze=T_e,Fze="[\t\n\v\f\r \u2028\u2029\ufeff]",Cze=RegExp("^"+Fze+Fze+"*"),Tze=RegExp(Fze+Fze+"*$"),Dze=function(e){return function(t){var n=String(Eze(t));return 1&e&&(n=n.replace(Cze,"")),2&e&&(n=n.replace(Tze,"")),n}},Aze={start:Dze(1),end:Dze(2),trim:Dze(3)},Ize=y_e,Lze=Pze,zze=Aze.trim,$ze=function(e){return Ize((function(){return!!Lze[e]()||"
"!="
"[e]()||Lze[e].name!==e}))};exe({target:"String",proto:!0,forced:$ze("trim")},{trim:function(){return zze(this)}});var Rze,Qze,jze,Mze,Nze,Uze,qze,Bze,Gze,Wze,Xze,Vze,Yze,Zze,Hze,Kze,Jze,e$e=function(e){var n=e.url,r=e.target,a=e.ariaLabel,o=e.children,s=e.className,l=e.style,u=o_e(e,["url","target","ariaLabel","children","className","style"]);S6();var c=gte(),d=i.useContext(vS);d.onOpenExternalLink;var h=d.tryGetInternalLink,p=!r&&h(n,c);return p?t.jsx(wEe,a_e({className:s,to:p,"data-link":M8.Internal,"aria-label":a,style:l},u,{children:o}),void 0):t.jsx(t$e,a_e({url:n,target:r,className:s,ariaLabel:a,style:l},u,{children:o}),void 0)},t$e=function(e){var n=e.url,i=e.target,r=e.ariaLabel,a=e.onClick,o=e.className,s=e.children,l=e.style,u=o_e(e,["url","target","ariaLabel","onClick","className","children","style"]);return t.jsx(_Ee,a_e({href:n,onClick:function(e){return null==a?void 0:a(e)},className:o,target:void 0===i?"_blank":i,rel:"noopener noreferrer","aria-label":r,"data-link":M8.External,style:l},u,{children:s}),void 0)},n$e=a.css(Rze||(Rze=c_e(["\n display: flex;\n align-items: center;\n justify-content: center;\n height: 32px;\n width: 32px;\n text-decoration: none !important;\n"],["\n display: flex;\n align-items: center;\n justify-content: center;\n height: 32px;\n width: 32px;\n text-decoration: none !important;\n"]))),i$e=y.default(e$e).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledLink",componentId:"sc-148nazl-0"})(Qze||(Qze=c_e(["\n ","\n"],["\n ","\n"])),n$e),r$e=y.default(t$e).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledExternalLink",componentId:"sc-148nazl-1"})(jze||(jze=c_e(["\n ","\n"],["\n ","\n"])),n$e),a$e=y.default(o.IconButton).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledIconButton",componentId:"sc-148nazl-2"})(Nze||(Nze=c_e(["\n border-radius: 0;\n\n ","\n"],["\n border-radius: 0;\n\n ","\n"])),(function(e){return e.active&&a.css(Mze||(Mze=c_e(["\n border-color: ",";\n "],["\n border-color: ",";\n "])),e.theme.palette.themePrimary)})),o$e=y.default((function(e){var n,i=e.iconName,r=e.ariaLabel,a=e.ariaLabelResourceKey,s=e.onClick,l=e.to,u=e.target,c=e.tooltipText,d=e.tooltipResourceKey,h=e.disabled,p=e.className,f=o_e(e,["iconName","ariaLabel","ariaLabelResourceKey","onClick","to","target","tooltipText","tooltipResourceKey","disabled","className"]),m=Wx().formatMessage,g=r||(null===(n=null==a?void 0:a.trim())||void 0===n?void 0:n.length)>0&&m({id:a});return t.jsxs(sEe,a_e({resourceKey:d,text:c},{children:[l&&!s&&t.jsx(i$e,a_e({url:l,ariaLabel:g,target:u},f,{children:t.jsx(o.Icon,{iconName:i,className:p},void 0)}),void 0),s&&!l&&t.jsx(a$e,a_e({disabled:h,iconProps:{iconName:i},onClick:s,className:p,ariaLabel:g},f),void 0),s&&l&&t.jsx(r$e,a_e({url:l,target:u,ariaLabel:g,onClick:function(e){e.stopPropagation(),e.preventDefault(),s()}},{children:t.jsx(o.Icon,{iconName:i,className:p},void 0)}),void 0)]}),void 0)})).withConfig({displayName:"ToolbarIconButtonWithToolTip__ToolbarIconButton",componentId:"sc-148nazl-3"})(qze||(qze=c_e(["\n background-color: transparent;\n &:not([disabled]) {\n color: ",";\n }\n\n ","\n"],["\n background-color: transparent;\n &:not([disabled]) {\n color: ",";\n }\n\n ","\n"])),(function(e){return e.theme.textColors.default}),(function(e){return e.isActive&&a.css(Uze||(Uze=c_e(["\n i {\n font-weight: bold;\n }\n "],["\n i {\n font-weight: bold;\n }\n "])))})),s$e=function(e){var n=e.shouldAutoFocus,a=void 0===n||n,o=Wx(),s=i.useState(null),l=s[0],u=s[1],c=r.useLocation(),d=i.useContext(Bne).theme.textColors,h=i.useRef();return i.useEffect((function(){return Uie(f),a&&setTimeout((function(){var e;return h&&(null===(e=h.current)||void 0===e?void 0:e.focus())})),function(){qie(f)}}),[]),i.useEffect((function(){u("")}),[c.pathname]),t.jsxs(c$e,a_e({className:Yq("search-field",e.className),useLightTheme:e.useLightTheme},{children:[t.jsx(l$e,{className:"search-input",useLightTheme:e.useLightTheme,default:!0,value:l||e.searchText||"",onChange:function(e,t){return p(t)},onKeyDown:function(t){"Enter"===t.key&&e.onExecuteSearch&&e.onExecuteSearch(l);"Escape"===t.key&&p("")},autoComplete:"off",autoFocus:!1,borderless:!0,placeholder:e.placeholder||o.formatMessage({id:"TopBar.search"}),componentRef:function(e){return h.current=e},ariaLabel:o.formatMessage({id:"TopBar.search"}),"data-search-input":!0},void 0),e.searching&&t.jsx(u$e,{className:"search-spinner"},void 0),t.jsx(d$e,{"data-cancel-search-button":!0,iconProps:{iconName:"Cancel"},onClick:function(){var t;u(null),null===(t=e.onClear)||void 0===t||t.call(e)},color:!e.useLightTheme&&d.onPrimary},void 0)]}),void 0);function p(t){var n;u(t),null===(n=e.onChange)||void 0===n||n.call(e,t)}function f(){return!(!l&&!e.searchText)&&(p(""),!0)}},l$e=y.default(o.TextField).withConfig({displayName:"Search__StyledTextField",componentId:"sc-17f35gt-0"})(Wze||(Wze=c_e(["\n ","\n"],["\n ","\n"])),(function(e){return e.useLightTheme?a.css(Bze||(Bze=c_e(["\n .ms-TextField-field {\n color: ",";\n ",";\n }\n "],["\n .ms-TextField-field {\n color: ",";\n ",";\n }\n "])),(function(e){return e.theme.textColors.default}),uIe("color: "+e.theme.textColors.default)):a.css(Gze||(Gze=c_e(["\n .ms-TextField-field {\n color: ",";\n ",";\n }\n "],["\n .ms-TextField-field {\n color: ",";\n ",";\n }\n "])),(function(e){return e.theme.textColors.onPrimary}),uIe("color: "+e.theme.textColors.onPrimary))})),u$e=y.default(o.Spinner).withConfig({displayName:"Search__StyledSpinner",componentId:"sc-17f35gt-1"})(Xze||(Xze=c_e(["\n display: flex;\n align-items: center;\n padding-right: 8px;\n\n color: ",";\n background-color: ",";\n"],["\n display: flex;\n align-items: center;\n padding-right: 8px;\n\n color: ",";\n background-color: ",";\n"])),(function(e){return e.theme.textColors.onPrimary}),(function(e){return e.theme.palette.themeDarker})),c$e=y.default.div.withConfig({displayName:"Search__Host",componentId:"sc-17f35gt-2"})(Zze||(Zze=c_e(["\n flex: 1 1 auto;\n height: 100%;\n\n display: flex;\n flex-flow: row nowrap;\n align-items: stretch;\n\n > .ms-TextField {\n flex: 1 1 auto;\n display: flex;\n flex-flow: row nowrap;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 0;\n\n > .ms-TextField-wrapper {\n flex: 1 0 auto;\n\n .ms-TextField-fieldGroup {\n border: none;\n background: none;\n\n > input {\n border: 0;\n height: 100%;\n font-size: 18px;\n\n &::-ms-clear {\n display: none;\n }\n }\n }\n }\n }\n\n input {\n &.ms-TextField-field {\n min-width: 100%;\n width: 30px;\n }\n\n ",";\n }\n\n i {\n display: flex;\n justify-content: space-around;\n flex-flow: row nowrap;\n align-items: center;\n\n margin-right: 1em;\n margin-left: 0.5em;\n cursor: pointer;\n }\n\n button {\n height: 100%;\n margin: 0 4px;\n }\n\n ","\n"],["\n flex: 1 1 auto;\n height: 100%;\n\n display: flex;\n flex-flow: row nowrap;\n align-items: stretch;\n\n > .ms-TextField {\n flex: 1 1 auto;\n display: flex;\n flex-flow: row nowrap;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 0;\n\n > .ms-TextField-wrapper {\n flex: 1 0 auto;\n\n .ms-TextField-fieldGroup {\n border: none;\n background: none;\n\n > input {\n border: 0;\n height: 100%;\n font-size: 18px;\n\n &::-ms-clear {\n display: none;\n }\n }\n }\n }\n }\n\n input {\n &.ms-TextField-field {\n min-width: 100%;\n width: 30px;\n }\n\n ",";\n }\n\n i {\n display: flex;\n justify-content: space-around;\n flex-flow: row nowrap;\n align-items: center;\n\n margin-right: 1em;\n margin-left: 0.5em;\n cursor: pointer;\n }\n\n button {\n height: 100%;\n margin: 0 4px;\n }\n\n ","\n"])),uIe("\n font-size: inherit;\n opacity: 0.5;\n "),(function(e){return e.useLightTheme?a.css(Vze||(Vze=c_e(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),(function(e){return e.theme.palette.neutralLighter})):a.css(Yze||(Yze=c_e(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),(function(e){return e.theme.palette.themeDarker}))})),d$e=y.default(mEe).withConfig({displayName:"Search__CancelButton",componentId:"sc-17f35gt-3"})(Hze||(Hze=c_e(["\n align-self: center;\n"],["\n align-self: center;\n"]))),h$e=function(e){var n=e.onSearchInputFieldVisibilityChanged,r=e.isToolbarMode,a=e.onExecuteSearch,o=e.onSearchTextChange,s=e.searchText,l=e.showSearchBoxInput,u=e.className,c=e.shouldAutoFocus,d=i.useState(!!s),h=d[0],p=d[1],f=l||h||!!s;return i.useEffect((function(){null==n||n(f)}),[f]),t.jsxs(t.Fragment,{children:[f&&t.jsx(s$e,{onChange:o,onExecuteSearch:a,searchText:s,onClear:function(){null==o||o(""),m(!1)},shouldAutoFocus:c,className:u,useLightTheme:r},void 0),!f&&(r?t.jsx(o$e,{iconName:"Search",onClick:function(){return m(!0)},tooltipResourceKey:"TopBar.search",ariaLabelResourceKey:"TopBar.search"},void 0):t.jsx(wze,{icon:"Search",onClick:function(){return m(!0)},tooltipResourceKey:"TopBar.search"},void 0))]},void 0);function m(e){p(e),null==n||n(e)}},p$e=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},f$e=twe,m$e=T_e,g$e=p$e,v$e=qAe;zAe("search",1,(function(e,t,n){return[function(t){var n=m$e(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,n):new RegExp(t)[e](String(n))},function(e){var i=n(t,e,this);if(i.done)return i.value;var r=f$e(e),a=String(this),o=r.lastIndex;g$e(o,0)||(r.lastIndex=0);var s=v$e(r,a);return g$e(r.lastIndex,o)||(r.lastIndex=o),null===s?-1:s.index}]})),y.default.div.withConfig({displayName:"EmptyUnreadListMessage__Host",componentId:"sc-1fler8t-0"})(Kze||(Kze=c_e(["\n height: 100%;\n display: flex;\n width: 100%;\n"],["\n height: 100%;\n display: flex;\n width: 100%;\n"]))),function(e){e.ASC="SortUp",e.DESC="SortDown"}(Jze||(Jze={})),y.default(o.Icon).withConfig({displayName:"SortableTable__Order",componentId:"sc-6tqdpa-0"})(y$e||(y$e=c_e(["\n position: absolute;\n right: 0;\n"],["\n position: absolute;\n right: 0;\n"]))),y.default.span.withConfig({displayName:"SortableTable__Title",componentId:"sc-6tqdpa-1"})(_$e||(_$e=c_e(["\n position: relative;\n padding: 0 5px;\n ","\n"],["\n position: relative;\n padding: 0 5px;\n ","\n"])),(function(e){return e.orderBy?a.css(b$e||(b$e=c_e(["\n padding-right: 18px;\n "],["\n padding-right: 18px;\n "]))):a.css(O$e||(O$e=c_e(["\n padding-left: 18px;\n "],["\n padding-left: 18px;\n "])))})),y.default.th.withConfig({displayName:"SortableTable__ColumnHeader",componentId:"sc-6tqdpa-2"})(w$e||(w$e=c_e(["\n text-align: right;\n padding: 10px 5px;\n white-space: nowrap;\n\n :hover {\n cursor: ",";\n }\n\n :first-child {\n text-align: left;\n\n span {\n padding-left: 0;\n padding-right: 15px;\n }\n }\n"],["\n text-align: right;\n padding: 10px 5px;\n white-space: nowrap;\n\n :hover {\n cursor: ",";\n }\n\n :first-child {\n text-align: left;\n\n span {\n padding-left: 0;\n padding-right: 15px;\n }\n }\n"])),(function(e){var t=e.isLoading,n=e.disableSort;return t?"wait":n?"default":"pointer"})),y.default.td.withConfig({displayName:"SortableTable__Cell",componentId:"sc-6tqdpa-3"})(k$e||(k$e=c_e(["\n text-align: right;\n padding: 2px 5px;\n white-space: ",";\n\n :first-child {\n text-align: left;\n }\n"],["\n text-align: right;\n padding: 2px 5px;\n white-space: ",";\n\n :first-child {\n text-align: left;\n }\n"])),(function(e){return e.noWrap?"nowrap":""}));var y$e,b$e,O$e,_$e,w$e,k$e,x$e,S$e,P$e,E$e=y.default.tr.withConfig({displayName:"SortableTable__Row",componentId:"sc-6tqdpa-4"})(x$e||(x$e=c_e(["\n :nth-child(odd) {\n background: ",";\n }\n"],["\n :nth-child(odd) {\n background: ",";\n }\n"])),(function(e){return e.theme.palette.neutralLighterAlt}));y.default.table.withConfig({displayName:"SortableTable__Table",componentId:"sc-6tqdpa-5"})(S$e||(S$e=c_e(["\n width: 100%;\n border-collapse: collapse;\n\n :hover {\n cursor: ",";\n }\n\n "," {\n transition: opacity 0.1s linear;\n opacity: ",";\n }\n"],["\n width: 100%;\n border-collapse: collapse;\n\n :hover {\n cursor: ",";\n }\n\n "," {\n transition: opacity 0.1s linear;\n opacity: ",";\n }\n"])),(function(e){return e.isLoading?"wait":"default"}),E$e,(function(e){return e.isLoading?"0.6":"1"})),y.default(vCe).withConfig({displayName:"SortableTable__Loading",componentId:"sc-6tqdpa-6"})(P$e||(P$e=c_e(["\n margin: 80px 0 100px;\n"],["\n margin: 80px 0 100px;\n"])));var F$e,C$e,T$e=function(e){return t.jsx(D$e,a_e({},e,{"data-toggle-button":!0}),void 0)},D$e=y.default(o.Toggle).withConfig({displayName:"ToggleWithLabel__StyledToggle",componentId:"sc-lcovfq-0"})(F$e||(F$e=c_e(["\n display: flex;\n align-items: center;\n\n > label {\n order: 1;\n margin-left: 15px;\n }\n\n &.is-checked.is-enabled {\n button:hover {\n background-color: ",";\n }\n }\n"],["\n display: flex;\n align-items: center;\n\n > label {\n order: 1;\n margin-left: 15px;\n }\n\n &.is-checked.is-enabled {\n button:hover {\n background-color: ",";\n }\n }\n"])),(function(e){return e.theme.semanticColors.inputBackgroundCheckedHovered})),A$e=function(e){return a.css(C$e||(C$e=c_e(["\n position: relative;\n\n &::after {\n content: '';\n position: absolute;\n top: ",";\n left: 100%;\n display: block;\n width: 12px;\n height: 12px;\n transform: translate(-50%, -50%);\n border-radius: 50%;\n background-color: ",";\n }\n "],["\n position: relative;\n\n &::after {\n content: '';\n position: absolute;\n top: ",";\n left: 100%;\n display: block;\n width: 12px;\n height: 12px;\n transform: translate(-50%, -50%);\n border-radius: 50%;\n background-color: ",";\n }\n "])),null!=e?e:"3px",(function(e){return e.theme.palette.accent}))};function I$e(e,t,n){return e.translations[t.preferredUiLanguage]||e.translations[R5(t)]||e.name||n.formatMessage({id:"Groups.defaultName"})}var L$e=zAe,z$e=twe,$$e=ixe,R$e=pke,Q$e=cke,j$e=T_e,M$e=MAe,N$e=qAe,U$e=Math.max,q$e=Math.min,B$e=Math.floor,G$e=/\$([$&'`]|\d\d?|<[^>]*>)/g,W$e=/\$([$&'`]|\d\d?)/g,X$e=function(e){return void 0===e?e:String(e)};L$e("replace",2,(function(e,t,n,i){var r=i.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,a=i.REPLACE_KEEPS_$0,o=r?"$":"$0";return[function(n,i){var r=j$e(this),a=null==n?void 0:n[e];return void 0!==a?a.call(n,r,i):t.call(String(r),n,i)},function(e,i){if(!r&&a||"string"==typeof i&&-1===i.indexOf(o)){var l=n(t,e,this,i);if(l.done)return l.value}var u=z$e(e),c=String(this),d="function"==typeof i;d||(i=String(i));var h=u.global;if(h){var p=u.unicode;u.lastIndex=0}for(var f=[];;){var m=N$e(u,c);if(null===m)break;if(f.push(m),!h)break;""===String(m[0])&&(u.lastIndex=M$e(c,R$e(u.lastIndex),p))}for(var g="",v=0,y=0;y<f.length;y++){m=f[y];for(var b=String(m[0]),O=U$e(q$e(Q$e(m.index),c.length),0),_=[],w=1;w<m.length;w++)_.push(X$e(m[w]));var k=m.groups;if(d){var x=[b].concat(_,O,c);void 0!==k&&x.push(k);var S=String(i.apply(void 0,x))}else S=s(b,c,O,_,k,i);O>=v&&(g+=c.slice(v,O)+S,v=O+b.length)}return g+c.slice(v)}];function s(e,n,i,r,a,o){var s=i+e.length,l=r.length,u=W$e;return void 0!==a&&(a=$$e(a),u=G$e),t.call(o,u,(function(t,o){var u;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,i);case"'":return n.slice(s);case"<":u=a[o.slice(1,-1)];break;default:var c=+o;if(0===c)return t;if(c>l){var d=B$e(c/10);return 0===d?t:d<=l?void 0===r[d-1]?o.charAt(1):r[d-1]+o.charAt(1):t}u=r[c-1]}return void 0===u?"":u}))}}));var V$e=L_e,Y$e=aPe,Z$e=b_e,H$e=g_e,K$e=Wke,J$e=function(e,t,n){var i,r;return Y$e&&"function"==typeof(i=t.constructor)&&i!==n&&V$e(r=i.prototype)&&r!==n.prototype&&Y$e(e,r),e},eRe=J_e.f,tRe=ske.f,nRe=Jxe,iRe=NEe,rRe=dAe,aRe=cwe.exports,oRe=y_e,sRe=Vwe.set,lRe=SCe,uRe=Yxe("match"),cRe=H$e.RegExp,dRe=cRe.prototype,hRe=/a/g,pRe=/a/g,fRe=new cRe(hRe)!==hRe,mRe=rRe.UNSUPPORTED_Y;if(Z$e&&K$e("RegExp",!fRe||mRe||oRe((function(){return pRe[uRe]=!1,cRe(hRe)!=hRe||cRe(pRe)==pRe||"/a/i"!=cRe(hRe,"i")})))){for(var gRe=function(e,t){var n,i=this instanceof gRe,r=nRe(e),a=void 0===t;if(!i&&r&&e.constructor===gRe&&a)return e;fRe?r&&!a&&(e=e.source):e instanceof gRe&&(a&&(t=iRe.call(e)),e=e.source),mRe&&(n=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var o=J$e(fRe?new cRe(e,t):cRe(e,t),i?this:dRe,gRe);return mRe&&n&&sRe(o,{sticky:n}),o},vRe=function(e){e in gRe||eRe(gRe,e,{configurable:!0,get:function(){return cRe[e]},set:function(t){cRe[e]=t}})},yRe=tRe(cRe),bRe=0;yRe.length>bRe;)vRe(yRe[bRe++]);dRe.constructor=gRe,gRe.prototype=dRe,aRe(H$e,"RegExp",gRe)}lRe("RegExp");var ORe,_Re=X8-G8,wRe=V8-G8;function kRe(e){return!!e&&DRe.test(e)}function xRe(e){return e?"https://www.google.com/maps/search/?api=1&"+Wm.stringify({query:e}):null}function SRe(e,t){var n;if(!e.useExternalContent)return null;var i=e.contents[t];return(null==i?void 0:i.active)&&(null==i?void 0:i.externalUrl)?i.externalUrl:null===(n=Object.values(e.contents).find((function(e){return e.active&&e.externalUrl})))||void 0===n?void 0:n.externalUrl}y.default.div.withConfig({displayName:"ListItemsContainer",componentId:"sc-1ml8hli-0"})(ORe||(ORe=c_e(["\n display: flex;\n flex-direction: column;\n width: 100%;\n\n [data-content-toolbar] {\n margin-bottom: 0;\n }\n\n > * {\n margin-top: ","px;\n }\n\n > [data-nothing-found],\n > [data-empty-unread-list] {\n margin-top: auto;\n }\n\n @media all and (max-width: ","px) {\n max-width: calc(100vw - ","px);\n margin-left: ","px;\n margin-right: ","px;\n }\n\n @media all and (min-width: ","px) {\n margin: 0 auto;\n\n > * {\n margin-top: ","px;\n }\n\n max-width: ","px;\n }\n\n @media all and (min-width: ","px) {\n max-width: ","px;\n }\n"],["\n display: flex;\n flex-direction: column;\n width: 100%;\n\n [data-content-toolbar] {\n margin-bottom: 0;\n }\n\n > * {\n margin-top: ","px;\n }\n\n > [data-nothing-found],\n > [data-empty-unread-list] {\n margin-top: auto;\n }\n\n @media all and (max-width: ","px) {\n max-width: calc(100vw - ","px);\n margin-left: ","px;\n margin-right: ","px;\n }\n\n @media all and (min-width: ","px) {\n margin: 0 auto;\n\n > * {\n margin-top: ","px;\n }\n\n max-width: ","px;\n }\n\n @media all and (min-width: ","px) {\n max-width: ","px;\n }\n"])),U8,K8,q8,10,10,X8,q8,_Re,V8,wRe);var PRe,ERe,FRe,CRe,TRe,DRe=new RegExp("^(https?:\\/\\/)((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.?)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~#+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i"),ARe=y.default.div.withConfig({displayName:"Utils__LeftBannerWrapper",componentId:"sc-1qatfzk-0"})(ERe||(ERe=c_e(["\n width: 100%;\n height: calc(\n ((100vw - ","px * 2) * (1 / ","))\n );\n ","\n\n @media (min-width: ","px) {\n height: calc((","px * (1 / ",")));\n }\n\n @media (min-width: ","px) {\n width: ","px;\n height: 100%;\n }\n\n .video-view-container {\n height: 100%;\n }\n"],["\n width: 100%;\n height: calc(\n ((100vw - ","px * 2) * (1 / ","))\n );\n ","\n\n @media (min-width: ","px) {\n height: calc((","px * (1 / ",")));\n }\n\n @media (min-width: ","px) {\n width: ","px;\n height: 100%;\n }\n\n .video-view-container {\n height: 100%;\n }\n"])),10,s7,(function(e){return e.showPlaceholder&&a.css(PRe||(PRe=c_e(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),e.theme.palette.accent)}),X8,_Re,s7,V8,(function(e){return e.defaultWidth?e.defaultWidth:250}));y.default.div.withConfig({displayName:"VerificationStatusIcon__Host",componentId:"sc-b3nb8-0"})(CRe||(CRe=c_e(["\n display: flex;\n align-items: center;\n\n ","\n"],["\n display: flex;\n align-items: center;\n\n ","\n"])),(function(e){return e.isInvalid&&a.css(FRe||(FRe=c_e(["\n color: ",";\n "],["\n color: ",";\n "])),(function(e){return e.theme.palette.redDark}))})),y.default(o.Icon).withConfig({displayName:"VerificationStatusIcon__StatusIcon",componentId:"sc-b3nb8-1"})(TRe||(TRe=c_e(["\n margin-right: ","px;\n"],["\n margin-right: ","px;\n"])),U8);var IRe,LRe,zRe,$Re,RRe,QRe,jRe,MRe,NRe,URe=function(e){var n=e.enterDuration,i=e.leaveDuration,r=e.children,a=e.style,o=e.className,s=!!n,l=!!i,u="common-opacity-animation_"+n+"_"+i;return t.jsxs(t.Fragment,{children:[t.jsx(qRe,{name:u,enterDuration:n,leaveDuration:i},void 0),t.jsx(Ure,a_e({style:a,className:o,transitionName:u,transitionAppear:s,transitionEnter:s,transitionLeave:l,transitionLeaveTimeout:i,transitionAppearTimeout:n,transitionEnterTimeout:n},{children:r}),void 0)]},void 0)},qRe=a.createGlobalStyle(IRe||(IRe=c_e(["\n ."," {\n &-enter, &-apear {\n opacity: 0;\n &-active {\n opacity: 1;\n transition: opacity ","ms ease-in;\n }\n }\n &-leave {\n opacity: 1;\n &-active {\n opacity: 0;\n transition: opacity ","ms ease-in;\n }\n }\n }\n"],["\n ."," {\n &-enter, &-apear {\n opacity: 0;\n &-active {\n opacity: 1;\n transition: opacity ","ms ease-in;\n }\n }\n &-leave {\n opacity: 1;\n &-active {\n opacity: 0;\n transition: opacity ","ms ease-in;\n }\n }\n }\n"])),(function(e){return e.name}),(function(e){return e.enterDuration}),(function(e){return e.leaveDuration})),BRe=function(e){var n=e.contentLanguageCode,r=e.originalContent,a=e.content,o=e.onTranslate,s=e.onContentChange,l=e.itemType,u=e.itemId,c=e.tooltipResourceKey,d=e.showLabel,h=Wx().formatMessage,p=x6(),f=S6(),m=i.useState(null),g=m[0],v=m[1],y=i.useState(r===a),b=y[0],O=y[1],_=eie().showError,w=w7().interaction,k=R5(p);if(i.useEffect((function(){return v(null)}),[r]),!f.automaticTranslation)return null;var x=h({id:"Generic.translate"});return n&&n!==k&&$5.includes(k)&&!z5.includes(k)?t.jsx(sEe,a_e({resourceKey:b?"Generic.translateTo":c,values:{language:h({id:"Generic.languages."+k})}},{children:t.jsx(GRe,a_e({"aria-label":d?null:x,"data-translate-content-button":!0,className:"ms-fontColor-neutralSecondary",iconProps:{iconName:"World"},onClick:function(){return s_e(this,void 0,void 0,(function(){var e;return l_e(this,(function(t){switch(t.label){case 0:return b?g?(s(g),O(!1),[3,4]):[3,1]:(s(r),O(!0),w({event:f7.translateContent,value:null,action:m7.click,item:{id:u,type:l}}),[2]);case 1:return t.trys.push([1,3,,4]),[4,o(k)];case 2:return e=t.sent(),s(e),v(e),O(!1),[3,4];case 3:return t.sent(),_("Generic.error"),[3,4];case 4:return w({event:f7.translateContent,value:k,itemType:l,action:m7.click,itemId:u,item:{id:u,type:l}}),[2]}}))}))}},{children:d&&x}),void 0)}),void 0):null},GRe=y.default(gFe)(LRe||(LRe=c_e(["\n &&& {\n i {\n color: ",";\n }\n }\n"],["\n &&& {\n i {\n color: ",";\n }\n }\n"])),(function(e){return e.theme.textColors.default})),WRe=y.default(o.ChoiceGroup).withConfig({displayName:"ChoiceGroup",componentId:"sc-11bpj01-0"})(zRe||(zRe=c_e(["\n .ms-ChoiceField-input:not(.is-disabled) + label.is-checked {\n &:hover {\n &::before,\n &::after {\n border-color: ",";\n }\n }\n }\n"],["\n .ms-ChoiceField-input:not(.is-disabled) + label.is-checked {\n &:hover {\n &::before,\n &::after {\n border-color: ",";\n }\n }\n }\n"])),(function(e){return e.theme.palette.accent})),XRe=function(n){var r=n.comment,a=n.showEdit,o=n.showDelete,s=n.onDelete,l=n.isEditMode,u=n.toggleEditMode,c=n.originalContent,d=n.currentContent,h=n.setContent,p=n.handleTranslate,f=n.showAutoTranslate,m=n.onReply,g=n.disabled,v=Wx().formatMessage,y=x6(),b=i.useState(!1),O=b[0],_=b[1],w=i.useRef(null);return y.isPublicUser&&!f?null:y.isPublicUser&&f?t.jsx(BRe,{"data-auto-translate-button":r.id,originalContent:c,onContentChange:function(e){_(!1),h(e)},content:d,tooltipResourceKey:"Comment.translate.showOriginal",onTranslate:p,contentLanguageCode:r.contentLanguageCode,showLabel:!0,itemType:e.ItemResourceTypes.Comments,itemId:r.id},void 0):t.jsxs(t.Fragment,{children:[t.jsx("div",a_e({ref:w},{children:t.jsx(YRe,{"data-menu-button":r.id,iconProps:{iconName:"MoreVertical"},onClick:function(){return _(!O)},ariaLabel:v({id:"AriaLabel.contextMenuButton"}),disabled:g},void 0)}),void 0),O&&t.jsx(HRe,a_e({"data-context-menu":!0,target:w.current,onDismiss:function(){return _(!1)}},{children:t.jsxs(VRe,{children:[t.jsx(sEe,a_e({resourceKey:"Comment.replyButton.tooltip",values:{name:r.sender.displayName}},{children:t.jsx(ZRe,{"data-reply-button":r.id,iconProps:{iconName:"Reply"},onClick:function(){null==m||m(r,r.sender),_(!1)},text:v({id:"Comment.replyButton"})},void 0)}),void 0),f&&t.jsx(BRe,{"data-auto-translate-button":r.id,originalContent:c,onContentChange:function(e){_(!1),h(e)},content:d,tooltipResourceKey:"Comment.translate.showOriginal",onTranslate:p,contentLanguageCode:r.contentLanguageCode,showLabel:!0,itemType:e.ItemResourceTypes.Comments,itemId:r.id},void 0),a&&t.jsx(sEe,a_e({resourceKey:"Comment.edit.tooltip"},{children:t.jsx(ZRe,{"data-edit-button":r.id,iconProps:{iconName:"Edit"},onClick:function(){u(!0),_(!1)},text:v({id:"Generic.edit"}),disabled:!r.id||l},void 0)}),void 0),o&&t.jsx(sEe,a_e({resourceKey:"Comment.delete.tooltip"},{children:t.jsx(ZRe,{"data-delete-button":r.id,iconProps:{iconName:"Delete"},onClick:function(){s(r),_(!1)},text:v({id:"Generic.Delete"}),disabled:!r.id||l},void 0)}),void 0)]},void 0)}),void 0)]},void 0)},VRe=y.default.div.withConfig({displayName:"CommentActionMenu__Buttons",componentId:"sc-qsk1nc-0"})($Re||($Re=c_e(["\n display: flex;\n flex-direction: column;\n"],["\n display: flex;\n flex-direction: column;\n"]))),YRe=y.default(mEe).withConfig({displayName:"CommentActionMenu__MenuButton",componentId:"sc-qsk1nc-1"})(RRe||(RRe=c_e(["\n && {\n width: auto;\n padding: 0;\n\n &[disabled] {\n background: transparent;\n }\n\n i {\n margin: 0;\n font-size: ","px;\n }\n }\n"],["\n && {\n width: auto;\n padding: 0;\n\n &[disabled] {\n background: transparent;\n }\n\n i {\n margin: 0;\n font-size: ","px;\n }\n }\n"])),20),ZRe=y.default(gFe).withConfig({displayName:"CommentActionMenu__StyledActionButton",componentId:"sc-qsk1nc-2"})(QRe||(QRe=c_e(["\n &&& {\n i {\n color: ",";\n }\n }\n"],["\n &&& {\n i {\n color: ",";\n }\n }\n"])),(function(e){return e.theme.textColors.default})),HRe=y.default(_Fe).withConfig({displayName:"CommentActionMenu__StyledCallout",componentId:"sc-qsk1nc-3"})(jRe||(jRe=c_e(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),U8);y.default(o.DefaultButton).withConfig({displayName:"DefaultGoBackButton__StyledButton",componentId:"sc-q6p1lp-0"})(MRe||(MRe=c_e(["\n padding: 0 12px;\n\n i {\n margin: 0 8px 0 0;\n }\n"],["\n padding: 0 12px;\n\n i {\n margin: 0 8px 0 0;\n }\n"]))),y.default(o.DefaultButton).withConfig({displayName:"DefaultGoHomeButton__StyledButton",componentId:"sc-1m1ufrk-0"})(NRe||(NRe=c_e(["\n padding: 0 12px;\n"],["\n padding: 0 12px;\n"])));var KRe,JRe,eQe,tQe,nQe,iQe=y.default(o.IconButton).withConfig({displayName:"DeleteAttachmentButton",componentId:"sc-d7hswf-0"})(KRe||(KRe=c_e(["\n && {\n padding: ","px;\n color: ",";\n\n &:hover {\n color: ",";\n }\n\n &:disabled {\n background-color: transparent;\n }\n\n i {\n font-size: 14px;\n }\n }\n"],["\n && {\n padding: ","px;\n color: ",";\n\n &:hover {\n color: ",";\n }\n\n &:disabled {\n background-color: transparent;\n }\n\n i {\n font-size: 14px;\n }\n }\n"])),6,(function(e){return e.theme.textColors.default}),(function(e){return e.theme.textColors.default})),rQe=function(e){var n=e.toggleAll,r=e.className,a=i.useContext(Bne).theme.palette.accent;return t.jsxs(aQe,a_e({className:r},{children:[t.jsx(oQe,a_e({onClick:function(){return n(!0)},"data-button-toggle":"selectAll",color:a},{children:t.jsx(hS,{id:"Generic.SelectAll"},void 0)}),void 0),t.jsx(oQe,a_e({onClick:function(){return n(!1)},"data-button-toggle":"clearAll",color:a},{children:t.jsx(hS,{id:"Generic.ClearAll"},void 0)}),void 0)]}),void 0)},aQe=y.default.div.withConfig({displayName:"ToggleAllButtons__Host",componentId:"sc-kbn3b4-0"})(JRe||(JRe=c_e(["\n margin-bottom: ","px;\n"],["\n margin-bottom: ","px;\n"])),U8),oQe=y.default(gFe).withConfig({displayName:"ToggleAllButtons__StyledButton",componentId:"sc-kbn3b4-1"})(eQe||(eQe=c_e(["\n && {\n height: 20px;\n padding-left: 0;\n padding-right: 8px;\n font-size: 10pt;\n }\n"],["\n && {\n height: 20px;\n padding-left: 0;\n padding-right: 8px;\n font-size: 10pt;\n }\n"])));y.default((function(e){var n=e.iconName,i=e.textKey,a=o_e(e,["iconName","textKey"]);return t.jsxs(r.NavLink,a_e({},a,{children:[n&&t.jsx(o.Icon,{iconName:n},void 0),t.jsx(hS,{id:i},void 0)]}),void 0)})).withConfig({displayName:"TopActionButton",componentId:"sc-1lam7c6-0"})(tQe||(tQe=c_e(["\n && {\n font-size: initial;\n font-weight: bold;\n margin: 0 0 ","px 0;\n\n display: flex;\n align-items: center;\n align-self: flex-start;\n\n color: ",";\n }\n\n > i {\n padding-right: 8px;\n }\n"],["\n && {\n font-size: initial;\n font-weight: bold;\n margin: 0 0 ","px 0;\n\n display: flex;\n align-items: center;\n align-self: flex-start;\n\n color: ",";\n }\n\n > i {\n padding-right: 8px;\n }\n"])),U8,(function(e){return e.theme.palette.accent})),y.default(mEe).withConfig({displayName:"HeaderMenuButton__MenuButton",componentId:"sc-170vvq2-0"})(nQe||(nQe=c_e([""],[""])));var sQe,lQe,uQe,cQe,dQe=function(e){var n=e.language,r=e.channel,a=e.role,o=e.className,s=x6(),l=mQe(i.useContext(mie).channels,r,s,n);return t.jsx(hQe,a_e({title:l,className:o,role:a},{children:l}),void 0)},hQe=y.default.span.withConfig({displayName:"ChannelTitle__Host",componentId:"sc-1lqd4of-0"})(sQe||(sQe=c_e(["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"],["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"]))),pQe=function(e){var n=e.channels,i=e.language;return t.jsx(t.Fragment,{children:n.map((function(e,n){var r=fQe(e)?e.id:e;return t.jsxs("span",{children:[n>0&&", ",t.jsx(dQe,{channel:e,language:i},void 0)]},r)}))},void 0)};function fQe(e){return null!=e.id}function mQe(e,t,n,i){if(null==e&&!fQe(t))return t;var r=fQe(t)?t:e.find((function(e){return e.name===t||e.id===t}))||{name:t};if(null==r)return null;i||(i=R5(n));var a=r.translations||null!=e&&e.filter((function(e){return e.id===r.id})).map((function(e){return e.translations}))[0]||{};return i&&a[i]||a[n.subscription.defaultLanguage]||r.name}y.default(dQe).withConfig({displayName:"ChannelItem__StyledChannelTitle",componentId:"sc-bumcwu-0"})(lQe||(lQe=c_e(["\n margin-left: ","px;\n flex: 1 1 auto;\n font-size: ",";\n font-weight: bold;\n"],["\n margin-left: ","px;\n flex: 1 1 auto;\n font-size: ",";\n font-weight: bold;\n"])),(function(e){return e.applyMargin?"37":"0"}),n7),y.default.div.withConfig({displayName:"ChannelItem__Host",componentId:"sc-bumcwu-1"})(uQe||(uQe=c_e(["\n display: flex;\n flex-direction: row;\n align-items: center;\n box-sizing: border-box;\n min-height: 62px;\n padding: ","px ","px;\n\n ","\n\n .channel-drag-source {\n display: flex;\n align-items: center;\n flex: 0 0 auto;\n margin-right: 12px;\n\n i {\n font-size: ","px;\n }\n }\n"],["\n display: flex;\n flex-direction: row;\n align-items: center;\n box-sizing: border-box;\n min-height: 62px;\n padding: ","px ","px;\n\n ","\n\n .channel-drag-source {\n display: flex;\n align-items: center;\n flex: 0 0 auto;\n margin-right: 12px;\n\n i {\n font-size: ","px;\n }\n }\n"])),U8,15,lIe(2,2),n7),y.default(mEe).withConfig({displayName:"ChannelItem__StyledIconButton",componentId:"sc-bumcwu-2"})(cQe||(cQe=c_e(["\n i {\n font-size: ","px;\n }\n"],["\n i {\n font-size: ","px;\n }\n"])),n7);var gQe,vQe,yQe,bQe,OQe,_Qe,wQe,kQe,xQe,SQe,PQe,EQe=function(e){var n=e.channels,i=e.language,r=e.channelStyleDefinition,a=e.visibleChannelsCount,o=void 0===a?3:a,s=e.onChannelClick,l=e.className;if(!n||0===n.length)return null;var u=n.length>o;return t.jsxs(TQe,a_e({className:l,"data-has-more-indicator":u},{children:[t.jsx(FQe,{channels:n.slice(0,o),language:i,channelStyleDefinition:r,onChannelClick:s},void 0),u&&t.jsx(CQe,{channels:n.slice(o),language:i,styleDefinition:r,onChannelClick:s},void 0)]}),void 0)},FQe=function(e){var n=e.channels,i=e.language,r=e.channelStyleDefinition,a=e.onChannelClick;return t.jsx(DQe,a_e({"data-channels":!0},{children:n.map((function(e){var o=t.jsx(dQe,{channel:e,language:i},void 0);return a?t.jsx(AQe,a_e({bubbleCount:n.length,backgroundColor:null==r?void 0:r.backgroundColor,color:null==r?void 0:r.color,onClick:function(){return a(e)},"data-rounded-outline":!0},{children:o}),e):t.jsx(IQe,a_e({bubbleCount:n.length,backgroundColor:null==r?void 0:r.backgroundColor,color:null==r?void 0:r.color},{children:o}),e)}))}),void 0)},CQe=function(e){var n=e.channels,r=e.language,a=e.styleDefinition,o=e.onChannelClick,s=i.useRef(),l=i.useState(!1),u=l[0],c=l[1];return t.jsxs(t.Fragment,{children:[t.jsx(zQe,a_e({ref:s,backgroundColor:null==a?void 0:a.backgroundColor,color:null==a?void 0:a.color},{children:t.jsx($Qe,a_e({onClick:function(){return c(!0)}},{children:"+"+n.length}),void 0)}),void 0),u&&t.jsx(RQe,a_e({target:s.current,onDismiss:function(){return c(!1)}},{children:t.jsx(QQe,{children:n.map((function(e){return t.jsx("li",{children:o?t.jsx(gFe,a_e({onClick:function(){return o(e)}},{children:t.jsx(dQe,{channel:e,language:r},void 0)}),void 0):t.jsx(dQe,{channel:e,language:r},void 0)},e)}))},void 0)}),void 0)]},void 0)},TQe=y.default.div(gQe||(gQe=c_e(["\n display: flex;\n width: 100%;\n\n &[data-has-more-indicator='true'] {\n [data-channels] {\n width: calc(100% - ","px);\n }\n }\n\n &[data-has-more-indicator='false'] {\n [data-channels] {\n width: 100%;\n }\n }\n"],["\n display: flex;\n width: 100%;\n\n &[data-has-more-indicator='true'] {\n [data-channels] {\n width: calc(100% - ","px);\n }\n }\n\n &[data-has-more-indicator='false'] {\n [data-channels] {\n width: 100%;\n }\n }\n"])),56),DQe=y.default.div(vQe||(vQe=c_e(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),AQe=y.default(gFe)(yQe||(yQe=c_e(["\n z-index: 1;\n height: inherit;\n padding: 0;\n\n ","\n span {\n width: 100%;\n }\n"],["\n z-index: 1;\n height: inherit;\n padding: 0;\n\n ","\n span {\n width: 100%;\n }\n"])),(function(e){return LQe(e.bubbleCount,e.backgroundColor,e.color)})),IQe=y.default.span(bQe||(bQe=c_e(["\n ","\n"],["\n ","\n"])),(function(e){return LQe(e.bubbleCount,e.backgroundColor,e.color)})),LQe=function(e,t,n){return a.css(wQe||(wQe=c_e(["\n ","\n\n ","\n\n ","\n "],["\n ","\n\n ","\n\n ","\n "])),e&&a.css(OQe||(OQe=c_e(["\n max-width: calc(100% / "," - ","px);\n "],["\n max-width: calc(100% / "," - ","px);\n "])),e,6),e&&e>1&&a.css(_Qe||(_Qe=c_e(["\n margin-right: ","px;\n "],["\n margin-right: ","px;\n "])),6),lEe({backgroundColor:t,color:n}))},zQe=y.default.div(kQe||(kQe=c_e(["\n z-index: 1;\n margin-left: ","px;\n\n ","\n"],["\n z-index: 1;\n margin-left: ","px;\n\n ","\n"])),6,(function(e){return lEe({backgroundColor:e.backgroundColor,color:e.color})})),$Qe=y.default(gFe)(xQe||(xQe=c_e(["\n &&& {\n height: auto;\n color: inherit;\n padding: 0;\n }\n"],["\n &&& {\n height: auto;\n color: inherit;\n padding: 0;\n }\n"]))),RQe=y.default(_Fe)(SQe||(SQe=c_e(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),6),QQe=y.default.ul(PQe||(PQe=c_e(["\n margin: 0;\n padding: 0;\n list-style: none;\n"],["\n margin: 0;\n padding: 0;\n list-style: none;\n"]))),jQe=function(e){var n=e.channels,i=e.buildChannelFilterUrl,r=e.language,a=e.channelBackgroundColor,o=e.onClick,s=e.className;return(null==n?void 0:n.length)?t.jsx(nje,a_e({className:s,"data-channels":n.join(",")},{children:n.map((function(e){var n=MQe(e)?e.id:e,s=t.jsx(ije,a_e({backgroundColor:a},{children:t.jsx(dQe,{channel:e,language:r},void 0)}),void 0);return t.jsxs("li",{children:[i&&t.jsx(rje,a_e({"data-channel":!0,to:i(MQe(e)?e.name:e),"data-rounded-outline":!0},{children:s}),void 0),o&&t.jsx(oje,a_e({"data-rounded-outline":!0,onClick:function(){return o(MQe(e)?e.name:e)}},{children:s}),void 0),!o&&!i&&t.jsx(aje,{children:s},void 0)]},n)}))}),void 0):null};function MQe(e){return null!=e.id}var NQe,UQe,qQe,BQe,GQe,WQe,XQe,VQe,YQe,ZQe,HQe,KQe,JQe,eje,tje,nje=y.default.ul.withConfig({displayName:"ClickableChannelTitles__Host",componentId:"sc-1a7ny18-0"})(NQe||(NQe=c_e(["\n display: flex;\n flex-wrap: wrap;\n font-size: ","px;\n\n &&& {\n margin: 0;\n padding: 0;\n list-style: none;\n\n li {\n margin: 0;\n span {\n white-space: break-spaces;\n }\n }\n }\n"],["\n display: flex;\n flex-wrap: wrap;\n font-size: ","px;\n\n &&& {\n margin: 0;\n padding: 0;\n list-style: none;\n\n li {\n margin: 0;\n span {\n white-space: break-spaces;\n }\n }\n }\n"])),a7),ije=y.default.div.withConfig({displayName:"ClickableChannelTitles__ChannelBubble",componentId:"sc-1a7ny18-1"})(UQe||(UQe=c_e(["\n ","\n"],["\n ","\n"])),(function(e){return e.backgroundColor?lEe({backgroundColor:e.backgroundColor}):lEe()})),rje=y.default(r.NavLink).withConfig({displayName:"ClickableChannelTitles__ChannelLink",componentId:"sc-1a7ny18-2"})(qQe||(qQe=c_e(["\n position: relative;\n z-index: 1;\n color: ",";\n display: inline-block;\n margin: 2px ","px 2px 0;\n"],["\n position: relative;\n z-index: 1;\n color: ",";\n display: inline-block;\n margin: 2px ","px 2px 0;\n"])),(function(e){return e.theme.textColors.default}),6),aje=y.default.span.withConfig({displayName:"ClickableChannelTitles__ChannelBubbleWrapper",componentId:"sc-1a7ny18-3"})(BQe||(BQe=c_e(["\n display: block;\n margin: 2px ","px 2px 0;\n"],["\n display: block;\n margin: 2px ","px 2px 0;\n"])),6),oje=y.default(gFe).withConfig({displayName:"ClickableChannelTitles__StyledActionButton",componentId:"sc-1a7ny18-4"})(GQe||(GQe=c_e(["\n && {\n height: auto;\n padding: 0;\n margin: 2px ","px 2px 0;\n }\n"],["\n && {\n height: auto;\n padding: 0;\n margin: 2px ","px 2px 0;\n }\n"])),6),sje=function(e){var n=e.searchText,i=e.onSearchTextChange,r=e.onExecuteSearch,a=e.onSearchIconClick,o=e.onSearchInputFieldVisibilityChanged;return t.jsxs(t.Fragment,{children:[t.jsx(lje,{children:t.jsx(h$e,{searchText:n,onSearchTextChange:i,onExecuteSearch:r,onSearchInputFieldVisibilityChanged:o,isToolbarMode:!0},void 0)},void 0),t.jsx(uje,{children:t.jsx(o$e,{iconName:"Search",onClick:a,tooltipResourceKey:"TopBar.search",ariaLabelResourceKey:"TopBar.search"},void 0)},void 0)]},void 0)},lje=y.default.div.withConfig({displayName:"ToolbarSearch__SearchBoxLargeScreen",componentId:"sc-1f480ry-0"})(WQe||(WQe=c_e(["\n display: flex;\n justify-content: flex-end;\n max-width: 300px;\n flex-grow: 1;\n @media (max-width: ","px) {\n display: none;\n }\n"],["\n display: flex;\n justify-content: flex-end;\n max-width: 300px;\n flex-grow: 1;\n @media (max-width: ","px) {\n display: none;\n }\n"])),J8),uje=y.default.div.withConfig({displayName:"ToolbarSearch__SearchIconSmallScreen",componentId:"sc-1f480ry-1"})(XQe||(XQe=c_e(["\n @media (min-width: ","px) {\n display: none;\n }\n"],["\n @media (min-width: ","px) {\n display: none;\n }\n"])),V8),cje=function(e){var n=e.leftSide,r=e.hideLeftSide,a=e.rightSide,o=e.hideRightSide,s=e.search,l=e.className,u=e.children,c=i.useState(!1),d=c[0],h=c[1];return t.jsxs(dje,a_e({className:l,"data-content-toolbar":!0},{children:[t.jsxs(fje,{children:[n&&!r&&t.jsx(hje,{children:n},void 0),(a||s)&&!o&&t.jsxs(pje,{children:[s&&t.jsx(sje,{searchText:s.searchText,onSearchTextChange:s.onSearchTextChange,onExecuteSearch:s.onExecuteSearch,onSearchIconClick:function(){d?p():h(!0)},onSearchInputFieldVisibilityChanged:function(e){return h(e)}},void 0),a]},void 0)]},void 0),u,s&&d&&t.jsx(mje,{children:t.jsx(s$e,{onClear:p,searchText:s.searchText,onChange:s.onSearchTextChange,onExecuteSearch:s.onExecuteSearch,useLightTheme:!0},void 0)},void 0)]}),void 0);function p(){var e;null===(e=s.onSearchTextChange)||void 0===e||e.call(s,""),h(!1)}},dje=y.default.div.withConfig({displayName:"Toolbar__Host",componentId:"sc-16ftbxt-0"})(VQe||(VQe=c_e(["\n display: flex;\n flex: 1 1 auto;\n flex-direction: column;\n justify-content: center;\n background-color: ",";\n box-shadow: 1px 1px 4px grey;\n padding: ","px;\n min-height: 36px;\n\n // min-width required if you want to use overflow:hidden or similar stuff on parent elements\n // see: https://stackoverflow.com/questions/43809612/prevent-a-child-element-from-overflowing-its-parent-in-flexbox\n min-width: 0;\n"],["\n display: flex;\n flex: 1 1 auto;\n flex-direction: column;\n justify-content: center;\n background-color: ",";\n box-shadow: 1px 1px 4px grey;\n padding: ","px;\n min-height: 36px;\n\n // min-width required if you want to use overflow:hidden or similar stuff on parent elements\n // see: https://stackoverflow.com/questions/43809612/prevent-a-child-element-from-overflowing-its-parent-in-flexbox\n min-width: 0;\n"])),(function(e){return e.theme.palette.white}),3),hje=y.default.div.withConfig({displayName:"Toolbar__LeftSide",componentId:"sc-16ftbxt-1"})(YQe||(YQe=c_e(["\n display: flex;\n\n flex-wrap: nowrap;\n flex: 1 1 auto;\n\n min-width: 0;\n"],["\n display: flex;\n\n flex-wrap: nowrap;\n flex: 1 1 auto;\n\n min-width: 0;\n"]))),pje=y.default.div.withConfig({displayName:"Toolbar__RightSide",componentId:"sc-16ftbxt-2"})(ZQe||(ZQe=c_e(["\n display: flex;\n align-items: center;\n justify-content: flex-end;\n flex: 1 1 auto;\n"],["\n display: flex;\n align-items: center;\n justify-content: flex-end;\n flex: 1 1 auto;\n"]))),fje=y.default.div.withConfig({displayName:"Toolbar__Row",componentId:"sc-16ftbxt-3"})(HQe||(HQe=c_e(["\n display: flex;\n flex: 1 1 auto;\n\n min-width: 0;\n"],["\n display: flex;\n flex: 1 1 auto;\n\n min-width: 0;\n"]))),mje=y.default.div.withConfig({displayName:"Toolbar__SearchInputRow",componentId:"sc-16ftbxt-4"})(KQe||(KQe=c_e(["\n display: flex;\n width: 100%;\n @media (min-width: ","px) {\n display: none;\n }\n"],["\n display: flex;\n width: 100%;\n @media (min-width: ","px) {\n display: none;\n }\n"])),V8);y.default(cje).withConfig({displayName:"ChromelessToolbar__StyledToolbar",componentId:"sc-1vovywb-0"})(JQe||(JQe=c_e(["\n margin-top: ","px;\n margin-bottom: ","px;\n\n flex: 0 0 auto;\n\n @media (min-width: ","px) {\n margin-top: ","px;\n margin-bottom: ","px;\n }\n"],["\n margin-top: ","px;\n margin-bottom: ","px;\n\n flex: 0 0 auto;\n\n @media (min-width: ","px) {\n margin-top: ","px;\n margin-bottom: ","px;\n }\n"])),U8,U8,V8,q8,q8),y.default.p.withConfig({displayName:"PageDescription",componentId:"sc-xcsmz7-0"})(eje||(eje=c_e(["\n display: flex;\n flex-wrap: wrap;\n margin: 0;\n line-height: 1.5em;\n span {\n flex: 1 1 100%;\n }\n"],["\n display: flex;\n flex-wrap: wrap;\n margin: 0;\n line-height: 1.5em;\n span {\n flex: 1 1 100%;\n }\n"]))),y.default.div.withConfig({displayName:"DragSource__Host",componentId:"sc-qzjyds-0"})(tje||(tje=c_e([""],[""])));var gje,vje,yje,bje,Oje,_je,wje,kje,xje,Sje,Pje,Eje=function(e){var n=e.onEmojiSelected,r=e.disabled,a=i.useRef(null),s=i.useState(!1),l=s[0],u=s[1],c=Wx().formatMessage;return t.jsxs(t.Fragment,{children:[t.jsx(Fje,a_e({ref:a},{children:t.jsx(mEe,{"data-emoji-button":!0,iconProps:{iconName:"Emoji2"},onClick:function(){return u(!0)},disabled:r,ariaLabel:c({id:"AriaLabel.emojiButton"})},void 0)}),void 0),l&&t.jsx(Cje,a_e({directionalHint:o.DirectionalHint.topCenter,target:a.current,onDismiss:function(){return u(!1)},isBeakVisible:!1,gapSpace:10,preventDismissOnScroll:!0,styles:{calloutMain:{padding:5}}},{children:t.jsx(Dje,{onSelect:function(e){u(!1),n(e.native)}},void 0)}),void 0)]},void 0)},Fje=y.default.div.withConfig({displayName:"EmojiButton__ButtonWrapper",componentId:"sc-1eq2zlz-0"})(gje||(gje=c_e([""],[""]))),Cje=y.default(_Fe).withConfig({displayName:"EmojiButton__StyledCallout",componentId:"sc-1eq2zlz-1"})(vje||(vje=c_e(["\n border-radius: 10px;\n overflow: hidden;\n"],["\n border-radius: 10px;\n overflow: hidden;\n"]))),Tje=i.lazy((function(){return Promise.resolve().then((function(){return tUi}))})),Dje=function(e){var n=e.onSelect,r=$w();return t.jsx(i.Suspense,a_e({fallback:t.jsx(Aje,a_e({isSmaller:r.width<X8},{children:t.jsx(vCe,{},void 0)}),void 0)},{children:t.jsx(Tje,{onSelect:n},void 0)}),void 0)},Aje=y.default.div.withConfig({displayName:"EmojiButton__EmojiPickerSuspenseHost",componentId:"sc-1eq2zlz-2"})(yje||(yje=c_e(["\n // we set an initial width which is similar to what the emoji picker will be once it's loaded\n // we have to do this so the callout is rendered in the correct place\n width: ","px;\n height: 400px;\n"],["\n // we set an initial width which is similar to what the emoji picker will be once it's loaded\n // we have to do this so the callout is rendered in the correct place\n width: ","px;\n height: 400px;\n"])),(function(e){return e.isSmaller?319:400})),Ije=function(){var e=Dm();return t.jsx(Lje,{children:t.jsx("a",a_e({href:"https://giphy.com",target:"_blank",rel:"noreferrer"},{children:t.jsx("img",{src:e.webAppUrl+"/assets/giphy/PoweredBy_200px-White_HorizText.png",alt:"Giphy Attribution"},void 0)}),void 0)},void 0)},Lje=y.default.div(bje||(bje=c_e(["\n text-align: right;\n margin-top: ","px;\n"],["\n text-align: right;\n margin-top: ","px;\n"])),6),zje=function(e){var n,r,a=e.onGifClick,s=e.className,l=Gm(),u=Wx().formatMessage,c=new nle.GiphyFetch(l.giphy.apiKey),d=i.useState(null),h=d[0],p=d[1],f=t_e(h,500)[0],m=$w(),g=zw((function(){if(!f)return c.trending({limit:21});return c.search(f,{limit:21})}),null,[f]),v=g[0],y=g[1],b=m.width<550?80:100;return t.jsxs($je,a_e({className:s},{children:[t.jsx(o.SearchBox,{placeholder:u({id:"Gif.searchPlaceHolder"}),iconProps:{iconName:"Search"},onChange:function(e,t){return p(t)},autoFocus:!0},void 0),t.jsxs(Rje,a_e({columnWidth:b,"data-gif-grid":!0},{children:[y&&t.jsx(vCe,{delay:300},void 0),0===(null===(n=null==v?void 0:v.data)||void 0===n?void 0:n.length)&&t.jsx(hS,{id:"Generic.noResultsFound"},void 0),null===(r=null==v?void 0:v.data)||void 0===r?void 0:r.map((function(e){return t.jsx(Qje,{gif:e,width:b,height:b,noLink:!0,hideAttribution:!0,onGifClick:a},e.id)}))]}),void 0)]}),void 0)},$je=y.default.div.withConfig({displayName:"GifSelector__Host",componentId:"sc-lame6k-0"})(Oje||(Oje=c_e(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),6),Rje=y.default.div.withConfig({displayName:"GifSelector__GifContainer",componentId:"sc-lame6k-1"})(_je||(_je=c_e(["\n margin-top: ","px;\n display: grid;\n grid-template-columns: repeat(auto-fit, ","px);\n grid-gap: ","px;\n justify-content: space-around;\n"],["\n margin-top: ","px;\n display: grid;\n grid-template-columns: repeat(auto-fit, ","px);\n grid-gap: ","px;\n justify-content: space-around;\n"])),U8,(function(e){return e.columnWidth}),6),Qje=y.default(qre.Gif).withConfig({displayName:"GifSelector__ClickableGif",componentId:"sc-lame6k-2"})(wje||(wje=c_e(["\n cursor: pointer;\n"],["\n cursor: pointer;\n"]))),jje=function(e){var n=e.target,i=e.onGifClick,r=e.onDismiss;return t.jsxs(Mje,a_e({directionalHint:o.DirectionalHint.topCenter,target:n,onDismiss:r,isBeakVisible:!1,gapSpace:10,preventDismissOnResize:!0,preventDismissOnScroll:!0,styles:{calloutMain:{padding:5}}},{children:[t.jsx(Nje,{onGifClick:i},void 0),t.jsx(Ije,{},void 0)]}),void 0)},Mje=y.default(_Fe)(kje||(kje=c_e(["\n border-radius: 10px;\n overflow: hidden;\n width: 360px;\n"],["\n border-radius: 10px;\n overflow: hidden;\n width: 360px;\n"]))),Nje=y.default(zje)(xje||(xje=c_e(["\n & [data-gif-grid] {\n overflow-y: auto;\n height: 400px;\n }\n"],["\n & [data-gif-grid] {\n overflow-y: auto;\n height: 400px;\n }\n"])));a.createGlobalStyle(Sje||(Sje=c_e(["\n .lt-reach.dialog-gif-selector {\n .ms-Dialog-main {\n width: 400px !important;\n\n @media (max-width: ","px) {\n width: 100% !important;\n }\n }\n}\n"],["\n .lt-reach.dialog-gif-selector {\n .ms-Dialog-main {\n width: 400px !important;\n\n @media (max-width: ","px) {\n width: 100% !important;\n }\n }\n}\n"])),K8),y.default(zje).withConfig({displayName:"GifSelectorDialog__StyledDialogGifSelector",componentId:"sc-t6p48w-0"})(Pje||(Pje=c_e(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),U8);var Uje,qje,Bje,Gje,Wje,Xje,Vje=function(e){var n=e.disabled,r=e.onGifClick,a=S6(),o=Wx().formatMessage,s=i.useRef(),l=i.useState(!1),u=l[0],c=l[1];return a.giphy?t.jsxs("div",{children:[t.jsx("div",a_e({ref:s},{children:t.jsx(mEe,{iconProps:{iconName:"Gif"},onClick:function(){return c(!0)},disabled:n,"data-button-type":"gif",ariaLabel:o({id:"AriaLabel.gifButton"})},void 0)}),void 0),u&&t.jsx(t.Fragment,{children:t.jsx(jje,{target:s.current,onGifClick:function(e){c(!1),r({id:e.id.toString(),filename:e.title,url:e.embed_url,type:H6.Giphy})},onDismiss:function(){return c(!1)}},void 0)},void 0)]},void 0):null},Yje=function(e){var n=e.gifInfo,r=e.className,a=Gm(),o=i.useState(),s=o[0],l=o[1];return i.useEffect((function(){new nle.GiphyFetch(a.giphy.apiKey).gif(n.id).then((function(e){return l(e.data)}))}),[a.giphy.apiKey,n.id]),s?t.jsx(Zje,a_e({className:r},{children:t.jsx(Hje,{gif:s,width:300,noLink:!0,hideAttribution:!0},void 0)}),void 0):null},Zje=y.default.div(Uje||(Uje=c_e([""],[""]))),Hje=y.default(qre.Gif)(qje||(qje=c_e(["\n && {\n max-width: 100%;\n }\n\n @media (max-width: ","px) {\n /* because the style is inline set we need to overwrite it via !important */\n width: auto !important;\n height: auto !important;\n > div {\n width: auto !important;\n height: auto !important;\n\n img {\n max-width: 100%;\n height: auto;\n }\n }\n }\n"],["\n && {\n max-width: 100%;\n }\n\n @media (max-width: ","px) {\n /* because the style is inline set we need to overwrite it via !important */\n width: auto !important;\n height: auto !important;\n > div {\n width: auto !important;\n height: auto !important;\n\n img {\n max-width: 100%;\n height: auto;\n }\n }\n }\n"])),K8),Kje=function(e){var n=e.attachments,i=e.onDeleteClick,r=e.className,a=Wx().formatMessage,o=n.filter((function(e){return e.type===H6.Giphy}));return 0===o.length?null:t.jsx(Jje,a_e({className:r,"data-gif-attachment-list":!0},{children:o.map((function(e){return t.jsx(eMe,a_e({domIdentifier:"gif",deleteButton:t.jsx(iQe,{"data-remove-attachment-button":e.id,iconProps:{iconName:"ChromeClose"},onClick:function(){return i(e)},ariaLabel:a({id:"AriaLabel.removeAttachmentButton"})},void 0)},{children:t.jsx(Yje,{gifInfo:e},void 0)}),e.id)}))}),void 0)},Jje=y.default.div.withConfig({displayName:"GifEditList__Host",componentId:"sc-95dldh-0"})(Bje||(Bje=c_e(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"],["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"]))),eMe=y.default(hFe).withConfig({displayName:"GifEditList__StyledAttachmentHost",componentId:"sc-95dldh-1"})(Gje||(Gje=c_e(["\n width: auto;\n"],["\n width: auto;\n"]))),tMe=function(e){var n=e.attachments,i=e.className,r=n.filter((function(e){return e.type===H6.Giphy}));return 0===r.length?null:t.jsx(nMe,a_e({className:i,"data-gif-url-preview":r[0].id},{children:t.jsx(iMe,{children:t.jsx(Yje,{gifInfo:r[0]},void 0)},void 0)}),void 0)},nMe=y.default.div.withConfig({displayName:"GifList__Host",componentId:"sc-8gg7fj-0"})(Wje||(Wje=c_e(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"],["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"]))),iMe=y.default(hFe).withConfig({displayName:"GifList__StyledAttachmentHost",componentId:"sc-8gg7fj-1"})(Xje||(Xje=c_e(["\n width: auto;\n margin: ","px 0 0 0;\n"],["\n width: auto;\n margin: ","px 0 0 0;\n"])),U8);var rMe,aMe,oMe,sMe=function(e){var n,r,a=i.useRef(null),s=i.useState(!1),l=s[0],u=s[1];return t.jsxs(lMe,a_e({className:e.className},((n={})[e.dataAttribute]=!0,n),{ref:a},{children:[t.jsx(uMe,{"data-icon-with-callout":!0,iconProps:{iconName:e.icon},onClick:function(){return s_e(this,void 0,void 0,(function(){var t,n;return l_e(this,(function(i){switch(i.label){case 0:return(t=e.disabled)?[3,3]:(n=e.onIconClick)?[4,e.onIconClick()]:[3,2];case 1:n=i.sent(),i.label=2;case 2:t=n,i.label=3;case 3:return t||u(!l),[2]}}))}))},ariaLabel:e.ariaLabel,disabled:e.disabled},void 0),l&&t.jsx(cMe,a_e({className:"icon-with-callout-content",target:a,directionalHint:null==e.directionalHint?o.DirectionalHint.rightCenter:e.directionalHint,gapSpace:4,onDismiss:function(){var t;u(!1),null===(t=e.onCalloutDismissed)||void 0===t||t.call(e)},calloutWidth:null!==(r=e.calloutWidth)&&void 0!==r?r:0},{children:e.children}),void 0)]}),void 0)},lMe=y.default.div.withConfig({displayName:"IconWithCallout__Host",componentId:"sc-1jmscz2-0"})(rMe||(rMe=c_e(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),uMe=y.default(mEe).withConfig({displayName:"IconWithCallout__StyledIconButton",componentId:"sc-1jmscz2-1"})(aMe||(aMe=c_e(["\n width: auto;\n height: auto;\n padding: 0;\n\n &[disabled] {\n background: transparent;\n }\n"],["\n width: auto;\n height: auto;\n padding: 0;\n\n &[disabled] {\n background: transparent;\n }\n"]))),cMe=y.default(_Fe).withConfig({displayName:"IconWithCallout__StyledCallout",componentId:"sc-1jmscz2-2"})(oMe||(oMe=c_e(["\n && {\n font-family: 'Roboto', sans-serif;\n padding: 10px;\n max-width: 700px !important;\n\n h2 {\n margin: 10px;\n }\n }\n"],["\n && {\n font-family: 'Roboto', sans-serif;\n padding: 10px;\n max-width: 700px !important;\n\n h2 {\n margin: 10px;\n }\n }\n"]))),dMe="video-view-container";function hMe(e,t){return void 0===t&&(t=!1),null==e||0===e.trim().length||t&&function(e){var t=document.createElement("div");return t.innerHTML=e,0===t.innerText.trim().length&&null===t.querySelector("div")}(e)}var pMe=["ar-dz","ar-kw","ar-ly","ar-ma","ar-sa","ar-tn","ar","bg","bn","ca","cs","da","de-at","de-ch","de","el","en","en-au","en-ca","en-gb","en-ie","en-il","en-nz","en-sg","es-do","es-us","es","et","fa","fi","fr-ca","fr-ch","fr","gu","he","hi","hr","hu","id","it-ch","it","ja","kn","ko","lt","lv","ml","mr","ms-my","ms","nb","nl-be","nl","pl","pt-br","pt","ro","ru","sk","sl","sr-cyrl","sr","sv","sw","ta","te","th","tr","uk","vi","zh-cn","zh-hk","zh-tw"];function fMe(e){return mMe(null==e?void 0:e.preferredLocale)||mMe(function(){try{return Intl.DateTimeFormat().resolvedOptions().locale}catch(e){return null}}())||mMe(null==e?void 0:e.preferredUiLanguage)||mMe(navigator.language)||"en"}function mMe(e){return e?("en-us"===(e=e.toLocaleLowerCase())&&(e="en"),pMe.find((function(t){return t===e}))):null}var gMe,vMe,yMe,bMe,OMe,_Me,wMe,kMe,xMe,SMe=function(e){var n=e.onNextClick,r=e.onPrevClick,a=e.onFirstClick,o=e.hidePrevButton,s=e.hideNextButton,l=e.isLoadingNextPage,u=e.className,c=Wx().formatMessage,d=i.useContext(Bne).theme.palette;return s&&o?null:t.jsxs(PMe,a_e({className:u},{children:[t.jsx(sEe,a_e({resourceKey:"Lib.paging.goToFirstPage"},{children:t.jsx(FMe,{ariaLabel:c({id:"Generic.first.page.button.text"}),iconProps:{iconName:"ChevronLeftEnd6"},isHidden:o,onClick:a,color:d.accent,"data-horizontal-pager-first-page-button":!0},void 0)}),void 0),t.jsx(CMe,{iconProps:{iconName:"ChevronLeftSmall"},text:c({id:"Generic.previous.page.button.text"}),isHidden:o,onClick:r,color:d.accent,"data-horizontal-pager-back-button":!0},void 0),t.jsx(TMe,{iconProps:{iconName:"ChevronRightSmall"},text:c({id:"Generic.next.page.button.text"}),disabled:l,isHidden:s,onClick:n,color:d.accent,"data-horizontal-pager-more-button":!0},void 0)]}),void 0)},PMe=y.default.div.withConfig({displayName:"HorizontalPager__Host",componentId:"sc-1b5ja54-0"})(gMe||(gMe=c_e(["\n display: flex;\n justify-content: center;\n margin-top: ","px;\n"],["\n display: flex;\n justify-content: center;\n margin-top: ","px;\n"])),q8),EMe=y.default(gFe).withConfig({displayName:"HorizontalPager__StyledActionButton",componentId:"sc-1b5ja54-1"})(yMe||(yMe=c_e(["\n font-weight: bold;\n\n ","\n"],["\n font-weight: bold;\n\n ","\n"])),(function(e){return e.isHidden&&a.css(vMe||(vMe=c_e(["\n visibility: hidden;\n "],["\n visibility: hidden;\n "])))})),FMe=y.default(EMe).withConfig({displayName:"HorizontalPager__FirstPageButton",componentId:"sc-1b5ja54-2"})(bMe||(bMe=c_e([""],[""]))),CMe=y.default(EMe).withConfig({displayName:"HorizontalPager__BackButton",componentId:"sc-1b5ja54-3"})(OMe||(OMe=c_e([""],[""]))),TMe=y.default(EMe).withConfig({displayName:"HorizontalPager__MoreButton",componentId:"sc-1b5ja54-4"})(_Me||(_Me=c_e(["\n & > span {\n flex-direction: row-reverse;\n }\n"],["\n & > span {\n flex-direction: row-reverse;\n }\n"])));y.default.p.withConfig({displayName:"PaginationStatus__AllLoadedStatus",componentId:"sc-ykj2ti-0"})(wMe||(wMe=c_e(["\n margin: 0;\n text-align: center;\n color: ",";\n"],["\n margin: 0;\n text-align: center;\n color: ",";\n"])),(function(e){return e.theme.palette.neutralSecondary})),y.default.div.withConfig({displayName:"PaginationStatus__Host",componentId:"sc-ykj2ti-1"})(kMe||(kMe=c_e(["\n margin: ","px 0;\n\n > * {\n margin: 0;\n }\n"],["\n margin: ","px 0;\n\n > * {\n margin: 0;\n }\n"])),W8),y.default.div.withConfig({displayName:"PaginationStatus__LoadStatusPlaceholder",componentId:"sc-ykj2ti-2"})(xMe||(xMe=c_e(["\n height: ","px;\n"],["\n height: ","px;\n"])),q8);var DMe=P_e,AMe=Array.isArray||function(e){return"Array"==DMe(e)},IMe=AMe,LMe=pke,zMe=DCe,$Me=function(e,t,n,i,r,a,o,s){for(var l,u=r,c=0,d=!!o&&zMe(o,s,3);c<i;){if(c in n){if(l=d?d(n[c],c,t):n[c],a>0&&IMe(l))u=$Me(e,t,l,LMe(l.length),u,a-1)-1;else{if(u>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[u]=l}u++}c++}return u},RMe=$Me,QMe=L_e,jMe=AMe,MMe=Yxe("species"),NMe=RMe,UMe=ixe,qMe=pke,BMe=txe,GMe=function(e,t){var n;return jMe(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!jMe(n.prototype)?QMe(n)&&null===(n=n[MMe])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)};function WMe(e,t,n){var r=function(e){var t=i.useState(0),n=t[0],r=t[1],a=i.useState({pages:{},paginationToken:null,hasNextPage:!0}),o=a[0],s=a[1];return{state:o,setInitialPages:function(e,t,n){s({pages:{0:u_e([],e||[])},paginationToken:t,hasNextPage:n})},updatePageItems:function(e,t,n,i){s((function(r){var a;return{pages:r_e(r.pages,(a={},a[e]={$set:t},a)),paginationToken:n,hasNextPage:i}}))},lastFetchedPageIndex:n,updateLastFetchedPageIndex:function(t){r(t?e*t:function(t){return t+e})},updateItem:function(e,t){s((function(n){for(var i=a_e({},n.pages),r=Object.keys(i).length,a=0;a<r;){var o=Object.keys(i)[a++],s=i[o];if(s.find((function(t){return t.id===e}))){i[o]=s.map((function(n){return n.id===e?t:n}));break}}return a_e(a_e({},n),{pages:i})}))},insertToTheFront:function(t){for(var i,a,l=u_e([t],(null===(i=o.pages)||void 0===i?void 0:i[0])||[]),u=a_e(a_e({},o.pages),{0:l}),c=Object.keys(u).length,d=0;d<c;){var h=0===d,p=Object.keys(u)[d],f=u[p].length;if(h&&f>e&&f<=2*e){n<2*e&&r(n+e);break}if(f<=e)break;var m=u[p].pop(),g=null!==(a=Object.keys(u)[d+1])&&void 0!==a?a:h?2*e:+p+e,v=u[g];if(!v){o.hasNextPage||(u[g]=[m],r(n+e));break}v.unshift(m),d++}s(a_e(a_e({},o),{pages:u}))},deleteItem:function(t){for(var i=a_e({},o.pages),a=Object.keys(i).length,l=0;l<a;){var u=Object.keys(i)[l];if(i[u].find((function(e){return e.id===t}))){i[u]=i[u].filter((function(e){return e.id!==t}));break}l++}for(var c=!1;l<a;){if(!i[u=Object.keys(i)[l++]].length&&l===a){delete i[u],c=!0;break}var d=Object.keys(i)[l],h=d?i[d]:null;if(!h)break;var p=h.shift();i[u].push(p)}s(a_e(a_e({},o),{pages:i}));var f=(c||i[0].length===e)&&n>e;return f&&r(n-e),f}}}(e),a=r.state,o=r.setInitialPages,s=r.updatePageItems,l=r.lastFetchedPageIndex,u=r.updateLastFetchedPageIndex,c=r.updateItem,d=r.insertToTheFront,h=r.deleteItem,p=i.useState(0),f=p[0],m=p[1],g=i.useState(!0),v=g[0],y=g[1],b=i.useState(!1),O=b[0],_=b[1],w=i.useState(null),k=w[0],x=w[1];i.useEffect((function(){P()}),u_e([e],n||[]));var S=Object.keys(a.pages).flatMap((function(e){return a.pages[e]})).slice(f-e,f);return{items:S,isInitialLoading:v,isLoadingNextPage:O,error:k,getFirstPage:function(){return m(e)},getPrevPage:function(){return m(f-e)},getNextPage:function(){return s_e(this,void 0,void 0,(function(){return l_e(this,(function(t){switch(t.label){case 0:return m(f+e),a.hasNextPage&&f===l-e?[4,E(a.paginationToken)]:[3,2];case 1:t.sent(),u(),t.label=2;case 2:return[2]}}))}))},isFirstPage:f===e,isLastPage:f===l&&!a.hasNextPage,isEmpty:!v&&0===(null==S?void 0:S.length),insertToTheFront:d,updateItem:c,onBeforeDeleteItem:function(t){var n=h(t);!a.hasNextPage&&n&&f>=l&&f>0&&m(f-e);_(!0)},onAfterDeleteItem:function(){return s_e(this,void 0,void 0,(function(){return l_e(this,(function(t){switch(t.label){case 0:return a.hasNextPage?a.paginationToken!==2*e?[3,2]:[4,P()]:[3,4];case 1:return t.sent(),[3,4];case 2:return[4,E(+a.paginationToken-e)];case 3:t.sent(),u(),t.label=4;case 4:return _(!1),[2]}}))}))}};function P(){return s_e(this,void 0,void 0,(function(){var n,i;return l_e(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,3,4]),[4,t(2*e,null)];case 1:return n=r.sent(),o(n.items,n.paginationToken,n.hasNextPage),n.items.length<=e?(u(1),m(e)):(u(2),m(e)),[3,4];case 2:return i=r.sent(),ng.error(i),x(i),[3,4];case 3:return y(!1),[7];case 4:return[2]}}))}))}function E(n){return s_e(this,void 0,void 0,(function(){var i,r;return l_e(this,(function(a){switch(a.label){case 0:return a.trys.push([0,2,3,4]),_(!0),[4,t(e,n)];case 1:return i=a.sent(),s(n,i.items,i.paginationToken,i.hasNextPage),[3,4];case 2:return r=a.sent(),ng.error(r),x(k),[3,4];case 3:return _(!1),[7];case 4:return[2]}}))}))}}exe({target:"Array",proto:!0},{flatMap:function(e){var t,n=UMe(this),i=qMe(n.length);return BMe(e),(t=GMe(n,0)).length=NMe(t,n,n,i,0,1,e,arguments.length>1?arguments[1]:void 0),t}}),DSe("flatMap");var XMe,VMe,YMe,ZMe,HMe,KMe,JMe,eNe=function(e){var n=e.onNextClick,r=e.onPrevClick,a=e.hidePagination,o=e.disablePrevButton,s=e.disableNextButton,l=e.children,u=e.className,c=i.useContext(Bne).theme.palette,d=Wx().formatMessage;return a?t.jsx(t.Fragment,{children:l},void 0):t.jsxs(tNe,a_e({className:u},{children:[t.jsx(iNe,{disabled:o,onClick:r,iconProps:{iconName:"ChevronUpSmall"},color:c.accent,ariaLabel:d({id:"Lib.paging.previous"})},void 0),t.jsx(aNe,{children:l},void 0),t.jsx(rNe,{disabled:s,onClick:n,iconProps:{iconName:"ChevronDownSmall"},color:c.accent,ariaLabel:d({id:"Lib.paging.next"})},void 0)]}),void 0)},tNe=y.default.div.withConfig({displayName:"VerticalPager__Host",componentId:"sc-76hdpk-0"})(XMe||(XMe=c_e(["\n display: flex;\n flex-direction: column;\n width: 100%;\n"],["\n display: flex;\n flex-direction: column;\n width: 100%;\n"]))),nNe=y.default(mEe).withConfig({displayName:"VerticalPager__StyledIconButton",componentId:"sc-76hdpk-1"})(VMe||(VMe=c_e(["\n width: 100%;\n height: 20px;\n position: relative;\n\n &&[disabled] {\n background-color: transparent;\n }\n\n &&:not([disabled]):hover {\n color: ",";\n }\n\n &:hover {\n &::before {\n content: '';\n position: absolute;\n left: 0;\n top: 0;\n display: block;\n width: 100%;\n height: 100%;\n opacity: 0.2;\n }\n }\n"],["\n width: 100%;\n height: 20px;\n position: relative;\n\n &&[disabled] {\n background-color: transparent;\n }\n\n &&:not([disabled]):hover {\n color: ",";\n }\n\n &:hover {\n &::before {\n content: '';\n position: absolute;\n left: 0;\n top: 0;\n display: block;\n width: 100%;\n height: 100%;\n opacity: 0.2;\n }\n }\n"])),jne),iNe=y.default(nNe).withConfig({displayName:"VerticalPager__TopButton",componentId:"sc-76hdpk-2"})(YMe||(YMe=c_e(["\n &:hover::before {\n background-image: linear-gradient("," 0%, white);\n }\n"],["\n &:hover::before {\n background-image: linear-gradient("," 0%, white);\n }\n"])),(function(e){return e.color})),rNe=y.default(nNe).withConfig({displayName:"VerticalPager__BottomButton",componentId:"sc-76hdpk-3"})(ZMe||(ZMe=c_e(["\n &:hover::before {\n background-image: linear-gradient(white, "," 100%);\n }\n"],["\n &:hover::before {\n background-image: linear-gradient(white, "," 100%);\n }\n"])),(function(e){return e.color})),aNe=y.default.div.withConfig({displayName:"VerticalPager__Inner",componentId:"sc-76hdpk-4"})(HMe||(HMe=c_e(["\n margin: ","px ","px;\n"],["\n margin: ","px ","px;\n"])),q8,15),oNe=i.createContext(null);y.default.div.withConfig({displayName:"PullToRefresh__Host",componentId:"sc-1wloq17-0"})(KMe||(KMe=c_e(["\n width: 100%;\n"],["\n width: 100%;\n"]))),y.default.div.withConfig({displayName:"PullToRefresh__Inner",componentId:"sc-1wloq17-1"})(JMe||(JMe=c_e(["\n display: contents;\n"],["\n display: contents;\n"])));var sNe,lNe,uNe,cNe,dNe,hNe,pNe,fNe,mNe,gNe=a.css(sNe||(sNe=c_e(["\n .ms-Dropdown,\n .ms-Dropdown-title {\n border: none;\n &:focus::after {\n border: none;\n }\n }\n\n .ms-Dropdown-title,\n .ms-Dropdown-caretDownWrapper {\n line-height: 32px;\n }\n"],["\n .ms-Dropdown,\n .ms-Dropdown-title {\n border: none;\n &:focus::after {\n border: none;\n }\n }\n\n .ms-Dropdown-title,\n .ms-Dropdown-caretDownWrapper {\n line-height: 32px;\n }\n"]))),vNe=a.css(lNe||(lNe=c_e(["\n ","\n\n @media (min-width: ","px) {\n padding-right: ","px;\n }\n"],["\n ","\n\n @media (min-width: ","px) {\n padding-right: ","px;\n }\n"])),gNe,V8,q8),yNe=a.css(uNe||(uNe=c_e(["\n display: flex;\n align-items: center;\n min-height: 35px;\n width: 100%;\n\n span {\n color: ",";\n }\n\n i {\n width: 50px;\n font-size: 16px;\n color: ",";\n text-align: center;\n }\n"],["\n display: flex;\n align-items: center;\n min-height: 35px;\n width: 100%;\n\n span {\n color: ",";\n }\n\n i {\n width: 50px;\n font-size: 16px;\n color: ",";\n text-align: center;\n }\n"])),(function(e){return e.theme.textColors.default}),(function(e){return e.theme.textColors.default})),bNe=a.css(cNe||(cNe=c_e(["\n .content-toolbar-dropdown {\n min-width: 300px;\n .ms-Dropdown-item {\n padding: 0;\n border: 0;\n > span {\n width: 100%;\n }\n }\n\n @media (max-width: ","px) {\n max-width: 80% !important;\n }\n }\n"],["\n .content-toolbar-dropdown {\n min-width: 300px;\n .ms-Dropdown-item {\n padding: 0;\n border: 0;\n > span {\n width: 100%;\n }\n }\n\n @media (max-width: ","px) {\n max-width: 80% !important;\n }\n }\n"])),J8),ONe="AllChannels",_Ne=a.createGlobalStyle(dNe||(dNe=c_e(["\n ","\n"],["\n ","\n"])),bNe),wNe=y.default(XFe).withConfig({displayName:"ToolbarChannelSelector__StyledDropdown",componentId:"sc-fwvaya-0"})(hNe||(hNe=c_e(["\n ","\n display: flex;\n align-items: center;\n"],["\n ","\n display: flex;\n align-items: center;\n"])),vNe),kNe=y.default(r.NavLink).withConfig({displayName:"ToolbarChannelSelector__DropdownNavLink",componentId:"sc-fwvaya-1"})(pNe||(pNe=c_e(["\n ","\n"],["\n ","\n"])),yNe),xNe=y.default.span.withConfig({displayName:"ToolbarChannelSelector__OptionSpan",componentId:"sc-fwvaya-2"})(fNe||(fNe=c_e(["\n ",";\n"],["\n ",";\n"])),yNe),SNe=function(e){var n=e.handler,i=e.disabled;return S6().unreadTracking?t.jsx(o$e,{tooltipResourceKey:"Generic.UnreadItems.markAllAsRead",onClick:n,iconName:"Read",disabled:i,ariaLabelResourceKey:"Generic.UnreadItems.markAllAsRead","data-clear-unread-items":!0},void 0):null},PNe=function(e){var n=e.onClick,i=e.to,r=e.disabled;return t.jsx(o$e,{tooltipResourceKey:"Generic.showManageView",disabled:r,iconName:"edit",to:null==i?void 0:i.url,target:null==i?void 0:i.target,onClick:n,"data-toolbar-manage-button":!0,ariaLabelResourceKey:"AriaLabel.goToManageView"},void 0)};e.EventView=void 0,(mNe=e.EventView||(e.EventView={})).UpcomingEvents="upcoming",mNe.MyBookedEvents="booked",mNe.PastEvents="past";var ENe,FNe,CNe,TNe,DNe=a.createGlobalStyle(ENe||(ENe=c_e(["\n ","\n"],["\n ","\n"])),bNe),ANe=y.default(XFe).withConfig({displayName:"ToolbarEventViewSelector__StyledDropdown",componentId:"sc-ft0a2d-0"})(FNe||(FNe=c_e(["\n ","\n display: flex;\n align-items: center;\n"],["\n ","\n display: flex;\n align-items: center;\n"])),vNe),INe=y.default.span.withConfig({displayName:"ToolbarEventViewSelector__OptionSpan",componentId:"sc-ft0a2d-1"})(CNe||(CNe=c_e(["\n ",";\n"],["\n ",";\n"])),yNe);function LNe(){var e=rq(),t=e.createApiUrl,n=e.fetchFromApi,r=i.useContext(Nw).onRequestToken;return i.useMemo((function(){return{uploadImage:function(e,t,i,a,o){return s_e(this,void 0,void 0,(function(){var s,l;return l_e(this,(function(u){switch(u.label){case 0:return(s=new FormData).append("image",o,o.name||"image."+cG.getExtension(o.type)),[4,r()];case 1:return l=u.sent(),[2,n(e+"/attachments/"+a+"/images/"+i,{method:"POST",body:s,headers:{authorization:"Bearer "+l,"subscription-id":t}})]}}))}))},uploadFile:function(e,t,i,a,o){return s_e(this,void 0,void 0,(function(){var s,l;return l_e(this,(function(u){switch(u.label){case 0:return(s=new FormData).append("file",o),[4,r()];case 1:return l=u.sent(),[2,n(e+"/attachments/"+a+"/files/"+i,{method:"POST",body:s,headers:{authorization:"Bearer "+l,"subscription-id":t}})]}}))}))},getFileUrl:function(e,n,i,r,a){if(null!=a||(a=i.fileAccessToken),!a)return null;return t(e+"/attachments/"+i.attachmentContainerId+"/files/"+r,{subscriptionId:n,access_token:a})},getImageUrl:function(t,n,i,r,a,o){return e(t,n,i.fileAccessToken,i.attachmentContainerId,r,a,o)},getChatMessageImageUrl:function(t,n,i,r,a,o){return e(t,n,i.fileAccessToken,i.attachmentContainerId,r,a,o)}};function e(e,n,i,r,a,o,s){return t(null==o?e+"/attachments/"+r+"/images/"+a:"default"===o?e+"/attachments/"+r+"/images/"+a+"/default":e+"/attachments/"+r+"/images/"+a+"/"+o+"/"+(s||""),{subscriptionId:n,access_token:i})}}),[r,n,t])}function zNe(){var e=aq();return i.useMemo((function(){var t=null;return{getAllLanguages:n,getAllLanguagesLocalized:function(e){return s_e(this,void 0,void 0,(function(){var t;return l_e(this,(function(i){switch(i.label){case 0:return[4,n()];case 1:return t=i.sent(),[2,Q5.apply(void 0,u_e([e],t))]}}))}))},resolveActiveLanguages:function(e){return s_e(this,void 0,void 0,(function(){return l_e(this,(function(t){switch(t.label){case 0:return[4,n()];case 1:return[2,t.sent().filter((function(t){return e.languages.find((function(e){return e.code===t.code}))}))]}}))}))},resolveUserLanguage:function(e){return s_e(this,void 0,void 0,(function(){var t;return l_e(this,(function(i){switch(i.label){case 0:return t=e.subscription.languages,[4,n()];case 1:return[2,i.sent().filter((function(e){return t.find((function(t){return t.code===e.code}))}))]}}))}))}};function n(){return t||(t=e.all("languages").getAll().then((function(e){return e.body().map((function(e){return e.data()}))})))}}),[e])}function $Ne(){var e=rq().createApiUrl;return i.useMemo((function(){return{getVideoThumbnailUrl:function(t,n,i,r){return e("/videos/"+r+"/thumbnail",{access_token:t,subscriptionId:n,videoSource:i})},getBannerVideoThumbnailUrl:function(t,n,i,r){return e("/"+r+"/"+n+"/videos/banner/thumbnail",{access_token:t,subscriptionId:i})}}}),[e])}a.createGlobalStyle(TNe||(TNe=c_e(["\n *:not(input):not(textarea) {\n -webkit-user-select: none; /* disable selection/Copy of UIWebView */\n -webkit-touch-callout: none; /* disable the IOS popup when long-press on a link */\n }\n"],["\n *:not(input):not(textarea) {\n -webkit-user-select: none; /* disable selection/Copy of UIWebView */\n -webkit-touch-callout: none; /* disable the IOS popup when long-press on a link */\n }\n"])));var RNe,QNe,jNe,MNe,NNe,UNe,qNe,BNe,GNe,WNe,XNe,VNe,YNe,ZNe=function(){function e(){this.type=e.type}return e.create=function(t){var n=new e;return n.upn=t,n},e.type="user_avatar_update",e}(),HNe=function(e){var n=S6(),r=i.useState(null),a=r[0],o=r[1],s=m5().getUserAvatarUrl;if(kie(ZNe.type,(function(t){return t.upn===e.upn&&u(e.upn,e.tenantId),!1}),[e.upn]),i.useEffect((function(){var t=u(e.upn,e.tenantId);return function(){return null==t?void 0:t.unsubscribe()}}),[e.upn]),!n.avatars)return null;var l=Pw(e.text||e.displayName||e.upn);return t.jsx(KNe,a_e({},e,{"data-avatar":!0,text:e.text,imageUrl:a,imageShouldFadeIn:!1,imageInitials:l,initialsColor:Ew(l),secondaryText:!e.forceShowSecondaryText&&Z6(e.secondaryText)?null:e.secondaryText}),void 0);function u(e,t){return null==e?(o(null),null):s(e,t).subscribe((function(e){o(e)}),(function(e){return console.log(e)}))}},KNe=y.default(o.Persona).withConfig({displayName:"Avatar__StyledPersona",componentId:"sc-1r8d14y-0"})(RNe||(RNe=c_e(["\n && {\n .ms-Persona-image {\n img {\n max-width: 100%;\n width: auto;\n height: auto;\n }\n }\n }\n"],["\n && {\n .ms-Persona-image {\n img {\n max-width: 100%;\n width: auto;\n height: auto;\n }\n }\n }\n"]))),JNe=function(e){var n=e.className,i=e.iconName,r=e.tooltipResourceKey,a=e.tooltipText,o=e.children;return o?t.jsxs(tUe,a_e({className:n},{children:[i&&t.jsx(sEe,a_e({resourceKey:r,text:a},{children:t.jsx(eUe,{iconName:i},"icon")}),void 0),o]}),void 0):null},eUe=y.default(o.Icon).withConfig({displayName:"UserPropertyWrapper__StyledIcon",componentId:"sc-yfrgje-0"})(QNe||(QNe=c_e(["\n && {\n cursor: default;\n display: flex;\n padding-right: 8px;\n padding-top: 1px;\n }\n"],["\n && {\n cursor: default;\n display: flex;\n padding-right: 8px;\n padding-top: 1px;\n }\n"]))),tUe=y.default.div.withConfig({displayName:"UserPropertyWrapper__PropertyContainer",componentId:"sc-yfrgje-1"})(jNe||(jNe=c_e(["\n display: flex;\n max-width: 100%;\n"],["\n display: flex;\n max-width: 100%;\n"]))),nUe=function(e){var n=e.email;return Z6(n)?null:t.jsx(JNe,a_e({iconName:"mail",tooltipResourceKey:"Generic.mail"},{children:t.jsx(cUe,a_e({href:"mailto:"+n},{children:n}),void 0)}),void 0)},iUe=function(e){var n=e.value,i=Wx().formatMessage;return null==n?null:t.jsx(JNe,a_e({iconName:"cellPhone",tooltipResourceKey:"Generic.mobilePhone"},{children:t.jsx(cUe,a_e({href:"tel:"+n},{children:i({id:"Generic.callMobile"},{number:n})}),void 0)}),void 0)},rUe=function(e){var n=e.value,i=Wx().formatMessage;return null==n?null:(n="string"==typeof n?[n]:n,t.jsx(t.Fragment,{children:n.map((function(e,n){return t.jsx(JNe,a_e({iconName:"phone",tooltipResourceKey:"Generic.businessPhone"},{children:t.jsx(cUe,a_e({href:"tel:"+e},{children:i({id:"Generic.callOffice"},{number:e})}),void 0)}),e+n)}))},void 0))},aUe=function(e){var n=e.value,i=e.tooltipResourceKey,r=S6();return null==n?null:t.jsx(JNe,a_e({iconName:"MapPin",tooltipResourceKey:i||"Generic.Location"},{children:r.userLocationLookup?t.jsx(cUe,a_e({target:"_blank",rel:"noopener noreferrer",href:xRe(n)},{children:n}),void 0):t.jsx(t.Fragment,{children:n},void 0)}),void 0)},oUe=function(e){var n=e.value;return null==n?null:t.jsx(JNe,a_e({iconName:"workforceManagement",tooltipResourceKey:"Generic.department"},{children:n}),void 0)},sUe=function(e){var n=e.value;return null==n?null:t.jsx(JNe,a_e({iconName:"contactCard",tooltipResourceKey:"Generic.jobTitle"},{children:n}),void 0)},lUe=function(e){var n=e.value,i=fte().buildPath,r=S6();if(!(null==n?void 0:n.userId)||!r.chat)return null;var a={id:n.userId,displayName:n.displayName,userPrincipalName:n.userPrincipalName};return t.jsx(JNe,a_e({iconName:"Chat",tooltipResourceKey:"Generic.sendChatMessage"},{children:t.jsx(dUe,a_e({to:i("chats/new")+"?"+Wm.stringify({userId:a.id,userDisplayName:a.displayName,userPrincipalName:a.userPrincipalName})},{children:t.jsx(hS,{id:"Generic.sendChatMessage"},void 0)}),void 0)}),void 0)},uUe=a.css(MNe||(MNe=c_e(["\n color: ",";\n &:hover {\n text-decoration: underline;\n }\n"],["\n color: ",";\n &:hover {\n text-decoration: underline;\n }\n"])),(function(e){return e.theme.palette.accent})),cUe=y.default.a.withConfig({displayName:"UserProperties__StyledAnchor",componentId:"sc-1aw5jcq-0"})(NNe||(NNe=c_e(["\n ","\n"],["\n ","\n"])),uUe),dUe=y.default(r.Link).withConfig({displayName:"UserProperties__StyledLink",componentId:"sc-1aw5jcq-1"})(UNe||(UNe=c_e(["\n ","\n"],["\n ","\n"])),uUe),hUe={mobilePhone:iUe,department:oUe,address:aUe},pUe=function(e){var n=e.className,r=e.value,a=e.definition,o=function(){var e=x6(),t=Wx().formatMessage,n={displayName:{},mobilePhone:{iconName:"cellPhone"},jobTitle:{iconName:"contactCard"},company:{iconName:"EMI"},address:{iconName:"MapPin"},notes:{iconName:"ContactInfo"}};return{getPropertyLabel:function(i){var r=dw(e.preferredUiLanguage),a=i.translations||{},o=Object.keys(n);return r&&a[r]||a[e.subscription.defaultLanguage]||i.label||o.some((function(e){return e===i.name}))&&t({id:"Generic."+i.name})||i.name},getPropertyIcon:function(e){var t,i;return null!==(i=null===(t=n[e.name])||void 0===t?void 0:t.iconName)&&void 0!==i?i:"UserOptional"}}}(),s=o.getPropertyLabel,l=o.getPropertyIcon;if(null==r)return null;var u=s(a),c=l(a),d=hUe[a.name];return d?i.createElement(d,{value:r}):t.jsx(JNe,a_e({iconName:c,tooltipText:u,className:n},{children:r}),void 0)},fUe=function(e){var n,i,r,a,o,s=e.user,l=e.ignoredProperties,u=void 0===l?[]:l;return t.jsxs(t.Fragment,{children:[!u.includes("department")&&t.jsx(oUe,{value:null===(n=s.properties)||void 0===n?void 0:n.department},void 0),!u.includes("jobTitle")&&t.jsx(sUe,{value:null===(i=s.properties)||void 0===i?void 0:i.jobTitle},void 0),!u.includes("mobilePhone")&&t.jsx(iUe,{value:null===(r=s.properties)||void 0===r?void 0:r.mobilePhone},void 0),!u.includes("businessPhones")&&t.jsx(rUe,{value:null===(a=s.properties)||void 0===a?void 0:a.businessPhones},void 0),!u.includes("chatMessage")&&t.jsx(lUe,{value:s},void 0),!u.includes("officeLocation")&&t.jsx(aUe,{value:null===(o=s.properties)||void 0===o?void 0:o.officeLocation},void 0)]},void 0)},mUe=function(e){var n=e.user,i=e.ignoredProperties,r=void 0===i?[]:i,a=x6();return t.jsxs(t.Fragment,{children:[!r.includes("chatMessage")&&t.jsx(lUe,{value:n},void 0),a.subscription.userPropertyDefinitions.filter((function(e){return!r.includes(e.name)})).map((function(e){var i;return t.jsx(pUe,{definition:e,value:null===(i=n.properties)||void 0===i?void 0:i[e.name]},e.name)}))]},void 0)},gUe=["displayName","department","jobTitle"],vUe=function(e){var n,i=e.upn,r=e.showAvatar,a=e.id,s=m5(),l=s.getUserInfo,u=s.getUserInfoById,c=zw((function(){return i?l(i):u(a)}),null,[i,a]),d=c[0],h=c[1];if(c[2])return t.jsx(yUe,{children:i?t.jsx(hS,{id:"Profile.CannotLoadInfo",values:{upn:i}},void 0):t.jsx(hS,{id:"Profile.CannotLoadInfoByUserId"},void 0)},void 0);if(h)return t.jsx(_Ue,{},void 0);var p=r?gUe:[];return t.jsxs(bUe,a_e({"data-user-details":!0},{children:[r&&t.jsx(HNe,{upn:d.userPrincipalName,size:o.PersonaSize.large,text:d.displayName||d.userPrincipalName,secondaryText:d.properties&&d.properties.department,tertiaryText:d.properties&&d.properties.jobTitle},void 0),t.jsxs(OUe,{children:[t.jsx(nUe,{email:null!==(n=d.mail)&&void 0!==n?n:d.userPrincipalName},void 0),d.isDirectoryUser?t.jsx(fUe,{user:d,ignoredProperties:p},void 0):t.jsx(mUe,{user:d,ignoredProperties:p},void 0)]},void 0)]}),void 0)},yUe=y.default.div.withConfig({displayName:"UserDetails__ErrorContainer",componentId:"sc-uqfudb-0"})(qNe||(qNe=c_e(["\n padding: 20px;\n"],["\n padding: 20px;\n"]))),bUe=y.default.div.withConfig({displayName:"UserDetails__Host",componentId:"sc-uqfudb-1"})(BNe||(BNe=c_e(["\n font-size: ","px;\n .ms-Persona {\n margin-bottom: 8px;\n }\n\n .persona-card-children {\n cursor: pointer;\n }\n"],["\n font-size: ","px;\n .ms-Persona {\n margin-bottom: 8px;\n }\n\n .persona-card-children {\n cursor: pointer;\n }\n"])),a7),OUe=y.default.div.withConfig({displayName:"UserDetails__ContactCard",componentId:"sc-uqfudb-2"})(GNe||(GNe=c_e(["\n display: flex;\n flex: 1 1 auto;\n flex-flow: column;\n > div {\n &:not(:last-child) {\n padding-bottom: ","px;\n }\n }\n"],["\n display: flex;\n flex: 1 1 auto;\n flex-flow: column;\n > div {\n &:not(:last-child) {\n padding-bottom: ","px;\n }\n }\n"])),U8),_Ue=y.default(vCe).withConfig({displayName:"UserDetails__StyledSpinner",componentId:"sc-uqfudb-3"})(WNe||(WNe=c_e(["\n padding: 20px 80px;\n"],["\n padding: 20px 80px;\n"]))),wUe=function(e){var n=e.upn,r=e.className,a=e.children,s=e.readOnly,l=e.domIdentifier,u=i.useRef(null),c=x6(),d=i.useState(!1),h=d[0],p=d[1];return s?t.jsx(xUe,a_e({className:r},{children:a}),void 0):t.jsxs(t.Fragment,{children:[t.jsx(xUe,a_e({ref:u,className:r},{children:t.jsx(SUe,a_e({"data-persona-button":l,"data-rounded-outline":"avatar"===l&&50,className:"persona-card-children",onClick:function(e){e.preventDefault(),p(!h)},ariaLabel:n},{children:a}),"children")}),void 0),h&&!c.isPublicUser&&t.jsx(_Fe,a_e({className:"persona-card-callout",directionalHint:o.DirectionalHint.bottomCenter,isBeakVisible:!0,onDismiss:function(){return p(!1)},target:u.current},{children:t.jsx(kUe,{children:t.jsx(vUe,{upn:n,showAvatar:!0},void 0)},void 0)}),"callout")]},void 0)},kUe=y.default.div.withConfig({displayName:"PersonaCard__CalloutHost",componentId:"sc-g7cgoc-0"})(XNe||(XNe=c_e(["\n padding: ","px ","px;\n max-width: 300px;\n\n @media (min-width: ","px) {\n max-width: 450px;\n }\n"],["\n padding: ","px ","px;\n max-width: 300px;\n\n @media (min-width: ","px) {\n max-width: 450px;\n }\n"])),15,q8,V8),xUe=y.default.div.withConfig({displayName:"PersonaCard__Label",componentId:"sc-g7cgoc-1"})(VNe||(VNe=c_e(["\n display: inline-flex;\n align-items: flex-start;\n font-weight: inherit;\n"],["\n display: inline-flex;\n align-items: flex-start;\n font-weight: inherit;\n"]))),SUe=y.default(o.ActionButton).withConfig({displayName:"PersonaCard__StyledButton",componentId:"sc-g7cgoc-2"})(YNe||(YNe=c_e(["\n && {\n margin: 0;\n padding: 0;\n border: 0;\n min-width: auto;\n height: auto;\n background-color: transparent;\n color: inherit;\n font-weight: inherit;\n\n &:hover {\n background-color: transparent;\n color: inherit;\n }\n\n .ms-Button-label {\n margin: 0;\n font-weight: inherit;\n }\n }\n"],["\n && {\n margin: 0;\n padding: 0;\n border: 0;\n min-width: auto;\n height: auto;\n background-color: transparent;\n color: inherit;\n font-weight: inherit;\n\n &:hover {\n background-color: transparent;\n color: inherit;\n }\n\n .ms-Button-label {\n margin: 0;\n font-weight: inherit;\n }\n }\n"])));function PUe(){return PUe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},PUe.apply(this,arguments)}var EUe=function(e){return m.createElement("svg",PUe({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 163"},e),m.createElement("path",{style:{fill:"none"},d:"M0 23.877h400v100H0z"}),m.createElement("path",{d:"M134.231 141.48h149.1c6.913 0 12.602-5.689 12.602-12.602 0-6.914-5.689-12.603-12.602-12.603-6.914 0-10.779-5.642-10.779-12.6 0-6.958 7.1-12.6 15.856-12.6h18.279c6.913 0 12.602-5.689 12.602-12.602 0-6.914-5.689-12.603-12.602-12.603h-39.522c6.913 0 12.602-5.689 12.602-12.602 0-6.914-5.689-12.603-12.602-12.603h71.856c6.913 0 12.602-5.689 12.602-12.602 0-6.914-5.689-12.603-12.602-12.603H162.974c-6.914 0-12.603 5.689-12.603 12.603 0 6.913 5.689 12.602 12.603 12.602H91.118c-6.914 0-12.603 5.689-12.603 12.603 0 6.913 5.689 12.602 12.603 12.602h44.911c6.913 0 12.602 5.689 12.602 12.603 0 6.913-5.689 12.602-12.602 12.602H64.172c-6.914 0-12.603 5.689-12.603 12.603s5.689 12.603 12.603 12.603h70.059c-6.914 0-12.603 5.689-12.603 12.603 0 6.913 5.689 12.602 12.603 12.602v-.006Zm192.708-63.014c0 6.764 5.565 12.329 12.329 12.329 6.763 0 12.329-5.565 12.329-12.329 0-6.763-5.566-12.329-12.329-12.329h-.001c-6.763 0-12.328 5.565-12.328 12.328v.002-.001Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M237.898 60.069c0-4.967-4.033-9-9-9h-58.712c-4.967 0-9 4.033-9 9v45.014c0 4.967 4.033 9 9 9h58.712c4.967 0 9-4.033 9-9V60.069Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M90.299 68.815a32.862 32.862 0 0 1-23.217-18.138 1.364 1.364 0 0 1-.133-.589 1.377 1.377 0 0 1 1.64-1.343l14.747 2.964c3.116.644 6.364.001 9-1.781h.006a11.784 11.784 0 0 0 5.016-7.658l1.9-10.113c1.196-6.529-3.112-12.905-9.616-14.232l-14.751-2.964a1.37 1.37 0 0 1-.661-2.348 31.961 31.961 0 0 1 28.134-7.833c12.566 2.547 22.559 12.193 25.548 24.661a6.579 6.579 0 0 0 .938 1.004 7.774 7.774 0 0 0 3.616 1.753l26.592 5.344a819741.64 819741.64 0 0 0 119.067 23.943c6.256 1.287 10.396 7.424 9.247 13.707-1.019 5.418-5.796 9.38-11.309 9.38-.761 0-1.52-.076-2.266-.226l-55.525-11.174-28.93-5.826-64.138-12.884-.027-.006a1.668 1.668 0 0 0-.7-.007h-.022a1.621 1.621 0 0 0-.562.24 1.58 1.58 0 0 0-.444.441c-7.215 10.867-20.371 16.297-33.15 13.685Zm188.988 8.736a5.483 5.483 0 0 1-3.036.917c-3.008 0-5.485-2.476-5.485-5.485 0-3.009 2.477-5.485 5.485-5.485a5.49 5.49 0 0 1 4.567 2.446c1.666 2.507.975 5.94-1.531 7.607Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2,fillRule:"evenodd"}}),m.createElement("path",{d:"M237.898 30.672c0-3.863-3.137-7-7-7h-5.178c-3.863 0-7 3.137-7 7v28.466c0 3.864 3.137 7 7 7h5.178c3.863 0 7-3.136 7-7V30.672ZM218.72 21.083c0-3.863-3.137-7-7-7h-5.178c-3.863 0-7 3.137-7 7v28.466c0 3.864 3.137 7 7 7h5.178c3.863 0 7-3.136 7-7V21.083ZM199.542 16.973c0-3.863-3.137-7-7-7h-5.178c-3.863 0-7 3.137-7 7v28.466c0 3.864 3.137 7 7 7h5.178c3.863 0 7-3.136 7-7V16.973ZM180.364 19.713c0-3.863-3.137-7-7-7h-5.178c-3.863 0-7 3.137-7 7v28.466c0 3.864 3.137 7 7 7h5.178c3.863 0 7-3.136 7-7V19.713Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m162.903 110.39-17.592-16.8a10.428 10.428 0 0 1-3.933-8.151V65.39a8.809 8.809 0 0 1 4.147-7.536c2.597-1.617 25.763-10.645 25.915-10.739 4.419-2.471 5.974-2.074 8.321 2.135a9.067 9.067 0 0 1 1.219 4.608 8.791 8.791 0 0 1-4.359 7.66c-2.719 1.585-8.564 4.617-11.981 6.682-3.417 2.065-2.248 7.486 1.645 8.538 19.185 5.184 32.008 12.3 38.107 27.065M171.556 114.083h58.712c4.937 0 9 4.063 9 9v35.425h-76.712v-35.425c0-4.937 4.063-9 9-9Z",style:{fill:"#fff",fillRule:"evenodd",stroke:"currentColor",strokeWidth:2}}))};function FUe(){return FUe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},FUe.apply(this,arguments)}var CUe=function(e){return m.createElement("svg",FUe({width:400,height:120,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),m.createElement("path",{style:{fill:"none"},d:"M0 10.951h400v100H0z"}),m.createElement("path",{d:"M113.854 72h30.104c-6.623 0-12 5.377-12 12s5.377 12 12 12h-24.165c-6.623 0-12 5.377-12 12s5.377 12 12 12h74.873c6.623 0 12-5.377 12-12s-5.377-12-12-12h64.042c6.623 0 12-5.377 12-12s-5.377-12-12-12h1.125c-6.288 0-11.393-5.377-11.393-12s5.105-12 11.393-12h37.769c6.623 0 12-5.377 12-12s-5.377-12-12-12h-52.706c6.623 0 12-5.377 12-12s-5.377-12-12-12h-58.5c-6.623 0-12 5.377-12 12s5.377 12 12 12h-22.167c-6.622 0-12 5.377-12 12s5.378 12 12 12h-50.375c-6.288 0-11.394 5.377-11.394 12s5.106 12 11.394 12Zm186.998 12c0-6.623-5.377-12-12-12s-12 5.377-12 12 5.377 12 12 12 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"m211.775 81.467 1.122-6.522-5.059-5.013 4.488-7.838-65.735-11.306c-.466-21.056-14.403-38.978-33.804-42.314-22.3-3.836-44.233 12.903-48.531 37.887-4.297 24.985 10.784 48.09 33.084 51.925 19.401 3.337 38.525-8.899 45.999-28.589l68.436 11.77ZM110.464 21.98c15.292 2.63 24.847 18.963 21.901 36.095-2.947 17.133-17.41 29.335-32.702 26.705-15.292-2.63-24.847-18.963-21.901-36.096 2.947-17.133 17.41-29.335 32.702-26.704Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M146.128 59.052c.317-1.091.547-2.172.748-3.27.307-1.69.51-3.341.715-4.99l-2-.007c.191 1.627.397 3.255.486 4.946.058 1.101.066 2.192.001 3.313l.05.008ZM145.614 61.745a30.11 30.11 0 0 1-1.108 3.121c-.649 1.565-1.387 3.03-2.111 4.5l1.887.662c.359-1.623.719-3.247.994-4.943a32.34 32.34 0 0 0 .387-3.332l-.049-.008Z",style:{fill:"currentColor"}}),m.createElement("path",{d:"m331.063 28.601-42.249 11.755 8.449 30.367 10.563-2.939-4.225-15.183 10.562-2.939 1.286 4.621 10.562-2.939 2.249 8.081 10.562-2.939-7.759-27.885Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m213.696 41.343.517 6.969 6.031 4.296 1.236 6.484 116.184-32.328c5.101-1.42 8.09-6.713 6.671-11.814-1.42-5.101-6.713-8.09-11.814-6.67L213.696 41.343Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}))};function TUe(){return TUe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},TUe.apply(this,arguments)}var DUe,AUe,IUe,LUe,zUe,$Ue,RUe=function(e){return m.createElement("svg",TUe({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 179"},e),m.createElement("path",{style:{fill:"none"},d:"M0 35.295h400v100H0z"}),m.createElement("path",{d:"M114.881 160.609h149.1c6.914 0 12.603-5.689 12.603-12.602 0-6.914-5.689-12.603-12.603-12.603-6.913 0-10.779-5.642-10.779-12.6 0-6.958 7.1-12.6 15.856-12.6h18.279c6.914 0 12.603-5.689 12.603-12.602 0-6.914-5.689-12.603-12.603-12.603h-39.521c6.914 0 12.603-5.689 12.603-12.602 0-6.914-5.689-12.603-12.603-12.603h71.856c6.914 0 12.603-5.689 12.603-12.602 0-6.914-5.689-12.603-12.603-12.603H143.624c-6.913 0-12.602 5.689-12.602 12.603 0 6.913 5.689 12.602 12.602 12.602H71.768c-6.913 0-12.602 5.689-12.602 12.603 0 6.913 5.689 12.602 12.602 12.602h44.911c6.914 0 12.603 5.689 12.603 12.603 0 6.913-5.689 12.602-12.603 12.602H44.822c-6.913 0-12.602 5.69-12.602 12.603 0 6.914 5.689 12.603 12.602 12.603h70.059c-6.913 0-12.602 5.689-12.602 12.603 0 6.913 5.689 12.602 12.602 12.602v-.006Zm192.708-63.014c0 6.764 5.566 12.329 12.329 12.329 6.764 0 12.329-5.565 12.329-12.329 0-6.763-5.565-12.329-12.329-12.329h-.001c-6.762 0-12.328 5.565-12.328 12.328v.002-.001Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M292.483 63.514a2.002 2.002 0 0 0-2.259-1.702L140.205 82.896a2.001 2.001 0 0 0-1.702 2.259l12.251 87.169a2.002 2.002 0 0 0 2.259 1.703l150.018-21.084a2.002 2.002 0 0 0 1.703-2.259l-12.251-87.17Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M247.683 137.397a31.742 31.742 0 0 0 6.393-19.103c0-17.41-14.326-31.737-31.736-31.737s-31.737 14.327-31.737 31.737a31.758 31.758 0 0 0 12.643 25.35c13.903 10.472 33.959 7.652 44.437-6.247ZM236.661 99.29c9.222 6.97 12.111 19.693 6.803 29.962l-37.479-28.242c8.408-7.932 21.435-8.661 30.676-1.716v-.004Zm-35.443 8.055 37.471 28.244a23.806 23.806 0 0 1-16.354 6.51c-13.054 0-23.796-10.742-23.796-23.797a23.8 23.8 0 0 1 2.671-10.954l.008-.003Z",style:{fill:"currentColor"}}),m.createElement("path",{d:"M207.614 8.507a1.585 1.585 0 0 0-2.694.379l-28.129 66.441a1.586 1.586 0 0 0-.126.619 1.595 1.595 0 0 0 1.808 1.571l73.48-10.327a1.587 1.587 0 0 0 1.012-2.569L207.614 8.507Z",style:{fill:"none",fillRule:"nonzero",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M205.054.078a7.937 7.937 0 0 1 8.96 6.752 7.938 7.938 0 0 1-6.752 8.96 7.936 7.936 0 0 1-8.959-6.752 7.936 7.936 0 0 1 6.751-8.96Z",style:{fill:"currentColor"}}))},QUe=function(e){var n=e.info,i="number"==typeof n;return t.jsx(jUe,a_e({isNumber:i,"data-badge-info":n},{children:t.jsx(MUe,a_e({isNumber:i},{children:"number"==typeof n&&n}),void 0)}),void 0)},jUe=y.default.div.withConfig({displayName:"MenuItemBadge__Host",componentId:"sc-1x1dhyf-0"})(IUe||(IUe=c_e(["\n display: flex;\n justify-content: center;\n ","\n"],["\n display: flex;\n justify-content: center;\n ","\n"])),(function(e){return e.isNumber?a.css(DUe||(DUe=c_e(["\n min-width: 22px; /* badge min-width */\n "],["\n min-width: 22px; /* badge min-width */\n "]))):a.css(AUe||(AUe=c_e(["\n width: 22px;\n "],["\n width: 22px;\n "])))})),MUe=y.default.div.withConfig({displayName:"MenuItemBadge__Badge",componentId:"sc-1x1dhyf-1"})(zUe||(zUe=c_e(["\n background-color: ",";\n border-color: ",";\n color: ",";\n ","\n\n display: flex;\n justify-content: center;\n align-items: center;\n font-weight: normal;\n align-self: center;\n"],["\n background-color: ",";\n border-color: ",";\n color: ",";\n ","\n\n display: flex;\n justify-content: center;\n align-items: center;\n font-weight: normal;\n align-self: center;\n"])),(function(e){return e.theme.palette.themeSecondary}),(function(e){return e.theme.palette.themeSecondary}),(function(e){return e.theme.textColors.onSecondary}),(function(e){var t=e.isNumber?22:14;return a.css(LUe||(LUe=c_e(["\n border-radius: ","px;\n min-width: ","px;\n height: ","px;\n padding: ","px;\n box-sizing: border-box;\n font-size: ","px;\n "],["\n border-radius: ","px;\n min-width: ","px;\n height: ","px;\n padding: ","px;\n box-sizing: border-box;\n font-size: ","px;\n "])),t,t,t,6,o7)}));function NUe(){return NUe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},NUe.apply(this,arguments)}var UUe,qUe=function(e){return m.createElement("svg",NUe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048"},e),$Ue||($Ue=m.createElement("path",{d:"M1536 704q0-26 19-45t45-19q26 0 45 19t19 45q0 26-19 45t-45 19q-26 0-45-19t-19-45zM0 256h2048v1024h-128V384H128v677l448-447 640 640 256-256 283 282h-182l-101-102-101 102h-310L576 794l-448 449v421h512v128H0V256zm768 1792v-640h1280v640H768zm128-512v384h1024v-384H896zm256 256v-128h512v128h-512z",fill:"#fff"})))};function BUe(n){return t.jsx(HUe,a_e({"data-page-alert":!0},{children:t.jsxs(KUe,{children:[n.errorType&&t.jsx(JUe,a_e({onClick:n.onClick},{children:n.errorType===e.ErrorType.LoginError?t.jsx(CUe,{},void 0):n.errorType===e.ErrorType.GenericError?t.jsx(EUe,{},void 0):n.errorType===e.ErrorType.Error403?t.jsx(RUe,{},void 0):t.jsx(rze,{},void 0)}),void 0),t.jsx(eqe,{children:n.alertText},void 0),t.jsx(tqe,{children:n.children},void 0)]},void 0)}),void 0)}e.ErrorType=void 0,(UUe=e.ErrorType||(e.ErrorType={})).GenericError="genericError",UUe.Error404="error404",UUe.Error403="error403",UUe.LoginError="loginError";var GUe,WUe,XUe,VUe,YUe,ZUe,HUe=y.default.div.withConfig({displayName:"PageAlert__Host",componentId:"sc-gj7gx6-0"})(GUe||(GUe=c_e(["\n display: flex;\n flex-flow: column nowrap;\n align-items: stretch;\n flex: 1 0 100%;\n height: 100%;\n background-color: ",";\n"],["\n display: flex;\n flex-flow: column nowrap;\n align-items: stretch;\n flex: 1 0 100%;\n height: 100%;\n background-color: ",";\n"])),(function(e){return e.theme.palette.white})),KUe=y.default.div.withConfig({displayName:"PageAlert__Content",componentId:"sc-gj7gx6-1"})(WUe||(WUe=c_e(["\n padding: 30px;\n text-align: center;\n"],["\n padding: 30px;\n text-align: center;\n"]))),JUe=y.default.div.withConfig({displayName:"PageAlert__SvgContainer",componentId:"sc-gj7gx6-2"})(XUe||(XUe=c_e(["\n display: flex;\n flex-direction: column;\n align-items: center;\n margin: 1rem auto;\n width: 100%;\n\n > svg {\n height: auto;\n max-width: 400px;\n color: ",";\n }\n\n @media (max-width: ","px) {\n > svg {\n transform: scale(0.8);\n }\n }\n"],["\n display: flex;\n flex-direction: column;\n align-items: center;\n margin: 1rem auto;\n width: 100%;\n\n > svg {\n height: auto;\n max-width: 400px;\n color: ",";\n }\n\n @media (max-width: ","px) {\n > svg {\n transform: scale(0.8);\n }\n }\n"])),(function(e){return e.theme.palette.accent}),J8),eqe=y.default.p.withConfig({displayName:"PageAlert__Text",componentId:"sc-gj7gx6-3"})(VUe||(VUe=c_e(["\n width: 200px;\n min-width: 100%;\n font-size: ","px;\n font-weight: 500;\n color: ",";\n opacity: 80%;\n"],["\n width: 200px;\n min-width: 100%;\n font-size: ","px;\n font-weight: 500;\n color: ",";\n opacity: 80%;\n"])),32,(function(e){return e.theme.palette.accent})),tqe=y.default.div.withConfig({displayName:"PageAlert__AdditionalContent",componentId:"sc-gj7gx6-4"})(YUe||(YUe=c_e(["\n margin: auto;\n max-width: 400px;\n"],["\n margin: auto;\n max-width: 400px;\n"]))),nqe=y.default.div.withConfig({displayName:"PageAlert__CenteredAlert",componentId:"sc-gj7gx6-5"})(ZUe||(ZUe=c_e(["\n display: flex;\n justify-content: space-around;\n"],["\n display: flex;\n justify-content: space-around;\n"]))),iqe={exports:{}},rqe=Object.getOwnPropertySymbols,aqe=Object.prototype.hasOwnProperty,oqe=Object.prototype.propertyIsEnumerable;function sqe(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var lqe=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;var i=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==i.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,t){for(var n,i,r=sqe(e),a=1;a<arguments.length;a++){for(var o in n=Object(arguments[a]))aqe.call(n,o)&&(r[o]=n[o]);if(rqe){i=rqe(n);for(var s=0;s<i.length;s++)oqe.call(n,i[s])&&(r[i[s]]=n[i[s]])}}return r},uqe="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",cqe=Function.call.bind(Object.prototype.hasOwnProperty),dqe=function(){};if("production"!==process.env.NODE_ENV){var hqe=uqe,pqe={},fqe=cqe;dqe=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function mqe(e,t,n,i,r){if("production"!==process.env.NODE_ENV)for(var a in e)if(fqe(e,a)){var o;try{if("function"!=typeof e[a]){var s=Error((i||"React class")+": "+n+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}o=e[a](t,a,i,n,null,hqe)}catch(e){o=e}if(!o||o instanceof Error||dqe((i||"React class")+": type specification of "+n+" `"+a+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof o+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),o instanceof Error&&!(o.message in pqe)){pqe[o.message]=!0;var l=r?r():"";dqe("Failed "+n+" type: "+o.message+(null!=l?l:""))}}}mqe.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(pqe={})};var gqe=mqe,vqe=_.default,yqe=lqe,bqe=uqe,Oqe=cqe,_qe=gqe,wqe=function(){};function kqe(){return null}"production"!==process.env.NODE_ENV&&(wqe=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}});function xqe(){}function Sqe(){}Sqe.resetWarningCache=xqe;if("production"!==process.env.NODE_ENV){var Pqe=_.default;iqe.exports=function(e,t){var n="function"==typeof Symbol&&Symbol.iterator,i="<<anonymous>>",r={array:l("array"),bigint:l("bigint"),bool:l("boolean"),func:l("function"),number:l("number"),object:l("object"),string:l("string"),symbol:l("symbol"),any:s(kqe),arrayOf:function(e){return s((function(t,n,i,r,a){if("function"!=typeof e)return new o("Property `"+a+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s))return new o("Invalid "+r+" `"+a+"` of type `"+d(s)+"` supplied to `"+i+"`, expected an array.");for(var l=0;l<s.length;l++){var u=e(s,l,i,r,a+"["+l+"]",bqe);if(u instanceof Error)return u}return null}))},element:s((function(t,n,i,r,a){var s=t[n];return e(s)?null:new o("Invalid "+r+" `"+a+"` of type `"+d(s)+"` supplied to `"+i+"`, expected a single ReactElement.")})),elementType:s((function(e,t,n,i,r){var a=e[t];return vqe.isValidElementType(a)?null:new o("Invalid "+i+" `"+r+"` of type `"+d(a)+"` supplied to `"+n+"`, expected a single ReactElement type.")})),instanceOf:function(e){return s((function(t,n,r,a,s){if(!(t[n]instanceof e)){var l=e.name||i;return new o("Invalid "+a+" `"+s+"` of type `"+((u=t[n]).constructor&&u.constructor.name?u.constructor.name:i)+"` supplied to `"+r+"`, expected instance of `"+l+"`.")}var u;return null}))},node:s((function(e,t,n,i,r){return c(e[t])?null:new o("Invalid "+i+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return s((function(t,n,i,r,a){if("function"!=typeof e)return new o("Property `"+a+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var s=t[n],l=d(s);if("object"!==l)return new o("Invalid "+r+" `"+a+"` of type `"+l+"` supplied to `"+i+"`, expected an object.");for(var u in s)if(Oqe(s,u)){var c=e(s,u,i,r,a+"."+u,bqe);if(c instanceof Error)return c}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&wqe(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),kqe;function t(t,n,i,r,s){for(var l=t[n],u=0;u<e.length;u++)if(a(l,e[u]))return null;var c=JSON.stringify(e,(function(e,t){return"symbol"===h(t)?String(t):t}));return new o("Invalid "+r+" `"+s+"` of value `"+String(l)+"` supplied to `"+i+"`, expected one of "+c+".")}return s(t)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&wqe("Invalid argument supplied to oneOfType, expected an instance of array."),kqe;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return wqe("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+p(n)+" at index "+t+"."),kqe}return s((function(t,n,i,r,a){for(var s=[],l=0;l<e.length;l++){var u=(0,e[l])(t,n,i,r,a,bqe);if(null==u)return null;u.data&&Oqe(u.data,"expectedType")&&s.push(u.data.expectedType)}return new o("Invalid "+r+" `"+a+"` supplied to `"+i+"`"+(s.length>0?", expected one of type ["+s.join(", ")+"]":"")+".")}))},shape:function(e){return s((function(t,n,i,r,a){var s=t[n],l=d(s);if("object"!==l)return new o("Invalid "+r+" `"+a+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");for(var c in e){var p=e[c];if("function"!=typeof p)return u(i,r,a,c,h(p));var f=p(s,c,i,r,a+"."+c,bqe);if(f)return f}return null}))},exact:function(e){return s((function(t,n,i,r,a){var s=t[n],l=d(s);if("object"!==l)return new o("Invalid "+r+" `"+a+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");var c=yqe({},t[n],e);for(var p in c){var f=e[p];if(Oqe(e,p)&&"function"!=typeof f)return u(i,r,a,p,h(f));if(!f)return new o("Invalid "+r+" `"+a+"` key `"+p+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var m=f(s,p,i,r,a+"."+p,bqe);if(m)return m}return null}))}};function a(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function o(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function s(e){if("production"!==process.env.NODE_ENV)var n={},r=0;function a(a,s,l,u,c,d,h){if(u=u||i,d=d||l,h!==bqe){if(t){var p=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw p.name="Invariant Violation",p}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var f=u+":"+l;!n[f]&&r<3&&(wqe("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+u+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),n[f]=!0,r++)}}return null==s[l]?a?null===s[l]?new o("The "+c+" `"+d+"` is marked as required in `"+u+"`, but its value is `null`."):new o("The "+c+" `"+d+"` is marked as required in `"+u+"`, but its value is `undefined`."):null:e(s,l,u,c,d)}var s=a.bind(null,!1);return s.isRequired=a.bind(null,!0),s}function l(e){return s((function(t,n,i,r,a,s){var l=t[n];return d(l)!==e?new o("Invalid "+r+" `"+a+"` of type `"+h(l)+"` supplied to `"+i+"`, expected `"+e+"`.",{expectedType:e}):null}))}function u(e,t,n,i,r){return new o((e||"React class")+": "+t+" type `"+n+"."+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+r+"`.")}function c(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(c);if(null===t||e(t))return!0;var i=function(e){var t=e&&(n&&e[n]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!i)return!1;var r,a=i.call(t);if(i!==t.entries){for(;!(r=a.next()).done;)if(!c(r.value))return!1}else for(;!(r=a.next()).done;){var o=r.value;if(o&&!c(o[1]))return!1}return!0;default:return!1}}function d(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function h(e){if(null==e)return""+e;var t=d(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function p(e){var t=h(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return o.prototype=Error.prototype,r.checkPropTypes=_qe,r.resetWarningCache=_qe.resetWarningCache,r.PropTypes=r,r}(Pqe.isElement,!0)}else iqe.exports=function(){function e(e,t,n,i,r,a){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==a){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Sqe,resetWarningCache:xqe};return n.PropTypes=n,n}();var Eqe=iqe.exports,Fqe=Object.freeze({__proto__:null,useCurrentUser:x6,useAccountApi:m5,useAuthenticationContext:Uw,useEnvironmentConfig:Am,useNotificationContext:eie,usePromise:zw,LinkContext:vS,TextLink:e$e,logger:ng,createId:rg,ResourceContext:SS,usePluginSettings:function(){var e=i.useContext(bte).settings;return null!=e?e:{}},usePluginStorage:kte,usePluginDeviceStore:kte,usePluginSubscriptionStore:function(){return i.useContext(bte).subscriptionStore},usePluginSubscriptionStoreValue:function(e,t){var n=this,r=i.useContext(bte).subscriptionStore,a=zw((function(){return r.get(e).catch(Ste)}),void 0,_K(_K([],t||[]),[e])),o=a[0],s=a[1],l=a[2],u=a[3],c=a[4];return{data:o,set:function(t){return bK(n,void 0,void 0,(function(){var n;return OK(this,(function(i){switch(i.label){case 0:return n=o?JSON.parse(JSON.stringify(o)):void 0,u(t),[4,r.set(e,t).catch((function(e){return u(n),Ste(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:s,error:l,refresh:c,remove:function(){return bK(n,void 0,void 0,(function(){var t;return OK(this,(function(n){switch(n.label){case 0:return t=o?JSON.parse(JSON.stringify(o)):void 0,u(void 0),[4,r.delete(e).catch((function(e){return u(t),Ste(e)}))];case 1:return[2,n.sent()]}}))}))}}},usePluginUserStore:function(){return i.useContext(bte).userStore},usePluginUserStoreValue:function(e,t){var n=this,r=i.useContext(bte).userStore,a=zw((function(){return r.get(e).catch(Ste)}),void 0,_K(_K([],t||[]),[e])),o=a[0],s=a[1],l=a[2],u=a[3],c=a[4];return{data:o,set:function(t){return bK(n,void 0,void 0,(function(){var n;return OK(this,(function(i){switch(i.label){case 0:return n=o?JSON.parse(JSON.stringify(o)):void 0,u(t),[4,r.set(e,t).catch((function(e){return u(n),Ste(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:s,error:l,refresh:c,remove:function(){return bK(n,void 0,void 0,(function(){var t;return OK(this,(function(n){switch(n.label){case 0:return t=o?JSON.parse(JSON.stringify(o)):void 0,u(void 0),[4,r.delete(e).catch((function(e){return u(t),Ste(e)}))];case 1:return[2,n.sent()]}}))}))}}},useReachApiEndPoints:function(){return{apiEndpoint:Dm().apiEndpoint}},AccountType:o6,PeoplePicker:EEe,GutterToggle:gEe,EditorSettingsDialog:fEe,Spinner:o.Spinner,SelectionMode:o.SelectionMode,EditorHighlight:uEe,useTheme:function(){return i.useContext(Bne).theme},useSubscriptionHandlePathBuilder:fte,useSubscriptionWebAppUrl:mte});var Cqe,Tqe=[{name:"@reach/core",packageDefinition:a_e({default:{}},Fqe)}],Dqe=[{name:"react",packageDefinition:a_e(a_e({},g.default),{default:g.default})},{name:"react-dom",packageDefinition:a_e(a_e({},O),{default:O})},{name:"react-is",packageDefinition:a_e(a_e({},_.default),{default:_.default})},{name:"prop-types",packageDefinition:a_e({default:Eqe},Eqe)},{name:"react-router-dom",packageDefinition:a_e({},v)},{name:"styled-components",packageDefinition:{default:y.default,createGlobalStyle:a.createGlobalStyle,css:a.css,useTheme:a.useTheme,isStyledComponent:a.isStyledComponent,keyframes:a.keyframes,withTheme:a.withTheme,ThemeProvider:a.ThemeProvider,ThemeContext:a.ThemeContext,ThemeConsumer:a.ThemeConsumer}},{name:"office-ui-fabric-react",packageDefinition:{default:{},Checkbox:o.Checkbox,Label:o.Label,PrimaryButton:o.PrimaryButton,Icon:o.Icon,Link:o.Link,TextField:o.TextField,ActionButton:o.ActionButton,IconButton:o.IconButton,DefaultButton:o.DefaultButton,Spinner:o.Spinner,Dropdown:o.Dropdown,ProgressIndicator:o.ProgressIndicator,Shimmer:o.Shimmer,ShimmerElementsGroup:o.ShimmerElementsGroup,ShimmerElementType:o.ShimmerElementType,DirectionalHint:o.DirectionalHint,PersonaSize:o.PersonaSize,TooltipHost:o.TooltipHost,DialogType:o.DialogType,Dialog:h_e}},{name:"react-intl",packageDefinition:{default:{},FormattedMessage:hS,useIntl:Wx,FormattedDate:pS,FormattedTime:fS,IntlProvider:tS}},{name:"@apollo/client",packageDefinition:{default:{},gql:WL,useQuery:function(e,t){return dz(e,t,!1)},ApolloClient:QL,ApolloProvider:nz,from:pA,ApolloLink:hA,fromPromise:oA,split:fA,HttpLink:wA,InMemoryCache:yL,useLazyQuery:function(e,t){return dz(e,t,!0)},useMutation:hz,ApolloError:OL,useApolloClient:iz,useSubscription:function(e,t){var n=i.useReducer((function(e){return e+1}),0),r=n[1],a=i.useContext(ez()),o=t?ka(ka({},t),{subscription:e}):{subscription:e},s=i.useState({loading:!o.skip,error:void 0,data:void 0}),l=s[0],u=s[1],c=i.useRef(),d=(c.current||(c.current=new sz({options:o,context:a,setResult:u})),c.current);return d.setOptions(o,!0),d.context=a,__DEV__&&cz(r),i.useEffect((function(){return d.afterExecute()})),i.useEffect((function(){return function(){d.cleanup(),c.current=void 0}}),[]),d.execute(l)}}},{name:"subscriptions-transport-ws",packageDefinition:{default:{},SubscriptionClient:m$}},{name:"@apollo/client/link/ws",packageDefinition:{default:{},WebSocketLink:C$}},{name:"@apollo/client/utilities",packageDefinition:{default:{},getMainDefinition:eD}},{name:"@apollo/client/link/context",packageDefinition:{default:{},setContext:pz}}],Aqe=function(e){var n=e.color,r=e.onColorChange,a=e.className,s=i.useState(n),l=s[0],u=s[1];return i.useEffect((function(){u(n)}),[n]),t.jsx(Iqe,a_e({className:a},{children:t.jsx(o.ColorPicker,{alphaType:"none",color:l,onChange:function(e,t){return function(e){u(e),null==r||r(e)}(t.str)}},void 0)}),void 0)},Iqe=y.default.div.withConfig({displayName:"ColorEditor__Host",componentId:"sc-add00t-0"})(Cqe||(Cqe=c_e(["\n .ms-ColorPicker-panel {\n padding: 0;\n }\n .ms-ColorPicker-table {\n table-layout: fixed;\n width: 100%;\n }\n\n @media (max-width: 900px) {\n margin-top: ","px;\n margin-left: 0;\n }\n"],["\n .ms-ColorPicker-panel {\n padding: 0;\n }\n .ms-ColorPicker-table {\n table-layout: fixed;\n width: 100%;\n }\n\n @media (max-width: 900px) {\n margin-top: ","px;\n margin-left: 0;\n }\n"])),q8),Lqe=function(e){var n=e.onRequestToken,r=e.children,a=e.subscriptionId,o=i.useState(null),s=o[0],l=o[1],u=i.useMemo((function(){return{onRequestToken:null!=n?n:function(){return Promise.resolve(s)},getIsAuthenticated:function(){return Sa(void 0,void 0,void 0,(function(){return Pa(this,(function(e){return[2,null!=n||null!=s]}))}))},getCurrentEmail:function(){return Sa(void 0,void 0,void 0,(function(){return Pa(this,(function(e){return[2,null]}))}))},setToken:l,onHandleError:function(e,t){return Sa(void 0,void 0,void 0,(function(){return Pa(this,(function(n){return ng.error(e,t),[2,Promise.reject(e)]}))}))}}}),[a,s]);return t.jsx(Nw.Provider,ka({value:u},{children:r}),void 0)},zqe="0.5.0-preview.393",$qe="120858",Rqe="77eb3bb5100a64442d51fbaa05cafdc0d5505532",Qqe=X,jqe=j,Mqe=Pn("match"),Nqe=function(e){var t;return Qqe(e)&&(void 0!==(t=e[Mqe])?!!t:"RegExp"==jqe(e))},Uqe=Pn("match"),qqe=function(e){if(Nqe(e))throw TypeError("The method doesn't accept regular expressions");return e},Bqe=q,Gqe=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[Uqe]=!1,"/./"[e](t)}catch(e){}}return!1};dn({target:"String",proto:!0,forced:!Gqe("includes")},{includes:function(e){return!!~String(Bqe(this)).indexOf(qqe(e),arguments.length>1?arguments[1]:void 0)}});var Wqe,Xqe,Vqe={configType:"local",authentication:{azuread:{clientId:"781a9147-6ddc-43fb-9cce-e01d7838ffe6",apiScope:"api://781a9147-6ddc-43fb-9cce-e01d7838ffe6/access_as_user",extraScopes:["https://graph.microsoft.com/User.Read","https://graph.microsoft.com/User.ReadBasic.All"],basePolicyUrl:"https://login.microsoftonline.com/",signInPolicy:"common"},b2c:{postLogoutRedirectUri:"https://livetilesglobal.com/products/livetiles-reach",clientId:"b13f12ba-c1c5-41da-8e22-1252b5fed0e4",basePolicyUrl:"https://condenseappexternaldev.b2clogin.com/condenseappexternaldev.onmicrosoft.com/",signInPolicy:"B2C_1_SignInSignUpPolicy",forgotPasswordPolicy:"B2C_1_ResetPasswordPolicy",apiScope:"https://condenseappexternaldev.onmicrosoft.com/web/access_as_user"},teams:{clientId:"c17acfe6-6106-47e6-b9ac-12c6a9e78db6",scopes:["email","openid","profile","offline_access"],extraScopes:["https://graph.microsoft.com/User.Read","https://graph.microsoft.com/User.ReadBasic.All"],basePolicyUrl:"https://login.microsoftonline.com/"}},apiEndpoint:"http://localhost:5000/api/v1",api2Endpoint:"http://localhost:5000/api/v2",api3Endpoint:"http://localhost:5000/api/v3",webSocketsEndpoint:"ws://localhost:5000/api/v2",productWebsite:"https://reach.livetilesglobal.com/",supportUrl:"https://support.livetilesglobal.com/hc/en-us/categories/360001273732-Reach",releaseNotesUrl:"https://support.livetilesglobal.com/hc/en-us/sections/900001715263-Reach",privacyUrl:"https://livetilesglobal.com/livetiles-privacy-policy",eulaUrl:"https://livetilesglobal.com/livetiles-privacy-policy",unsplash:{appName:"Condense",apiKey:"N/A",clientId:"8b17ad8ed176954881976b7e08a2a6305d01b9b708455c14bbd43780ff6b62ba"},canva:{apiKey:"6vvsr2srHeve85SXxMX1k1LD"},zendeskMessaging:{enable:!0,apiKey:"816bfec7-3beb-457a-a4a1-f462c9cb403f"},webAppUrl:"http://localhost:3000",hyperfish:{regionJumperUrl:"https://antrearegionjumper.azurewebsites.net/api/antrearegionjumper",regionJumperKey:"T1YDqmyQX/bXhFapRLdaPBenzRLMCCNafSVwzmwI7fYnkwj6wLL0Hg=="},maxFileSizeInMb:100,giphy:{apiKey:"idBrSgzpBdNCqLmXPRaoHz9DFGKK79wU"},oneSignal:{appId:"dd89af4f-325e-447e-a030-654043cfbc6a"},analytics:{hostName:"dev.analytics.livetiles.io",regions:{global:"euw"},dashboards:[{name:"news-engagement-overview",title:"News Engagement Overview",id:21,params:"/?standalone=2"}]}},Yqe={configType:"production",authentication:{azuread:{clientId:"d492530a-8cff-481c-90da-9c3c3f1be7da",apiScope:"api://d492530a-8cff-481c-90da-9c3c3f1be7da/access_as_user",extraScopes:["https://graph.microsoft.com/User.Read","https://graph.microsoft.com/User.ReadBasic.All"]},b2c:{clientId:"cc9987a7-c666-4be1-a81c-f80dba7ef2e9",basePolicyUrl:"https://condenseappexternal.b2clogin.com/condenseappexternal.onmicrosoft.com/",signInPolicy:"B2C_1_SignInSignUpPolicy",forgotPasswordPolicy:"B2C_1_ResetPasswordPolicy",apiScope:"https://condenseappexternal.onmicrosoft.com/web/access_as_user"},teams:{clientId:"a7c1920d-3ac0-42db-9757-078a2b321fd8"}},apiEndpoint:"https://api.reach.livetiles.io/api/v1",api2Endpoint:"https://api.reach.livetiles.io/api/v2",api3Endpoint:"https://api.reach.livetiles.io/api/v3",webSocketsEndpoint:"wss://ws.reach.livetiles.io/api/v2",webAppUrl:"https://reach.livetiles.io",additionalWebAppUrls:["https://app.reach.livetiles.io","https://app.condense.ch"],appInsightsKey:"c4758fee-1409-47a9-a508-03efd775256c",canva:{apiKey:"mYnapNU5aDqD-1xEMFZkpdzT"},giphy:{apiKey:"jqAFrpqGDwOFqeu8Rn6YfjRGkKhlxZyn"},oneSignal:{appId:"47a684a5-e9e0-4aaf-84b8-9f3e6585b292"},analytics:{hostName:"analytics.livetiles.io",dashboards:[]}},Zqe=["//localhost","//api:5000","//api.dev.reach.livetiles.io","//api.test.reach.livetiles.io","//api.staging.reach.livetiles.io","//api-dev.condense.ch","//api-test.condense.ch","//api-staging.condense.ch"],Hqe=function(e){var n=e.children,r=Dm().apiEndpoint,a=i.useMemo((function(){return function(e){return"number"!=typeof e.maxFileSizeInMb&&(e.maxFileSizeInMb=parseInt(e.maxFileSizeInMb)),e}(function(){var e=!Zqe.some((function(e){return r.toLowerCase().includes(e)}));if(!e)return ng.info("Will use non prod client config..."),ka({},Vqe);return ka(ka({},Vqe),Yqe)}())}),[r]);return t.jsx(Bm.Provider,ka({value:a},{children:n}),void 0)},Kqe=function(){function e(){this.storage={}}return e.prototype.remove=function(e){return delete this.storage[e],Promise.resolve()},e.prototype.clearAll=function(){return this.storage={},Promise.resolve()},e.prototype.getObject=function(e){var t;return Promise.resolve(null!==(t=this.storage[e])&&void 0!==t?t:null)},e.prototype.set=function(e,t){return this.storage[e]=t,Promise.resolve()},e.prototype.getString=function(e){return Sa(this,void 0,void 0,(function(){return Pa(this,(function(t){switch(t.label){case 0:return[4,this.getObject(e)];case 1:return[2,t.sent()]}}))}))},e.prototype.setString=function(e,t){return Sa(this,void 0,void 0,(function(){return Pa(this,(function(n){switch(n.label){case 0:return[4,this.set(e,t)];case 1:return n.sent(),[2]}}))}))},e.prototype.getAllKeys=function(){return Promise.resolve(Object.keys(this.storage))},e}(),Jqe=new Kqe,eBe=function(e){var n=e.subscriptionId,i=e.children;return e.shouldUsePublicAccess?t.jsx(tBe,ka({subscriptionId:n},{children:i}),void 0):t.jsx(t.Fragment,{children:i},void 0)},tBe=function(e){var n=e.subscriptionId,r=e.children,a=i.useContext(Nw).setToken,o=bS(),s=function(){var e=rq().fetchFromApi,t=aq();return i.useMemo((function(){return{getSubscriptionBySubscriptionIdentifier:function(t){return e("/subscriptions/"+t).then((function(e){return e.status<=200?e.json():Promise.reject(e.status)}))},getTermsAndConditions:function(){return t.custom("subscriptions/current/terms_and_conditions").get().then((function(e){return e.body().data()}))}}}),[e,t])}().getSubscriptionBySubscriptionIdentifier,l=rq().fetchFromApi,u=i.useContext(gS),c=u.handleFatalError,d=u.handleAccessDeniedError,h=zw((function(){return Sa(this,void 0,void 0,(function(){var e,t,i;return Pa(this,(function(r){switch(r.label){case 0:return e="Reach::PublicAccessToken::"+n,[4,o.getString(e)];case 1:return(t=r.sent())?(a(t),[2,!0]):[4,s(n)];case 2:return r.sent().allowPublicAccess?[4,v(n)]:[3,5];case 3:return i=r.sent(),a(i),[4,o.setString(e,i)];case 4:return r.sent(),[2,!0];case 5:return[2,!1]}}))}))}),!1,[n]),p=h[0],f=h[1],m=h[2];if(m)return ng.error(m),c({error:m}),null;if(f)return null;if(!p){var g={message:"Public access is not enabled for the subscription "+n+"!"};return ng.error(g.message),d({error:g}),null}return t.jsx(t.Fragment,{children:r},void 0);function v(e){return l("/subscriptions/"+e+"/public_access_token").then((function(e){return e.status<=200?e.text():Promise.reject(e.status)}))}},nBe=function(e){var n=e.children,r=i.useState(),a=r[0],o=r[1],s=i.useState(),l=s[0],u=s[1],c=i.useState(),d=c[0],h=c[1],p=i.useMemo((function(){return{handleFatalError:o,handleAccessDeniedError:u,handleNotFoundError:h}}),[o,u,h]);return t.jsx(gS.Provider,ka({value:p},{children:t.jsx(iBe,ka({fatalError:a,notFoundError:d,accessDeniedError:l},{children:n}),void 0)}),void 0)},iBe=function(e){var n=e.fatalError,i=e.accessDeniedError,r=e.notFoundError,a=e.children;return n?t.jsx(rBe,{messageId:n.messageId,error:n.error},void 0):i?t.jsx(rBe,{messageId:"AccessDenied.genericMessage",error:i.error},void 0):r?t.jsx(rBe,{messageId:"NotFound.message"},void 0):t.jsx(t.Fragment,{children:a},void 0)},rBe=function(n){var r=n.messageId,a=n.error,o=Wx().formatMessage,s=i.useState(!1),l=s[0],u=s[1];return t.jsx(BUe,ka({errorType:e.ErrorType.GenericError,alertText:o({id:r||"FatalError.genericMessage"}),onClick:function(){return u(!l)}},{children:l&&t.jsxs(aBe,{children:[t.jsx(hS,{id:"Generic.error.details"},void 0),t.jsx(oBe,{children:JSON.stringify(a)||"Not provided"},void 0)]},void 0)}),void 0)},aBe=y.default.div.withConfig({displayName:"ReachErrorProvider__DetailsContainer",componentId:"sc-15225g3-0"})(Wqe||(Wqe=La(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),q8),oBe=y.default.p.withConfig({displayName:"ReachErrorProvider__Details",componentId:"sc-15225g3-1"})(Xqe||(Xqe=La(["\n opacity: 0.4;\n font-size: small;\n"],["\n opacity: 0.4;\n font-size: small;\n"]))),sBe=function(e){var n=e.children,r=mte(),a=i.useMemo((function(){return{onShare:function(){return Sa(void 0,void 0,void 0,(function(){return Pa(this,(function(e){return[2,null]}))}))},onOpenExternalLink:o,tryGetInternalLink:function(){return null},changeHistory:s}}),[]);return t.jsx(vS.Provider,ka({value:a},{children:n}),void 0);function o(e){window.open(e,"_blank")}function s(e){window.open(""+r+e)}},lBe=function(){return null},uBe=Object.freeze({__proto__:null,Page:lBe,NavLinkSidebarItem:lBe,PageMenuActionItem:lBe});var cBe=function(e){var n=e.children,i={data:[],getUser:function(){},identify:function(e,t){return Promise.resolve(void 0)},interaction:function(e){return Promise.resolve(void 0)},onItemRead:function(e){},onSearchTermChange:function(e){return Promise.resolve(void 0)},activity:function(e){},module:null,setModule:function(e){},trackActivity:function(e){},sendActivity:function(){}};return t.jsx(_7.Provider,ka({value:i},{children:n}),void 0)};!function(){if(window.__is_reach_app)return;if(console.info("Reach Component Library: "+zqe+" ("+$qe+") ["+Rqe+"]"),window.__did_initialize_reach_context)return;o.initializeIcons()}();var dBe=function(e){var n=e.disableAnalytics,i=e.appName,r=e.children;return n?t.jsx(cBe,{children:r},void 0):t.jsx(k7,ka({appName:i},{children:r}),void 0)},hBe=function(e){var n,r=e.language,a=e.children,o=i.useContext(Bne).setTheme,s=i.useContext(SS).changeSettings,l=g5().getCurrentUser,u=zw((function(){var e,t;return Sa(this,void 0,void 0,(function(){var n,i,a,u;return Pa(this,(function(c){switch(c.label){case 0:return c.trys.push([0,2,,3]),[4,l()];case 1:return n=c.sent(),(null===(e=null==n?void 0:n.subscription)||void 0===e?void 0:e.theme)&&o(n.subscription.theme),i=dw(r,n.preferredUiLanguage,cw(),null===(t=n.subscription)||void 0===t?void 0:t.defaultLanguage),a=fMe(n),s(i,a).then((function(){return null}),ng.error),r&&(n.preferredContentLanguage=r),[2,n];case 2:throw u=c.sent(),ng.error(u),u;case 3:return[2]}}))}))})),c=u[0],d=u[1],h=u[2],p=u[3],f=i.useContext(gS),m=f.handleFatalError,g=f.handleNotFoundError,v=f.handleAccessDeniedError,y=i.useMemo((function(){return{user:c,refreshUser:function(e){return Promise.resolve(e&&p(e))}}}),[c]);return h?(403===(null===(n=null==h?void 0:h.response)||void 0===n?void 0:n.statusCode)?v({error:h}):m({error:h}),null):d?null:null==c?(g({}),null):t.jsx(w6.Provider,ka({value:y},{children:a}),void 0)},pBe=function(){return i.useEffect((function(){var e=document.createElement("style");e.innerHTML="@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700');",document.head.appendChild(e)}),[]),t.jsxs(t.Fragment,{children:[t.jsx(EK,{},void 0),t.jsx(TK,{},void 0)]},void 0)};var fBe=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,mBe=/[\0-\x1F\x7F-\x9F]/,gBe=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,vBe=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\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-\u2E4E\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[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/;function yBe(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}function bBe(e){return Object.prototype.toString.call(e)}function OBe(e){return"[object Function]"===bBe(e)}function _Be(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var wBe={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var kBe={"http:":{validate:function(e,t,n){var i=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(i)?i.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var i=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(i)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:i.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var i=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(i)?i.match(n.re.mailto)[0].length:0}}},xBe="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function SBe(e){var t=e.re=function(e){var t={};return t.src_Any=fBe.source,t.src_Cc=mBe.source,t.src_Z=gBe.source,t.src_P=vBe.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|"),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+")(?!-|_|:\\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&&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 i(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(i(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(i(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(i(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(i(t.tpl_host_fuzzy_test),"i");var r=[];function a(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var n=e.__schemas__[t];if(null!==n){var i={validate:null,link:null};if(e.__compiled__[t]=i,function(e){return"[object Object]"===bBe(e)}(n))return!function(e){return"[object RegExp]"===bBe(e)}(n.validate)?OBe(n.validate)?i.validate=n.validate:a(t,n):i.validate=function(e){return function(t,n){var i=t.slice(n);return e.test(i)?i.match(e)[0].length:0}}(n.validate),void(OBe(n.normalize)?i.normalize=n.normalize:n.normalize?a(t,n):i.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===bBe(e)}(n)?a(t,n):r.push(t)}})),r.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)}};var o=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(_Be).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+o+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+o+")","ig"),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 PBe(e,t){var n=e.__index__,i=e.__last_index__,r=e.__text_cache__.slice(n,i);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=i+t,this.raw=r,this.text=r,this.url=r}function EBe(e,t){var n=new PBe(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function FBe(e,t){if(!(this instanceof FBe))return new FBe(e,t);t||function(e){return Object.keys(e||{}).reduce((function(e,t){return e||wBe.hasOwnProperty(t)}),!1)}(e)&&(t=e,e={}),this.__opts__=yBe({},wBe,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=yBe({},kBe,e),this.__compiled__={},this.__tlds__=xBe,this.__tlds_replaced__=!1,this.re={},SBe(this)}FBe.prototype.add=function(e,t){return this.__schemas__[e]=t,SBe(this),this},FBe.prototype.set=function(e){return this.__opts__=yBe(this.__opts__,e),this},FBe.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,i,r,a,o,s,l;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(r=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+r;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(a=n.index+n[1].length,(this.__index__<0||a<this.__index__)&&(this.__schema__="",this.__index__=a,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(i=e.match(this.re.email_fuzzy))&&(a=i.index+i[1].length,o=i.index+i[0].length,(this.__index__<0||a<this.__index__||a===this.__index__&&o>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=a,this.__last_index__=o)),this.__index__>=0},FBe.prototype.pretest=function(e){return this.re.pretest.test(e)},FBe.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},FBe.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(EBe(this,t)),t=this.__last_index__);for(var i=t?e.slice(t):e;this.test(i);)n.push(EBe(this,t)),i=i.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},FBe.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(),SBe(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,SBe(this),this)},FBe.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},FBe.prototype.onCompile=function(){};var CBe=FBe,TBe={exports:{}};!function(e,t){var n;n=function(){var e=JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","‘":"\'","’":"\'","“":"\\"","”":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial"}'),t=JSON.parse('{"vi":{"Đ":"D","đ":"d"}}');function n(n,i){if("string"!=typeof n)throw new Error("slugify: string argument expected");var r=t[(i="string"==typeof i?{replacement:i}:i||{}).locale]||{},a=i.replacement||"-",o=n.split("").reduce((function(t,n){return t+(r[n]||e[n]||n)}),"").replace(i.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"").trim().replace(new RegExp("[\\s"+a+"]+","g"),a);return i.lower&&(o=o.toLowerCase()),i.strict&&(o=o.replace(new RegExp("[^a-zA-Z0-9"+a+"]","g"),"")),o}return n.extend=function(t){for(var n in t)e[n]=t[n]},n},e.exports=n(),e.exports.default=n()}(TBe);var DBe=TBe.exports;function ABe(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function IBe(){return IBe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},IBe.apply(this,arguments)}function LBe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zBe(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function $Be(e,t,n){return t&&zBe(e.prototype,t),n&&zBe(e,n),e}function RBe(e){return RBe="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},RBe(e)}function QBe(e){return QBe="function"==typeof Symbol&&"symbol"===RBe(Symbol.iterator)?function(e){return RBe(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":RBe(e)},QBe(e)}function jBe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MBe(e,t){return!t||"object"!==QBe(t)&&"function"!=typeof t?jBe(e):t}function NBe(e){return NBe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},NBe(e)}function UBe(e,t){return UBe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},UBe(e,t)}function qBe(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&&UBe(e,t)}function BBe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function GBe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],i=!0,r=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(i=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);i=!0);}catch(e){r=!0,a=e}finally{try{i||null==s.return||s.return()}finally{if(r)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function WBe(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},a=Object.keys(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function XBe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function VBe(e){return function(e){if(Array.isArray(e))return XBe(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return XBe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?XBe(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var YBe=function(e){return e===Object(e)?Object.keys(e):[]},ZBe=function(e){return e===Object(e)?Object.values(e):[]};function HBe(e,t){var n=Object.assign({},e);return eGe(e)&&eGe(t)&&YBe(t).forEach((function(i){eGe(t[i])&&i in e?n[i]=HBe(e[i],t[i]):Object.assign(n,Iae({},i,t[i]))})),n}var KBe=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return n.reduce((function(e,t){return HBe(e,t)}),e)},JBe=function(e,t){var n=Object.assign({},e);if(t)for(var i=0;i<t.length;i++)delete n[t[i]];return n},eGe=function(e){return!(e!==Object(e)||e instanceof Date||Array.isArray(e))},tGe=function(e){return(e||[]).filter(Boolean)},nGe=function(e){return"&"===e[0]},iGe=function(e){return!nGe(e)},rGe=function(e){return e.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}))},aGe=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=YBe(e),i={},r=0,a=n.length;r<a;r+=1){var o=n[r],s="[object Object]"!==Object.prototype.toString.call(e[o])||":"===o[0]||"@"===o[0]||t.indexOf(o)>=0;s&&(i[o]=e[o])}return i},oGe=function(e,t){for(var n=t.map(rGe),i=YBe(e),r={},a=0,o=i.length;a<o;a+=1){var s=i[a];(t.indexOf(s)>=0||n.indexOf(rGe(s))>=0)&&(r[s]=e[s])}return r},sGe=function e(t,n){for(var i=KBe.apply(void 0,[{},JBe(t,n)].concat(VBe(ZBe(oGe(t,n))))),r=YBe(i).filter(nGe),a=0,o=r.length;a<o;a+=1){var s=r[a],l=e(i[s],n);n.indexOf(s)>=0?(delete i[s],i=KBe({},i,l)):i[s]=l}return i};function lGe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function uGe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lGe(Object(n),!0).forEach((function(t){Iae(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lGe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var cGe=["animationName"],dGe=function(e){var t=e.style,n=e.className;return uGe(uGe({},t?{style:aGe(t,cGe)}:{}),n?{className:n}:{})},hGe=i.createContext(dGe);hGe.Provider;var pGe=function(e){if(!e)return[];if("string"==typeof e)return[e];if(!Array.isArray(e)){var t=e;return YBe(e).reduce((function(e,n){return e.concat(t[n]?[n]:[])}),[])}return e},fGe={},mGe=function(e){return function(t,n){var i,r=n||fGe;e.memoize=e.memoize||new WeakMap,e.memoize.has(r)?i=e.memoize.get(r):(i={},e.memoize.set(r,i));var a=pGe(t).join(" ");return a in i?i[a]:i[a]=e(t||[],n)}};function gGe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function vGe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gGe(Object(n),!0).forEach((function(t){Iae(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gGe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var yGe=function(e){var t=e&&YBe(e)[0];return t&&t.split("__")[0].split("--")[0]},bGe=function(e,t,n){if(e){var i=e.split(" ")[0],r=[].concat(VBe(0===t.length?n.map((function(e){return"".concat(i,"--").concat(e.substring(1))})):[]),VBe(t.map((function(e){return"".concat(i,"__").concat(e)}))));return 0===t.length?[e].concat(VBe(r)):r}};function OGe(e){var t=e.style,n=e.className,i=e.classNames,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:dGe,a=n||yGe(i)||(null==t?void 0:t.className),o="function"==typeof t?t:mGe((function(e,n){var o=pGe(e);i_e(Array.isArray(o),"First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."),i_e(!n||eGe(n),"Optional second parameter must be a plain object.");var s=o.filter(nGe),l=o.filter(iGe),u=l.length>0?function(e){return ZBe(oGe(e,l))}:function(e){return[e]},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return u(sGe(e,s))},d=bGe(a,l,s);return OGe(vGe(vGe(vGe({},(t||n)&&{style:KBe.apply(void 0,[{}].concat(VBe(c(n)),VBe(c(t))))}),d&&{className:d.join(" ")}),i&&{classNames:i}),r)})),s=vGe({},"function"==typeof t?t:{style:t}),l=VBe(new Set([].concat(VBe(s.className?s.className.split(" "):[]),VBe(a?a.split(" "):[])))),u=i?tGe(l.map((function(e){return i[e]}))):l,c=r(vGe(vGe({},s),u.length>0?{className:u.join(" ")}:{}));return Object.assign(o,c),o}function _Ge(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function wGe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_Ge(Object(n),!0).forEach((function(t){Iae(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_Ge(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var kGe=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return wGe(wGe(wGe({},e),"function"==typeof t?t:{}),{},{style:wGe(wGe({},e.style),"function"==typeof t?t.style:t)})}),{})},xGe=function(e,t,n){var r=t.style,a=t.className,o=t.classNames,s=i.useContext(hGe);return i.useMemo((function(){return OGe({style:r,className:a,classNames:o},s)}),[r,a,o,s])(n,e)},SGe=function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},PGe="__id__",EGe="__display__",FGe=function(e,t){i_e("id"===t||"display"===t,'Second arg must be either "id" or "display", got: "'.concat(t,'"'));var n=e.indexOf(EGe),i=e.indexOf(PGe);return n<0&&(n=null),i<0&&(i=null),i_e(null!==n||null!==i,"The markup '".concat(e,"' does not contain either of the placeholders '__id__' or '__display__'")),null!==n&&null!==i?"id"===t&&i<=n||"display"===t&&n<=i?0:1:0},CGe=function(e){var t=/^\/(.+)\/(\w+)?$/;return new RegExp(e.map((function(e){var n=GBe(t.exec(e.toString()),3),i=n[1],r=n[2];return i_e(!r,"RegExp flags are not supported. Change /".concat(i,"/").concat(r," into /").concat(i,"/")),"(".concat(i,")")})).join("|"),"g")},TGe=function(e){var t=0;return e.indexOf("__id__")>=0&&t++,e.indexOf("__display__")>=0&&t++,t},DGe=function(){},AGe=function(e,t,n){for(var i,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:DGe,a=CGe(t.map((function(e){return e.regex}))),o=2,s=t.map((function(e){var t=e.markup,n=o;return o+=TGe(t)+1,n})),l=0,u=0;null!==(i=a.exec(e));){var c=s.find((function(e){return!!i[e]})),d=s.indexOf(c),h=t[d],p=h.markup,f=h.displayTransform,m=c+FGe(p,"id"),g=c+FGe(p,"display"),v=i[m],y=f(v,i[g]),b=e.substring(l,i.index);r(b,l,u),u+=b.length,n(i[0],i.index,u,v,y,d,l),u+=y.length,l=a.lastIndex}l<e.length&&r(e.substring(l),l,u)},IGe=function(e,t){var n="";return AGe(e,t,(function(e,t,i,r,a){n+=a}),(function(e){n+=e})),n},LGe=function(e,t,n){var i,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"START";if("number"!=typeof n)return n;var a=function(e,t,r){void 0===i&&r+e.length>=n&&(i=t+n-r)},o=function(e,t,a,o,s,l,u){void 0===i&&a+s.length>n&&(i="NULL"===r?null:t+("END"===r?e.length:0))};return AGe(e,t,o,a),void 0===i?e.length:i},zGe=function(e,t,n,i){return e.substring(0,t)+i+e.substring(n)},$Ge=function(e,t){var n=[];return AGe(e,t,(function(e,t,i,r,a,o,s){n.push({id:r,display:a,childIndex:o,index:t,plainTextIndex:i})})),n},RGe=function(e,t){return"".concat(e,"-").concat(t)},QGe=function(e){return Object.values(e).reduce((function(e,t){return e+t.results.length}),0)},jGe=function(e){var t=SGe(e),n=e[e.indexOf(EGe)+EGe.length],i=e[e.indexOf(PGe)+PGe.length];return new RegExp(t.replace(EGe,"([^".concat(SGe(n||""),"]+?)")).replace(PGe,"([^".concat(SGe(i||""),"]+?)")))},MGe=function(e){return i.Children.toArray(e).map((function(e){var t=e.props,n=t.markup,i=t.regex,r=t.displayTransform;return{markup:n,regex:i?NGe(i,n):jGe(n),displayTransform:r||function(e,t){return t||e}}}))},NGe=function(e,t){var n=new RegExp(e.toString()+"|").exec("").length-1,i=TGe(t);return i_e(n===i,"Number of capturing groups in RegExp ".concat(e.toString()," (").concat(n,") does not match the number of placeholders in the markup '").concat(t,"' (").concat(i,")")),e},UGe=[{base:"A",letters:/(A|Ⓐ|A|À|Á|Â|Ầ|Ấ|Ẫ|Ẩ|Ã|Ā|Ă|Ằ|Ắ|Ẵ|Ẳ|Ȧ|Ǡ|Ä|Ǟ|Ả|Å|Ǻ|Ǎ|Ȁ|Ȃ|Ạ|Ậ|Ặ|Ḁ|Ą|Ⱥ|Ɐ|[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F])/g},{base:"AA",letters:/(Ꜳ|[\uA732])/g},{base:"AE",letters:/(Æ|Ǽ|Ǣ|[\u00C6\u01FC\u01E2])/g},{base:"AO",letters:/(Ꜵ|[\uA734])/g},{base:"AU",letters:/(Ꜷ|[\uA736])/g},{base:"AV",letters:/(Ꜹ|Ꜻ|[\uA738\uA73A])/g},{base:"AY",letters:/(Ꜽ|[\uA73C])/g},{base:"B",letters:/(B|Ⓑ|B|Ḃ|Ḅ|Ḇ|Ƀ|Ƃ|Ɓ|[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181])/g},{base:"C",letters:/(C|Ⓒ|C|Ć|Ĉ|Ċ|Č|Ç|Ḉ|Ƈ|Ȼ|Ꜿ|[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E])/g},{base:"D",letters:/(D|Ⓓ|D|Ḋ|Ď|Ḍ|Ḑ|Ḓ|Ḏ|Đ|Ƌ|Ɗ|Ɖ|Ꝺ|Ð|[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779\u00D0])/g},{base:"DZ",letters:/(DZ|DŽ|[\u01F1\u01C4])/g},{base:"Dz",letters:/(Dz|Dž|[\u01F2\u01C5])/g},{base:"E",letters:/(E|Ⓔ|E|È|É|Ê|Ề|Ế|Ễ|Ể|Ẽ|Ē|Ḕ|Ḗ|Ĕ|Ė|Ë|Ẻ|Ě|Ȅ|Ȇ|Ẹ|Ệ|Ȩ|Ḝ|Ę|Ḙ|Ḛ|Ɛ|Ǝ|[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E])/g},{base:"F",letters:/(F|Ⓕ|F|Ḟ|Ƒ|Ꝼ|[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B])/g},{base:"G",letters:/(G|Ⓖ|G|Ǵ|Ĝ|Ḡ|Ğ|Ġ|Ǧ|Ģ|Ǥ|Ɠ|Ꞡ|Ᵹ|Ꝿ|[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E])/g},{base:"H",letters:/(H|Ⓗ|H|Ĥ|Ḣ|Ḧ|Ȟ|Ḥ|Ḩ|Ḫ|Ħ|Ⱨ|Ⱶ|Ɥ|[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D])/g},{base:"I",letters:/(I|Ⓘ|I|Ì|Í|Î|Ĩ|Ī|Ĭ|İ|Ï|Ḯ|Ỉ|Ǐ|Ȉ|Ȋ|Ị|Į|Ḭ|Ɨ|[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197])/g},{base:"J",letters:/(J|Ⓙ|J|Ĵ|Ɉ|[\u004A\u24BF\uFF2A\u0134\u0248])/g},{base:"K",letters:/(K|Ⓚ|K|Ḱ|Ǩ|Ḳ|Ķ|Ḵ|Ƙ|Ⱪ|Ꝁ|Ꝃ|Ꝅ|Ꞣ|[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2])/g},{base:"L",letters:/(L|Ⓛ|L|Ŀ|Ĺ|Ľ|Ḷ|Ḹ|Ļ|Ḽ|Ḻ|Ł|Ƚ|Ɫ|Ⱡ|Ꝉ|Ꝇ|Ꞁ|[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780])/g},{base:"LJ",letters:/(LJ|[\u01C7])/g},{base:"Lj",letters:/(Lj|[\u01C8])/g},{base:"M",letters:/(M|Ⓜ|M|Ḿ|Ṁ|Ṃ|Ɱ|Ɯ|[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C])/g},{base:"N",letters:/(N|Ⓝ|N|Ǹ|Ń|Ñ|Ṅ|Ň|Ṇ|Ņ|Ṋ|Ṉ|Ƞ|Ɲ|Ꞑ|Ꞥ|Ŋ|[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4\u014A])/g},{base:"NJ",letters:/(NJ|[\u01CA])/g},{base:"Nj",letters:/(Nj|[\u01CB])/g},{base:"O",letters:/(O|Ⓞ|O|Ò|Ó|Ô|Ồ|Ố|Ỗ|Ổ|Õ|Ṍ|Ȭ|Ṏ|Ō|Ṑ|Ṓ|Ŏ|Ȯ|Ȱ|Ö|Ȫ|Ỏ|Ő|Ǒ|Ȍ|Ȏ|Ơ|Ờ|Ớ|Ỡ|Ở|Ợ|Ọ|Ộ|Ǫ|Ǭ|Ø|Ǿ|Ɔ|Ɵ|Ꝋ|Ꝍ|[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C])/g},{base:"OE",letters:/(Œ|[\u0152])/g},{base:"OI",letters:/(Ƣ|[\u01A2])/g},{base:"OO",letters:/(Ꝏ|[\uA74E])/g},{base:"OU",letters:/(Ȣ|[\u0222])/g},{base:"P",letters:/(P|Ⓟ|P|Ṕ|Ṗ|Ƥ|Ᵽ|Ꝑ|Ꝓ|Ꝕ|[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754])/g},{base:"Q",letters:/(Q|Ⓠ|Q|Ꝗ|Ꝙ|Ɋ|[\u0051\u24C6\uFF31\uA756\uA758\u024A])/g},{base:"R",letters:/(R|Ⓡ|R|Ŕ|Ṙ|Ř|Ȑ|Ȓ|Ṛ|Ṝ|Ŗ|Ṟ|Ɍ|Ɽ|Ꝛ|Ꞧ|Ꞃ|[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782])/g},{base:"S",letters:/(S|Ⓢ|S|ẞ|Ś|Ṥ|Ŝ|Ṡ|Š|Ṧ|Ṣ|Ṩ|Ș|Ş|Ȿ|Ꞩ|Ꞅ|[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784])/g},{base:"T",letters:/(T|Ⓣ|T|Ṫ|Ť|Ṭ|Ț|Ţ|Ṱ|Ṯ|Ŧ|Ƭ|Ʈ|Ⱦ|Ꞇ|[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786])/g},{base:"TH",letters:/(Þ|[\u00DE])/g},{base:"TZ",letters:/(Ꜩ|[\uA728])/g},{base:"U",letters:/(U|Ⓤ|U|Ù|Ú|Û|Ũ|Ṹ|Ū|Ṻ|Ŭ|Ü|Ǜ|Ǘ|Ǖ|Ǚ|Ủ|Ů|Ű|Ǔ|Ȕ|Ȗ|Ư|Ừ|Ứ|Ữ|Ử|Ự|Ụ|Ṳ|Ų|Ṷ|Ṵ|Ʉ|[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244])/g},{base:"V",letters:/(V|Ⓥ|V|Ṽ|Ṿ|Ʋ|Ꝟ|Ʌ|[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245])/g},{base:"VY",letters:/(Ꝡ|[\uA760])/g},{base:"W",letters:/(W|Ⓦ|W|Ẁ|Ẃ|Ŵ|Ẇ|Ẅ|Ẉ|Ⱳ|[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72])/g},{base:"X",letters:/(X|Ⓧ|X|Ẋ|Ẍ|[\u0058\u24CD\uFF38\u1E8A\u1E8C])/g},{base:"Y",letters:/(Y|Ⓨ|Y|Ỳ|Ý|Ŷ|Ỹ|Ȳ|Ẏ|Ÿ|Ỷ|Ỵ|Ƴ|Ɏ|Ỿ|[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE])/g},{base:"Z",letters:/(Z|Ⓩ|Z|Ź|Ẑ|Ż|Ž|Ẓ|Ẕ|Ƶ|Ȥ|Ɀ|Ⱬ|Ꝣ|[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762])/g},{base:"a",letters:/(a|ⓐ|a|ẚ|à|á|â|ầ|ấ|ẫ|ẩ|ã|ā|ă|ằ|ắ|ẵ|ẳ|ȧ|ǡ|ä|ǟ|ả|å|ǻ|ǎ|ȁ|ȃ|ạ|ậ|ặ|ḁ|ą|ⱥ|ɐ|[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250])/g},{base:"aa",letters:/(ꜳ|[\uA733])/g},{base:"ae",letters:/(æ|ǽ|ǣ|[\u00E6\u01FD\u01E3])/g},{base:"ao",letters:/(ꜵ|[\uA735])/g},{base:"au",letters:/(ꜷ|[\uA737])/g},{base:"av",letters:/(ꜹ|ꜻ|[\uA739\uA73B])/g},{base:"ay",letters:/(ꜽ|[\uA73D])/g},{base:"b",letters:/(b|ⓑ|b|ḃ|ḅ|ḇ|ƀ|ƃ|ɓ|[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253])/g},{base:"c",letters:/(c|ⓒ|c|ć|ĉ|ċ|č|ç|ḉ|ƈ|ȼ|ꜿ|ↄ|[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184])/g},{base:"d",letters:/(d|ⓓ|d|ḋ|ď|ḍ|ḑ|ḓ|ḏ|đ|ƌ|ɖ|ɗ|ꝺ|ð|[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A\u00F0])/g},{base:"dz",letters:/(dz|dž|[\u01F3\u01C6])/g},{base:"e",letters:/(e|ⓔ|e|è|é|ê|ề|ế|ễ|ể|ẽ|ē|ḕ|ḗ|ĕ|ė|ë|ẻ|ě|ȅ|ȇ|ẹ|ệ|ȩ|ḝ|ę|ḙ|ḛ|ɇ|ɛ|ǝ|[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD])/g},{base:"f",letters:/(f|ⓕ|f|ḟ|ƒ|ꝼ|[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C])/g},{base:"g",letters:/(g|ⓖ|g|ǵ|ĝ|ḡ|ğ|ġ|ǧ|ģ|ǥ|ɠ|ꞡ|ᵹ|ꝿ|[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F])/g},{base:"h",letters:/(h|ⓗ|h|ĥ|ḣ|ḧ|ȟ|ḥ|ḩ|ḫ|ẖ|ħ|ⱨ|ⱶ|ɥ|[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265])/g},{base:"hv",letters:/(ƕ|[\u0195])/g},{base:"i",letters:/(i|ⓘ|i|ì|í|î|ĩ|ī|ĭ|ï|ḯ|ỉ|ǐ|ȉ|ȋ|ị|į|ḭ|ɨ|ı|[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131])/g},{base:"ij",letters:/(ij|[\u0133])/g},{base:"j",letters:/(j|ⓙ|j|ĵ|ǰ|ɉ|[\u006A\u24D9\uFF4A\u0135\u01F0\u0249])/g},{base:"k",letters:/(k|ⓚ|k|ḱ|ǩ|ḳ|ķ|ḵ|ƙ|ⱪ|ꝁ|ꝃ|ꝅ|ꞣ|[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3])/g},{base:"l",letters:/(l|ⓛ|l|ŀ|ĺ|ľ|ḷ|ḹ|ļ|ḽ|ḻ|ł|ƚ|ɫ|ⱡ|ꝉ|ꞁ|ꝇ|[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u0142\u019A\u026B\u2C61\uA749\uA781\uA747])/g},{base:"lj",letters:/(lj|[\u01C9])/g},{base:"m",letters:/(m|ⓜ|m|ḿ|ṁ|ṃ|ɱ|ɯ|[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F])/g},{base:"n",letters:/(n|ⓝ|n|ǹ|ń|ñ|ṅ|ň|ṇ|ņ|ṋ|ṉ|ƞ|ɲ|ʼn|ꞑ|ꞥ|ŋ|[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5\u014B])/g},{base:"nj",letters:/(nj|[\u01CC])/g},{base:"o",letters:/(o|ⓞ|o|ò|ó|ô|ồ|ố|ỗ|ổ|õ|ṍ|ȭ|ṏ|ō|ṑ|ṓ|ŏ|ȯ|ȱ|ö|ȫ|ỏ|ő|ǒ|ȍ|ȏ|ơ|ờ|ớ|ỡ|ở|ợ|ọ|ộ|ǫ|ǭ|ø|ǿ|ɔ|ꝋ|ꝍ|ɵ|[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275])/g},{base:"oe",letters:/(œ|[\u0153])/g},{base:"oi",letters:/(ƣ|[\u01A3])/g},{base:"ou",letters:/(ȣ|[\u0223])/g},{base:"oo",letters:/(ꝏ|[\uA74F])/g},{base:"p",letters:/(p|ⓟ|p|ṕ|ṗ|ƥ|ᵽ|ꝑ|ꝓ|ꝕ|[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755])/g},{base:"q",letters:/(q|ⓠ|q|ɋ|ꝗ|ꝙ|[\u0071\u24E0\uFF51\u024B\uA757\uA759])/g},{base:"r",letters:/(r|ⓡ|r|ŕ|ṙ|ř|ȑ|ȓ|ṛ|ṝ|ŗ|ṟ|ɍ|ɽ|ꝛ|ꞧ|ꞃ|[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783])/g},{base:"s",letters:/(s|ⓢ|s|ś|ṥ|ŝ|ṡ|š|ṧ|ṣ|ṩ|ș|ş|ȿ|ꞩ|ꞅ|ẛ|ſ|[\u0073\u24E2\uFF53\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B\u017F])/g},{base:"ss",letters:/(ß|[\u00DF])/g},{base:"t",letters:/(t|ⓣ|t|ṫ|ẗ|ť|ṭ|ț|ţ|ṱ|ṯ|ŧ|ƭ|ʈ|ⱦ|ꞇ|[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787])/g},{base:"th",letters:/(þ|[\u00FE])/g},{base:"tz",letters:/(ꜩ|[\uA729])/g},{base:"u",letters:/(u|ⓤ|u|ù|ú|û|ũ|ṹ|ū|ṻ|ŭ|ü|ǜ|ǘ|ǖ|ǚ|ủ|ů|ű|ǔ|ȕ|ȗ|ư|ừ|ứ|ữ|ử|ự|ụ|ṳ|ų|ṷ|ṵ|ʉ|[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289])/g},{base:"v",letters:/(v|ⓥ|v|ṽ|ṿ|ʋ|ꝟ|ʌ|[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C])/g},{base:"vy",letters:/(ꝡ|[\uA761])/g},{base:"w",letters:/(w|ⓦ|w|ẁ|ẃ|ŵ|ẇ|ẅ|ẘ|ẉ|ⱳ|[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73])/g},{base:"x",letters:/(x|ⓧ|x|ẋ|ẍ|[\u0078\u24E7\uFF58\u1E8B\u1E8D])/g},{base:"y",letters:/(y|ⓨ|y|ỳ|ý|ŷ|ỹ|ȳ|ẏ|ÿ|ỷ|ẙ|ỵ|ƴ|ɏ|ỿ|[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF])/g},{base:"z",letters:/(z|ⓩ|z|ź|ẑ|ż|ž|ẓ|ẕ|ƶ|ȥ|ɀ|ⱬ|ꝣ|[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763])/g}],qGe=function(e){return function(e){var t=e;return UGe.forEach((function(e){t=t.replace(e.letters,e.base)})),t}(e).toLowerCase()},BGe=function(e,t,n){return n?qGe(e).indexOf(qGe(t)):e.toLowerCase().indexOf(t.toLowerCase())},GGe=function(e){return"number"==typeof e},WGe=function(e){return e===Object(e)?Object.keys(e):[]},XGe=function(e){for(var t,n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];var a=(t=[]).concat.apply(t,i);return Object.keys(e).reduce((function(t,n){return e.hasOwnProperty(n)&&!a.includes(n)&&void 0!==e[n]&&(t[n]=e[n]),t}),{})};function VGe(e,t){return function(n){var i=function(i){var r=i.style,a=i.className,o=i.classNames,s=WBe(i,["style","className","classNames"]),l=t?t(s):void 0,u=xGe(e,{style:r,className:a,classNames:o},l);return g.default.createElement(n,IBe({},s,{style:u}))},r=n.displayName||n.name||"Component";return i.displayName="defaultStyle(".concat(r,")"),i}}var YGe=function(e){function t(){var e;return LBe(this,t),BBe(jBe(e=MBe(this,NBe(t).apply(this,arguments))),"setCaretElement",(function(t){e.caretElement=t})),e.state={left:void 0,top:void 0},e}return qBe(t,e),$Be(t,[{key:"componentDidMount",value:function(){this.notifyCaretPosition()}},{key:"componentDidUpdate",value:function(){this.notifyCaretPosition()}},{key:"notifyCaretPosition",value:function(){if(this.caretElement){var e=this.caretElement,t=e.offsetLeft,n=e.offsetTop;if(this.state.left!==t||this.state.top!==n){var i={left:t,top:n};this.setState(i),this.props.onCaretPositionChange(i)}}}},{key:"render",value:function(){var e,t=this,n=this.props,i=n.selectionStart,r=n.selectionEnd,a=n.value,o=n.style,s=n.children,l=n.containerRef,u=MGe(s);i===r&&(e=LGe(a,u,i,"START"));var c=[],d={},h=c,p=0;return AGe(a,u,(function(e,n,i,r,a,o,s){var l=function(e,t){return e.hasOwnProperty(t)?e[t]++:e[t]=0,t+"_"+e[t]}(d,r);h.push(t.getMentionComponentForMatch(r,a,o,l))}),(function(n,i,r){if(GGe(e)&&e>=i&&e<=i+n.length){var a=e-i;h.push(t.renderSubstring(n.substring(0,a),p)),h=[t.renderSubstring(n.substring(a),p)]}else h.push(t.renderSubstring(n,p));p++})),h.push(" "),h!==c&&c.push(this.renderHighlighterCaret(h)),g.default.createElement("div",IBe({},o,{ref:l}),c)}},{key:"renderSubstring",value:function(e,t){return g.default.createElement("span",IBe({},this.props.style("substring"),{key:t}),e)}},{key:"getMentionComponentForMatch",value:function(e,t,n,r){var a={id:e,display:t,key:r},o=i.Children.toArray(this.props.children)[n];return g.default.cloneElement(o,a)}},{key:"renderHighlighterCaret",value:function(e){return g.default.createElement("span",IBe({},this.props.style("caret"),{ref:this.setCaretElement,key:"caret"}),e)}}]),t}(i.Component);BBe(YGe,"propTypes",{selectionStart:hH.number,selectionEnd:hH.number,value:hH.string.isRequired,onCaretPositionChange:hH.func.isRequired,containerRef:hH.oneOfType([hH.func,hH.shape({current:"undefined"==typeof Element?hH.any:hH.instanceOf(Element)})]),children:hH.oneOfType([hH.element,hH.arrayOf(hH.element)]).isRequired}),BBe(YGe,"defaultProps",{value:""});var ZGe=VGe({position:"relative",boxSizing:"border-box",width:"100%",color:"transparent",overflow:"hidden",whiteSpace:"pre-wrap",wordWrap:"break-word",border:"1px solid transparent",textAlign:"start","&singleLine":{whiteSpace:"pre",wordWrap:null},substring:{visibility:"hidden"}},(function(e){return{"&singleLine":e.singleLine}}))(YGe),HGe=function(e){function t(){return LBe(this,t),MBe(this,NBe(t).apply(this,arguments))}return qBe(t,e),$Be(t,[{key:"render",value:function(){var e=XGe(this.props,["style","classNames","className"],WGe(t.propTypes));return g.default.createElement("li",IBe({id:this.props.id,role:"option","aria-selected":this.props.focused},e,this.props.style),this.renderContent())}},{key:"renderContent",value:function(){var e=this.props,t=e.query,n=e.renderSuggestion,i=e.suggestion,r=e.index,a=e.focused,o=this.getDisplay(),s=this.renderHighlightedDisplay(o,t);return n?n(i,t,s,r,a):s}},{key:"getDisplay",value:function(){var e=this.props.suggestion;if("string"==typeof e)return e;var t=e.id,n=e.display;return void 0!==t&&n?n:t}},{key:"renderHighlightedDisplay",value:function(e){var t=this.props,n=t.ignoreAccents,i=t.query,r=t.style,a=BGe(e,i,n);return-1===a?g.default.createElement("span",r("display"),e):g.default.createElement("span",r("display"),e.substring(0,a),g.default.createElement("b",r("highlight"),e.substring(a,a+i.length)),e.substring(a+i.length))}}]),t}(i.Component);BBe(HGe,"propTypes",{id:hH.string.isRequired,query:hH.string.isRequired,index:hH.number.isRequired,ignoreAccents:hH.bool,suggestion:hH.oneOfType([hH.string,hH.shape({id:hH.oneOfType([hH.string,hH.number]).isRequired,display:hH.string})]).isRequired,renderSuggestion:hH.func,focused:hH.bool});var KGe=VGe({cursor:"pointer"},(function(e){return{"&focused":e.focused}}))(HGe);function JGe(){var e=xGe(),t=e("spinner");return g.default.createElement("div",e,g.default.createElement("div",t,g.default.createElement("div",t(["element","element1"])),g.default.createElement("div",t(["element","element2"])),g.default.createElement("div",t(["element","element3"])),g.default.createElement("div",t(["element","element4"])),g.default.createElement("div",t(["element","element5"]))))}var eWe=function(e){function t(){var e,n;LBe(this,t);for(var i=arguments.length,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];return BBe(jBe(n=MBe(this,(e=NBe(t)).call.apply(e,[this].concat(r)))),"handleMouseEnter",(function(e,t){n.props.onMouseEnter&&n.props.onMouseEnter(e)})),BBe(jBe(n),"select",(function(e,t){n.props.onSelect(e,t)})),BBe(jBe(n),"setUlElement",(function(e){n.ulElement=e})),n}return qBe(t,e),$Be(t,[{key:"componentDidUpdate",value:function(){if(this.ulElement&&!(this.ulElement.offsetHeight>=this.ulElement.scrollHeight)&&this.props.scrollFocusedIntoView){var e=this.ulElement.scrollTop,t=this.ulElement.children[this.props.focusIndex].getBoundingClientRect(),n=t.top,i=t.bottom,r=this.ulElement.getBoundingClientRect().top;i=i-r+e,(n=n-r+e)<e?this.ulElement.scrollTop=n:i>this.ulElement.offsetHeight&&(this.ulElement.scrollTop=i-this.ulElement.offsetHeight)}}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.a11ySuggestionsListLabel,i=e.isOpened,r=e.style,a=e.onMouseDown,o=e.containerRef,s=e.position,l=e.left,u=e.top;return i?g.default.createElement("div",IBe({},kGe({position:s||"absolute",left:l,top:u},r),{onMouseDown:a,ref:o}),g.default.createElement("ul",IBe({ref:this.setUlElement,id:t,role:"listbox","aria-label":n},r("list")),this.renderSuggestions()),this.renderLoadingIndicator()):null}},{key:"renderSuggestions",value:function(){var e=this;return Object.values(this.props.suggestions).reduce((function(t,n){var i=n.results,r=n.queryInfo;return[].concat(ABe(t),ABe(i.map((function(n,i){return e.renderSuggestion(n,r,t.length+i)}))))}),[])}},{key:"renderSuggestion",value:function(e,t,n){var r=this,a=n===this.props.focusIndex,o=t.childIndex,s=t.query,l=i.Children.toArray(this.props.children)[o].props.renderSuggestion,u=this.props.ignoreAccents;return g.default.createElement(KGe,{style:this.props.style("item"),key:"".concat(o,"-").concat(tWe(e)),id:RGe(this.props.id,n),query:s,index:n,ignoreAccents:u,renderSuggestion:l,suggestion:e,focused:a,onClick:function(){return r.select(e,t)},onMouseEnter:function(){return r.handleMouseEnter(n)}})}},{key:"renderLoadingIndicator",value:function(){if(this.props.isLoading)return g.default.createElement(JGe,{style:this.props.style("loadingIndicator")})}}]),t}(i.Component);BBe(eWe,"propTypes",{id:hH.string.isRequired,suggestions:hH.object.isRequired,a11ySuggestionsListLabel:hH.string,focusIndex:hH.number,position:hH.string,left:hH.number,top:hH.number,scrollFocusedIntoView:hH.bool,isLoading:hH.bool,isOpened:hH.bool.isRequired,onSelect:hH.func,ignoreAccents:hH.bool,containerRef:hH.oneOfType([hH.func,hH.shape({current:"undefined"==typeof Element?hH.any:hH.instanceOf(Element)})]),children:hH.oneOfType([hH.element,hH.arrayOf(hH.element)]).isRequired}),BBe(eWe,"defaultProps",{suggestions:{},onSelect:function(){return null}});var tWe=function(e){return"string"==typeof e?e:e.id},nWe=VGe({zIndex:1,backgroundColor:"white",marginTop:14,minWidth:100,list:{margin:0,padding:0,listStyleType:"none"}})(eWe);function iWe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function rWe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?iWe(n,!0).forEach((function(t){BBe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):iWe(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var aWe={TAB:9,RETURN:13,ESC:27,UP:38,DOWN:40},oWe=!1,sWe={singleLine:hH.bool,allowSpaceInQuery:hH.bool,allowSuggestionsAboveCursor:hH.bool,forceSuggestionsAboveCursor:hH.bool,ignoreAccents:hH.bool,a11ySuggestionsListLabel:hH.string,value:hH.string,onKeyDown:hH.func,onSelect:hH.func,onBlur:hH.func,onChange:hH.func,suggestionsPortalHost:"undefined"==typeof Element?hH.any:hH.PropTypes.instanceOf(Element),inputRef:hH.oneOfType([hH.func,hH.shape({current:"undefined"==typeof Element?hH.any:hH.instanceOf(Element)})]),children:hH.oneOfType([hH.element,hH.arrayOf(hH.element)]).isRequired},lWe=function(e){function t(e){var n;return LBe(this,t),BBe(jBe(n=MBe(this,NBe(t).call(this,e))),"setContainerElement",(function(e){n.containerElement=e})),BBe(jBe(n),"getInputProps",(function(){var e=n.props,t=e.readOnly,i=e.disabled,r=e.style;return rWe({},XGe(n.props,["style","classNames","className"],WGe(sWe)),{},r("input"),{value:n.getPlainText()},!t&&!i&&{onChange:n.handleChange,onSelect:n.handleSelect,onKeyDown:n.handleKeyDown,onBlur:n.handleBlur,onCompositionStart:n.handleCompositionStart,onCompositionEnd:n.handleCompositionEnd,onScroll:n.updateHighlighterScroll},{},n.isOpened()&&{role:"combobox","aria-controls":n.uuidSuggestionsOverlay,"aria-expanded":!0,"aria-autocomplete":"list","aria-haspopup":"listbox","aria-activedescendant":RGe(n.uuidSuggestionsOverlay,n.state.focusIndex)})})),BBe(jBe(n),"renderControl",(function(){var e=n.props,t=e.singleLine,i=e.style,r=n.getInputProps();return g.default.createElement("div",i("control"),n.renderHighlighter(),t?n.renderInput(r):n.renderTextarea(r))})),BBe(jBe(n),"renderInput",(function(e){return g.default.createElement("input",IBe({type:"text",ref:n.setInputRef},e))})),BBe(jBe(n),"renderTextarea",(function(e){return g.default.createElement("textarea",IBe({ref:n.setInputRef},e))})),BBe(jBe(n),"setInputRef",(function(e){n.inputElement=e;var t=n.props.inputRef;"function"==typeof t?t(e):t&&(t.current=e)})),BBe(jBe(n),"setSuggestionsElement",(function(e){n.suggestionsElement=e})),BBe(jBe(n),"renderSuggestionsOverlay",(function(){if(!GGe(n.state.selectionStart))return null;var e=n.state.suggestionsPosition,t=e.position,i=e.left,r=e.top,a=g.default.createElement(nWe,{id:n.uuidSuggestionsOverlay,style:n.props.style("suggestions"),position:t,left:i,top:r,focusIndex:n.state.focusIndex,scrollFocusedIntoView:n.state.scrollFocusedIntoView,containerRef:n.setSuggestionsElement,suggestions:n.state.suggestions,onSelect:n.addMention,onMouseDown:n.handleSuggestionsMouseDown,onMouseEnter:n.handleSuggestionsMouseEnter,isLoading:n.isLoading(),isOpened:n.isOpened(),ignoreAccents:n.props.ignoreAccents,a11ySuggestionsListLabel:n.props.a11ySuggestionsListLabel},n.props.children);return n.props.suggestionsPortalHost?b.default.createPortal(a,n.props.suggestionsPortalHost):a})),BBe(jBe(n),"renderHighlighter",(function(){var e=n.state,t=e.selectionStart,i=e.selectionEnd,r=n.props,a=r.singleLine,o=r.children,s=r.value,l=r.style;return g.default.createElement(ZGe,{containerRef:n.setHighlighterElement,style:l("highlighter"),value:s,singleLine:a,selectionStart:t,selectionEnd:i,onCaretPositionChange:n.handleCaretPositionChange},o)})),BBe(jBe(n),"setHighlighterElement",(function(e){n.highlighterElement=e})),BBe(jBe(n),"handleCaretPositionChange",(function(e){n.setState({caretPosition:e})})),BBe(jBe(n),"getPlainText",(function(){return IGe(n.props.value||"",MGe(n.props.children))})),BBe(jBe(n),"executeOnChange",(function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),r=1;r<t;r++)i[r-1]=arguments[r];var a,o;return n.props.onChange?(a=n.props).onChange.apply(a,[e].concat(i)):n.props.valueLink?(o=n.props.valueLink).requestChange.apply(o,[e.target.value].concat(i)):void 0})),BBe(jBe(n),"handleChange",(function(e){if(oWe=!1,(document.activeElement&&document.activeElement.contentDocument||document).activeElement===e.target){var t=n.props.value||"",i=MGe(n.props.children),r=e.target.value,a=function(e,t,n,i){var r=n.selectionStartBefore,a=n.selectionEndBefore,o=n.selectionEndAfter,s=IGe(e,i),l=s.length-t.length;"undefined"===r&&(r=o+l),"undefined"===a&&(a=r),r===a&&a===o&&s.length===t.length&&(r-=1);var u=t.slice(r,o),c=Math.min(r,o),d=a;r===o&&(d=Math.max(a,r+l));var h=LGe(e,i,c,"START"),p=LGe(e,i,d,"END"),f=LGe(e,i,c,"NULL"),m=LGe(e,i,d,"NULL"),g=null===f||null===m,v=zGe(e,h,p,u);if(!g){var y=IGe(v,i);if(y!==t){for(c=0;t[c]===y[c];)c++;u=t.slice(c,o),d=s.lastIndexOf(t.substring(o)),h=LGe(e,i,c,"START"),p=LGe(e,i,d,"END"),v=zGe(e,h,p,u)}}return v}(t,r,{selectionStartBefore:n.state.selectionStart,selectionEndBefore:n.state.selectionEnd,selectionEndAfter:e.target.selectionEnd},i);r=IGe(a,i);var o=e.target.selectionStart,s=e.target.selectionEnd,l=!1,u=function(e,t,n){var i=n,r=!1;if(AGe(e,t,(function(e,t,a,o,s,l,u){a<=n&&a+s.length>n&&(i=a,r=!0)})),r)return i}(t,i,o);void 0!==u&&n.state.selectionEnd>u&&(s=o=u,l=!0),n.setState({selectionStart:o,selectionEnd:s,setSelectionAfterMentionChange:l});var c=$Ge(a,i),d={target:{value:a}};n.executeOnChange(d,a,r,c)}})),BBe(jBe(n),"handleSelect",(function(e){if(n.setState({selectionStart:e.target.selectionStart,selectionEnd:e.target.selectionEnd}),!oWe){var t=n.inputElement;e.target.selectionStart===e.target.selectionEnd?n.updateMentionsQueries(t.value,e.target.selectionStart):n.clearSuggestions(),n.updateHighlighterScroll(),n.props.onSelect(e)}})),BBe(jBe(n),"handleKeyDown",(function(e){if(0!==QGe(n.state.suggestions)&&n.suggestionsElement)switch(Object.values(aWe).indexOf(e.keyCode)>=0&&(e.preventDefault(),e.stopPropagation()),e.keyCode){case aWe.ESC:return void n.clearSuggestions();case aWe.DOWN:return void n.shiftFocus(1);case aWe.UP:return void n.shiftFocus(-1);case aWe.RETURN:case aWe.TAB:return void n.selectFocused();default:return}else n.props.onKeyDown(e)})),BBe(jBe(n),"shiftFocus",(function(e){var t=QGe(n.state.suggestions);n.setState({focusIndex:(t+n.state.focusIndex+e)%t,scrollFocusedIntoView:!0})})),BBe(jBe(n),"selectFocused",(function(){var e=n.state,t=e.suggestions,i=e.focusIndex,r=Object.values(t).reduce((function(e,t){var n=t.results,i=t.queryInfo;return[].concat(ABe(e),ABe(n.map((function(e){return{result:e,queryInfo:i}}))))}),[])[i],a=r.result,o=r.queryInfo;n.addMention(a,o),n.setState({focusIndex:0})})),BBe(jBe(n),"handleBlur",(function(e){var t=n._suggestionsMouseDown;n._suggestionsMouseDown=!1,t||n.setState({selectionStart:null,selectionEnd:null}),window.setTimeout((function(){n.updateHighlighterScroll()}),1),n.props.onBlur(e,t)})),BBe(jBe(n),"handleSuggestionsMouseDown",(function(e){n._suggestionsMouseDown=!0})),BBe(jBe(n),"handleSuggestionsMouseEnter",(function(e){n.setState({focusIndex:e,scrollFocusedIntoView:!1})})),BBe(jBe(n),"updateSuggestionsPosition",(function(){var e=n.state.caretPosition,t=n.props,i=t.suggestionsPortalHost,r=t.allowSuggestionsAboveCursor,a=t.forceSuggestionsAboveCursor;if(e&&n.suggestionsElement){var o=n.suggestionsElement,s=n.highlighterElement,l=s.getBoundingClientRect(),u=uWe(s,"font-size"),c={left:l.left+e.left,top:l.top+e.top+u},d=Math.max(document.documentElement.clientHeight,window.innerHeight||0);if(o){var h={};if(i){h.position="fixed";var p=c.left,f=c.top;p-=uWe(o,"margin-left"),f-=uWe(o,"margin-top"),p-=s.scrollLeft,f-=s.scrollTop;var m=Math.max(document.documentElement.clientWidth,window.innerWidth||0);p+o.offsetWidth>m?h.left=Math.max(0,m-o.offsetWidth):h.left=p,r&&f+o.offsetHeight>d&&o.offsetHeight<f-u||a?h.top=Math.max(0,f-o.offsetHeight-u):h.top=f}else{var g=e.left-s.scrollLeft,v=e.top-s.scrollTop;g+o.offsetWidth>n.containerElement.offsetWidth?h.right=0:h.left=g,r&&c.top-s.scrollTop+o.offsetHeight>d&&o.offsetHeight<l.top-u-s.scrollTop?h.top=v-o.offsetHeight-u:h.top=v}h.left===n.state.suggestionsPosition.left&&h.top===n.state.suggestionsPosition.top&&h.position===n.state.suggestionsPosition.position||n.setState({suggestionsPosition:h})}}})),BBe(jBe(n),"updateHighlighterScroll",(function(){var e=n.inputElement,t=n.highlighterElement;e&&t&&(t.scrollLeft=e.scrollLeft,t.scrollTop=e.scrollTop,t.height=e.height)})),BBe(jBe(n),"handleCompositionStart",(function(){oWe=!0})),BBe(jBe(n),"handleCompositionEnd",(function(){oWe=!1})),BBe(jBe(n),"setSelection",(function(e,t){if(null!==e&&null!==t){var i=n.inputElement;if(i.setSelectionRange)i.setSelectionRange(e,t);else if(i.createTextRange){var r=i.createTextRange();r.collapse(!0),r.moveEnd("character",t),r.moveStart("character",e),r.select()}}})),BBe(jBe(n),"updateMentionsQueries",(function(e,t){n._queryId++,n.suggestions={},n.setState({suggestions:{}});var i=n.props.value||"",r=n.props.children,a=MGe(r),o=LGe(i,a,t,"NULL");if(null!==o){var s=function(e,t){var n=$Ge(e,t),i=n[n.length-1];return i?i.plainTextIndex+i.display.length:0}(i.substring(0,o),a),l=e.substring(s,t);g.default.Children.forEach(r,(function(t,i){if(t){var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e instanceof RegExp)return e;var n=t.allowSpaceInQuery,i=SGe(e);return new RegExp("(?:^|\\s)(".concat(i,"([^").concat(n?"":"\\s").concat(i,"]*))$"))}(t.props.trigger,n.props),a=l.match(r);if(a){var o=s+l.indexOf(a[1],a.index);n.queryData(a[2],i,o,o+a[1].length,e)}}}))}})),BBe(jBe(n),"clearSuggestions",(function(){n._queryId++,n.suggestions={},n.setState({suggestions:{},focusIndex:0})})),BBe(jBe(n),"queryData",(function(e,t,r,a,o){var s=n.props,l=s.children,u=s.ignoreAccents,c=function(e,t){return e instanceof Array?function(n,i){for(var r=[],a=0,o=e.length;a<o;++a){var s=e[a].display||e[a].id;BGe(s,n,t)>=0&&r.push(e[a])}return r}:e}(i.Children.toArray(l)[t].props.data,u),d=c(e,n.updateSuggestions.bind(null,n._queryId,t,e,r,a,o));d instanceof Array&&n.updateSuggestions(n._queryId,t,e,r,a,o,d)})),BBe(jBe(n),"updateSuggestions",(function(e,t,i,r,a,o,s){if(e===n._queryId){n.suggestions=rWe({},n.suggestions,BBe({},t,{queryInfo:{childIndex:t,query:i,querySequenceStart:r,querySequenceEnd:a,plainTextValue:o},results:s}));var l=n.state.focusIndex,u=QGe(n.suggestions);n.setState({suggestions:n.suggestions,focusIndex:l>=u?Math.max(u-1,0):l})}})),BBe(jBe(n),"addMention",(function(e,t){var r=e.id,a=e.display,o=t.childIndex,s=t.querySequenceStart,l=t.querySequenceEnd,u=t.plainTextValue,c=n.props.value||"",d=MGe(n.props.children),h=i.Children.toArray(n.props.children)[o].props,p=h.markup,f=h.displayTransform,m=h.appendSpaceOnAdd,g=h.onAdd,v=LGe(c,d,s,"START"),y=v+l-s,b=function(e,t,n){return e.replace(PGe,t).replace(EGe,n)}(p,r,a);m&&(b+=" ");var O=zGe(c,v,y,b);n.inputElement.focus();var _=f(r,a);m&&(_+=" ");var w=s+_.length;n.setState({selectionStart:w,selectionEnd:w,setSelectionAfterMentionChange:!0});var k={target:{value:O}},x=$Ge(O,d),S=zGe(u,s,l,_);n.executeOnChange(k,O,S,x),g&&g(r,a,v,y),n.clearSuggestions()})),BBe(jBe(n),"isLoading",(function(){var e=!1;return g.default.Children.forEach(n.props.children,(function(t){e=e||t&&t.props.isLoading})),e})),BBe(jBe(n),"isOpened",(function(){return GGe(n.state.selectionStart)&&(0!==QGe(n.state.suggestions)||n.isLoading())})),BBe(jBe(n),"_queryId",0),n.suggestions={},n.uuidSuggestionsOverlay=Math.random().toString(16).substring(2),n.handleCopy=n.handleCopy.bind(jBe(n)),n.handleCut=n.handleCut.bind(jBe(n)),n.handlePaste=n.handlePaste.bind(jBe(n)),n.state={focusIndex:0,selectionStart:null,selectionEnd:null,suggestions:{},caretPosition:null,suggestionsPosition:{}},n}return qBe(t,e),$Be(t,[{key:"componentDidMount",value:function(){document.addEventListener("copy",this.handleCopy),document.addEventListener("cut",this.handleCut),document.addEventListener("paste",this.handlePaste),this.updateSuggestionsPosition()}},{key:"componentDidUpdate",value:function(e,t){t.suggestionsPosition===this.state.suggestionsPosition&&this.updateSuggestionsPosition(),this.state.setSelectionAfterMentionChange&&(this.setState({setSelectionAfterMentionChange:!1}),this.setSelection(this.state.selectionStart,this.state.selectionEnd))}},{key:"componentWillUnmount",value:function(){document.removeEventListener("copy",this.handleCopy),document.removeEventListener("cut",this.handleCut),document.removeEventListener("paste",this.handlePaste)}},{key:"render",value:function(){return g.default.createElement("div",IBe({ref:this.setContainerElement},this.props.style),this.renderControl(),this.renderSuggestionsOverlay())}},{key:"handlePaste",value:function(e){if(e.target===this.inputElement&&this.supportsClipboardActions(e)){e.preventDefault();var t=this.state,n=t.selectionStart,i=t.selectionEnd,r=this.props,a=r.value,o=r.children,s=MGe(o),l=LGe(a,s,n,"START"),u=LGe(a,s,i,"END"),c=e.clipboardData.getData("text/react-mentions"),d=e.clipboardData.getData("text/plain"),h=zGe(a,l,u,c||d).replace(/\r/g,""),p=IGe(h,s),f={target:rWe({},e.target,{value:h})};this.executeOnChange(f,h,p,$Ge(h,s))}}},{key:"saveSelectionToClipboard",value:function(e){var t=this.state,n=t.selectionStart,i=t.selectionEnd,r=this.props,a=r.children,o=r.value,s=MGe(a),l=LGe(o,s,n,"START"),u=LGe(o,s,i,"END");e.clipboardData.setData("text/plain",e.target.value.slice(n,i)),e.clipboardData.setData("text/react-mentions",o.slice(l,u))}},{key:"supportsClipboardActions",value:function(e){return!!e.clipboardData}},{key:"handleCopy",value:function(e){e.target===this.inputElement&&this.supportsClipboardActions(e)&&(e.preventDefault(),this.saveSelectionToClipboard(e))}},{key:"handleCut",value:function(e){if(e.target===this.inputElement&&this.supportsClipboardActions(e)){e.preventDefault(),this.saveSelectionToClipboard(e);var t=this.state,n=t.selectionStart,i=t.selectionEnd,r=this.props,a=r.children,o=r.value,s=MGe(a),l=LGe(o,s,n,"START"),u=LGe(o,s,i,"END"),c=[o.slice(0,l),o.slice(u)].join(""),d=IGe(c,s),h={target:rWe({},e.target,{value:d})};this.executeOnChange(h,c,d,$Ge(o,s))}}}]),t}(g.default.Component);BBe(lWe,"propTypes",sWe),BBe(lWe,"defaultProps",{ignoreAccents:!1,singleLine:!1,allowSuggestionsAboveCursor:!1,onKeyDown:function(){return null},onSelect:function(){return null},onBlur:function(){return null}});var uWe=function(e,t){var n=parseFloat(window.getComputedStyle(e,null).getPropertyValue(t));return isFinite(n)?n:0},cWe=VGe({position:"relative",overflowY:"visible",input:{display:"block",width:"100%",position:"absolute",margin:0,top:0,left:0,boxSizing:"border-box",backgroundColor:"transparent",fontFamily:"inherit",fontSize:"inherit",letterSpacing:"inherit"},"&multiLine":{input:rWe({height:"100%",bottom:0,overflow:"hidden",resize:"none"},"undefined"!=typeof navigator&&/iPhone|iPad|iPod/i.test(navigator.userAgent)?{marginTop:1,marginLeft:-3}:null)}},(function(e){var t=e.singleLine;return{"&singleLine":t,"&multiLine":!t}}))(lWe),dWe={fontWeight:"inherit"},hWe=function(e){var t=e.display,n=e.style,i=e.className,r=e.classNames,a=xGe(dWe,{style:n,className:i,classNames:r});return g.default.createElement("strong",a,t)};hWe.propTypes={onAdd:hH.func,onRemove:hH.func,renderSuggestion:hH.func,trigger:hH.oneOfType([hH.string,hH.instanceOf(RegExp)]),markup:hH.string,displayTransform:hH.func,allowSpaceInQuery:hH.bool,isLoading:hH.bool},hWe.defaultProps={trigger:"@",markup:"@[__display__](__id__)",displayTransform:function(e,t){return t||e},onAdd:function(){return null},onRemove:function(){return null},renderSuggestion:null,isLoading:!1,appendSpaceOnAdd:!1};var pWe=new Map([["avi","video/avi"],["gif","image/gif"],["ico","image/x-icon"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["mkv","video/x-matroska"],["mov","video/quicktime"],["mp4","video/mp4"],["pdf","application/pdf"],["png","image/png"],["zip","application/zip"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"]]);function fWe(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),i=pWe.get(n);i&&Object.defineProperty(e,"type",{value:i,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!=typeof n.path){var i=e.webkitRelativePath;Object.defineProperty(n,"path",{value:"string"==typeof t?t:"string"==typeof i&&i.length>0?i:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}var mWe=[".DS_Store","Thumbs.db"];function gWe(e){return Sa(this,void 0,void 0,(function(){return Pa(this,(function(t){return[2,(n=e,n.dataTransfer&&e.dataTransfer?yWe(e.dataTransfer,e.type):vWe(e))];var n}))}))}function vWe(e){return(null!==e.target&&e.target.files?OWe(e.target.files):[]).map((function(e){return fWe(e)}))}function yWe(e,t){return Sa(this,void 0,void 0,(function(){var n;return Pa(this,(function(i){switch(i.label){case 0:return e.items?(n=OWe(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(_We))]):[3,2];case 1:return[2,bWe(wWe(i.sent()))];case 2:return[2,bWe(OWe(e.files).map((function(e){return fWe(e)})))]}}))}))}function bWe(e){return e.filter((function(e){return-1===mWe.indexOf(e.name)}))}function OWe(e){for(var t=[],n=0;n<e.length;n++){var i=e[n];t.push(i)}return t}function _We(e){if("function"!=typeof e.webkitGetAsEntry)return kWe(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?SWe(t):kWe(e)}function wWe(e){return e.reduce((function(e,t){return Ta(e,Array.isArray(t)?wWe(t):[t])}),[])}function kWe(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var n=fWe(t);return Promise.resolve(n)}function xWe(e){return Sa(this,void 0,void 0,(function(){return Pa(this,(function(t){return[2,e.isDirectory?SWe(e):PWe(e)]}))}))}function SWe(e){var t=e.createReader();return new Promise((function(e,n){var i=[];!function r(){var a=this;t.readEntries((function(t){return Sa(a,void 0,void 0,(function(){var a,o,s;return Pa(this,(function(l){switch(l.label){case 0:if(t.length)return[3,5];l.label=1;case 1:return l.trys.push([1,3,,4]),[4,Promise.all(i)];case 2:return a=l.sent(),e(a),[3,4];case 3:return o=l.sent(),n(o),[3,4];case 4:return[3,6];case 5:s=Promise.all(t.map(xWe)),i.push(s),r(),l.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function PWe(e){return Sa(this,void 0,void 0,(function(){return Pa(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var i=fWe(n,e.fullPath);t(i)}),(function(e){n(e)}))}))]}))}))}function EWe(e,t){return"application/x-moz-file"===e.type||function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),i=e.name||"",r=(e.type||"").toLowerCase(),a=r.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?i.toLowerCase().endsWith(t):t.endsWith("/*")?a===t.replace(/\/.*$/,""):r===t}))}return!0}(e,t)}function FWe(e,t,n){if(CWe(e.size)){if(CWe(t)&&CWe(n))return e.size>=t&&e.size<=n;if(CWe(t))return e.size>=t;if(CWe(n))return e.size<=n}return!0}function CWe(e){return null!=e}function TWe(e,t,n,i){return e.every((function(e){return EWe(e,t)&&FWe(e,n,i)}))}function DWe(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function AWe(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,(function(e){return"Files"===e||"application/x-moz-file"===e})):!!e.target&&!!e.target.files}function IWe(e){e.preventDefault()}function LWe(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function zWe(e){return-1!==e.indexOf("Edge/")}function $We(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return LWe(e)||zWe(e)}function RWe(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];return t.some((function(t){return!DWe(e)&&t&&t.apply(void 0,[e].concat(i)),DWe(e)}))}}function QWe(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function jWe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],i=!0,r=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(i=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);i=!0);}catch(e){r=!0,a=e}finally{try{i||null==s.return||s.return()}finally{if(r)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function MWe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function NWe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?MWe(n,!0).forEach((function(t){UWe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):MWe(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function UWe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qWe(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},a=Object.keys(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var BWe=i.forwardRef((function(e,t){var n=e.children,r=XWe(qWe(e,["children"])),a=r.open,o=qWe(r,["open"]);return i.useImperativeHandle(t,(function(){return{open:a}}),[a]),g.default.createElement(i.Fragment,null,n(NWe({},o,{open:a})))}));BWe.displayName="Dropzone",BWe.propTypes={children:hH.func,accept:hH.oneOfType([hH.string,hH.arrayOf(hH.string)]),multiple:hH.bool,preventDropOnDocument:hH.bool,noClick:hH.bool,noKeyboard:hH.bool,noDrag:hH.bool,noDragEventsBubbling:hH.bool,minSize:hH.number,maxSize:hH.number,disabled:hH.bool,getFilesFromEvent:hH.func,onFileDialogCancel:hH.func,onDragEnter:hH.func,onDragLeave:hH.func,onDragOver:hH.func,onDrop:hH.func,onDropAccepted:hH.func,onDropRejected:hH.func};var GWe,WWe={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],rejectedFiles:[]};function XWe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.accept,n=e.disabled,r=void 0!==n&&n,a=e.getFilesFromEvent,o=void 0===a?gWe:a,s=e.maxSize,l=void 0===s?1/0:s,u=e.minSize,c=void 0===u?0:u,d=e.multiple,h=void 0===d||d,p=e.onDragEnter,f=e.onDragLeave,m=e.onDragOver,g=e.onDrop,v=e.onDropAccepted,y=e.onDropRejected,b=e.onFileDialogCancel,O=e.preventDropOnDocument,_=void 0===O||O,w=e.noClick,k=void 0!==w&&w,x=e.noKeyboard,S=void 0!==x&&x,P=e.noDrag,E=void 0!==P&&P,F=e.noDragEventsBubbling,C=void 0!==F&&F,T=i.useRef(null),D=i.useRef(null),A=i.useReducer(VWe,WWe),I=jWe(A,2),L=I[0],z=I[1],$=L.isFocused,R=L.isFileDialogActive,Q=L.draggedFiles,j=i.useCallback((function(){D.current&&(z({type:"openDialog"}),D.current.value=null,D.current.click())}),[z]),M=function(){R&&setTimeout((function(){D.current&&(D.current.files.length||(z({type:"closeDialog"}),"function"==typeof b&&b()))}),300)};i.useEffect((function(){return window.addEventListener("focus",M,!1),function(){window.removeEventListener("focus",M,!1)}}),[D,R,b]);var N=i.useCallback((function(e){T.current&&T.current.isEqualNode(e.target)&&(32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),j()))}),[T,D]),U=i.useCallback((function(){z({type:"focus"})}),[]),q=i.useCallback((function(){z({type:"blur"})}),[]),B=i.useCallback((function(){k||($We()?setTimeout(j,0):j())}),[D,k]),G=i.useRef([]),W=function(e){T.current&&T.current.contains(e.target)||(e.preventDefault(),G.current=[])};i.useEffect((function(){return _&&(document.addEventListener("dragover",IWe,!1),document.addEventListener("drop",W,!1)),function(){_&&(document.removeEventListener("dragover",IWe),document.removeEventListener("drop",W))}}),[T,_]);var X=i.useCallback((function(e){e.preventDefault(),e.persist(),ee(e),-1===G.current.indexOf(e.target)&&(G.current=[].concat(QWe(G.current),[e.target])),AWe(e)&&Promise.resolve(o(e)).then((function(t){DWe(e)&&!C||(z({draggedFiles:t,isDragActive:!0,type:"setDraggedFiles"}),p&&p(e))}))}),[o,p,C]),V=i.useCallback((function(e){if(e.preventDefault(),e.persist(),ee(e),e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return AWe(e)&&m&&m(e),!1}),[m,C]),Y=i.useCallback((function(e){e.preventDefault(),e.persist(),ee(e);var t=G.current.filter((function(t){return t!==e.target&&T.current&&T.current.contains(t)}));G.current=t,t.length>0||(z({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),AWe(e)&&f&&f(e))}),[T,f,C]),Z=i.useCallback((function(e){e.preventDefault(),e.persist(),ee(e),G.current=[],z({type:"reset"}),AWe(e)&&Promise.resolve(o(e)).then((function(n){if(!DWe(e)||C){var i=[],r=[];n.forEach((function(e){EWe(e,t)&&FWe(e,c,l)?i.push(e):r.push(e)})),!h&&i.length>1&&r.push.apply(r,QWe(i.splice(0))),z({acceptedFiles:i,rejectedFiles:r,type:"setFiles"}),g&&g(i,r,e),r.length>0&&y&&y(r,e),i.length>0&&v&&v(i,e)}}))}),[h,t,c,l,o,g,v,y,C]),H=function(e){return r?null:e},K=function(e){return S?null:H(e)},J=function(e){return E?null:H(e)},ee=function(e){C&&e.stopPropagation()},te=i.useMemo((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,i=e.onKeyDown,a=e.onFocus,o=e.onBlur,s=e.onClick,l=e.onDragEnter,u=e.onDragOver,c=e.onDragLeave,d=e.onDrop,h=qWe(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return NWe(UWe({onKeyDown:K(RWe(i,N)),onFocus:K(RWe(a,U)),onBlur:K(RWe(o,q)),onClick:H(RWe(s,B)),onDragEnter:J(RWe(l,X)),onDragOver:J(RWe(u,V)),onDragLeave:J(RWe(c,Y)),onDrop:J(RWe(d,Z))},n,T),r||S?{}:{tabIndex:0},{},h)}}),[T,N,U,q,B,X,V,Y,Z,S,E,r]),ne=i.useCallback((function(e){e.stopPropagation()}),[]),ie=i.useMemo((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.refKey,i=void 0===n?"ref":n,r=e.onChange,a=e.onClick,o=qWe(e,["refKey","onChange","onClick"]),s=UWe({accept:t,multiple:h,type:"file",style:{display:"none"},onChange:H(RWe(r,Z)),onClick:H(RWe(a,ne)),autoComplete:"off",tabIndex:-1},i,D);return NWe({},s,{},o)}}),[D,t,h,Z,r]),re=Q.length,ae=h||re<=1,oe=re>0&&TWe(Q,t,c,l),se=re>0&&(!oe||!ae);return NWe({},L,{isDragAccept:oe,isDragReject:se,isFocused:$&&!r,getRootProps:te,getInputProps:ie,rootRef:T,inputRef:D,open:H(j)})}function VWe(e,t){switch(t.type){case"focus":return NWe({},e,{isFocused:!0});case"blur":return NWe({},e,{isFocused:!1});case"openDialog":return NWe({},e,{isFileDialogActive:!0});case"closeDialog":return NWe({},e,{isFileDialogActive:!1});case"setDraggedFiles":var n=t.isDragActive;return NWe({},e,{draggedFiles:t.draggedFiles,isDragActive:n});case"setFiles":return NWe({},e,{acceptedFiles:t.acceptedFiles,rejectedFiles:t.rejectedFiles});case"reset":return NWe({},e,{isFileDialogActive:!1,isDragActive:!1,draggedFiles:[]});default:return e}}!function(e){e.BOTH="both",e.MOUSE="mouse",e.TOUCH="touch"}(GWe||(GWe={}));var YWe={exports:{}};!function(e){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={exports:{},id:i,loaded:!1};return e[i].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(2));t.default=i.default,e.exports=t.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};function r(e){return e&&e.__esModule?e:{default:e}}t.default=u;var a=n(3),o=r(n(4)),s=n(14),l=r(n(15));function u(e){var t=e.activeClassName,n=void 0===t?"":t,r=e.activeIndex,o=void 0===r?-1:r,u=e.activeStyle,c=e.autoEscape,d=e.caseSensitive,h=void 0!==d&&d,p=e.className,f=e.findChunks,m=e.highlightClassName,g=void 0===m?"":m,v=e.highlightStyle,y=void 0===v?{}:v,b=e.highlightTag,O=void 0===b?"mark":b,_=e.sanitize,w=e.searchWords,k=e.textToHighlight,x=e.unhighlightClassName,S=void 0===x?"":x,P=e.unhighlightStyle,E=function(e,t){var n={};for(var i in e)t.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n}(e,["activeClassName","activeIndex","activeStyle","autoEscape","caseSensitive","className","findChunks","highlightClassName","highlightStyle","highlightTag","sanitize","searchWords","textToHighlight","unhighlightClassName","unhighlightStyle"]),F=(0,a.findAll)({autoEscape:c,caseSensitive:h,findChunks:f,sanitize:_,searchWords:w,textToHighlight:k}),C=O,T=-1,D="",A=void 0,I=(0,l.default)((function(e){var t={};for(var n in e)t[n.toLowerCase()]=e[n];return t}));return(0,s.createElement)("span",i({className:p},E,{children:F.map((function(e,t){var i=k.substr(e.start,e.end-e.start);if(e.highlight){T++;var r=void 0;r="object"==typeof g?h?g[i]:(g=I(g))[i.toLowerCase()]:g;var a=T===+o;D=r+" "+(a?n:""),A=!0===a&&null!=u?Object.assign({},y,u):y;var l={children:i,className:D,key:t,style:A};return"string"!=typeof C&&(l.highlightIndex=T),(0,s.createElement)(C,l)}return(0,s.createElement)("span",{children:i,className:S,key:t,style:P})}))}))}u.propTypes={activeClassName:o.default.string,activeIndex:o.default.number,activeStyle:o.default.object,autoEscape:o.default.bool,className:o.default.string,findChunks:o.default.func,highlightClassName:o.default.oneOfType([o.default.object,o.default.string]),highlightStyle:o.default.object,highlightTag:o.default.oneOfType([o.default.node,o.default.func,o.default.string]),sanitize:o.default.func,searchWords:o.default.arrayOf(o.default.oneOfType([o.default.string,o.default.instanceOf(RegExp)])).isRequired,textToHighlight:o.default.string.isRequired,unhighlightClassName:o.default.string,unhighlightStyle:o.default.object},e.exports=t.default},function(e,t){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={exports:{},id:i,loaded:!1};return e[i].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var i=n(2);Object.defineProperty(t,"combineChunks",{enumerable:!0,get:function(){return i.combineChunks}}),Object.defineProperty(t,"fillInChunks",{enumerable:!0,get:function(){return i.fillInChunks}}),Object.defineProperty(t,"findAll",{enumerable:!0,get:function(){return i.findAll}}),Object.defineProperty(t,"findChunks",{enumerable:!0,get:function(){return i.findChunks}})},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.findAll=function(e){var t=e.autoEscape,a=e.caseSensitive,o=void 0!==a&&a,s=e.findChunks,l=void 0===s?i:s,u=e.sanitize,c=e.searchWords,d=e.textToHighlight;return r({chunksToHighlight:n({chunks:l({autoEscape:t,caseSensitive:o,sanitize:u,searchWords:c,textToHighlight:d})}),totalLength:d?d.length:0})};var n=t.combineChunks=function(e){var t=e.chunks;return t=t.sort((function(e,t){return e.start-t.start})).reduce((function(e,t){if(0===e.length)return[t];var n=e.pop();if(t.start<=n.end){var i=Math.max(n.end,t.end);e.push({start:n.start,end:i})}else e.push(n,t);return e}),[])},i=function(e){var t=e.autoEscape,n=e.caseSensitive,i=e.sanitize,r=void 0===i?a:i,o=e.searchWords,s=e.textToHighlight;return s=r(s),o.filter((function(e){return e})).reduce((function(e,i){i=r(i),t&&(i=i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"));for(var a=new RegExp(i,n?"g":"gi"),o=void 0;o=a.exec(s);){var l=o.index,u=a.lastIndex;u>l&&e.push({start:l,end:u}),o.index==a.lastIndex&&a.lastIndex++}return e}),[])};t.findChunks=i;var r=t.fillInChunks=function(e){var t=e.chunksToHighlight,n=e.totalLength,i=[],r=function(e,t,n){t-e>0&&i.push({start:e,end:t,highlight:n})};if(0===t.length)r(0,n,!1);else{var a=0;t.forEach((function(e){r(a,e.start,!1),r(e.start,e.end,!0),a=e.end})),r(a,n,!1)}return i};function a(e){return e}}])},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV){var i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;e.exports=n(6)((function(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}),!0)}else e.exports=n(13)()}).call(t,n(5))},function(e,t){var n,i,r=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{i="function"==typeof clearTimeout?clearTimeout:o}catch(e){i=o}}();var l,u=[],c=!1,d=-1;function h(){c&&l&&(c=!1,l.length?u=l.concat(u):d=-1,u.length&&p())}function p(){if(!c){var e=s(h);c=!0;for(var t=u.length;t;){for(l=u,u=[];++d<t;)l&&l[d].run();d=-1,t=u.length}l=null,c=!1,function(e){if(i===clearTimeout)return clearTimeout(e);if((i===o||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{i(e)}catch(t){try{return i.call(null,e)}catch(t){return i.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function m(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new f(e,t)),1!==u.length||c||s(p)},f.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=m,r.addListener=m,r.once=m,r.off=m,r.removeListener=m,r.removeAllListeners=m,r.emit=m,r.prependListener=m,r.prependOnceListener=m,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},function(e,t,n){(function(t){var i=n(7),r=n(8),a=n(9),o=n(10),s=n(11),l=n(12);e.exports=function(e,n){var u="function"==typeof Symbol&&Symbol.iterator;var c="<<anonymous>>",d={array:m("array"),bool:m("boolean"),func:m("function"),number:m("number"),object:m("object"),string:m("string"),symbol:m("symbol"),any:f(i.thatReturnsNull),arrayOf:function(e){return f((function(t,n,i,r,a){if("function"!=typeof e)return new p("Property `"+a+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var o=t[n];if(!Array.isArray(o))return new p("Invalid "+r+" `"+a+"` of type `"+v(o)+"` supplied to `"+i+"`, expected an array.");for(var l=0;l<o.length;l++){var u=e(o,l,i,r,a+"["+l+"]",s);if(u instanceof Error)return u}return null}))},element:f((function(t,n,i,r,a){var o=t[n];return e(o)?null:new p("Invalid "+r+" `"+a+"` of type `"+v(o)+"` supplied to `"+i+"`, expected a single ReactElement.")})),instanceOf:function(e){return f((function(t,n,i,r,a){if(!(t[n]instanceof e)){var o=e.name||c;return new p("Invalid "+r+" `"+a+"` of type `"+(((s=t[n]).constructor&&s.constructor.name?s.constructor.name:c)+"` supplied to `")+i+"`, expected instance of `"+o+"`.")}var s;return null}))},node:f((function(e,t,n,i,r){return g(e[t])?null:new p("Invalid "+i+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return f((function(t,n,i,r,a){if("function"!=typeof e)return new p("Property `"+a+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var o=t[n],l=v(o);if("object"!==l)return new p("Invalid "+r+" `"+a+"` of type `"+l+"` supplied to `"+i+"`, expected an object.");for(var u in o)if(o.hasOwnProperty(u)){var c=e(o,u,i,r,a+"."+u,s);if(c instanceof Error)return c}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==t.env.NODE_ENV&&a(!1,"Invalid argument supplied to oneOf, expected an instance of array."),i.thatReturnsNull;return f((function(t,n,i,r,a){for(var o=t[n],s=0;s<e.length;s++)if(h(o,e[s]))return null;return new p("Invalid "+r+" `"+a+"` of value `"+o+"` supplied to `"+i+"`, expected one of "+JSON.stringify(e)+".")}))},oneOfType:function(e){if(!Array.isArray(e))return"production"!==t.env.NODE_ENV&&a(!1,"Invalid argument supplied to oneOfType, expected an instance of array."),i.thatReturnsNull;for(var n=0;n<e.length;n++){var r=e[n];if("function"!=typeof r)return a(!1,"Invalid argument supplied to oneOfType. Expected an array of check functions, but received %s at index %s.",b(r),n),i.thatReturnsNull}return f((function(t,n,i,r,a){for(var o=0;o<e.length;o++)if(null==(0,e[o])(t,n,i,r,a,s))return null;return new p("Invalid "+r+" `"+a+"` supplied to `"+i+"`.")}))},shape:function(e){return f((function(t,n,i,r,a){var o=t[n],l=v(o);if("object"!==l)return new p("Invalid "+r+" `"+a+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");for(var u in e){var c=e[u];if(c){var d=c(o,u,i,r,a+"."+u,s);if(d)return d}}return null}))},exact:function(e){return f((function(t,n,i,r,a){var l=t[n],u=v(l);if("object"!==u)return new p("Invalid "+r+" `"+a+"` of type `"+u+"` supplied to `"+i+"`, expected `object`.");var c=o({},t[n],e);for(var d in c){var h=e[d];if(!h)return new p("Invalid "+r+" `"+a+"` key `"+d+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var f=h(l,d,i,r,a+"."+d,s);if(f)return f}return null}))}};function h(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function p(e){this.message=e,this.stack=""}function f(e){if("production"!==t.env.NODE_ENV)var i={},o=0;function l(l,u,d,h,f,m,g){if(h=h||c,m=m||d,g!==s)if(n)r(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");else if("production"!==t.env.NODE_ENV&&"undefined"!=typeof console){var v=h+":"+d;!i[v]&&o<3&&(a(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",m,h),i[v]=!0,o++)}return null==u[d]?l?null===u[d]?new p("The "+f+" `"+m+"` is marked as required in `"+h+"`, but its value is `null`."):new p("The "+f+" `"+m+"` is marked as required in `"+h+"`, but its value is `undefined`."):null:e(u,d,h,f,m)}var u=l.bind(null,!1);return u.isRequired=l.bind(null,!0),u}function m(e){return f((function(t,n,i,r,a,o){var s=t[n];return v(s)!==e?new p("Invalid "+r+" `"+a+"` of type `"+y(s)+"` supplied to `"+i+"`, expected `"+e+"`."):null}))}function g(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(g);if(null===t||e(t))return!0;var n=function(e){var t=e&&(u&&e[u]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!n)return!1;var i,r=n.call(t);if(n!==t.entries){for(;!(i=r.next()).done;)if(!g(i.value))return!1}else for(;!(i=r.next()).done;){var a=i.value;if(a&&!g(a[1]))return!1}return!0;default:return!1}}function v(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||"Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol}(t,e)?"symbol":t}function y(e){if(null==e)return""+e;var t=v(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function b(e){var t=y(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return p.prototype=Error.prototype,d.checkPropTypes=l,d.PropTypes=d,d}}).call(t,n(5))},function(e,t){function n(e){return function(){return e}}var i=function(){};i.thatReturns=n,i.thatReturnsFalse=n(!1),i.thatReturnsTrue=n(!0),i.thatReturnsNull=n(null),i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(e){return e},e.exports=i},function(e,t,n){(function(t){var n=function(e){};"production"!==t.env.NODE_ENV&&(n=function(e){if(void 0===e)throw new Error("invariant requires an error message argument")}),e.exports=function(e,t,i,r,a,o,s,l){if(n(t),!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[i,r,a,o,s,l],d=0;(u=new Error(t.replace(/%s/g,(function(){return c[d++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}}).call(t,n(5))},function(e,t,n){(function(t){var i=n(7);if("production"!==t.env.NODE_ENV){var r=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var r=0,a="Warning: "+e.replace(/%s/g,(function(){return n[r++]}));"undefined"!=typeof console&&console.error(a);try{throw new Error(a)}catch(e){}};i=function(e,t){if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==t.indexOf("Failed Composite propType: ")&&!e){for(var n=arguments.length,i=Array(n>2?n-2:0),a=2;a<n;a++)i[a-2]=arguments[a];r.apply(void 0,[t].concat(i))}}}e.exports=i}).call(t,n(5))},function(e,t){var n=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}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;var i=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==i.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,t){for(var o,s,l=a(e),u=1;u<arguments.length;u++){for(var c in o=Object(arguments[u]))i.call(o,c)&&(l[c]=o[c]);if(n){s=n(o);for(var d=0;d<s.length;d++)r.call(o,s[d])&&(l[s[d]]=o[s[d]])}}return l}},function(e,t){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV)var i=n(8),r=n(9),a=n(11),o={};e.exports=function(e,n,s,l,u){if("production"!==t.env.NODE_ENV)for(var c in e)if(e.hasOwnProperty(c)){var d;try{i("function"==typeof e[c],"%s: %s type `%s` is invalid; it must be a function, usually from the `prop-types` package, but received `%s`.",l||"React class",s,c,typeof e[c]),d=e[c](n,c,l,s,null,a)}catch(e){d=e}if(r(!d||d instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",l||"React class",s,c,typeof d),d instanceof Error&&!(d.message in o)){o[d.message]=!0;var h=u?u():"";r(!1,"Failed %s type: %s%s",s,d.message,null!=h?h:"")}}}}).call(t,n(5))},function(e,t,n){var i=n(7),r=n(8),a=n(11);e.exports=function(){function e(e,t,n,i,o,s){s!==a&&r(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=i,n.PropTypes=n,n}},function(e,t){e.exports=g.default},function(e,t){var n=function(e,t){return e===t};e.exports=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,i=void 0,r=[],a=void 0,o=!1,s=function(e,n){return t(e,r[n])},l=function(){for(var t=arguments.length,n=Array(t),l=0;l<t;l++)n[l]=arguments[l];return o&&i===this&&n.length===r.length&&n.every(s)?a:(o=!0,i=this,r=n,a=e.apply(this,n))};return l}}])}(YWe);var ZWe=S(YWe.exports),HWe={exports:{}};!function(e,t){e.exports=function(){var e=Array.prototype.slice;function t(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function n(e){return o(e)?e:X(e)}function i(e){return s(e)?e:V(e)}function r(e){return l(e)?e:Y(e)}function a(e){return o(e)&&!u(e)?e:Z(e)}function o(e){return!(!e||!e[d])}function s(e){return!(!e||!e[h])}function l(e){return!(!e||!e[p])}function u(e){return s(e)||l(e)}function c(e){return!(!e||!e[f])}t(i,n),t(r,n),t(a,n),n.isIterable=o,n.isKeyed=s,n.isIndexed=l,n.isAssociative=u,n.isOrdered=c,n.Keyed=i,n.Indexed=r,n.Set=a;var d="@@__IMMUTABLE_ITERABLE__@@",h="@@__IMMUTABLE_KEYED__@@",p="@@__IMMUTABLE_INDEXED__@@",f="@@__IMMUTABLE_ORDERED__@@",m="delete",g=5,v=1<<g,y=v-1,b={},O={value:!1},_={value:!1};function w(e){return e.value=!1,e}function k(e){e&&(e.value=!0)}function x(){}function S(e,t){t=t||0;for(var n=Math.max(0,e.length-t),i=new Array(n),r=0;r<n;r++)i[r]=e[r+t];return i}function P(e){return void 0===e.size&&(e.size=e.__iterate(F)),e.size}function E(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?P(e)+t:t}function F(){return!0}function C(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function T(e,t){return A(e,t,0)}function D(e,t){return A(e,t,t)}function A(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var I=0,L=1,z=2,$="function"==typeof Symbol&&Symbol.iterator,R="@@iterator",Q=$||R;function j(e){this.next=e}function M(e,t,n,i){var r=0===e?t:1===e?n:[t,n];return i?i.value=r:i={value:r,done:!1},i}function N(){return{value:void 0,done:!0}}function U(e){return!!G(e)}function q(e){return e&&"function"==typeof e.next}function B(e){var t=G(e);return t&&t.call(e)}function G(e){var t=e&&($&&e[$]||e[R]);if("function"==typeof t)return t}function W(e){return e&&"number"==typeof e.length}function X(e){return null==e?oe():o(e)?e.toSeq():ue(e)}function V(e){return null==e?oe().toKeyedSeq():o(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function Y(e){return null==e?oe():o(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function Z(e){return(null==e?oe():o(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}j.prototype.toString=function(){return"[Iterator]"},j.KEYS=I,j.VALUES=L,j.ENTRIES=z,j.prototype.inspect=j.prototype.toSource=function(){return this.toString()},j.prototype[Q]=function(){return this},t(X,n),X.of=function(){return X(arguments)},X.prototype.toSeq=function(){return this},X.prototype.toString=function(){return this.__toString("Seq {","}")},X.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},X.prototype.__iterate=function(e,t){return de(this,e,t,!0)},X.prototype.__iterator=function(e,t){return he(this,e,t,!0)},t(V,X),V.prototype.toKeyedSeq=function(){return this},t(Y,X),Y.of=function(){return Y(arguments)},Y.prototype.toIndexedSeq=function(){return this},Y.prototype.toString=function(){return this.__toString("Seq [","]")},Y.prototype.__iterate=function(e,t){return de(this,e,t,!1)},Y.prototype.__iterator=function(e,t){return he(this,e,t,!1)},t(Z,X),Z.of=function(){return Z(arguments)},Z.prototype.toSetSeq=function(){return this},X.isSeq=ae,X.Keyed=V,X.Set=Z,X.Indexed=Y;var H,K,J,ee="@@__IMMUTABLE_SEQ__@@";function te(e){this._array=e,this.size=e.length}function ne(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function ie(e){this._iterable=e,this.size=e.length||e.size}function re(e){this._iterator=e,this._iteratorCache=[]}function ae(e){return!(!e||!e[ee])}function oe(){return H||(H=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():q(e)?new re(e).fromEntrySeq():U(e)?new ie(e).fromEntrySeq():"object"==typeof e?new ne(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function le(e){var t=ce(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ue(e){var t=ce(e)||"object"==typeof e&&new ne(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function ce(e){return W(e)?new te(e):q(e)?new re(e):U(e)?new ie(e):void 0}function de(e,t,n,i){var r=e._cache;if(r){for(var a=r.length-1,o=0;o<=a;o++){var s=r[n?a-o:o];if(!1===t(s[1],i?s[0]:o,e))return o+1}return o}return e.__iterateUncached(t,n)}function he(e,t,n,i){var r=e._cache;if(r){var a=r.length-1,o=0;return new j((function(){var e=r[n?a-o:o];return o++>a?N():M(t,i?e[0]:o-1,e[1])}))}return e.__iteratorUncached(t,n)}function pe(e,t){return t?fe(t,e,"",{"":e}):me(e)}function fe(e,t,n,i){return Array.isArray(t)?e.call(i,n,Y(t).map((function(n,i){return fe(e,n,i,t)}))):ge(t)?e.call(i,n,V(t).map((function(n,i){return fe(e,n,i,t)}))):t}function me(e){return Array.isArray(e)?Y(e).map(me).toList():ge(e)?V(e).map(me).toMap():e}function ge(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ve(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function ye(e,t){if(e===t)return!0;if(!o(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||s(e)!==s(t)||l(e)!==l(t)||c(e)!==c(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!u(e);if(c(e)){var i=e.entries();return t.every((function(e,t){var r=i.next().value;return r&&ve(r[1],e)&&(n||ve(r[0],t))}))&&i.next().done}var r=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{r=!0;var a=e;e=t,t=a}var d=!0,h=t.__iterate((function(t,i){if(n?!e.has(t):r?!ve(t,e.get(i,b)):!ve(e.get(i,b),t))return d=!1,!1}));return d&&e.size===h}function be(e,t){if(!(this instanceof be))return new be(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(K)return K;K=this}}function Oe(e,t){if(!e)throw new Error(t)}function _e(e,t,n){if(!(this instanceof _e))return new _e(e,t,n);if(Oe(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),t<e&&(n=-n),this._start=e,this._end=t,this._step=n,this.size=Math.max(0,Math.ceil((t-e)/n-1)+1),0===this.size){if(J)return J;J=this}}function we(){throw TypeError("Abstract")}function ke(){}function xe(){}function Se(){}X.prototype[ee]=!0,t(te,Y),te.prototype.get=function(e,t){return this.has(e)?this._array[E(this,e)]:t},te.prototype.__iterate=function(e,t){for(var n=this._array,i=n.length-1,r=0;r<=i;r++)if(!1===e(n[t?i-r:r],r,this))return r+1;return r},te.prototype.__iterator=function(e,t){var n=this._array,i=n.length-1,r=0;return new j((function(){return r>i?N():M(e,r,n[t?i-r++:r++])}))},t(ne,V),ne.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},ne.prototype.has=function(e){return this._object.hasOwnProperty(e)},ne.prototype.__iterate=function(e,t){for(var n=this._object,i=this._keys,r=i.length-1,a=0;a<=r;a++){var o=i[t?r-a:a];if(!1===e(n[o],o,this))return a+1}return a},ne.prototype.__iterator=function(e,t){var n=this._object,i=this._keys,r=i.length-1,a=0;return new j((function(){var o=i[t?r-a:a];return a++>r?N():M(e,o,n[o])}))},ne.prototype[f]=!0,t(ie,Y),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=B(this._iterable),i=0;if(q(n))for(var r;!(r=n.next()).done&&!1!==e(r.value,i++,this););return i},ie.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=B(this._iterable);if(!q(n))return new j(N);var i=0;return new j((function(){var t=n.next();return t.done?t:M(e,i++,t.value)}))},t(re,Y),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,i=this._iterator,r=this._iteratorCache,a=0;a<r.length;)if(!1===e(r[a],a++,this))return a;for(;!(n=i.next()).done;){var o=n.value;if(r[a]=o,!1===e(o,a++,this))break}return a},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,i=this._iteratorCache,r=0;return new j((function(){if(r>=i.length){var t=n.next();if(t.done)return t;i[r]=t.value}return M(e,r,i[r++])}))},t(be,Y),be.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},be.prototype.get=function(e,t){return this.has(e)?this._value:t},be.prototype.includes=function(e){return ve(this._value,e)},be.prototype.slice=function(e,t){var n=this.size;return C(e,t,n)?this:new be(this._value,D(t,n)-T(e,n))},be.prototype.reverse=function(){return this},be.prototype.indexOf=function(e){return ve(this._value,e)?0:-1},be.prototype.lastIndexOf=function(e){return ve(this._value,e)?this.size:-1},be.prototype.__iterate=function(e,t){for(var n=0;n<this.size;n++)if(!1===e(this._value,n,this))return n+1;return n},be.prototype.__iterator=function(e,t){var n=this,i=0;return new j((function(){return i<n.size?M(e,i++,n._value):N()}))},be.prototype.equals=function(e){return e instanceof be?ve(this._value,e._value):ye(e)},t(_e,Y),_e.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},_e.prototype.get=function(e,t){return this.has(e)?this._start+E(this,e)*this._step:t},_e.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},_e.prototype.slice=function(e,t){return C(e,t,this.size)?this:(e=T(e,this.size),(t=D(t,this.size))<=e?new _e(0,0):new _e(this.get(e,this._end),this.get(t,this._end),this._step))},_e.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},_e.prototype.lastIndexOf=function(e){return this.indexOf(e)},_e.prototype.__iterate=function(e,t){for(var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,a=0;a<=n;a++){if(!1===e(r,a,this))return a+1;r+=t?-i:i}return a},_e.prototype.__iterator=function(e,t){var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,a=0;return new j((function(){var o=r;return r+=t?-i:i,a>n?N():M(e,a++,o)}))},_e.prototype.equals=function(e){return e instanceof _e?this._start===e._start&&this._end===e._end&&this._step===e._step:ye(this,e)},t(we,n),t(ke,we),t(xe,we),t(Se,we),we.Keyed=ke,we.Indexed=xe,we.Set=Se;var Pe="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),i=65535&(t|=0);return n*i+((e>>>16)*i+n*(t>>>16)<<16>>>0)|0};function Ee(e){return e>>>1&1073741824|3221225471&e}function Fe(e){if(!1===e||null==e)return 0;if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null==e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)n^=e/=4294967295;return Ee(n)}if("string"===t)return e.length>je?Ce(e):Te(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return De(e);if("function"==typeof e.toString)return Te(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Ce(e){var t=Ue[e];return void 0===t&&(t=Te(e),Ne===Me&&(Ne=0,Ue={}),Ne++,Ue[e]=t),t}function Te(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Ee(t)}function De(e){var t;if($e&&void 0!==(t=ze.get(e)))return t;if(void 0!==(t=e[Qe]))return t;if(!Ie){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Qe]))return t;if(void 0!==(t=Le(e)))return t}if(t=++Re,1073741824&Re&&(Re=0),$e)ze.set(e,t);else{if(void 0!==Ae&&!1===Ae(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Ie)Object.defineProperty(e,Qe,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[Qe]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Qe]=t}}return t}var Ae=Object.isExtensible,Ie=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function Le(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var ze,$e="function"==typeof WeakMap;$e&&(ze=new WeakMap);var Re=0,Qe="__immutablehash__";"function"==typeof Symbol&&(Qe=Symbol(Qe));var je=16,Me=255,Ne=0,Ue={};function qe(e){Oe(e!==1/0,"Cannot perform this action with an infinite size.")}function Be(e){return null==e?rt():Ge(e)&&!c(e)?e:rt().withMutations((function(t){var n=i(e);qe(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Ge(e){return!(!e||!e[Xe])}t(Be,ke),Be.prototype.toString=function(){return this.__toString("Map {","}")},Be.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},Be.prototype.set=function(e,t){return at(this,e,t)},Be.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},Be.prototype.remove=function(e){return at(this,e,b)},Be.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},Be.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},Be.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var i=gt(this,wn(e),t,n);return i===b?void 0:i},Be.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):rt()},Be.prototype.merge=function(){return ht(this,void 0,arguments)},Be.prototype.mergeWith=function(t){return ht(this,t,e.call(arguments,1))},Be.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,rt(),(function(e){return"function"==typeof e.merge?e.merge.apply(e,n):n[n.length-1]}))},Be.prototype.mergeDeep=function(){return ht(this,pt,arguments)},Be.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return ht(this,ft(t),n)},Be.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,rt(),(function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]}))},Be.prototype.sort=function(e){return Ut(dn(this,e))},Be.prototype.sortBy=function(e,t){return Ut(dn(this,t,e))},Be.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},Be.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new x)},Be.prototype.asImmutable=function(){return this.__ensureOwner()},Be.prototype.wasAltered=function(){return this.__altered},Be.prototype.__iterator=function(e,t){return new et(this,e,t)},Be.prototype.__iterate=function(e,t){var n=this,i=0;return this._root&&this._root.iterate((function(t){return i++,e(t[1],t[0],n)}),t),i},Be.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?it(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Be.isMap=Ge;var We,Xe="@@__IMMUTABLE_MAP__@@",Ve=Be.prototype;function Ye(e,t){this.ownerID=e,this.entries=t}function Ze(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function He(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function Ke(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function Je(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function et(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&nt(e._root)}function tt(e,t){return M(e,t[0],t[1])}function nt(e,t){return{node:e,index:0,__prev:t}}function it(e,t,n,i){var r=Object.create(Ve);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function rt(){return We||(We=it(0))}function at(e,t,n){var i,r;if(e._root){var a=w(O),o=w(_);if(i=ot(e._root,e.__ownerID,0,void 0,t,n,a,o),!o.value)return e;r=e.size+(a.value?n===b?-1:1:0)}else{if(n===b)return e;r=1,i=new Ye(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=r,e._root=i,e.__hash=void 0,e.__altered=!0,e):i?it(r,i):rt()}function ot(e,t,n,i,r,a,o,s){return e?e.update(t,n,i,r,a,o,s):a===b?e:(k(s),k(o),new Je(t,i,[r,a]))}function st(e){return e.constructor===Je||e.constructor===Ke}function lt(e,t,n,i,r){if(e.keyHash===i)return new Ke(t,i,[e.entry,r]);var a,o=(0===n?e.keyHash:e.keyHash>>>n)&y,s=(0===n?i:i>>>n)&y;return new Ze(t,1<<o|1<<s,o===s?[lt(e,t,n+g,i,r)]:(a=new Je(t,i,r),o<s?[e,a]:[a,e]))}function ut(e,t,n,i){e||(e=new x);for(var r=new Je(e,Fe(n),[n,i]),a=0;a<t.length;a++){var o=t[a];r=r.update(e,0,void 0,o[0],o[1])}return r}function ct(e,t,n,i){for(var r=0,a=0,o=new Array(n),s=0,l=1,u=t.length;s<u;s++,l<<=1){var c=t[s];void 0!==c&&s!==i&&(r|=l,o[a++]=c)}return new Ze(e,r,o)}function dt(e,t,n,i,r){for(var a=0,o=new Array(v),s=0;0!==n;s++,n>>>=1)o[s]=1&n?t[a++]:void 0;return o[i]=r,new He(e,a+1,o)}function ht(e,t,n){for(var r=[],a=0;a<n.length;a++){var s=n[a],l=i(s);o(s)||(l=l.map((function(e){return pe(e)}))),r.push(l)}return mt(e,t,r)}function pt(e,t,n){return e&&e.mergeDeep&&o(t)?e.mergeDeep(t):ve(e,t)?e:t}function ft(e){return function(t,n,i){if(t&&t.mergeDeepWith&&o(n))return t.mergeDeepWith(e,n);var r=e(t,n,i);return ve(t,r)?t:r}}function mt(e,t,n){return n=n.filter((function(e){return 0!==e.size})),0===n.length?e:0!==e.size||e.__ownerID||1!==n.length?e.withMutations((function(e){for(var i=t?function(n,i){e.update(i,b,(function(e){return e===b?n:t(e,n,i)}))}:function(t,n){e.set(n,t)},r=0;r<n.length;r++)n[r].forEach(i)})):e.constructor(n[0])}function gt(e,t,n,i){var r=e===b,a=t.next();if(a.done){var o=r?n:e,s=i(o);return s===o?e:s}Oe(r||e&&e.set,"invalid keyPath");var l=a.value,u=r?b:e.get(l,b),c=gt(u,t,n,i);return c===u?e:c===b?e.remove(l):(r?rt():e).set(l,c)}function vt(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function yt(e,t,n,i){var r=i?e:S(e);return r[t]=n,r}function bt(e,t,n,i){var r=e.length+1;if(i&&t+1===r)return e[t]=n,e;for(var a=new Array(r),o=0,s=0;s<r;s++)s===t?(a[s]=n,o=-1):a[s]=e[s+o];return a}function Ot(e,t,n){var i=e.length-1;if(n&&t===i)return e.pop(),e;for(var r=new Array(i),a=0,o=0;o<i;o++)o===t&&(a=1),r[o]=e[o+a];return r}Ve[Xe]=!0,Ve[m]=Ve.remove,Ve.removeIn=Ve.deleteIn,Ye.prototype.get=function(e,t,n,i){for(var r=this.entries,a=0,o=r.length;a<o;a++)if(ve(n,r[a][0]))return r[a][1];return i},Ye.prototype.update=function(e,t,n,i,r,a,o){for(var s=r===b,l=this.entries,u=0,c=l.length;u<c&&!ve(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(k(o),(s||!d)&&k(a),!s||1!==l.length){if(!d&&!s&&l.length>=_t)return ut(e,l,i,r);var h=e&&e===this.ownerID,p=h?l:S(l);return d?s?u===c-1?p.pop():p[u]=p.pop():p[u]=[i,r]:p.push([i,r]),h?(this.entries=p,this):new Ye(e,p)}},Ze.prototype.get=function(e,t,n,i){void 0===t&&(t=Fe(n));var r=1<<((0===e?t:t>>>e)&y),a=this.bitmap;return 0==(a&r)?i:this.nodes[vt(a&r-1)].get(e+g,t,n,i)},Ze.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=Fe(i));var s=(0===t?n:n>>>t)&y,l=1<<s,u=this.bitmap,c=0!=(u&l);if(!c&&r===b)return this;var d=vt(u&l-1),h=this.nodes,p=c?h[d]:void 0,f=ot(p,e,t+g,n,i,r,a,o);if(f===p)return this;if(!c&&f&&h.length>=wt)return dt(e,h,u,s,f);if(c&&!f&&2===h.length&&st(h[1^d]))return h[1^d];if(c&&f&&1===h.length&&st(f))return f;var m=e&&e===this.ownerID,v=c?f?u:u^l:u|l,O=c?f?yt(h,d,f,m):Ot(h,d,m):bt(h,d,f,m);return m?(this.bitmap=v,this.nodes=O,this):new Ze(e,v,O)},He.prototype.get=function(e,t,n,i){void 0===t&&(t=Fe(n));var r=(0===e?t:t>>>e)&y,a=this.nodes[r];return a?a.get(e+g,t,n,i):i},He.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=Fe(i));var s=(0===t?n:n>>>t)&y,l=r===b,u=this.nodes,c=u[s];if(l&&!c)return this;var d=ot(c,e,t+g,n,i,r,a,o);if(d===c)return this;var h=this.count;if(c){if(!d&&--h<kt)return ct(e,u,h,s)}else h++;var p=e&&e===this.ownerID,f=yt(u,s,d,p);return p?(this.count=h,this.nodes=f,this):new He(e,h,f)},Ke.prototype.get=function(e,t,n,i){for(var r=this.entries,a=0,o=r.length;a<o;a++)if(ve(n,r[a][0]))return r[a][1];return i},Ke.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=Fe(i));var s=r===b;if(n!==this.keyHash)return s?this:(k(o),k(a),lt(this,e,t,n,[i,r]));for(var l=this.entries,u=0,c=l.length;u<c&&!ve(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(k(o),(s||!d)&&k(a),s&&2===c)return new Je(e,this.keyHash,l[1^u]);var h=e&&e===this.ownerID,p=h?l:S(l);return d?s?u===c-1?p.pop():p[u]=p.pop():p[u]=[i,r]:p.push([i,r]),h?(this.entries=p,this):new Ke(e,this.keyHash,p)},Je.prototype.get=function(e,t,n,i){return ve(n,this.entry[0])?this.entry[1]:i},Je.prototype.update=function(e,t,n,i,r,a,o){var s=r===b,l=ve(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(k(o),s?void k(a):l?e&&e===this.ownerID?(this.entry[1]=r,this):new Je(e,this.keyHash,[i,r]):(k(a),lt(this,e,t,Fe(i),[i,r])))},Ye.prototype.iterate=Ke.prototype.iterate=function(e,t){for(var n=this.entries,i=0,r=n.length-1;i<=r;i++)if(!1===e(n[t?r-i:i]))return!1},Ze.prototype.iterate=He.prototype.iterate=function(e,t){for(var n=this.nodes,i=0,r=n.length-1;i<=r;i++){var a=n[t?r-i:i];if(a&&!1===a.iterate(e,t))return!1}},Je.prototype.iterate=function(e,t){return e(this.entry)},t(et,j),et.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var n,i=t.node,r=t.index++;if(i.entry){if(0===r)return tt(e,i.entry)}else if(i.entries){if(r<=(n=i.entries.length-1))return tt(e,i.entries[this._reverse?n-r:r])}else if(r<=(n=i.nodes.length-1)){var a=i.nodes[this._reverse?n-r:r];if(a){if(a.entry)return tt(e,a.entry);t=this._stack=nt(a,t)}continue}t=this._stack=this._stack.__prev}return N()};var _t=v/4,wt=v/2,kt=v/4;function xt(e){var t=Lt();if(null==e)return t;if(St(e))return e;var n=r(e),i=n.size;return 0===i?t:(qe(i),i>0&&i<v?It(0,i,g,null,new Ft(n.toArray())):t.withMutations((function(e){e.setSize(i),n.forEach((function(t,n){return e.set(n,t)}))})))}function St(e){return!(!e||!e[Pt])}t(xt,xe),xt.of=function(){return this(arguments)},xt.prototype.toString=function(){return this.__toString("List [","]")},xt.prototype.get=function(e,t){if((e=E(this,e))>=0&&e<this.size){var n=Qt(this,e+=this._origin);return n&&n.array[e&y]}return t},xt.prototype.set=function(e,t){return zt(this,e,t)},xt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},xt.prototype.insert=function(e,t){return this.splice(e,0,t)},xt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=g,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Lt()},xt.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){jt(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},xt.prototype.pop=function(){return jt(this,0,-1)},xt.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){jt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},xt.prototype.shift=function(){return jt(this,1)},xt.prototype.merge=function(){return Mt(this,void 0,arguments)},xt.prototype.mergeWith=function(t){return Mt(this,t,e.call(arguments,1))},xt.prototype.mergeDeep=function(){return Mt(this,pt,arguments)},xt.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Mt(this,ft(t),n)},xt.prototype.setSize=function(e){return jt(this,0,e)},xt.prototype.slice=function(e,t){var n=this.size;return C(e,t,n)?this:jt(this,T(e,n),D(t,n))},xt.prototype.__iterator=function(e,t){var n=0,i=At(this,t);return new j((function(){var t=i();return t===Dt?N():M(e,n++,t)}))},xt.prototype.__iterate=function(e,t){for(var n,i=0,r=At(this,t);(n=r())!==Dt&&!1!==e(n,i++,this););return i},xt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?It(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},xt.isList=St;var Pt="@@__IMMUTABLE_LIST__@@",Et=xt.prototype;function Ft(e,t){this.array=e,this.ownerID=t}Et[Pt]=!0,Et[m]=Et.remove,Et.setIn=Ve.setIn,Et.deleteIn=Et.removeIn=Ve.removeIn,Et.update=Ve.update,Et.updateIn=Ve.updateIn,Et.mergeIn=Ve.mergeIn,Et.mergeDeepIn=Ve.mergeDeepIn,Et.withMutations=Ve.withMutations,Et.asMutable=Ve.asMutable,Et.asImmutable=Ve.asImmutable,Et.wasAltered=Ve.wasAltered,Ft.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var i=n>>>t&y;if(i>=this.array.length)return new Ft([],e);var r,a=0===i;if(t>0){var o=this.array[i];if((r=o&&o.removeBefore(e,t-g,n))===o&&a)return this}if(a&&!r)return this;var s=Rt(this,e);if(!a)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},Ft.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var i,r=n-1>>>t&y;if(r>=this.array.length)return this;if(t>0){var a=this.array[r];if((i=a&&a.removeAfter(e,t-g,n))===a&&r===this.array.length-1)return this}var o=Rt(this,e);return o.array.splice(r+1),i&&(o.array[r]=i),o};var Ct,Tt,Dt={};function At(e,t){var n=e._origin,i=e._capacity,r=Nt(i),a=e._tail;return o(e._root,e._level,0);function o(e,t,n){return 0===t?s(e,n):l(e,t,n)}function s(e,o){var s=o===r?a&&a.array:e&&e.array,l=o>n?0:n-o,u=i-o;return u>v&&(u=v),function(){if(l===u)return Dt;var e=t?--u:l++;return s&&s[e]}}function l(e,r,a){var s,l=e&&e.array,u=a>n?0:n-a>>r,c=1+(i-a>>r);return c>v&&(c=v),function(){for(;;){if(s){var e=s();if(e!==Dt)return e;s=null}if(u===c)return Dt;var n=t?--c:u++;s=o(l&&l[n],r-g,a+(n<<r))}}}}function It(e,t,n,i,r,a,o){var s=Object.create(Et);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=i,s._tail=r,s.__ownerID=a,s.__hash=o,s.__altered=!1,s}function Lt(){return Ct||(Ct=It(0,0,g))}function zt(e,t,n){if((t=E(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?jt(e,t).set(0,n):jt(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,a=w(_);return t>=Nt(e._capacity)?i=$t(i,e.__ownerID,0,t,n,a):r=$t(r,e.__ownerID,e._level,t,n,a),a.value?e.__ownerID?(e._root=r,e._tail=i,e.__hash=void 0,e.__altered=!0,e):It(e._origin,e._capacity,e._level,r,i):e}function $t(e,t,n,i,r,a){var o,s=i>>>n&y,l=e&&s<e.array.length;if(!l&&void 0===r)return e;if(n>0){var u=e&&e.array[s],c=$t(u,t,n-g,i,r,a);return c===u?e:((o=Rt(e,t)).array[s]=c,o)}return l&&e.array[s]===r?e:(k(a),o=Rt(e,t),void 0===r&&s===o.array.length-1?o.array.pop():o.array[s]=r,o)}function Rt(e,t){return t&&e&&t===e.ownerID?e:new Ft(e?e.array.slice():[],t)}function Qt(e,t){if(t>=Nt(e._capacity))return e._tail;if(t<1<<e._level+g){for(var n=e._root,i=e._level;n&&i>0;)n=n.array[t>>>i&y],i-=g;return n}}function jt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new x,r=e._origin,a=e._capacity,o=r+t,s=void 0===n?a:n<0?a+n:r+n;if(o===r&&s===a)return e;if(o>=s)return e.clear();for(var l=e._level,u=e._root,c=0;o+c<0;)u=new Ft(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=g);c&&(o+=c,r+=c,s+=c,a+=c);for(var d=Nt(a),h=Nt(s);h>=1<<l+g;)u=new Ft(u&&u.array.length?[u]:[],i),l+=g;var p=e._tail,f=h<d?Qt(e,s-1):h>d?new Ft([],i):p;if(p&&h>d&&o<a&&p.array.length){for(var m=u=Rt(u,i),v=l;v>g;v-=g){var b=d>>>v&y;m=m.array[b]=Rt(m.array[b],i)}m.array[d>>>g&y]=p}if(s<a&&(f=f&&f.removeAfter(i,0,s)),o>=h)o-=h,s-=h,l=g,u=null,f=f&&f.removeBefore(i,0,o);else if(o>r||h<d){for(c=0;u;){var O=o>>>l&y;if(O!==h>>>l&y)break;O&&(c+=(1<<l)*O),l-=g,u=u.array[O]}u&&o>r&&(u=u.removeBefore(i,l,o-c)),u&&h<d&&(u=u.removeAfter(i,l,h-c)),c&&(o-=c,s-=c)}return e.__ownerID?(e.size=s-o,e._origin=o,e._capacity=s,e._level=l,e._root=u,e._tail=f,e.__hash=void 0,e.__altered=!0,e):It(o,s,l,u,f)}function Mt(e,t,n){for(var i=[],a=0,s=0;s<n.length;s++){var l=n[s],u=r(l);u.size>a&&(a=u.size),o(l)||(u=u.map((function(e){return pe(e)}))),i.push(u)}return a>e.size&&(e=e.setSize(a)),mt(e,t,i)}function Nt(e){return e<v?0:e-1>>>g<<g}function Ut(e){return null==e?Gt():qt(e)?e:Gt().withMutations((function(t){var n=i(e);qe(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function qt(e){return Ge(e)&&c(e)}function Bt(e,t,n,i){var r=Object.create(Ut.prototype);return r.size=e?e.size:0,r._map=e,r._list=t,r.__ownerID=n,r.__hash=i,r}function Gt(){return Tt||(Tt=Bt(rt(),Lt()))}function Wt(e,t,n){var i,r,a=e._map,o=e._list,s=a.get(t),l=void 0!==s;if(n===b){if(!l)return e;o.size>=v&&o.size>=2*a.size?(r=o.filter((function(e,t){return void 0!==e&&s!==t})),i=r.toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(i.__ownerID=r.__ownerID=e.__ownerID)):(i=a.remove(t),r=s===o.size-1?o.pop():o.set(s,void 0))}else if(l){if(n===o.get(s)[1])return e;i=a,r=o.set(s,[t,n])}else i=a.set(t,o.size),r=o.set(o.size,[t,n]);return e.__ownerID?(e.size=i.size,e._map=i,e._list=r,e.__hash=void 0,e):Bt(i,r)}function Xt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Vt(e){this._iter=e,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Zt(e){this._iter=e,this.size=e.size}function Ht(e){var t=bn(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=On,t.__iterateUncached=function(t,n){var i=this;return e.__iterate((function(e,n){return!1!==t(n,e,i)}),n)},t.__iteratorUncached=function(t,n){if(t===z){var i=e.__iterator(t,n);return new j((function(){var e=i.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(t===L?I:L,n)},t}function Kt(e,t,n){var i=bn(e);return i.size=e.size,i.has=function(t){return e.has(t)},i.get=function(i,r){var a=e.get(i,b);return a===b?r:t.call(n,a,i,e)},i.__iterateUncached=function(i,r){var a=this;return e.__iterate((function(e,r,o){return!1!==i(t.call(n,e,r,o),r,a)}),r)},i.__iteratorUncached=function(i,r){var a=e.__iterator(z,r);return new j((function(){var r=a.next();if(r.done)return r;var o=r.value,s=o[0];return M(i,s,t.call(n,o[1],s,e),r)}))},i}function Jt(e,t){var n=bn(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=Ht(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,i){return e.get(t?n:-1-n,i)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=On,n.__iterate=function(t,n){var i=this;return e.__iterate((function(e,n){return t(e,n,i)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function en(e,t,n,i){var r=bn(e);return i&&(r.has=function(i){var r=e.get(i,b);return r!==b&&!!t.call(n,r,i,e)},r.get=function(i,r){var a=e.get(i,b);return a!==b&&t.call(n,a,i,e)?a:r}),r.__iterateUncached=function(r,a){var o=this,s=0;return e.__iterate((function(e,a,l){if(t.call(n,e,a,l))return s++,r(e,i?a:s-1,o)}),a),s},r.__iteratorUncached=function(r,a){var o=e.__iterator(z,a),s=0;return new j((function(){for(;;){var a=o.next();if(a.done)return a;var l=a.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return M(r,i?u:s++,c,a)}}))},r}function tn(e,t,n){var i=Be().asMutable();return e.__iterate((function(r,a){i.update(t.call(n,r,a,e),0,(function(e){return e+1}))})),i.asImmutable()}function nn(e,t,n){var i=s(e),r=(c(e)?Ut():Be()).asMutable();e.__iterate((function(a,o){r.update(t.call(n,a,o,e),(function(e){return(e=e||[]).push(i?[o,a]:a),e}))}));var a=yn(e);return r.map((function(t){return mn(e,a(t))}))}function rn(e,t,n,i){var r=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),C(t,n,r))return e;var a=T(t,r),o=D(n,r);if(a!=a||o!=o)return rn(e.toSeq().cacheResult(),t,n,i);var s,l=o-a;l==l&&(s=l<0?0:l);var u=bn(e);return u.size=0===s?s:e.size&&s||void 0,!i&&ae(e)&&s>=0&&(u.get=function(t,n){return(t=E(this,t))>=0&&t<s?e.get(t+a,n):n}),u.__iterateUncached=function(t,n){var r=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var o=0,l=!0,u=0;return e.__iterate((function(e,n){if(!l||!(l=o++<a))return u++,!1!==t(e,i?n:u-1,r)&&u!==s})),u},u.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var r=0!==s&&e.__iterator(t,n),o=0,l=0;return new j((function(){for(;o++<a;)r.next();if(++l>s)return N();var e=r.next();return i||t===L?e:M(t,l-1,t===I?void 0:e.value[1],e)}))},u}function an(e,t,n){var i=bn(e);return i.__iterateUncached=function(i,r){var a=this;if(r)return this.cacheResult().__iterate(i,r);var o=0;return e.__iterate((function(e,r,s){return t.call(n,e,r,s)&&++o&&i(e,r,a)})),o},i.__iteratorUncached=function(i,r){var a=this;if(r)return this.cacheResult().__iterator(i,r);var o=e.__iterator(z,r),s=!0;return new j((function(){if(!s)return N();var e=o.next();if(e.done)return e;var r=e.value,l=r[0],u=r[1];return t.call(n,u,l,a)?i===z?e:M(i,l,u,e):(s=!1,N())}))},i}function on(e,t,n,i){var r=bn(e);return r.__iterateUncached=function(r,a){var o=this;if(a)return this.cacheResult().__iterate(r,a);var s=!0,l=0;return e.__iterate((function(e,a,u){if(!s||!(s=t.call(n,e,a,u)))return l++,r(e,i?a:l-1,o)})),l},r.__iteratorUncached=function(r,a){var o=this;if(a)return this.cacheResult().__iterator(r,a);var s=e.__iterator(z,a),l=!0,u=0;return new j((function(){var e,a,c;do{if((e=s.next()).done)return i||r===L?e:M(r,u++,r===I?void 0:e.value[1],e);var d=e.value;a=d[0],c=d[1],l&&(l=t.call(n,c,a,o))}while(l);return r===z?e:M(r,a,c,e)}))},r}function sn(e,t){var n=s(e),r=[e].concat(t).map((function(e){return o(e)?n&&(e=i(e)):e=n?se(e):le(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===r.length)return e;if(1===r.length){var a=r[0];if(a===e||n&&s(a)||l(e)&&l(a))return a}var u=new te(r);return n?u=u.toKeyedSeq():l(e)||(u=u.toSetSeq()),(u=u.flatten(!0)).size=r.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),u}function ln(e,t,n){var i=bn(e);return i.__iterateUncached=function(i,r){var a=0,s=!1;function l(e,u){var c=this;e.__iterate((function(e,r){return(!t||u<t)&&o(e)?l(e,u+1):!1===i(e,n?r:a++,c)&&(s=!0),!s}),r)}return l(e,0),a},i.__iteratorUncached=function(i,r){var a=e.__iterator(i,r),s=[],l=0;return new j((function(){for(;a;){var e=a.next();if(!1===e.done){var u=e.value;if(i===z&&(u=u[1]),t&&!(s.length<t)||!o(u))return n?e:M(i,l++,u,e);s.push(a),a=u.__iterator(i,r)}else a=s.pop()}return N()}))},i}function un(e,t,n){var i=yn(e);return e.toSeq().map((function(r,a){return i(t.call(n,r,a,e))})).flatten(!0)}function cn(e,t){var n=bn(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,i){var r=this,a=0;return e.__iterate((function(e,i){return(!a||!1!==n(t,a++,r))&&!1!==n(e,a++,r)}),i),a},n.__iteratorUncached=function(n,i){var r,a=e.__iterator(L,i),o=0;return new j((function(){return(!r||o%2)&&(r=a.next()).done?r:o%2?M(n,o++,t):M(n,o++,r.value,r)}))},n}function dn(e,t,n){t||(t=_n);var i=s(e),r=0,a=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).toArray();return a.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){a[t].length=2}:function(e,t){a[t]=e[1]}),i?V(a):l(e)?Y(a):Z(a)}function hn(e,t,n){if(t||(t=_n),n){var i=e.toSeq().map((function(t,i){return[t,n(t,i,e)]})).reduce((function(e,n){return pn(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return pn(t,e,n)?n:e}))}function pn(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function fn(e,t,i){var r=bn(e);return r.size=new te(i).map((function(e){return e.size})).min(),r.__iterate=function(e,t){for(var n,i=this.__iterator(L,t),r=0;!(n=i.next()).done&&!1!==e(n.value,r++,this););return r},r.__iteratorUncached=function(e,r){var a=i.map((function(e){return e=n(e),B(r?e.reverse():e)})),o=0,s=!1;return new j((function(){var n;return s||(n=a.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?N():M(e,o++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function mn(e,t){return ae(e)?t:e.constructor(t)}function gn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function vn(e){return qe(e.size),P(e)}function yn(e){return s(e)?i:l(e)?r:a}function bn(e){return Object.create((s(e)?V:l(e)?Y:Z).prototype)}function On(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):X.prototype.cacheResult.call(this)}function _n(e,t){return e>t?1:e<t?-1:0}function wn(e){var t=B(e);if(!t){if(!W(e))throw new TypeError("Expected iterable or array-like: "+e);t=B(n(e))}return t}function kn(e,t){var n,i=function(a){if(a instanceof i)return a;if(!(this instanceof i))return new i(a);if(!n){n=!0;var o=Object.keys(e);En(r,o),r.size=o.length,r._name=t,r._keys=o,r._defaultValues=e}this._map=Be(a)},r=i.prototype=Object.create(xn);return r.constructor=i,i}t(Ut,Be),Ut.of=function(){return this(arguments)},Ut.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Ut.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Ut.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Gt()},Ut.prototype.set=function(e,t){return Wt(this,e,t)},Ut.prototype.remove=function(e){return Wt(this,e,b)},Ut.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Ut.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},Ut.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Ut.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?Bt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Ut.isOrderedMap=qt,Ut.prototype[f]=!0,Ut.prototype[m]=Ut.prototype.remove,t(Xt,V),Xt.prototype.get=function(e,t){return this._iter.get(e,t)},Xt.prototype.has=function(e){return this._iter.has(e)},Xt.prototype.valueSeq=function(){return this._iter.valueSeq()},Xt.prototype.reverse=function(){var e=this,t=Jt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Xt.prototype.map=function(e,t){var n=this,i=Kt(this,e,t);return this._useKeys||(i.valueSeq=function(){return n._iter.toSeq().map(e,t)}),i},Xt.prototype.__iterate=function(e,t){var n,i=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,i)}:(n=t?vn(this):0,function(r){return e(r,t?--n:n++,i)}),t)},Xt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(L,t),i=t?vn(this):0;return new j((function(){var r=n.next();return r.done?r:M(e,t?--i:i++,r.value,r)}))},Xt.prototype[f]=!0,t(Vt,Y),Vt.prototype.includes=function(e){return this._iter.includes(e)},Vt.prototype.__iterate=function(e,t){var n=this,i=0;return this._iter.__iterate((function(t){return e(t,i++,n)}),t)},Vt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(L,t),i=0;return new j((function(){var t=n.next();return t.done?t:M(e,i++,t.value,t)}))},t(Yt,Z),Yt.prototype.has=function(e){return this._iter.includes(e)},Yt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Yt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(L,t);return new j((function(){var t=n.next();return t.done?t:M(e,t.value,t.value,t)}))},t(Zt,V),Zt.prototype.entrySeq=function(){return this._iter.toSeq()},Zt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){gn(t);var i=o(t);return e(i?t.get(1):t[1],i?t.get(0):t[0],n)}}),t)},Zt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(L,t);return new j((function(){for(;;){var t=n.next();if(t.done)return t;var i=t.value;if(i){gn(i);var r=o(i);return M(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},Vt.prototype.cacheResult=Xt.prototype.cacheResult=Yt.prototype.cacheResult=Zt.prototype.cacheResult=On,t(kn,ke),kn.prototype.toString=function(){return this.__toString(Pn(this)+" {","}")},kn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},kn.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},kn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Sn(this,rt()))},kn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Pn(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Sn(this,n)},kn.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:Sn(this,t)},kn.prototype.wasAltered=function(){return this._map.wasAltered()},kn.prototype.__iterator=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},kn.prototype.__iterate=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},kn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Sn(this,t,e):(this.__ownerID=e,this._map=t,this)};var xn=kn.prototype;function Sn(e,t,n){var i=Object.create(Object.getPrototypeOf(e));return i._map=t,i.__ownerID=n,i}function Pn(e){return e._name||e.constructor.name||"Record"}function En(e,t){try{t.forEach(Fn.bind(void 0,e))}catch(e){}}function Fn(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){Oe(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function Cn(e){return null==e?$n():Tn(e)&&!c(e)?e:$n().withMutations((function(t){var n=a(e);qe(n.size),n.forEach((function(e){return t.add(e)}))}))}function Tn(e){return!(!e||!e[An])}xn[m]=xn.remove,xn.deleteIn=xn.removeIn=Ve.removeIn,xn.merge=Ve.merge,xn.mergeWith=Ve.mergeWith,xn.mergeIn=Ve.mergeIn,xn.mergeDeep=Ve.mergeDeep,xn.mergeDeepWith=Ve.mergeDeepWith,xn.mergeDeepIn=Ve.mergeDeepIn,xn.setIn=Ve.setIn,xn.update=Ve.update,xn.updateIn=Ve.updateIn,xn.withMutations=Ve.withMutations,xn.asMutable=Ve.asMutable,xn.asImmutable=Ve.asImmutable,t(Cn,Se),Cn.of=function(){return this(arguments)},Cn.fromKeys=function(e){return this(i(e).keySeq())},Cn.prototype.toString=function(){return this.__toString("Set {","}")},Cn.prototype.has=function(e){return this._map.has(e)},Cn.prototype.add=function(e){return Ln(this,this._map.set(e,!0))},Cn.prototype.remove=function(e){return Ln(this,this._map.remove(e))},Cn.prototype.clear=function(){return Ln(this,this._map.clear())},Cn.prototype.union=function(){var t=e.call(arguments,0);return t=t.filter((function(e){return 0!==e.size})),0===t.length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(e){for(var n=0;n<t.length;n++)a(t[n]).forEach((function(t){return e.add(t)}))})):this.constructor(t[0])},Cn.prototype.intersect=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return a(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.every((function(e){return e.includes(n)}))||e.remove(n)}))}))},Cn.prototype.subtract=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return a(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.some((function(e){return e.includes(n)}))&&e.remove(n)}))}))},Cn.prototype.merge=function(){return this.union.apply(this,arguments)},Cn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},Cn.prototype.sort=function(e){return Rn(dn(this,e))},Cn.prototype.sortBy=function(e,t){return Rn(dn(this,t,e))},Cn.prototype.wasAltered=function(){return this._map.wasAltered()},Cn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,i){return e(i,i,n)}),t)},Cn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Cn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):(this.__ownerID=e,this._map=t,this)},Cn.isSet=Tn;var Dn,An="@@__IMMUTABLE_SET__@@",In=Cn.prototype;function Ln(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._map?e:0===t.size?e.__empty():e.__make(t)}function zn(e,t){var n=Object.create(In);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function $n(){return Dn||(Dn=zn(rt()))}function Rn(e){return null==e?Un():Qn(e)?e:Un().withMutations((function(t){var n=a(e);qe(n.size),n.forEach((function(e){return t.add(e)}))}))}function Qn(e){return Tn(e)&&c(e)}In[An]=!0,In[m]=In.remove,In.mergeDeep=In.merge,In.mergeDeepWith=In.mergeWith,In.withMutations=Ve.withMutations,In.asMutable=Ve.asMutable,In.asImmutable=Ve.asImmutable,In.__empty=$n,In.__make=zn,t(Rn,Cn),Rn.of=function(){return this(arguments)},Rn.fromKeys=function(e){return this(i(e).keySeq())},Rn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Rn.isOrderedSet=Qn;var jn,Mn=Rn.prototype;function Nn(e,t){var n=Object.create(Mn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Un(){return jn||(jn=Nn(Gt()))}function qn(e){return null==e?Yn():Bn(e)?e:Yn().unshiftAll(e)}function Bn(e){return!(!e||!e[Wn])}Mn[f]=!0,Mn.__empty=Un,Mn.__make=Nn,t(qn,xe),qn.of=function(){return this(arguments)},qn.prototype.toString=function(){return this.__toString("Stack [","]")},qn.prototype.get=function(e,t){var n=this._head;for(e=E(this,e);n&&e--;)n=n.next;return n?n.value:t},qn.prototype.peek=function(){return this._head&&this._head.value},qn.prototype.push=function(){if(0===arguments.length)return this;for(var e=this.size+arguments.length,t=this._head,n=arguments.length-1;n>=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Vn(e,t)},qn.prototype.pushAll=function(e){if(0===(e=r(e)).size)return this;qe(e.size);var t=this.size,n=this._head;return e.reverse().forEach((function(e){t++,n={value:e,next:n}})),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Vn(t,n)},qn.prototype.pop=function(){return this.slice(1)},qn.prototype.unshift=function(){return this.push.apply(this,arguments)},qn.prototype.unshiftAll=function(e){return this.pushAll(e)},qn.prototype.shift=function(){return this.pop.apply(this,arguments)},qn.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Yn()},qn.prototype.slice=function(e,t){if(C(e,t,this.size))return this;var n=T(e,this.size);if(D(t,this.size)!==this.size)return xe.prototype.slice.call(this,e,t);for(var i=this.size-n,r=this._head;n--;)r=r.next;return this.__ownerID?(this.size=i,this._head=r,this.__hash=void 0,this.__altered=!0,this):Vn(i,r)},qn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Vn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},qn.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,i=this._head;i&&!1!==e(i.value,n++,this);)i=i.next;return n},qn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,i=this._head;return new j((function(){if(i){var t=i.value;return i=i.next,M(e,n++,t)}return N()}))},qn.isStack=Bn;var Gn,Wn="@@__IMMUTABLE_STACK__@@",Xn=qn.prototype;function Vn(e,t,n,i){var r=Object.create(Xn);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function Yn(){return Gn||(Gn=Vn(0))}function Zn(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}Xn[Wn]=!0,Xn.withMutations=Ve.withMutations,Xn.asMutable=Ve.asMutable,Xn.asImmutable=Ve.asImmutable,Xn.wasAltered=Ve.wasAltered,n.Iterator=j,Zn(n,{toArray:function(){qe(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Vt(this)},toJS:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJS?e.toJS():e})).__toJS()},toJSON:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e})).__toJS()},toKeyedSeq:function(){return new Xt(this,!0)},toMap:function(){return Be(this.toKeyedSeq())},toObject:function(){qe(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return Ut(this.toKeyedSeq())},toOrderedSet:function(){return Rn(s(this)?this.valueSeq():this)},toSet:function(){return Cn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Yt(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return qn(s(this)?this.valueSeq():this)},toList:function(){return xt(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return mn(this,sn(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return ve(t,e)}))},entries:function(){return this.__iterator(z)},every:function(e,t){qe(this.size);var n=!0;return this.__iterate((function(i,r,a){if(!e.call(t,i,r,a))return n=!1,!1})),n},filter:function(e,t){return mn(this,en(this,e,t,!0))},find:function(e,t,n){var i=this.findEntry(e,t);return i?i[1]:n},findEntry:function(e,t){var n;return this.__iterate((function(i,r,a){if(e.call(t,i,r,a))return n=[r,i],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return qe(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){qe(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(i){n?n=!1:t+=e,t+=null!=i?i.toString():""})),t},keys:function(){return this.__iterator(I)},map:function(e,t){return mn(this,Kt(this,e,t))},reduce:function(e,t,n){var i,r;return qe(this.size),arguments.length<2?r=!0:i=t,this.__iterate((function(t,a,o){r?(r=!1,i=t):i=e.call(n,i,t,a,o)})),i},reduceRight:function(e,t,n){var i=this.toKeyedSeq().reverse();return i.reduce.apply(i,arguments)},reverse:function(){return mn(this,Jt(this,!0))},slice:function(e,t){return mn(this,rn(this,e,t,!0))},some:function(e,t){return!this.every(ti(e),t)},sort:function(e){return mn(this,dn(this,e))},values:function(){return this.__iterator(L)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(e,t){return P(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return tn(this,e,t)},equals:function(e){return ye(this,e)},entrySeq:function(){var e=this;if(e._cache)return new te(e._cache);var t=e.toSeq().map(ei).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(ti(e),t)},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},first:function(){return this.find(F)},flatMap:function(e,t){return mn(this,un(this,e,t))},flatten:function(e){return mn(this,ln(this,e,!0))},fromEntrySeq:function(){return new Zt(this)},get:function(e,t){return this.find((function(t,n){return ve(n,e)}),void 0,t)},getIn:function(e,t){for(var n,i=this,r=wn(e);!(n=r.next()).done;){var a=n.value;if((i=i&&i.get?i.get(a,b):b)===b)return t}return i},groupBy:function(e,t){return nn(this,e,t)},has:function(e){return this.get(e,b)!==b},hasIn:function(e){return this.getIn(e,b)!==b},isSubset:function(e){return e="function"==typeof e.includes?e:n(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:n(e)).isSubset(this)},keySeq:function(){return this.toSeq().map(Jn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return hn(this,e)},maxBy:function(e,t){return hn(this,t,e)},min:function(e){return hn(this,e?ni(e):ai)},minBy:function(e,t){return hn(this,t?ni(t):ai,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return mn(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return mn(this,on(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(ti(e),t)},sortBy:function(e,t){return mn(this,dn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return mn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return mn(this,an(this,e,t))},takeUntil:function(e,t){return this.takeWhile(ti(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=oi(this))}});var Hn=n.prototype;Hn[d]=!0,Hn[Q]=Hn.values,Hn.__toJS=Hn.toArray,Hn.__toStringMapper=ii,Hn.inspect=Hn.toSource=function(){return this.toString()},Hn.chain=Hn.flatMap,Hn.contains=Hn.includes,function(){try{Object.defineProperty(Hn,"length",{get:function(){if(!n.noLengthWarning){var e;try{throw new Error}catch(t){e=t.stack}if(-1===e.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+e),this.size}}})}catch(e){}}(),Zn(i,{flip:function(){return mn(this,Ht(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey((function(t){return ve(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return ve(t,e)}))},mapEntries:function(e,t){var n=this,i=0;return mn(this,this.toSeq().map((function(r,a){return e.call(t,[a,r],i++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return mn(this,this.toSeq().flip().map((function(i,r){return e.call(t,i,r,n)})).flip())}});var Kn=i.prototype;function Jn(e,t){return t}function ei(e,t){return[t,e]}function ti(e){return function(){return!e.apply(this,arguments)}}function ni(e){return function(){return-e.apply(this,arguments)}}function ii(e){return"string"==typeof e?JSON.stringify(e):e}function ri(){return S(arguments)}function ai(e,t){return e<t?1:e>t?-1:0}function oi(e){if(e.size===1/0)return 0;var t=c(e),n=s(e),i=t?1:0,r=e.__iterate(n?t?function(e,t){i=31*i+li(Fe(e),Fe(t))|0}:function(e,t){i=i+li(Fe(e),Fe(t))|0}:t?function(e){i=31*i+Fe(e)|0}:function(e){i=i+Fe(e)|0});return si(r,i)}function si(e,t){return t=Pe(t,3432918353),t=Pe(t<<15|t>>>-15,461845907),t=Pe(t<<13|t>>>-13,5),t=Pe((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Ee((t=Pe(t^t>>>13,3266489909))^t>>>16)}function li(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Kn[h]=!0,Kn[Q]=Hn.entries,Kn.__toJS=Hn.toObject,Kn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+ii(e)},Zn(r,{toKeyedSeq:function(){return new Xt(this,!1)},filter:function(e,t){return mn(this,en(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.toKeyedSeq().keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.toKeyedSeq().reverse().keyOf(e);return void 0===t?-1:t},reverse:function(){return mn(this,Jt(this,!1))},slice:function(e,t){return mn(this,rn(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=T(e,e<0?this.count():this.size);var i=this.slice(0,e);return mn(this,1===n?i:i.concat(S(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.toKeyedSeq().findLastKey(e,t);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(e){return mn(this,ln(this,e,!1))},get:function(e,t){return(e=E(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,n){return n===e}),void 0,t)},has:function(e){return(e=E(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return mn(this,cn(this,e))},interleave:function(){var e=[this].concat(S(arguments)),t=fn(this.toSeq(),Y.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),mn(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return mn(this,on(this,e,t,!1))},zip:function(){return mn(this,fn(this,ri,[this].concat(S(arguments))))},zipWith:function(e){var t=S(arguments);return t[0]=this,mn(this,fn(this,e,t))}}),r.prototype[p]=!0,r.prototype[f]=!0,Zn(a,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),a.prototype.has=Hn.includes,Zn(V,i.prototype),Zn(Y,r.prototype),Zn(Z,a.prototype),Zn(ke,i.prototype),Zn(xe,r.prototype),Zn(Se,a.prototype),{Iterable:n,Seq:X,Collection:we,Map:Be,OrderedMap:Ut,List:xt,Stack:qn,Set:Cn,OrderedSet:Rn,Record:kn,Range:_e,Repeat:be,is:ve,fromJS:pe}}()}(HWe);var KWe=HWe.exports.OrderedMap,JWe={createFromArray:function(e){return KWe(e.map((function(e){return[e.getKey(),e]})))}},eXe=JWe;var tXe=HWe.exports,nXe=tXe.Map,iXe=tXe.OrderedSet,rXe=tXe.Record,aXe=iXe(),oXe={style:aXe,entity:null},sXe=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.getStyle=function(){return this.get("style")},r.getEntity=function(){return this.get("entity")},r.hasStyle=function(e){return this.getStyle().includes(e)},i.applyStyle=function(e,t){var n=e.set("style",e.getStyle().add(t));return i.create(n)},i.removeStyle=function(e,t){var n=e.set("style",e.getStyle().remove(t));return i.create(n)},i.applyEntity=function(e,t){var n=e.getEntity()===t?e:e.set("entity",t);return i.create(n)},i.create=function(e){if(!e)return lXe;var t=nXe({style:aXe,entity:null}).merge(e),n=uXe.get(t);if(n)return n;var r=new i(t);return uXe=uXe.set(t,r),r},i.fromJS=function(e){var t=e.style,n=e.entity;return new i({style:Array.isArray(t)?iXe(t):t,entity:Array.isArray(n)?iXe(n):n})},i}(rXe(oXe)),lXe=new sXe,uXe=nXe([[nXe(oXe),lXe]]);sXe.EMPTY=lXe;var cXe=sXe;var dXe=function(e,t,n,i){if(e.size){var r=0;e.reduce((function(e,a,o){return t(e,a)||(n(e)&&i(r,o),r=o),a})),n(e.last())&&i(r,e.count())}};var hXe=cXe,pXe=dXe,fXe=HWe.exports,mXe=fXe.List,gXe=fXe.Map,vXe=fXe.OrderedSet,yXe=fXe.Record,bXe=fXe.Repeat,OXe=vXe(),_Xe=yXe({key:"",type:"unstyled",text:"",characterList:mXe(),depth:0,data:gXe()}),wXe=function(e){var t,n;function i(t){return e.call(this,function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=mXe(bXe(hXe.EMPTY,n.length))),e}(t))||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.getKey=function(){return this.get("key")},r.getType=function(){return this.get("type")},r.getText=function(){return this.get("text")},r.getCharacterList=function(){return this.get("characterList")},r.getLength=function(){return this.getText().length},r.getDepth=function(){return this.get("depth")},r.getData=function(){return this.get("data")},r.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():OXe},r.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},r.findStyleRanges=function(e,t){pXe(this.getCharacterList(),kXe,e,t)},r.findEntityRanges=function(e,t){pXe(this.getCharacterList(),xXe,e,t)},i}(_Xe);function kXe(e,t){return e.getStyle()===t.getStyle()}function xXe(e,t){return e.getEntity()===t.getEntity()}var SXe=wXe;var PXe=cXe,EXe=dXe,FXe=HWe.exports,CXe=FXe.List,TXe=FXe.Map,DXe=FXe.OrderedSet,AXe=FXe.Record,IXe=FXe.Repeat,LXe=DXe(),zXe={parent:null,characterList:CXe(),data:TXe(),depth:0,key:"",text:"",type:"unstyled",children:CXe(),prevSibling:null,nextSibling:null},$Xe=function(e,t){return e.getStyle()===t.getStyle()},RXe=function(e,t){return e.getEntity()===t.getEntity()},QXe=function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=CXe(IXe(PXe.EMPTY,n.length))),e},jXe=function(e){var t,n;function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:zXe;return e.call(this,QXe(t))||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.getKey=function(){return this.get("key")},r.getType=function(){return this.get("type")},r.getText=function(){return this.get("text")},r.getCharacterList=function(){return this.get("characterList")},r.getLength=function(){return this.getText().length},r.getDepth=function(){return this.get("depth")},r.getData=function(){return this.get("data")},r.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():LXe},r.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},r.getChildKeys=function(){return this.get("children")},r.getParentKey=function(){return this.get("parent")},r.getPrevSiblingKey=function(){return this.get("prevSibling")},r.getNextSiblingKey=function(){return this.get("nextSibling")},r.findStyleRanges=function(e,t){EXe(this.getCharacterList(),$Xe,e,t)},r.findEntityRanges=function(e,t){EXe(this.getCharacterList(),RXe,e,t)},i}(AXe(zXe)),MXe=jXe,NXe=cXe,UXe=HWe.exports.Map;function qXe(e,t,n,i){var r=e.getBlockMap(),a=t.getStartKey(),o=t.getStartOffset(),s=t.getEndKey(),l=t.getEndOffset(),u=r.skipUntil((function(e,t){return t===a})).takeUntil((function(e,t){return t===s})).concat(UXe([[s,r.get(s)]])).map((function(e,t){var r,u;a===s?(r=o,u=l):(r=t===a?o:0,u=t===s?l:e.getLength());for(var c,d=e.getCharacterList();r<u;)c=d.get(r),d=d.set(r,i?NXe.applyStyle(c,n):NXe.removeStyle(c,n)),r++;return e.set("characterList",d)}));return e.merge({blockMap:r.merge(u),selectionBefore:t,selectionAfter:t})}var BXe={add:function(e,t,n){return qXe(e,t,n,!0)},remove:function(e,t,n){return qXe(e,t,n,!1)}},GXe=cXe;var WXe=function(e,t,n,i){for(var r=t,a=e.getCharacterList();r<n;)a=a.set(r,GXe.applyEntity(a.get(r),i)),r++;return e.set("characterList",a)},XXe=WXe,VXe=HWe.exports;var YXe=function(e,t,n){var i=e.getBlockMap(),r=t.getStartKey(),a=t.getStartOffset(),o=t.getEndKey(),s=t.getEndOffset(),l=i.skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===o})).toOrderedMap().merge(VXe.OrderedMap([[o,i.get(o)]])).map((function(e,t){var i=t===r?a:0,l=t===o?s:e.getLength();return XXe(e,i,l,n)}));return e.merge({blockMap:i.merge(l),selectionBefore:t,selectionAfter:t})},ZXe={getRemovalRange:function(e,t,n,i,r){var a=n.split(" ");a=a.map((function(e,t){if("forward"===r){if(t>0)return" "+e}else if(t<a.length-1)return e+" ";return e}));for(var o,s=i,l=null,u=null,c=0;c<a.length;c++){if(e<(o=s+a[c].length)&&s<t)null!==l||(l=s),u=o;else if(null!==l)break;s=o}var d=i+n.length,h=l===i,p=u===d;return(!h&&p||h&&!p)&&("forward"===r?u!==d&&u++:l!==i&&l--),{start:l,end:u}}},HXe="production"!==go.env.NODE_ENV?function(e){}:function(e){if(void 0===e)throw new Error("invariant(...): Second argument must be a string.")};var KXe=function(e,t){for(var n=arguments.length,i=new Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];if(HXe(t),!e){var a;if(void 0===t)a=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var o=0;(a=new Error(t.replace(/%s/g,(function(){return String(i[o++])})))).name="Invariant Violation"}throw a.framesToPop=1,a}},JXe=KXe;var eVe=function(e,t){var n=[];return e.findEntityRanges((function(e){return e.getEntity()===t}),(function(e,t){n.push({start:e,end:t})})),n.length||("production"!==go.env.NODE_ENV?JXe(!1,"Entity key not found in this range."):JXe(!1)),n},tVe=ZXe,nVe=eVe,iVe=KXe;function rVe(e,t,n,i,r,a,o){var s=n.getStartOffset(),l=n.getEndOffset(),u=e.__get(r).getMutability(),c=o?s:l;if("MUTABLE"===u)return n;var d=nVe(t,r).filter((function(e){return c<=e.end&&c>=e.start}));1!=d.length&&("production"!==go.env.NODE_ENV?iVe(!1,"There should only be one entity range within this removal range."):iVe(!1));var h=d[0];if("IMMUTABLE"===u)return n.merge({anchorOffset:h.start,focusOffset:h.end,isBackward:!1});a||(o?l=h.end:s=h.start);var p=tVe.getRemovalRange(s,l,t.getText().slice(h.start,h.end),h.start,i);return n.merge({anchorOffset:p.start,focusOffset:p.end,isBackward:!1})}var aVe=function(e,t,n,i,r){var a=i.getStartOffset(),o=i.getEndOffset(),s=t.getEntityAt(a),l=n.getEntityAt(o-1);if(!s&&!l)return i;var u=i;if(s&&s===l)u=rVe(e,t,u,r,s,!0,!0);else if(s&&l){var c=rVe(e,t,u,r,s,!1,!0),d=rVe(e,n,u,r,l,!1,!1);u=u.merge({anchorOffset:c.getAnchorOffset(),focusOffset:d.getFocusOffset(),isBackward:!1})}else if(s){var h=rVe(e,t,u,r,s,!1,!0);u=u.merge({anchorOffset:h.getStartOffset(),isBackward:!1})}else if(l){var p=rVe(e,n,u,r,l,!1,!1);u=u.merge({focusOffset:p.getEndOffset(),isBackward:!1})}return u},oVe={},sVe=Math.pow(2,24);var lVe=function(){for(var e;void 0===e||oVe.hasOwnProperty(e)||!isNaN(+e);)e=Math.floor(Math.random()*sVe).toString(32);return oVe[e]=!0,e},uVe=MXe,cVe=lVe,dVe=HWe.exports.OrderedMap,hVe=function(e){return e.first()instanceof uVe?function(e){var t,n={};return dVe(e.withMutations((function(e){e.forEach((function(i,r){var a=i.getKey(),o=i.getNextSiblingKey(),s=i.getPrevSiblingKey(),l=i.getChildKeys(),u=i.getParentKey(),c=cVe();if(n[a]=c,o&&(e.get(o)?e.setIn([o,"prevSibling"],c):e.setIn([a,"nextSibling"],null)),s&&(e.get(s)?e.setIn([s,"nextSibling"],c):e.setIn([a,"prevSibling"],null)),u&&e.get(u)){var d=e.get(u).getChildKeys();e.setIn([u,"children"],d.set(d.indexOf(i.getKey()),c))}else e.setIn([a,"parent"],null),t&&(e.setIn([t.getKey(),"nextSibling"],c),e.setIn([a,"prevSibling"],n[t.getKey()])),t=e.get(a);l.forEach((function(t){e.get(t)?e.setIn([t,"parent"],c):e.setIn([a,"children"],i.getChildKeys().filter((function(e){return e!==t})))}))}))})).toArray().map((function(e){return[n[e.getKey()],e.set("key",n[e.getKey()])]})))}(e):function(e){return dVe(e.toArray().map((function(e){var t=cVe();return[t,e.set("key",t)]})))}(e)},pVe=cXe,fVe=dXe,mVe=KXe;function gVe(e,t,n){var i=t.getCharacterList(),r=n>0?i.get(n-1):void 0,a=n<i.count()?i.get(n):void 0,o=r?r.getEntity():void 0,s=a?a.getEntity():void 0;if(s&&s===o&&"MUTABLE"!==e.__get(s).getMutability()){for(var l,u=function(e,t,n){var i;return fVe(e,(function(e,t){return e.getEntity()===t.getEntity()}),(function(e){return e.getEntity()===t}),(function(e,t){e<=n&&t>=n&&(i={start:e,end:t})})),"object"!=typeof i&&("production"!==go.env.NODE_ENV?mVe(!1,"Removal range must exist within character list."):mVe(!1)),i}(i,s,n),c=u.start,d=u.end;c<d;)l=i.get(c),i=i.set(c,pVe.applyEntity(l,null)),c++;return t.set("characterList",i)}return t}var vVe=function(e,t){var n=e.getBlockMap(),i=e.getEntityMap(),r={},a=t.getStartKey(),o=t.getStartOffset(),s=n.get(a),l=gVe(i,s,o);l!==s&&(r[a]=l);var u=t.getEndKey(),c=t.getEndOffset(),d=n.get(u);a===u&&(d=l);var h=gVe(i,d,c);return h!==d&&(r[u]=h),Object.keys(r).length?e.merge({blockMap:n.merge(r),selectionAfter:t}):e.set("selectionAfter",t)},yVe=hVe,bVe=vVe,OVe=function(e,t){var n=t.getStartKey(),i=t.getStartOffset(),r=t.getEndKey(),a=t.getEndOffset(),o=bVe(e,t).getBlockMap(),s=o.keySeq(),l=s.indexOf(n),u=s.indexOf(r)+1;return yVe(o.slice(l,u).map((function(e,t){var o=e.getText(),s=e.getCharacterList();return n===r?e.merge({text:o.slice(i,a),characterList:s.slice(i,a)}):t===n?e.merge({text:o.slice(i),characterList:s.slice(i)}):t===r?e.merge({text:o.slice(0,a),characterList:s.slice(0,a)}):e})))};var _Ve=function(e,t,n){var i=e;if(n===i.count())t.forEach((function(e){i=i.push(e)}));else if(0===n)t.reverse().forEach((function(e){i=i.unshift(e)}));else{var r=i.slice(0,n),a=i.slice(n);i=r.concat(t,a).toList()}return i},wVe=eXe,kVe=MXe,xVe=_Ve,SVe=KXe,PVe=hVe,EVe=HWe.exports.List,FVe=function(e,t,n,i,r,a){var o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"REPLACE_WITH_NEW_DATA",s=n.get(r),l=s.getText(),u=s.getCharacterList(),c=r,d=a+i.getText().length,h=null;switch(o){case"MERGE_OLD_DATA_TO_NEW_DATA":h=i.getData().merge(s.getData());break;case"REPLACE_WITH_NEW_DATA":h=i.getData()}var p=s.getType();l&&"unstyled"===p&&(p=i.getType());var f=s.merge({text:l.slice(0,a)+i.getText()+l.slice(a),characterList:xVe(u,i.getCharacterList(),a),type:p,data:h});return e.merge({blockMap:n.set(r,f),selectionBefore:t,selectionAfter:t.merge({anchorKey:c,anchorOffset:d,focusKey:c,focusOffset:d,isBackward:!1})})},CVe=function(e,t,n,i,r,a){var o=n.first()instanceof kVe,s=[],l=i.size,u=n.get(r),c=i.first(),d=i.last(),h=d.getLength(),p=d.getKey(),f=o&&(!u.getChildKeys().isEmpty()||!c.getChildKeys().isEmpty());n.forEach((function(e,t){t===r?(f?s.push(e):s.push(function(e,t,n){var i=e.getText(),r=e.getCharacterList(),a=i.slice(0,t),o=r.slice(0,t),s=n.first();return e.merge({text:a+s.getText(),characterList:o.concat(s.getCharacterList()),type:a?e.getType():s.getType(),data:s.getData()})}(e,a,i)),i.slice(f?0:1,l-1).forEach((function(e){return s.push(e)})),s.push(function(e,t,n){var i=e.getText(),r=e.getCharacterList(),a=i.length,o=i.slice(t,a),s=r.slice(t,a),l=n.last();return l.merge({text:l.getText()+o,characterList:l.getCharacterList().concat(s),data:l.getData()})}(e,a,i))):s.push(e)}));var m=wVe.createFromArray(s);return o&&(m=function(e,t,n,i){return e.withMutations((function(t){var r=n.getKey(),a=i.getKey(),o=n.getNextSiblingKey(),s=n.getParentKey(),l=function(e,t){var n=e.getKey(),i=e,r=[];for(t.get(n)&&r.push(n);i&&i.getNextSiblingKey();){var a=i.getNextSiblingKey();if(!a)break;r.push(a),i=t.get(a)}return r}(i,e),u=l[l.length-1];if(t.get(a)?(t.setIn([r,"nextSibling"],a),t.setIn([a,"prevSibling"],r)):(t.setIn([r,"nextSibling"],i.getNextSiblingKey()),t.setIn([i.getNextSiblingKey(),"prevSibling"],r)),t.setIn([u,"nextSibling"],o),o&&t.setIn([o,"prevSibling"],u),l.forEach((function(e){return t.setIn([e,"parent"],s)})),s){var c=e.get(s).getChildKeys(),d=c.indexOf(r)+1,h=c.toArray();h.splice.apply(h,[d,0].concat(l)),t.setIn([s,"children"],EVe(h))}}))}(m,0,u,c)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:p,anchorOffset:h,focusKey:p,focusOffset:h,isBackward:!1})})},TVe=function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";t.isCollapsed()||("production"!==go.env.NODE_ENV?SVe(!1,"`insertFragment` should only be called with a collapsed selection state."):SVe(!1));var r=e.getBlockMap(),a=PVe(n),o=t.getStartKey(),s=t.getStartOffset(),l=r.get(o);return l instanceof kVe&&(l.getChildKeys().isEmpty()||("production"!==go.env.NODE_ENV?SVe(!1,"`insertFragment` should not be called when a container node is selected."):SVe(!1))),1===a.size?FVe(e,t,r,a.first(),o,s,i):CVe(e,t,r,a,o,s)},DVe=_Ve,AVe=KXe,IVe=HWe.exports.Repeat;var LVe=function(e,t,n,i){t.isCollapsed()||("production"!==go.env.NODE_ENV?AVe(!1,"`insertText` should only be called with a collapsed range."):AVe(!1));var r=null;if(null!=n&&(r=n.length),null==r||0===r)return e;var a=e.getBlockMap(),o=t.getStartKey(),s=t.getStartOffset(),l=a.get(o),u=l.getText(),c=l.merge({text:u.slice(0,s)+n+u.slice(s,l.getLength()),characterList:DVe(l.getCharacterList(),IVe(i,r).toList(),s)}),d=s+r;return e.merge({blockMap:a.set(o,c),selectionAfter:t.merge({anchorOffset:d,focusOffset:d})})},zVe=HWe.exports.Map;var $Ve=function(e,t,n){var i=t.getStartKey(),r=t.getEndKey(),a=e.getBlockMap(),o=a.toSeq().skipUntil((function(e,t){return t===i})).takeUntil((function(e,t){return t===r})).concat(zVe([[r,a.get(r)]])).map(n);return e.merge({blockMap:a.merge(o),selectionBefore:t,selectionAfter:t})},RVe=MXe,QVe=function(e,t){if(!(e instanceof RVe))return null;var n=e.getNextSiblingKey();if(n)return n;var i=e.getParentKey();if(!i)return null;for(var r=t.get(i);r&&!r.getNextSiblingKey();){var a=r.getParentKey();r=a?t.get(a):null}return r?r.getNextSiblingKey():null},jVe=MXe,MVe=QVe,NVe=HWe.exports;NVe.List;var UVe=NVe.Map,qVe=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},BVe=function(e,t){var n=[];if(!e)return n;for(var i=t.get(e);i&&i.getParentKey();){var r=i.getParentKey();r&&n.push(r),i=r?t.get(r):null}return n},GVe=function(e,t,n){if(!e)return null;for(var i=n.get(e.getKey()).getNextSiblingKey();i&&!t.get(i);)i=n.get(i).getNextSiblingKey()||null;return i},WVe=function(e,t,n){if(!e)return null;for(var i=n.get(e.getKey()).getPrevSiblingKey();i&&!t.get(i);)i=n.get(i).getPrevSiblingKey()||null;return i},XVe=function(e,t,n,i){return e.withMutations((function(r){if(qVe(t.getKey(),r,(function(e){return e.merge({nextSibling:GVe(e,r,i),prevSibling:WVe(e,r,i)})})),qVe(n.getKey(),r,(function(e){return e.merge({nextSibling:GVe(e,r,i),prevSibling:WVe(e,r,i)})})),BVe(t.getKey(),i).forEach((function(e){return qVe(e,r,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return r.get(e)})),nextSibling:GVe(e,r,i),prevSibling:WVe(e,r,i)})}))})),qVe(t.getNextSiblingKey(),r,(function(e){return e.merge({prevSibling:t.getPrevSiblingKey()})})),qVe(t.getPrevSiblingKey(),r,(function(e){return e.merge({nextSibling:GVe(e,r,i)})})),qVe(n.getNextSiblingKey(),r,(function(e){return e.merge({prevSibling:WVe(e,r,i)})})),qVe(n.getPrevSiblingKey(),r,(function(e){return e.merge({nextSibling:n.getNextSiblingKey()})})),BVe(n.getKey(),i).forEach((function(e){qVe(e,r,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return r.get(e)})),nextSibling:GVe(e,r,i),prevSibling:WVe(e,r,i)})}))})),function(e,t){var n=[];if(!e)return n;for(var i=MVe(e,t);i&&t.get(i);){var r=t.get(i);n.push(i),i=r.getParentKey()?MVe(r,t):null}return n}(n,i).forEach((function(e){return qVe(e,r,(function(e){return e.merge({nextSibling:GVe(e,r,i),prevSibling:WVe(e,r,i)})}))})),null==e.get(t.getKey())&&null!=e.get(n.getKey())&&n.getParentKey()===t.getKey()&&null==n.getPrevSiblingKey()){var a=t.getPrevSiblingKey();qVe(n.getKey(),r,(function(e){return e.merge({prevSibling:a})})),qVe(a,r,(function(e){return e.merge({nextSibling:n.getKey()})}));var o=a?e.get(a):null,s=o?o.getParentKey():null;if(t.getChildKeys().forEach((function(e){qVe(e,r,(function(e){return e.merge({parent:s})}))})),null!=s){var l=e.get(s);qVe(s,r,(function(e){return e.merge({children:l.getChildKeys().concat(t.getChildKeys())})}))}qVe(t.getChildKeys().find((function(t){return null===e.get(t).getNextSiblingKey()})),r,(function(e){return e.merge({nextSibling:t.getNextSiblingKey()})}))}}))},VVe=function(e,t,n){if(0===t)for(;t<n;)e=e.shift(),t++;else if(n===e.count())for(;n>t;)e=e.pop(),n--;else{var i=e.slice(0,t),r=e.slice(n);e=i.concat(r).toList()}return e},YVe=function(e,t){if(t.isCollapsed())return e;var n,i=e.getBlockMap(),r=t.getStartKey(),a=t.getStartOffset(),o=t.getEndKey(),s=t.getEndOffset(),l=i.get(r),u=i.get(o),c=l instanceof jVe,d=[];if(c){var h=u.getChildKeys(),p=BVe(o,i);u.getNextSiblingKey()&&(d=d.concat(p)),h.isEmpty()||(d=d.concat(p.concat([o]))),d=d.concat(BVe(MVe(u,i),i))}n=l===u?VVe(l.getCharacterList(),a,s):l.getCharacterList().slice(0,a).concat(u.getCharacterList().slice(s));var f=l.merge({text:l.getText().slice(0,a)+u.getText().slice(s),characterList:n}),m=c&&0===a&&0===s&&u.getParentKey()===r&&null==u.getPrevSiblingKey()?UVe([[r,null]]):i.toSeq().skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===o})).filter((function(e,t){return-1===d.indexOf(t)})).concat(UVe([[o,null]])).map((function(e,t){return t===r?f:null})),g=i.merge(m).filter((function(e){return!!e}));return c&&l!==u&&(g=XVe(g,l,u,i)),e.merge({blockMap:g,selectionBefore:t,selectionAfter:t.merge({anchorKey:r,anchorOffset:a,focusKey:r,focusOffset:a,isBackward:!1})})},ZVe=MXe,HVe=lVe,KVe=HWe.exports,JVe=KXe,eYe=$Ve,tYe=KVe.List,nYe=KVe.Map,iYe=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},rYe=function(e,t){t.isCollapsed()||("production"!==go.env.NODE_ENV?JVe(!1,"Selection range must be collapsed."):JVe(!1));var n=t.getAnchorKey(),i=e.getBlockMap(),r=i.get(n),a=r.getText();if(!a){var o=r.getType();if("unordered-list-item"===o||"ordered-list-item"===o)return eYe(e,t,(function(e){return e.merge({type:"unstyled",depth:0})}))}var s=t.getAnchorOffset(),l=r.getCharacterList(),u=HVe(),c=r instanceof ZVe,d=r.merge({text:a.slice(0,s),characterList:l.slice(0,s)}),h=d.merge({key:u,text:a.slice(s),characterList:l.slice(s),data:nYe()}),p=i.toSeq().takeUntil((function(e){return e===r})),f=i.toSeq().skipUntil((function(e){return e===r})).rest(),m=p.concat([[n,d],[u,h]],f).toOrderedMap();return c&&(r.getChildKeys().isEmpty()||("production"!==go.env.NODE_ENV?JVe(!1,"ContentBlockNode must not have children"):JVe(!1)),m=function(e,t,n){return e.withMutations((function(e){var i=t.getKey(),r=n.getKey();iYe(t.getParentKey(),e,(function(e){var t=e.getChildKeys(),n=t.indexOf(i)+1,a=t.toArray();return a.splice(n,0,r),e.merge({children:tYe(a)})})),iYe(t.getNextSiblingKey(),e,(function(e){return e.merge({prevSibling:r})})),iYe(i,e,(function(e){return e.merge({nextSibling:r})})),iYe(r,e,(function(e){return e.merge({prevSibling:i})}))}))}(m,d,h)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:u,anchorOffset:0,focusKey:u,focusOffset:0,isBackward:!1})})},aYe=cXe,oYe=BXe,sYe=YXe,lYe=aVe,uYe=OVe,cYe=TVe,dYe=LVe,hYe=KXe,pYe=$Ve,fYe=vVe,mYe=YVe,gYe=rYe,vYe=HWe.exports.OrderedSet,yYe={replaceText:function(e,t,n,i,r){var a=fYe(e,t),o=mYe(a,t),s=aYe.create({style:i||vYe(),entity:r||null});return dYe(o,o.getSelectionAfter(),n,s)},insertText:function(e,t,n,i,r){return t.isCollapsed()||("production"!==go.env.NODE_ENV?hYe(!1,"Target range must be collapsed for `insertText`."):hYe(!1)),yYe.replaceText(e,t,n,i,r)},moveText:function(e,t,n){var i=uYe(e,t),r=yYe.removeRange(e,t,"backward");return yYe.replaceWithFragment(r,n,i)},replaceWithFragment:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA",r=fYe(e,t),a=mYe(r,t);return cYe(a,a.getSelectionAfter(),n,i)},removeRange:function(e,t,n){var i,r,a,o;t.getIsBackward()&&(t=t.merge({anchorKey:t.getFocusKey(),anchorOffset:t.getFocusOffset(),focusKey:t.getAnchorKey(),focusOffset:t.getAnchorOffset(),isBackward:!1})),i=t.getAnchorKey(),r=t.getFocusKey(),a=e.getBlockForKey(i),o=e.getBlockForKey(r);var s=t.getStartOffset(),l=t.getEndOffset(),u=a.getEntityAt(s),c=o.getEntityAt(l-1);if(i===r&&u&&u===c){var d=lYe(e.getEntityMap(),a,o,t,n);return mYe(e,d)}var h=fYe(e,t);return mYe(h,t)},splitBlock:function(e,t){var n=fYe(e,t),i=mYe(n,t);return gYe(i,i.getSelectionAfter())},applyInlineStyle:function(e,t,n){return oYe.add(e,t,n)},removeInlineStyle:function(e,t,n){return oYe.remove(e,t,n)},setBlockType:function(e,t,n){return pYe(e,t,(function(e){return e.merge({type:n,depth:0})}))},setBlockData:function(e,t,n){return pYe(e,t,(function(e){return e.merge({data:n})}))},mergeBlockData:function(e,t,n){return pYe(e,t,(function(e){return e.merge({data:e.getData().merge(n)})}))},applyEntity:function(e,t,n){var i=fYe(e,t);return sYe(i,t,n)}},bYe=yYe;var OYe=function(e){return Object.keys(e).map((function(t){return e[t]}))};function _Ye(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var wYe=dXe,kYe=OYe,xYe=HWe.exports,SYe=xYe.List,PYe=xYe.Repeat,EYe=xYe.Record,FYe=function(){return!0},CYe=EYe({start:null,end:null}),TYe=EYe({start:null,end:null,decoratorKey:null,leaves:null}),DYe={generate:function(e,t,n){var i=t.getLength();if(!i)return SYe.of(new TYe({start:0,end:0,decoratorKey:null,leaves:SYe.of(new CYe({start:0,end:0}))}));var r=[],a=n?n.getDecorations(t,e):SYe(PYe(null,i)),o=t.getCharacterList();return wYe(a,IYe,FYe,(function(e,t){r.push(new TYe({start:e,end:t,decoratorKey:a.get(e),leaves:AYe(o.slice(e,t).toList(),e)}))})),SYe(r)},fromJS:function(e){var t=e.leaves,n=function(e,t){if(null==e)return{};var n,i,r={},a=Object.keys(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,["leaves"]);return new TYe(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){_Ye(e,t,n[t])}))}return e}({},n,{leaves:null!=t?SYe(Array.isArray(t)?t:kYe(t)).map((function(e){return CYe(e)})):null}))}};function AYe(e,t){var n=[],i=e.map((function(e){return e.getStyle()})).toList();return wYe(i,IYe,FYe,(function(e,i){n.push(new CYe({start:e+t,end:i+t}))})),SYe(n)}function IYe(e,t){return e===t}var LYe=DYe;var zYe=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.getType=function(){return this.get("type")},r.getMutability=function(){return this.get("mutability")},r.getData=function(){return this.get("data")},i}((0,HWe.exports.Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object})),$Ye=zYe;var RYe=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))};function QYe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var jYe=$Ye,MYe=KXe,NYe=RYe,UYe=(0,HWe.exports.Map)(),qYe=NYe();function BYe(e,t){console.warn("WARNING: "+e+' will be deprecated soon!\nPlease use "'+t+'" instead.')}var GYe={getLastCreatedEntityKey:function(){return BYe("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),GYe.__getLastCreatedEntityKey()},create:function(e,t,n){return BYe("DraftEntity.create","contentState.createEntity"),GYe.__create(e,t,n)},add:function(e){return BYe("DraftEntity.add","contentState.addEntity"),GYe.__add(e)},get:function(e){return BYe("DraftEntity.get","contentState.getEntity"),GYe.__get(e)},__getAll:function(){return UYe},__loadWithEntities:function(e){UYe=e,qYe=NYe()},mergeData:function(e,t){return BYe("DraftEntity.mergeData","contentState.mergeEntityData"),GYe.__mergeData(e,t)},replaceData:function(e,t){return BYe("DraftEntity.replaceData","contentState.replaceEntityData"),GYe.__replaceData(e,t)},__getLastCreatedEntityKey:function(){return qYe},__create:function(e,t,n){return GYe.__add(new jYe({type:e,mutability:t,data:n||{}}))},__add:function(e){return qYe=NYe(),UYe=UYe.set(qYe,e),qYe},__get:function(e){var t=UYe.get(e);return t||("production"!==go.env.NODE_ENV?MYe(!1,"Unknown DraftEntity key: %s.",e):MYe(!1)),t},__mergeData:function(e,t){var n=GYe.__get(e),i=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){QYe(e,t,n[t])}))}return e}({},n.getData(),t),r=n.set("data",i);return UYe=UYe.set(e,r),r},__replaceData:function(e,t){var n=GYe.__get(e).set("data",t);return UYe=UYe.set(e,n),n}},WYe=GYe;var XYe=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},r.getAnchorKey=function(){return this.get("anchorKey")},r.getAnchorOffset=function(){return this.get("anchorOffset")},r.getFocusKey=function(){return this.get("focusKey")},r.getFocusOffset=function(){return this.get("focusOffset")},r.getIsBackward=function(){return this.get("isBackward")},r.getHasFocus=function(){return this.get("hasFocus")},r.hasEdgeWithin=function(e,t,n){var i=this.getAnchorKey(),r=this.getFocusKey();if(i===r&&i===e){var a=this.getStartOffset(),o=this.getEndOffset();return t<=a&&a<=n||t<=o&&o<=n}if(e!==i&&e!==r)return!1;var s=e===i?this.getAnchorOffset():this.getFocusOffset();return t<=s&&n>=s},r.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},r.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},r.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},r.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},r.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},i.createEmpty=function(e){return new i({anchorKey:e,anchorOffset:0,focusKey:e,focusOffset:0,isBackward:!1,hasFocus:!1})},i}((0,HWe.exports.Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1})),VYe=XYe,YYe=function(e){return!("undefined"==typeof window||!window.__DRAFT_GKX)&&!!window.__DRAFT_GKX[e]},ZYe=new RegExp("\r","g");var HYe=function(e){return e.replace(ZYe,"")};function KYe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){JYe(e,t,n[t])}))}return e}function JYe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var eZe=eXe,tZe=cXe,nZe=SXe,iZe=MXe,rZe=WYe,aZe=VYe,oZe=lVe,sZe=OYe,lZe=YYe,uZe=HWe.exports,cZe=HYe,dZe=uZe.List,hZe=uZe.Record,pZe=uZe.Repeat,fZe=uZe.Map,mZe=uZe.OrderedMap,gZe=hZe({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),vZe=lZe("draft_tree_data_support")?iZe:nZe,yZe=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.getEntityMap=function(){return rZe},r.getBlockMap=function(){return this.get("blockMap")},r.getSelectionBefore=function(){return this.get("selectionBefore")},r.getSelectionAfter=function(){return this.get("selectionAfter")},r.getBlockForKey=function(e){return this.getBlockMap().get(e)},r.getKeyBefore=function(e){return this.getBlockMap().reverse().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},r.getKeyAfter=function(e){return this.getBlockMap().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},r.getBlockAfter=function(e){return this.getBlockMap().skipUntil((function(t,n){return n===e})).skip(1).first()},r.getBlockBefore=function(e){return this.getBlockMap().reverse().skipUntil((function(t,n){return n===e})).skip(1).first()},r.getBlocksAsArray=function(){return this.getBlockMap().toArray()},r.getFirstBlock=function(){return this.getBlockMap().first()},r.getLastBlock=function(){return this.getBlockMap().last()},r.getPlainText=function(e){return this.getBlockMap().map((function(e){return e?e.getText():""})).join(e||"\n")},r.getLastCreatedEntityKey=function(){return rZe.__getLastCreatedEntityKey()},r.hasText=function(){var e=this.getBlockMap();return e.size>1||escape(e.first().getText()).replace(/%u200B/g,"").length>0},r.createEntity=function(e,t,n){return rZe.__create(e,t,n),this},r.mergeEntityData=function(e,t){return rZe.__mergeData(e,t),this},r.replaceEntityData=function(e,t){return rZe.__replaceData(e,t),this},r.addEntity=function(e){return rZe.__add(e),this},r.getEntity=function(e){return rZe.__get(e)},r.getAllEntities=function(){return rZe.__getAll()},r.loadWithEntities=function(e){return rZe.__loadWithEntities(e)},i.createFromBlockArray=function(e,t){var n=Array.isArray(e)?e:e.contentBlocks,r=eZe.createFromArray(n),a=r.isEmpty()?new aZe:aZe.createEmpty(r.first().getKey());return new i({blockMap:r,entityMap:t||rZe,selectionBefore:a,selectionAfter:a})},i.createFromText=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,n=e.split(t),r=n.map((function(e){return e=cZe(e),new vZe({key:oZe(),text:e,type:"unstyled",characterList:dZe(pZe(tZe.EMPTY,e.length))})}));return i.createFromBlockArray(r)},i.fromJS=function(e){return new i(KYe({},e,{blockMap:mZe(e.blockMap).map(i.createContentBlockFromJS),selectionBefore:new aZe(e.selectionBefore),selectionAfter:new aZe(e.selectionAfter)}))},i.createContentBlockFromJS=function(e){var t=e.characterList;return new vZe(KYe({},e,{data:fZe(e.data),characterList:null!=t?dZe((Array.isArray(t)?t:sZe(t)).map((function(e){return tZe.fromJS(e)}))):void 0}))},i}(gZe),bZe=yZe,OZe=KXe,_Ze="LTR",wZe=null;function kZe(e){return e===_Ze||"RTL"===e}function xZe(e){return kZe(e)||("production"!==go.env.NODE_ENV?OZe(!1,"`dir` must be a strong direction to be converted to HTML Direction"):OZe(!1)),e===_Ze?"ltr":"rtl"}function SZe(e){wZe=e}var PZe={NEUTRAL:"NEUTRAL",LTR:_Ze,RTL:"RTL",isStrong:kZe,getHTMLDir:xZe,getHTMLDirIfDifferent:function(e,t){return kZe(e)||("production"!==go.env.NODE_ENV?OZe(!1,"`dir` must be a strong direction to be converted to HTML Direction"):OZe(!1)),kZe(t)||("production"!==go.env.NODE_ENV?OZe(!1,"`otherDir` must be a strong direction to be converted to HTML Direction"):OZe(!1)),e===t?null:xZe(e)},setGlobalDir:SZe,initGlobalDir:function(){SZe(_Ze)},getGlobalDir:function(){return wZe||this.initGlobalDir(),wZe||("production"!==go.env.NODE_ENV?OZe(!1,"Global direction not set."):OZe(!1)),wZe}},EZe=PZe,FZe=KXe,CZe="־׀׃׆-א-ת-ׯװ-ײ׳-״-߀-߉ߊ-ߪߴ-ߵߺ-߿ࠀ-ࠕࠚࠤࠨ-࠰-࠾ࡀ-ࡘ-࡞-࢟יִײַ-ﬨשׁ-זּטּ-לּמּנּ-סּףּ-פּצּ-ﭏ",TZe="؈؋؍؛؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍ܐܒ-ܯ-ݍ-ޥޱ-ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-ﯓ-ﴽ﵀-﵏ﵐ-ﶏ-ﶒ-ﷇ-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴﹶ-ﻼ-",DZe=new RegExp("["+"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+CZe+TZe+"]"),AZe=new RegExp("["+CZe+TZe+"]");function IZe(e){var t=DZe.exec(e);return null==t?null:t[0]}function LZe(e){var t=IZe(e);return null==t?EZe.NEUTRAL:AZe.exec(t)?EZe.RTL:EZe.LTR}function zZe(e,t){if(t=t||EZe.NEUTRAL,!e.length)return t;var n=LZe(e);return n===EZe.NEUTRAL?t:n}function $Ze(e,t){return t||(t=EZe.getGlobalDir()),EZe.isStrong(t)||("production"!==go.env.NODE_ENV?FZe(!1,"Fallback direction must be a strong direction"):FZe(!1)),zZe(e,t)}var RZe={firstStrongChar:IZe,firstStrongCharDir:LZe,resolveBlockDir:zZe,getDirection:$Ze,isDirectionLTR:function(e,t){return $Ze(e,t)===EZe.LTR},isDirectionRTL:function(e,t){return $Ze(e,t)===EZe.RTL}},QZe=RZe;function jZe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var MZe,NZe=QZe,UZe=PZe,qZe=KXe,BZe=function(){function e(e){jZe(this,"_defaultDir",void 0),jZe(this,"_lastDir",void 0),e?UZe.isStrong(e)||("production"!==go.env.NODE_ENV?qZe(!1,"Default direction must be a strong direction (LTR or RTL)"):qZe(!1)):e=UZe.getGlobalDir(),this._defaultDir=e,this.reset()}var t=e.prototype;return t.reset=function(){this._lastDir=this._defaultDir},t.getDirection=function(e){return this._lastDir=NZe.getDirection(e,this._lastDir),this._lastDir},e}(),GZe=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")},WZe=BZe,XZe=HWe.exports,VZe=GZe,YZe=XZe.OrderedMap,ZZe={getDirectionMap:function(e,t){MZe?MZe.reset():MZe=new WZe;var n=e.getBlockMap(),i=n.valueSeq().map((function(e){return VZe(MZe).getDirection(e.getText())})),r=YZe(n.keySeq().zip(i));return null!=t&&XZe.is(t,r)?t:r}};function HZe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){KZe(e,t,n[t])}))}return e}function KZe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var JZe=LYe,eHe=bZe,tHe=ZZe,nHe=VYe,iHe=HWe.exports,rHe=iHe.OrderedSet,aHe=iHe.Record,oHe=iHe.Stack,sHe=iHe.OrderedMap,lHe=iHe.List,uHe=aHe({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:oHe(),selection:null,treeMap:null,undoStack:oHe()}),cHe=function(){t.createEmpty=function(e){return t.createWithContent(eHe.createFromText(""),e)},t.createWithContent=function(e,n){if(0===e.getBlockMap().count())return t.createEmpty(n);var i=e.getBlockMap().first().getKey();return t.create({currentContent:e,undoStack:oHe(),redoStack:oHe(),decorator:n||null,selection:nHe.createEmpty(i)})},t.create=function(e){var n=e.currentContent,i=HZe({},e,{treeMap:hHe(n,e.decorator),directionMap:tHe.getDirectionMap(n)});return new t(new uHe(i))},t.fromJS=function(e){return new t(new uHe(HZe({},e,{directionMap:null!=e.directionMap?sHe(e.directionMap):e.directionMap,inlineStyleOverride:null!=e.inlineStyleOverride?rHe(e.inlineStyleOverride):e.inlineStyleOverride,nativelyRenderedContent:null!=e.nativelyRenderedContent?eHe.fromJS(e.nativelyRenderedContent):e.nativelyRenderedContent,redoStack:null!=e.redoStack?oHe(e.redoStack.map((function(e){return eHe.fromJS(e)}))):e.redoStack,selection:null!=e.selection?new nHe(e.selection):e.selection,treeMap:null!=e.treeMap?sHe(e.treeMap).map((function(e){return lHe(e).map((function(e){return JZe.fromJS(e)}))})):e.treeMap,undoStack:null!=e.undoStack?oHe(e.undoStack.map((function(e){return eHe.fromJS(e)}))):e.undoStack,currentContent:eHe.fromJS(e.currentContent)})))},t.set=function(e,n){var i=e.getImmutable().withMutations((function(t){var i=t.get("decorator"),r=i;null===n.decorator?r=null:n.decorator&&(r=n.decorator);var a=n.currentContent||e.getCurrentContent();if(r!==i){var o,s=t.get("treeMap");return o=r&&i?function(e,t,n,i,r){return n.merge(t.toSeq().filter((function(t){return i.getDecorations(t,e)!==r.getDecorations(t,e)})).map((function(t){return JZe.generate(e,t,i)})))}(a,a.getBlockMap(),s,r,i):hHe(a,r),void t.merge({decorator:r,treeMap:o,nativelyRenderedContent:null})}a!==e.getCurrentContent()&&t.set("treeMap",function(e,t,n,i){var r=e.getCurrentContent().set("entityMap",n),a=r.getBlockMap();return e.getImmutable().get("treeMap").merge(t.toSeq().filter((function(e,t){return e!==a.get(t)})).map((function(e){return JZe.generate(r,e,i)})))}(e,a.getBlockMap(),a.getEntityMap(),r)),t.merge(n)}));return new t(i)};var e=t.prototype;function t(e){KZe(this,"_immutable",void 0),this._immutable=e}return e.toJS=function(){return this.getImmutable().toJS()},e.getAllowUndo=function(){return this.getImmutable().get("allowUndo")},e.getCurrentContent=function(){return this.getImmutable().get("currentContent")},e.getUndoStack=function(){return this.getImmutable().get("undoStack")},e.getRedoStack=function(){return this.getImmutable().get("redoStack")},e.getSelection=function(){return this.getImmutable().get("selection")},e.getDecorator=function(){return this.getImmutable().get("decorator")},e.isInCompositionMode=function(){return this.getImmutable().get("inCompositionMode")},e.mustForceSelection=function(){return this.getImmutable().get("forceSelection")},e.getNativelyRenderedContent=function(){return this.getImmutable().get("nativelyRenderedContent")},e.getLastChangeType=function(){return this.getImmutable().get("lastChangeType")},e.getInlineStyleOverride=function(){return this.getImmutable().get("inlineStyleOverride")},t.setInlineStyleOverride=function(e,n){return t.set(e,{inlineStyleOverride:n})},e.getCurrentInlineStyle=function(){var e=this.getInlineStyleOverride();if(null!=e)return e;var t=this.getCurrentContent(),n=this.getSelection();return n.isCollapsed()?function(e,t){var n=t.getStartKey(),i=t.getStartOffset(),r=e.getBlockForKey(n);if(i>0)return r.getInlineStyleAt(i-1);if(r.getLength())return r.getInlineStyleAt(0);return fHe(e,n)}(t,n):function(e,t){var n=t.getStartKey(),i=t.getStartOffset(),r=e.getBlockForKey(n);if(i<r.getLength())return r.getInlineStyleAt(i);if(i>0)return r.getInlineStyleAt(i-1);return fHe(e,n)}(t,n)},e.getBlockTree=function(e){return this.getImmutable().getIn(["treeMap",e])},e.isSelectionAtStartOfContent=function(){var e=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(e,0,0)},e.isSelectionAtEndOfContent=function(){var e=this.getCurrentContent().getBlockMap().last(),t=e.getLength();return this.getSelection().hasEdgeWithin(e.getKey(),t,t)},e.getDirectionMap=function(){return this.getImmutable().get("directionMap")},t.acceptSelection=function(e,t){return dHe(e,t,!1)},t.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),dHe(e,t,!0)},t.moveSelectionToEnd=function(e){var n=e.getCurrentContent().getLastBlock(),i=n.getKey(),r=n.getLength();return t.acceptSelection(e,new nHe({anchorKey:i,anchorOffset:r,focusKey:i,focusOffset:r,isBackward:!1}))},t.moveFocusToEnd=function(e){var n=t.moveSelectionToEnd(e);return t.forceSelection(n,n.getSelection())},t.push=function(e,n,i){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(e.getCurrentContent()===n)return e;var a=tHe.getDirectionMap(n,e.getDirectionMap());if(!e.getAllowUndo())return t.set(e,{currentContent:n,directionMap:a,lastChangeType:i,selection:n.getSelectionAfter(),forceSelection:r,inlineStyleOverride:null});var o=e.getSelection(),s=e.getCurrentContent(),l=e.getUndoStack(),u=n;o!==s.getSelectionAfter()||pHe(e,i)?(l=l.push(s),u=u.set("selectionBefore",o)):"insert-characters"!==i&&"backspace-character"!==i&&"delete-character"!==i||(u=u.set("selectionBefore",s.getSelectionBefore()));var c=e.getInlineStyleOverride(),d=["adjust-depth","change-block-type","split-block"];-1===d.indexOf(i)&&(c=null);var h={currentContent:u,directionMap:a,undoStack:l,redoStack:oHe(),lastChangeType:i,selection:n.getSelectionAfter(),forceSelection:r,inlineStyleOverride:c};return t.set(e,h)},t.undo=function(e){if(!e.getAllowUndo())return e;var n=e.getUndoStack(),i=n.peek();if(!i)return e;var r=e.getCurrentContent(),a=tHe.getDirectionMap(i,e.getDirectionMap());return t.set(e,{currentContent:i,directionMap:a,undoStack:n.shift(),redoStack:e.getRedoStack().push(r),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:r.getSelectionBefore()})},t.redo=function(e){if(!e.getAllowUndo())return e;var n=e.getRedoStack(),i=n.peek();if(!i)return e;var r=e.getCurrentContent(),a=tHe.getDirectionMap(i,e.getDirectionMap());return t.set(e,{currentContent:i,directionMap:a,undoStack:e.getUndoStack().push(r),redoStack:n.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:i.getSelectionAfter()})},e.getImmutable=function(){return this._immutable},t}();function dHe(e,t,n){return cHe.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function hHe(e,t){return e.getBlockMap().map((function(n){return JZe.generate(e,n,t)})).toOrderedMap()}function pHe(e,t){return t!==e.getLastChangeType()||"insert-characters"!==t&&"backspace-character"!==t&&"delete-character"!==t}function fHe(e,t){var n=e.getBlockMap().reverse().skipUntil((function(e,n){return n===t})).skip(1).skipUntil((function(e,t){return e.getLength()})).first();return n?n.getInlineStyleAt(n.getLength()-1):rHe()}var mHe=cHe,gHe=MXe,vHe=QVe,yHe=HWe.exports,bHe=KXe,OHe=yHe.OrderedMap,_He=yHe.List,wHe=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},kHe=function(e,t,n,i,r){if(!r)return e;var a="after"===i,o=t.getKey(),s=n.getKey(),l=t.getParentKey(),u=t.getNextSiblingKey(),c=t.getPrevSiblingKey(),d=n.getParentKey(),h=a?n.getNextSiblingKey():s,p=a?s:n.getPrevSiblingKey();return e.withMutations((function(e){wHe(l,e,(function(e){var t=e.getChildKeys();return e.merge({children:t.delete(t.indexOf(o))})})),wHe(c,e,(function(e){return e.merge({nextSibling:u})})),wHe(u,e,(function(e){return e.merge({prevSibling:c})})),wHe(h,e,(function(e){return e.merge({prevSibling:o})})),wHe(p,e,(function(e){return e.merge({nextSibling:o})})),wHe(d,e,(function(e){var t=e.getChildKeys(),n=t.indexOf(s),i=a?n+1:0!==n?n-1:0,r=t.toArray();return r.splice(i,0,o),e.merge({children:_He(r)})})),wHe(o,e,(function(e){return e.merge({nextSibling:h,prevSibling:p,parent:d})}))}))},xHe=function(e,t,n,i){"replace"===i&&("production"!==go.env.NODE_ENV?bHe(!1,"Replacing blocks is not supported."):bHe(!1));var r=n.getKey(),a=t.getKey();a===r&&("production"!==go.env.NODE_ENV?bHe(!1,"Block cannot be moved next to itself."):bHe(!1));var o=e.getBlockMap(),s=t instanceof gHe,l=[t],u=o.delete(a);s&&(l=[],u=o.withMutations((function(e){var n=t.getNextSiblingKey(),i=vHe(t,e);e.toSeq().skipUntil((function(e){return e.getKey()===a})).takeWhile((function(e){var t=e.getKey(),r=t===a,o=n&&t!==n,s=!n&&e.getParentKey()&&(!i||t!==i);return!!(r||o||s)})).forEach((function(t){l.push(t),e.delete(t.getKey())}))})));var c=u.toSeq().takeUntil((function(e){return e===n})),d=u.toSeq().skipUntil((function(e){return e===n})).skip(1),h=l.map((function(e){return[e.getKey(),e]})),p=OHe();if("before"===i){var f=e.getBlockBefore(r);f&&f.getKey()===t.getKey()&&("production"!==go.env.NODE_ENV?bHe(!1,"Block cannot be moved next to itself."):bHe(!1)),p=c.concat([].concat(h,[[r,n]]),d).toOrderedMap()}else if("after"===i){var m=e.getBlockAfter(r);m&&m.getKey()===a&&("production"!==go.env.NODE_ENV?bHe(!1,"Block cannot be moved next to itself."):bHe(!1)),p=c.concat([[r,n]].concat(h),d).toOrderedMap()}return e.merge({blockMap:kHe(p,t,n,i,s),selectionBefore:e.getSelectionAfter(),selectionAfter:e.getSelectionAfter().merge({anchorKey:a,focusKey:a})})};function SHe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){PHe(e,t,n[t])}))}return e}function PHe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var EHe=eXe,FHe=cXe,CHe=SXe,THe=MXe,DHe=bYe,AHe=mHe,IHe=lVe,LHe=HWe.exports,zHe=xHe,$He=YYe("draft_tree_data_support"),RHe=$He?THe:CHe,QHe=LHe.List,jHe=LHe.Repeat,MHe={insertAtomicBlock:function(e,t,n){var i=e.getCurrentContent(),r=e.getSelection(),a=DHe.removeRange(i,r,"backward"),o=a.getSelectionAfter(),s=DHe.splitBlock(a,o),l=s.getSelectionAfter(),u=DHe.setBlockType(s,l,"atomic"),c=FHe.create({entity:t}),d={key:IHe(),type:"atomic",text:n,characterList:QHe(jHe(c,n.length))},h={key:IHe(),type:"unstyled"};$He&&(d=SHe({},d,{nextSibling:h.key}),h=SHe({},h,{prevSibling:d.key}));var p=[new RHe(d),new RHe(h)],f=EHe.createFromArray(p),m=DHe.replaceWithFragment(u,l,f),g=m.merge({selectionBefore:r,selectionAfter:m.getSelectionAfter().set("hasFocus",!0)});return AHe.push(e,g,"insert-fragment")},moveAtomicBlock:function(e,t,n,i){var r,a=e.getCurrentContent(),o=e.getSelection();if("before"===i||"after"===i){var s=a.getBlockForKey("before"===i?n.getStartKey():n.getEndKey());r=zHe(a,t,s,i)}else{var l=DHe.removeRange(a,n,"backward"),u=l.getSelectionAfter(),c=l.getBlockForKey(u.getFocusKey());if(0===u.getStartOffset())r=zHe(l,t,c,"before");else if(u.getEndOffset()===c.getLength())r=zHe(l,t,c,"after");else{var d=DHe.splitBlock(l,u),h=d.getSelectionAfter(),p=d.getBlockForKey(h.getFocusKey());r=zHe(d,t,p,"before")}}var f=r.merge({selectionBefore:o,selectionAfter:r.getSelectionAfter().set("hasFocus",!0)});return AHe.push(e,f,"move-block")}};var NHe=HWe.exports.List,UHe=function(){function e(e){!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,"_decorators",void 0),this._decorators=e.slice()}var t=e.prototype;return t.getDecorations=function(e,t){var n=Array(e.getText().length).fill(null);return this._decorators.forEach((function(i,r){var a=0;(0,i.strategy)(e,(function(e,t){(function(e,t,n){for(var i=t;i<n;i++)if(null!=e[i])return!1;return!0})(n,e,t)&&(!function(e,t,n,i){for(var r=t;r<n;r++)e[r]=i}(n,e,t,r+"."+a),a++)}),t)})),NHe(n)},t.getComponentForKey=function(e){var t=parseInt(e.split(".")[0],10);return this._decorators[t].component},t.getPropsForKey=function(e){var t=parseInt(e.split(".")[0],10);return this._decorators[t].props},e}();var qHe=UHe;function BHe(e){return e.replace(/\//g,"-")}var GHe=function(e){return"object"==typeof e?Object.keys(e).filter((function(t){return e[t]})).map(BHe).join(" "):Array.prototype.map.call(arguments,BHe).join(" ")},WHe=g.default,XHe=GHe,VHe=(0,HWe.exports.Map)({"header-one":{element:"h1"},"header-two":{element:"h2"},"header-three":{element:"h3"},"header-four":{element:"h4"},"header-five":{element:"h5"},"header-six":{element:"h6"},section:{element:"section"},article:{element:"article"},"unordered-list-item":{element:"li",wrapper:WHe.createElement("ul",{className:XHe("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:WHe.createElement("ol",{className:XHe("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:WHe.createElement("pre",{className:XHe("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}}),YHe={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}},ZHe={exports:{}};!function(e,t){!function(n,i){var r="function",a="undefined",o="object",s="string",l="model",u="name",c="type",d="vendor",h="version",p="architecture",f="console",m="mobile",g="tablet",v="smarttv",y="wearable",b="embedded",O="Amazon",_="Apple",w="ASUS",k="BlackBerry",x="Firefox",S="Google",P="Huawei",E="LG",F="Microsoft",C="Motorola",T="Opera",D="Samsung",A="Sony",I="Xiaomi",L="Zebra",z="Facebook",$=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},R=function(e,t){return typeof e===s&&-1!==Q(t).indexOf(Q(e))},Q=function(e){return e.toLowerCase()},j=function(e,t){if(typeof e===s)return e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,""),typeof t===a?e:e.substring(0,255)},M=function(e,t){for(var n,a,s,l,u,c,d=0;d<t.length&&!u;){var h=t[d],p=t[d+1];for(n=a=0;n<h.length&&!u;)if(u=h[n++].exec(e))for(s=0;s<p.length;s++)c=u[++a],typeof(l=p[s])===o&&l.length>0?2===l.length?typeof l[1]==r?this[l[0]]=l[1].call(this,c):this[l[0]]=l[1]:3===l.length?typeof l[1]!==r||l[1].exec&&l[1].test?this[l[0]]=c?c.replace(l[1],l[2]):i:this[l[0]]=c?l[1].call(this,c,l[2]):i:4===l.length&&(this[l[0]]=c?l[3].call(this,c.replace(l[1],l[2])):i):this[l]=c||i;d+=2}},N=function(e,t){for(var n in t)if(typeof t[n]===o&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(R(t[n][r],e))return"?"===n?i:n}else if(R(t[n],e))return"?"===n?i:n;return e},U={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},q={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[h,[u,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[h,[u,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[u,h],[/opios[\/ ]+([\w\.]+)/i],[h,[u,"Opera Mini"]],[/\bopr\/([\w\.]+)/i],[h,[u,T]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[u,h],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[h,[u,"UCBrowser"]],[/\bqbcore\/([\w\.]+)/i],[h,[u,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[h,[u,"WeChat"]],[/konqueror\/([\w\.]+)/i],[h,[u,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[h,[u,"IE"]],[/yabrowser\/([\w\.]+)/i],[h,[u,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[u,/(.+)/,"$1 Secure Browser"],h],[/\bfocus\/([\w\.]+)/i],[h,[u,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[h,[u,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[h,[u,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[h,[u,"Dolphin"]],[/coast\/([\w\.]+)/i],[h,[u,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[h,[u,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[h,[u,x]],[/\bqihu|(qi?ho?o?|360)browser/i],[[u,"360 Browser"]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[u,/(.+)/,"$1 Browser"],h],[/(comodo_dragon)\/([\w\.]+)/i],[[u,/_/g," "],h],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[u,h],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i],[u],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[u,z],h],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[u,h],[/\bgsa\/([\w\.]+) .*safari\//i],[h,[u,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[h,[u,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[u,"Chrome WebView"],h],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[h,[u,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[u,h],[/version\/([\w\.]+) .*mobile\/\w+ (safari)/i],[h,[u,"Mobile Safari"]],[/version\/([\w\.]+) .*(mobile ?safari|safari)/i],[h,u],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[u,[h,N,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[u,h],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[u,"Netscape"],h],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[h,[u,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[u,h]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[p,"amd64"]],[/(ia32(?=;))/i],[[p,Q]],[/((?:i[346]|x)86)[;\)]/i],[[p,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[p,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[p,"armhf"]],[/windows (ce|mobile); ppc;/i],[[p,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[p,/ower/,"",Q]],[/(sun4\w)[;\)]/i],[[p,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[p,Q]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[pt]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[l,[d,D],[c,g]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[l,[d,D],[c,m]],[/\((ip(?:hone|od)[\w ]*);/i],[l,[d,_],[c,m]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[l,[d,_],[c,g]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[l,[d,P],[c,g]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}-[atu]?[ln][01259x][012359][an]?)\b(?!.+d\/s)/i],[l,[d,P],[c,m]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[l,/_/g," "],[d,I],[c,m]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[l,/_/g," "],[d,I],[c,g]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[l,[d,"OPPO"],[c,m]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[l,[d,"Vivo"],[c,m]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[l,[d,"Realme"],[c,m]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[l,[d,C],[c,m]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[l,[d,C],[c,g]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[l,[d,E],[c,g]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[l,[d,E],[c,m]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[l,[d,"Lenovo"],[c,g]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[l,/_/g," "],[d,"Nokia"],[c,m]],[/(pixel c)\b/i],[l,[d,S],[c,g]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[l,[d,S],[c,m]],[/droid.+ ([c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[l,[d,A],[c,m]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[l,"Xperia Tablet"],[d,A],[c,g]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[l,[d,"OnePlus"],[c,m]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[l,[d,O],[c,g]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[l,/(.+)/g,"Fire Phone $1"],[d,O],[c,m]],[/(playbook);[-\w\),; ]+(rim)/i],[l,d,[c,g]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[l,[d,k],[c,m]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[l,[d,w],[c,g]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[l,[d,w],[c,m]],[/(nexus 9)/i],[l,[d,"HTC"],[c,g]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony)[-_ ]?([-\w]*)/i],[d,[l,/_/g," "],[c,m]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[l,[d,"Acer"],[c,g]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[l,[d,"Meizu"],[c,m]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[l,[d,"Sharp"],[c,m]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[d,l,[c,m]],[/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[d,l,[c,g]],[/(surface duo)/i],[l,[d,F],[c,g]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[l,[d,"Fairphone"],[c,m]],[/(u304aa)/i],[l,[d,"AT&T"],[c,m]],[/\bsie-(\w*)/i],[l,[d,"Siemens"],[c,m]],[/\b(rct\w+) b/i],[l,[d,"RCA"],[c,g]],[/\b(venue[\d ]{2,7}) b/i],[l,[d,"Dell"],[c,g]],[/\b(q(?:mv|ta)\w+) b/i],[l,[d,"Verizon"],[c,g]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[l,[d,"Barnes & Noble"],[c,g]],[/\b(tm\d{3}\w+) b/i],[l,[d,"NuVision"],[c,g]],[/\b(k88) b/i],[l,[d,"ZTE"],[c,g]],[/\b(nx\d{3}j) b/i],[l,[d,"ZTE"],[c,m]],[/\b(gen\d{3}) b.+49h/i],[l,[d,"Swiss"],[c,m]],[/\b(zur\d{3}) b/i],[l,[d,"Swiss"],[c,g]],[/\b((zeki)?tb.*\b) b/i],[l,[d,"Zeki"],[c,g]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[d,"Dragon Touch"],l,[c,g]],[/\b(ns-?\w{0,9}) b/i],[l,[d,"Insignia"],[c,g]],[/\b((nxa|next)-?\w{0,9}) b/i],[l,[d,"NextBook"],[c,g]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[d,"Voice"],l,[c,m]],[/\b(lvtel\-)?(v1[12]) b/i],[[d,"LvTel"],l,[c,m]],[/\b(ph-1) /i],[l,[d,"Essential"],[c,m]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[l,[d,"Envizen"],[c,g]],[/\b(trio[-\w\. ]+) b/i],[l,[d,"MachSpeed"],[c,g]],[/\btu_(1491) b/i],[l,[d,"Rotor"],[c,g]],[/(shield[\w ]+) b/i],[l,[d,"Nvidia"],[c,g]],[/(sprint) (\w+)/i],[d,l,[c,m]],[/(kin\.[onetw]{3})/i],[[l,/\./g," "],[d,F],[c,m]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[l,[d,L],[c,g]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[l,[d,L],[c,m]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[d,l,[c,f]],[/droid.+; (shield) bui/i],[l,[d,"Nvidia"],[c,f]],[/(playstation [345portablevi]+)/i],[l,[d,A],[c,f]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[l,[d,F],[c,f]],[/smart-tv.+(samsung)/i],[d,[c,v]],[/hbbtv.+maple;(\d+)/i],[[l,/^/,"SmartTV"],[d,D],[c,v]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[d,E],[c,v]],[/(apple) ?tv/i],[d,[l,"Apple TV"],[c,v]],[/crkey/i],[[l,"Chromecast"],[d,S],[c,v]],[/droid.+aft(\w)( bui|\))/i],[l,[d,O],[c,v]],[/\(dtv[\);].+(aquos)/i],[l,[d,"Sharp"],[c,v]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[d,j],[l,j],[c,v]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[c,v]],[/((pebble))app/i],[d,l,[c,y]],[/droid.+; (glass) \d/i],[l,[d,S],[c,y]],[/droid.+; (wt63?0{2,3})\)/i],[l,[d,L],[c,y]],[/(quest( 2)?)/i],[l,[d,z],[c,y]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[d,[c,b]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[l,[c,m]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[l,[c,g]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[c,g]],[/(phone|mobile(?:[;\/]| safari)|pda(?=.+windows ce))/i],[[c,m]],[/(android[-\w\. ]{0,9});.+buil/i],[l,[d,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[h,[u,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[h,[u,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i],[u,h],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[h,u]],os:[[/microsoft (windows) (vista|xp)/i],[u,h],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[u,[h,N,U]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[u,"Windows"],[h,N,U]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[h,/_/g,"."],[u,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[u,"Mac OS"],[h,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[h,u],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[u,h],[/\(bb(10);/i],[h,[u,k]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[h,[u,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[h,[u,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[h,[u,"webOS"]],[/crkey\/([\d\.]+)/i],[h,[u,"Chromecast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[u,"Chromium OS"],h],[/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[u,h],[/(sunos) ?([\w\.\d]*)/i],[[u,"Solaris"],h],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[u,h]]},B=function(e,t){if(typeof e===o&&(t=e,e=i),!(this instanceof B))return new B(e,t).getResult();var r=e||(typeof n!==a&&n.navigator&&n.navigator.userAgent?n.navigator.userAgent:""),l=t?function(e,t){var n={};for(var i in e)t[i]&&t[i].length%2==0?n[i]=t[i].concat(e[i]):n[i]=e[i];return n}(q,t):q;return this.getBrowser=function(){var e={};return e.name=i,e.version=i,M.call(e,r,l.browser),e.major=function(e){return typeof e===s?e.replace(/[^\d\.]/g,"").split(".")[0]:i}(e.version),e},this.getCPU=function(){var e={};return e.architecture=i,M.call(e,r,l.cpu),e},this.getDevice=function(){var e={};return e.vendor=i,e.model=i,e.type=i,M.call(e,r,l.device),e},this.getEngine=function(){var e={};return e.name=i,e.version=i,M.call(e,r,l.engine),e},this.getOS=function(){var e={};return e.name=i,e.version=i,M.call(e,r,l.os),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(e){return r=typeof e===s&&e.length>255?j(e,255):e,this},this.setUA(r),this};B.VERSION="0.7.31",B.BROWSER=$([u,h,"major"]),B.CPU=$([p]),B.DEVICE=$([l,d,c,f,m,v,g,y,b]),B.ENGINE=B.OS=$([u,h]),e.exports&&(t=e.exports=B),t.UAParser=B;var G=typeof n!==a&&(n.jQuery||n.Zepto);if(G&&!G.ua){var W=new B;G.ua=W.getResult(),G.ua.get=function(){return W.getUA()},G.ua.set=function(e){W.setUA(e);var t=W.getResult();for(var n in t)G.ua[n]=t[n]}}}("object"==typeof window?window:x)}(ZHe,ZHe.exports);var HHe="Unknown",KHe={"Mac OS":"Mac OS X"};var JHe=(new(0,ZHe.exports)).getResult(),eKe=function(e){if(!e)return{major:"",minor:""};var t=e.split(".");return{major:t[0],minor:t[1]}}(JHe.browser.version),tKe={browserArchitecture:JHe.cpu.architecture||HHe,browserFullVersion:JHe.browser.version||HHe,browserMinorVersion:eKe.minor||HHe,browserName:JHe.browser.name||HHe,browserVersion:JHe.browser.major||HHe,deviceName:JHe.device.model||HHe,engineName:JHe.engine.name||HHe,engineVersion:JHe.engine.version||HHe,platformArchitecture:JHe.cpu.architecture||HHe,platformName:function(e){return KHe[e]||e}(JHe.os.name)||HHe,platformVersion:JHe.os.version||HHe,platformFullVersion:JHe.os.version||HHe},nKe=tKe,iKe=KXe,rKe=/\./,aKe=/\|\|/,oKe=/\s+\-\s+/,sKe=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,lKe=/^(\d*)(.*)/;function uKe(e,t){var n=e.split(aKe);return n.length>1?n.some((function(e){return OKe.contains(e,t)})):function(e,t){var n=e.split(oKe);if(n.length>0&&n.length<=2||("production"!==go.env.NODE_ENV?iKe(!1,'the "-" operator expects exactly 2 operands'):iKe(!1)),1===n.length)return cKe(n[0],t);var i=n[0],r=n[1];return mKe(i)&&mKe(r)||("production"!==go.env.NODE_ENV?iKe(!1,'operands to the "-" operator must be simple (no modifiers)'):iKe(!1)),cKe(">="+i,t)&&cKe("<="+r,t)}(e=n[0].trim(),t)}function cKe(e,t){if(""===(e=e.trim()))return!0;var n=t.split(rKe),i=pKe(e),r=i.modifier,a=i.rangeComponents;switch(r){case"<":return dKe(n,a);case"<=":return function(e,t){var n=bKe(e,t);return-1===n||0===n}(n,a);case">=":return hKe(n,a);case">":return function(e,t){return 1===bKe(e,t)}(n,a);case"~":case"~>":return function(e,t){var n=t.slice(),i=t.slice();i.length>1&&i.pop();var r=i.length-1,a=parseInt(i[r],10);fKe(a)&&(i[r]=a+1+"");return hKe(e,n)&&dKe(e,i)}(n,a);default:return function(e,t){return 0===bKe(e,t)}(n,a)}}function dKe(e,t){return-1===bKe(e,t)}function hKe(e,t){var n=bKe(e,t);return 1===n||0===n}function pKe(e){var t=e.split(rKe),n=t[0].match(sKe);return n||("production"!==go.env.NODE_ENV?iKe(!1,"expected regex to match but it did not"):iKe(!1)),{modifier:n[1],rangeComponents:[n[2]].concat(t.slice(1))}}function fKe(e){return!isNaN(e)&&isFinite(e)}function mKe(e){return!pKe(e).modifier}function gKe(e,t){for(var n=e.length;n<t;n++)e[n]="0"}function vKe(e,t){var n=e.match(lKe)[1],i=t.match(lKe)[1],r=parseInt(n,10),a=parseInt(i,10);return fKe(r)&&fKe(a)&&r!==a?yKe(r,a):yKe(e,t)}function yKe(e,t){return typeof e!=typeof t&&("production"!==go.env.NODE_ENV?iKe(!1,'"a" and "b" must be of the same type'):iKe(!1)),e>t?1:e<t?-1:0}function bKe(e,t){for(var n=function(e,t){gKe(e=e.slice(),(t=t.slice()).length);for(var n=0;n<t.length;n++){var i=t[n].match(/^[x*]$/i);if(i&&(t[n]=e[n]="0","*"===i[0]&&n===t.length-1))for(var r=n;r<e.length;r++)e[r]="0"}return gKe(t,e.length),[e,t]}(e,t),i=n[0],r=n[1],a=0;a<r.length;a++){var o=vKe(i[a],r[a]);if(o)return o}return 0}var OKe={contains:function(e,t){return uKe(e.trim(),t.trim())}},_Ke=OKe,wKe=Object.prototype.hasOwnProperty;var kKe=function(e,t,n){if(!e)return null;var i={};for(var r in e)wKe.call(e,r)&&(i[r]=t.call(n,e[r],r,e));return i};var xKe=function(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}},SKe=nKe,PKe=_Ke;function EKe(e,t,n,i){if(e===n)return!0;if(!n.startsWith(e))return!1;var r=n.slice(e.length);return!!t&&(r=i?i(r):r,PKe.contains(r,t))}function FKe(e){return"Windows"===SKe.platformName?e.replace(/^\s*NT/,""):e}var CKe=kKe({isBrowser:function(e){return EKe(SKe.browserName,SKe.browserFullVersion,e)},isBrowserArchitecture:function(e){return EKe(SKe.browserArchitecture,null,e)},isDevice:function(e){return EKe(SKe.deviceName,null,e)},isEngine:function(e){return EKe(SKe.engineName,SKe.engineVersion,e)},isPlatform:function(e){return EKe(SKe.platformName,SKe.platformFullVersion,e,FKe)},isPlatformArchitecture:function(e){return EKe(SKe.platformArchitecture,null,e)}},xKe);var TKe=function(e){return e&&e.ownerDocument?e.ownerDocument:document};var DKe=function(e){return!(!e||!e.ownerDocument)&&e.nodeType===Node.ELEMENT_NODE},AKe=DKe;var IKe=function e(t){if(AKe(t)){var n=t,i=n.getAttribute("data-offset-key");if(i)return i;for(var r=0;r<n.childNodes.length;r++){var a=e(n.childNodes[r]);if(a)return a}}return null},LKe=TKe,zKe=IKe;var $Ke=function(e){for(var t=e;t&&t!==LKe(e).documentElement;){var n=zKe(t);if(null!=n)return n;t=t.parentNode}return null};var RKe=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window};function QKe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var jKe=CKe,MKe=$Ke,NKe=RKe,UKe=KXe,qKe=GZe,BKe=HWe.exports.Map,GKe={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},WKe=jKe.isBrowser("IE <= 11"),XKe=function(){function e(e){var t=this;QKe(this,"observer",void 0),QKe(this,"container",void 0),QKe(this,"mutations",void 0),QKe(this,"onCharData",void 0),this.container=e,this.mutations=BKe();var n=NKe(e);n.MutationObserver&&!WKe?this.observer=new n.MutationObserver((function(e){return t.registerMutations(e)})):this.onCharData=function(e){e.target instanceof Node||("production"!==go.env.NODE_ENV?UKe(!1,"Expected target to be an instance of Node"):UKe(!1)),t.registerMutation({type:"characterData",target:e.target})}}var t=e.prototype;return t.start=function(){this.observer?this.observer.observe(this.container,GKe):this.container.addEventListener("DOMCharacterDataModified",this.onCharData)},t.stopAndFlushMutations=function(){var e=this.observer;e?(this.registerMutations(e.takeRecords()),e.disconnect()):this.container.removeEventListener("DOMCharacterDataModified",this.onCharData);var t=this.mutations;return this.mutations=BKe(),t},t.registerMutations=function(e){for(var t=0;t<e.length;t++)this.registerMutation(e[t])},t.getMutationTextContent=function(e){var t=e.type,n=e.target,i=e.removedNodes;if("characterData"===t){if(""!==n.textContent)return WKe?n.textContent.replace("\n",""):n.textContent}else if("childList"===t){if(i&&i.length)return"";if(""!==n.textContent)return n.textContent}return null},t.registerMutation=function(e){var t=this.getMutationTextContent(e);if(null!=t){var n=qKe(MKe(e.target));this.mutations=this.mutations.set(n,t)}},e}(),VKe="-",YKe={encode:function(e,t,n){return e+VKe+t+VKe+n},decode:function(e){var t=e.split(VKe).reverse(),n=t[0],i=t[1];return{blockKey:t.slice(2).reverse().join(VKe),decoratorKey:parseInt(i,10),leafKey:parseInt(n,10)}}},ZKe={BACKSPACE:8,TAB:9,RETURN:13,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,COMMA:188,PERIOD:190,A:65,Z:90,ZERO:48,NUMPAD_0:96,NUMPAD_9:105},HKe={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}};var KKe=function(e){return!(!e||!e.ownerDocument)&&(e.ownerDocument.defaultView?e instanceof e.ownerDocument.defaultView.HTMLElement:e instanceof HTMLElement)},JKe=KXe,eJe=KKe;var tJe=function(e){var t=e.editorContainer;return t||("production"!==go.env.NODE_ENV?JKe(!1,"Missing editorNode"):JKe(!1)),eJe(t.firstChild)||("production"!==go.env.NODE_ENV?JKe(!1,"editorNode.firstChild is not an HTMLElement"):JKe(!1)),t.firstChild},nJe=YKe,iJe=GZe;var rJe=function(e,t,n,i,r){var a=iJe(e.getSelection());if(!t||!i)return"production"!==go.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),a;var o=nJe.decode(t),s=o.blockKey,l=e.getBlockTree(s),u=l&&l.getIn([o.decoratorKey,"leaves",o.leafKey]),c=nJe.decode(i),d=c.blockKey,h=e.getBlockTree(d),p=h&&h.getIn([c.decoratorKey,"leaves",c.leafKey]);if(!u||!p)return"production"!==go.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),a;var f=u.get("start"),m=p.get("start"),g=u?f+n:null,v=p?m+r:null,y=a.getAnchorKey()===s&&a.getAnchorOffset()===g&&a.getFocusKey()===d&&a.getFocusOffset()===v;if(y)return a;var b=!1;if(s===d){var O=u.get("end"),_=p.get("end");b=m===f&&_===O?r<n:m<f}else{var w=e.getCurrentContent().getBlockMap().keySeq().skipUntil((function(e){return e===s||e===d})).first();b=w===d}return a.merge({anchorKey:s,anchorOffset:g,focusKey:d,focusOffset:v,isBackward:b})},aJe=$Ke,oJe=IKe,sJe=rJe,lJe=KXe,uJe=DKe,cJe=GZe;function dJe(e,t,n){var i=t,r=aJe(i);(null!=r||e&&(e===i||e.firstChild===i)||("production"!==go.env.NODE_ENV?lJe(!1,"Unknown node in selection range."):lJe(!1)),e===i)&&(i=i.firstChild,uJe(i)||("production"!==go.env.NODE_ENV?lJe(!1,"Invalid DraftEditorContents node."):lJe(!1)),"true"!==(i=i).getAttribute("data-contents")&&("production"!==go.env.NODE_ENV?lJe(!1,"Invalid DraftEditorContents structure."):lJe(!1)),n>0&&(n=i.childNodes.length));if(0===n){var a=null;if(null!=r)a=r;else{var o=function(e){for(;e.firstChild&&(uJe(e.firstChild)&&"true"===e.firstChild.getAttribute("data-blocks")||oJe(e.firstChild));)e=e.firstChild;return e}(i);a=cJe(oJe(o))}return{key:a,offset:0}}var s=i.childNodes[n-1],l=null,u=null;if(oJe(s)){var c=function(e){for(;e.lastChild&&(uJe(e.lastChild)&&"true"===e.lastChild.getAttribute("data-blocks")||oJe(e.lastChild));)e=e.lastChild;return e}(s);l=cJe(oJe(c)),u=hJe(c)}else l=cJe(r),u=hJe(s);return{key:l,offset:u}}function hJe(e){var t=e.textContent;return"\n"===t?0:t.length}var pJe=function(e,t,n,i,r,a){var o=n.nodeType===Node.TEXT_NODE,s=r.nodeType===Node.TEXT_NODE;if(o&&s)return{selectionState:sJe(e,cJe(aJe(n)),i,cJe(aJe(r)),a),needsRecovery:!1};var l=null,u=null,c=!0;return o?(l={key:cJe(aJe(n)),offset:i},u=dJe(t,r,a)):s?(u={key:cJe(aJe(r)),offset:a},l=dJe(t,n,i)):(l=dJe(t,n,i),u=dJe(t,r,a),n===r&&i===a&&(c=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:sJe(e,l.key,l.offset,u.key,u.offset),needsRecovery:c}},fJe=pJe;var mJe=function(e,t){var n=t.ownerDocument.defaultView.getSelection(),i=n.anchorNode,r=n.anchorOffset,a=n.focusNode,o=n.focusOffset;return 0===n.rangeCount||null==i||null==a?{selectionState:e.getSelection().set("hasFocus",!1),needsRecovery:!1}:fJe(e,t,i,r,a,o)},gJe=HKe,vJe=mHe,yJe=tJe,bJe=mJe;var OJe=function(e){if(e._blockSelectEvents||e._latestEditorState!==e.props.editorState){if(e._blockSelectEvents){var t=e.props.editorState.getSelection();gJe.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(t.toJS())})}}else{var n=e.props.editorState,i=bJe(n,yJe(e)),r=i.selectionState;r!==n.getSelection()&&(n=i.needsRecovery?vJe.forceSelection(n,r):vJe.acceptSelection(n,r),e.update(n))}};var _Je={notEmptyKey:function(e){return null!=e&&""!=e}},wJe=_Je.notEmptyKey;function kJe(e,t){return wJe(t)&&"MUTABLE"===e.__get(t).getMutability()?t:null}var xJe=function(e,t){var n;if(t.isCollapsed()){var i=t.getAnchorKey(),r=t.getAnchorOffset();return r>0?(n=e.getBlockForKey(i).getEntityAt(r-1))!==e.getBlockForKey(i).getEntityAt(r)?null:kJe(e.getEntityMap(),n):null}var a=t.getStartKey(),o=t.getStartOffset(),s=e.getBlockForKey(a);return n=o===s.getLength()?null:s.getEntityAt(o),kJe(e.getEntityMap(),n)},SJe=XKe,PJe=bYe,EJe=YKe,FJe=mHe,CJe=ZKe,TJe=tJe,DJe=mJe,AJe=xJe,IJe=GZe,LJe=!1,zJe=!1,$Je=null;var RJe={onCompositionStart:function(e){zJe=!0,function(e){$Je||($Je=new SJe(TJe(e))).start()}(e)},onCompositionEnd:function(e){LJe=!1,zJe=!1,setTimeout((function(){LJe||RJe.resolveComposition(e)}),20)},onSelect:OJe,onKeyDown:function(e,t){if(!zJe)return RJe.resolveComposition(e),void e._onKeyDown(t);t.which!==CJe.RIGHT&&t.which!==CJe.LEFT||t.preventDefault()},onKeyPress:function(e,t){t.which===CJe.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!zJe){var t=IJe($Je).stopAndFlushMutations();$Je=null,LJe=!0;var n=FJe.set(e._latestEditorState,{inCompositionMode:!1});if(e.exitCurrentMode(),t.size){var i=n.getCurrentContent();t.forEach((function(e,t){var r=EJe.decode(t),a=r.blockKey,o=r.decoratorKey,s=r.leafKey,l=n.getBlockTree(a).getIn([o,"leaves",s]),u=l.start,c=l.end,d=n.getSelection().merge({anchorKey:a,focusKey:a,anchorOffset:u,focusOffset:c,isBackward:!1}),h=AJe(i,d),p=i.getBlockForKey(a).getInlineStyleAt(u);i=PJe.replaceText(i,d,e,p,h),n=FJe.set(n,{currentContent:i})}));var r=DJe(n,TJe(e)).selectionState;e.restoreEditorDOM();var a=FJe.acceptSelection(n,r);e.update(FJe.push(a,i,"insert-characters"))}else e.update(n)}}},QJe=RJe,jJe=XZ;function MJe(){return MJe=jJe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},MJe.apply(this,arguments)}var NJe=YKe,UJe=g.default,qJe=QZe,BJe=PZe,GJe=function(e){var t,n;function i(){return e.apply(this,arguments)||this}return n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i.prototype.render=function(){var e=this.props,t=e.block,n=e.children,i=e.contentState,r=e.decorator,a=e.decoratorKey,o=e.direction,s=e.leafSet,l=e.text,u=t.getKey(),c=s.get("leaves"),d=r.getComponentForKey(a),h=r.getPropsForKey(a),p=NJe.encode(u,parseInt(a,10),0),f=l.slice(c.first().get("start"),c.last().get("end")),m=BJe.getHTMLDirIfDifferent(qJe.getDirection(f),o);return UJe.createElement(d,MJe({},h,{contentState:i,decoratedText:f,dir:m,key:p,entityKey:t.getEntityAt(s.get("start")),offsetKey:p}),n)},i}(UJe.Component),WJe=GJe;function XJe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VJe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var YJe=g.default,ZJe=KXe,HJe=DKe,KJe=CKe.isBrowser("IE <= 11");var JJe=function(e){var t,n;function i(t){var n;return VJe(XJe(n=e.call(this,t)||this),"_forceFlag",void 0),VJe(XJe(n),"_node",void 0),n._forceFlag=!1,n}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){var t=this._node,n=""===e.children;HJe(t)||("production"!==go.env.NODE_ENV?ZJe(!1,"node is not an Element"):ZJe(!1));var i=t;return n?!function(e){return KJe?"\n"===e.textContent:"BR"===e.tagName}(i):i.textContent!==e.children},r.componentDidMount=function(){this._forceFlag=!this._forceFlag},r.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},r.render=function(){var e,t=this;return""===this.props.children?this._forceFlag?(e=function(e){return t._node=e},KJe?YJe.createElement("span",{key:"A","data-text":"true",ref:e},"\n"):YJe.createElement("br",{key:"A","data-text":"true",ref:e})):function(e){return KJe?YJe.createElement("span",{key:"B","data-text":"true",ref:e},"\n"):YJe.createElement("br",{key:"B","data-text":"true",ref:e})}((function(e){return t._node=e})):YJe.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(e){return t._node=e}},this.props.children)},i}(YJe.Component),e0e=JJe,t0e=DKe;var n0e=function(e){return!(!e||!e.ownerDocument)&&(t0e(e)&&"BR"===e.nodeName)};var i0e=function(e){var t=(e?e.ownerDocument||e:document).defaultView||window;return!(!e||!("function"==typeof t.Node?e instanceof t.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))};var r0e=function(e){return i0e(e)&&3==e.nodeType};var a0e=function e(t,n){return!(!t||!n)&&(t===n||!r0e(t)&&(r0e(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))};var o0e=function(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}},s0e=HKe,l0e=a0e,u0e=o0e,c0e=TKe,d0e=KXe,h0e=DKe,p0e=CKe.isBrowser("IE");function f0e(e,t){if(!e)return"[empty]";var n=m0e(e,t);return n.nodeType===Node.TEXT_NODE?n.textContent:(h0e(n)||("production"!==go.env.NODE_ENV?d0e(!1,"Node must be an Element if it is not a text node."):d0e(!1)),n.outerHTML)}function m0e(e,t){var n=void 0!==t?t(e):[];if(e.nodeType===Node.TEXT_NODE){var i=e.textContent.length;return c0e(e).createTextNode("[text "+i+(n.length?" | "+n.join(", "):"")+"]")}var r=e.cloneNode();1===r.nodeType&&n.length&&r.setAttribute("data-labels",n.join(", "));for(var a=e.childNodes,o=0;o<a.length;o++)r.appendChild(m0e(a[o],t));return r}function g0e(e,t){for(var n=e,i=n;n;){if(h0e(n)&&i.hasAttribute("contenteditable"))return f0e(n,t);i=n=n.parentNode}return"Could not find contentEditable parent of node"}function v0e(e){return null===e.nodeValue?e.childNodes.length:e.nodeValue.length}function y0e(e,t,n,i){var r=u0e();if(e.extend&&null!=t&&l0e(r,t)){n>v0e(t)&&s0e.logSelectionStateFailure({anonymizedDom:g0e(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(i.toJS())});var a=t===e.focusNode;try{e.rangeCount>0&&e.extend&&e.extend(t,n)}catch(o){throw s0e.logSelectionStateFailure({anonymizedDom:g0e(t,(function(t){var n=[];return t===r&&n.push("active element"),t===e.anchorNode&&n.push("selection anchor node"),t===e.focusNode&&n.push("selection focus node"),n})),extraParams:JSON.stringify({activeElementName:r?r.nodeName:null,nodeIsFocus:t===e.focusNode,nodeWasFocus:a,selectionRangeCount:e.rangeCount,selectionAnchorNodeName:e.anchorNode?e.anchorNode.nodeName:null,selectionAnchorOffset:e.anchorOffset,selectionFocusNodeName:e.focusNode?e.focusNode.nodeName:null,selectionFocusOffset:e.focusOffset,message:o?""+o:null,offset:n},null,2),selectionState:JSON.stringify(i.toJS(),null,2)}),o}}else if(t&&e.rangeCount>0){var o=e.getRangeAt(0);o.setEnd(t,n),e.addRange(o.cloneRange())}}function b0e(e,t,n,i){var r=c0e(t).createRange();if(n>v0e(t)&&s0e.logSelectionStateFailure({anonymizedDom:g0e(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(i.toJS())}),r.setStart(t,n),p0e)try{e.addRange(r)}catch(e){"production"!==go.env.NODE_ENV&&console.warn("Call to selection.addRange() threw exception: ",e)}else e.addRange(r)}var O0e=function(e,t,n,i,r){var a=c0e(t);if(l0e(a.documentElement,t)){var o=a.defaultView.getSelection(),s=e.getAnchorKey(),l=e.getAnchorOffset(),u=e.getFocusKey(),c=e.getFocusOffset(),d=e.getIsBackward();if(!o.extend&&d){var h=s,p=l;s=u,l=c,u=h,c=p,d=!1}var f=s===n&&i<=l&&r>=l,m=u===n&&i<=c&&r>=c;if(f&&m)return o.removeAllRanges(),b0e(o,t,l-i,e),void y0e(o,t,c-i,e);if(d){if(m&&(o.removeAllRanges(),b0e(o,t,c-i,e)),f){var g=o.focusNode,v=o.focusOffset;o.removeAllRanges(),b0e(o,t,l-i,e),y0e(o,g,v,e)}}else f&&(o.removeAllRanges(),b0e(o,t,l-i,e)),m&&y0e(o,t,c-i,e)}},_0e=XZ;function w0e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k0e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var x0e=e0e,S0e=g.default,P0e=KXe,E0e=n0e,F0e=O0e,C0e=function(e){var t,n;function i(){for(var t,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return k0e(w0e(t=e.call.apply(e,[this].concat(i))||this),"leaf",void 0),t}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r._setSelection=function(){var e=this.props.selection;if(null!=e&&e.getHasFocus()){var t=this.props,n=t.block,i=t.start,r=t.text,a=n.getKey(),o=i+r.length;if(e.hasEdgeWithin(a,i,o)){var s=this.leaf;s||("production"!==go.env.NODE_ENV?P0e(!1,"Missing node"):P0e(!1));var l,u=s.firstChild;u||("production"!==go.env.NODE_ENV?P0e(!1,"Missing child"):P0e(!1)),u.nodeType===Node.TEXT_NODE?l=u:E0e(u)?l=s:(l=u.firstChild)||("production"!==go.env.NODE_ENV?P0e(!1,"Missing targetNode"):P0e(!1)),F0e(e,l,a,i,o)}}},r.shouldComponentUpdate=function(e){var t=this.leaf;return t||("production"!==go.env.NODE_ENV?P0e(!1,"Missing leafNode"):P0e(!1)),t.textContent!==e.text||e.styleSet!==this.props.styleSet||e.forceSelection},r.componentDidUpdate=function(){this._setSelection()},r.componentDidMount=function(){this._setSelection()},r.render=function(){var e=this,t=this.props.block,n=this.props.text;n.endsWith("\n")&&this.props.isLast&&(n+="\n");var i=this.props,r=i.customStyleMap,a=i.customStyleFn,o=i.offsetKey,s=i.styleSet,l=s.reduce((function(e,t){var n={},i=r[t];return void 0!==i&&e.textDecoration!==i.textDecoration&&(n.textDecoration=[e.textDecoration,i.textDecoration].join(" ").trim()),_0e(e,i,n)}),{});if(a){var u=a(s,t);l=_0e(l,u)}return S0e.createElement("span",{"data-offset-key":o,ref:function(t){return e.leaf=t},style:l},S0e.createElement(x0e,null,n))},i}(S0e.Component),T0e=C0e;var D0e=WJe,A0e=T0e,I0e=YKe,L0e=HWe.exports,z0e=g.default,$0e=GHe;L0e.List;var R0e=function(e){var t,n;function i(){return e.apply(this,arguments)||this}return n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i.prototype.render=function(){var e=this.props,t=e.block,n=e.contentState,i=e.customStyleFn,r=e.customStyleMap,a=e.decorator,o=e.direction,s=e.forceSelection,l=e.hasSelection,u=e.selection,c=e.tree,d=t.getKey(),h=t.getText(),p=c.size-1,f=this.props.children||c.map((function(e,c){var f=e.get("decoratorKey"),m=e.get("leaves"),g=m.size-1,v=m.map((function(e,n){var a=I0e.encode(d,c,n),o=e.get("start"),m=e.get("end");return z0e.createElement(A0e,{key:a,offsetKey:a,block:t,start:o,selection:l?u:null,forceSelection:s,text:h.slice(o,m),styleSet:t.getInlineStyleAt(o),customStyleMap:r,customStyleFn:i,isLast:f===p&&n===g})})).toArray();return f&&a?z0e.createElement(D0e,{block:t,children:v,contentState:n,decorator:a,decoratorKey:f,direction:o,leafSet:e,text:h,key:c}):v})).toArray();return z0e.createElement("div",{"data-offset-key":I0e.encode(d,0,0),className:$0e({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===o,"public/DraftStyleDefault/rtl":"RTL"===o})},f)},i}(z0e.Component),Q0e=R0e;function j0e(e,t){return!!t&&(e===t.documentElement||e===t.body)}var M0e={getTop:function(e){var t=e.ownerDocument;return j0e(e,t)?t.body.scrollTop||t.documentElement.scrollTop:e.scrollTop},setTop:function(e,t){var n=e.ownerDocument;j0e(e,n)?n.body.scrollTop=n.documentElement.scrollTop=t:e.scrollTop=t},getLeft:function(e){var t=e.ownerDocument;return j0e(e,t)?t.body.scrollLeft||t.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,t){var n=e.ownerDocument;j0e(e,n)?n.body.scrollLeft=n.documentElement.scrollLeft=t:e.scrollLeft=t}},N0e=M0e,U0e=/-(.)/g;var q0e=function(e){return e.replace(U0e,(function(e,t){return t.toUpperCase()}))},B0e=/([A-Z])/g;var G0e=function(e){return e.replace(B0e,"-$1").toLowerCase()},W0e=q0e,X0e=G0e;function V0e(e){return null==e?e:String(e)}var Y0e=function(e,t){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(e,null)))return V0e(n.getPropertyValue(X0e(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(e,null))return V0e(n.getPropertyValue(X0e(t)));if("display"===t)return"none"}return e.currentStyle?V0e("float"===t?e.currentStyle.cssFloat||e.currentStyle.styleFloat:e.currentStyle[W0e(t)]):V0e(e.style&&e.style[W0e(t)])};function Z0e(e,t){var n=H0e.get(e,t);return"auto"===n||"scroll"===n}var H0e={get:Y0e,getScrollParent:function(e){if(!e)return null;for(var t=e.ownerDocument;e&&e!==t.body;){if(Z0e(e,"overflow")||Z0e(e,"overflowY")||Z0e(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}},K0e=H0e,J0e=a0e;var e1e=function(e){var t=e.ownerDocument.documentElement;if(!("getBoundingClientRect"in e)||!J0e(t,e))return{left:0,right:0,top:0,bottom:0};var n=e.getBoundingClientRect();return{left:Math.round(n.left)-t.clientLeft,right:Math.round(n.right)-t.clientLeft,top:Math.round(n.top)-t.clientTop,bottom:Math.round(n.bottom)-t.clientTop}};var t1e=function(e){var t=e1e(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}},n1e="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;var i1e=function(e){return(e=e||document).scrollingElement?e.scrollingElement:n1e||"CSS1Compat"!==e.compatMode?e.body:e.documentElement};var r1e=i1e,a1e=function(e){return e.Window&&e instanceof e.Window?{x:e.pageXOffset||e.document.documentElement.scrollLeft,y:e.pageYOffset||e.document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}};var o1e=function(e){var t=r1e(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var n=a1e(e),i=e===t?e.ownerDocument.documentElement:e,r=e.scrollWidth-i.clientWidth,a=e.scrollHeight-i.clientHeight;return n.x=Math.max(0,Math.min(n.x,r)),n.y=Math.max(0,Math.min(n.y,a)),n};function s1e(){var e;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function l1e(){var e;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function u1e(){return{width:window.innerWidth||s1e(),height:window.innerHeight||l1e()}}u1e.withoutScrollbars=function(){return{width:s1e(),height:l1e()}};var c1e=u1e,d1e=XZ;function h1e(){return h1e=d1e||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},h1e.apply(this,arguments)}function p1e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f1e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){m1e(e,t,n[t])}))}return e}function m1e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g1e=Q0e,v1e=YKe,y1e=g.default,b1e=N0e,O1e=K0e,_1e=t1e,w1e=o1e,k1e=c1e,x1e=KXe,S1e=KKe;HWe.exports.List;var P1e=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},E1e=function(e,t){var n=t.get(e.getType())||t.get("unstyled"),i=n.wrapper;return{Element:n.element||t.get("unstyled").element,wrapperTemplate:i}},F1e=function(e,t){var n=t(e);return n?{CustomComponent:n.component,customProps:n.props,customEditable:n.editable}:{}},C1e=function(e,t,n,i,r,a){var o={"data-block":!0,"data-editor":t,"data-offset-key":n,key:e.getKey(),ref:a},s=i(e);return s&&(o.className=s),void 0!==r.customEditable&&(o=f1e({},o,{contentEditable:r.customEditable,suppressContentEditableWarning:!0})),o},T1e=function(e){var t,n;function i(){for(var t,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return m1e(p1e(t=e.call.apply(e,[this].concat(i))||this),"wrapperRef",y1e.createRef()),t}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){var t=this.props,n=t.block,i=t.direction,r=t.tree,a=!n.getChildKeys().isEmpty(),o=n!==e.block||r!==e.tree||i!==e.direction||P1e(e.selection,e.block.getKey())&&e.forceSelection;return a||o},r.componentDidMount=function(){var e=this.props.selection,t=e.getEndKey();if(e.getHasFocus()&&t===this.props.block.getKey()){var n=this.wrapperRef.current;if(n){var i,r=O1e.getScrollParent(n),a=w1e(r);if(r===window){var o=_1e(n);(i=o.y+o.height-k1e().height)>0&&window.scrollTo(a.x,a.y+i+10)}else{S1e(n)||("production"!==go.env.NODE_ENV?x1e(!1,"blockNode is not an HTMLElement"):x1e(!1));var s=n;(i=s.offsetHeight+s.offsetTop-(r.offsetHeight+a.y))>0&&b1e.setTop(r,b1e.getTop(r)+i+10)}}}},r.render=function(){var e=this,t=this.props,n=t.block,r=t.blockRenderMap,a=t.blockRendererFn,o=t.blockStyleFn,s=t.contentState,l=t.decorator,u=t.editorKey,c=t.editorState,d=t.customStyleFn,h=t.customStyleMap,p=t.direction,f=t.forceSelection,m=t.selection,g=t.tree,v=null;n.children.size&&(v=n.children.reduce((function(t,n){var l=v1e.encode(n,0,0),d=s.getBlockForKey(n),h=F1e(d,a),p=h.CustomComponent||i,f=E1e(d,r),m=f.Element,g=f.wrapperTemplate,v=C1e(d,u,l,o,h,null),y=f1e({},e.props,{tree:c.getBlockTree(n),blockProps:h.customProps,offsetKey:l,block:d});return t.push(y1e.createElement(m,v,y1e.createElement(p,y))),!g||function(e,t){var n=e.getNextSiblingKey();return!!n&&t.getBlockForKey(n).getType()===e.getType()}(d,s)||function(e,t,n){var i=[],r=!0,a=!1,o=void 0;try{for(var s,l=n.reverse()[Symbol.iterator]();!(r=(s=l.next()).done);r=!0){var u=s.value;if(u.type!==t)break;i.push(u)}}catch(e){a=!0,o=e}finally{try{r||null==l.return||l.return()}finally{if(a)throw o}}n.splice(n.indexOf(i[0]),i.length+1);var c=i.reverse(),d=c[0].key;n.push(y1e.cloneElement(e,{key:"".concat(d,"-wrap"),"data-offset-key":v1e.encode(d,0,0)},c))}(g,m,t),t}),[]));var y=n.getKey(),b=v1e.encode(y,0,0),O=F1e(n,a),_=O.CustomComponent,w=null!=_?y1e.createElement(_,h1e({},this.props,{tree:c.getBlockTree(y),blockProps:O.customProps,offsetKey:b,block:n})):y1e.createElement(g1e,{block:n,children:v,contentState:s,customStyleFn:d,customStyleMap:h,decorator:l,direction:p,forceSelection:f,hasSelection:P1e(m,y),selection:m,tree:g});if(n.getParentKey())return w;var k=E1e(n,r).Element,x=C1e(n,u,b,o,O,this.wrapperRef);return y1e.createElement(k,x,w)},i}(y1e.Component),D1e=XZ;function A1e(){return A1e=D1e||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},A1e.apply(this,arguments)}var I1e=T1e,L1e=YKe,z1e=g.default,$1e=GZe,R1e=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){var t=this.props.editorState,n=e.editorState;if(t.getDirectionMap()!==n.getDirectionMap())return!0;if(t.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var i=n.getNativelyRenderedContent(),r=t.isInCompositionMode(),a=n.isInCompositionMode();if(t===n||null!==i&&n.getCurrentContent()===i||r&&a)return!1;var o=t.getCurrentContent(),s=n.getCurrentContent(),l=t.getDecorator(),u=n.getDecorator();return r!==a||o!==s||l!==u||n.mustForceSelection()},r.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,i=e.blockStyleFn,r=e.customStyleMap,a=e.customStyleFn,o=e.editorState,s=e.editorKey,l=e.textDirectionality,u=o.getCurrentContent(),c=o.getSelection(),d=o.mustForceSelection(),h=o.getDecorator(),p=$1e(o.getDirectionMap()),f=[],m=u.getBlocksAsArray()[0];m;){var g=m.getKey(),v={blockRenderMap:t,blockRendererFn:n,blockStyleFn:i,contentState:u,customStyleFn:a,customStyleMap:r,decorator:h,editorKey:s,editorState:o,forceSelection:d,selection:c,block:m,direction:l||p.get(g),tree:o.getBlockTree(g)},y=(t.get(m.getType())||t.get("unstyled")).wrapper;f.push({block:z1e.createElement(I1e,A1e({key:g},v)),wrapperTemplate:y,key:g,offsetKey:L1e.encode(g,0,0)});var b=m.getNextSiblingKey();m=b?u.getBlockForKey(b):null}for(var O=[],_=0;_<f.length;){var w=f[_];if(w.wrapperTemplate){var k=[];do{k.push(f[_].block),_++}while(_<f.length&&f[_].wrapperTemplate===w.wrapperTemplate);var x=z1e.cloneElement(w.wrapperTemplate,{key:w.key+"-wrap","data-offset-key":w.offsetKey},k);O.push(x)}else O.push(w.block),_++}return z1e.createElement("div",{"data-contents":"true"},O)},i}(z1e.Component),Q1e=R1e,j1e=XZ;function M1e(){return M1e=j1e||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},M1e.apply(this,arguments)}function N1e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U1e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var q1e=T0e,B1e=YKe,G1e=g.default,W1e=N0e,X1e=K0e,V1e=QZe,Y1e=PZe,Z1e=GHe,H1e=t1e,K1e=o1e,J1e=c1e,e2e=KXe,t2e=KKe,n2e=GZe,i2e=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},r2e=function(e){var t,n;function i(){for(var t,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return U1e(N1e(t=e.call.apply(e,[this].concat(i))||this),"_node",void 0),t}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){return this.props.block!==e.block||this.props.tree!==e.tree||this.props.direction!==e.direction||i2e(e.selection,e.block.getKey())&&e.forceSelection},r.componentDidMount=function(){if(!this.props.preventScroll){var e=this.props.selection,t=e.getEndKey();if(e.getHasFocus()&&t===this.props.block.getKey()){var n=this._node;if(null!=n){var i,r=X1e.getScrollParent(n),a=K1e(r);if(r===window){var o=H1e(n);(i=o.y+o.height-J1e().height)>0&&window.scrollTo(a.x,a.y+i+10)}else{t2e(n)||("production"!==go.env.NODE_ENV?e2e(!1,"blockNode is not an HTMLElement"):e2e(!1)),(i=n.offsetHeight+n.offsetTop-(r.offsetTop+r.offsetHeight+a.y))>0&&W1e.setTop(r,W1e.getTop(r)+i+10)}}}}},r._renderChildren=function(){var e=this,t=this.props.block,n=t.getKey(),i=t.getText(),r=this.props.tree.size-1,a=i2e(this.props.selection,n);return this.props.tree.map((function(o,s){var l=o.get("leaves");if(0===l.size)return null;var u=l.size-1,c=l.map((function(o,l){var c=B1e.encode(n,s,l),d=o.get("start"),h=o.get("end");return G1e.createElement(q1e,{key:c,offsetKey:c,block:t,start:d,selection:a?e.props.selection:null,forceSelection:e.props.forceSelection,text:i.slice(d,h),styleSet:t.getInlineStyleAt(d),customStyleMap:e.props.customStyleMap,customStyleFn:e.props.customStyleFn,isLast:s===r&&l===u})})).toArray(),d=o.get("decoratorKey");if(null==d)return c;if(!e.props.decorator)return c;var h=n2e(e.props.decorator),p=h.getComponentForKey(d);if(!p)return c;var f=h.getPropsForKey(d),m=B1e.encode(n,s,0),g=l.first().get("start"),v=l.last().get("end"),y=i.slice(g,v),b=t.getEntityAt(o.get("start")),O=Y1e.getHTMLDirIfDifferent(V1e.getDirection(y),e.props.direction),_={contentState:e.props.contentState,decoratedText:y,dir:O,start:g,end:v,blockKey:n,entityKey:b,offsetKey:m};return G1e.createElement(p,M1e({},f,_,{key:m}),c)})).toArray()},r.render=function(){var e=this,t=this.props,n=t.direction,i=t.offsetKey,r=Z1e({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return G1e.createElement("div",{"data-offset-key":i,className:r,ref:function(t){return e._node=t}},this._renderChildren())},i}(G1e.Component),a2e=r2e;var o2e=function(e){var t=e||"",n=arguments.length;if(n>1)for(var i=1;i<n;i++){var r=arguments[i];r&&(t=(t?t+" ":"")+r)}return t},s2e=XZ;function l2e(){return l2e=s2e||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},l2e.apply(this,arguments)}function u2e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){c2e(e,t,n[t])}))}return e}function c2e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d2e=a2e,h2e=YKe,p2e=g.default,f2e=GHe,m2e=o2e,g2e=GZe,v2e=function(e,t,n,i){return f2e({"public/DraftStyleDefault/unorderedListItem":"unordered-list-item"===e,"public/DraftStyleDefault/orderedListItem":"ordered-list-item"===e,"public/DraftStyleDefault/reset":n,"public/DraftStyleDefault/depth0":0===t,"public/DraftStyleDefault/depth1":1===t,"public/DraftStyleDefault/depth2":2===t,"public/DraftStyleDefault/depth3":3===t,"public/DraftStyleDefault/depth4":t>=4,"public/DraftStyleDefault/listLTR":"LTR"===i,"public/DraftStyleDefault/listRTL":"RTL"===i})},y2e=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){var t=this.props.editorState,n=e.editorState;if(t.getDirectionMap()!==n.getDirectionMap())return!0;if(t.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var i=n.getNativelyRenderedContent(),r=t.isInCompositionMode(),a=n.isInCompositionMode();if(t===n||null!==i&&n.getCurrentContent()===i||r&&a)return!1;var o=t.getCurrentContent(),s=n.getCurrentContent(),l=t.getDecorator(),u=n.getDecorator();return r!==a||o!==s||l!==u||n.mustForceSelection()},r.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,i=e.blockStyleFn,r=e.customStyleMap,a=e.customStyleFn,o=e.editorState,s=e.editorKey,l=e.preventScroll,u=e.textDirectionality,c=o.getCurrentContent(),d=o.getSelection(),h=o.mustForceSelection(),p=o.getDecorator(),f=g2e(o.getDirectionMap()),m=c.getBlocksAsArray(),g=[],v=null,y=null,b=0;b<m.length;b++){var O=m[b],_=O.getKey(),w=O.getType(),k=n(O),x=void 0,S=void 0,P=void 0;k&&(x=k.component,S=k.props,P=k.editable);var E=u||f.get(_),F=h2e.encode(_,0,0),C={contentState:c,block:O,blockProps:S,blockStyleFn:i,customStyleMap:r,customStyleFn:a,decorator:p,direction:E,forceSelection:h,offsetKey:F,preventScroll:l,selection:d,tree:o.getBlockTree(_)},T=t.get(w)||t.get("unstyled"),D=T.wrapper,A=T.element||t.get("unstyled").element,I=O.getDepth(),L="";if(i&&(L=i(O)),"li"===A)L=m2e(L,v2e(w,I,y!==D||null===v||I>v,E));var z=x||d2e,$={className:L,"data-block":!0,"data-editor":s,"data-offset-key":F,key:_};void 0!==P&&($=u2e({},$,{contentEditable:P,suppressContentEditableWarning:!0}));var R=p2e.createElement(A,$,p2e.createElement(z,l2e({},C,{key:_})));g.push({block:R,wrapperTemplate:D,key:_,offsetKey:F}),v=D?O.getDepth():null,y=D}for(var Q=[],j=0;j<g.length;){var M=g[j];if(M.wrapperTemplate){var N=[];do{N.push(g[j].block),j++}while(j<g.length&&g[j].wrapperTemplate===M.wrapperTemplate);var U=p2e.cloneElement(M.wrapperTemplate,{key:M.key+"-wrap","data-offset-key":M.offsetKey},N);Q.push(U)}else Q.push(M.block),j++}return p2e.createElement("div",{"data-contents":"true"},Q)},i}(p2e.Component),b2e=y2e,O2e=YYe("draft_tree_data_support")?Q1e:b2e,_2e={isImage:function(e){return"image"===w2e(e)[0]},isJpeg:function(e){var t=w2e(e);return _2e.isImage(e)&&("jpeg"===t[1]||"pjpeg"===t[1])}};function w2e(e){return e.split("/")}var k2e=_2e,x2e=KXe;var S2e=function(e){return function(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"length"in e&&!("setInterval"in e)&&"number"!=typeof e.nodeType&&(Array.isArray(e)||"callee"in e||"item"in e)}(e)?Array.isArray(e)?e.slice():function(e){var t=e.length;if((Array.isArray(e)||"object"!=typeof e&&"function"!=typeof e)&&("production"!==go.env.NODE_ENV?x2e(!1,"toArray: Array-like object expected"):x2e(!1)),"number"!=typeof t&&("production"!==go.env.NODE_ENV?x2e(!1,"toArray: Object needs a length property"):x2e(!1)),0===t||t-1 in e||("production"!==go.env.NODE_ENV?x2e(!1,"toArray: Object should have keys for indices"):x2e(!1)),"function"==typeof e.callee&&("production"!==go.env.NODE_ENV?x2e(!1,"toArray: Object can't be `arguments`. Use rest params (function(...args) {}) or Array.from() instead."):x2e(!1)),e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),i=0;i<t;i++)n[i]=e[i];return n}(e):[e]};function P2e(e){return function(){return e}}var E2e=function(){};E2e.thatReturns=P2e,E2e.thatReturnsFalse=P2e(!1),E2e.thatReturnsTrue=P2e(!0),E2e.thatReturnsNull=P2e(null),E2e.thatReturnsThis=function(){return this},E2e.thatReturnsArgument=function(e){return e};var F2e=E2e,C2e=k2e,T2e=S2e,D2e=F2e,A2e=new RegExp("\r\n","g"),I2e={"text/rtf":1,"text/html":1};function L2e(e){if("file"==e.kind)return e.getAsFile()}var z2e=function(){function e(e){this.data=e,this.types=e.types?T2e(e.types):[]}var t=e.prototype;return t.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(e){return I2e[e]}))},t.getText=function(){var e;return this.data.getData&&(this.types.length?-1!=this.types.indexOf("text/plain")&&(e=this.data.getData("text/plain")):e=this.data.getData("Text")),e?e.replace(A2e,"\n"):null},t.getHTML=function(){if(this.data.getData){if(!this.types.length)return this.data.getData("Text");if(-1!=this.types.indexOf("text/html"))return this.data.getData("text/html")}},t.isLink=function(){return this.types.some((function(e){return-1!=e.indexOf("Url")||-1!=e.indexOf("text/uri-list")||e.indexOf("text/x-moz-url")}))},t.getLink=function(){return this.data.getData?-1!=this.types.indexOf("text/x-moz-url")?this.data.getData("text/x-moz-url").split("\n")[0]:-1!=this.types.indexOf("text/uri-list")?this.data.getData("text/uri-list"):this.data.getData("url"):null},t.isImage=function(){var e=this.types.some((function(e){return-1!=e.indexOf("application/x-moz-file")}));if(e)return!0;for(var t=this.getFiles(),n=0;n<t.length;n++){var i=t[n].type;if(!C2e.isImage(i))return!1}return!0},t.getCount=function(){return this.data.hasOwnProperty("items")?this.data.items.length:this.data.hasOwnProperty("mozItemCount")?this.data.mozItemCount:this.data.files?this.data.files.length:null},t.getFiles=function(){return this.data.items?Array.prototype.slice.call(this.data.items).map(L2e).filter(D2e.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},t.hasFiles=function(){return this.getFiles().length>0},e}(),$2e=z2e,R2e=KXe,Q2e=/\.textClipping$/,j2e={"text/plain":!0,"text/html":!0,"text/rtf":!0};var M2e=function(e,t){var n=0,i=[];e.forEach((function(r){!function(e,t){if(!x.FileReader||e.type&&!(e.type in j2e))return void t("");if(""===e.type){var n="";return Q2e.test(e.name)&&(n=e.name.replace(Q2e,"")),void t(n)}var i=new FileReader;i.onload=function(){var e=i.result;"string"!=typeof e&&("production"!==go.env.NODE_ENV?R2e(!1,'We should be calling "FileReader.readAsText" which returns a string'):R2e(!1)),t(e)},i.onerror=function(){t("")},i.readAsText(e)}(r,(function(r){n++,r&&i.push(r.slice(0,5e3)),n==e.length&&t(i.join("\r"))}))}))};var N2e=function(e){return"handled"===e||!0===e},U2e=$2e,q2e=bYe,B2e=mHe,G2e=$Ke,W2e=TKe,X2e=M2e,V2e=rJe,Y2e=RKe,Z2e=N2e,H2e=GZe;var K2e={onDragEnd:function(e){e.exitCurrentMode(),J2e(e)},onDrop:function(e,t){var n=new U2e(t.nativeEvent.dataTransfer),i=e._latestEditorState,r=function(e,t){var n=null,i=null,r=W2e(e.currentTarget);if("function"==typeof r.caretRangeFromPoint){var a=r.caretRangeFromPoint(e.x,e.y);n=a.startContainer,i=a.startOffset}else{if(!e.rangeParent)return null;n=e.rangeParent,i=e.rangeOffset}n=H2e(n),i=H2e(i);var o=H2e(G2e(n));return V2e(t,o,i,o,i)}(t.nativeEvent,i);if(t.preventDefault(),e._dragCount=0,e.exitCurrentMode(),null!=r){var a=n.getFiles();if(a.length>0){if(e.props.handleDroppedFiles&&Z2e(e.props.handleDroppedFiles(r,a)))return;X2e(a,(function(t){t&&e.update(e3e(i,r,t))}))}else{var o=e._internalDrag?"internal":"external";e.props.handleDrop&&Z2e(e.props.handleDrop(r,n,o))||(e._internalDrag?e.update(function(e,t){var n=q2e.moveText(e.getCurrentContent(),e.getSelection(),t);return B2e.push(e,n,"insert-fragment")}(i,r)):e.update(e3e(i,r,n.getText()))),J2e(e)}}}};function J2e(e){e._internalDrag=!1;var t=e.editorContainer;if(t){var n=new MouseEvent("mouseup",{view:Y2e(t),bubbles:!0,cancelable:!0});t.dispatchEvent(n)}}function e3e(e,t,n){var i=q2e.insertText(e.getCurrentContent(),t,n,e.getCurrentInlineStyle());return B2e.push(e,i,"insert-fragment")}var t3e=K2e;var n3e=function(e){var t=e.getSelection(),n=t.getAnchorKey(),i=e.getBlockTree(n),r=t.getStartOffset(),a=!1;return i.some((function(e){return r===e.get("start")?(a=!0,!0):r<e.get("end")&&e.get("leaves").some((function(e){var t=e.get("start");return r===t&&(a=!0,!0)}))})),a};!function(e,t){if(!e.setImmediate){var n,i,r,a=1,o={},s=!1,l=e.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(e);u=u&&u.setTimeout?u:e,"[object process]"==={}.toString.call(e.process)?n=function(e){go.nextTick((function(){d(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?(i="setImmediate$"+Math.random()+"$",r=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(i)&&d(+t.data.slice(i.length))},e.addEventListener?e.addEventListener("message",r,!1):e.attachEvent("onmessage",r),n=function(t){e.postMessage(i+t,"*")}):e.MessageChannel?function(){var e=new MessageChannel;e.port1.onmessage=function(e){d(e.data)},n=function(t){e.port2.postMessage(t)}}():l&&"onreadystatechange"in l.createElement("script")?function(){var e=l.documentElement;n=function(t){var n=l.createElement("script");n.onreadystatechange=function(){d(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}():n=function(e){setTimeout(d,0,e)},u.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),i=0;i<t.length;i++)t[i]=arguments[i+1];var r={callback:e,args:t};return o[a]=r,n(a),a++},u.clearImmediate=c}function c(e){delete o[e]}function d(e){if(s)setTimeout(d,0,e);else{var t=o[e];if(t){s=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{c(e),s=!1}}}}}("undefined"==typeof self?x:self);var i3e=x.setImmediate,r3e=bYe,a3e=mHe,o3e=xJe,s3e=N2e,l3e=n3e,u3e=GZe,c3e=i3e,d3e=CKe.isBrowser("Firefox");function h3e(e,t,n,i,r){var a=r3e.replaceText(e.getCurrentContent(),e.getSelection(),t,n,i);return a3e.push(e,a,"insert-characters",r)}var p3e=function(e,t){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=e._latestEditorState,i=t.data;if(i)if(e.props.handleBeforeInput&&s3e(e.props.handleBeforeInput(i,n,t.timeStamp)))t.preventDefault();else{var r=n.getSelection(),a=r.getStartOffset(),o=r.getAnchorKey();if(!r.isCollapsed())return t.preventDefault(),void e.update(h3e(n,i,n.getCurrentInlineStyle(),o3e(n.getCurrentContent(),n.getSelection()),!0));var s,l=h3e(n,i,n.getCurrentInlineStyle(),o3e(n.getCurrentContent(),n.getSelection()),!1),u=!1;if(u||(u=l3e(e._latestCommittedEditorState)),!u){var c=n.getBlockTree(o),d=l.getBlockTree(o);u=c.size!==d.size||c.zip(d).some((function(e){var t=e[0],n=e[1],r=t.get("start"),o=r+(r>=a?i.length:0),s=t.get("end"),l=s+(s>=a?i.length:0),u=n.get("start"),c=n.get("end"),d=n.get("decoratorKey");return t.get("decoratorKey")!==d||t.get("leaves").size!==n.get("leaves").size||o!==u||l!==c||null!=d&&c-u!=s-r}))}if(u||(s=i,u=d3e&&("'"==s||"/"==s)),u||(u=u3e(l.getDirectionMap()).get(o)!==u3e(n.getDirectionMap()).get(o)),u)return t.preventDefault(),l=a3e.set(l,{forceSelection:!0}),void e.update(l);l=a3e.set(l,{nativelyRenderedContent:l.getCurrentContent()}),e._pendingStateFromBeforeInput=l,c3e((function(){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)}))}},f3e=mHe,m3e=a0e,g3e=o0e;var v3e=function(e,t){var n=t.currentTarget.ownerDocument;if(!Boolean(e.props.preserveSelectionOnBlur)&&g3e(n)===n.body){var i=n.defaultView.getSelection(),r=e.editor;1===i.rangeCount&&m3e(r,i.anchorNode)&&m3e(r,i.focusNode)&&i.removeAllRanges()}var a=e._latestEditorState,o=a.getSelection();if(o.getHasFocus()){var s=o.set("hasFocus",!1);e.props.onBlur&&e.props.onBlur(t),e.update(f3e.acceptSelection(a,s))}},y3e=mHe;var b3e=function(e,t){e.setMode("composite"),e.update(y3e.set(e._latestEditorState,{inCompositionMode:!0})),e._onCompositionStart(t)},O3e=OVe;var _3e=function(e){var t=e.getSelection();return t.isCollapsed()?null:O3e(e.getCurrentContent(),t)},w3e=_3e;var k3e=function(e,t){e._latestEditorState.getSelection().isCollapsed()?t.preventDefault():e.setClipboard(w3e(e._latestEditorState))};var x3e=function(e){if(!e||!("ownerDocument"in e))return!1;if("ownerDocument"in e){var t=e;if(!t.ownerDocument.defaultView)return t instanceof Node;if(t instanceof t.ownerDocument.defaultView.Node)return!0}return!1},S3e=bYe,P3e=mHe,E3e=K0e,F3e=_3e,C3e=o1e,T3e=x3e;var D3e=function(e,t){var n,i=e._latestEditorState,r=i.getSelection(),a=t.target;if(r.isCollapsed())t.preventDefault();else{if(T3e(a)){var o=a;n=C3e(E3e.getScrollParent(o))}var s=F3e(i);e.setClipboard(s),e.setMode("cut"),setTimeout((function(){e.restoreEditorDOM(n),e.exitCurrentMode(),e.update(function(e){var t=S3e.removeRange(e.getCurrentContent(),e.getSelection(),"forward");return P3e.push(e,t,"remove-range")}(i))}),0)}};var A3e=function(e,t){e.setMode("drag"),t.preventDefault()};var I3e=function(e){e._internalDrag=!0,e.setMode("drag")},L3e=mHe,z3e=CKe;var $3e=function(e,t){var n=e._latestEditorState,i=n.getSelection();if(!i.getHasFocus()){var r=i.set("hasFocus",!0);e.props.onFocus&&e.props.onFocus(t),z3e.isBrowser("Chrome < 60.0.3081.0")?e.update(L3e.forceSelection(n,r)):e.update(L3e.acceptSelection(n,r))}},R3e=KXe,Q3e=/[\uD800-\uDFFF]/;function j3e(e){return 55296<=e&&e<=57343}function M3e(e){return Q3e.test(e)}function N3e(e,t){return 1+j3e(e.charCodeAt(t))}function U3e(e,t,n){if(t=t||0,n=void 0===n?1/0:n||0,!M3e(e))return e.substr(t,n);var i=e.length;if(i<=0||t>i||n<=0)return"";var r=0;if(t>0){for(;t>0&&r<i;t--)r+=N3e(e,r);if(r>=i)return""}else if(t<0){for(r=i;t<0&&0<r;t++)r-=N3e(e,r-1);r<0&&(r=0)}var a=i;if(n<i)for(a=r;n>0&&a<i;n--)a+=N3e(e,a);return e.substring(r,a)}var q3e={getCodePoints:function(e){for(var t=[],n=0;n<e.length;n+=N3e(e,n))t.push(e.codePointAt(n));return t},getUTF16Length:N3e,hasSurrogateUnit:M3e,isCodeUnitInSurrogateRange:j3e,isSurrogatePair:function(e,t){if(0<=t&&t<e.length||("production"!==go.env.NODE_ENV?R3e(!1,"isSurrogatePair: Invalid index %s for string length %s.",t,e.length):R3e(!1)),t+1===e.length)return!1;var n=e.charCodeAt(t),i=e.charCodeAt(t+1);return 55296<=n&&n<=56319&&56320<=i&&i<=57343},strlen:function(e){if(!M3e(e))return e.length;for(var t=0,n=0;n<e.length;n+=N3e(e,n))t++;return t},substring:function(e,t,n){(t=t||0)<0&&(t=0),(n=void 0===n?1/0:n||0)<0&&(n=0);var i=Math.abs(n-t);return U3e(e,t=t<n?t:n,i)},substr:U3e},B3e=q3e,G3e=F2e;function W3e(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var r=0,a="Warning: "+e.replace(/%s/g,(function(){return n[r++]}));"undefined"!=typeof console&&console.error(a);try{throw new Error(a)}catch(e){}}var X3e="production"!==go.env.NODE_ENV?function(e,t){if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(!e){for(var n=arguments.length,i=new Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];W3e.apply(void 0,[t].concat(i))}}:G3e,V3e=X3e,Y3e=V3e;var Z3e=function(e,t){var n=e.getSelection();"production"!==go.env.NODE_ENV&&Y3e(n.isCollapsed(),"moveSelectionBackward should only be called with a collapsed SelectionState");var i=e.getCurrentContent(),r=n.getStartKey(),a=n.getStartOffset(),o=r,s=0;if(t>a){var l=i.getKeyBefore(r);if(null==l)o=r;else o=l,s=i.getBlockForKey(l).getText().length}else s=a-t;return n.merge({focusKey:o,focusOffset:s,isBackward:!0})},H3e=bYe,K3e=YYe("draft_tree_data_support");var J3e=function(e,t,n){var i=e.getSelection(),r=e.getCurrentContent(),a=i,o=i.getAnchorKey(),s=i.getFocusKey(),l=r.getBlockForKey(o);if(K3e&&"forward"===n&&o!==s)return r;if(i.isCollapsed()){if("forward"===n){if(e.isSelectionAtEndOfContent())return r;if(K3e)if(i.getAnchorOffset()===r.getBlockForKey(o).getLength()){var u=r.getBlockForKey(l.nextSibling);if(!u||0===u.getLength())return r}}else if(e.isSelectionAtStartOfContent())return r;if((a=t(e))===i)return r}return H3e.removeRange(r,a,n)},e4e=mHe,t4e=B3e,n4e=Z3e,i4e=J3e;var r4e=function(e){var t=i4e(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),i=t.getAnchorKey(),r=t.getAnchorOffset(),a=n.getBlockForKey(i).getText()[r-1];return n4e(e,a?t4e.getUTF16Length(a,0):1)}),"backward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return e4e.push(e,t.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")},a4e=bYe,o4e=YKe,s4e=mHe,l4e=_Je.notEmptyKey,u4e=$Ke,c4e=r4e,d4e=GZe,h4e=CKe.isEngine("Gecko");var p4e=function(e,t){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=e.editor.ownerDocument.defaultView.getSelection(),i=n.anchorNode,r=n.isCollapsed,a=(null==i?void 0:i.nodeType)!==Node.TEXT_NODE&&(null==i?void 0:i.nodeType)!==Node.ELEMENT_NODE;if(null!=i&&!a){if(i.nodeType===Node.TEXT_NODE&&(null!==i.previousSibling||null!==i.nextSibling)){var o=i.parentNode;if(null==o)return;i.nodeValue=o.textContent;for(var s=o.firstChild;null!=s;s=s.nextSibling)s!==i&&o.removeChild(s)}var l=i.textContent,u=e._latestEditorState,c=d4e(u4e(i)),d=o4e.decode(c),h=d.blockKey,p=d.decoratorKey,f=d.leafKey,m=u.getBlockTree(h).getIn([p,"leaves",f]),g=m.start,v=m.end,y=u.getCurrentContent(),b=y.getBlockForKey(h),O=b.getText().slice(g,v);if(l.endsWith("\n\n")&&(l=l.slice(0,-1)),l!==O){var _,w,k,x,S=u.getSelection(),P=S.merge({anchorOffset:g,focusOffset:v,isBackward:!1}),E=b.getEntityAt(g),F=l4e(E)?y.getEntity(E):null,C="MUTABLE"===(null!=F?F.getMutability():null),T=C?"spellcheck-change":"apply-entity",D=a4e.replaceText(y,P,l,b.getInlineStyleAt(g),C?b.getEntityAt(g):null);if(h4e)_=n.anchorOffset,w=n.focusOffset,x=(k=g+Math.min(_,w))+Math.abs(_-w),_=k,w=x;else{var A=l.length-O.length;k=S.getStartOffset(),x=S.getEndOffset(),_=r?x+A:k,w=x+A}var I=D.merge({selectionBefore:y.getSelectionAfter(),selectionAfter:S.merge({anchorOffset:_,focusOffset:w})});e.update(s4e.push(u,I,T))}else{var L=t.nativeEvent.inputType;if(L){var z=function(e,t){return"deleteContentBackward"===e?c4e(t):t}(L,u);if(z!==u)return e.restoreEditorDOM(),void e.update(z)}}}},f4e=ZKe;var m4e=function(e){return e.which===f4e.RETURN&&(e.getModifierState("Shift")||e.getModifierState("Alt")||e.getModifierState("Control"))},g4e=m4e,v4e=CKe.isPlatform("Mac OS X"),y4e={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return v4e&&e.altKey},usesMacOSHeuristics:function(){return v4e},hasCommandModifier:function(e){return v4e?!!e.metaKey&&!e.altKey:y4e.isCtrlKeyCommand(e)},isSoftNewlineEvent:g4e},b4e=y4e,O4e=bYe,_4e=mHe,w4e=OVe,k4e=GZe,x4e=null,S4e={cut:function(e){var t=e.getCurrentContent(),n=e.getSelection(),i=null;if(n.isCollapsed()){var r=n.getAnchorKey(),a=t.getBlockForKey(r).getLength();if(a===n.getAnchorOffset()){var o=t.getKeyAfter(r);if(null==o)return e;i=n.set("focusKey",o).set("focusOffset",0)}else i=n.set("focusOffset",a)}else i=n;i=k4e(i),x4e=w4e(t,i);var s=O4e.removeRange(t,i,"forward");return s===t?e:_4e.push(e,s,"remove-range")},paste:function(e){if(!x4e)return e;var t=O4e.replaceWithFragment(e.getCurrentContent(),e.getSelection(),x4e);return _4e.push(e,t,"insert-fragment")}},P4e=S4e,E4e=KXe;var F4e=CKe.isBrowser("Chrome")?function(e){for(var t=e.cloneRange(),n=[],i=e.endContainer;null!=i;i=i.parentNode){var r=i===e.commonAncestorContainer;r?t.setStart(e.startContainer,e.startOffset):t.setStart(t.endContainer,0);var a,o=Array.from(t.getClientRects());if(n.push(o),r)return n.reverse(),(a=[]).concat.apply(a,n);t.setEndBefore(i)}"production"!==go.env.NODE_ENV?E4e(!1,"Found an unexpected detached subtree when getting range client rects."):E4e(!1)}:function(e){return Array.from(e.getClientRects())},C4e=B3e,T4e=TKe,D4e=F4e,A4e=KXe;function I4e(e,t){for(var n=1/0,i=1/0,r=-1/0,a=-1/0,o=0;o<e.length;o++){var s=e[o];0!==s.width&&1!==s.width&&(n=Math.min(n,s.top),i=Math.min(i,s.bottom),r=Math.max(r,s.top),a=Math.max(a,s.bottom))}return r<=i&&r-n<t&&a-i<t}function L4e(e){switch(e.nodeType){case Node.DOCUMENT_TYPE_NODE:return 0;case Node.TEXT_NODE:case Node.PROCESSING_INSTRUCTION_NODE:case Node.COMMENT_NODE:return e.length;default:return e.childNodes.length}}var z4e=function(e){e.collapsed||("production"!==go.env.NODE_ENV?A4e(!1,"expandRangeToStartOfLine: Provided range is not collapsed."):A4e(!1));var t=(e=e.cloneRange()).startContainer;1!==t.nodeType&&(t=t.parentNode);var n=function(e){var t=getComputedStyle(e),n=T4e(e),i=n.createElement("div");i.style.fontFamily=t.fontFamily,i.style.fontSize=t.fontSize,i.style.fontStyle=t.fontStyle,i.style.fontWeight=t.fontWeight,i.style.lineHeight=t.lineHeight,i.style.position="absolute",i.textContent="M";var r=n.body;r||("production"!==go.env.NODE_ENV?A4e(!1,"Missing document.body"):A4e(!1)),r.appendChild(i);var a=i.getBoundingClientRect();return r.removeChild(i),a.height}(t),i=e.endContainer,r=e.endOffset;for(e.setStart(e.startContainer,0);I4e(D4e(e),n)&&(i=e.startContainer,r=e.startOffset,i.parentNode||("production"!==go.env.NODE_ENV?A4e(!1,"Found unexpected detached subtree when traversing."):A4e(!1)),e.setStartBefore(i),1!==i.nodeType||"inline"===getComputedStyle(i).display););for(var a=i,o=r-1;;){for(var s=a.nodeValue,l=o;l>=0;l--)if(!(null!=s&&l>0&&C4e.isSurrogatePair(s,l-1))){if(e.setStart(a,l),!I4e(D4e(e),n))break;i=a,r=l}if(-1===l||0===a.childNodes.length)break;o=L4e(a=a.childNodes[l])}return e.setStart(i,r),e},$4e=mHe,R4e=z4e,Q4e=pJe,j4e=Z3e,M4e=J3e;var N4e=function(e,t){var n=M4e(e,(function(e){var n=e.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return j4e(e,1);var i=t.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return i=R4e(i),Q4e(e,null,i.endContainer,i.endOffset,i.startContainer,i.startOffset).selectionState}),"backward");return n===e.getCurrentContent()?e:$4e.push(e,n,"remove-range")},U4e="\\s|(?![_])"+{getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}.getPunctuation(),q4e=new RegExp("^(?:"+U4e+")*(?:"+"['‘’]|(?!"+U4e+").)*(?:(?!"+U4e+").)"),B4e=new RegExp("(?:(?!"+U4e+").)(?:"+"['‘’]|(?!"+U4e+").)*(?:"+U4e+")*$");function G4e(e,t){var n=t?B4e.exec(e):q4e.exec(e);return n?n[0]:e}var W4e={getBackward:function(e){return G4e(e,!0)},getForward:function(e){return G4e(e,!1)}},X4e=W4e,V4e=mHe,Y4e=Z3e,Z4e=J3e;var H4e=function(e){var t=Z4e(e,(function(e){var t=e.getSelection(),n=t.getStartOffset();if(0===n)return Y4e(e,1);var i=t.getStartKey(),r=e.getCurrentContent().getBlockForKey(i).getText().slice(0,n),a=X4e.getBackward(r);return Y4e(e,a.length||1)}),"backward");return t===e.getCurrentContent()?e:V4e.push(e,t,"remove-range")},K4e=V3e;var J4e=function(e,t){var n=e.getSelection();"production"!==go.env.NODE_ENV&&K4e(n.isCollapsed(),"moveSelectionForward should only be called with a collapsed SelectionState");var i,r=n.getStartKey(),a=n.getStartOffset(),o=e.getCurrentContent(),s=r;return t>o.getBlockForKey(r).getText().length-a?(s=o.getKeyAfter(r),i=0):i=a+t,n.merge({focusKey:s,focusOffset:i})},e6e=W4e,t6e=mHe,n6e=J4e,i6e=J3e;var r6e=function(e){var t=i6e(e,(function(e){var t=e.getSelection(),n=t.getStartOffset(),i=t.getStartKey(),r=e.getCurrentContent().getBlockForKey(i).getText().slice(n),a=e6e.getForward(r);return n6e(e,a.length||1)}),"forward");return t===e.getCurrentContent()?e:t6e.push(e,t,"remove-range")},a6e=bYe,o6e=mHe;var s6e=mHe;var l6e=function(e){var t=e.getSelection(),n=t.getEndKey(),i=e.getCurrentContent().getBlockForKey(n).getLength();return s6e.set(e,{selection:t.merge({anchorKey:n,anchorOffset:i,focusKey:n,focusOffset:i,isBackward:!1}),forceSelection:!0})},u6e=mHe;var c6e=function(e){var t=e.getSelection(),n=t.getStartKey();return u6e.set(e,{selection:t.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})},d6e=mHe,h6e=B3e,p6e=J4e,f6e=J3e;var m6e=function(e){var t=f6e(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),i=t.getAnchorKey(),r=t.getAnchorOffset(),a=n.getBlockForKey(i).getText()[r];return p6e(e,a?h6e.getUTF16Length(a,0):1)}),"forward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return d6e.push(e,t.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")},g6e=bYe,v6e=mHe,y6e=OVe;var b6e=function(e){var t=e.getSelection();if(!t.isCollapsed())return e;var n=t.getAnchorOffset();if(0===n)return e;var i,r,a=t.getAnchorKey(),o=e.getCurrentContent(),s=o.getBlockForKey(a).getLength();if(s<=1)return e;n===s?(i=t.set("anchorOffset",n-1),r=t):r=(i=t.set("focusOffset",n+1)).set("anchorOffset",n+1);var l=y6e(o,i),u=g6e.removeRange(o,i,"backward"),c=u.getSelectionAfter(),d=c.getAnchorOffset()-1,h=c.merge({anchorOffset:d,focusOffset:d}),p=g6e.replaceWithFragment(u,h,l),f=v6e.push(e,p,"insert-fragment");return v6e.acceptSelection(f,r)},O6e=mHe;var _6e=function(e,t,n){var i=O6e.undo(t);if("spellcheck-change"!==t.getLastChangeType())e.preventDefault(),t.getNativelyRenderedContent()?(n(O6e.set(t,{nativelyRenderedContent:null})),setTimeout((function(){n(i)}),0)):n(i);else{var r=i.getCurrentContent();n(O6e.set(i,{nativelyRenderedContent:r}))}},w6e=bYe,k6e=mHe,x6e=ZKe,S6e=P4e,P6e=CKe,E6e=N2e,F6e=N4e,C6e=H4e,T6e=r6e,D6e=function(e){var t=a6e.splitBlock(e.getCurrentContent(),e.getSelection());return o6e.push(e,t,"split-block")},A6e=l6e,I6e=c6e,L6e=r4e,z6e=m6e,$6e=b6e,R6e=_6e,Q6e=b4e.isOptionKeyCommand,j6e=P6e.isBrowser("Chrome");var M6e=function(e,t){var n=t.which,i=e._latestEditorState;function r(n){var i=e.props[n];return!!i&&(i(t),!0)}switch(n){case x6e.RETURN:if(t.preventDefault(),e.props.handleReturn&&E6e(e.props.handleReturn(t,i)))return;break;case x6e.ESC:if(t.preventDefault(),r("onEscape"))return;break;case x6e.TAB:if(r("onTab"))return;break;case x6e.UP:if(r("onUpArrow"))return;break;case x6e.RIGHT:if(r("onRightArrow"))return;break;case x6e.DOWN:if(r("onDownArrow"))return;break;case x6e.LEFT:if(r("onLeftArrow"))return;break;case x6e.SPACE:j6e&&Q6e(t)&&t.preventDefault()}var a=e.props.keyBindingFn(t);if(null!=a&&""!==a)if("undo"!==a){if(t.preventDefault(),!e.props.handleKeyCommand||!E6e(e.props.handleKeyCommand(a,i,t.timeStamp))){var o=function(e,t,n){switch(e){case"redo":return k6e.redo(t);case"delete":return z6e(t);case"delete-word":return T6e(t);case"backspace":return L6e(t);case"backspace-word":return C6e(t);case"backspace-to-start-of-line":return F6e(t,n);case"split-block":return D6e(t);case"transpose-characters":return $6e(t);case"move-selection-to-start-of-block":return I6e(t);case"move-selection-to-end-of-block":return A6e(t);case"secondary-cut":return S6e.cut(t);case"secondary-paste":return S6e.paste(t);default:return t}}(a,i,t);o!==i&&e.update(o)}}else R6e(t,i,e.update);else if(n===x6e.SPACE&&j6e&&Q6e(t)){var s=w6e.replaceText(i.getCurrentContent(),i.getSelection()," ");e.update(k6e.push(i,s,"insert-characters"))}};var N6e=function(){function e(e){!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,"_uri",void 0),this._uri=e}return e.prototype.toString=function(){return this._uri},e}(),U6e=N6e,q6e=KXe,B6e=CKe.isBrowser("IE <= 9");var G6e=function(e){var t,n=null;return!B6e&&document.implementation&&document.implementation.createHTMLDocument&&((t=document.implementation.createHTMLDocument("foo")).documentElement||("production"!==go.env.NODE_ENV?q6e(!1,"Missing doc.documentElement"):q6e(!1)),t.documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n},W6e=DKe;var X6e=function(e){return!(!e||!e.ownerDocument)&&(W6e(e)&&"A"===e.nodeName)},V6e=DKe;var Y6e,Z6e=function(e){return!(!e||!e.ownerDocument)&&(V6e(e)&&"IMG"===e.nodeName)};function H6e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){K6e(e,t,n[t])}))}return e}function K6e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var J6e=cXe,e5e=SXe,t5e=MXe,n5e=VHe,i5e=WYe,r5e=U6e,a5e=GHe,o5e=lVe,s5e=G6e,l5e=YYe,u5e=HWe.exports,c5e=u5e.List,d5e=u5e.Map,h5e=u5e.OrderedSet,p5e=X6e,f5e=n0e,m5e=KKe,g5e=Z6e,v5e=l5e("draft_tree_data_support"),y5e=new RegExp("\r","g"),b5e=new RegExp("\n","g"),O5e=new RegExp("^\n","g"),_5e=new RegExp(" ","g"),w5e=new RegExp(" ?","g"),k5e=new RegExp("​?","g"),x5e=["bold","bolder","500","600","700","800","900"],S5e=["light","lighter","normal","100","200","300","400"],P5e=["className","href","rel","target","title"],E5e=["alt","className","height","src","width"],F5e=(K6e(Y6e={},a5e("public/DraftStyleDefault/depth0"),0),K6e(Y6e,a5e("public/DraftStyleDefault/depth1"),1),K6e(Y6e,a5e("public/DraftStyleDefault/depth2"),2),K6e(Y6e,a5e("public/DraftStyleDefault/depth3"),3),K6e(Y6e,a5e("public/DraftStyleDefault/depth4"),4),Y6e),C5e=d5e({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),T5e=function(e){var t={};return e.mapKeys((function(e,n){var i=[n.element];void 0!==n.aliasedElements&&i.push.apply(i,n.aliasedElements),i.forEach((function(n){void 0===t[n]?t[n]=e:"string"==typeof t[n]?t[n]=[t[n],e]:t[n].push(e)}))})),d5e(t)},D5e=function(e){if(m5e(e)&&e.style.fontFamily.includes("monospace"))return"CODE";return null},A5e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(F5e).some((function(n){e.classList.contains(n)&&(t=F5e[n])})),t},I5e=function(e){if(!p5e(e))return!1;var t=e;return!(!t.href||"http:"!==t.protocol&&"https:"!==t.protocol&&"mailto:"!==t.protocol&&"tel:"!==t.protocol)},L5e=function(e){if(!g5e(e))return!1;var t=e;return!(!t.attributes.getNamedItem("src")||!t.attributes.getNamedItem("src").value)},z5e=function(e,t){if(!m5e(e))return t;var n=e,i=n.style.fontWeight,r=n.style.fontStyle,a=n.style.textDecoration;return t.withMutations((function(e){x5e.indexOf(i)>=0?e.add("BOLD"):S5e.indexOf(i)>=0&&e.remove("BOLD"),"italic"===r?e.add("ITALIC"):"normal"===r&&e.remove("ITALIC"),"underline"===a&&e.add("UNDERLINE"),"line-through"===a&&e.add("STRIKETHROUGH"),"none"===a&&(e.remove("UNDERLINE"),e.remove("STRIKETHROUGH"))}))},$5e=function(e){return"ul"===e||"ol"===e},R5e=function(){function e(e,t){K6e(this,"characterList",c5e()),K6e(this,"currentBlockType","unstyled"),K6e(this,"currentDepth",0),K6e(this,"currentEntity",null),K6e(this,"currentText",""),K6e(this,"wrapper",null),K6e(this,"blockConfigs",[]),K6e(this,"contentBlocks",[]),K6e(this,"entityMap",i5e),K6e(this,"blockTypeMap",void 0),K6e(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=e,this.disambiguate=t}var t=e.prototype;return t.clear=function(){this.characterList=c5e(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=i5e,this.wrapper=null,this.contentBlocks=[]},t.addDOMNode=function(e){var t;return this.contentBlocks=[],this.currentDepth=0,(t=this.blockConfigs).push.apply(t,this._toBlockConfigs([e],h5e())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},t.getContentBlocks=function(){return 0===this.contentBlocks.length&&(v5e?this._toContentBlocks(this.blockConfigs):this._toFlatContentBlocks(this.blockConfigs)),{contentBlocks:this.contentBlocks,entityMap:this.entityMap}},t._makeBlockConfig=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.key||o5e(),n=H6e({key:t,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:c5e(),prevSibling:null,nextSibling:null,childConfigs:[]},e);return this.characterList=c5e(),this.currentBlockType="unstyled",this.currentText="",n},t._toBlockConfigs=function(e,t){for(var n=[],i=0;i<e.length;i++){var r=e[i],a=r.nodeName.toLowerCase();if("body"===a||$5e(a)){this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var o=this.currentDepth,s=this.wrapper;$5e(a)&&(this.wrapper=a,$5e(s)&&this.currentDepth++),n.push.apply(n,this._toBlockConfigs(Array.from(r.childNodes),t)),this.currentDepth=o,this.wrapper=s}else{var l=this.blockTypeMap.get(a);if(void 0===l)if("#text"!==a)if("br"!==a)if(L5e(r))this._addImgNode(r,t);else if(I5e(r))this._addAnchorNode(r,n,t);else{var u=t;C5e.has(a)&&(u=u.add(C5e.get(a))),u=z5e(r,u);var c=D5e(r);null!=c&&(u=u.add(c)),n.push.apply(n,this._toBlockConfigs(Array.from(r.childNodes),u))}else this._addBreakNode(r,t);else this._addTextNode(r,t);else{this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var d=this.currentDepth,h=this.wrapper;if(this.wrapper="pre"===a?"pre":this.wrapper,"string"!=typeof l&&(l=this.disambiguate(a,this.wrapper)||l[0]||"unstyled"),!v5e&&m5e(r)&&("unordered-list-item"===l||"ordered-list-item"===l)){var p=r;this.currentDepth=A5e(p,this.currentDepth)}var f=o5e(),m=this._toBlockConfigs(Array.from(r.childNodes),t);this._trimCurrentText(),n.push(this._makeBlockConfig({key:f,childConfigs:m,type:l})),this.currentDepth=d,this.wrapper=h}}}return n},t._appendText=function(e,t){var n;this.currentText+=e;var i=J6e.create({style:t,entity:this.currentEntity});this.characterList=(n=this.characterList).push.apply(n,Array(e.length).fill(i))},t._trimCurrentText=function(){var e=this.currentText.length,t=e-this.currentText.trimLeft().length,n=this.currentText.trimRight().length,i=this.characterList.findEntry((function(e){return null!==e.getEntity()}));(t=void 0!==i?Math.min(t,i[0]):t)>(n=void 0!==(i=this.characterList.reverse().findEntry((function(e){return null!==e.getEntity()})))?Math.max(n,e-i[0]):n)?(this.currentText="",this.characterList=c5e()):(this.currentText=this.currentText.slice(t,n),this.characterList=this.characterList.slice(t,n))},t._addTextNode=function(e,t){var n=e.textContent;""===n.trim()&&"pre"!==this.wrapper&&(n=" "),"pre"!==this.wrapper&&(n=(n=n.replace(O5e,"")).replace(b5e," ")),this._appendText(n,t)},t._addBreakNode=function(e,t){f5e(e)&&this._appendText("\n",t)},t._addImgNode=function(e,t){if(g5e(e)){var n=e,i={};E5e.forEach((function(e){var t=n.getAttribute(e);t&&(i[e]=t)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",i),l5e("draftjs_fix_paste_for_img")?"presentation"!==n.getAttribute("role")&&this._appendText("📷",t):this._appendText("📷",t),this.currentEntity=null}},t._addAnchorNode=function(e,t,n){if(p5e(e)){var i=e,r={};P5e.forEach((function(e){var t=i.getAttribute(e);t&&(r[e]=t)})),r.url=new r5e(i.href).toString(),this.currentEntity=this.entityMap.__create("LINK","MUTABLE",r||{}),t.push.apply(t,this._toBlockConfigs(Array.from(e.childNodes),n)),this.currentEntity=null}},t._toContentBlocks=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=e.length-1,i=0;i<=n;i++){var r=e[i];r.parent=t,r.prevSibling=i>0?e[i-1].key:null,r.nextSibling=i<n?e[i+1].key:null,r.children=c5e(r.childConfigs.map((function(e){return e.key}))),this.contentBlocks.push(new t5e(H6e({},r))),this._toContentBlocks(r.childConfigs,r.key)}},t._hoistContainersInBlockConfigs=function(e){var t=this;return c5e(e).flatMap((function(e){return"unstyled"!==e.type||""!==e.text?[e]:t._hoistContainersInBlockConfigs(e.childConfigs)}))},t._toFlatContentBlocks=function(e){var t=this;this._hoistContainersInBlockConfigs(e).forEach((function(e){var n=t._extractTextFromBlockConfigs(e.childConfigs),i=n.text,r=n.characterList;t.contentBlocks.push(new e5e(H6e({},e,{text:e.text+i,characterList:e.characterList.concat(r)})))}))},t._extractTextFromBlockConfigs=function(e){for(var t=e.length-1,n="",i=c5e(),r=0;r<=t;r++){var a=e[r];n+=a.text,i=i.concat(a.characterList),""!==n&&"unstyled"!==a.type&&(n+="\n",i=i.push(i.last()));var o=this._extractTextFromBlockConfigs(a.childConfigs);n+=o.text,i=i.concat(o.characterList)}return{text:n,characterList:i}},e}(),Q5e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s5e,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n5e,i=t(e=e.trim().replace(y5e,"").replace(_5e," ").replace(w5e,"").replace(k5e,""));if(!i)return null;var r=T5e(n),a=function(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null};return new R5e(r,a).addDOMNode(i).getContentBlocks()};function j5e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var M5e=SXe,N5e=MXe,U5e=Q5e,q5e=lVe,B5e=G6e,G5e=YYe,W5e=HWe.exports,X5e=HYe,V5e=W5e.List,Y5e=W5e.Repeat,Z5e=G5e("draft_tree_data_support"),H5e=Z5e?N5e:M5e,K5e={processHTML:function(e,t){return U5e(e,B5e,t)},processText:function(e,t,n){return e.reduce((function(e,i,r){i=X5e(i);var a=q5e(),o={key:a,type:n,text:i,characterList:V5e(Y5e(t,i.length))};if(Z5e&&0!==r){var s=r-1;o=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){j5e(e,t,n[t])}))}return e}({},o,{prevSibling:(e[s]=e[s].merge({nextSibling:a})).getKey()})}return e.push(new H5e(o)),e}),[])}};var J5e=function(e,t,n,i){var r=t.getStartKey(),a=t.getEndKey(),o=e.getBlockMap(),s=o.toSeq().skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===a})).concat([[a,o.get(a)]]).map((function(e){var t=e.getDepth()+n;return t=Math.max(0,Math.min(t,i)),e.set("depth",t)}));return o=o.merge(s),e.merge({blockMap:o,selectionBefore:t,selectionAfter:t})},e9e=bYe,t9e=mHe,n9e=J5e,i9e=GZe,r9e={currentBlockContainsLink:function(e){var t=e.getSelection(),n=e.getCurrentContent(),i=n.getEntityMap();return n.getBlockForKey(t.getAnchorKey()).getCharacterList().slice(t.getStartOffset(),t.getEndOffset()).some((function(e){var t=e.getEntity();return!!t&&"LINK"===i.__get(t).getType()}))},getCurrentBlockType:function(e){var t=e.getSelection();return e.getCurrentContent().getBlockForKey(t.getStartKey()).getType()},getDataObjectForLinkURL:function(e){return{url:e.toString()}},handleKeyCommand:function(e,t,n){switch(t){case"bold":return r9e.toggleInlineStyle(e,"BOLD");case"italic":return r9e.toggleInlineStyle(e,"ITALIC");case"underline":return r9e.toggleInlineStyle(e,"UNDERLINE");case"code":return r9e.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return r9e.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return r9e.onDelete(e);default:return null}},insertSoftNewline:function(e){var t=e9e.insertText(e.getCurrentContent(),e.getSelection(),"\n",e.getCurrentInlineStyle(),null),n=t9e.push(e,t,"insert-characters");return t9e.forceSelection(n,t.getSelectionAfter())},onBackspace:function(e){var t=e.getSelection();if(!t.isCollapsed()||t.getAnchorOffset()||t.getFocusOffset())return null;var n=e.getCurrentContent(),i=t.getStartKey(),r=n.getBlockBefore(i);if(r&&"atomic"===r.getType()){var a=n.getBlockMap().delete(r.getKey()),o=n.merge({blockMap:a,selectionAfter:t});if(o!==n)return t9e.push(e,o,"remove-range")}var s=r9e.tryToRemoveBlockStyle(e);return s?t9e.push(e,s,"change-block-type"):null},onDelete:function(e){var t=e.getSelection();if(!t.isCollapsed())return null;var n=e.getCurrentContent(),i=t.getStartKey(),r=n.getBlockForKey(i).getLength();if(t.getStartOffset()<r)return null;var a=n.getBlockAfter(i);if(!a||"atomic"!==a.getType())return null;var o=t.merge({focusKey:a.getKey(),focusOffset:a.getLength()}),s=e9e.removeRange(n,o,"forward");return s!==n?t9e.push(e,s,"remove-range"):null},onTab:function(e,t,n){var i=t.getSelection(),r=i.getAnchorKey();if(r!==i.getFocusKey())return t;var a=t.getCurrentContent(),o=a.getBlockForKey(r),s=o.getType();if("unordered-list-item"!==s&&"ordered-list-item"!==s)return t;e.preventDefault();var l=o.getDepth();if(!e.shiftKey&&l===n)return t;var u=n9e(a,i,e.shiftKey?-1:1,n);return t9e.push(t,u,"adjust-depth")},toggleBlockType:function(e,t){var n=e.getSelection(),i=n.getStartKey(),r=n.getEndKey(),a=e.getCurrentContent(),o=n;if(i!==r&&0===n.getEndOffset()){var s=i9e(a.getBlockBefore(r));r=s.getKey(),o=o.merge({anchorKey:i,anchorOffset:n.getStartOffset(),focusKey:r,focusOffset:s.getLength(),isBackward:!1})}var l=a.getBlockMap().skipWhile((function(e,t){return t!==i})).reverse().skipWhile((function(e,t){return t!==r})).some((function(e){return"atomic"===e.getType()}));if(l)return e;var u=a.getBlockForKey(i).getType()===t?"unstyled":t;return t9e.push(e,e9e.setBlockType(a,o,u),"change-block-type")},toggleCode:function(e){var t=e.getSelection(),n=t.getAnchorKey(),i=t.getFocusKey();return t.isCollapsed()||n!==i?r9e.toggleBlockType(e,"code-block"):r9e.toggleInlineStyle(e,"CODE")},toggleInlineStyle:function(e,t){var n=e.getSelection(),i=e.getCurrentInlineStyle();if(n.isCollapsed())return t9e.setInlineStyleOverride(e,i.has(t)?i.remove(t):i.add(t));var r,a=e.getCurrentContent();return r=i.has(t)?e9e.removeInlineStyle(a,n,t):e9e.applyInlineStyle(a,n,t),t9e.push(e,r,"change-inline-style")},toggleLink:function(e,t,n){var i=e9e.applyEntity(e.getCurrentContent(),t,n);return t9e.push(e,i,"apply-entity")},tryToRemoveBlockStyle:function(e){var t=e.getSelection(),n=t.getAnchorOffset();if(t.isCollapsed()&&0===n){var i=t.getAnchorKey(),r=e.getCurrentContent(),a=r.getBlockForKey(i).getType(),o=r.getBlockBefore(i);if("code-block"===a&&o&&"code-block"===o.getType()&&0!==o.getLength())return null;if("unstyled"!==a)return e9e.setBlockType(r,t,"unstyled")}return null}},a9e=r9e,o9e=/\r\n?|\n/g;var s9e=eXe,l9e=cXe,u9e=$2e,c9e=bYe,d9e=K5e,h9e=mHe,p9e=a9e,f9e=xJe,m9e=M2e,g9e=N2e,v9e=function(e){return e.split(o9e)};function y9e(e,t,n){var i=c9e.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return h9e.push(e,i.set("entityMap",n),"insert-fragment")}var b9e=function(e,t){t.preventDefault();var n=new u9e(t.clipboardData);if(!n.isRichText()){var i=n.getFiles(),r=n.getText();if(i.length>0){if(e.props.handlePastedFiles&&g9e(e.props.handlePastedFiles(i)))return;return void m9e(i,(function(t){if(t=t||r){var n=e._latestEditorState,i=v9e(t),a=l9e.create({style:n.getCurrentInlineStyle(),entity:f9e(n.getCurrentContent(),n.getSelection())}),o=p9e.getCurrentBlockType(n),s=d9e.processText(i,a,o),l=s9e.createFromArray(s),u=c9e.replaceWithFragment(n.getCurrentContent(),n.getSelection(),l);e.update(h9e.push(n,u,"insert-fragment"))}}))}}var a=[],o=n.getText(),s=n.getHTML(),l=e._latestEditorState;if(!e.props.handlePastedText||!g9e(e.props.handlePastedText(o,s,l))){if(o&&(a=v9e(o)),!e.props.stripPastedStyles){var u=e.getClipboard();if(n.isRichText()&&u){if(-1!==s.indexOf(e.getEditorKey())||1===a.length&&1===u.size&&u.first().getText()===o)return void e.update(y9e(e._latestEditorState,u))}else if(u&&n.types.includes("com.apple.webarchive")&&!n.types.includes("text/html")&&function(e,t){return e.length===t.size&&t.valueSeq().every((function(t,n){return t.getText()===e[n]}))}(a,u))return void e.update(y9e(e._latestEditorState,u));if(s){var c=d9e.processHTML(s,e.props.blockRenderMap);if(c){var d=c.contentBlocks,h=c.entityMap;if(d){var p=s9e.createFromArray(d);return void e.update(y9e(e._latestEditorState,p,h))}}}e.setClipboard(null)}if(a.length){var f=l9e.create({style:l.getCurrentInlineStyle(),entity:f9e(l.getCurrentContent(),l.getSelection())}),m=p9e.getCurrentBlockType(l),g=d9e.processText(a,f,m),v=s9e.createFromArray(g);e.update(y9e(e._latestEditorState,v))}}},O9e=CKe,_9e=p3e,w9e=v3e,k9e=b3e,x9e=k3e,S9e=D3e,P9e=A3e,E9e=I3e,F9e=$3e,C9e=p4e,T9e=M6e,D9e=b9e,A9e=OJe,I9e=O9e.isBrowser("Chrome"),L9e=O9e.isBrowser("Firefox"),z9e=I9e||L9e?A9e:function(e){},$9e={onBeforeInput:_9e,onBlur:w9e,onCompositionStart:k9e,onCopy:x9e,onCut:S9e,onDragOver:P9e,onDragStart:E9e,onFocus:F9e,onInput:C9e,onKeyDown:T9e,onPaste:D9e,onSelect:A9e,onMouseUp:z9e,onKeyUp:z9e},R9e=b.default.unstable_flushControlled;var Q9e=g.default,j9e=GHe,M9e=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){return this.props.text!==e.text||this.props.editorState.getSelection().getHasFocus()!==e.editorState.getSelection().getHasFocus()},r.render=function(){var e=this.props.editorState.getSelection().getHasFocus(),t=j9e({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":e});return Q9e.createElement("div",{className:t},Q9e.createElement("div",{className:j9e("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},i}(Q9e.Component),N9e=M9e,U9e=b4e,q9e=ZKe,B9e=CKe,G9e=B9e.isPlatform("Mac OS X"),W9e=G9e&&B9e.isBrowser("Firefox < 29"),X9e=U9e.hasCommandModifier,V9e=U9e.isCtrlKeyCommand;function Y9e(e){return G9e&&e.altKey||V9e(e)}var Z9e=function(e){switch(e.keyCode){case 66:return X9e(e)?"bold":null;case 68:return V9e(e)?"delete":null;case 72:return V9e(e)?"backspace":null;case 73:return X9e(e)?"italic":null;case 74:return X9e(e)?"code":null;case 75:return G9e&&V9e(e)?"secondary-cut":null;case 77:case 79:return V9e(e)?"split-block":null;case 84:return G9e&&V9e(e)?"transpose-characters":null;case 85:return X9e(e)?"underline":null;case 87:return G9e&&V9e(e)?"backspace-word":null;case 89:return V9e(e)?G9e?"secondary-paste":"redo":null;case 90:return function(e){return X9e(e)?e.shiftKey?"redo":"undo":null}(e)||null;case q9e.RETURN:return"split-block";case q9e.DELETE:return function(e){return!G9e&&e.shiftKey?null:Y9e(e)?"delete-word":"delete"}(e);case q9e.BACKSPACE:return function(e){return X9e(e)&&G9e?"backspace-to-start-of-line":Y9e(e)?"backspace-word":"backspace"}(e);case q9e.LEFT:return W9e&&X9e(e)?"move-selection-to-start-of-block":null;case q9e.RIGHT:return W9e&&X9e(e)?"move-selection-to-end-of-block":null;default:return null}},H9e=XZ;function K9e(){return K9e=H9e||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},K9e.apply(this,arguments)}function J9e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){t8e(e,t,n[t])}))}return e}function e8e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t8e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function n8e(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var i8e=VHe,r8e=YHe,a8e=QJe,o8e=O2e,s8e=t3e,l8e=$9e,u8e=R9e,c8e=N9e,d8e=mHe,h8e=g.default,p8e=N0e,f8e=K0e,m8e=GHe,g8e=lVe,v8e=Z9e,y8e=o1e,b8e=YYe,O8e=KXe,_8e=KKe,w8e=GZe,k8e=CKe.isBrowser("IE"),x8e=!k8e,S8e={edit:l8e,composite:a8e,drag:s8e,cut:null,render:null},P8e=!1,E8e=function(e){function t(){return e.apply(this,arguments)||this}n8e(t,e);var n=t.prototype;return n.render=function(){return null},n.componentDidMount=function(){this._update()},n.componentDidUpdate=function(){this._update()},n._update=function(){var e=this.props.editor;e._latestEditorState=this.props.editorState,e._blockSelectEvents=!0},t}(h8e.Component),F8e=function(e){function t(t){var n;return t8e(e8e(n=e.call(this,t)||this),"_blockSelectEvents",void 0),t8e(e8e(n),"_clipboard",void 0),t8e(e8e(n),"_handler",void 0),t8e(e8e(n),"_dragCount",void 0),t8e(e8e(n),"_internalDrag",void 0),t8e(e8e(n),"_editorKey",void 0),t8e(e8e(n),"_placeholderAccessibilityID",void 0),t8e(e8e(n),"_latestEditorState",void 0),t8e(e8e(n),"_latestCommittedEditorState",void 0),t8e(e8e(n),"_pendingStateFromBeforeInput",void 0),t8e(e8e(n),"_onBeforeInput",void 0),t8e(e8e(n),"_onBlur",void 0),t8e(e8e(n),"_onCharacterData",void 0),t8e(e8e(n),"_onCompositionEnd",void 0),t8e(e8e(n),"_onCompositionStart",void 0),t8e(e8e(n),"_onCopy",void 0),t8e(e8e(n),"_onCut",void 0),t8e(e8e(n),"_onDragEnd",void 0),t8e(e8e(n),"_onDragOver",void 0),t8e(e8e(n),"_onDragStart",void 0),t8e(e8e(n),"_onDrop",void 0),t8e(e8e(n),"_onInput",void 0),t8e(e8e(n),"_onFocus",void 0),t8e(e8e(n),"_onKeyDown",void 0),t8e(e8e(n),"_onKeyPress",void 0),t8e(e8e(n),"_onKeyUp",void 0),t8e(e8e(n),"_onMouseDown",void 0),t8e(e8e(n),"_onMouseUp",void 0),t8e(e8e(n),"_onPaste",void 0),t8e(e8e(n),"_onSelect",void 0),t8e(e8e(n),"editor",void 0),t8e(e8e(n),"editorContainer",void 0),t8e(e8e(n),"focus",void 0),t8e(e8e(n),"blur",void 0),t8e(e8e(n),"setMode",void 0),t8e(e8e(n),"exitCurrentMode",void 0),t8e(e8e(n),"restoreEditorDOM",void 0),t8e(e8e(n),"setClipboard",void 0),t8e(e8e(n),"getClipboard",void 0),t8e(e8e(n),"getEditorKey",void 0),t8e(e8e(n),"update",void 0),t8e(e8e(n),"onDragEnter",void 0),t8e(e8e(n),"onDragLeave",void 0),t8e(e8e(n),"_handleEditorContainerRef",(function(e){n.editorContainer=e,n.editor=null!==e?e.firstChild:null})),t8e(e8e(n),"focus",(function(e){var t=n.props.editorState,i=t.getSelection().getHasFocus(),r=n.editor;if(r){var a=f8e.getScrollParent(r),o=e||y8e(a),s=o.x,l=o.y;_8e(r)||("production"!==go.env.NODE_ENV?O8e(!1,"editorNode is not an HTMLElement"):O8e(!1)),r.focus(),a===window?window.scrollTo(s,l):p8e.setTop(a,l),i||n.update(d8e.forceSelection(t,t.getSelection()))}})),t8e(e8e(n),"blur",(function(){var e=n.editor;e&&(_8e(e)||("production"!==go.env.NODE_ENV?O8e(!1,"editorNode is not an HTMLElement"):O8e(!1)),e.blur())})),t8e(e8e(n),"setMode",(function(e){var t=n.props,i=t.onPaste,r=t.onCut,a=t.onCopy,o=J9e({},S8e.edit);i&&(o.onPaste=i),r&&(o.onCut=r),a&&(o.onCopy=a);var s=J9e({},S8e,{edit:o});n._handler=s[e]})),t8e(e8e(n),"exitCurrentMode",(function(){n.setMode("edit")})),t8e(e8e(n),"restoreEditorDOM",(function(e){n.setState({contentsKey:n.state.contentsKey+1},(function(){n.focus(e)}))})),t8e(e8e(n),"setClipboard",(function(e){n._clipboard=e})),t8e(e8e(n),"getClipboard",(function(){return n._clipboard})),t8e(e8e(n),"update",(function(e){n._latestEditorState=e,n.props.onChange(e)})),t8e(e8e(n),"onDragEnter",(function(){n._dragCount++})),t8e(e8e(n),"onDragLeave",(function(){n._dragCount--,0===n._dragCount&&n.exitCurrentMode()})),n._blockSelectEvents=!1,n._clipboard=null,n._handler=null,n._dragCount=0,n._editorKey=t.editorKey||g8e(),n._placeholderAccessibilityID="placeholder-"+n._editorKey,n._latestEditorState=t.editorState,n._latestCommittedEditorState=t.editorState,n._onBeforeInput=n._buildHandler("onBeforeInput"),n._onBlur=n._buildHandler("onBlur"),n._onCharacterData=n._buildHandler("onCharacterData"),n._onCompositionEnd=n._buildHandler("onCompositionEnd"),n._onCompositionStart=n._buildHandler("onCompositionStart"),n._onCopy=n._buildHandler("onCopy"),n._onCut=n._buildHandler("onCut"),n._onDragEnd=n._buildHandler("onDragEnd"),n._onDragOver=n._buildHandler("onDragOver"),n._onDragStart=n._buildHandler("onDragStart"),n._onDrop=n._buildHandler("onDrop"),n._onInput=n._buildHandler("onInput"),n._onFocus=n._buildHandler("onFocus"),n._onKeyDown=n._buildHandler("onKeyDown"),n._onKeyPress=n._buildHandler("onKeyPress"),n._onKeyUp=n._buildHandler("onKeyUp"),n._onMouseDown=n._buildHandler("onMouseDown"),n._onMouseUp=n._buildHandler("onMouseUp"),n._onPaste=n._buildHandler("onPaste"),n._onSelect=n._buildHandler("onSelect"),n.getEditorKey=function(){return n._editorKey},"production"!==go.env.NODE_ENV&&["onDownArrow","onEscape","onLeftArrow","onRightArrow","onTab","onUpArrow"].forEach((function(e){t.hasOwnProperty(e)&&console.warn("Supplying an `".concat(e,"` prop to `DraftEditor` has ")+"been deprecated. If your handler needs access to the keyboard event, supply a custom `keyBindingFn` prop that falls back to the default one (eg. https://is.gd/wHKQ3W).")})),n.state={contentsKey:0},n}n8e(t,e);var n=t.prototype;return n._buildHandler=function(e){var t=this;return function(n){if(!t.props.readOnly){var i=t._handler&&t._handler[e];i&&(u8e?u8e((function(){return i(t,n)})):i(t,n))}}},n._showPlaceholder=function(){return!!this.props.placeholder&&!this.props.editorState.isInCompositionMode()&&!this.props.editorState.getCurrentContent().hasText()},n._renderPlaceholder=function(){if(this._showPlaceholder()){var e={text:w8e(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return h8e.createElement(c8e,e)}return null},n.render=function(){var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,i=e.blockStyleFn,r=e.customStyleFn,a=e.customStyleMap,o=e.editorState,s=e.preventScroll,l=e.readOnly,u=e.textAlignment,c=e.textDirectionality,d=m8e({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===u,"DraftEditor/alignRight":"right"===u,"DraftEditor/alignCenter":"center"===u}),h=this.props.role||"textbox",p="combobox"===h?!!this.props.ariaExpanded:null,f={blockRenderMap:t,blockRendererFn:n,blockStyleFn:i,customStyleMap:J9e({},r8e,a),customStyleFn:r,editorKey:this._editorKey,editorState:o,preventScroll:s,textDirectionality:c};return h8e.createElement("div",{className:d},this._renderPlaceholder(),h8e.createElement("div",{className:m8e("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},h8e.createElement("div",{"aria-activedescendant":l?null:this.props.ariaActiveDescendantID,"aria-autocomplete":l?null:this.props.ariaAutoComplete,"aria-controls":l?null:this.props.ariaControls,"aria-describedby":this.props.ariaDescribedBy||this._placeholderAccessibilityID,"aria-expanded":l?null:p,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,"aria-owns":l?null:this.props.ariaOwneeID,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:m8e({notranslate:!l,"public/DraftEditor/content":!0}),contentEditable:!l,"data-testid":this.props.webDriverTestID,onBeforeInput:this._onBeforeInput,onBlur:this._onBlur,onCompositionEnd:this._onCompositionEnd,onCompositionStart:this._onCompositionStart,onCopy:this._onCopy,onCut:this._onCut,onDragEnd:this._onDragEnd,onDragEnter:this.onDragEnter,onDragLeave:this.onDragLeave,onDragOver:this._onDragOver,onDragStart:this._onDragStart,onDrop:this._onDrop,onFocus:this._onFocus,onInput:this._onInput,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseUp:this._onMouseUp,onPaste:this._onPaste,onSelect:this._onSelect,ref:this.props.editorRef,role:l?null:h,spellCheck:x8e&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},h8e.createElement(E8e,{editor:this,editorState:o}),h8e.createElement(o8e,K9e({},f,{key:"contents"+this.state.contentsKey})))))},n.componentDidMount=function(){this._blockSelectEvents=!1,!P8e&&b8e("draft_ods_enabled")&&(P8e=!0),this.setMode("edit"),k8e&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):x.execCommand("AutoUrlDetect",!1,!1))},n.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},t}(h8e.Component);t8e(F8e,"defaultProps",{blockRenderMap:i8e,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:v8e,readOnly:!1,spellCheck:!1,stripPastedStyles:!1});var C8e=F8e,T8e=P(Object.freeze({__proto__:null})),D8e={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}},A8e=D8e,I8e=B3e.strlen;var L8e=function(e,t){var n=[];return e.findEntityRanges((function(e){return!!e.getEntity()}),(function(i,r){var a=e.getText(),o=e.getEntityAt(i);n.push({offset:I8e(a.slice(0,i)),length:I8e(a.slice(i,r)),key:Number(t[A8e.stringify(o)])})})),n},z8e=B3e,$8e=dXe,R8e=function(e,t){return e===t},Q8e=function(e){return!!e},j8e=[];var M8e=function(e){var t=e.getCharacterList().map((function(e){return e.getStyle()})).toList(),n=t.flatten().toSet().map((function(n){return function(e,t,n){var i=[],r=t.map((function(e){return e.has(n)})).toList();return $8e(r,R8e,Q8e,(function(t,r){var a=e.getText();i.push({offset:z8e.strlen(a.slice(0,t)),length:z8e.strlen(a.slice(t,r)),style:n})})),i}(e,t,n)}));return Array.prototype.concat.apply(j8e,n.toJS())};function N8e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var U8e=SXe,q8e=MXe,B8e=D8e,G8e=L8e,W8e=M8e,X8e=KXe,V8e=function(e,t){return{key:e.getKey(),text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:W8e(e),entityRanges:G8e(e,t),data:e.getData().toObject()}},Y8e=function(e,t,n,i){if(e instanceof U8e)n.push(V8e(e,t));else{e instanceof q8e||("production"!==go.env.NODE_ENV?X8e(!1,"block is not a BlockNode"):X8e(!1));var r=e.getParentKey(),a=i[e.getKey()]=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){N8e(e,t,n[t])}))}return e}({},V8e(e,t),{children:[]});r?i[r].children.push(a):n.push(a)}},Z8e=function(e){var t={entityMap:{},blocks:[]};return t=function(e,t){var n=t.entityMap,i=[],r={},a={},o=0;return e.getBlockMap().forEach((function(e){e.findEntityRanges((function(e){return null!==e.getEntity()}),(function(t){var i=e.getEntityAt(t),r=B8e.stringify(i);a[r]||(a[r]=i,n[r]="".concat(o),o++)})),Y8e(e,n,i,r)})),{blocks:i,entityMap:n}}(e,t),t=function(e,t){var n=t.blocks,i=t.entityMap,r={};return Object.keys(i).forEach((function(t,n){var i=e.getEntity(B8e.unstringify(t));r[n]={type:i.getType(),mutability:i.getMutability(),data:i.getData()}})),{blocks:n,entityMap:r}}(e,t),t};function H8e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){K8e(e,t,n[t])}))}return e}function K8e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var J8e=lVe,e7e=KXe,t7e=function(e){if(!e||!e.type)return!1;var t=e.type;return"unordered-list-item"===t||"ordered-list-item"===t},n7e={fromRawTreeStateToRawState:function(e){var t=e.blocks,n=[];return Array.isArray(t)||("production"!==go.env.NODE_ENV?e7e(!1,"Invalid raw state"):e7e(!1)),Array.isArray(t)&&t.length?(function(e,t){for(var n=[].concat(e).reverse();n.length;){var i=n.pop();t(i);var r=i.children;Array.isArray(r)||("production"!==go.env.NODE_ENV?e7e(!1,"Invalid tree raw block"):e7e(!1)),n=n.concat([].concat(r.reverse()))}}(t,(function(e){var t=H8e({},e);t7e(e)&&(t.depth=t.depth||0,function(e){Array.isArray(e.children)&&(e.children=e.children.map((function(t){return t.type===e.type?H8e({},t,{depth:(e.depth||0)+1}):t})))}(e),null!=e.children&&e.children.length>0)||(delete t.children,n.push(t))})),e.blocks=n,H8e({},e,{blocks:n})):e},fromRawStateToRawTreeState:function(e){var t=[],n=[];return e.blocks.forEach((function(e){var i=t7e(e),r=e.depth||0,a=H8e({},e,{children:[]});if(i){var o=n[0];if(null==o&&0===r)t.push(a);else if(null==o||o.depth<r-1){var s={key:J8e(),text:"",depth:r-1,type:e.type,children:[],entityRanges:[],inlineStyleRanges:[]};n.unshift(s),1===r?t.push(s):null!=o&&o.children.push(s),s.children.push(a)}else if(o.depth===r-1)o.children.push(a);else{for(;null!=o&&o.depth>=r;)n.shift(),o=n[0];r>0?o.children.push(a):t.push(a)}}else t.push(a)})),H8e({},e,{blocks:t})}},i7e=n7e,r7e=V3e,a7e={isValidBlock:function(e,t){var n=e.getKey(),i=e.getParentKey();if(null!=i&&!t.get(i).getChildKeys().includes(n))return"production"!==go.env.NODE_ENV&&r7e(!0,"Tree is missing parent -> child pointer on %s",n),!1;var r=e.getChildKeys().map((function(e){return t.get(e)}));if(!r.every((function(e){return e.getParentKey()===n})))return"production"!==go.env.NODE_ENV&&r7e(!0,"Tree is missing child -> parent pointer on %s",n),!1;var a=e.getPrevSiblingKey();if(null!=a&&t.get(a).getNextSiblingKey()!==n)return"production"!==go.env.NODE_ENV&&r7e(!0,"Tree is missing nextSibling pointer on %s's prevSibling",n),!1;var o=e.getNextSiblingKey();if(null!=o&&t.get(o).getPrevSiblingKey()!==n)return"production"!==go.env.NODE_ENV&&r7e(!0,"Tree is missing prevSibling pointer on %s's nextSibling",n),!1;return null!==o&&null!==a&&a===o?("production"!==go.env.NODE_ENV&&r7e(!0,"Tree has a two-node cycle at %s",n),!1):!(""!=e.text&&e.getChildKeys().size>0)||("production"!==go.env.NODE_ENV&&r7e(!0,"Leaf node %s has children",n),!1)},isConnectedTree:function(e){var t=e.toArray().filter((function(e){return null==e.getParentKey()&&null==e.getPrevSiblingKey()}));if(1!==t.length)return"production"!==go.env.NODE_ENV&&r7e(!0,"Tree is not connected. More or less than one first node"),!1;for(var n=0,i=t.shift().getKey(),r=[];null!=i;){var a=e.get(i),o=a.getChildKeys(),s=a.getNextSiblingKey();if(o.size>0){null!=s&&r.unshift(s);var l=o.map((function(t){return e.get(t)})),u=l.find((function(e){return null==e.getPrevSiblingKey()}));if(null==u)return"production"!==go.env.NODE_ENV&&r7e(!0,"%s has no first child",i),!1;i=u.getKey()}else i=null!=a.getNextSiblingKey()?a.getNextSiblingKey():r.shift();n++}return n===e.size||("production"!==go.env.NODE_ENV&&r7e(!0,"Tree is not connected. %s nodes were seen instead of %s",n,e.size),!1)},isValidTree:function(e){var t=this;return!!e.toArray().every((function(n){return t.isValidBlock(n,e)}))&&this.isConnectedTree(e)}},o7e=a7e,s7e=cXe,l7e=HWe.exports.List;var u7e=function(e,t){var n=e.map((function(e,n){var i=t[n];return s7e.create({style:e,entity:i})}));return l7e(n)},c7e=B3e.substr;var d7e=function(e,t){var n=Array(e.length).fill(null);return t&&t.forEach((function(t){for(var i=c7e(e,0,t.offset).length,r=i+c7e(e,t.offset,t.length).length,a=i;a<r;a++)n[a]=t.key})),n},h7e=B3e,p7e=HWe.exports.OrderedSet,f7e=h7e.substr,m7e=p7e();var g7e=function(e,t){var n=Array(e.length).fill(m7e);return t&&t.forEach((function(t){for(var i=f7e(e,0,t.offset).length,r=i+f7e(e,t.offset,t.length).length;i<r;)n[i]=n[i].add(t.style),i++})),n};function v7e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){y7e(e,t,n[t])}))}return e}function y7e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b7e=SXe,O7e=MXe,_7e=bZe,w7e=WYe,k7e=i7e,x7e=o7e,S7e=VYe,P7e=u7e,E7e=d7e,F7e=g7e,C7e=lVe,T7e=HWe.exports,D7e=KXe,A7e=YYe("draft_tree_data_support"),I7e=T7e.List,L7e=T7e.Map,z7e=T7e.OrderedMap,$7e=function(e,t){var n=e.key,i=e.type,r=e.data;return{text:e.text,depth:e.depth||0,type:i||"unstyled",key:n||C7e(),data:L7e(r),characterList:R7e(e,t)}},R7e=function(e,t){var n=e.text,i=e.entityRanges,r=e.inlineStyleRanges,a=i||[];return P7e(F7e(n,r||[]),E7e(n,a.filter((function(e){return t.hasOwnProperty(e.key)})).map((function(e){return v7e({},e,{key:t[e.key]})}))))},Q7e=function(e){return v7e({},e,{key:e.key||C7e()})},j7e=function(e,t,n){var i=t.map((function(e){return v7e({},e,{parentRef:n})}));return e.concat(i.reverse())},M7e=function(e,t){var n=e.blocks.find((function(e){return Array.isArray(e.children)&&e.children.length>0})),i=A7e&&!n?k7e.fromRawStateToRawTreeState(e).blocks:e.blocks;if(!A7e)return function(e,t){return z7e(e.map((function(e){var n=new b7e($7e(e,t));return[n.getKey(),n]})))}(n?k7e.fromRawTreeStateToRawState(e).blocks:i,t);var r=function(e,t){return e.map(Q7e).reduce((function(n,i,r){Array.isArray(i.children)||("production"!==go.env.NODE_ENV?D7e(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):D7e(!1));var a=i.children.map(Q7e),o=new O7e(v7e({},$7e(i,t),{prevSibling:0===r?null:e[r-1].key,nextSibling:r===e.length-1?null:e[r+1].key,children:I7e(a.map((function(e){return e.key})))}));n=n.set(o.getKey(),o);for(var s=j7e([],a,o);s.length>0;){var l=s.pop(),u=l.parentRef,c=u.getChildKeys(),d=c.indexOf(l.key),h=Array.isArray(l.children);if(!h){h||("production"!==go.env.NODE_ENV?D7e(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):D7e(!1));break}var p=l.children.map(Q7e),f=new O7e(v7e({},$7e(l,t),{parent:u.getKey(),children:I7e(p.map((function(e){return e.key}))),prevSibling:0===d?null:c.get(d-1),nextSibling:d===c.size-1?null:c.get(d+1)}));n=n.set(f.getKey(),f),s=j7e(s,p,f)}return n}),z7e())}(i,t);return"production"!==go.env.NODE_ENV&&(x7e.isValidTree(r)||("production"!==go.env.NODE_ENV?D7e(!1,"Should be a valid tree"):D7e(!1))),r},N7e=function(e){Array.isArray(e.blocks)||("production"!==go.env.NODE_ENV?D7e(!1,"invalid RawDraftContentState"):D7e(!1));var t=function(e){var t=e.entityMap,n={};return Object.keys(t).forEach((function(e){var i=t[e],r=i.type,a=i.mutability,o=i.data;n[e]=w7e.__create(r,a,o||{})})),n}(e),n=M7e(e,t),i=n.isEmpty()?new S7e:S7e.createEmpty(n.first().getKey());return new _7e({blockMap:n,entityMap:t,selectionBefore:i,selectionAfter:i})},U7e=F4e;var q7e=function(e){var t=U7e(e),n=0,i=0,r=0,a=0;if(t.length){if(t.length>1&&0===t[0].width){var o=t[1];n=o.top,i=o.right,r=o.bottom,a=o.left}else{var s=t[0];n=s.top,i=s.right,r=s.bottom,a=s.left}for(var l=1;l<t.length;l++){var u=t[l];0!==u.height&&0!==u.width&&(n=Math.min(n,u.top),i=Math.max(i,u.right),r=Math.max(r,u.bottom),a=Math.min(a,u.left))}}return{top:n,right:i,bottom:r,left:a,width:i-a,height:r-n}},B7e=q7e;var G7e=function(e){var t=e.getSelection();if(!t.rangeCount)return null;var n=t.getRangeAt(0),i=B7e(n),r=i.top,a=i.right,o=i.bottom,s=i.left;return 0===r&&0===a&&0===o&&0===s?null:i},W7e={Editor:C8e,EditorBlock:a2e,EditorState:mHe,CompositeDecorator:qHe,Entity:WYe,EntityInstance:$Ye,BlockMapBuilder:eXe,CharacterMetadata:cXe,ContentBlock:SXe,ContentState:bZe,RawDraftContentState:T8e,SelectionState:VYe,AtomicBlockUtils:MHe,KeyBindingUtil:b4e,Modifier:bYe,RichUtils:a9e,DefaultDraftBlockRenderMap:VHe,DefaultDraftInlineStyle:YHe,convertFromHTML:Q5e,convertFromRaw:N7e,convertToRaw:Z8e,genKey:lVe,getDefaultKeyBinding:Z9e,getVisibleSelectionRect:G7e};function X7e(e,t,n,i,r,a){var o=i-n;return t+n<=e.offset?Object.assign({},e,{offset:e.offset+o}):t>=e.offset&&t+n<=e.offset+e.length?Object.assign({},e,{length:e.length+o}):e.offset>=t&&e.offset+e.length<=t+n&&r>0?Object.assign({},e,{offset:e.offset+r}):e.offset<t&&e.offset+e.length<=t+n&&e.offset+e.length>t&&r>0?[Object.assign({},e,{length:t-e.offset}),Object.assign({},e,{offset:t+r,length:e.offset-t+e.length})]:e.offset>=t&&e.offset+e.length>t+n&&t+n>e.offset&&a>0?[Object.assign({},e,{offset:e.offset+r,length:t+n-e.offset}),Object.assign({},e,{offset:t+n+r+a,length:e.offset+e.length-(t+n)})]:e}var V7e=function(e,t){return e.offset===t.offset?t.length-e.length:e.offset-t.offset},Y7e={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","\n":"<br/>"};function Z7e(e){return Z7e="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},Z7e(e)}var H7e=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function K7e(e){if(-1!==H7e.indexOf(e.type))return w.default.renderToStaticMarkup(e);var t=w.default.renderToStaticMarkup(g.default.cloneElement(e,{},"\r")).split("\r");return i_e(t.length>1,"convertToHTML: Element of type ".concat(e.type," must render children")),i_e(t.length<3,"convertToHTML: Element of type ".concat(e.type," cannot use carriage return character")),{start:t[0],end:t[1]}}function J7e(e){return g.default.isValidElement(e)&&g.default.Children.count(e.props.children)>0}function eet(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(null==e)return e;if("string"==typeof e)return e;if(g.default.isValidElement(e)){if(J7e(e))return w.default.renderToStaticMarkup(e);var n=K7e(e);if(null!==t&&"object"===Z7e(n)){var i=n.start,r=n.end;return i+t+r}return n}if(i_e(Object.prototype.hasOwnProperty.call(e,"start")&&Object.prototype.hasOwnProperty.call(e,"end"),"convertToHTML: received conversion data without either an HTML string, ReactElement or an object with start/end tags"),null!==t){var a=e.start,o=e.end;return a+t+o}return e}var tet=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"start";if(g.default.isValidElement(t)){var i=K7e(t);if("string"==typeof i)return 0;var r=i[n].length,a=g.default.Children.toArray(t.props.children)[0];return r+(a&&g.default.isValidElement(a)?e(a,n):0)}return"object"===Z7e(t)&&t[n]?t[n].length:0},net=function(){var e=arguments.length>1?arguments[1]:void 0;return e},iet=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:net,i=VBe(e.text),r=n;if(n.__isMiddleware&&(r=n(net)),Object.prototype.hasOwnProperty.call(e,"entityRanges")&&e.entityRanges.length>0){for(var a=e.entityRanges.sort(V7e),o=e.inlineStyleRanges,s=function(e){var n=a[e],s=t[n.key],l=i.slice(n.offset,n.offset+n.length).join(""),u=r(s,l),c=VBe(eet(u,l)||l),d=tet(u,"start"),h=tet(u,"end"),p=function(t){return t.reduce((function(t,i,r){var a=function(t,i){return i>e||Object.prototype.hasOwnProperty.call(t,"style")?X7e(t,n.offset,n.length,c.length,d,h):t}(i,r);return Array.isArray(a)?t.concat(a):t.concat([a])}),[])};a=p(a),o=p(o),i=[].concat(VBe(i.slice(0,n.offset)),VBe(c),VBe(i.slice(n.offset+n.length)))},l=0;l<a.length;l++)s(l);return Object.assign({},e,{text:i.join(""),inlineStyleRanges:o,entityRanges:a})}return e},ret=function(e){return function(t){return"function"==typeof e?e(t):e[t]}},aet=function(e,t){return function(){var n=e.apply(void 0,arguments);return null!=n?n:t.apply(void 0,arguments)}};function oet(e){switch(e){case"BOLD":return g.default.createElement("strong",null);case"ITALIC":return g.default.createElement("em",null);case"UNDERLINE":return g.default.createElement("u",null);case"CODE":return g.default.createElement("code",null);default:return{start:"",end:""}}}var set=function(e,t){return e.filter((function(e){return!t.some((function(t){return t.style===e.style}))}))},uet=function(e,t){return t.reduceRight((function(e,t){var n=e[e.length-1];return i_e(n.style===t.style,"Style ".concat(n.style," to be removed doesn't match expected ").concat(t.style)),e.slice(0,-1)}),e)},cet=function(e,t){return t.filter((function(t){return e>=t.offset&&e<t.offset+t.length}))},det=function(e,t){var n=e.offset<=t.offset,i=e.offset+e.length>=t.offset+t.length;return n&&i},het=function(e,t){return t.offset+t.length-(e.offset+e.length)},pet=function(e,t){for(var n=0;n<e.length;){if(!t.every(det.bind(null,e[n])))return e.slice(n);n++}return[]},fet=function(e,t,n){return t+eet(e(n.style)).start},met=function(e,t,n){return eet(e(n.style)).end+t},get=function(e){return function(t){return e(t)}};get.__isMiddleware=!0;var vet=function(e){return function(t){return"function"==typeof e?e(t):e[t.type]}};function yet(e){return i_e(null!=e,"Expected block HTML value to be non-null"),"string"==typeof e?e:g.default.isValidElement(e)?function(e){return g.default.isValidElement(e)&&g.default.Children.count(e.props.children)>0}(e)?w.default.renderToStaticMarkup(e):K7e(e):Object.prototype.hasOwnProperty.call(e,"element")&&g.default.isValidElement(e.element)?Object.assign({},e,K7e(e.element)):(i_e(Object.prototype.hasOwnProperty.call(e,"start")&&Object.prototype.hasOwnProperty.call(e,"end"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),e)}function bet(e,t){if(i_e(null!=e,"Expected block HTML value to be non-null"),"function"==typeof e.nest){var n=K7e(e.nest(t)),i=n.start,r=n.end;return Object.assign({},e,{nestStart:i,nestEnd:r})}if(g.default.isValidElement(e.nest)){var a=K7e(e.nest),o=a.start,s=a.end;return Object.assign({},e,{nestStart:o,nestEnd:s})}return i_e(Object.prototype.hasOwnProperty.call(e,"nestStart")&&Object.prototype.hasOwnProperty.call(e,"nestEnd"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),e}var Oet=["1","a","i"],_et={unstyled:g.default.createElement("p",null),paragraph:g.default.createElement("p",null),"header-one":g.default.createElement("h1",null),"header-two":g.default.createElement("h2",null),"header-three":g.default.createElement("h3",null),"header-four":g.default.createElement("h4",null),"header-five":g.default.createElement("h5",null),"header-six":g.default.createElement("h6",null),blockquote:g.default.createElement("blockquote",null),"unordered-list-item":{element:g.default.createElement("li",null),nest:g.default.createElement("ul",null)},"ordered-list-item":{element:g.default.createElement("li",null),nest:function(e){var t=Oet[e%3];return g.default.createElement("ol",{type:t})}},media:g.default.createElement("figure",null),atomic:g.default.createElement("figure",null)},wet=function(e,t){return t},ket=function(e){var t=e.styleToHTML,n=void 0===t?{}:t,i=e.blockToHTML,r=void 0===i?{}:i,a=e.entityToHTML,o=void 0===a?wet:a;return function(e){var t;i_e(null!=e,"Expected contentState to be non-null"),t=!0===r.__isMiddleware?r(vet(_et)):aet(vet(r),vet(_et));var i=W7e.convertToRaw(e),a=[],s=i.blocks.map((function(e){var r=e.type,s=e.depth,l="",u="",c=t(e);if(!c)throw new Error("convertToHTML: missing HTML definition for block with type ".concat(e.type));if(c.nest)for(;s+1!==a.length||r!==a[s].type;)if(s+1===a.length){var d=a[s];l+=bet(t(d),s).nestEnd,u+=bet(t(e),s).nestStart,a[s]=e}else if(s+1<a.length){var h=a[a.length-1];l+=bet(t(h),s).nestEnd,a=a.slice(0,-1)}else u+=bet(t(e),s).nestStart,a.push(e);else l=a.reduceRight((function(e,n){return e+bet(t(n),s).nestEnd}),""),a=[];var p,f=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:get;i_e(null!=e,"Expected raw block to be non-null"),t=!0===n.__isMiddleware?n(oet):aet(ret(n),ret(oet));for(var i="",r=[],a=e.inlineStyleRanges.sort(V7e),o=VBe(e.text),s=0;s<o.length;s++){var l=cet(s,a),u=set(r,l),c=set(l,r),d=set(r,u),h=pet(d,c),p=h.concat(c).sort(het),f=p.reduce(fet.bind(null,t),"");i+=u.concat(h).reduce(met.bind(null,t),"")+f+o[s],r=(r=uet(r,h.concat(u))).concat(p),i_e(r.length===l.length,"Character ".concat(s,": ").concat(r.length-l.length," styles left on stack that should no longer be there"))}return r.reduceRight((function(e,n){return e+eet(t(n.style)).end}),i)}(iet(function(e){for(var t=VBe(e.text),n=e.entityRanges.sort(V7e),i=e.inlineStyleRanges.sort(V7e),r="",a=function(e){var a=t[e];if(void 0!==Y7e[a]){var o=Y7e[a],s=VBe(r).length;r+=o;var l=function(e){return X7e(e,s,a.length,o.length,0,0)};n=n.map(l),i=i.map(l)}else r+=a},o=0;o<t.length;o++)a(o);return Object.assign({},e,{text:r,inlineStyleRanges:i,entityRanges:n})}(e),i.entityMap,o),n),m=yet(t(e));return p="string"==typeof m?m:m.start+f+m.end,0===f.length&&Object.prototype.hasOwnProperty.call(m,"empty")&&(p=g.default.isValidElement(m.empty)?w.default.renderToStaticMarkup(m.empty):m.empty),l+u+p})).join("");return s=a.reduce((function(e,n){return e+bet(t(n),n.depth).nestEnd}),s)}},xet={exports:{}};!function(e,t){e.exports=function(){var e=Array.prototype.slice;function t(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function n(e){return o(e)?e:X(e)}function i(e){return s(e)?e:V(e)}function r(e){return l(e)?e:Y(e)}function a(e){return o(e)&&!u(e)?e:Z(e)}function o(e){return!(!e||!e[d])}function s(e){return!(!e||!e[h])}function l(e){return!(!e||!e[p])}function u(e){return s(e)||l(e)}function c(e){return!(!e||!e[f])}t(i,n),t(r,n),t(a,n),n.isIterable=o,n.isKeyed=s,n.isIndexed=l,n.isAssociative=u,n.isOrdered=c,n.Keyed=i,n.Indexed=r,n.Set=a;var d="@@__IMMUTABLE_ITERABLE__@@",h="@@__IMMUTABLE_KEYED__@@",p="@@__IMMUTABLE_INDEXED__@@",f="@@__IMMUTABLE_ORDERED__@@",m="delete",g=5,v=1<<g,y=v-1,b={},O={value:!1},_={value:!1};function w(e){return e.value=!1,e}function k(e){e&&(e.value=!0)}function x(){}function S(e,t){t=t||0;for(var n=Math.max(0,e.length-t),i=new Array(n),r=0;r<n;r++)i[r]=e[r+t];return i}function P(e){return void 0===e.size&&(e.size=e.__iterate(F)),e.size}function E(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?P(e)+t:t}function F(){return!0}function C(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function T(e,t){return A(e,t,0)}function D(e,t){return A(e,t,t)}function A(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var I=0,L=1,z=2,$="function"==typeof Symbol&&Symbol.iterator,R="@@iterator",Q=$||R;function j(e){this.next=e}function M(e,t,n,i){var r=0===e?t:1===e?n:[t,n];return i?i.value=r:i={value:r,done:!1},i}function N(){return{value:void 0,done:!0}}function U(e){return!!G(e)}function q(e){return e&&"function"==typeof e.next}function B(e){var t=G(e);return t&&t.call(e)}function G(e){var t=e&&($&&e[$]||e[R]);if("function"==typeof t)return t}function W(e){return e&&"number"==typeof e.length}function X(e){return null==e?oe():o(e)?e.toSeq():ue(e)}function V(e){return null==e?oe().toKeyedSeq():o(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function Y(e){return null==e?oe():o(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function Z(e){return(null==e?oe():o(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}j.prototype.toString=function(){return"[Iterator]"},j.KEYS=I,j.VALUES=L,j.ENTRIES=z,j.prototype.inspect=j.prototype.toSource=function(){return this.toString()},j.prototype[Q]=function(){return this},t(X,n),X.of=function(){return X(arguments)},X.prototype.toSeq=function(){return this},X.prototype.toString=function(){return this.__toString("Seq {","}")},X.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},X.prototype.__iterate=function(e,t){return de(this,e,t,!0)},X.prototype.__iterator=function(e,t){return he(this,e,t,!0)},t(V,X),V.prototype.toKeyedSeq=function(){return this},t(Y,X),Y.of=function(){return Y(arguments)},Y.prototype.toIndexedSeq=function(){return this},Y.prototype.toString=function(){return this.__toString("Seq [","]")},Y.prototype.__iterate=function(e,t){return de(this,e,t,!1)},Y.prototype.__iterator=function(e,t){return he(this,e,t,!1)},t(Z,X),Z.of=function(){return Z(arguments)},Z.prototype.toSetSeq=function(){return this},X.isSeq=ae,X.Keyed=V,X.Set=Z,X.Indexed=Y;var H,K,J,ee="@@__IMMUTABLE_SEQ__@@";function te(e){this._array=e,this.size=e.length}function ne(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function ie(e){this._iterable=e,this.size=e.length||e.size}function re(e){this._iterator=e,this._iteratorCache=[]}function ae(e){return!(!e||!e[ee])}function oe(){return H||(H=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():q(e)?new re(e).fromEntrySeq():U(e)?new ie(e).fromEntrySeq():"object"==typeof e?new ne(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function le(e){var t=ce(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ue(e){var t=ce(e)||"object"==typeof e&&new ne(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function ce(e){return W(e)?new te(e):q(e)?new re(e):U(e)?new ie(e):void 0}function de(e,t,n,i){var r=e._cache;if(r){for(var a=r.length-1,o=0;o<=a;o++){var s=r[n?a-o:o];if(!1===t(s[1],i?s[0]:o,e))return o+1}return o}return e.__iterateUncached(t,n)}function he(e,t,n,i){var r=e._cache;if(r){var a=r.length-1,o=0;return new j((function(){var e=r[n?a-o:o];return o++>a?N():M(t,i?e[0]:o-1,e[1])}))}return e.__iteratorUncached(t,n)}function pe(e,t){return t?fe(t,e,"",{"":e}):me(e)}function fe(e,t,n,i){return Array.isArray(t)?e.call(i,n,Y(t).map((function(n,i){return fe(e,n,i,t)}))):ge(t)?e.call(i,n,V(t).map((function(n,i){return fe(e,n,i,t)}))):t}function me(e){return Array.isArray(e)?Y(e).map(me).toList():ge(e)?V(e).map(me).toMap():e}function ge(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ve(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function ye(e,t){if(e===t)return!0;if(!o(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||s(e)!==s(t)||l(e)!==l(t)||c(e)!==c(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!u(e);if(c(e)){var i=e.entries();return t.every((function(e,t){var r=i.next().value;return r&&ve(r[1],e)&&(n||ve(r[0],t))}))&&i.next().done}var r=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{r=!0;var a=e;e=t,t=a}var d=!0,h=t.__iterate((function(t,i){if(n?!e.has(t):r?!ve(t,e.get(i,b)):!ve(e.get(i,b),t))return d=!1,!1}));return d&&e.size===h}function be(e,t){if(!(this instanceof be))return new be(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(K)return K;K=this}}function Oe(e,t){if(!e)throw new Error(t)}function _e(e,t,n){if(!(this instanceof _e))return new _e(e,t,n);if(Oe(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),t<e&&(n=-n),this._start=e,this._end=t,this._step=n,this.size=Math.max(0,Math.ceil((t-e)/n-1)+1),0===this.size){if(J)return J;J=this}}function we(){throw TypeError("Abstract")}function ke(){}function xe(){}function Se(){}X.prototype[ee]=!0,t(te,Y),te.prototype.get=function(e,t){return this.has(e)?this._array[E(this,e)]:t},te.prototype.__iterate=function(e,t){for(var n=this._array,i=n.length-1,r=0;r<=i;r++)if(!1===e(n[t?i-r:r],r,this))return r+1;return r},te.prototype.__iterator=function(e,t){var n=this._array,i=n.length-1,r=0;return new j((function(){return r>i?N():M(e,r,n[t?i-r++:r++])}))},t(ne,V),ne.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},ne.prototype.has=function(e){return this._object.hasOwnProperty(e)},ne.prototype.__iterate=function(e,t){for(var n=this._object,i=this._keys,r=i.length-1,a=0;a<=r;a++){var o=i[t?r-a:a];if(!1===e(n[o],o,this))return a+1}return a},ne.prototype.__iterator=function(e,t){var n=this._object,i=this._keys,r=i.length-1,a=0;return new j((function(){var o=i[t?r-a:a];return a++>r?N():M(e,o,n[o])}))},ne.prototype[f]=!0,t(ie,Y),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=B(this._iterable),i=0;if(q(n))for(var r;!(r=n.next()).done&&!1!==e(r.value,i++,this););return i},ie.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=B(this._iterable);if(!q(n))return new j(N);var i=0;return new j((function(){var t=n.next();return t.done?t:M(e,i++,t.value)}))},t(re,Y),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,i=this._iterator,r=this._iteratorCache,a=0;a<r.length;)if(!1===e(r[a],a++,this))return a;for(;!(n=i.next()).done;){var o=n.value;if(r[a]=o,!1===e(o,a++,this))break}return a},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,i=this._iteratorCache,r=0;return new j((function(){if(r>=i.length){var t=n.next();if(t.done)return t;i[r]=t.value}return M(e,r,i[r++])}))},t(be,Y),be.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},be.prototype.get=function(e,t){return this.has(e)?this._value:t},be.prototype.includes=function(e){return ve(this._value,e)},be.prototype.slice=function(e,t){var n=this.size;return C(e,t,n)?this:new be(this._value,D(t,n)-T(e,n))},be.prototype.reverse=function(){return this},be.prototype.indexOf=function(e){return ve(this._value,e)?0:-1},be.prototype.lastIndexOf=function(e){return ve(this._value,e)?this.size:-1},be.prototype.__iterate=function(e,t){for(var n=0;n<this.size;n++)if(!1===e(this._value,n,this))return n+1;return n},be.prototype.__iterator=function(e,t){var n=this,i=0;return new j((function(){return i<n.size?M(e,i++,n._value):N()}))},be.prototype.equals=function(e){return e instanceof be?ve(this._value,e._value):ye(e)},t(_e,Y),_e.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},_e.prototype.get=function(e,t){return this.has(e)?this._start+E(this,e)*this._step:t},_e.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},_e.prototype.slice=function(e,t){return C(e,t,this.size)?this:(e=T(e,this.size),(t=D(t,this.size))<=e?new _e(0,0):new _e(this.get(e,this._end),this.get(t,this._end),this._step))},_e.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},_e.prototype.lastIndexOf=function(e){return this.indexOf(e)},_e.prototype.__iterate=function(e,t){for(var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,a=0;a<=n;a++){if(!1===e(r,a,this))return a+1;r+=t?-i:i}return a},_e.prototype.__iterator=function(e,t){var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,a=0;return new j((function(){var o=r;return r+=t?-i:i,a>n?N():M(e,a++,o)}))},_e.prototype.equals=function(e){return e instanceof _e?this._start===e._start&&this._end===e._end&&this._step===e._step:ye(this,e)},t(we,n),t(ke,we),t(xe,we),t(Se,we),we.Keyed=ke,we.Indexed=xe,we.Set=Se;var Pe="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),i=65535&(t|=0);return n*i+((e>>>16)*i+n*(t>>>16)<<16>>>0)|0};function Ee(e){return e>>>1&1073741824|3221225471&e}function Fe(e){if(!1===e||null==e)return 0;if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null==e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)n^=e/=4294967295;return Ee(n)}if("string"===t)return e.length>je?Ce(e):Te(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return De(e);if("function"==typeof e.toString)return Te(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Ce(e){var t=Ue[e];return void 0===t&&(t=Te(e),Ne===Me&&(Ne=0,Ue={}),Ne++,Ue[e]=t),t}function Te(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Ee(t)}function De(e){var t;if($e&&void 0!==(t=ze.get(e)))return t;if(void 0!==(t=e[Qe]))return t;if(!Ie){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Qe]))return t;if(void 0!==(t=Le(e)))return t}if(t=++Re,1073741824&Re&&(Re=0),$e)ze.set(e,t);else{if(void 0!==Ae&&!1===Ae(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Ie)Object.defineProperty(e,Qe,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[Qe]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Qe]=t}}return t}var Ae=Object.isExtensible,Ie=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function Le(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var ze,$e="function"==typeof WeakMap;$e&&(ze=new WeakMap);var Re=0,Qe="__immutablehash__";"function"==typeof Symbol&&(Qe=Symbol(Qe));var je=16,Me=255,Ne=0,Ue={};function qe(e){Oe(e!==1/0,"Cannot perform this action with an infinite size.")}function Be(e){return null==e?rt():Ge(e)&&!c(e)?e:rt().withMutations((function(t){var n=i(e);qe(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Ge(e){return!(!e||!e[Xe])}t(Be,ke),Be.prototype.toString=function(){return this.__toString("Map {","}")},Be.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},Be.prototype.set=function(e,t){return at(this,e,t)},Be.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},Be.prototype.remove=function(e){return at(this,e,b)},Be.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},Be.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},Be.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var i=gt(this,wn(e),t,n);return i===b?void 0:i},Be.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):rt()},Be.prototype.merge=function(){return ht(this,void 0,arguments)},Be.prototype.mergeWith=function(t){return ht(this,t,e.call(arguments,1))},Be.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,rt(),(function(e){return"function"==typeof e.merge?e.merge.apply(e,n):n[n.length-1]}))},Be.prototype.mergeDeep=function(){return ht(this,pt,arguments)},Be.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return ht(this,ft(t),n)},Be.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,rt(),(function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]}))},Be.prototype.sort=function(e){return Ut(dn(this,e))},Be.prototype.sortBy=function(e,t){return Ut(dn(this,t,e))},Be.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},Be.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new x)},Be.prototype.asImmutable=function(){return this.__ensureOwner()},Be.prototype.wasAltered=function(){return this.__altered},Be.prototype.__iterator=function(e,t){return new et(this,e,t)},Be.prototype.__iterate=function(e,t){var n=this,i=0;return this._root&&this._root.iterate((function(t){return i++,e(t[1],t[0],n)}),t),i},Be.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?it(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Be.isMap=Ge;var We,Xe="@@__IMMUTABLE_MAP__@@",Ve=Be.prototype;function Ye(e,t){this.ownerID=e,this.entries=t}function Ze(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function He(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function Ke(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function Je(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function et(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&nt(e._root)}function tt(e,t){return M(e,t[0],t[1])}function nt(e,t){return{node:e,index:0,__prev:t}}function it(e,t,n,i){var r=Object.create(Ve);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function rt(){return We||(We=it(0))}function at(e,t,n){var i,r;if(e._root){var a=w(O),o=w(_);if(i=ot(e._root,e.__ownerID,0,void 0,t,n,a,o),!o.value)return e;r=e.size+(a.value?n===b?-1:1:0)}else{if(n===b)return e;r=1,i=new Ye(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=r,e._root=i,e.__hash=void 0,e.__altered=!0,e):i?it(r,i):rt()}function ot(e,t,n,i,r,a,o,s){return e?e.update(t,n,i,r,a,o,s):a===b?e:(k(s),k(o),new Je(t,i,[r,a]))}function st(e){return e.constructor===Je||e.constructor===Ke}function lt(e,t,n,i,r){if(e.keyHash===i)return new Ke(t,i,[e.entry,r]);var a,o=(0===n?e.keyHash:e.keyHash>>>n)&y,s=(0===n?i:i>>>n)&y;return new Ze(t,1<<o|1<<s,o===s?[lt(e,t,n+g,i,r)]:(a=new Je(t,i,r),o<s?[e,a]:[a,e]))}function ut(e,t,n,i){e||(e=new x);for(var r=new Je(e,Fe(n),[n,i]),a=0;a<t.length;a++){var o=t[a];r=r.update(e,0,void 0,o[0],o[1])}return r}function ct(e,t,n,i){for(var r=0,a=0,o=new Array(n),s=0,l=1,u=t.length;s<u;s++,l<<=1){var c=t[s];void 0!==c&&s!==i&&(r|=l,o[a++]=c)}return new Ze(e,r,o)}function dt(e,t,n,i,r){for(var a=0,o=new Array(v),s=0;0!==n;s++,n>>>=1)o[s]=1&n?t[a++]:void 0;return o[i]=r,new He(e,a+1,o)}function ht(e,t,n){for(var r=[],a=0;a<n.length;a++){var s=n[a],l=i(s);o(s)||(l=l.map((function(e){return pe(e)}))),r.push(l)}return mt(e,t,r)}function pt(e,t,n){return e&&e.mergeDeep&&o(t)?e.mergeDeep(t):ve(e,t)?e:t}function ft(e){return function(t,n,i){if(t&&t.mergeDeepWith&&o(n))return t.mergeDeepWith(e,n);var r=e(t,n,i);return ve(t,r)?t:r}}function mt(e,t,n){return n=n.filter((function(e){return 0!==e.size})),0===n.length?e:0!==e.size||e.__ownerID||1!==n.length?e.withMutations((function(e){for(var i=t?function(n,i){e.update(i,b,(function(e){return e===b?n:t(e,n,i)}))}:function(t,n){e.set(n,t)},r=0;r<n.length;r++)n[r].forEach(i)})):e.constructor(n[0])}function gt(e,t,n,i){var r=e===b,a=t.next();if(a.done){var o=r?n:e,s=i(o);return s===o?e:s}Oe(r||e&&e.set,"invalid keyPath");var l=a.value,u=r?b:e.get(l,b),c=gt(u,t,n,i);return c===u?e:c===b?e.remove(l):(r?rt():e).set(l,c)}function vt(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function yt(e,t,n,i){var r=i?e:S(e);return r[t]=n,r}function bt(e,t,n,i){var r=e.length+1;if(i&&t+1===r)return e[t]=n,e;for(var a=new Array(r),o=0,s=0;s<r;s++)s===t?(a[s]=n,o=-1):a[s]=e[s+o];return a}function Ot(e,t,n){var i=e.length-1;if(n&&t===i)return e.pop(),e;for(var r=new Array(i),a=0,o=0;o<i;o++)o===t&&(a=1),r[o]=e[o+a];return r}Ve[Xe]=!0,Ve[m]=Ve.remove,Ve.removeIn=Ve.deleteIn,Ye.prototype.get=function(e,t,n,i){for(var r=this.entries,a=0,o=r.length;a<o;a++)if(ve(n,r[a][0]))return r[a][1];return i},Ye.prototype.update=function(e,t,n,i,r,a,o){for(var s=r===b,l=this.entries,u=0,c=l.length;u<c&&!ve(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(k(o),(s||!d)&&k(a),!s||1!==l.length){if(!d&&!s&&l.length>=_t)return ut(e,l,i,r);var h=e&&e===this.ownerID,p=h?l:S(l);return d?s?u===c-1?p.pop():p[u]=p.pop():p[u]=[i,r]:p.push([i,r]),h?(this.entries=p,this):new Ye(e,p)}},Ze.prototype.get=function(e,t,n,i){void 0===t&&(t=Fe(n));var r=1<<((0===e?t:t>>>e)&y),a=this.bitmap;return 0==(a&r)?i:this.nodes[vt(a&r-1)].get(e+g,t,n,i)},Ze.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=Fe(i));var s=(0===t?n:n>>>t)&y,l=1<<s,u=this.bitmap,c=0!=(u&l);if(!c&&r===b)return this;var d=vt(u&l-1),h=this.nodes,p=c?h[d]:void 0,f=ot(p,e,t+g,n,i,r,a,o);if(f===p)return this;if(!c&&f&&h.length>=wt)return dt(e,h,u,s,f);if(c&&!f&&2===h.length&&st(h[1^d]))return h[1^d];if(c&&f&&1===h.length&&st(f))return f;var m=e&&e===this.ownerID,v=c?f?u:u^l:u|l,O=c?f?yt(h,d,f,m):Ot(h,d,m):bt(h,d,f,m);return m?(this.bitmap=v,this.nodes=O,this):new Ze(e,v,O)},He.prototype.get=function(e,t,n,i){void 0===t&&(t=Fe(n));var r=(0===e?t:t>>>e)&y,a=this.nodes[r];return a?a.get(e+g,t,n,i):i},He.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=Fe(i));var s=(0===t?n:n>>>t)&y,l=r===b,u=this.nodes,c=u[s];if(l&&!c)return this;var d=ot(c,e,t+g,n,i,r,a,o);if(d===c)return this;var h=this.count;if(c){if(!d&&--h<kt)return ct(e,u,h,s)}else h++;var p=e&&e===this.ownerID,f=yt(u,s,d,p);return p?(this.count=h,this.nodes=f,this):new He(e,h,f)},Ke.prototype.get=function(e,t,n,i){for(var r=this.entries,a=0,o=r.length;a<o;a++)if(ve(n,r[a][0]))return r[a][1];return i},Ke.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=Fe(i));var s=r===b;if(n!==this.keyHash)return s?this:(k(o),k(a),lt(this,e,t,n,[i,r]));for(var l=this.entries,u=0,c=l.length;u<c&&!ve(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(k(o),(s||!d)&&k(a),s&&2===c)return new Je(e,this.keyHash,l[1^u]);var h=e&&e===this.ownerID,p=h?l:S(l);return d?s?u===c-1?p.pop():p[u]=p.pop():p[u]=[i,r]:p.push([i,r]),h?(this.entries=p,this):new Ke(e,this.keyHash,p)},Je.prototype.get=function(e,t,n,i){return ve(n,this.entry[0])?this.entry[1]:i},Je.prototype.update=function(e,t,n,i,r,a,o){var s=r===b,l=ve(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(k(o),s?void k(a):l?e&&e===this.ownerID?(this.entry[1]=r,this):new Je(e,this.keyHash,[i,r]):(k(a),lt(this,e,t,Fe(i),[i,r])))},Ye.prototype.iterate=Ke.prototype.iterate=function(e,t){for(var n=this.entries,i=0,r=n.length-1;i<=r;i++)if(!1===e(n[t?r-i:i]))return!1},Ze.prototype.iterate=He.prototype.iterate=function(e,t){for(var n=this.nodes,i=0,r=n.length-1;i<=r;i++){var a=n[t?r-i:i];if(a&&!1===a.iterate(e,t))return!1}},Je.prototype.iterate=function(e,t){return e(this.entry)},t(et,j),et.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var n,i=t.node,r=t.index++;if(i.entry){if(0===r)return tt(e,i.entry)}else if(i.entries){if(r<=(n=i.entries.length-1))return tt(e,i.entries[this._reverse?n-r:r])}else if(r<=(n=i.nodes.length-1)){var a=i.nodes[this._reverse?n-r:r];if(a){if(a.entry)return tt(e,a.entry);t=this._stack=nt(a,t)}continue}t=this._stack=this._stack.__prev}return N()};var _t=v/4,wt=v/2,kt=v/4;function xt(e){var t=Lt();if(null==e)return t;if(St(e))return e;var n=r(e),i=n.size;return 0===i?t:(qe(i),i>0&&i<v?It(0,i,g,null,new Ft(n.toArray())):t.withMutations((function(e){e.setSize(i),n.forEach((function(t,n){return e.set(n,t)}))})))}function St(e){return!(!e||!e[Pt])}t(xt,xe),xt.of=function(){return this(arguments)},xt.prototype.toString=function(){return this.__toString("List [","]")},xt.prototype.get=function(e,t){if((e=E(this,e))>=0&&e<this.size){var n=Qt(this,e+=this._origin);return n&&n.array[e&y]}return t},xt.prototype.set=function(e,t){return zt(this,e,t)},xt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},xt.prototype.insert=function(e,t){return this.splice(e,0,t)},xt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=g,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Lt()},xt.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){jt(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},xt.prototype.pop=function(){return jt(this,0,-1)},xt.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){jt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},xt.prototype.shift=function(){return jt(this,1)},xt.prototype.merge=function(){return Mt(this,void 0,arguments)},xt.prototype.mergeWith=function(t){return Mt(this,t,e.call(arguments,1))},xt.prototype.mergeDeep=function(){return Mt(this,pt,arguments)},xt.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Mt(this,ft(t),n)},xt.prototype.setSize=function(e){return jt(this,0,e)},xt.prototype.slice=function(e,t){var n=this.size;return C(e,t,n)?this:jt(this,T(e,n),D(t,n))},xt.prototype.__iterator=function(e,t){var n=0,i=At(this,t);return new j((function(){var t=i();return t===Dt?N():M(e,n++,t)}))},xt.prototype.__iterate=function(e,t){for(var n,i=0,r=At(this,t);(n=r())!==Dt&&!1!==e(n,i++,this););return i},xt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?It(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},xt.isList=St;var Pt="@@__IMMUTABLE_LIST__@@",Et=xt.prototype;function Ft(e,t){this.array=e,this.ownerID=t}Et[Pt]=!0,Et[m]=Et.remove,Et.setIn=Ve.setIn,Et.deleteIn=Et.removeIn=Ve.removeIn,Et.update=Ve.update,Et.updateIn=Ve.updateIn,Et.mergeIn=Ve.mergeIn,Et.mergeDeepIn=Ve.mergeDeepIn,Et.withMutations=Ve.withMutations,Et.asMutable=Ve.asMutable,Et.asImmutable=Ve.asImmutable,Et.wasAltered=Ve.wasAltered,Ft.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var i=n>>>t&y;if(i>=this.array.length)return new Ft([],e);var r,a=0===i;if(t>0){var o=this.array[i];if((r=o&&o.removeBefore(e,t-g,n))===o&&a)return this}if(a&&!r)return this;var s=Rt(this,e);if(!a)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},Ft.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var i,r=n-1>>>t&y;if(r>=this.array.length)return this;if(t>0){var a=this.array[r];if((i=a&&a.removeAfter(e,t-g,n))===a&&r===this.array.length-1)return this}var o=Rt(this,e);return o.array.splice(r+1),i&&(o.array[r]=i),o};var Ct,Tt,Dt={};function At(e,t){var n=e._origin,i=e._capacity,r=Nt(i),a=e._tail;return o(e._root,e._level,0);function o(e,t,n){return 0===t?s(e,n):l(e,t,n)}function s(e,o){var s=o===r?a&&a.array:e&&e.array,l=o>n?0:n-o,u=i-o;return u>v&&(u=v),function(){if(l===u)return Dt;var e=t?--u:l++;return s&&s[e]}}function l(e,r,a){var s,l=e&&e.array,u=a>n?0:n-a>>r,c=1+(i-a>>r);return c>v&&(c=v),function(){for(;;){if(s){var e=s();if(e!==Dt)return e;s=null}if(u===c)return Dt;var n=t?--c:u++;s=o(l&&l[n],r-g,a+(n<<r))}}}}function It(e,t,n,i,r,a,o){var s=Object.create(Et);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=i,s._tail=r,s.__ownerID=a,s.__hash=o,s.__altered=!1,s}function Lt(){return Ct||(Ct=It(0,0,g))}function zt(e,t,n){if((t=E(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?jt(e,t).set(0,n):jt(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,a=w(_);return t>=Nt(e._capacity)?i=$t(i,e.__ownerID,0,t,n,a):r=$t(r,e.__ownerID,e._level,t,n,a),a.value?e.__ownerID?(e._root=r,e._tail=i,e.__hash=void 0,e.__altered=!0,e):It(e._origin,e._capacity,e._level,r,i):e}function $t(e,t,n,i,r,a){var o,s=i>>>n&y,l=e&&s<e.array.length;if(!l&&void 0===r)return e;if(n>0){var u=e&&e.array[s],c=$t(u,t,n-g,i,r,a);return c===u?e:((o=Rt(e,t)).array[s]=c,o)}return l&&e.array[s]===r?e:(k(a),o=Rt(e,t),void 0===r&&s===o.array.length-1?o.array.pop():o.array[s]=r,o)}function Rt(e,t){return t&&e&&t===e.ownerID?e:new Ft(e?e.array.slice():[],t)}function Qt(e,t){if(t>=Nt(e._capacity))return e._tail;if(t<1<<e._level+g){for(var n=e._root,i=e._level;n&&i>0;)n=n.array[t>>>i&y],i-=g;return n}}function jt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new x,r=e._origin,a=e._capacity,o=r+t,s=void 0===n?a:n<0?a+n:r+n;if(o===r&&s===a)return e;if(o>=s)return e.clear();for(var l=e._level,u=e._root,c=0;o+c<0;)u=new Ft(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=g);c&&(o+=c,r+=c,s+=c,a+=c);for(var d=Nt(a),h=Nt(s);h>=1<<l+g;)u=new Ft(u&&u.array.length?[u]:[],i),l+=g;var p=e._tail,f=h<d?Qt(e,s-1):h>d?new Ft([],i):p;if(p&&h>d&&o<a&&p.array.length){for(var m=u=Rt(u,i),v=l;v>g;v-=g){var b=d>>>v&y;m=m.array[b]=Rt(m.array[b],i)}m.array[d>>>g&y]=p}if(s<a&&(f=f&&f.removeAfter(i,0,s)),o>=h)o-=h,s-=h,l=g,u=null,f=f&&f.removeBefore(i,0,o);else if(o>r||h<d){for(c=0;u;){var O=o>>>l&y;if(O!==h>>>l&y)break;O&&(c+=(1<<l)*O),l-=g,u=u.array[O]}u&&o>r&&(u=u.removeBefore(i,l,o-c)),u&&h<d&&(u=u.removeAfter(i,l,h-c)),c&&(o-=c,s-=c)}return e.__ownerID?(e.size=s-o,e._origin=o,e._capacity=s,e._level=l,e._root=u,e._tail=f,e.__hash=void 0,e.__altered=!0,e):It(o,s,l,u,f)}function Mt(e,t,n){for(var i=[],a=0,s=0;s<n.length;s++){var l=n[s],u=r(l);u.size>a&&(a=u.size),o(l)||(u=u.map((function(e){return pe(e)}))),i.push(u)}return a>e.size&&(e=e.setSize(a)),mt(e,t,i)}function Nt(e){return e<v?0:e-1>>>g<<g}function Ut(e){return null==e?Gt():qt(e)?e:Gt().withMutations((function(t){var n=i(e);qe(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function qt(e){return Ge(e)&&c(e)}function Bt(e,t,n,i){var r=Object.create(Ut.prototype);return r.size=e?e.size:0,r._map=e,r._list=t,r.__ownerID=n,r.__hash=i,r}function Gt(){return Tt||(Tt=Bt(rt(),Lt()))}function Wt(e,t,n){var i,r,a=e._map,o=e._list,s=a.get(t),l=void 0!==s;if(n===b){if(!l)return e;o.size>=v&&o.size>=2*a.size?(r=o.filter((function(e,t){return void 0!==e&&s!==t})),i=r.toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(i.__ownerID=r.__ownerID=e.__ownerID)):(i=a.remove(t),r=s===o.size-1?o.pop():o.set(s,void 0))}else if(l){if(n===o.get(s)[1])return e;i=a,r=o.set(s,[t,n])}else i=a.set(t,o.size),r=o.set(o.size,[t,n]);return e.__ownerID?(e.size=i.size,e._map=i,e._list=r,e.__hash=void 0,e):Bt(i,r)}function Xt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Vt(e){this._iter=e,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Zt(e){this._iter=e,this.size=e.size}function Ht(e){var t=bn(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=On,t.__iterateUncached=function(t,n){var i=this;return e.__iterate((function(e,n){return!1!==t(n,e,i)}),n)},t.__iteratorUncached=function(t,n){if(t===z){var i=e.__iterator(t,n);return new j((function(){var e=i.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(t===L?I:L,n)},t}function Kt(e,t,n){var i=bn(e);return i.size=e.size,i.has=function(t){return e.has(t)},i.get=function(i,r){var a=e.get(i,b);return a===b?r:t.call(n,a,i,e)},i.__iterateUncached=function(i,r){var a=this;return e.__iterate((function(e,r,o){return!1!==i(t.call(n,e,r,o),r,a)}),r)},i.__iteratorUncached=function(i,r){var a=e.__iterator(z,r);return new j((function(){var r=a.next();if(r.done)return r;var o=r.value,s=o[0];return M(i,s,t.call(n,o[1],s,e),r)}))},i}function Jt(e,t){var n=bn(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=Ht(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,i){return e.get(t?n:-1-n,i)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=On,n.__iterate=function(t,n){var i=this;return e.__iterate((function(e,n){return t(e,n,i)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function en(e,t,n,i){var r=bn(e);return i&&(r.has=function(i){var r=e.get(i,b);return r!==b&&!!t.call(n,r,i,e)},r.get=function(i,r){var a=e.get(i,b);return a!==b&&t.call(n,a,i,e)?a:r}),r.__iterateUncached=function(r,a){var o=this,s=0;return e.__iterate((function(e,a,l){if(t.call(n,e,a,l))return s++,r(e,i?a:s-1,o)}),a),s},r.__iteratorUncached=function(r,a){var o=e.__iterator(z,a),s=0;return new j((function(){for(;;){var a=o.next();if(a.done)return a;var l=a.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return M(r,i?u:s++,c,a)}}))},r}function tn(e,t,n){var i=Be().asMutable();return e.__iterate((function(r,a){i.update(t.call(n,r,a,e),0,(function(e){return e+1}))})),i.asImmutable()}function nn(e,t,n){var i=s(e),r=(c(e)?Ut():Be()).asMutable();e.__iterate((function(a,o){r.update(t.call(n,a,o,e),(function(e){return(e=e||[]).push(i?[o,a]:a),e}))}));var a=yn(e);return r.map((function(t){return mn(e,a(t))}))}function rn(e,t,n,i){var r=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),C(t,n,r))return e;var a=T(t,r),o=D(n,r);if(a!=a||o!=o)return rn(e.toSeq().cacheResult(),t,n,i);var s,l=o-a;l==l&&(s=l<0?0:l);var u=bn(e);return u.size=0===s?s:e.size&&s||void 0,!i&&ae(e)&&s>=0&&(u.get=function(t,n){return(t=E(this,t))>=0&&t<s?e.get(t+a,n):n}),u.__iterateUncached=function(t,n){var r=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var o=0,l=!0,u=0;return e.__iterate((function(e,n){if(!l||!(l=o++<a))return u++,!1!==t(e,i?n:u-1,r)&&u!==s})),u},u.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var r=0!==s&&e.__iterator(t,n),o=0,l=0;return new j((function(){for(;o++<a;)r.next();if(++l>s)return N();var e=r.next();return i||t===L?e:M(t,l-1,t===I?void 0:e.value[1],e)}))},u}function an(e,t,n){var i=bn(e);return i.__iterateUncached=function(i,r){var a=this;if(r)return this.cacheResult().__iterate(i,r);var o=0;return e.__iterate((function(e,r,s){return t.call(n,e,r,s)&&++o&&i(e,r,a)})),o},i.__iteratorUncached=function(i,r){var a=this;if(r)return this.cacheResult().__iterator(i,r);var o=e.__iterator(z,r),s=!0;return new j((function(){if(!s)return N();var e=o.next();if(e.done)return e;var r=e.value,l=r[0],u=r[1];return t.call(n,u,l,a)?i===z?e:M(i,l,u,e):(s=!1,N())}))},i}function on(e,t,n,i){var r=bn(e);return r.__iterateUncached=function(r,a){var o=this;if(a)return this.cacheResult().__iterate(r,a);var s=!0,l=0;return e.__iterate((function(e,a,u){if(!s||!(s=t.call(n,e,a,u)))return l++,r(e,i?a:l-1,o)})),l},r.__iteratorUncached=function(r,a){var o=this;if(a)return this.cacheResult().__iterator(r,a);var s=e.__iterator(z,a),l=!0,u=0;return new j((function(){var e,a,c;do{if((e=s.next()).done)return i||r===L?e:M(r,u++,r===I?void 0:e.value[1],e);var d=e.value;a=d[0],c=d[1],l&&(l=t.call(n,c,a,o))}while(l);return r===z?e:M(r,a,c,e)}))},r}function sn(e,t){var n=s(e),r=[e].concat(t).map((function(e){return o(e)?n&&(e=i(e)):e=n?se(e):le(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===r.length)return e;if(1===r.length){var a=r[0];if(a===e||n&&s(a)||l(e)&&l(a))return a}var u=new te(r);return n?u=u.toKeyedSeq():l(e)||(u=u.toSetSeq()),(u=u.flatten(!0)).size=r.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),u}function ln(e,t,n){var i=bn(e);return i.__iterateUncached=function(i,r){var a=0,s=!1;function l(e,u){var c=this;e.__iterate((function(e,r){return(!t||u<t)&&o(e)?l(e,u+1):!1===i(e,n?r:a++,c)&&(s=!0),!s}),r)}return l(e,0),a},i.__iteratorUncached=function(i,r){var a=e.__iterator(i,r),s=[],l=0;return new j((function(){for(;a;){var e=a.next();if(!1===e.done){var u=e.value;if(i===z&&(u=u[1]),t&&!(s.length<t)||!o(u))return n?e:M(i,l++,u,e);s.push(a),a=u.__iterator(i,r)}else a=s.pop()}return N()}))},i}function un(e,t,n){var i=yn(e);return e.toSeq().map((function(r,a){return i(t.call(n,r,a,e))})).flatten(!0)}function cn(e,t){var n=bn(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,i){var r=this,a=0;return e.__iterate((function(e,i){return(!a||!1!==n(t,a++,r))&&!1!==n(e,a++,r)}),i),a},n.__iteratorUncached=function(n,i){var r,a=e.__iterator(L,i),o=0;return new j((function(){return(!r||o%2)&&(r=a.next()).done?r:o%2?M(n,o++,t):M(n,o++,r.value,r)}))},n}function dn(e,t,n){t||(t=_n);var i=s(e),r=0,a=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).toArray();return a.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){a[t].length=2}:function(e,t){a[t]=e[1]}),i?V(a):l(e)?Y(a):Z(a)}function hn(e,t,n){if(t||(t=_n),n){var i=e.toSeq().map((function(t,i){return[t,n(t,i,e)]})).reduce((function(e,n){return pn(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return pn(t,e,n)?n:e}))}function pn(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function fn(e,t,i){var r=bn(e);return r.size=new te(i).map((function(e){return e.size})).min(),r.__iterate=function(e,t){for(var n,i=this.__iterator(L,t),r=0;!(n=i.next()).done&&!1!==e(n.value,r++,this););return r},r.__iteratorUncached=function(e,r){var a=i.map((function(e){return e=n(e),B(r?e.reverse():e)})),o=0,s=!1;return new j((function(){var n;return s||(n=a.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?N():M(e,o++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function mn(e,t){return ae(e)?t:e.constructor(t)}function gn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function vn(e){return qe(e.size),P(e)}function yn(e){return s(e)?i:l(e)?r:a}function bn(e){return Object.create((s(e)?V:l(e)?Y:Z).prototype)}function On(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):X.prototype.cacheResult.call(this)}function _n(e,t){return e>t?1:e<t?-1:0}function wn(e){var t=B(e);if(!t){if(!W(e))throw new TypeError("Expected iterable or array-like: "+e);t=B(n(e))}return t}function kn(e,t){var n,i=function(a){if(a instanceof i)return a;if(!(this instanceof i))return new i(a);if(!n){n=!0;var o=Object.keys(e);En(r,o),r.size=o.length,r._name=t,r._keys=o,r._defaultValues=e}this._map=Be(a)},r=i.prototype=Object.create(xn);return r.constructor=i,i}t(Ut,Be),Ut.of=function(){return this(arguments)},Ut.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Ut.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Ut.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Gt()},Ut.prototype.set=function(e,t){return Wt(this,e,t)},Ut.prototype.remove=function(e){return Wt(this,e,b)},Ut.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Ut.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},Ut.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Ut.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?Bt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Ut.isOrderedMap=qt,Ut.prototype[f]=!0,Ut.prototype[m]=Ut.prototype.remove,t(Xt,V),Xt.prototype.get=function(e,t){return this._iter.get(e,t)},Xt.prototype.has=function(e){return this._iter.has(e)},Xt.prototype.valueSeq=function(){return this._iter.valueSeq()},Xt.prototype.reverse=function(){var e=this,t=Jt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Xt.prototype.map=function(e,t){var n=this,i=Kt(this,e,t);return this._useKeys||(i.valueSeq=function(){return n._iter.toSeq().map(e,t)}),i},Xt.prototype.__iterate=function(e,t){var n,i=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,i)}:(n=t?vn(this):0,function(r){return e(r,t?--n:n++,i)}),t)},Xt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(L,t),i=t?vn(this):0;return new j((function(){var r=n.next();return r.done?r:M(e,t?--i:i++,r.value,r)}))},Xt.prototype[f]=!0,t(Vt,Y),Vt.prototype.includes=function(e){return this._iter.includes(e)},Vt.prototype.__iterate=function(e,t){var n=this,i=0;return this._iter.__iterate((function(t){return e(t,i++,n)}),t)},Vt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(L,t),i=0;return new j((function(){var t=n.next();return t.done?t:M(e,i++,t.value,t)}))},t(Yt,Z),Yt.prototype.has=function(e){return this._iter.includes(e)},Yt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Yt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(L,t);return new j((function(){var t=n.next();return t.done?t:M(e,t.value,t.value,t)}))},t(Zt,V),Zt.prototype.entrySeq=function(){return this._iter.toSeq()},Zt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){gn(t);var i=o(t);return e(i?t.get(1):t[1],i?t.get(0):t[0],n)}}),t)},Zt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(L,t);return new j((function(){for(;;){var t=n.next();if(t.done)return t;var i=t.value;if(i){gn(i);var r=o(i);return M(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},Vt.prototype.cacheResult=Xt.prototype.cacheResult=Yt.prototype.cacheResult=Zt.prototype.cacheResult=On,t(kn,ke),kn.prototype.toString=function(){return this.__toString(Pn(this)+" {","}")},kn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},kn.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},kn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Sn(this,rt()))},kn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Pn(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Sn(this,n)},kn.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:Sn(this,t)},kn.prototype.wasAltered=function(){return this._map.wasAltered()},kn.prototype.__iterator=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},kn.prototype.__iterate=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},kn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Sn(this,t,e):(this.__ownerID=e,this._map=t,this)};var xn=kn.prototype;function Sn(e,t,n){var i=Object.create(Object.getPrototypeOf(e));return i._map=t,i.__ownerID=n,i}function Pn(e){return e._name||e.constructor.name||"Record"}function En(e,t){try{t.forEach(Fn.bind(void 0,e))}catch(e){}}function Fn(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){Oe(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function Cn(e){return null==e?$n():Tn(e)&&!c(e)?e:$n().withMutations((function(t){var n=a(e);qe(n.size),n.forEach((function(e){return t.add(e)}))}))}function Tn(e){return!(!e||!e[An])}xn[m]=xn.remove,xn.deleteIn=xn.removeIn=Ve.removeIn,xn.merge=Ve.merge,xn.mergeWith=Ve.mergeWith,xn.mergeIn=Ve.mergeIn,xn.mergeDeep=Ve.mergeDeep,xn.mergeDeepWith=Ve.mergeDeepWith,xn.mergeDeepIn=Ve.mergeDeepIn,xn.setIn=Ve.setIn,xn.update=Ve.update,xn.updateIn=Ve.updateIn,xn.withMutations=Ve.withMutations,xn.asMutable=Ve.asMutable,xn.asImmutable=Ve.asImmutable,t(Cn,Se),Cn.of=function(){return this(arguments)},Cn.fromKeys=function(e){return this(i(e).keySeq())},Cn.prototype.toString=function(){return this.__toString("Set {","}")},Cn.prototype.has=function(e){return this._map.has(e)},Cn.prototype.add=function(e){return Ln(this,this._map.set(e,!0))},Cn.prototype.remove=function(e){return Ln(this,this._map.remove(e))},Cn.prototype.clear=function(){return Ln(this,this._map.clear())},Cn.prototype.union=function(){var t=e.call(arguments,0);return t=t.filter((function(e){return 0!==e.size})),0===t.length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(e){for(var n=0;n<t.length;n++)a(t[n]).forEach((function(t){return e.add(t)}))})):this.constructor(t[0])},Cn.prototype.intersect=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return a(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.every((function(e){return e.includes(n)}))||e.remove(n)}))}))},Cn.prototype.subtract=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return a(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.some((function(e){return e.includes(n)}))&&e.remove(n)}))}))},Cn.prototype.merge=function(){return this.union.apply(this,arguments)},Cn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},Cn.prototype.sort=function(e){return Rn(dn(this,e))},Cn.prototype.sortBy=function(e,t){return Rn(dn(this,t,e))},Cn.prototype.wasAltered=function(){return this._map.wasAltered()},Cn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,i){return e(i,i,n)}),t)},Cn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Cn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):(this.__ownerID=e,this._map=t,this)},Cn.isSet=Tn;var Dn,An="@@__IMMUTABLE_SET__@@",In=Cn.prototype;function Ln(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._map?e:0===t.size?e.__empty():e.__make(t)}function zn(e,t){var n=Object.create(In);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function $n(){return Dn||(Dn=zn(rt()))}function Rn(e){return null==e?Un():Qn(e)?e:Un().withMutations((function(t){var n=a(e);qe(n.size),n.forEach((function(e){return t.add(e)}))}))}function Qn(e){return Tn(e)&&c(e)}In[An]=!0,In[m]=In.remove,In.mergeDeep=In.merge,In.mergeDeepWith=In.mergeWith,In.withMutations=Ve.withMutations,In.asMutable=Ve.asMutable,In.asImmutable=Ve.asImmutable,In.__empty=$n,In.__make=zn,t(Rn,Cn),Rn.of=function(){return this(arguments)},Rn.fromKeys=function(e){return this(i(e).keySeq())},Rn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Rn.isOrderedSet=Qn;var jn,Mn=Rn.prototype;function Nn(e,t){var n=Object.create(Mn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Un(){return jn||(jn=Nn(Gt()))}function qn(e){return null==e?Yn():Bn(e)?e:Yn().unshiftAll(e)}function Bn(e){return!(!e||!e[Wn])}Mn[f]=!0,Mn.__empty=Un,Mn.__make=Nn,t(qn,xe),qn.of=function(){return this(arguments)},qn.prototype.toString=function(){return this.__toString("Stack [","]")},qn.prototype.get=function(e,t){var n=this._head;for(e=E(this,e);n&&e--;)n=n.next;return n?n.value:t},qn.prototype.peek=function(){return this._head&&this._head.value},qn.prototype.push=function(){if(0===arguments.length)return this;for(var e=this.size+arguments.length,t=this._head,n=arguments.length-1;n>=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Vn(e,t)},qn.prototype.pushAll=function(e){if(0===(e=r(e)).size)return this;qe(e.size);var t=this.size,n=this._head;return e.reverse().forEach((function(e){t++,n={value:e,next:n}})),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Vn(t,n)},qn.prototype.pop=function(){return this.slice(1)},qn.prototype.unshift=function(){return this.push.apply(this,arguments)},qn.prototype.unshiftAll=function(e){return this.pushAll(e)},qn.prototype.shift=function(){return this.pop.apply(this,arguments)},qn.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Yn()},qn.prototype.slice=function(e,t){if(C(e,t,this.size))return this;var n=T(e,this.size);if(D(t,this.size)!==this.size)return xe.prototype.slice.call(this,e,t);for(var i=this.size-n,r=this._head;n--;)r=r.next;return this.__ownerID?(this.size=i,this._head=r,this.__hash=void 0,this.__altered=!0,this):Vn(i,r)},qn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Vn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},qn.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,i=this._head;i&&!1!==e(i.value,n++,this);)i=i.next;return n},qn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,i=this._head;return new j((function(){if(i){var t=i.value;return i=i.next,M(e,n++,t)}return N()}))},qn.isStack=Bn;var Gn,Wn="@@__IMMUTABLE_STACK__@@",Xn=qn.prototype;function Vn(e,t,n,i){var r=Object.create(Xn);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function Yn(){return Gn||(Gn=Vn(0))}function Zn(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}Xn[Wn]=!0,Xn.withMutations=Ve.withMutations,Xn.asMutable=Ve.asMutable,Xn.asImmutable=Ve.asImmutable,Xn.wasAltered=Ve.wasAltered,n.Iterator=j,Zn(n,{toArray:function(){qe(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Vt(this)},toJS:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJS?e.toJS():e})).__toJS()},toJSON:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e})).__toJS()},toKeyedSeq:function(){return new Xt(this,!0)},toMap:function(){return Be(this.toKeyedSeq())},toObject:function(){qe(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return Ut(this.toKeyedSeq())},toOrderedSet:function(){return Rn(s(this)?this.valueSeq():this)},toSet:function(){return Cn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Yt(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return qn(s(this)?this.valueSeq():this)},toList:function(){return xt(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return mn(this,sn(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return ve(t,e)}))},entries:function(){return this.__iterator(z)},every:function(e,t){qe(this.size);var n=!0;return this.__iterate((function(i,r,a){if(!e.call(t,i,r,a))return n=!1,!1})),n},filter:function(e,t){return mn(this,en(this,e,t,!0))},find:function(e,t,n){var i=this.findEntry(e,t);return i?i[1]:n},findEntry:function(e,t){var n;return this.__iterate((function(i,r,a){if(e.call(t,i,r,a))return n=[r,i],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return qe(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){qe(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(i){n?n=!1:t+=e,t+=null!=i?i.toString():""})),t},keys:function(){return this.__iterator(I)},map:function(e,t){return mn(this,Kt(this,e,t))},reduce:function(e,t,n){var i,r;return qe(this.size),arguments.length<2?r=!0:i=t,this.__iterate((function(t,a,o){r?(r=!1,i=t):i=e.call(n,i,t,a,o)})),i},reduceRight:function(e,t,n){var i=this.toKeyedSeq().reverse();return i.reduce.apply(i,arguments)},reverse:function(){return mn(this,Jt(this,!0))},slice:function(e,t){return mn(this,rn(this,e,t,!0))},some:function(e,t){return!this.every(ti(e),t)},sort:function(e){return mn(this,dn(this,e))},values:function(){return this.__iterator(L)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(e,t){return P(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return tn(this,e,t)},equals:function(e){return ye(this,e)},entrySeq:function(){var e=this;if(e._cache)return new te(e._cache);var t=e.toSeq().map(ei).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(ti(e),t)},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},first:function(){return this.find(F)},flatMap:function(e,t){return mn(this,un(this,e,t))},flatten:function(e){return mn(this,ln(this,e,!0))},fromEntrySeq:function(){return new Zt(this)},get:function(e,t){return this.find((function(t,n){return ve(n,e)}),void 0,t)},getIn:function(e,t){for(var n,i=this,r=wn(e);!(n=r.next()).done;){var a=n.value;if((i=i&&i.get?i.get(a,b):b)===b)return t}return i},groupBy:function(e,t){return nn(this,e,t)},has:function(e){return this.get(e,b)!==b},hasIn:function(e){return this.getIn(e,b)!==b},isSubset:function(e){return e="function"==typeof e.includes?e:n(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:n(e)).isSubset(this)},keySeq:function(){return this.toSeq().map(Jn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return hn(this,e)},maxBy:function(e,t){return hn(this,t,e)},min:function(e){return hn(this,e?ni(e):ai)},minBy:function(e,t){return hn(this,t?ni(t):ai,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return mn(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return mn(this,on(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(ti(e),t)},sortBy:function(e,t){return mn(this,dn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return mn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return mn(this,an(this,e,t))},takeUntil:function(e,t){return this.takeWhile(ti(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=oi(this))}});var Hn=n.prototype;Hn[d]=!0,Hn[Q]=Hn.values,Hn.__toJS=Hn.toArray,Hn.__toStringMapper=ii,Hn.inspect=Hn.toSource=function(){return this.toString()},Hn.chain=Hn.flatMap,Hn.contains=Hn.includes,function(){try{Object.defineProperty(Hn,"length",{get:function(){if(!n.noLengthWarning){var e;try{throw new Error}catch(t){e=t.stack}if(-1===e.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+e),this.size}}})}catch(e){}}(),Zn(i,{flip:function(){return mn(this,Ht(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey((function(t){return ve(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return ve(t,e)}))},mapEntries:function(e,t){var n=this,i=0;return mn(this,this.toSeq().map((function(r,a){return e.call(t,[a,r],i++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return mn(this,this.toSeq().flip().map((function(i,r){return e.call(t,i,r,n)})).flip())}});var Kn=i.prototype;function Jn(e,t){return t}function ei(e,t){return[t,e]}function ti(e){return function(){return!e.apply(this,arguments)}}function ni(e){return function(){return-e.apply(this,arguments)}}function ii(e){return"string"==typeof e?JSON.stringify(e):e}function ri(){return S(arguments)}function ai(e,t){return e<t?1:e>t?-1:0}function oi(e){if(e.size===1/0)return 0;var t=c(e),n=s(e),i=t?1:0,r=e.__iterate(n?t?function(e,t){i=31*i+li(Fe(e),Fe(t))|0}:function(e,t){i=i+li(Fe(e),Fe(t))|0}:t?function(e){i=31*i+Fe(e)|0}:function(e){i=i+Fe(e)|0});return si(r,i)}function si(e,t){return t=Pe(t,3432918353),t=Pe(t<<15|t>>>-15,461845907),t=Pe(t<<13|t>>>-13,5),t=Pe((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Ee((t=Pe(t^t>>>13,3266489909))^t>>>16)}function li(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Kn[h]=!0,Kn[Q]=Hn.entries,Kn.__toJS=Hn.toObject,Kn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+ii(e)},Zn(r,{toKeyedSeq:function(){return new Xt(this,!1)},filter:function(e,t){return mn(this,en(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.toKeyedSeq().keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.toKeyedSeq().reverse().keyOf(e);return void 0===t?-1:t},reverse:function(){return mn(this,Jt(this,!1))},slice:function(e,t){return mn(this,rn(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=T(e,e<0?this.count():this.size);var i=this.slice(0,e);return mn(this,1===n?i:i.concat(S(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.toKeyedSeq().findLastKey(e,t);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(e){return mn(this,ln(this,e,!1))},get:function(e,t){return(e=E(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,n){return n===e}),void 0,t)},has:function(e){return(e=E(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return mn(this,cn(this,e))},interleave:function(){var e=[this].concat(S(arguments)),t=fn(this.toSeq(),Y.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),mn(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return mn(this,on(this,e,t,!1))},zip:function(){return mn(this,fn(this,ri,[this].concat(S(arguments))))},zipWith:function(e){var t=S(arguments);return t[0]=this,mn(this,fn(this,e,t))}}),r.prototype[p]=!0,r.prototype[f]=!0,Zn(a,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),a.prototype.has=Hn.includes,Zn(V,i.prototype),Zn(Y,r.prototype),Zn(Z,a.prototype),Zn(ke,i.prototype),Zn(xe,r.prototype),Zn(Se,a.prototype),{Iterable:n,Seq:X,Collection:we,Map:Be,OrderedMap:Ut,List:xt,Stack:qn,Set:Cn,OrderedSet:Rn,Record:kn,Range:_e,Repeat:be,is:ve,fromJS:pe}}()}(xet);var Pet=function(e){var t=document.implementation.createHTMLDocument("");return t.documentElement.innerHTML=e,t};function Eet(e){var t;"undefined"!=typeof DOMParser?null!==(t=(new DOMParser).parseFromString(e,"text/html"))&&null!==t.body||(t=Pet(e)):t=Pet(e);return t.body}var Fet=" ",Cet=new RegExp("\r","g"),Tet=new RegExp("\n","g"),Det=new RegExp(" ","g"),Aet=new RegExp("\r","g"),Iet=["p","h1","h2","h3","h4","h5","h6","li","blockquote","pre"],Let={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},zet=function(e,t){return e&&!0===e.__isMiddleware?e(t):e},$et=function(e,t,n){},Ret=function(e,t,n){return n},Qet=function(e,t){},jet=function(e){return[]},Met=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")};function Net(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:xet.exports.Map();return!0===n?{text:"\r",inlines:[xet.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:i,depth:Math.max(0,Math.min(4,t))}],isNewline:!0}:{text:"\n",inlines:[xet.exports.OrderedSet()],entities:new Array(1),blocks:[]}}function Uet(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:xet.exports.Map();return{text:"\r",inlines:[xet.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:n,depth:Math.max(0,Math.min(4,t))}]}}function qet(e,t){switch(e){case"h1":return"header-one";case"h2":return"header-two";case"h3":return"header-three";case"h4":return"header-four";case"h5":return"header-five";case"h6":return"header-six";case"li":return"ol"===t?"ordered-list-item":"unordered-list-item";case"blockquote":return"blockquote";case"pre":return"code-block";case"div":case"p":return"unstyled";default:return null}}function Bet(e,t,n){return qet(e,n)}function Get(e,t,n){var i=Let[e];if(i)n=n.add(i).toOrderedSet();else if(t instanceof HTMLElement){var r=t;n=n.withMutations((function(e){"bold"===r.style.fontWeight&&e.add("BOLD"),"italic"===r.style.fontStyle&&e.add("ITALIC"),"underline"===r.style.textDecoration&&e.add("UNDERLINE"),"line-through"===r.style.textDecoration&&e.add("STRIKETHROUGH")})).toOrderedSet()}return n}function Wet(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:xet.exports.OrderedSet();return Get(e,t,n)}function Xet(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=t.text.slice(0,1),r=e.text.slice(-1),a="\r"===r&&"\r"===i,o="\r"!==e.text&&"\r"!==t.text,s="\r"===e.text&&!e.isNewline&&t.isNewline;if(a&&(o||s)&&(e.text=e.text.slice(0,-1),e.inlines.pop(),e.entities.pop(),e.blocks.pop()),"\r"===e.text.slice(-1)&&!0===n){if(t.text===Fet||"\n"===t.text)return e;i!==Fet&&"\n"!==i||(t.text=t.text.slice(1),t.inlines.shift(),t.entities.shift())}var l=0===e.text.length&&t.isNewline;return{text:e.text+t.text,inlines:e.inlines.concat(t.inlines),entities:e.entities.concat(t.entities),blocks:e.blocks.concat(t.blocks),isNewline:l}}function Vet(e,t,n,i,r,a,o,s,l,u,c,d,h,p,f,m){var g=e.nodeName.toLowerCase(),v=!1,y="unstyled";if("#text"===g){var b=e.textContent;if(""===b.trim()&&null===i)return{text:"",inlines:[],entities:[],blocks:[]};if(""===b.trim()&&"code-block"!==i)return function(e){var t=new Array(1);return e&&(t[0]=e),{text:Fet,inlines:[xet.exports.OrderedSet()],entities:t,blocks:[]}}(m);"code-block"!==i&&(b=b.replace(Tet,Fet));var O=Array(b.length).fill(m),_=0;return l(b,c,d,h,p).sort(V7e).forEach((function(e){var t=e.entity,n=e.offset,i=e.length,r=e.result,a=n+_;null==r&&(r=b.substr(a,i));var o=b.split("");o.splice.bind(o,a,i).apply(o,r.split("")),b=o.join(""),O.splice.bind(O,a,i).apply(O,Array(r.length).fill(t)),_+=r.length-i})),{text:b,inlines:Array(b.length).fill(t),entities:O,blocks:[]}}if("br"===g){var w=i;return null===w?Net("unstyled",a,!0):Net(w||"unstyled",a,f.flat)}var k={text:"",inlines:[],entities:[],blocks:[]};t=o(g,e,t=Get(g,e,t)),"ul"!==g&&"ol"!==g||(n&&(a+=1),n=g,i=null);var x,S,P=u(g,e,n,i);if(!1===P)return{text:"",inlines:[],entities:[],blocks:[]};if("string"==typeof(P=P||{})?(x=P,S=xet.exports.Map()):(x="string"==typeof P?P:P.type,S=P.data?xet.exports.Map(P.data):xet.exports.Map()),i||-1===r.indexOf(g)&&!x)if(!n||"ordered-list-item"!==i&&"unordered-list-item"!==i||"li"!==g)i&&"atomic"!==i&&"atomic"===x&&(i=x,v=!0,k=Net(x,a,!0,S));else{var E=qet(g,n);k=Uet(E,a),i=E,v=!0,y="ul"===n?"unordered-list-item":"ordered-list-item"}else k=Uet(x||qet(g,n),a,S),i=x||qet(g,n),v=!0;var F=e.firstChild;null!=F||!m||"atomic"!==x&&"atomic"!==i||(F=document.createTextNode("a")),null!=F&&(g=F.nodeName.toLowerCase());for(var C=null;F;){C=s(g,F,c,d,h,p),k=Xet(k,Vet(F,t,n,i,r,a,o,s,l,u,c,d,h,p,f,C||m),f.flat);var T=F.nextSibling;if(T&&r.indexOf(g)>=0&&i){var D=u(g,F,n,i),A=void 0,I=void 0;!1!==D&&("string"==typeof(D=D||{})?(A=D,I=xet.exports.Map()):(A=D.type||qet(g,n),I=D.data?xet.exports.Map(D.data):xet.exports.Map()),k=Xet(k,Net(A,a,f.flat,I),f.flat))}T&&(g=T.nodeName.toLowerCase()),F=T}return v&&(k=Xet(k,Uet(y,a,xet.exports.Map()),f.flat)),k}function Yet(e,t,n,i,r,a,o,s,l,u,c){var d=c(e=e.trim().replace(Cet,"").replace(Det,Fet));if(!d)return null;var h=function(e){return Iet.some((function(t){return-1!==e.indexOf("<".concat(t))}))}(e)?Iet.concat(["div"]):["div"],p=Vet(d,xet.exports.OrderedSet(),"ul",null,h,-1,t,n,i,r,a,o,s,l,u);return 0===p.text.indexOf("\r")&&(p={text:p.text.slice(1),inlines:p.inlines.slice(1),entities:p.entities.slice(1),blocks:p.blocks}),"\r"===p.text.slice(-1)&&(p.text=p.text.slice(0,-1),p.inlines=p.inlines.slice(0,-1),p.entities=p.entities.slice(0,-1),p.blocks.pop()),0===p.blocks.length&&p.blocks.push({type:"unstyled",data:xet.exports.Map(),depth:0}),p.text.split("\r").length===p.blocks.length+1&&p.blocks.unshift({type:"unstyled",data:xet.exports.Map(),depth:0}),p}function Zet(e,t,n,i,r,a,o,s,l,u,c,d){var h=Yet(e,t,n,i,r,a,o,s,l,u,c);if(null==h)return[];var p=0;return h.text.split("\r").map((function(e,t){e=e.replace(Aet,"");var n=p+e.length,i=Met(h).inlines.slice(p,n),r=Met(h).entities.slice(p,n),a=xet.exports.List(i.map((function(e,t){var n={style:e,entity:null};return r[t]&&(n.entity=r[t]),W7e.CharacterMetadata.create(n)})));return p=n+1,new W7e.ContentBlock({key:d(),type:Met(h).blocks[t].type,data:Met(h).blocks[t].data,depth:Met(h).blocks[t].depth,text:e,characterList:a})}))}var Het=function(e){var t=e.htmlToStyle,n=void 0===t?Ret:t,i=e.htmlToEntity,r=void 0===i?Qet:i,a=e.textToEntity,o=void 0===a?jet:a,s=e.htmlToBlock,l=void 0===s?$et:s;return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{flat:!1},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Eet,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:W7e.genKey,s=W7e.ContentState.createFromText(""),u=function(){var e;return s.createEntity?(s=(e=s).createEntity.apply(e,arguments)).getLastCreatedEntityKey():W7e.Entity.create.apply(W7e.Entity,arguments)},c=function(){var e;return s.getEntity?(e=s).getEntity.apply(e,arguments):W7e.Entity.get.apply(W7e.Entity,arguments)},d=function(){var e;s.mergeEntityData?s=(e=s).mergeEntityData.apply(e,arguments):W7e.Entity.mergeData.apply(W7e.Entity,arguments)},h=function(){var e;s.replaceEntityData?s=(e=s).replaceEntityData.apply(e,arguments):W7e.Entity.replaceData.apply(W7e.Entity,arguments)},p=Zet(e,zet(n,Wet),zet(r,Qet),zet(o,jet),zet(l,Bet),u,c,d,h,t,i,a),f=W7e.BlockMapBuilder.createFromArray(p),m=p[0].getKey();return s.merge({blockMap:f,selectionBefore:W7e.SelectionState.createEmpty(m),selectionAfter:W7e.SelectionState.createEmpty(m)})}},Ket=function(){return arguments.length>=1&&"string"==typeof(arguments.length<=0?void 0:arguments[0])?Het({}).apply(void 0,arguments):Het.apply(void 0,arguments)};mK('/**\n * Draft v0.11.6\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n.DraftEditor-editorContainer,.DraftEditor-root,.public-DraftEditor-content{height:inherit;text-align:initial}.public-DraftEditor-content[contenteditable=true]{-webkit-user-modify:read-write-plaintext-only}.DraftEditor-root{position:relative}.DraftEditor-editorContainer{background-color:rgba(255,255,255,0);border-left:.1px solid transparent;position:relative;z-index:1}.public-DraftEditor-block{position:relative}.DraftEditor-alignLeft .public-DraftStyleDefault-block{text-align:left}.DraftEditor-alignLeft .public-DraftEditorPlaceholder-root{left:0;text-align:left}.DraftEditor-alignCenter .public-DraftStyleDefault-block{text-align:center}.DraftEditor-alignCenter .public-DraftEditorPlaceholder-root{margin:0 auto;text-align:center;width:100%}.DraftEditor-alignRight .public-DraftStyleDefault-block{text-align:right}.DraftEditor-alignRight .public-DraftEditorPlaceholder-root{right:0;text-align:right}.public-DraftEditorPlaceholder-root{color:#9197a3;position:absolute;width:100%;z-index:1}.public-DraftEditorPlaceholder-hasFocus{color:#bdc1c9}.DraftEditorPlaceholder-hidden{display:none}.public-DraftStyleDefault-block{position:relative;white-space:pre-wrap}.public-DraftStyleDefault-ltr{direction:ltr;text-align:left}.public-DraftStyleDefault-rtl{direction:rtl;text-align:right}.public-DraftStyleDefault-listLTR{direction:ltr}.public-DraftStyleDefault-listRTL{direction:rtl}.public-DraftStyleDefault-ol,.public-DraftStyleDefault-ul{margin:16px 0;padding:0}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listLTR{margin-left:1.5em}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listRTL{margin-right:1.5em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listLTR{margin-left:3em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listRTL{margin-right:3em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listLTR{margin-left:4.5em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listRTL{margin-right:4.5em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listLTR{margin-left:6em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listRTL{margin-right:6em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listLTR{margin-left:7.5em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listRTL{margin-right:7.5em}.public-DraftStyleDefault-unorderedListItem{list-style-type:square;position:relative}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth0{list-style-type:disc}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth1{list-style-type:circle}.public-DraftStyleDefault-orderedListItem{list-style-type:none;position:relative}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listLTR:before{left:-36px;position:absolute;text-align:right;width:30px}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listRTL:before{position:absolute;right:-36px;text-align:left;width:30px}.public-DraftStyleDefault-orderedListItem:before{content:counter(ol0) ". ";counter-increment:ol0}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth1:before{content:counter(ol1,lower-alpha) ". ";counter-increment:ol1}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth2:before{content:counter(ol2,lower-roman) ". ";counter-increment:ol2}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth3:before{content:counter(ol3) ". ";counter-increment:ol3}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth4:before{content:counter(ol4,lower-alpha) ". ";counter-increment:ol4}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-reset{counter-reset:ol0}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-reset{counter-reset:ol1}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-reset{counter-reset:ol2}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-reset{counter-reset:ol3}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-reset{counter-reset:ol4}');var Jet=32,ett=31,ttt={};function ntt(e){e&&(e.value=!0)}function itt(){}function rtt(e){return void 0===e.size&&(e.size=e.__iterate(ott)),e.size}function att(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?rtt(e)+t:t}function ott(){return!0}function stt(e,t,n){return(0===e&&!dtt(e)||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function ltt(e,t){return ctt(e,t,0)}function utt(e,t){return ctt(e,t,t)}function ctt(e,t,n){return void 0===e?n:dtt(e)?t===1/0?t:0|Math.max(0,t+e):void 0===t||t===e?e:0|Math.min(t,e)}function dtt(e){return e<0||0===e&&1/e==-1/0}var htt="@@__IMMUTABLE_ITERABLE__@@";function ptt(e){return Boolean(e&&e[htt])}var ftt="@@__IMMUTABLE_KEYED__@@";function mtt(e){return Boolean(e&&e[ftt])}var gtt="@@__IMMUTABLE_INDEXED__@@";function vtt(e){return Boolean(e&&e[gtt])}function ytt(e){return mtt(e)||vtt(e)}var btt=function(e){return ptt(e)?e:Ntt(e)},Ott=function(e){function t(e){return mtt(e)?e:Utt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(btt),_tt=function(e){function t(e){return vtt(e)?e:qtt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(btt),wtt=function(e){function t(e){return ptt(e)&&!ytt(e)?e:Btt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(btt);btt.Keyed=Ott,btt.Indexed=_tt,btt.Set=wtt;var ktt="@@__IMMUTABLE_SEQ__@@";function xtt(e){return Boolean(e&&e[ktt])}function Stt(e){return Boolean(e&&e["@@__IMMUTABLE_RECORD__@@"])}function Ptt(e){return ptt(e)||Stt(e)}var Ett="@@__IMMUTABLE_ORDERED__@@";function Ftt(e){return Boolean(e&&e[Ett])}var Ctt="function"==typeof Symbol&&Symbol.iterator,Ttt="@@iterator",Dtt=Ctt||Ttt,Att=function(e){this.next=e};function Itt(e,t,n,i){var r=0===e?t:1===e?n:[t,n];return i?i.value=r:i={value:r,done:!1},i}function Ltt(){return{value:void 0,done:!0}}function ztt(e){return!!Qtt(e)}function $tt(e){return e&&"function"==typeof e.next}function Rtt(e){var t=Qtt(e);return t&&t.call(e)}function Qtt(e){var t=e&&(Ctt&&e[Ctt]||e["@@iterator"]);if("function"==typeof t)return t}Att.prototype.toString=function(){return"[Iterator]"},Att.KEYS=0,Att.VALUES=1,Att.ENTRIES=2,Att.prototype.inspect=Att.prototype.toSource=function(){return this.toString()},Att.prototype[Dtt]=function(){return this};var jtt=Object.prototype.hasOwnProperty;function Mtt(e){return!(!Array.isArray(e)&&"string"!=typeof e)||e&&"object"==typeof e&&Number.isInteger(e.length)&&e.length>=0&&(0===e.length?1===Object.keys(e).length:e.hasOwnProperty(e.length-1))}var Ntt=function(e){function t(e){return null==e?Ytt():Ptt(e)?e.toSeq():function(e){var t=Ktt(e);if(t)return t;if("object"==typeof e)return new Wtt(e);throw new TypeError("Expected Array or collection object of values, or keyed object: "+e)}(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toSeq=function(){return this},t.prototype.toString=function(){return this.__toString("Seq {","}")},t.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},t.prototype.__iterate=function(e,t){var n=this._cache;if(n){for(var i=n.length,r=0;r!==i;){var a=n[t?i-++r:r++];if(!1===e(a[1],a[0],this))break}return r}return this.__iterateUncached(e,t)},t.prototype.__iterator=function(e,t){var n=this._cache;if(n){var i=n.length,r=0;return new Att((function(){if(r===i)return{value:void 0,done:!0};var a=n[t?i-++r:r++];return Itt(e,a[0],a[1])}))}return this.__iteratorUncached(e,t)},t}(btt),Utt=function(e){function t(e){return null==e?Ytt().toKeyedSeq():ptt(e)?mtt(e)?e.toSeq():e.fromEntrySeq():Stt(e)?e.toSeq():Ztt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toKeyedSeq=function(){return this},t}(Ntt),qtt=function(e){function t(e){return null==e?Ytt():ptt(e)?mtt(e)?e.entrySeq():e.toIndexedSeq():Stt(e)?e.toSeq().entrySeq():Htt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return t(arguments)},t.prototype.toIndexedSeq=function(){return this},t.prototype.toString=function(){return this.__toString("Seq [","]")},t}(Ntt),Btt=function(e){function t(e){return(ptt(e)&&!ytt(e)?e:qtt(e)).toSetSeq()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return t(arguments)},t.prototype.toSetSeq=function(){return this},t}(Ntt);Ntt.isSeq=xtt,Ntt.Keyed=Utt,Ntt.Set=Btt,Ntt.Indexed=qtt,Ntt.prototype[ktt]=!0;var Gtt=function(e){function t(e){this._array=e,this.size=e.length}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.get=function(e,t){return this.has(e)?this._array[att(this,e)]:t},t.prototype.__iterate=function(e,t){for(var n=this._array,i=n.length,r=0;r!==i;){var a=t?i-++r:r++;if(!1===e(n[a],a,this))break}return r},t.prototype.__iterator=function(e,t){var n=this._array,i=n.length,r=0;return new Att((function(){if(r===i)return{value:void 0,done:!0};var a=t?i-++r:r++;return Itt(e,a,n[a])}))},t}(qtt),Wtt=function(e){function t(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},t.prototype.has=function(e){return jtt.call(this._object,e)},t.prototype.__iterate=function(e,t){for(var n=this._object,i=this._keys,r=i.length,a=0;a!==r;){var o=i[t?r-++a:a++];if(!1===e(n[o],o,this))break}return a},t.prototype.__iterator=function(e,t){var n=this._object,i=this._keys,r=i.length,a=0;return new Att((function(){if(a===r)return{value:void 0,done:!0};var o=i[t?r-++a:a++];return Itt(e,o,n[o])}))},t}(Utt);Wtt.prototype[Ett]=!0;var Xtt,Vtt=function(e){function t(e){this._collection=e,this.size=e.length||e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=Rtt(this._collection),i=0;if($tt(n))for(var r;!(r=n.next()).done&&!1!==e(r.value,i++,this););return i},t.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=Rtt(this._collection);if(!$tt(n))return new Att(Ltt);var i=0;return new Att((function(){var t=n.next();return t.done?t:Itt(e,i++,t.value)}))},t}(qtt);function Ytt(){return Xtt||(Xtt=new Gtt([]))}function Ztt(e){var t=Array.isArray(e)?new Gtt(e):ztt(e)?new Vtt(e):void 0;if(t)return t.fromEntrySeq();if("object"==typeof e)return new Wtt(e);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+e)}function Htt(e){var t=Ktt(e);if(t)return t;throw new TypeError("Expected Array or collection object of values: "+e)}function Ktt(e){return Mtt(e)?new Gtt(e):ztt(e)?new Vtt(e):void 0}var Jtt="@@__IMMUTABLE_MAP__@@";function ent(e){return Boolean(e&&e[Jtt])}function tnt(e){return ent(e)&&Ftt(e)}function nnt(e){return Boolean(e&&"function"==typeof e.equals&&"function"==typeof e.hashCode)}function int(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!!(nnt(e)&&nnt(t)&&e.equals(t))}var rnt="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),i=65535&(t|=0);return n*i+((e>>>16)*i+n*(t>>>16)<<16>>>0)|0};function ant(e){return e>>>1&1073741824|3221225471&e}var ont=Object.prototype.valueOf;function snt(e){switch(typeof e){case"boolean":return e?1108378657:1108378656;case"number":return function(e){if(e!=e||e===1/0)return 0;var t=0|e;t!==e&&(t^=4294967295*e);for(;e>4294967295;)t^=e/=4294967295;return ant(t)}(e);case"string":return e.length>mnt?function(e){var t=ynt[e];void 0===t&&(t=lnt(e),vnt===gnt&&(vnt=0,ynt={}),vnt++,ynt[e]=t);return t}(e):lnt(e);case"object":case"function":return null===e?1108378658:"function"==typeof e.hashCode?ant(e.hashCode(e)):(e.valueOf!==ont&&"function"==typeof e.valueOf&&(e=e.valueOf(e)),function(e){var t;if(hnt&&void 0!==(t=dnt.get(e)))return t;if(void 0!==(t=e[fnt]))return t;if(!cnt){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[fnt]))return t;if(t=function(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}(e),void 0!==t)return t}t=++pnt,1073741824&pnt&&(pnt=0);if(hnt)dnt.set(e,t);else{if(void 0!==unt&&!1===unt(e))throw new Error("Non-extensible objects are not allowed as keys.");if(cnt)Object.defineProperty(e,fnt,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[fnt]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[fnt]=t}}return t}(e));case"undefined":return 1108378659;default:if("function"==typeof e.toString)return lnt(e.toString());throw new Error("Value type "+typeof e+" cannot be hashed.")}}function lnt(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return ant(t)}var unt=Object.isExtensible,cnt=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();var dnt,hnt="function"==typeof WeakMap;hnt&&(dnt=new WeakMap);var pnt=0,fnt="__immutablehash__";"function"==typeof Symbol&&(fnt=Symbol(fnt));var mnt=16,gnt=255,vnt=0,ynt={},bnt=function(e){function t(e,t){this._iter=e,this._useKeys=t,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.get=function(e,t){return this._iter.get(e,t)},t.prototype.has=function(e){return this._iter.has(e)},t.prototype.valueSeq=function(){return this._iter.valueSeq()},t.prototype.reverse=function(){var e=this,t=Snt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},t.prototype.map=function(e,t){var n=this,i=xnt(this,e,t);return this._useKeys||(i.valueSeq=function(){return n._iter.toSeq().map(e,t)}),i},t.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t,i){return e(t,i,n)}),t)},t.prototype.__iterator=function(e,t){return this._iter.__iterator(e,t)},t}(Utt);bnt.prototype[Ett]=!0;var Ont=function(e){function t(e){this._iter=e,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.includes=function(e){return this._iter.includes(e)},t.prototype.__iterate=function(e,t){var n=this,i=0;return t&&rtt(this),this._iter.__iterate((function(r){return e(r,t?n.size-++i:i++,n)}),t)},t.prototype.__iterator=function(e,t){var n=this,i=this._iter.__iterator(1,t),r=0;return t&&rtt(this),new Att((function(){var a=i.next();return a.done?a:Itt(e,t?n.size-++r:r++,a.value,a)}))},t}(qtt),_nt=function(e){function t(e){this._iter=e,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.has=function(e){return this._iter.includes(e)},t.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},t.prototype.__iterator=function(e,t){var n=this._iter.__iterator(1,t);return new Att((function(){var t=n.next();return t.done?t:Itt(e,t.value,t.value,t)}))},t}(Btt),wnt=function(e){function t(e){this._iter=e,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.entrySeq=function(){return this._iter.toSeq()},t.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){$nt(t);var i=ptt(t);return e(i?t.get(1):t[1],i?t.get(0):t[0],n)}}),t)},t.prototype.__iterator=function(e,t){var n=this._iter.__iterator(1,t);return new Att((function(){for(;;){var t=n.next();if(t.done)return t;var i=t.value;if(i){$nt(i);var r=ptt(i);return Itt(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},t}(Utt);function knt(e){var t=Qnt(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=jnt,t.__iterateUncached=function(t,n){var i=this;return e.__iterate((function(e,n){return!1!==t(n,e,i)}),n)},t.__iteratorUncached=function(t,n){if(2===t){var i=e.__iterator(t,n);return new Att((function(){var e=i.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(1===t?0:1,n)},t}function xnt(e,t,n){var i=Qnt(e);return i.size=e.size,i.has=function(t){return e.has(t)},i.get=function(i,r){var a=e.get(i,ttt);return a===ttt?r:t.call(n,a,i,e)},i.__iterateUncached=function(i,r){var a=this;return e.__iterate((function(e,r,o){return!1!==i(t.call(n,e,r,o),r,a)}),r)},i.__iteratorUncached=function(i,r){var a=e.__iterator(2,r);return new Att((function(){var r=a.next();if(r.done)return r;var o=r.value,s=o[0];return Itt(i,s,t.call(n,o[1],s,e),r)}))},i}function Snt(e,t){var n=this,i=Qnt(e);return i._iter=e,i.size=e.size,i.reverse=function(){return e},e.flip&&(i.flip=function(){var t=knt(e);return t.reverse=function(){return e.flip()},t}),i.get=function(n,i){return e.get(t?n:-1-n,i)},i.has=function(n){return e.has(t?n:-1-n)},i.includes=function(t){return e.includes(t)},i.cacheResult=jnt,i.__iterate=function(n,i){var r=this,a=0;return i&&rtt(e),e.__iterate((function(e,o){return n(e,t?o:i?r.size-++a:a++,r)}),!i)},i.__iterator=function(i,r){var a=0;r&&rtt(e);var o=e.__iterator(2,!r);return new Att((function(){var e=o.next();if(e.done)return e;var s=e.value;return Itt(i,t?s[0]:r?n.size-++a:a++,s[1],e)}))},i}function Pnt(e,t,n,i){var r=Qnt(e);return i&&(r.has=function(i){var r=e.get(i,ttt);return r!==ttt&&!!t.call(n,r,i,e)},r.get=function(i,r){var a=e.get(i,ttt);return a!==ttt&&t.call(n,a,i,e)?a:r}),r.__iterateUncached=function(r,a){var o=this,s=0;return e.__iterate((function(e,a,l){if(t.call(n,e,a,l))return s++,r(e,i?a:s-1,o)}),a),s},r.__iteratorUncached=function(r,a){var o=e.__iterator(2,a),s=0;return new Att((function(){for(;;){var a=o.next();if(a.done)return a;var l=a.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return Itt(r,i?u:s++,c,a)}}))},r}function Ent(e,t,n,i){var r=e.size;if(stt(t,n,r))return e;var a=ltt(t,r),o=utt(n,r);if(a!=a||o!=o)return Ent(e.toSeq().cacheResult(),t,n,i);var s,l=o-a;l==l&&(s=l<0?0:l);var u=Qnt(e);return u.size=0===s?s:e.size&&s||void 0,!i&&xtt(e)&&s>=0&&(u.get=function(t,n){return(t=att(this,t))>=0&&t<s?e.get(t+a,n):n}),u.__iterateUncached=function(t,n){var r=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var o=0,l=!0,u=0;return e.__iterate((function(e,n){if(!l||!(l=o++<a))return u++,!1!==t(e,i?n:u-1,r)&&u!==s})),u},u.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);if(0===s)return new Att(Ltt);var r=e.__iterator(t,n),o=0,l=0;return new Att((function(){for(;o++<a;)r.next();if(++l>s)return{value:void 0,done:!0};var e=r.next();return i||1===t||e.done?e:Itt(t,l-1,0===t?void 0:e.value[1],e)}))},u}function Fnt(e,t,n,i){var r=Qnt(e);return r.__iterateUncached=function(r,a){var o=this;if(a)return this.cacheResult().__iterate(r,a);var s=!0,l=0;return e.__iterate((function(e,a,u){if(!s||!(s=t.call(n,e,a,u)))return l++,r(e,i?a:l-1,o)})),l},r.__iteratorUncached=function(r,a){var o=this;if(a)return this.cacheResult().__iterator(r,a);var s=e.__iterator(2,a),l=!0,u=0;return new Att((function(){var e,a,c;do{if((e=s.next()).done)return i||1===r?e:Itt(r,u++,0===r?void 0:e.value[1],e);var d=e.value;a=d[0],c=d[1],l&&(l=t.call(n,c,a,o))}while(l);return 2===r?e:Itt(r,a,c,e)}))},r}function Cnt(e,t){var n=mtt(e),i=[e].concat(t).map((function(e){return ptt(e)?n&&(e=Ott(e)):e=n?Ztt(e):Htt(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===i.length)return e;if(1===i.length){var r=i[0];if(r===e||n&&mtt(r)||vtt(e)&&vtt(r))return r}var a=new Gtt(i);return n?a=a.toKeyedSeq():vtt(e)||(a=a.toSetSeq()),(a=a.flatten(!0)).size=i.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),a}function Tnt(e,t,n){var i=Qnt(e);return i.__iterateUncached=function(r,a){if(a)return this.cacheResult().__iterate(r,a);var o=0,s=!1;return function e(l,u){l.__iterate((function(a,l){return(!t||u<t)&&ptt(a)?e(a,u+1):(o++,!1===r(a,n?l:o-1,i)&&(s=!0)),!s}),a)}(e,0),o},i.__iteratorUncached=function(i,r){if(r)return this.cacheResult().__iterator(i,r);var a=e.__iterator(i,r),o=[],s=0;return new Att((function(){for(;a;){var e=a.next();if(!1===e.done){var l=e.value;if(2===i&&(l=l[1]),t&&!(o.length<t)||!ptt(l))return n?e:Itt(i,s++,l,e);o.push(a),a=l.__iterator(i,r)}else a=o.pop()}return{value:void 0,done:!0}}))},i}function Dnt(e,t,n){t||(t=Mnt);var i=mtt(e),r=0,a=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).valueSeq().toArray();return a.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){a[t].length=2}:function(e,t){a[t]=e[1]}),i?Utt(a):vtt(e)?qtt(a):Btt(a)}function Ant(e,t,n){if(t||(t=Mnt),n){var i=e.toSeq().map((function(t,i){return[t,n(t,i,e)]})).reduce((function(e,n){return Int(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return Int(t,e,n)?n:e}))}function Int(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function Lnt(e,t,n,i){var r=Qnt(e),a=new Gtt(n).map((function(e){return e.size}));return r.size=i?a.max():a.min(),r.__iterate=function(e,t){for(var n,i=this.__iterator(1,t),r=0;!(n=i.next()).done&&!1!==e(n.value,r++,this););return r},r.__iteratorUncached=function(e,r){var a=n.map((function(e){return e=btt(e),Rtt(r?e.reverse():e)})),o=0,s=!1;return new Att((function(){var n;return s||(n=a.map((function(e){return e.next()})),s=i?n.every((function(e){return e.done})):n.some((function(e){return e.done}))),s?{value:void 0,done:!0}:Itt(e,o++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function znt(e,t){return e===t?e:xtt(e)?t:e.constructor(t)}function $nt(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function Rnt(e){return mtt(e)?Ott:vtt(e)?_tt:wtt}function Qnt(e){return Object.create((mtt(e)?Utt:vtt(e)?qtt:Btt).prototype)}function jnt(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):Ntt.prototype.cacheResult.call(this)}function Mnt(e,t){return void 0===e&&void 0===t?0:void 0===e?1:void 0===t?-1:e>t?1:e<t?-1:0}function Nnt(e,t){t=t||0;for(var n=Math.max(0,e.length-t),i=new Array(n),r=0;r<n;r++)i[r]=e[r+t];return i}function Unt(e,t){if(!e)throw new Error(t)}function qnt(e){Unt(e!==1/0,"Cannot perform this action with an infinite size.")}function Bnt(e){if(Mtt(e)&&"string"!=typeof e)return e;if(Ftt(e))return e.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+e)}function Gnt(e){return"object"==typeof e&&(Ptt(e)||Array.isArray(e)||function(e){return e&&("function"!=typeof e.constructor||"Object"===e.constructor.name)}(e))}function Wnt(e){try{return"string"==typeof e?JSON.stringify(e):String(e)}catch(t){return JSON.stringify(e)}}function Xnt(e,t,n){return Ptt(e)?e.get(t,n):function(e,t){return Ptt(e)?e.has(t):Gnt(e)&&jtt.call(e,t)}(e,t)?"function"==typeof e.get?e.get(t):e[t]:n}function Vnt(e){if(Array.isArray(e))return Nnt(e);var t={};for(var n in e)jtt.call(e,n)&&(t[n]=e[n]);return t}function Ynt(e,t,n,i){i||(i=n,n=void 0);var r=Znt(Ptt(e),e,Bnt(t),0,n,i);return r===ttt?n:r}function Znt(e,t,n,i,r,a){var o=t===ttt;if(i===n.length){var s=o?r:t,l=a(s);return l===s?t:l}if(!o&&!Gnt(t))throw new TypeError("Cannot update within non-data-structure value in path ["+n.slice(0,i).map(Wnt)+"]: "+t);var u=n[i],c=o?ttt:Xnt(t,u,ttt),d=Znt(c===ttt?e:Ptt(c),c,n,i+1,r,a);return d===c?t:d===ttt?function(e,t){if(!Gnt(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(Ptt(e)){if(!e.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+e);return e.remove(t)}if(!jtt.call(e,t))return e;var n=Vnt(e);return Array.isArray(n)?n.splice(t,1):delete n[t],n}(t,u):function(e,t,n){if(!Gnt(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(Ptt(e)){if(!e.set)throw new TypeError("Cannot update immutable value without .set() method: "+e);return e.set(t,n)}if(jtt.call(e,t)&&n===e[t])return e;var i=Vnt(e);return i[t]=n,i}(o?e?kit():{}:t,u,d)}function Hnt(e,t){return function(e,t,n){return Ynt(e,t,ttt,(function(){return n}))}(this,e,t)}function Knt(e){return function(e,t){return Ynt(e,t,(function(){return ttt}))}(this,e)}function Jnt(e,t,n,i){return Ynt(e,[t],n,i)}function eit(e,t,n){return 1===arguments.length?e(this):Jnt(this,e,t,n)}function tit(e,t,n){return Ynt(this,e,t,n)}function nit(e,t,n){for(var i=[],r=0;r<t.length;r++){var a=Ott(t[r]);0!==a.size&&i.push(a)}return 0===i.length?e:0!==e.toSeq().size||e.__ownerID||1!==i.length?e.withMutations((function(e){for(var t=n?function(t,i){Jnt(e,i,ttt,(function(e){return e===ttt?t:n(e,t,i)}))}:function(t,n){e.set(n,t)},r=0;r<i.length;r++)i[r].forEach(t)})):e.constructor(i[0])}function iit(e,t,n){return rit(e,t,function(e){function t(n,i,r){return Gnt(n)&&Gnt(i)?rit(n,[i],t):e?e(n,i,r):i}return t}(n))}function rit(e,t,n){if(!Gnt(e))throw new TypeError("Cannot merge into non-data-structure value: "+e);if(Ptt(e))return"function"==typeof n&&e.mergeWith?e.mergeWith.apply(e,[n].concat(t)):e.merge?e.merge.apply(e,t):e.concat.apply(e,t);for(var i=Array.isArray(e),r=e,a=i?_tt:Ott,o=i?function(t){r===e&&(r=Vnt(r)),r.push(t)}:function(t,i){var a=jtt.call(r,i),o=a&&n?n(r[i],t,i):t;a&&o===r[i]||(r===e&&(r=Vnt(r)),r[i]=o)},s=0;s<t.length;s++)a(t[s]).forEach(o);return r}function ait(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return Ynt(this,e,kit(),(function(e){return rit(e,t)}))}function oit(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return Ynt(this,e,kit(),(function(e){return iit(e,t)}))}function sit(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this}function lit(){return this.__ownerID?this:this.__ensureOwner(new itt)}function uit(){return this.__ensureOwner()}function cit(){return this.__altered}Ont.prototype.cacheResult=bnt.prototype.cacheResult=_nt.prototype.cacheResult=wnt.prototype.cacheResult=jnt;var dit=function(e){function t(t){return null==t?kit():ent(t)&&!Ftt(t)?t:kit().withMutations((function(n){var i=e(t);qnt(i.size),i.forEach((function(e,t){return n.set(t,e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return kit().withMutations((function(t){for(var n=0;n<e.length;n+=2){if(n+1>=e.length)throw new Error("Missing value for key: "+e[n]);t.set(e[n],e[n+1])}}))},t.prototype.toString=function(){return this.__toString("Map {","}")},t.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},t.prototype.set=function(e,t){return xit(this,e,t)},t.prototype.remove=function(e){return xit(this,e,ttt)},t.prototype.deleteAll=function(e){var t=btt(e);return 0===t.size?this:this.withMutations((function(e){t.forEach((function(t){return e.remove(t)}))}))},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):kit()},t.prototype.sort=function(e){return Yit(Dnt(this,e))},t.prototype.sortBy=function(e,t){return Yit(Dnt(this,t,e))},t.prototype.map=function(e,t){return this.withMutations((function(n){n.forEach((function(i,r){n.set(r,e.call(t,i,r,n))}))}))},t.prototype.__iterator=function(e,t){return new bit(this,e,t)},t.prototype.__iterate=function(e,t){var n=this,i=0;return this._root&&this._root.iterate((function(t){return i++,e(t[1],t[0],n)}),t),i},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?wit(this.size,this._root,e,this.__hash):0===this.size?kit():(this.__ownerID=e,this.__altered=!1,this)},t}(Ott);dit.isMap=ent;var hit=dit.prototype;hit[Jtt]=!0,hit.delete=hit.remove,hit.removeAll=hit.deleteAll,hit.setIn=Hnt,hit.removeIn=hit.deleteIn=Knt,hit.update=eit,hit.updateIn=tit,hit.merge=hit.concat=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return nit(this,e)},hit.mergeWith=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if("function"!=typeof e)throw new TypeError("Invalid merger function: "+e);return nit(this,t,e)},hit.mergeDeep=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return iit(this,e)},hit.mergeDeepWith=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return iit(this,t,e)},hit.mergeIn=ait,hit.mergeDeepIn=oit,hit.withMutations=sit,hit.wasAltered=cit,hit.asImmutable=uit,hit["@@transducer/init"]=hit.asMutable=lit,hit["@@transducer/step"]=function(e,t){return e.set(t[0],t[1])},hit["@@transducer/result"]=function(e){return e.asImmutable()};var pit=function(e,t){this.ownerID=e,this.entries=t};pit.prototype.get=function(e,t,n,i){for(var r=this.entries,a=0,o=r.length;a<o;a++)if(int(n,r[a][0]))return r[a][1];return i},pit.prototype.update=function(e,t,n,i,r,a,o){for(var s=r===ttt,l=this.entries,u=0,c=l.length;u<c&&!int(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(ntt(o),(s||!d)&&ntt(a),!s||1!==l.length){if(!d&&!s&&l.length>=Tit)return function(e,t,n,i){e||(e=new itt);for(var r=new vit(e,snt(n),[n,i]),a=0;a<t.length;a++){var o=t[a];r=r.update(e,0,void 0,o[0],o[1])}return r}(e,l,i,r);var h=e&&e===this.ownerID,p=h?l:Nnt(l);return d?s?u===c-1?p.pop():p[u]=p.pop():p[u]=[i,r]:p.push([i,r]),h?(this.entries=p,this):new pit(e,p)}};var fit=function(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n};fit.prototype.get=function(e,t,n,i){void 0===t&&(t=snt(n));var r=1<<((0===e?t:t>>>e)&ett),a=this.bitmap;return 0==(a&r)?i:this.nodes[Fit(a&r-1)].get(e+5,t,n,i)},fit.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=snt(i));var s=(0===t?n:n>>>t)&ett,l=1<<s,u=this.bitmap,c=0!=(u&l);if(!c&&r===ttt)return this;var d=Fit(u&l-1),h=this.nodes,p=c?h[d]:void 0,f=Sit(p,e,t+5,n,i,r,a,o);if(f===p)return this;if(!c&&f&&h.length>=Dit)return function(e,t,n,i,r){for(var a=0,o=new Array(Jet),s=0;0!==n;s++,n>>>=1)o[s]=1&n?t[a++]:void 0;return o[i]=r,new mit(e,a+1,o)}(e,h,u,s,f);if(c&&!f&&2===h.length&&Pit(h[1^d]))return h[1^d];if(c&&f&&1===h.length&&Pit(f))return f;var m=e&&e===this.ownerID,g=c?f?u:u^l:u|l,v=c?f?Cit(h,d,f,m):function(e,t,n){var i=e.length-1;if(n&&t===i)return e.pop(),e;for(var r=new Array(i),a=0,o=0;o<i;o++)o===t&&(a=1),r[o]=e[o+a];return r}(h,d,m):function(e,t,n,i){var r=e.length+1;if(i&&t+1===r)return e[t]=n,e;for(var a=new Array(r),o=0,s=0;s<r;s++)s===t?(a[s]=n,o=-1):a[s]=e[s+o];return a}(h,d,f,m);return m?(this.bitmap=g,this.nodes=v,this):new fit(e,g,v)};var mit=function(e,t,n){this.ownerID=e,this.count=t,this.nodes=n};mit.prototype.get=function(e,t,n,i){void 0===t&&(t=snt(n));var r=(0===e?t:t>>>e)&ett,a=this.nodes[r];return a?a.get(e+5,t,n,i):i},mit.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=snt(i));var s=(0===t?n:n>>>t)&ett,l=r===ttt,u=this.nodes,c=u[s];if(l&&!c)return this;var d=Sit(c,e,t+5,n,i,r,a,o);if(d===c)return this;var h=this.count;if(c){if(!d&&--h<Ait)return function(e,t,n,i){for(var r=0,a=0,o=new Array(n),s=0,l=1,u=t.length;s<u;s++,l<<=1){var c=t[s];void 0!==c&&s!==i&&(r|=l,o[a++]=c)}return new fit(e,r,o)}(e,u,h,s)}else h++;var p=e&&e===this.ownerID,f=Cit(u,s,d,p);return p?(this.count=h,this.nodes=f,this):new mit(e,h,f)};var git=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n};git.prototype.get=function(e,t,n,i){for(var r=this.entries,a=0,o=r.length;a<o;a++)if(int(n,r[a][0]))return r[a][1];return i},git.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=snt(i));var s=r===ttt;if(n!==this.keyHash)return s?this:(ntt(o),ntt(a),Eit(this,e,t,n,[i,r]));for(var l=this.entries,u=0,c=l.length;u<c&&!int(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(ntt(o),(s||!d)&&ntt(a),s&&2===c)return new vit(e,this.keyHash,l[1^u]);var h=e&&e===this.ownerID,p=h?l:Nnt(l);return d?s?u===c-1?p.pop():p[u]=p.pop():p[u]=[i,r]:p.push([i,r]),h?(this.entries=p,this):new git(e,this.keyHash,p)};var vit=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n};vit.prototype.get=function(e,t,n,i){return int(n,this.entry[0])?this.entry[1]:i},vit.prototype.update=function(e,t,n,i,r,a,o){var s=r===ttt,l=int(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(ntt(o),s?void ntt(a):l?e&&e===this.ownerID?(this.entry[1]=r,this):new vit(e,this.keyHash,[i,r]):(ntt(a),Eit(this,e,t,snt(i),[i,r])))},pit.prototype.iterate=git.prototype.iterate=function(e,t){for(var n=this.entries,i=0,r=n.length-1;i<=r;i++)if(!1===e(n[t?r-i:i]))return!1},fit.prototype.iterate=mit.prototype.iterate=function(e,t){for(var n=this.nodes,i=0,r=n.length-1;i<=r;i++){var a=n[t?r-i:i];if(a&&!1===a.iterate(e,t))return!1}},vit.prototype.iterate=function(e,t){return e(this.entry)};var yit,bit=function(e){function t(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&_it(e._root)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var n=t.node,i=t.index++,r=void 0;if(n.entry){if(0===i)return Oit(e,n.entry)}else if(n.entries){if(i<=(r=n.entries.length-1))return Oit(e,n.entries[this._reverse?r-i:i])}else if(i<=(r=n.nodes.length-1)){var a=n.nodes[this._reverse?r-i:i];if(a){if(a.entry)return Oit(e,a.entry);t=this._stack=_it(a,t)}continue}t=this._stack=this._stack.__prev}return{value:void 0,done:!0}},t}(Att);function Oit(e,t){return Itt(e,t[0],t[1])}function _it(e,t){return{node:e,index:0,__prev:t}}function wit(e,t,n,i){var r=Object.create(hit);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function kit(){return yit||(yit=wit(0))}function xit(e,t,n){var i,r;if(e._root){var a={value:!1},o={value:!1};if(i=Sit(e._root,e.__ownerID,0,void 0,t,n,a,o),!o.value)return e;r=e.size+(a.value?n===ttt?-1:1:0)}else{if(n===ttt)return e;r=1,i=new pit(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=r,e._root=i,e.__hash=void 0,e.__altered=!0,e):i?wit(r,i):kit()}function Sit(e,t,n,i,r,a,o,s){return e?e.update(t,n,i,r,a,o,s):a===ttt?e:(ntt(s),ntt(o),new vit(t,i,[r,a]))}function Pit(e){return e.constructor===vit||e.constructor===git}function Eit(e,t,n,i,r){if(e.keyHash===i)return new git(t,i,[e.entry,r]);var a,o=(0===n?e.keyHash:e.keyHash>>>n)&ett,s=(0===n?i:i>>>n)&ett,l=o===s?[Eit(e,t,n+5,i,r)]:(a=new vit(t,i,r),o<s?[e,a]:[a,e]);return new fit(t,1<<o|1<<s,l)}function Fit(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function Cit(e,t,n,i){var r=i?e:Nnt(e);return r[t]=n,r}var Tit=8,Dit=16,Ait=8,Iit="@@__IMMUTABLE_LIST__@@";function Lit(e){return Boolean(e&&e[Iit])}var zit=function(e){function t(t){var n=Uit();if(null==t)return n;if(Lit(t))return t;var i=e(t),r=i.size;return 0===r?n:(qnt(r),r>0&&r<Jet?Nit(0,r,5,null,new Rit(i.toArray())):n.withMutations((function(e){e.setSize(r),i.forEach((function(t,n){return e.set(n,t)}))})))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.prototype.toString=function(){return this.__toString("List [","]")},t.prototype.get=function(e,t){if((e=att(this,e))>=0&&e<this.size){var n=Git(this,e+=this._origin);return n&&n.array[e&ett]}return t},t.prototype.set=function(e,t){return function(e,t,n){if((t=att(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?Wit(e,t).set(0,n):Wit(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,a={value:!1};t>=Xit(e._capacity)?i=qit(i,e.__ownerID,0,t,n,a):r=qit(r,e.__ownerID,e._level,t,n,a);if(!a.value)return e;if(e.__ownerID)return e._root=r,e._tail=i,e.__hash=void 0,e.__altered=!0,e;return Nit(e._origin,e._capacity,e._level,r,i)}(this,e,t)},t.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},t.prototype.insert=function(e,t){return this.splice(e,0,t)},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=5,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Uit()},t.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){Wit(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},t.prototype.pop=function(){return Wit(this,0,-1)},t.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){Wit(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},t.prototype.shift=function(){return Wit(this,1)},t.prototype.concat=function(){for(var t=arguments,n=[],i=0;i<arguments.length;i++){var r=t[i],a=e("string"!=typeof r&&ztt(r)?r:[r]);0!==a.size&&n.push(a)}return 0===n.length?this:0!==this.size||this.__ownerID||1!==n.length?this.withMutations((function(e){n.forEach((function(t){return t.forEach((function(t){return e.push(t)}))}))})):this.constructor(n[0])},t.prototype.setSize=function(e){return Wit(this,0,e)},t.prototype.map=function(e,t){var n=this;return this.withMutations((function(i){for(var r=0;r<n.size;r++)i.set(r,e.call(t,i.get(r),r,i))}))},t.prototype.slice=function(e,t){var n=this.size;return stt(e,t,n)?this:Wit(this,ltt(e,n),utt(t,n))},t.prototype.__iterator=function(e,t){var n=t?this.size:0,i=Mit(this,t);return new Att((function(){var r=i();return r===jit?{value:void 0,done:!0}:Itt(e,t?--n:n++,r)}))},t.prototype.__iterate=function(e,t){for(var n,i=t?this.size:0,r=Mit(this,t);(n=r())!==jit&&!1!==e(n,t?--i:i++,this););return i},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Nit(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):0===this.size?Uit():(this.__ownerID=e,this.__altered=!1,this)},t}(_tt);zit.isList=Lit;var $it=zit.prototype;$it[Iit]=!0,$it.delete=$it.remove,$it.merge=$it.concat,$it.setIn=Hnt,$it.deleteIn=$it.removeIn=Knt,$it.update=eit,$it.updateIn=tit,$it.mergeIn=ait,$it.mergeDeepIn=oit,$it.withMutations=sit,$it.wasAltered=cit,$it.asImmutable=uit,$it["@@transducer/init"]=$it.asMutable=lit,$it["@@transducer/step"]=function(e,t){return e.push(t)},$it["@@transducer/result"]=function(e){return e.asImmutable()};var Rit=function(e,t){this.array=e,this.ownerID=t};Rit.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var i=n>>>t&ett;if(i>=this.array.length)return new Rit([],e);var r,a=0===i;if(t>0){var o=this.array[i];if((r=o&&o.removeBefore(e,t-5,n))===o&&a)return this}if(a&&!r)return this;var s=Bit(this,e);if(!a)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},Rit.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var i,r=n-1>>>t&ett;if(r>=this.array.length)return this;if(t>0){var a=this.array[r];if((i=a&&a.removeAfter(e,t-5,n))===a&&r===this.array.length-1)return this}var o=Bit(this,e);return o.array.splice(r+1),i&&(o.array[r]=i),o};var Qit,jit={};function Mit(e,t){var n=e._origin,i=e._capacity,r=Xit(i),a=e._tail;return o(e._root,e._level,0);function o(e,s,l){return 0===s?function(e,o){var s=o===r?a&&a.array:e&&e.array,l=o>n?0:n-o,u=i-o;u>Jet&&(u=Jet);return function(){if(l===u)return jit;var e=t?--u:l++;return s&&s[e]}}(e,l):function(e,r,a){var s,l=e&&e.array,u=a>n?0:n-a>>r,c=1+(i-a>>r);c>Jet&&(c=Jet);return function(){for(;;){if(s){var e=s();if(e!==jit)return e;s=null}if(u===c)return jit;var n=t?--c:u++;s=o(l&&l[n],r-5,a+(n<<r))}}}(e,s,l)}}function Nit(e,t,n,i,r,a,o){var s=Object.create($it);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=i,s._tail=r,s.__ownerID=a,s.__hash=o,s.__altered=!1,s}function Uit(){return Qit||(Qit=Nit(0,0,5))}function qit(e,t,n,i,r,a){var o,s=i>>>n&ett,l=e&&s<e.array.length;if(!l&&void 0===r)return e;if(n>0){var u=e&&e.array[s],c=qit(u,t,n-5,i,r,a);return c===u?e:((o=Bit(e,t)).array[s]=c,o)}return l&&e.array[s]===r?e:(a&&ntt(a),o=Bit(e,t),void 0===r&&s===o.array.length-1?o.array.pop():o.array[s]=r,o)}function Bit(e,t){return t&&e&&t===e.ownerID?e:new Rit(e?e.array.slice():[],t)}function Git(e,t){if(t>=Xit(e._capacity))return e._tail;if(t<1<<e._level+5){for(var n=e._root,i=e._level;n&&i>0;)n=n.array[t>>>i&ett],i-=5;return n}}function Wit(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new itt,r=e._origin,a=e._capacity,o=r+t,s=void 0===n?a:n<0?a+n:r+n;if(o===r&&s===a)return e;if(o>=s)return e.clear();for(var l=e._level,u=e._root,c=0;o+c<0;)u=new Rit(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=5);c&&(o+=c,r+=c,s+=c,a+=c);for(var d=Xit(a),h=Xit(s);h>=1<<l+5;)u=new Rit(u&&u.array.length?[u]:[],i),l+=5;var p=e._tail,f=h<d?Git(e,s-1):h>d?new Rit([],i):p;if(p&&h>d&&o<a&&p.array.length){for(var m=u=Bit(u,i),g=l;g>5;g-=5){var v=d>>>g&ett;m=m.array[v]=Bit(m.array[v],i)}m.array[d>>>5&ett]=p}if(s<a&&(f=f&&f.removeAfter(i,0,s)),o>=h)o-=h,s-=h,l=5,u=null,f=f&&f.removeBefore(i,0,o);else if(o>r||h<d){for(c=0;u;){var y=o>>>l&ett;if(y!==h>>>l&ett)break;y&&(c+=(1<<l)*y),l-=5,u=u.array[y]}u&&o>r&&(u=u.removeBefore(i,l,o-c)),u&&h<d&&(u=u.removeAfter(i,l,h-c)),c&&(o-=c,s-=c)}return e.__ownerID?(e.size=s-o,e._origin=o,e._capacity=s,e._level=l,e._root=u,e._tail=f,e.__hash=void 0,e.__altered=!0,e):Nit(o,s,l,u,f)}function Xit(e){return e<Jet?0:e-1>>>5<<5}var Vit,Yit=function(e){function t(e){return null==e?Hit():tnt(e)?e:Hit().withMutations((function(t){var n=Ott(e);qnt(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.prototype.toString=function(){return this.__toString("OrderedMap {","}")},t.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Hit()},t.prototype.set=function(e,t){return Kit(this,e,t)},t.prototype.remove=function(e){return Kit(this,e,ttt)},t.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},t.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},t.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},t.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?Zit(t,n,e,this.__hash):0===this.size?Hit():(this.__ownerID=e,this._map=t,this._list=n,this)},t}(dit);function Zit(e,t,n,i){var r=Object.create(Yit.prototype);return r.size=e?e.size:0,r._map=e,r._list=t,r.__ownerID=n,r.__hash=i,r}function Hit(){return Vit||(Vit=Zit(kit(),Uit()))}function Kit(e,t,n){var i,r,a=e._map,o=e._list,s=a.get(t),l=void 0!==s;if(n===ttt){if(!l)return e;o.size>=Jet&&o.size>=2*a.size?(r=o.filter((function(e,t){return void 0!==e&&s!==t})),i=r.toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(i.__ownerID=r.__ownerID=e.__ownerID)):(i=a.remove(t),r=s===o.size-1?o.pop():o.set(s,void 0))}else if(l){if(n===o.get(s)[1])return e;i=a,r=o.set(s,[t,n])}else i=a.set(t,o.size),r=o.set(o.size,[t,n]);return e.__ownerID?(e.size=i.size,e._map=i,e._list=r,e.__hash=void 0,e):Zit(i,r)}Yit.isOrderedMap=tnt,Yit.prototype[Ett]=!0,Yit.prototype.delete=Yit.prototype.remove;var Jit="@@__IMMUTABLE_STACK__@@";function ert(e){return Boolean(e&&e[Jit])}var trt=function(e){function t(e){return null==e?art():ert(e)?e:art().pushAll(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.prototype.toString=function(){return this.__toString("Stack [","]")},t.prototype.get=function(e,t){var n=this._head;for(e=att(this,e);n&&e--;)n=n.next;return n?n.value:t},t.prototype.peek=function(){return this._head&&this._head.value},t.prototype.push=function(){var e=arguments;if(0===arguments.length)return this;for(var t=this.size+arguments.length,n=this._head,i=arguments.length-1;i>=0;i--)n={value:e[i],next:n};return this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):rrt(t,n)},t.prototype.pushAll=function(t){if(0===(t=e(t)).size)return this;if(0===this.size&&ert(t))return t;qnt(t.size);var n=this.size,i=this._head;return t.__iterate((function(e){n++,i={value:e,next:i}}),!0),this.__ownerID?(this.size=n,this._head=i,this.__hash=void 0,this.__altered=!0,this):rrt(n,i)},t.prototype.pop=function(){return this.slice(1)},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):art()},t.prototype.slice=function(t,n){if(stt(t,n,this.size))return this;var i=ltt(t,this.size);if(utt(n,this.size)!==this.size)return e.prototype.slice.call(this,t,n);for(var r=this.size-i,a=this._head;i--;)a=a.next;return this.__ownerID?(this.size=r,this._head=a,this.__hash=void 0,this.__altered=!0,this):rrt(r,a)},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?rrt(this.size,this._head,e,this.__hash):0===this.size?art():(this.__ownerID=e,this.__altered=!1,this)},t.prototype.__iterate=function(e,t){var n=this;if(t)return new Gtt(this.toArray()).__iterate((function(t,i){return e(t,i,n)}),t);for(var i=0,r=this._head;r&&!1!==e(r.value,i++,this);)r=r.next;return i},t.prototype.__iterator=function(e,t){if(t)return new Gtt(this.toArray()).__iterator(e,t);var n=0,i=this._head;return new Att((function(){if(i){var t=i.value;return i=i.next,Itt(e,n++,t)}return{value:void 0,done:!0}}))},t}(_tt);trt.isStack=ert;var nrt,irt=trt.prototype;function rrt(e,t,n,i){var r=Object.create(irt);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function art(){return nrt||(nrt=rrt(0))}irt[Jit]=!0,irt.shift=irt.pop,irt.unshift=irt.push,irt.unshiftAll=irt.pushAll,irt.withMutations=sit,irt.wasAltered=cit,irt.asImmutable=uit,irt["@@transducer/init"]=irt.asMutable=lit,irt["@@transducer/step"]=function(e,t){return e.unshift(t)},irt["@@transducer/result"]=function(e){return e.asImmutable()};var ort="@@__IMMUTABLE_SET__@@";function srt(e){return Boolean(e&&e[ort])}function lrt(e){return srt(e)&&Ftt(e)}function urt(e,t){if(e===t)return!0;if(!ptt(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||mtt(e)!==mtt(t)||vtt(e)!==vtt(t)||Ftt(e)!==Ftt(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!ytt(e);if(Ftt(e)){var i=e.entries();return t.every((function(e,t){var r=i.next().value;return r&&int(r[1],e)&&(n||int(r[0],t))}))&&i.next().done}var r=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{r=!0;var a=e;e=t,t=a}var o=!0,s=t.__iterate((function(t,i){if(n?!e.has(t):r?!int(t,e.get(i,ttt)):!int(e.get(i,ttt),t))return o=!1,!1}));return o&&e.size===s}function crt(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}function drt(e){if(!e||"object"!=typeof e)return e;if(!ptt(e)){if(!Gnt(e))return e;e=Ntt(e)}if(mtt(e)){var t={};return e.__iterate((function(e,n){t[n]=drt(e)})),t}var n=[];return e.__iterate((function(e){n.push(drt(e))})),n}var hrt=function(e){function t(t){return null==t?vrt():srt(t)&&!Ftt(t)?t:vrt().withMutations((function(n){var i=e(t);qnt(i.size),i.forEach((function(e){return n.add(e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.fromKeys=function(e){return this(Ott(e).keySeq())},t.intersect=function(e){return(e=btt(e).toArray()).length?frt.intersect.apply(t(e.pop()),e):vrt()},t.union=function(e){return(e=btt(e).toArray()).length?frt.union.apply(t(e.pop()),e):vrt()},t.prototype.toString=function(){return this.__toString("Set {","}")},t.prototype.has=function(e){return this._map.has(e)},t.prototype.add=function(e){return mrt(this,this._map.set(e,e))},t.prototype.remove=function(e){return mrt(this,this._map.remove(e))},t.prototype.clear=function(){return mrt(this,this._map.clear())},t.prototype.map=function(e,t){var n=this,i=[],r=[];return this.forEach((function(a){var o=e.call(t,a,a,n);o!==a&&(i.push(a),r.push(o))})),this.withMutations((function(e){i.forEach((function(t){return e.remove(t)})),r.forEach((function(t){return e.add(t)}))}))},t.prototype.union=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return t=t.filter((function(e){return 0!==e.size})),0===t.length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(n){for(var i=0;i<t.length;i++)e(t[i]).forEach((function(e){return n.add(e)}))})):this.constructor(t[0])},t.prototype.intersect=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];if(0===t.length)return this;t=t.map((function(t){return e(t)}));var i=[];return this.forEach((function(e){t.every((function(t){return t.includes(e)}))||i.push(e)})),this.withMutations((function(e){i.forEach((function(t){e.remove(t)}))}))},t.prototype.subtract=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];if(0===t.length)return this;t=t.map((function(t){return e(t)}));var i=[];return this.forEach((function(e){t.some((function(t){return t.includes(e)}))&&i.push(e)})),this.withMutations((function(e){i.forEach((function(t){e.remove(t)}))}))},t.prototype.sort=function(e){return Irt(Dnt(this,e))},t.prototype.sortBy=function(e,t){return Irt(Dnt(this,t,e))},t.prototype.wasAltered=function(){return this._map.wasAltered()},t.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t){return e(t,t,n)}),t)},t.prototype.__iterator=function(e,t){return this._map.__iterator(e,t)},t.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):0===this.size?this.__empty():(this.__ownerID=e,this._map=t,this)},t}(wtt);hrt.isSet=srt;var prt,frt=hrt.prototype;function mrt(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._map?e:0===t.size?e.__empty():e.__make(t)}function grt(e,t){var n=Object.create(frt);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function vrt(){return prt||(prt=grt(kit()))}frt[ort]=!0,frt.delete=frt.remove,frt.merge=frt.concat=frt.union,frt.withMutations=sit,frt.asImmutable=uit,frt["@@transducer/init"]=frt.asMutable=lit,frt["@@transducer/step"]=function(e,t){return e.add(t)},frt["@@transducer/result"]=function(e){return e.asImmutable()},frt.__empty=vrt,frt.__make=grt;var yrt,brt=function(e){function t(e,n,i){if(!(this instanceof t))return new t(e,n,i);if(Unt(0!==i,"Cannot step a Range by 0"),e=e||0,void 0===n&&(n=1/0),i=void 0===i?1:Math.abs(i),n<e&&(i=-i),this._start=e,this._end=n,this._step=i,this.size=Math.max(0,Math.ceil((n-e)/i-1)+1),0===this.size){if(yrt)return yrt;yrt=this}}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},t.prototype.get=function(e,t){return this.has(e)?this._start+att(this,e)*this._step:t},t.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},t.prototype.slice=function(e,n){return stt(e,n,this.size)?this:(e=ltt(e,this.size),(n=utt(n,this.size))<=e?new t(0,0):new t(this.get(e,this._end),this.get(n,this._end),this._step))},t.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},t.prototype.lastIndexOf=function(e){return this.indexOf(e)},t.prototype.__iterate=function(e,t){for(var n=this.size,i=this._step,r=t?this._start+(n-1)*i:this._start,a=0;a!==n&&!1!==e(r,t?n-++a:a++,this);)r+=t?-i:i;return a},t.prototype.__iterator=function(e,t){var n=this.size,i=this._step,r=t?this._start+(n-1)*i:this._start,a=0;return new Att((function(){if(a===n)return{value:void 0,done:!0};var o=r;return r+=t?-i:i,Itt(e,t?n-++a:a++,o)}))},t.prototype.equals=function(e){return e instanceof t?this._start===e._start&&this._end===e._end&&this._step===e._step:urt(this,e)},t}(qtt);function Ort(e,t,n){for(var i=Bnt(t),r=0;r!==i.length;)if((e=Xnt(e,i[r++],ttt))===ttt)return n;return e}function _rt(){qnt(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e}btt.isIterable=ptt,btt.isKeyed=mtt,btt.isIndexed=vtt,btt.isAssociative=ytt,btt.isOrdered=Ftt,btt.Iterator=Att,crt(btt,{toArray:function(){qnt(this.size);var e=new Array(this.size||0),t=mtt(this),n=0;return this.__iterate((function(i,r){e[n++]=t?[r,i]:i})),e},toIndexedSeq:function(){return new Ont(this)},toJS:function(){return drt(this)},toKeyedSeq:function(){return new bnt(this,!0)},toMap:function(){return dit(this.toKeyedSeq())},toObject:_rt,toOrderedMap:function(){return Yit(this.toKeyedSeq())},toOrderedSet:function(){return Irt(mtt(this)?this.valueSeq():this)},toSet:function(){return hrt(mtt(this)?this.valueSeq():this)},toSetSeq:function(){return new _nt(this)},toSeq:function(){return vtt(this)?this.toIndexedSeq():mtt(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return trt(mtt(this)?this.valueSeq():this)},toList:function(){return zit(mtt(this)?this.valueSeq():this)},toString:function(){return"[Collection]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return znt(this,Cnt(this,e))},includes:function(e){return this.some((function(t){return int(t,e)}))},entries:function(){return this.__iterator(2)},every:function(e,t){qnt(this.size);var n=!0;return this.__iterate((function(i,r,a){if(!e.call(t,i,r,a))return n=!1,!1})),n},filter:function(e,t){return znt(this,Pnt(this,e,t,!0))},find:function(e,t,n){var i=this.findEntry(e,t);return i?i[1]:n},forEach:function(e,t){return qnt(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){qnt(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(i){n?n=!1:t+=e,t+=null!=i?i.toString():""})),t},keys:function(){return this.__iterator(0)},map:function(e,t){return znt(this,xnt(this,e,t))},reduce:function(e,t,n){return Srt(this,e,t,n,arguments.length<2,!1)},reduceRight:function(e,t,n){return Srt(this,e,t,n,arguments.length<2,!0)},reverse:function(){return znt(this,Snt(this,!0))},slice:function(e,t){return znt(this,Ent(this,e,t,!0))},some:function(e,t){return!this.every(Frt(e),t)},sort:function(e){return znt(this,Dnt(this,e))},values:function(){return this.__iterator(1)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(e,t){return rtt(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return function(e,t,n){var i=dit().asMutable();return e.__iterate((function(r,a){i.update(t.call(n,r,a,e),0,(function(e){return e+1}))})),i.asImmutable()}(this,e,t)},equals:function(e){return urt(this,e)},entrySeq:function(){var e=this;if(e._cache)return new Gtt(e._cache);var t=e.toSeq().map(Ert).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(Frt(e),t)},findEntry:function(e,t,n){var i=n;return this.__iterate((function(n,r,a){if(e.call(t,n,r,a))return i=[r,n],!1})),i},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},findLastEntry:function(e,t,n){return this.toKeyedSeq().reverse().findEntry(e,t,n)},findLastKey:function(e,t){return this.toKeyedSeq().reverse().findKey(e,t)},first:function(e){return this.find(ott,null,e)},flatMap:function(e,t){return znt(this,function(e,t,n){var i=Rnt(e);return e.toSeq().map((function(r,a){return i(t.call(n,r,a,e))})).flatten(!0)}(this,e,t))},flatten:function(e){return znt(this,Tnt(this,e,!0))},fromEntrySeq:function(){return new wnt(this)},get:function(e,t){return this.find((function(t,n){return int(n,e)}),void 0,t)},getIn:function(e,t){return Ort(this,e,t)},groupBy:function(e,t){return function(e,t,n){var i=mtt(e),r=(Ftt(e)?Yit():dit()).asMutable();e.__iterate((function(a,o){r.update(t.call(n,a,o,e),(function(e){return(e=e||[]).push(i?[o,a]:a),e}))}));var a=Rnt(e);return r.map((function(t){return znt(e,a(t))})).asImmutable()}(this,e,t)},has:function(e){return this.get(e,ttt)!==ttt},hasIn:function(e){return function(e,t){return Ort(e,t,ttt)!==ttt}(this,e)},isSubset:function(e){return e="function"==typeof e.includes?e:btt(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:btt(e)).isSubset(this)},keyOf:function(e){return this.findKey((function(t){return int(t,e)}))},keySeq:function(){return this.toSeq().map(Prt).toIndexedSeq()},last:function(e){return this.toSeq().reverse().first(e)},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return Ant(this,e)},maxBy:function(e,t){return Ant(this,t,e)},min:function(e){return Ant(this,e?Crt(e):Drt)},minBy:function(e,t){return Ant(this,t?Crt(t):Drt,e)},rest:function(){return this.slice(1)},skip:function(e){return 0===e?this:this.slice(Math.max(0,e))},skipLast:function(e){return 0===e?this:this.slice(0,-Math.max(0,e))},skipWhile:function(e,t){return znt(this,Fnt(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(Frt(e),t)},sortBy:function(e,t){return znt(this,Dnt(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return this.slice(-Math.max(0,e))},takeWhile:function(e,t){return znt(this,function(e,t,n){var i=Qnt(e);return i.__iterateUncached=function(i,r){var a=this;if(r)return this.cacheResult().__iterate(i,r);var o=0;return e.__iterate((function(e,r,s){return t.call(n,e,r,s)&&++o&&i(e,r,a)})),o},i.__iteratorUncached=function(i,r){var a=this;if(r)return this.cacheResult().__iterator(i,r);var o=e.__iterator(2,r),s=!0;return new Att((function(){if(!s)return{value:void 0,done:!0};var e=o.next();if(e.done)return e;var r=e.value,l=r[0],u=r[1];return t.call(n,u,l,a)?2===i?e:Itt(i,l,u,e):(s=!1,{value:void 0,done:!0})}))},i}(this,e,t))},takeUntil:function(e,t){return this.takeWhile(Frt(e),t)},update:function(e){return e(this)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(e){if(e.size===1/0)return 0;var t=Ftt(e),n=mtt(e),i=t?1:0,r=e.__iterate(n?t?function(e,t){i=31*i+Art(snt(e),snt(t))|0}:function(e,t){i=i+Art(snt(e),snt(t))|0}:t?function(e){i=31*i+snt(e)|0}:function(e){i=i+snt(e)|0});return function(e,t){return t=rnt(t,3432918353),t=rnt(t<<15|t>>>-15,461845907),t=rnt(t<<13|t>>>-13,5),t=rnt((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=ant((t=rnt(t^t>>>13,3266489909))^t>>>16)}(r,i)}(this))}});var wrt=btt.prototype;wrt[htt]=!0,wrt[Dtt]=wrt.values,wrt.toJSON=wrt.toArray,wrt.__toStringMapper=Wnt,wrt.inspect=wrt.toSource=function(){return this.toString()},wrt.chain=wrt.flatMap,wrt.contains=wrt.includes,crt(Ott,{flip:function(){return znt(this,knt(this))},mapEntries:function(e,t){var n=this,i=0;return znt(this,this.toSeq().map((function(r,a){return e.call(t,[a,r],i++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return znt(this,this.toSeq().flip().map((function(i,r){return e.call(t,i,r,n)})).flip())}});var krt=Ott.prototype;krt[ftt]=!0,krt[Dtt]=wrt.entries,krt.toJSON=_rt,krt.__toStringMapper=function(e,t){return Wnt(t)+": "+Wnt(e)},crt(_tt,{toKeyedSeq:function(){return new bnt(this,!1)},filter:function(e,t){return znt(this,Pnt(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.lastKeyOf(e);return void 0===t?-1:t},reverse:function(){return znt(this,Snt(this,!1))},slice:function(e,t){return znt(this,Ent(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(t||0,0),0===n||2===n&&!t)return this;e=ltt(e,e<0?this.count():this.size);var i=this.slice(0,e);return znt(this,1===n?i:i.concat(Nnt(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.findLastEntry(e,t);return n?n[0]:-1},first:function(e){return this.get(0,e)},flatten:function(e){return znt(this,Tnt(this,e,!1))},get:function(e,t){return(e=att(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,n){return n===e}),void 0,t)},has:function(e){return(e=att(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return znt(this,function(e,t){var n=Qnt(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,i){var r=this,a=0;return e.__iterate((function(e){return(!a||!1!==n(t,a++,r))&&!1!==n(e,a++,r)}),i),a},n.__iteratorUncached=function(n,i){var r,a=e.__iterator(1,i),o=0;return new Att((function(){return(!r||o%2)&&(r=a.next()).done?r:o%2?Itt(n,o++,t):Itt(n,o++,r.value,r)}))},n}(this,e))},interleave:function(){var e=[this].concat(Nnt(arguments)),t=Lnt(this.toSeq(),qtt.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),znt(this,n)},keySeq:function(){return brt(0,this.size)},last:function(e){return this.get(-1,e)},skipWhile:function(e,t){return znt(this,Fnt(this,e,t,!1))},zip:function(){var e=[this].concat(Nnt(arguments));return znt(this,Lnt(this,Trt,e))},zipAll:function(){var e=[this].concat(Nnt(arguments));return znt(this,Lnt(this,Trt,e,!0))},zipWith:function(e){var t=Nnt(arguments);return t[0]=this,znt(this,Lnt(this,e,t))}});var xrt=_tt.prototype;function Srt(e,t,n,i,r,a){return qnt(e.size),e.__iterate((function(e,a,o){r?(r=!1,n=e):n=t.call(i,n,e,a,o)}),a),n}function Prt(e,t){return t}function Ert(e,t){return[t,e]}function Frt(e){return function(){return!e.apply(this,arguments)}}function Crt(e){return function(){return-e.apply(this,arguments)}}function Trt(){return Nnt(arguments)}function Drt(e,t){return e<t?1:e>t?-1:0}function Art(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}xrt[gtt]=!0,xrt[Ett]=!0,crt(wtt,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),wtt.prototype.has=wrt.includes,wtt.prototype.contains=wtt.prototype.includes,crt(Utt,Ott.prototype),crt(qtt,_tt.prototype),crt(Btt,wtt.prototype);var Irt=function(e){function t(e){return null==e?Rrt():lrt(e)?e:Rrt().withMutations((function(t){var n=wtt(e);qnt(n.size),n.forEach((function(e){return t.add(e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.fromKeys=function(e){return this(Ott(e).keySeq())},t.prototype.toString=function(){return this.__toString("OrderedSet {","}")},t}(hrt);Irt.isOrderedSet=lrt;var Lrt,zrt=Irt.prototype;function $rt(e,t){var n=Object.create(zrt);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Rrt(){return Lrt||(Lrt=$rt(Hit()))}zrt[Ett]=!0,zrt.zip=xrt.zip,zrt.zipWith=xrt.zipWith,zrt.__empty=Rrt,zrt.__make=$rt;var Qrt={exports:{}};
|
|
174
|
+
var a_e=function(){return a_e=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a_e.apply(this,arguments)};function o_e(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]])}return n}function s_e(e,t,n,i){return new(n||(n=Promise))((function(r,a){function o(e){try{l(i.next(e))}catch(e){a(e)}}function s(e){try{l(i.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}l((i=i.apply(e,t||[])).next())}))}function l_e(e,t){var n,i,r,a,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(r=2&a[0]?i.return:a[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,a[1])).done)return r;switch(i=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,i=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(r=o.trys,(r=r.length>0&&r[r.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]<r[3])){o.label=a[1];break}if(6===a[0]&&o.label<r[1]){o.label=r[1],r=a;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(a);break}r[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],i=0}finally{n=r=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function u_e(e,t){for(var n=0,i=t.length,r=e.length;n<i;n++,r++)e[r]=t[n];return e}function c_e(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var d_e,h_e=function(e){var n,i=e.children,r=o_e(e,["children"]);return t.jsxs(t.Fragment,{children:[t.jsx(p_e,{},void 0),t.jsx(o.Dialog,a_e({},r,{modalProps:a_e(a_e({},r.modalProps||{}),{className:Yq(DK,"lt-reach-dialog",{"lt-reach-dialog-mobile":as.isAnyMobileApp},null===(n=r.modalProps)||void 0===n?void 0:n.className)})},{children:i}),void 0)]},void 0)},p_e=a.createGlobalStyle(d_e||(d_e=c_e(['\n /**\n Mobile overrides\n */\n .lt-reach-dialog-mobile {\n .ms-Dialog-main {\n .ms-Modal-scrollableContent {\n max-height: calc(100vh - 32px);\n overflow-y: auto;\n }\n\n .dialog-content-host {\n min-height: 0;\n height: auto;\n }\n }\n }\n\n .browser-name-ios-webview.lt-reach-dialog-mobile {\n .ms-Dialog-main {\n .ms-Modal-scrollableContent {\n // 8 more pixels, because if you open the app from within another app (e.g. Testflight)\n // it has an additional "backbar" there which takes up space\n max-height: calc(100vh - 32px - env(safe-area-inset-top) - 8px);\n }\n }\n }\n'],['\n /**\n Mobile overrides\n */\n .lt-reach-dialog-mobile {\n .ms-Dialog-main {\n .ms-Modal-scrollableContent {\n max-height: calc(100vh - 32px);\n overflow-y: auto;\n }\n\n .dialog-content-host {\n min-height: 0;\n height: auto;\n }\n }\n }\n\n .browser-name-ios-webview.lt-reach-dialog-mobile {\n .ms-Dialog-main {\n .ms-Modal-scrollableContent {\n // 8 more pixels, because if you open the app from within another app (e.g. Testflight)\n // it has an additional "backbar" there which takes up space\n max-height: calc(100vh - 32px - env(safe-area-inset-top) - 8px);\n }\n }\n }\n']))),f_e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},m_e=function(e){return e&&e.Math==Math&&e},g_e=m_e("object"==typeof globalThis&&globalThis)||m_e("object"==typeof window&&window)||m_e("object"==typeof self&&self)||m_e("object"==typeof f_e&&f_e)||Function("return this")(),v_e={},y_e=function(e){try{return!!e()}catch(e){return!0}},b_e=!y_e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),O_e={},__e={}.propertyIsEnumerable,w_e=Object.getOwnPropertyDescriptor,k_e=w_e&&!__e.call({1:2},1);O_e.f=k_e?function(e){var t=w_e(this,e);return!!t&&t.enumerable}:__e;var x_e=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},S_e={}.toString,P_e=function(e){return S_e.call(e).slice(8,-1)},E_e=P_e,F_e="".split,C_e=y_e((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==E_e(e)?F_e.call(e,""):Object(e)}:Object,T_e=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},D_e=C_e,A_e=T_e,I_e=function(e){return D_e(A_e(e))},L_e=function(e){return"object"==typeof e?null!==e:"function"==typeof e},z_e=L_e,$_e=function(e,t){if(!z_e(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!z_e(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!z_e(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!z_e(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")},R_e={}.hasOwnProperty,Q_e=function(e,t){return R_e.call(e,t)},j_e=L_e,M_e=g_e.document,N_e=j_e(M_e)&&j_e(M_e.createElement),U_e=function(e){return N_e?M_e.createElement(e):{}},q_e=U_e,B_e=!b_e&&!y_e((function(){return 7!=Object.defineProperty(q_e("div"),"a",{get:function(){return 7}}).a})),G_e=b_e,W_e=O_e,X_e=x_e,V_e=I_e,Y_e=$_e,Z_e=Q_e,H_e=B_e,K_e=Object.getOwnPropertyDescriptor;v_e.f=G_e?K_e:function(e,t){if(e=V_e(e),t=Y_e(t,!0),H_e)try{return K_e(e,t)}catch(e){}if(Z_e(e,t))return X_e(!W_e.f.call(e,t),e[t])};var J_e={},ewe=L_e,twe=function(e){if(!ewe(e))throw TypeError(String(e)+" is not an object");return e},nwe=b_e,iwe=B_e,rwe=twe,awe=$_e,owe=Object.defineProperty;J_e.f=nwe?owe:function(e,t,n){if(rwe(e),t=awe(t,!0),rwe(n),iwe)try{return owe(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var swe=J_e,lwe=x_e,uwe=b_e?function(e,t,n){return swe.f(e,t,lwe(1,n))}:function(e,t,n){return e[t]=n,e},cwe={exports:{}},dwe=g_e,hwe=uwe,pwe=function(e,t){try{hwe(dwe,e,t)}catch(n){dwe[e]=t}return t},fwe=pwe,mwe="__core-js_shared__",gwe=g_e[mwe]||fwe(mwe,{}),vwe=gwe,ywe=Function.toString;"function"!=typeof vwe.inspectSource&&(vwe.inspectSource=function(e){return ywe.call(e)});var bwe=vwe.inspectSource,Owe=bwe,_we=g_e.WeakMap,wwe="function"==typeof _we&&/native code/.test(Owe(_we)),kwe={exports:{}},xwe=gwe;(kwe.exports=function(e,t){return xwe[e]||(xwe[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"});var Swe,Pwe,Ewe,Fwe=0,Cwe=Math.random(),Twe=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++Fwe+Cwe).toString(36)},Dwe=kwe.exports,Awe=Twe,Iwe=Dwe("keys"),Lwe=function(e){return Iwe[e]||(Iwe[e]=Awe(e))},zwe={},$we=wwe,Rwe=L_e,Qwe=uwe,jwe=Q_e,Mwe=Lwe,Nwe=zwe,Uwe=g_e.WeakMap;if($we){var qwe=new Uwe,Bwe=qwe.get,Gwe=qwe.has,Wwe=qwe.set;Swe=function(e,t){return Wwe.call(qwe,e,t),t},Pwe=function(e){return Bwe.call(qwe,e)||{}},Ewe=function(e){return Gwe.call(qwe,e)}}else{var Xwe=Mwe("state");Nwe[Xwe]=!0,Swe=function(e,t){return Qwe(e,Xwe,t),t},Pwe=function(e){return jwe(e,Xwe)?e[Xwe]:{}},Ewe=function(e){return jwe(e,Xwe)}}var Vwe={set:Swe,get:Pwe,has:Ewe,enforce:function(e){return Ewe(e)?Pwe(e):Swe(e,{})},getterFor:function(e){return function(t){var n;if(!Rwe(t)||(n=Pwe(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},Ywe=g_e,Zwe=uwe,Hwe=Q_e,Kwe=pwe,Jwe=bwe,eke=Vwe.get,tke=Vwe.enforce,nke=String(String).split("String");(cwe.exports=function(e,t,n,i){var r=!!i&&!!i.unsafe,a=!!i&&!!i.enumerable,o=!!i&&!!i.noTargetGet;"function"==typeof n&&("string"!=typeof t||Hwe(n,"name")||Zwe(n,"name",t),tke(n).source=nke.join("string"==typeof t?t:"")),e!==Ywe?(r?!o&&e[t]&&(a=!0):delete e[t],a?e[t]=n:Zwe(e,t,n)):a?e[t]=n:Kwe(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&eke(this).source||Jwe(this)}));var ike=g_e,rke=g_e,ake=function(e){return"function"==typeof e?e:void 0},oke=function(e,t){return arguments.length<2?ake(ike[e])||ake(rke[e]):ike[e]&&ike[e][t]||rke[e]&&rke[e][t]},ske={},lke=Math.ceil,uke=Math.floor,cke=function(e){return isNaN(e=+e)?0:(e>0?uke:lke)(e)},dke=cke,hke=Math.min,pke=function(e){return e>0?hke(dke(e),9007199254740991):0},fke=cke,mke=Math.max,gke=Math.min,vke=I_e,yke=pke,bke=function(e,t){var n=fke(e);return n<0?mke(n+t,0):gke(n,t)},Oke=function(e){return function(t,n,i){var r,a=vke(t),o=yke(a.length),s=bke(i,o);if(e&&n!=n){for(;o>s;)if((r=a[s++])!=r)return!0}else for(;o>s;s++)if((e||s in a)&&a[s]===n)return e||s||0;return!e&&-1}},_ke={includes:Oke(!0),indexOf:Oke(!1)},wke=Q_e,kke=I_e,xke=_ke.indexOf,Ske=zwe,Pke=function(e,t){var n,i=kke(e),r=0,a=[];for(n in i)!wke(Ske,n)&&wke(i,n)&&a.push(n);for(;t.length>r;)wke(i,n=t[r++])&&(~xke(a,n)||a.push(n));return a},Eke=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Fke=Pke,Cke=Eke.concat("length","prototype");ske.f=Object.getOwnPropertyNames||function(e){return Fke(e,Cke)};var Tke={};Tke.f=Object.getOwnPropertySymbols;var Dke=ske,Ake=Tke,Ike=twe,Lke=oke("Reflect","ownKeys")||function(e){var t=Dke.f(Ike(e)),n=Ake.f;return n?t.concat(n(e)):t},zke=Q_e,$ke=Lke,Rke=v_e,Qke=J_e,jke=y_e,Mke=/#|\.prototype\./,Nke=function(e,t){var n=qke[Uke(e)];return n==Gke||n!=Bke&&("function"==typeof t?jke(t):!!t)},Uke=Nke.normalize=function(e){return String(e).replace(Mke,".").toLowerCase()},qke=Nke.data={},Bke=Nke.NATIVE="N",Gke=Nke.POLYFILL="P",Wke=Nke,Xke=g_e,Vke=v_e.f,Yke=uwe,Zke=cwe.exports,Hke=pwe,Kke=function(e,t){for(var n=$ke(t),i=Qke.f,r=Rke.f,a=0;a<n.length;a++){var o=n[a];zke(e,o)||i(e,o,r(t,o))}},Jke=Wke,exe=function(e,t){var n,i,r,a,o,s=e.target,l=e.global,u=e.stat;if(n=l?Xke:u?Xke[s]||Hke(s,{}):(Xke[s]||{}).prototype)for(i in t){if(a=t[i],r=e.noTargetGet?(o=Vke(n,i))&&o.value:n[i],!Jke(l?i:s+(u?".":"#")+i,e.forced)&&void 0!==r){if(typeof a==typeof r)continue;Kke(a,r)}(e.sham||r&&r.sham)&&Yke(a,"sham",!0),Zke(n,i,a,e)}},txe=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},nxe=T_e,ixe=function(e){return Object(nxe(e))},rxe=txe,axe=ixe,oxe=C_e,sxe=pke,lxe=function(e){return function(t,n,i,r){rxe(n);var a=axe(t),o=oxe(a),s=sxe(a.length),l=e?s-1:0,u=e?-1:1;if(i<2)for(;;){if(l in o){r=o[l],l+=u;break}if(l+=u,e?l<0:s<=l)throw TypeError("Reduce of empty array with no initial value")}for(;e?l>=0:s>l;l+=u)l in o&&(r=n(r,o[l],l,a));return r}},uxe={left:lxe(!1),right:lxe(!0)},cxe=y_e,dxe=function(e,t){var n=[][e];return!!n&&cxe((function(){n.call(null,t||function(){throw 1},1)}))},hxe=b_e,pxe=y_e,fxe=Q_e,mxe=Object.defineProperty,gxe={},vxe=function(e){throw e},yxe=exe,bxe=uxe.left,Oxe=function(e,t){if(fxe(gxe,e))return gxe[e];t||(t={});var n=[][e],i=!!fxe(t,"ACCESSORS")&&t.ACCESSORS,r=fxe(t,0)?t[0]:vxe,a=fxe(t,1)?t[1]:void 0;return gxe[e]=!!n&&!pxe((function(){if(i&&!hxe)return!0;var e={length:-1};i?mxe(e,1,{enumerable:!0,get:vxe}):e[1]=1,n.call(e,r,a)}))},_xe=dxe("reduce"),wxe=Oxe("reduce",{1:0});yxe({target:"Array",proto:!0,forced:!_xe||!wxe},{reduce:function(e){return bxe(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}});var kxe=Pke,xxe=Eke,Sxe=Object.keys||function(e){return kxe(e,xxe)},Pxe=b_e,Exe=y_e,Fxe=Sxe,Cxe=Tke,Txe=O_e,Dxe=ixe,Axe=C_e,Ixe=Object.assign,Lxe=Object.defineProperty,zxe=!Ixe||Exe((function(){if(Pxe&&1!==Ixe({b:1},Ixe(Lxe({},"a",{enumerable:!0,get:function(){Lxe(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach((function(e){t[e]=e})),7!=Ixe({},e)[n]||Fxe(Ixe({},t)).join("")!=i}))?function(e,t){for(var n=Dxe(e),i=arguments.length,r=1,a=Cxe.f,o=Txe.f;i>r;)for(var s,l=Axe(arguments[r++]),u=a?Fxe(l).concat(a(l)):Fxe(l),c=u.length,d=0;c>d;)s=u[d++],Pxe&&!o.call(l,s)||(n[s]=l[s]);return n}:Ixe,$xe=zxe;exe({target:"Object",stat:!0,forced:Object.assign!==$xe},{assign:$xe});var Rxe=y_e,Qxe=!!Object.getOwnPropertySymbols&&!Rxe((function(){return!String(Symbol())})),jxe=Qxe&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Mxe=g_e,Nxe=kwe.exports,Uxe=Q_e,qxe=Twe,Bxe=Qxe,Gxe=jxe,Wxe=Nxe("wks"),Xxe=Mxe.Symbol,Vxe=Gxe?Xxe:Xxe&&Xxe.withoutSetter||qxe,Yxe=function(e){return Uxe(Wxe,e)||(Bxe&&Uxe(Xxe,e)?Wxe[e]=Xxe[e]:Wxe[e]=Vxe("Symbol."+e)),Wxe[e]},Zxe=L_e,Hxe=P_e,Kxe=Yxe("match"),Jxe=function(e){var t;return Zxe(e)&&(void 0!==(t=e[Kxe])?!!t:"RegExp"==Hxe(e))},eSe=Jxe,tSe=function(e){if(eSe(e))throw TypeError("The method doesn't accept regular expressions");return e},nSe=Yxe("match"),iSe=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[nSe]=!1,"/./"[e](t)}catch(e){}}return!1},rSe=tSe,aSe=T_e;function oSe(e,t){var n=e||[],i=t||[],r=n.map((function(e){return e.id})),a=i.filter((function(e){return!r.includes(e.id)}));return n.concat(a)}exe({target:"String",proto:!0,forced:!iSe("includes")},{includes:function(e){return!!~String(aSe(this)).indexOf(rSe(e),arguments.length>1?arguments[1]:void 0)}});var sSe,lSe=J_e,uSe=twe,cSe=Sxe,dSe=b_e?Object.defineProperties:function(e,t){uSe(e);for(var n,i=cSe(t),r=i.length,a=0;r>a;)lSe.f(e,n=i[a++],t[n]);return e},hSe=oke("document","documentElement"),pSe=twe,fSe=dSe,mSe=Eke,gSe=zwe,vSe=hSe,ySe=U_e,bSe=Lwe("IE_PROTO"),OSe=function(){},_Se=function(e){return"<script>"+e+"</"+"script>"},wSe=function(){try{sSe=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;wSe=sSe?function(e){e.write(_Se("")),e.close();var t=e.parentWindow.Object;return e=null,t}(sSe):((t=ySe("iframe")).style.display="none",vSe.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(_Se("document.F=Object")),e.close(),e.F);for(var n=mSe.length;n--;)delete wSe.prototype[mSe[n]];return wSe()};gSe[bSe]=!0;var kSe=Object.create||function(e,t){var n;return null!==e?(OSe.prototype=pSe(e),n=new OSe,OSe.prototype=null,n[bSe]=e):n=wSe(),void 0===t?n:fSe(n,t)},xSe=kSe,SSe=J_e,PSe=Yxe("unscopables"),ESe=Array.prototype;null==ESe[PSe]&&SSe.f(ESe,PSe,{configurable:!0,value:xSe(null)});var FSe,CSe,TSe,DSe=function(e){ESe[PSe][e]=!0},ASe={},ISe=!y_e((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),LSe=Q_e,zSe=ixe,$Se=ISe,RSe=Lwe("IE_PROTO"),QSe=Object.prototype,jSe=$Se?Object.getPrototypeOf:function(e){return e=zSe(e),LSe(e,RSe)?e[RSe]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?QSe:null},MSe=jSe,NSe=uwe,USe=Q_e,qSe=Yxe("iterator"),BSe=!1;[].keys&&("next"in(TSe=[].keys())?(CSe=MSe(MSe(TSe)))!==Object.prototype&&(FSe=CSe):BSe=!0),null==FSe&&(FSe={}),USe(FSe,qSe)||NSe(FSe,qSe,(function(){return this}));var GSe={IteratorPrototype:FSe,BUGGY_SAFARI_ITERATORS:BSe},WSe=J_e.f,XSe=Q_e,VSe=Yxe("toStringTag"),YSe=function(e,t,n){e&&!XSe(e=n?e:e.prototype,VSe)&&WSe(e,VSe,{configurable:!0,value:t})},ZSe=GSe.IteratorPrototype,HSe=kSe,KSe=x_e,JSe=YSe,ePe=ASe,tPe=function(){return this},nPe=L_e,iPe=twe,rPe=function(e){if(!nPe(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e},aPe=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,i){return iPe(n),rPe(i),t?e.call(n,i):n.__proto__=i,n}}():void 0),oPe=exe,sPe=function(e,t,n){var i=t+" Iterator";return e.prototype=HSe(ZSe,{next:KSe(1,n)}),JSe(e,i,!1),ePe[i]=tPe,e},lPe=jSe,uPe=aPe,cPe=YSe,dPe=uwe,hPe=cwe.exports,pPe=ASe,fPe=GSe.IteratorPrototype,mPe=GSe.BUGGY_SAFARI_ITERATORS,gPe=Yxe("iterator"),vPe="keys",yPe="values",bPe="entries",OPe=function(){return this},_Pe=I_e,wPe=DSe,kPe=ASe,xPe=Vwe,SPe=function(e,t,n,i,r,a,o){sPe(n,t,i);var s,l,u,c=function(e){if(e===r&&m)return m;if(!mPe&&e in p)return p[e];switch(e){case vPe:case yPe:case bPe:return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",h=!1,p=e.prototype,f=p[gPe]||p["@@iterator"]||r&&p[r],m=!mPe&&f||c(r),g="Array"==t&&p.entries||f;if(g&&(s=lPe(g.call(new e)),fPe!==Object.prototype&&s.next&&(lPe(s)!==fPe&&(uPe?uPe(s,fPe):"function"!=typeof s[gPe]&&dPe(s,gPe,OPe)),cPe(s,d,!0))),r==yPe&&f&&f.name!==yPe&&(h=!0,m=function(){return f.call(this)}),p[gPe]!==m&&dPe(p,gPe,m),pPe[t]=m,r)if(l={values:c(yPe),keys:a?m:c(vPe),entries:c(bPe)},o)for(u in l)(mPe||h||!(u in p))&&hPe(p,u,l[u]);else oPe({target:t,proto:!0,forced:mPe||h},l);return l},PPe="Array Iterator",EPe=xPe.set,FPe=xPe.getterFor(PPe),CPe=SPe(Array,"Array",(function(e,t){EPe(this,{type:PPe,target:_Pe(e),index:0,kind:t})}),(function(){var e=FPe(this),t=e.target,n=e.kind,i=e.index++;return!t||i>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:t[i],done:!1}:{value:[i,t[i]],done:!1}}),"values");kPe.Arguments=kPe.Array,wPe("keys"),wPe("values"),wPe("entries");var TPe=g_e,DPe={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},APe=CPe,IPe=uwe,LPe=Yxe,zPe=LPe("iterator"),$Pe=LPe("toStringTag"),RPe=APe.values;for(var QPe in DPe){var jPe=TPe[QPe],MPe=jPe&&jPe.prototype;if(MPe){if(MPe[zPe]!==RPe)try{IPe(MPe,zPe,RPe)}catch(e){MPe[zPe]=RPe}if(MPe[$Pe]||IPe(MPe,$Pe,QPe),DPe[QPe])for(var NPe in APe)if(MPe[NPe]!==APe[NPe])try{IPe(MPe,NPe,APe[NPe])}catch(e){MPe[NPe]=APe[NPe]}}}var UPe,qPe,BPe,GPe,WPe,XPe,VPe,YPe,ZPe,HPe,KPe,JPe,eEe,tEe,nEe,iEe,rEe,aEe,oEe,sEe=function(e){var n=Wx().formatMessage;return t.jsx(o.TooltipHost,a_e({},e,{className:void 0,role:e.role,onClick:e.onClick,hostClassName:e.className,content:e.resourceKey||e.text?e.text||n({id:e.resourceKey},e.values||{}):null,calloutProps:{calloutWidth:e.width,hidden:e.hidden}},{children:e.children}),void 0)},lEe=function(e){return a.css(WPe||(WPe=c_e(["\n ","\n\n ","\n\n box-sizing: border-box;\n padding: ","px ","px;\n border-radius: ","px;\n display: flex;\n "],["\n ","\n\n ","\n\n box-sizing: border-box;\n padding: ","px ","px;\n border-radius: ","px;\n display: flex;\n "])),(null==e?void 0:e.backgroundColor)?a.css(UPe||(UPe=c_e(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),e.backgroundColor):a.css(qPe||(qPe=c_e(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),Rne),(null==e?void 0:e.color)?a.css(BPe||(BPe=c_e(["\n color: ",";\n "],["\n color: ",";\n "])),e.color):a.css(GPe||(GPe=c_e(["\n color: ",";\n "],["\n color: ",";\n "])),(function(e){return e.theme.textColors.default})),3,U8,q8)},uEe=function(e){var n=e.tooltipResourceKey,i=e.className,r=o_e(e,["tooltipResourceKey","className"]);return t.jsx(sEe,a_e({resourceKey:n,className:i},{children:t.jsx(cEe,a_e({},r,{"data-highlight-bubble":!0}),void 0)}),void 0)},cEe=y.default.div.withConfig({displayName:"EditorHighlight__EditorHighlightBubble",componentId:"sc-1d6ahk1-0"})(XPe||(XPe=c_e(["\n ",";\n &:empty {\n display: none;\n }\n\n min-height: 30px;\n padding: ","px ","px;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: ","px;\n\n cursor: ",";\n\n > * {\n opacity: ",";\n flex: 1 1 auto;\n }\n"],["\n ",";\n &:empty {\n display: none;\n }\n\n min-height: 30px;\n padding: ","px ","px;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: ","px;\n\n cursor: ",";\n\n > * {\n opacity: ",";\n flex: 1 1 auto;\n }\n"])),lEe(),6,15,a7,(function(e){return e.readOnly?"inherit":"pointer"}),(function(e){return e.isActive?1:.4})),dEe=y.default.div.withConfig({displayName:"EditorHighlight__ChannelsEditorBubbleHost",componentId:"sc-1d6ahk1-1"})(VPe||(VPe=c_e(["\n &:empty {\n display: none;\n }\n\n padding: 10px 0;\n\n cursor: ",";\n\n > * {\n opacity: ",";\n flex: 1 1 auto;\n }\n"],["\n &:empty {\n display: none;\n }\n\n padding: 10px 0;\n\n cursor: ",";\n\n > * {\n opacity: ",";\n flex: 1 1 auto;\n }\n"])),(function(e){return e.readOnly?"inherit":"pointer"}),(function(e){return e.isActive?1:.4})),hEe=function(e){var n=e.showDialog,i=e.onClose,r=e.onClosed,a=e.handleSave,s=e.titleResource,l=e.disableSave,u=e.saveButtonResourceId,c=e.children,d=e.className,h=Wx().formatMessage;return t.jsxs(h_e,a_e({hidden:!n,modalProps:{isBlocking:!0,onDismissed:r},dialogContentProps:{type:o.DialogType.normal,title:h({id:s})},onDismiss:i},{children:[t.jsx(pEe,a_e({className:d},{children:c}),void 0),t.jsxs(o.DialogFooter,{children:[t.jsx(o.DefaultButton,a_e({onClick:i,"data-button":"cancel"},{children:t.jsx(hS,{id:"Generic.Cancel"},void 0)}),void 0),t.jsx(o.PrimaryButton,a_e({disabled:l,onClick:a,"data-button":"save"},{children:t.jsx(hS,{id:u||"Generic.Save"},void 0)}),void 0)]},void 0)]}),void 0)},pEe=y.default.div.withConfig({displayName:"EditorSettingsDialog__Host",componentId:"sc-132lfuo-0"})(YPe||(YPe=c_e(["\n min-height: 45px;\n\n > *:not(:last-child) {\n margin-bottom: ","px;\n }\n"],["\n min-height: 45px;\n\n > *:not(:last-child) {\n margin-bottom: ","px;\n }\n"])),q8),fEe=y.default(hEe).withConfig({displayName:"EditorSettingsDialog__EditorSettingsDialogWithFixedWidth",componentId:"sc-132lfuo-1"})(ZPe||(ZPe=c_e(["\n width: 400px;\n"],["\n width: 400px;\n"]))),mEe=y.default(o.IconButton).withConfig({displayName:"IconButton",componentId:"sc-1mokw5y-0"})(HPe||(HPe=c_e(["\n && {\n &:not([disabled]) {\n color: ",";\n i {\n color: inherit;\n }\n }\n }\n"],["\n && {\n &:not([disabled]) {\n color: ",";\n i {\n color: inherit;\n }\n }\n }\n"])),(function(e){var t;return null!==(t=e.color)&&void 0!==t?t:e.theme.textColors.default})),gEe=function(e){var n=e.checked,i=e.readOnly,r=e.onChange,a=e.className,o=e.iconName,s=e.activeIconName,l=e.tooltipResourceKey,u=e.ariaLabelResourceKey,c=Wx().formatMessage,d=n?s||o||"CheckboxComposite":o||"Checkbox";return t.jsx(vEe,a_e({className:a},{children:i?t.jsx(bEe,{},void 0):t.jsx(sEe,a_e({resourceKey:l},{children:t.jsx(yEe,{iconProps:{iconName:d},onClick:function(){return r(!n)},ariaLabel:u?c({id:u}):null},void 0)}),void 0)}),void 0)},vEe=y.default.div.withConfig({displayName:"GutterToggle__Host",componentId:"sc-1aya63j-0"})(KPe||(KPe=c_e(["\n margin: 0 21px 0 6px;\n\n @media (min-width: 700px) {\n margin: 0 10px 0 18px;\n }\n"],["\n margin: 0 21px 0 6px;\n\n @media (min-width: 700px) {\n margin: 0 10px 0 18px;\n }\n"]))),yEe=y.default(mEe).withConfig({displayName:"GutterToggle__ToggleIcon",componentId:"sc-1aya63j-1"})(JPe||(JPe=c_e(["\n && {\n margin: 0;\n padding: 0;\n font-size: ","px;\n\n &[disabled] {\n background: transparent;\n }\n\n i {\n font-size: inherit;\n margin: 0;\n }\n\n @media (min-width: 700px) {\n font-size: ","px;\n }\n }\n"],["\n && {\n margin: 0;\n padding: 0;\n font-size: ","px;\n\n &[disabled] {\n background: transparent;\n }\n\n i {\n font-size: inherit;\n margin: 0;\n }\n\n @media (min-width: 700px) {\n font-size: ","px;\n }\n }\n"])),i7,20),bEe=y.default.div.withConfig({displayName:"GutterToggle__Spacer",componentId:"sc-1aya63j-2"})(eEe||(eEe=c_e(["\n width: 22px;\n"],["\n width: 22px;\n"]))),OEe=a.css(tEe||(tEe=c_e(["\n color: ",";\n text-decoration: underline;\n\n &:hover,\n &:visited {\n color: ",";\n }\n"],["\n color: ",";\n text-decoration: underline;\n\n &:hover,\n &:visited {\n color: ",";\n }\n"])),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent})),_Ee=y.default(o.Link).withConfig({displayName:"Link__ExternalLink",componentId:"sc-5x4ijx-0"})(nEe||(nEe=c_e(["\n && {\n ",";\n }\n"],["\n && {\n ",";\n }\n"])),OEe),wEe=y.default(r.Link).withConfig({displayName:"Link",componentId:"sc-5x4ijx-1"})(iEe||(iEe=c_e(["\n && {\n ",";\n }\n"],["\n && {\n ",";\n }\n"])),OEe),kEe=a.css(rEe||(rEe=c_e(["\n height: auto;\n box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);\n\n span {\n line-height: ","px !important;\n }\n\n .ms-MessageBar-text {\n color: #fff !important;\n margin: 15px 8px;\n\n @media (max-width: 479px) {\n margin-bottom: 8px;\n }\n }\n\n .ms-MessageBar-icon {\n color: #fff !important;\n }\n\n &.ms-MessageBar--error {\n background-color: #c24844 !important;\n }\n\n .ms-MessageBar-content {\n align-items: center;\n display: flex;\n i {\n color: #fff !important;\n }\n }\n"],["\n height: auto;\n box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);\n\n span {\n line-height: ","px !important;\n }\n\n .ms-MessageBar-text {\n color: #fff !important;\n margin: 15px 8px;\n\n @media (max-width: 479px) {\n margin-bottom: 8px;\n }\n }\n\n .ms-MessageBar-icon {\n color: #fff !important;\n }\n\n &.ms-MessageBar--error {\n background-color: #c24844 !important;\n }\n\n .ms-MessageBar-content {\n align-items: center;\n display: flex;\n i {\n color: #fff !important;\n }\n }\n"])),20),xEe=function(){var e=eie().hideNotification,n=i.useContext(Jne),r=n.isNotificationBarVisible,a=o_e(n,["isNotificationBarVisible"]),o=Wx().formatMessage,s=a.messageId||a.text;return r?t.jsx(SEe,a_e({className:"notification-wrapper","data-notification-bar":!0},{children:t.jsx(PEe,a_e({messageBarType:a.messageBarType,className:a.className,actions:a.actions,onDismiss:function(){return e()},isMultiline:!1,dismissButtonAriaLabel:o({id:"AriaLabel.closeNotificationBarButton"})},{children:s&&t.jsx(sEe,a_e({text:a.text,resourceKey:a.messageId,values:a.messageValues},{children:a.text||t.jsx(hS,{id:a.messageId,values:a.messageValues||{}},void 0)}),void 0)}),void 0)}),void 0):null},SEe=y.default.div.withConfig({displayName:"NotificationBar__Host",componentId:"sc-17dep9g-0"})(aEe||(aEe=c_e(["\n display: block;\n position: relative;\n z-index: 101;\n"],["\n display: block;\n position: relative;\n z-index: 101;\n"]))),PEe=y.default(o.MessageBar).withConfig({displayName:"NotificationBar__StyledMessageBar",componentId:"sc-17dep9g-1"})(oEe||(oEe=c_e(["\n ","\n\n .ms-MessageBar-dismissal {\n i {\n color: #fff !important;\n }\n\n &:hover {\n background-color: transparent !important;\n }\n }\n\n &:not(.notification-bar--undo) {\n .ms-MessageBar-text {\n font-size: ","px;\n }\n\n .ms-MessageBar-icon {\n font-size: ","px;\n }\n\n .ms-MessageBar-dismissal {\n i {\n font-size: ","px;\n }\n }\n }\n\n &.ms-messageBar--info {\n background-color: white !important;\n\n .ms-MessageBar-icon,\n .ms-MessageBar-text,\n .ms-MessageBar-dismissal i {\n font-size: ","px;\n color: black !important;\n }\n }\n\n &.ms-MessageBar--success {\n background-color: #498526 !important;\n }\n\n &.ms-MessageBar--warning {\n background-color: #b95e06 !important;\n }\n\n &.notification-bar--undo {\n position: relative;\n\n .ms-MessageBar-icon {\n display: none !important;\n }\n\n .ms-MessageBar-text {\n font-size: ","px !important;\n font-weight: 500 !important;\n\n @media (max-width: 700px) {\n font-size: ","px !important;\n }\n }\n\n .ms-MessageBar-actionsOneline {\n padding-right: ","px;\n\n > div {\n width: 100%;\n display: flex;\n }\n }\n\n .ms-MessageBar-dismissOneline {\n position: absolute;\n right: 12px;\n top: calc(50% - 8px);\n z-index: 1;\n width: 35px;\n\n i {\n font-size: ","px;\n font-weight: bold;\n }\n }\n }\n"],["\n ","\n\n .ms-MessageBar-dismissal {\n i {\n color: #fff !important;\n }\n\n &:hover {\n background-color: transparent !important;\n }\n }\n\n &:not(.notification-bar--undo) {\n .ms-MessageBar-text {\n font-size: ","px;\n }\n\n .ms-MessageBar-icon {\n font-size: ","px;\n }\n\n .ms-MessageBar-dismissal {\n i {\n font-size: ","px;\n }\n }\n }\n\n &.ms-messageBar--info {\n background-color: white !important;\n\n .ms-MessageBar-icon,\n .ms-MessageBar-text,\n .ms-MessageBar-dismissal i {\n font-size: ","px;\n color: black !important;\n }\n }\n\n &.ms-MessageBar--success {\n background-color: #498526 !important;\n }\n\n &.ms-MessageBar--warning {\n background-color: #b95e06 !important;\n }\n\n &.notification-bar--undo {\n position: relative;\n\n .ms-MessageBar-icon {\n display: none !important;\n }\n\n .ms-MessageBar-text {\n font-size: ","px !important;\n font-weight: 500 !important;\n\n @media (max-width: 700px) {\n font-size: ","px !important;\n }\n }\n\n .ms-MessageBar-actionsOneline {\n padding-right: ","px;\n\n > div {\n width: 100%;\n display: flex;\n }\n }\n\n .ms-MessageBar-dismissOneline {\n position: absolute;\n right: 12px;\n top: calc(50% - 8px);\n z-index: 1;\n width: 35px;\n\n i {\n font-size: ","px;\n font-weight: bold;\n }\n }\n }\n"])),kEe,r7,i7,i7,r7,i7,a7,B8,20),EEe=function(e){var n,r=Wx().formatMessage,a=S6(),s=x6(),l=m5(),u=l.searchAccounts,c=l.getUserAvatarUrl,d=i.useRef(),h=$w();i.useEffect((function(){e.autoFocus&&d&&d.current&&setTimeout((function(){d.current.focus()}))}),[d,e.autoFocus]);var p=(null===(n=s.subscription.directories)||void 0===n?void 0:n.length)>1,f=!e.selectionMode||e.selectionMode===o.SelectionMode.multiple,m=e.selectedItems||[],g=p,v={defaultSelectedItems:(e.defaultSelectedItems||[]).map((function(e){return y(e)})),resolveDelay:500,onResolveSuggestions:function(e){return b(e,g)},onGetMoreResults:function(e){return b(e,!1)},getTextFromItem:function(e){return e.text},onChange:function(t){return function(t){var n=t.map((function(e){return{id:(t=e).id,tokenUniqueId:t.tokenUniqueId,tenantId:t.tenantId,displayName:t.text,userPrincipalName:t.accountType!==o6.Group?t.userPrincipalName:null,mail:Z6(t.tertiaryText)?null:t.tertiaryText,type:t.accountType,authenticationType:t.authenticationType};var t}));e.onChange&&e.onChange(n)}(t)},pickerSuggestionsProps:{noResultsFoundText:r({id:"Generic.noResultsFound"}),searchForMoreText:g&&!e.localOnly?r({id:"Generic.searchInDirectories"}):void 0,suggestionsContainerAriaLabel:r({id:"AriaLabel.peoplePicker.suggestionsContainer"})},disabled:e.disabled,pickerCalloutProps:{calloutMaxWidth:h.width<K8?300:0,className:"lt-reach-picker-callout"},inputProps:{id:e.inputId,required:e.required,"aria-required":e.required,"aria-label":e.inputAriaLabelResourceKey?r({id:e.inputAriaLabelResourceKey}):null},removeButtonAriaLabel:r({id:"AriaLabel.removeUserButton"})};return e.onEmptyInputFocus&&(v.onEmptyResolveSuggestions=function(){return function(e){if(function(e){return void 0!==e.length}(e))return O(e).map(y);return e.then((function(e){return O(e).map(y)}))}(e.onEmptyInputFocus())}),e.placeholderStringResourceKey&&0===m.length&&(v.inputProps.placeholder=r({id:e.placeholderStringResourceKey})),e.selectedItems&&(v.selectedItems=m.map((function(e){return y(e)}))),t.jsx(CEe,a_e({className:Yq(e.className,"people-picker")},{children:t.jsx(o.NormalPeoplePicker,a_e({},v,{componentRef:d,itemLimit:f?void 0:1}),void 0)}),void 0);function y(e){var t=Z6(e.mail)?null:e.mail,n=Z6(e.userPrincipalName)?null:e.userPrincipalName,i=Pw(e.displayName||e.mail||e.userPrincipalName),r=e.type===o6.User?n:e.type===o6.Group?t:null,o={id:e.id,tokenUniqueId:e.tokenUniqueId,tenantId:e.tenantId,userPrincipalName:e.userPrincipalName,text:e.displayName||e.mail,secondaryText:(r||"")+(t&&t!==r?" ("+t+")":""),tertiaryText:t,imageInitials:i,initialsColor:Ew(i),key:r,accountType:e.type,authenticationType:e.authenticationType};return a.avatars&&c(e.userPrincipalName).subscribe((function(e){return o.imageUrl=e})),o}function b(t,n){return s_e(this,void 0,void 0,(function(){var i,r,a;return l_e(this,(function(o){switch(o.label){case 0:if(!t&&0===t.length)return[2,[]];i=e.allowMailItems&&fw(t)&&{mail:t,userPrincipalName:t,displayName:t,type:o6.User},o.label=1;case 1:return o.trys.push([1,3,,4]),[4,u({search:t,type:e.accountType,includePendingInvitationUsers:e.includePendingInvitationUsers,includePendingRegistrationUsers:e.includePendingRegistrationUsers,localOnly:e.localOnly||n,excludeApiUsers:e.excludeApiUsers})];case 2:return r=o.sent(),i&&r.every((function(e){return!function(e,t){return(e.userPrincipalName||"").toLowerCase()===t.userPrincipalName.toLowerCase()||(e.mail||"").toLowerCase()===t.mail.toLowerCase()}(e,i)}))&&r.push(i),e.additionalSearch&&(a=e.additionalSearch(t))&&(r=r.concat(a)),[2,O(r).map(y)];case 3:return o.sent(),[2,i&&[i].map(y)];case 4:return[2]}}))}))}function O(t){if(!e.selectedItems&&!e.defaultSelectedItems&&!e.excludedItems)return t;var n=(e.excludedItems||[]).concat(e.selectedItems||e.defaultSelectedItems||[]);return t.filter((function(e){return n.every((function(t){return!function(e,t){if(e.id&&t.id)return e.id===t.id;if(e.tokenUniqueId&&t.tokenUniqueId)return e.tokenUniqueId===t.tokenUniqueId;return e.userPrincipalName===t.userPrincipalName}(t,e)}))}))}};var FEe,CEe=y.default.div.withConfig({displayName:"PeoplePicker__Container",componentId:"sc-1if6guq-0"})(FEe||(FEe=c_e(["\n .ms-BasePicker-text {\n padding: 3px 6px;\n }\n\n input.ms-BasePicker-input {\n font-size: 14px;\n }\n"],["\n .ms-BasePicker-text {\n padding: 3px 6px;\n }\n\n input.ms-BasePicker-input {\n font-size: 14px;\n }\n"]))),TEe=exe,DEe=v_e.f,AEe=pke,IEe=tSe,LEe=T_e,zEe=iSe,$Ee="".startsWith,REe=Math.min,QEe=zEe("startsWith"),jEe=!QEe&&!!function(){var e=DEe(String.prototype,"startsWith");return e&&!e.writable}();TEe({target:"String",proto:!0,forced:!jEe&&!QEe},{startsWith:function(e){var t=String(LEe(this));IEe(e);var n=AEe(REe(arguments.length>1?arguments[1]:void 0,t.length)),i=String(e);return $Ee?$Ee.call(t,i,n):t.slice(n,n+i.length)===i}});var MEe=twe,NEe=function(){var e=MEe(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},UEe=cwe.exports,qEe=twe,BEe=y_e,GEe=NEe,WEe="toString",XEe=RegExp.prototype,VEe=XEe.toString,YEe=BEe((function(){return"/a/b"!=VEe.call({source:"a",flags:"b"})})),ZEe=VEe.name!=WEe;(YEe||ZEe)&&UEe(RegExp.prototype,WEe,(function(){var e=qEe(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in XEe)?GEe.call(e):n)}),{unsafe:!0});var HEe,KEe=function(e){var n=e.fileName,i=e.url;return t.jsx(JEe,a_e({href:i,target:"_blank",download:n,onMouseDown:function(e){return e.preventDefault()}},{children:t.jsx("span",{children:n},void 0)}),void 0)},JEe=y.default.a.withConfig({displayName:"AttachedMediaDownloadLink__Host",componentId:"sc-8hqs4q-0"})(HEe||(HEe=c_e(["\n margin-bottom: ","px;\n &&& {\n width: 100%;\n display: block;\n color: ",";\n line-height: 1.5em;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n text-decoration: none;\n margin-bottom: ","px;\n }\n"],["\n margin-bottom: ","px;\n &&& {\n width: 100%;\n display: block;\n color: ",";\n line-height: 1.5em;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n text-decoration: none;\n margin-bottom: ","px;\n }\n"])),3,(function(e){return e.theme.palette.accent}),U8),eFe=function(e){var n=e.fileName,i=e.url,r=e.onPlay;return i?t.jsxs(aFe,a_e({className:"lt-reach-embedded-audio"},{children:[t.jsx(KEe,{fileName:n,url:i},void 0),t.jsxs("audio",a_e({onPlay:function(){return null==r?void 0:r(i)},controls:!0,title:n,controlsList:"nodownload"},{children:[t.jsx("source",{src:i,type:"audio/mpeg"},void 0),t.jsx(hS,{id:"Generic.audioReplayError",tagName:"p"},void 0)]}),void 0)]}),void 0):null};function tFe(e){var t=cG.getType(e);return t&&t.toString().startsWith("audio/")}var nFe,iFe,rFe,aFe=y.default.div.withConfig({displayName:"AudioFile__Host",componentId:"sc-wq9avv-0"})(nFe||(nFe=c_e(["\n width: 100%;\n"],["\n width: 100%;\n"])));y.default.div.withConfig({displayName:"GroupedListItemStyles__GroupedListItemHost",componentId:"sc-upeq9r-0"})(iFe||(iFe=c_e(["\n margin-top: ","px;\n &:first-child {\n margin-top: ","px;\n\n > h2 {\n margin-top: 0;\n }\n }\n"],["\n margin-top: ","px;\n &:first-child {\n margin-top: ","px;\n\n > h2 {\n margin-top: 0;\n }\n }\n"])),B8,U8),y.default.h2.withConfig({displayName:"GroupedListItemStyles__GroupedListItemTitle",componentId:"sc-upeq9r-1"})(rFe||(rFe=c_e(["\n margin: ","px 0 ","px 0;\n font-weight: normal;\n font-size: ","px;\n color: ",";\n"],["\n margin: ","px 0 ","px 0;\n font-weight: normal;\n font-size: ","px;\n color: ",";\n"])),B8,B8,20,(function(e){return e.theme.textColors.default}));var oFe,sFe,lFe,uFe,cFe,dFe,hFe=function(e){var n=e.children,i=e.deleteButton,r=e.domIdentifier,a=e.backgroundColor,o=e.className;return t.jsxs(mFe,a_e({className:o},{children:[i&&t.jsx(fFe,{children:i},void 0),t.jsx(pFe,a_e({"data-attachment":r,backgroundColor:a},{children:n}),void 0)]}),void 0)},pFe=y.default.div.withConfig({displayName:"AttachmentHost__Inner",componentId:"sc-mjwmvo-0"})(oFe||(oFe=c_e(["\n width: auto;\n border-radius: ","px;\n overflow: hidden;\n /* fix for iOS and Safari: overflow: hidden with border-radius */\n transform: translateZ(0);\n\n ","\n"],["\n width: auto;\n border-radius: ","px;\n overflow: hidden;\n /* fix for iOS and Safari: overflow: hidden with border-radius */\n transform: translateZ(0);\n\n ","\n"])),10,(function(e){return e.backgroundColor?"background-color: "+e.backgroundColor+";":"background-color: "+e.theme.palette.white+";"})),fFe=y.default.div.withConfig({displayName:"AttachmentHost__ButtonHost",componentId:"sc-mjwmvo-1"})(sFe||(sFe=c_e(["\n position: absolute;\n top: 0;\n right: 0;\n z-index: 1;\n background-color: ",";\n border-top-right-radius: ","px;\n border-bottom-left-radius: ","px;\n"],["\n position: absolute;\n top: 0;\n right: 0;\n z-index: 1;\n background-color: ",";\n border-top-right-radius: ","px;\n border-bottom-left-radius: ","px;\n"])),(function(e){return e.theme.palette.white}),9,10),mFe=y.default.div.withConfig({displayName:"AttachmentHost__Host",componentId:"sc-mjwmvo-2"})(lFe||(lFe=c_e(["\n position: relative;\n width: 100%;\n margin-top: ","px;\n"],["\n position: relative;\n width: 100%;\n margin-top: ","px;\n"])),q8),gFe=y.default(o.ActionButton).withConfig({displayName:"ActionButton",componentId:"sc-hmhuj9-0"})(uFe||(uFe=c_e(["\n &&:not([disabled]) {\n color: ",";\n\n i {\n color: ",";\n }\n }\n"],["\n &&:not([disabled]) {\n color: ",";\n\n i {\n color: ",";\n }\n }\n"])),(function(e){var t;return null!==(t=e.color)&&void 0!==t?t:e.theme.textColors.default}),(function(e){var t;return null!==(t=e.color)&&void 0!==t?t:e.theme.textColors.default}));y.default.div.withConfig({displayName:"AvailableSubscriptionList__Host",componentId:"sc-113n7q9-0"})(cFe||(cFe=c_e(["\n display: flex;\n flex-direction: column;\n"],["\n display: flex;\n flex-direction: column;\n"]))),y.default(gFe).withConfig({displayName:"AvailableSubscriptionList__SubscriptionButton",componentId:"sc-113n7q9-1"})(dFe||(dFe=c_e(["\n && {\n font-weight: bold;\n display: flex;\n flex-direction: row;\n justify-content: center;\n color: ",";\n }\n"],["\n && {\n font-weight: bold;\n display: flex;\n flex-direction: row;\n justify-content: center;\n color: ",";\n }\n"])),(function(e){return e.theme.palette.accent}));var vFe,yFe,bFe,OFe,_Fe=function(e){var n=e.children,i=o_e(e,["children"]);return t.jsx(o.FocusTrapCallout,a_e({},i,{className:Yq(DK,"lt-reach-callout",null==i?void 0:i.className),focusTrapProps:{isClickableOutsideFocusTrap:!0}},{children:n}),void 0)},wFe=function(e){var n=Wx().formatMessage,r=i.useState(!1),a=r[0],s=r[1],l=i.useContext(Bne).theme.palette.accent;return t.jsxs(h_e,a_e({modalProps:{isBlocking:!0,allowTouchBodyScroll:!0},hidden:!1,dialogContentProps:{showCloseButton:!e.hideCloseButton,type:e.hideCloseButton?o.DialogType.normal:o.DialogType.close,title:n({id:e.titleResourceKey},e.titleResourceValues),titleProps:{style:{color:l}}},onDismiss:e.onCancel},{children:[t.jsx(kFe,{children:t.jsx(hS,{id:e.infoResourceKey,tagName:"span",values:e.infoResourceValues},void 0)},void 0),t.jsx(xFe,{"data-verify-item-input":!0,onChange:function(t,n){var i=n===e.compareValue;i!==a&&s(i)},ariaLabel:n({id:e.inputAriaLabelResourceKey})},void 0),e.children,t.jsxs(o.DialogFooter,{children:[t.jsx(o.DefaultButton,a_e({onClick:e.onCancel,disabled:e.disabled},{children:t.jsx(hS,{id:"Generic.Cancel"},void 0)}),void 0),t.jsx(SFe,a_e({onClick:e.onConfirm,"data-delete-button":!0,disabled:!a||e.disabled},{children:t.jsx(hS,{id:"Generic.Delete"},void 0)}),void 0)]},void 0)]}),void 0)},kFe=y.default.span.withConfig({displayName:"ConfirmDeleteDialog__LinePreserverSpan",componentId:"sc-1ybmivq-0"})(vFe||(vFe=c_e(["\n white-space: pre-line;\n"],["\n white-space: pre-line;\n"]))),xFe=y.default(o.TextField).withConfig({displayName:"ConfirmDeleteDialog__StyledTextField",componentId:"sc-1ybmivq-1"})(yFe||(yFe=c_e(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),q8),SFe=y.default(o.PrimaryButton).withConfig({displayName:"ConfirmDeleteDialog__DeleteButton",componentId:"sc-1ybmivq-2"})(bFe||(bFe=c_e(["\n &&:not([disabled]) {\n background-color: ",";\n border-color: ",";\n color: ",";\n\n &:hover {\n background-color: ",";\n border-color: ",";\n color: ",";\n }\n }\n"],["\n &&:not([disabled]) {\n background-color: ",";\n border-color: ",";\n color: ",";\n\n &:hover {\n background-color: ",";\n border-color: ",";\n color: ",";\n }\n }\n"])),(function(e){return e.theme.palette.red}),(function(e){return e.theme.palette.red}),(function(e){return e.theme.palette.white}),(function(e){return e.theme.palette.redDark}),(function(e){return e.theme.palette.redDark}),(function(e){return e.theme.palette.white})),PFe=function(e){var n=e.showDialog,r=e.titleResourceKey,a=e.titleResourceValues,s=e.infoResourceKey,l=e.infoResourceValues,u=e.onConfirm,c=e.onClose,d=e.width,h=e.children,p=Wx().formatMessage,f=i.useContext(Bne).theme.palette.accent;return t.jsxs(h_e,a_e({hidden:!n,modalProps:{isBlocking:!0,styles:{scrollableContent:{width:d}}},dialogContentProps:{type:o.DialogType.normal,subText:s?p({id:s},l):"",title:p({id:r},a),titleProps:{style:{color:f}}},onDismiss:c},{children:[h,t.jsxs(o.DialogFooter,{children:[t.jsx(o.DefaultButton,a_e({onClick:c,"data-cancel-button":!0},{children:t.jsx(hS,{id:"Generic.Cancel"},void 0)}),void 0),t.jsx(o.PrimaryButton,a_e({"data-ok-button":!0,onClick:function(){null==u||u(),null==c||c()}},{children:t.jsx(hS,{id:"Generic.Ok"},void 0)}),void 0)]},void 0)]}),void 0)},EFe=function(e){var n=e.onConfirm,r=e.onCancel,a=Wx().formatMessage,s=i.useContext(Bne).theme.palette.accent;return t.jsx(h_e,a_e({modalProps:{isBlocking:!0},hidden:!1,dialogContentProps:{type:o.DialogType.close,title:a({id:"Events.editor.recurrence.resetDialogTitle"}),titleProps:{style:{color:s}}},onDismiss:r},{children:t.jsxs(FFe,{children:[t.jsx(hS,{id:"Events.editor.recurrence.resetDialogDescription",tagName:"span"},void 0),t.jsxs(o.DialogFooter,{children:[t.jsx(o.PrimaryButton,a_e({onClick:n},{children:t.jsx(hS,{id:"Events.editor.recurrence.reset"},void 0)}),void 0),t.jsx(o.DefaultButton,a_e({onClick:r},{children:t.jsx(hS,{id:"Generic.Cancel"},void 0)}),void 0)]},void 0)]},void 0)}),void 0)},FFe=y.default.div.withConfig({displayName:"ConfirmResetDialog__Host",componentId:"sc-akcggz-0"})(OFe||(OFe=c_e(["\n max-width: 600px;\n"],["\n max-width: 600px;\n"]))),CFe=function(e){var n=e.value,r=i.useContext(SS).language,a=function(e,t,n){void 0===t&&(t=Date.now());void 0===n&&(n={});var i=a_e(a_e({},zFe),n||{}),r=(+e-+t)/1e3;if(Math.abs(r)<i.second)return{value:Math.round(r),unit:"second"};var a=r/60;if(Math.abs(a)<i.minute)return{value:Math.round(a),unit:"minute"};var o=r/TFe;if(Math.abs(o)<i.hour)return{value:Math.round(o),unit:"hour"};var s=r/DFe;if(Math.abs(s)<i.day)return{value:Math.round(s),unit:"day"};var l=r/AFe;if(Math.round(Math.abs(l))>0&&Math.abs(l)<i.week)return{value:Math.round(l),unit:"week"};var u=new Date(e),c=new Date(t),d=u.getFullYear()-c.getFullYear(),h=12*d+u.getMonth()-c.getMonth();if(Math.round(Math.abs(h))>0&&Math.abs(h)<i.month)return{value:Math.round(h),unit:"month"};return{value:Math.round(d),unit:"year"}}(n),o=a.value,s=a.unit;return t.jsx(tS,a_e({locale:r},{children:t.jsx(uS,{value:o,numeric:"auto",unit:s,updateIntervalInSeconds:["second","minute","hour"].some((function(e){return e===s}))?10:void 0},void 0)}),void 0)},TFe=3600,DFe=86400,AFe=604800;var IFe,LFe,zFe={second:45,minute:45,hour:22,day:6,week:4,month:12},$Fe=function(e){return rs(e).isSame(new Date,"day")},RFe=function(e){var n=rs(e.value),i=n.toDate(),r=!e.showAsAbsolute&&(e.showAsRelative||$Fe(e.value)),a={dateTime:i.toISOString(),title:n.format("LLLL")};return!e.showWeekDay&&r?t.jsx(jFe,a_e({className:Yq(e.className)},a,{children:t.jsx(CFe,{value:i},void 0)}),void 0):t.jsxs(jFe,a_e({className:Yq(e.className)},a,{children:[t.jsx(pS,{weekday:e.showWeekDay?"long":void 0,day:"2-digit",month:"2-digit",year:"numeric",value:i},void 0)," ",t.jsx(fS,{value:i},void 0)]}),void 0)},QFe=function(e){var n=e.startDate,i=e.endDate,r=e.className;if(!n)return null;if(!i)return t.jsx("div",a_e({className:r},{children:t.jsx(RFe,{value:n,showWeekDay:!0},void 0)}),void 0);var a=rs(n),o=rs(i);return a.isSame(o,"d")?t.jsxs("div",a_e({className:r},{children:[t.jsx(RFe,{value:n,showWeekDay:!0},void 0)," - ",t.jsx(fS,{value:o.toDate()},void 0)]}),void 0):t.jsxs("div",a_e({className:r},{children:[t.jsx(RFe,{value:n,showWeekDay:!0},void 0)," - ",t.jsx(RFe,{value:i,showWeekDay:!0},void 0)]}),void 0)},jFe=y.default.time.withConfig({displayName:"DateTime__Host",componentId:"sc-ulo84j-0"})(IFe||(IFe=c_e(["\n white-space: nowrap;\n"],["\n white-space: nowrap;\n"])));y.default.div.withConfig({displayName:"Divider",componentId:"sc-1qr9ydh-0"})(LFe||(LFe=c_e(["\n margin: 1em 0;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n\n ::before {\n content: '';\n position: absolute;\n left: 0;\n display: block;\n width: 100%;\n border-top: 1px solid rgba(0, 0, 0, 0.1);\n }\n\n span {\n padding: 0.5em;\n text-transform: uppercase;\n z-index: 1;\n color: ",";\n background-color: #fff;\n\n @media all and (max-width: 767px) {\n background-color: ",";\n }\n }\n"],["\n margin: 1em 0;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n\n ::before {\n content: '';\n position: absolute;\n left: 0;\n display: block;\n width: 100%;\n border-top: 1px solid rgba(0, 0, 0, 0.1);\n }\n\n span {\n padding: 0.5em;\n text-transform: uppercase;\n z-index: 1;\n color: ",";\n background-color: #fff;\n\n @media all and (max-width: 767px) {\n background-color: ",";\n }\n }\n"])),(function(e){return e.theme.palette.neutralTertiary}),Rne);var MFe,NFe,UFe,qFe,BFe,GFe,WFe,XFe=function(e){var n,i=e.children,r=o_e(e,["children"]);return t.jsx(o.Dropdown,a_e({},r,{calloutProps:a_e(a_e({},r.calloutProps||{}),{className:Yq(DK,"lt-reach-dropdown",null===(n=r.calloutProps)||void 0===n?void 0:n.className)})},{children:i}),void 0)},VFe=function(e){var n=e.svg,i=e.icon,r=e.styleDefinition,a=e.emptyMessageResources,s=void 0===a?["EmptySearchResult.info1","EmptySearchResult.info2"]:a,l=e.additionalButton,u=e.className,c=(null==r?void 0:r.size)||"large";return t.jsx(YFe,a_e({className:u,offset:null==r?void 0:r.offset,"data-nothing-found":!0},{children:t.jsxs(ZFe,a_e({hasLargeParagraphStyle:!i,hasLargeSvgStyle:"large"===c},{children:[i&&t.jsx(o.Icon,{iconName:i},void 0),!i&&n,s.map((function(e,n){return t.jsx("p",{children:t.jsx(hS,{id:e},void 0)},n)})),l]}),void 0)}),void 0)},YFe=y.default.div.withConfig({displayName:"EmptyList__Container",componentId:"sc-11jeabk-0"})(UFe||(UFe=c_e(["\n min-width: 300px;\n max-width: 100%;\n\n ","\n"],["\n min-width: 300px;\n max-width: 100%;\n\n ","\n"])),(function(e){return e.offset?a.css(MFe||(MFe=c_e(["\n margin-top: ","px;\n "],["\n margin-top: ","px;\n "])),e.offset):a.css(NFe||(NFe=c_e(["\n margin: auto; /* ensure it's vertically centered in a flex container */\n "],["\n margin: auto; /* ensure it's vertically centered in a flex container */\n "])))})),ZFe=y.default.div.withConfig({displayName:"EmptyList__Inner",componentId:"sc-11jeabk-1"})(GFe||(GFe=c_e(["\n display: flex;\n flex-direction: column;\n align-items: center;\n text-align: center;\n word-break: normal;\n margin: ","px 0;\n\n > p {\n font-size: ","px;\n margin: 0;\n min-width: 100%;\n width: ","px;\n }\n\n ","\n\n ","\n\n svg {\n color: ",";\n height: auto;\n max-width: 400px; /* it ensures svg is not too big */\n }\n\n > p + p {\n margin-top: ","px;\n }\n\n @media (max-width: ","px) {\n svg {\n transform: scale(0.8);\n }\n p {\n font-size: ","px;\n }\n }\n\n && button {\n height: ","px;\n align-items: center;\n margin-top: ","px;\n padding: 0 12px;\n\n i {\n margin: 0 8px 0 0;\n }\n\n span {\n font-weight: normal;\n }\n }\n"],["\n display: flex;\n flex-direction: column;\n align-items: center;\n text-align: center;\n word-break: normal;\n margin: ","px 0;\n\n > p {\n font-size: ","px;\n margin: 0;\n min-width: 100%;\n width: ","px;\n }\n\n ","\n\n ","\n\n svg {\n color: ",";\n height: auto;\n max-width: 400px; /* it ensures svg is not too big */\n }\n\n > p + p {\n margin-top: ","px;\n }\n\n @media (max-width: ","px) {\n svg {\n transform: scale(0.8);\n }\n p {\n font-size: ","px;\n }\n }\n\n && button {\n height: ","px;\n align-items: center;\n margin-top: ","px;\n padding: 0 12px;\n\n i {\n margin: 0 8px 0 0;\n }\n\n span {\n font-weight: normal;\n }\n }\n"])),q8,a7,U8,(function(e){return!e.hasLargeSvgStyle&&a.css(qFe||(qFe=c_e(["\n > p {\n font-size: ","px;\n color: ",";\n }\n\n svg {\n margin-bottom: ","px;\n }\n "],["\n > p {\n font-size: ","px;\n color: ",";\n }\n\n svg {\n margin-bottom: ","px;\n }\n "])),i7,e.theme.palette.neutralSecondary,B8)}),(function(e){return e.hasLargeParagraphStyle&&e.hasLargeSvgStyle&&a.css(BFe||(BFe=c_e(["\n > p {\n font-size: ","px;\n font-weight: 500;\n margin: ","px 0 0;\n color: ",";\n opacity: 80%;\n }\n\n > i {\n font-size: 100px;\n padding-bottom: ","px;\n padding-top: ","px;\n\n @media (min-height: ","px) {\n padding-top: 150px;\n }\n }\n "],["\n > p {\n font-size: ","px;\n font-weight: 500;\n margin: ","px 0 0;\n color: ",";\n opacity: 80%;\n }\n\n > i {\n font-size: 100px;\n padding-bottom: ","px;\n padding-top: ","px;\n\n @media (min-height: ","px) {\n padding-top: 150px;\n }\n }\n "])),32,q8,(function(e){return e.theme.palette.accent}),B8,B8,X8)}),(function(e){return e.theme.palette.accent}),3,J8,24,B8,B8),HFe=function(e,t){return null!=e&&(e&t)===t};y.default.p.withConfig({displayName:"ErrorSection__Host",componentId:"sc-1muscsm-0"})(WFe||(WFe=c_e(["\n max-width: 600px;\n margin: 0;\n"],["\n max-width: 600px;\n margin: 0;\n"])));var KFe=exe,JFe=txe,eCe=ixe,tCe=y_e,nCe=dxe,iCe=[],rCe=iCe.sort,aCe=tCe((function(){iCe.sort(void 0)})),oCe=tCe((function(){iCe.sort(null)})),sCe=nCe("sort");KFe({target:"Array",proto:!0,forced:aCe||!oCe||!sCe},{sort:function(e){return void 0===e?rCe.call(eCe(this)):rCe.call(eCe(this),JFe(e))}});var lCe=function(e){var n=e.languages,i=e.translations,r=e.onChange,a=e.placeholderStringResource,o=e.customPlaceholder,s=Wx(),l=s.formatMessage;return t.jsx(t.Fragment,{children:Q5.apply(void 0,u_e([s],n)).sort((function(e,t){return e.localizedName<t.localizedName?-1:1})).map((function(e){return t.jsx(fCe,{children:t.jsx(mCe,{"data-translation-field":e.code,placeholder:null!=o?o:l({id:a},{lang:e.localizedName}),label:e.localizedName,value:i[e.code],onChange:function(t,n){var a;r(a_e(a_e({},i),((a={})[e.code]=n,a)))}},void 0)},e.code)}))},void 0)};y.default.div.withConfig({displayName:"FieldTranslationEditor__Host",componentId:"sc-1s8zb6d-0"})(uCe||(uCe=c_e(["\n display: flex;\n flex-flow: column;\n flex: 1 1 100%;\n"],["\n display: flex;\n flex-flow: column;\n flex: 1 1 100%;\n"])));var uCe,cCe,dCe,hCe,pCe,fCe=y.default.div.withConfig({displayName:"FieldTranslationEditor__TranslationField",componentId:"sc-1s8zb6d-1"})(cCe||(cCe=c_e(["\n display: flex;\n label {\n font-weight: bold !important;\n }\n"],["\n display: flex;\n label {\n font-weight: bold !important;\n }\n"]))),mCe=y.default(o.TextField).withConfig({displayName:"FieldTranslationEditor__StyledTextField",componentId:"sc-1s8zb6d-2"})(dCe||(dCe=c_e(["\n margin-top: 5px;\n flex: 1 1 auto;\n"],["\n margin-top: 5px;\n flex: 1 1 auto;\n"])));y.default.div.withConfig({displayName:"FieldTranslationEditor__Header",componentId:"sc-1s8zb6d-3"})(hCe||(hCe=c_e(["\n cursor: default;\n display: flex;\n justify-content: space-between;\n align-items: center;\n font-weight: bold;\n padding-top: 10px;\n"],["\n cursor: default;\n display: flex;\n justify-content: space-between;\n align-items: center;\n font-weight: bold;\n padding-top: 10px;\n"]))),y.default.div.withConfig({displayName:"FieldTranslationEditor__Buttons",componentId:"sc-1s8zb6d-4"})(pCe||(pCe=c_e(["\n display: flex;\n"],["\n display: flex;\n"])));var gCe,vCe=function(e){var n=i.useState(null==e.delay),r=n[0],a=n[1];return i.useEffect((function(){if(null!=!e.delay){var t=setTimeout((function(){return a(!0)}),e.delay);return function(){return clearTimeout(t)}}}),[e.delay]),r?t.jsx(yCe,a_e({className:e.className},{children:t.jsx(o.Spinner,a_e({},e,{className:""}),void 0)}),void 0):null},yCe=y.default.div.withConfig({displayName:"Spinner__Host",componentId:"sc-1wroad6-0"})(gCe||(gCe=c_e(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n margin-top: 10%;\n > .ms-Spinner {\n flex: 0 0 auto;\n > .ms-Spinner-circle {\n border-color: #b2b2b2 !important;\n border-top-color: #929292 !important;\n }\n }\n"],["\n display: flex;\n flex-direction: column;\n justify-content: center;\n margin-top: 10%;\n > .ms-Spinner {\n flex: 0 0 auto;\n > .ms-Spinner-circle {\n border-color: #b2b2b2 !important;\n border-top-color: #929292 !important;\n }\n }\n"]))),bCe=g_e.Promise,OCe=cwe.exports,_Ce=oke,wCe=J_e,kCe=b_e,xCe=Yxe("species"),SCe=function(e){var t=_Ce(e),n=wCe.f;kCe&&t&&!t[xCe]&&n(t,xCe,{configurable:!0,get:function(){return this}})},PCe={exports:{}},ECe=ASe,FCe=Yxe("iterator"),CCe=Array.prototype,TCe=txe,DCe=function(e,t,n){if(TCe(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}},ACe={};ACe[Yxe("toStringTag")]="z";var ICe="[object z]"===String(ACe),LCe=P_e,zCe=Yxe("toStringTag"),$Ce="Arguments"==LCe(function(){return arguments}()),RCe=ICe?LCe:function(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),zCe))?n:$Ce?LCe(t):"Object"==(i=LCe(t))&&"function"==typeof t.callee?"Arguments":i},QCe=RCe,jCe=ASe,MCe=Yxe("iterator"),NCe=twe,UCe=twe,qCe=function(e){return void 0!==e&&(ECe.Array===e||CCe[FCe]===e)},BCe=pke,GCe=DCe,WCe=function(e){if(null!=e)return e[MCe]||e["@@iterator"]||jCe[QCe(e)]},XCe=function(e,t,n,i){try{return i?t(NCe(n)[0],n[1]):t(n)}catch(t){var r=e.return;throw void 0!==r&&NCe(r.call(e)),t}},VCe=function(e,t){this.stopped=e,this.result=t},YCe=PCe.exports=function(e,t,n,i,r){var a,o,s,l,u,c,d,h=GCe(t,n,i?2:1);if(r)a=e;else{if("function"!=typeof(o=WCe(e)))throw TypeError("Target is not iterable");if(qCe(o)){for(s=0,l=BCe(e.length);l>s;s++)if((u=i?h(UCe(d=e[s])[0],d[1]):h(e[s]))&&u instanceof VCe)return u;return new VCe(!1)}a=o.call(e)}for(c=a.next;!(d=c.call(a)).done;)if("object"==typeof(u=XCe(a,h,d.value,i))&&u&&u instanceof VCe)return u;return new VCe(!1)};YCe.stop=function(e){return new VCe(!0,e)};var ZCe=Yxe("iterator"),HCe=!1;try{var KCe=0,JCe={next:function(){return{done:!!KCe++}},return:function(){HCe=!0}};JCe[ZCe]=function(){return this},Array.from(JCe,(function(){throw 2}))}catch(e){}var eTe,tTe,nTe,iTe=twe,rTe=txe,aTe=Yxe("species"),oTe=function(e,t){var n,i=iTe(e).constructor;return void 0===i||null==(n=iTe(i)[aTe])?t:rTe(n)},sTe=oke("navigator","userAgent")||"",lTe=/(iphone|ipod|ipad).*applewebkit/i.test(sTe),uTe=g_e,cTe=y_e,dTe=P_e,hTe=DCe,pTe=hSe,fTe=U_e,mTe=lTe,gTe=uTe.location,vTe=uTe.setImmediate,yTe=uTe.clearImmediate,bTe=uTe.process,OTe=uTe.MessageChannel,_Te=uTe.Dispatch,wTe=0,kTe={},xTe="onreadystatechange",STe=function(e){if(kTe.hasOwnProperty(e)){var t=kTe[e];delete kTe[e],t()}},PTe=function(e){return function(){STe(e)}},ETe=function(e){STe(e.data)},FTe=function(e){uTe.postMessage(e+"",gTe.protocol+"//"+gTe.host)};vTe&&yTe||(vTe=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return kTe[++wTe]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},eTe(wTe),wTe},yTe=function(e){delete kTe[e]},"process"==dTe(bTe)?eTe=function(e){bTe.nextTick(PTe(e))}:_Te&&_Te.now?eTe=function(e){_Te.now(PTe(e))}:OTe&&!mTe?(nTe=(tTe=new OTe).port2,tTe.port1.onmessage=ETe,eTe=hTe(nTe.postMessage,nTe,1)):!uTe.addEventListener||"function"!=typeof postMessage||uTe.importScripts||cTe(FTe)||"file:"===gTe.protocol?eTe=xTe in fTe("script")?function(e){pTe.appendChild(fTe("script")).onreadystatechange=function(){pTe.removeChild(this),STe(e)}}:function(e){setTimeout(PTe(e),0)}:(eTe=FTe,uTe.addEventListener("message",ETe,!1)));var CTe,TTe,DTe,ATe,ITe,LTe,zTe,$Te,RTe={set:vTe,clear:yTe},QTe=g_e,jTe=v_e.f,MTe=P_e,NTe=RTe.set,UTe=lTe,qTe=QTe.MutationObserver||QTe.WebKitMutationObserver,BTe=QTe.process,GTe=QTe.Promise,WTe="process"==MTe(BTe),XTe=jTe(QTe,"queueMicrotask"),VTe=XTe&&XTe.value;VTe||(CTe=function(){var e,t;for(WTe&&(e=BTe.domain)&&e.exit();TTe;){t=TTe.fn,TTe=TTe.next;try{t()}catch(e){throw TTe?ATe():DTe=void 0,e}}DTe=void 0,e&&e.enter()},WTe?ATe=function(){BTe.nextTick(CTe)}:qTe&&!UTe?(ITe=!0,LTe=document.createTextNode(""),new qTe(CTe).observe(LTe,{characterData:!0}),ATe=function(){LTe.data=ITe=!ITe}):GTe&>e.resolve?(zTe=GTe.resolve(void 0),$Te=zTe.then,ATe=function(){$Te.call(zTe,CTe)}):ATe=function(){NTe.call(QTe,CTe)});var YTe=VTe||function(e){var t={fn:e,next:void 0};DTe&&(DTe.next=t),TTe||(TTe=t,ATe()),DTe=t},ZTe={},HTe=txe,KTe=function(e){var t,n;this.promise=new e((function(e,i){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=i})),this.resolve=HTe(t),this.reject=HTe(n)};ZTe.f=function(e){return new KTe(e)};var JTe,eDe,tDe=twe,nDe=L_e,iDe=ZTe,rDe=g_e,aDe=sTe,oDe=g_e.process,sDe=oDe&&oDe.versions,lDe=sDe&&sDe.v8;lDe?eDe=(JTe=lDe.split("."))[0]+JTe[1]:aDe&&(!(JTe=aDe.match(/Edge\/(\d+)/))||JTe[1]>=74)&&(JTe=aDe.match(/Chrome\/(\d+)/))&&(eDe=JTe[1]);var uDe,cDe,dDe,hDe,pDe=eDe&&+eDe,fDe=exe,mDe=g_e,gDe=oke,vDe=bCe,yDe=cwe.exports,bDe=function(e,t,n){for(var i in t)OCe(e,i,t[i],n);return e},ODe=YSe,_De=SCe,wDe=L_e,kDe=txe,xDe=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},SDe=P_e,PDe=bwe,EDe=PCe.exports,FDe=function(e,t){if(!t&&!HCe)return!1;var n=!1;try{var i={};i[ZCe]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n},CDe=oTe,TDe=RTe.set,DDe=YTe,ADe=function(e,t){if(tDe(e),nDe(t)&&t.constructor===e)return t;var n=iDe.f(e);return(0,n.resolve)(t),n.promise},IDe=function(e,t){var n=rDe.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))},LDe=ZTe,zDe=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},$De=Vwe,RDe=Wke,QDe=pDe,jDe=Yxe("species"),MDe="Promise",NDe=$De.get,UDe=$De.set,qDe=$De.getterFor(MDe),BDe=vDe,GDe=mDe.TypeError,WDe=mDe.document,XDe=mDe.process,VDe=gDe("fetch"),YDe=LDe.f,ZDe=YDe,HDe="process"==SDe(XDe),KDe=!!(WDe&&WDe.createEvent&&mDe.dispatchEvent),JDe="unhandledrejection",eAe=RDe(MDe,(function(){if(!(PDe(BDe)!==String(BDe))){if(66===QDe)return!0;if(!HDe&&"function"!=typeof PromiseRejectionEvent)return!0}if(QDe>=51&&/native code/.test(BDe))return!1;var e=BDe.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[jDe]=t,!(e.then((function(){}))instanceof t)})),tAe=eAe||!FDe((function(e){BDe.all(e).catch((function(){}))})),nAe=function(e){var t;return!(!wDe(e)||"function"!=typeof(t=e.then))&&t},iAe=function(e,t,n){if(!t.notified){t.notified=!0;var i=t.reactions;DDe((function(){for(var r=t.value,a=1==t.state,o=0;i.length>o;){var s,l,u,c=i[o++],d=a?c.ok:c.fail,h=c.resolve,p=c.reject,f=c.domain;try{d?(a||(2===t.rejection&&sAe(e,t),t.rejection=1),!0===d?s=r:(f&&f.enter(),s=d(r),f&&(f.exit(),u=!0)),s===c.promise?p(GDe("Promise-chain cycle")):(l=nAe(s))?l.call(s,h,p):h(s)):p(r)}catch(e){f&&!u&&f.exit(),p(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&aAe(e,t)}))}},rAe=function(e,t,n){var i,r;KDe?((i=WDe.createEvent("Event")).promise=t,i.reason=n,i.initEvent(e,!1,!0),mDe.dispatchEvent(i)):i={promise:t,reason:n},(r=mDe["on"+e])?r(i):e===JDe&&IDe("Unhandled promise rejection",n)},aAe=function(e,t){TDe.call(mDe,(function(){var n,i=t.value;if(oAe(t)&&(n=zDe((function(){HDe?XDe.emit("unhandledRejection",i,e):rAe(JDe,e,i)})),t.rejection=HDe||oAe(t)?2:1,n.error))throw n.value}))},oAe=function(e){return 1!==e.rejection&&!e.parent},sAe=function(e,t){TDe.call(mDe,(function(){HDe?XDe.emit("rejectionHandled",e):rAe("rejectionhandled",e,t.value)}))},lAe=function(e,t,n,i){return function(r){e(t,n,r,i)}},uAe=function(e,t,n,i){t.done||(t.done=!0,i&&(t=i),t.value=n,t.state=2,iAe(e,t,!0))},cAe=function(e,t,n,i){if(!t.done){t.done=!0,i&&(t=i);try{if(e===n)throw GDe("Promise can't be resolved itself");var r=nAe(n);r?DDe((function(){var i={done:!1};try{r.call(n,lAe(cAe,e,i,t),lAe(uAe,e,i,t))}catch(n){uAe(e,i,n,t)}})):(t.value=n,t.state=1,iAe(e,t,!1))}catch(n){uAe(e,{done:!1},n,t)}}};eAe&&(BDe=function(e){xDe(this,BDe,MDe),kDe(e),uDe.call(this);var t=NDe(this);try{e(lAe(cAe,this,t),lAe(uAe,this,t))}catch(e){uAe(this,t,e)}},(uDe=function(e){UDe(this,{type:MDe,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=bDe(BDe.prototype,{then:function(e,t){var n=qDe(this),i=YDe(CDe(this,BDe));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=HDe?XDe.domain:void 0,n.parent=!0,n.reactions.push(i),0!=n.state&&iAe(this,n,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),cDe=function(){var e=new uDe,t=NDe(e);this.promise=e,this.resolve=lAe(cAe,e,t),this.reject=lAe(uAe,e,t)},LDe.f=YDe=function(e){return e===BDe||e===dDe?new cDe(e):ZDe(e)},"function"==typeof vDe&&(hDe=vDe.prototype.then,yDe(vDe.prototype,"then",(function(e,t){var n=this;return new BDe((function(e,t){hDe.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof VDe&&fDe({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return ADe(BDe,VDe.apply(mDe,arguments))}}))),fDe({global:!0,wrap:!0,forced:eAe},{Promise:BDe}),ODe(BDe,MDe,!1),_De(MDe),dDe=gDe(MDe),fDe({target:MDe,stat:!0,forced:eAe},{reject:function(e){var t=YDe(this);return t.reject.call(void 0,e),t.promise}}),fDe({target:MDe,stat:!0,forced:eAe},{resolve:function(e){return ADe(this,e)}}),fDe({target:MDe,stat:!0,forced:tAe},{all:function(e){var t=this,n=YDe(t),i=n.resolve,r=n.reject,a=zDe((function(){var n=kDe(t.resolve),a=[],o=0,s=1;EDe(e,(function(e){var l=o++,u=!1;a.push(void 0),s++,n.call(t,e).then((function(e){u||(u=!0,a[l]=e,--s||i(a))}),r)})),--s||i(a)}));return a.error&&r(a.value),n.promise},race:function(e){var t=this,n=YDe(t),i=n.reject,r=zDe((function(){var r=kDe(t.resolve);EDe(e,(function(e){r.call(t,e).then(n.resolve,i)}))}));return r.error&&i(r.value),n.promise}});var dAe={},hAe=y_e;function pAe(e,t){return RegExp(e,t)}dAe.UNSUPPORTED_Y=hAe((function(){var e=pAe("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),dAe.BROKEN_CARET=hAe((function(){var e=pAe("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));var fAe=NEe,mAe=dAe,gAe=RegExp.prototype.exec,vAe=String.prototype.replace,yAe=gAe,bAe=function(){var e=/a/,t=/b*/g;return gAe.call(e,"a"),gAe.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),OAe=mAe.UNSUPPORTED_Y||mAe.BROKEN_CARET,_Ae=void 0!==/()??/.exec("")[1];(bAe||_Ae||OAe)&&(yAe=function(e){var t,n,i,r,a=this,o=OAe&&a.sticky,s=fAe.call(a),l=a.source,u=0,c=e;return o&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),c=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(l="(?: "+l+")",c=" "+c,u++),n=new RegExp("^(?:"+l+")",s)),_Ae&&(n=new RegExp("^"+l+"$(?!\\s)",s)),bAe&&(t=a.lastIndex),i=gAe.call(o?n:a,c),o?i?(i.input=i.input.slice(u),i[0]=i[0].slice(u),i.index=a.lastIndex,a.lastIndex+=i[0].length):a.lastIndex=0:bAe&&i&&(a.lastIndex=a.global?i.index+i[0].length:t),_Ae&&i&&i.length>1&&vAe.call(i[0],n,(function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(i[r]=void 0)})),i});var wAe=yAe;exe({target:"RegExp",proto:!0,forced:/./.exec!==wAe},{exec:wAe});var kAe,xAe=cwe.exports,SAe=y_e,PAe=Yxe,EAe=wAe,FAe=uwe,CAe=PAe("species"),TAe=!SAe((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),DAe="$0"==="a".replace(/./,"$0"),AAe=PAe("replace"),IAe=!!/./[AAe]&&""===/./[AAe]("a","$0"),LAe=!SAe((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),zAe=function(e,t,n,i){var r=PAe(e),a=!SAe((function(){var t={};return t[r]=function(){return 7},7!=""[e](t)})),o=a&&!SAe((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[CAe]=function(){return n},n.flags="",n[r]=/./[r]),n.exec=function(){return t=!0,null},n[r](""),!t}));if(!a||!o||"replace"===e&&(!TAe||!DAe||IAe)||"split"===e&&!LAe){var s=/./[r],l=n(r,""[e],(function(e,t,n,i,r){return t.exec===EAe?a&&!r?{done:!0,value:s.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}}),{REPLACE_KEEPS_$0:DAe,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:IAe}),u=l[0],c=l[1];xAe(String.prototype,e,u),xAe(RegExp.prototype,r,2==t?function(e,t){return c.call(e,this,t)}:function(e){return c.call(e,this)})}i&&FAe(RegExp.prototype[r],"sham",!0)},$Ae=cke,RAe=T_e,QAe=function(e){return function(t,n){var i,r,a=String(RAe(t)),o=$Ae(n),s=a.length;return o<0||o>=s?e?"":void 0:(i=a.charCodeAt(o))<55296||i>56319||o+1===s||(r=a.charCodeAt(o+1))<56320||r>57343?e?a.charAt(o):i:e?a.slice(o,o+2):r-56320+(i-55296<<10)+65536}},jAe={codeAt:QAe(!1),charAt:QAe(!0)}.charAt,MAe=function(e,t,n){return t+(n?jAe(e,t).length:1)},NAe=P_e,UAe=wAe,qAe=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==NAe(e))throw TypeError("RegExp#exec called on incompatible receiver");return UAe.call(e,t)},BAe=zAe,GAe=Jxe,WAe=twe,XAe=T_e,VAe=oTe,YAe=MAe,ZAe=pke,HAe=qAe,KAe=wAe,JAe=y_e,eIe=[].push,tIe=Math.min,nIe=4294967295,iIe=!JAe((function(){return!RegExp(nIe,"y")}));BAe("split",2,(function(e,t,n){var i;return i="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var i=String(XAe(this)),r=void 0===n?nIe:n>>>0;if(0===r)return[];if(void 0===e)return[i];if(!GAe(e))return t.call(i,e,r);for(var a,o,s,l=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),c=0,d=new RegExp(e.source,u+"g");(a=KAe.call(d,i))&&!((o=d.lastIndex)>c&&(l.push(i.slice(c,a.index)),a.length>1&&a.index<i.length&&eIe.apply(l,a.slice(1)),s=a[0].length,c=o,l.length>=r));)d.lastIndex===a.index&&d.lastIndex++;return c===i.length?!s&&d.test("")||l.push(""):l.push(i.slice(c)),l.length>r?l.slice(0,r):l}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var r=XAe(this),a=null==t?void 0:t[e];return void 0!==a?a.call(t,r,n):i.call(String(r),t,n)},function(e,r){var a=n(i,e,this,r,i!==t);if(a.done)return a.value;var o=WAe(e),s=String(this),l=VAe(o,RegExp),u=o.unicode,c=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(iIe?"y":"g"),d=new l(iIe?o:"^(?:"+o.source+")",c),h=void 0===r?nIe:r>>>0;if(0===h)return[];if(0===s.length)return null===HAe(d,s)?[s]:[];for(var p=0,f=0,m=[];f<s.length;){d.lastIndex=iIe?f:0;var g,v=HAe(d,iIe?s:s.slice(f));if(null===v||(g=tIe(ZAe(d.lastIndex+(iIe?0:f)),s.length))===p)f=YAe(s,f,u);else{if(m.push(s.slice(p,f)),m.length===h)return m;for(var y=1;y<=v.length-1;y++)if(m.push(v[y]),m.length===h)return m;f=p=g}}return m.push(s.slice(p)),m}]}),!iIe),function(e){e.mp4="video/mp4",e.webm="video/webm",e.quicktime="video/quicktime"}(kAe||(kAe={}));var rIe=function(e){var n=e.fileName,i=e.url,r=e.onPlay;if(!i)return null;var a="safari"===og?i+"#t=0.1":i;return t.jsxs("div",a_e({className:"lt-reach-embedded-video"},{children:[t.jsx(KEe,{fileName:n,url:i},void 0),t.jsxs("video",a_e({onPlay:function(){return null==r?void 0:r(i)},preload:"metadata",controls:!0,title:n,width:"auto",height:"auto"},{children:[t.jsx("source",{src:a,type:"video/mp4"},void 0),t.jsx(hS,{id:"Generic.videoReplayError",tagName:"p"},void 0)]}),void 0)]}),void 0)};function aIe(e){var t,n="mac"===as.deviceInfo.operatingSystem,i=null===(t=cG.getType(e))||void 0===t?void 0:t.toString();return!!i&&(!!i.startsWith(kAe.mp4)||(n?i.startsWith(kAe.quicktime):i.startsWith(kAe.webm)))}var oIe,sIe,lIe=function(e,t){return"\n box-shadow: "+e/2+"px "+t/2+"px "+(Math.abs(e)+Math.abs(t))+"px grey;\n "},uIe=function(e){return"\n &:-moz-placeholder {\n "+e+";\n }\n &::-moz-placeholder {\n "+e+";\n }\n &:-ms-input-placeholder {\n "+e+";\n }\n &::-webkit-input-placeholder {\n "+e+";\n }\n "},cIe=function(e,t,n){return a.css(sIe||(sIe=c_e(["\n display: block;\n display: -webkit-box;\n max-height: ","px;\n font-size: ","px;\n line-height: ",";\n -webkit-line-clamp: ",";\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n "],["\n display: block;\n display: -webkit-box;\n max-height: ","px;\n font-size: ","px;\n line-height: ",";\n -webkit-line-clamp: ",";\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n "])),t*n*e,t,n,e)};function dIe(e){var t=new Image,n=new Promise((function(e){t.onload=function(t){var n=t.currentTarget;e({width:n.width,height:n.height})}}));return t.src=e,n}function hIe(e){return s_e(this,void 0,void 0,(function(){return l_e(this,(function(t){switch(t.label){case 0:return null==e||0===e.length?[2,null]:[4,Promise.all(e.map(dIe))];case 1:return[2,t.sent()]}}))}))}function pIe(e){return tFe(e)?"MusicInCollectionFill":aIe(e)?"Video":gIe(null==e?void 0:e.split(".").pop().toLowerCase())}function fIe(e){switch(e){case"WordDocument":return"#1C5FC0";case"ExcelDocument":return"#138147";case"PowerPointDocument":return"#CA4B27";case"VisioDocument":return"#1C5FBF";case"PDF":return"#CF1700";default:return"#000"}}function mIe(e){switch(e){case"VisioDocument":case"WordDocument":case"ExcelDocument":case"PowerPointDocument":return-55;default:return-50}}function gIe(e){switch(null==e?void 0:e.toLowerCase()){case"vsdx":return"VisioDocument";case"rar":case"zip":case"7z":return"ZipFolder";case"pdf":return"PDF";case"doc":case"docx":return"WordDocument";case"xls":case"xlsx":case"csv":return"ExcelDocument";case"ppt":case"pptx":case"potx":case"ppsx":return"PowerPointDocument";case"mp4":case"webm":case"mpeg":case"avi":case"ogv":return"Video";case"aac":case"mp3":case"oga":case"opus":case"wav":case"weba":return"MusicInCollectionFill";case"bmp":case"gif":case"ico":case"jpeg":case"jpg":case"png":case"svg":case"tif":case"webp":return"FileImage";default:return"Page"}}function vIe(){var e=aq(),t=rq(),n=t.createApiUrl,r=t.fetchFromApi,a=i.useContext(OS).identifier,o=Am(),s=w7().interaction,l=null==a?void 0:a.id;return i.useMemo((function(){return{exchangeShortLivedToken:function(e){return s_e(this,void 0,void 0,(function(){var t;return l_e(this,(function(n){switch(n.label){case 0:return e?[4,r("/file_access_token/types/short_lived",{method:"POST",headers:{authorization:"Bearer "+e,"subscription-id":l}})]:[2,null];case 1:return[2,200!==(t=n.sent()).status?null:t.text()]}}))}))},getPublishableItemShortLivedToken:function(t,n){return e.custom(t+"/"+n+"/file_access_token/types/short_lived").get().then((function(e){return e.body().data()}))},createDownloadClickHandler:function(e,t,n,i,r){var a=this;return function(){return s_e(a,void 0,void 0,(function(){var a;return l_e(this,(function(l){switch(l.label){case 0:return[4,t()];case 1:return a=l.sent(),window.open(a,"ios"===o.deviceInfo.operatingSystem?"_self":e),s({event:f7.downloadFile,action:m7.click,value:a,item:{id:n,type:i,parentId:r}}),[2]}}))}))}}}}),[l,r,n,e,module])}var yIe,bIe,OIe,_Ie,wIe,kIe,xIe,SIe,PIe,EIe,FIe,CIe,TIe,DIe,AIe,IIe,LIe,zIe,$Ie=function(e){var n=e.files,i=e.onDeleteClick,r=e.getFileUrl,a=e.fileAccessToken,o=e.onPlayVideo,s=e.onPlayAudio,l=e.disabled,u=e.parentId,c=e.itemResourceType,d=e.className;if(!n||0===n.length)return null;var h=n.filter((function(e){return r&&tFe(e.filename)})),p=n.filter((function(e){return r&&aIe(e.filename)})),f=n.filter((function(e){return!h.includes(e)&&!p.includes(e)}));return t.jsxs(t.Fragment,{children:[p.length>0&&t.jsx(QIe,a_e({className:d,"data-preload-video":"safari"===og},{children:p.map((function(e){return t.jsx(jIe,{children:t.jsx(rIe,{fileName:e.filename,url:r(e.id),onPlay:function(t){return o(t,e.id)}},void 0)},e.id)}))}),void 0),h.length>0&&t.jsx(RIe,a_e({className:d},{children:h.map((function(e){return t.jsx(MIe,{children:t.jsx(eFe,{fileName:e.filename,url:r(e.id),onPlay:function(t){return s(t,e.id)}},void 0)},e.id)}))}),void 0),f.length>0&&t.jsx(RIe,a_e({className:d},{children:f.map((function(e){return t.jsx(MIe,{children:t.jsx(NIe,{attachment:e,disabled:l,getFileUrl:r,fileAccessToken:a,onDeleteClick:i,itemResourceType:c,parentId:u},void 0)},e.id)}))}),void 0)]},void 0)},RIe=y.default.ul.withConfig({displayName:"FileAttachmentList__FilesListHost",componentId:"sc-lwztxx-0"})(yIe||(yIe=c_e(["\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n margin: 0;\n padding: 0;\n list-style: none;\n\n audio {\n width: 100%;\n }\n"],["\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n margin: 0;\n padding: 0;\n list-style: none;\n\n audio {\n width: 100%;\n }\n"]))),QIe=y.default.ul.withConfig({displayName:"FileAttachmentList__VideoFilesListHost",componentId:"sc-lwztxx-1"})(bIe||(bIe=c_e(["\n margin: 0;\n padding: 0;\n list-style: none;\n\n video {\n width: 100%;\n border-radius: ","px;\n overflow: hidden;\n }\n\n &[data-preload-video='true'] {\n video {\n box-shadow: inset 0 0 0 0.5px #707070, 0 0 0 0.5px #707070;\n background-color: #e4e4e4;\n }\n }\n"],["\n margin: 0;\n padding: 0;\n list-style: none;\n\n video {\n width: 100%;\n border-radius: ","px;\n overflow: hidden;\n }\n\n &[data-preload-video='true'] {\n video {\n box-shadow: inset 0 0 0 0.5px #707070, 0 0 0 0.5px #707070;\n background-color: #e4e4e4;\n }\n }\n"])),20),jIe=y.default.li.withConfig({displayName:"FileAttachmentList__VideoFileItem",componentId:"sc-lwztxx-2"})(OIe||(OIe=c_e(["\n &:not(:first-child) {\n margin-top: ","px;\n }\n"],["\n &:not(:first-child) {\n margin-top: ","px;\n }\n"])),U8),MIe=y.default.li.withConfig({displayName:"FileAttachmentList__FileItem",componentId:"sc-lwztxx-3"})(_Ie||(_Ie=c_e(["\n width: 100%;\n &:not(:first-child) {\n margin-top: ","px;\n }\n\n @media (min-width: ","px) {\n width: calc(50% - ","px);\n\n &:nth-child(2) {\n margin-top: 0;\n }\n }\n"],["\n width: 100%;\n &:not(:first-child) {\n margin-top: ","px;\n }\n\n @media (min-width: ","px) {\n width: calc(50% - ","px);\n\n &:nth-child(2) {\n margin-top: 0;\n }\n }\n"])),U8,X8,5),NIe=function(e){var n=e.attachment,i=e.onDeleteClick,r=e.getFileUrl,a=e.fileAccessToken,s=e.disabled,l=e.parentId,u=e.itemResourceType,c=Wx().formatMessage,d=!s&&i,h=vIe(),p=h.exchangeShortLivedToken,f=h.createDownloadClickHandler;return t.jsxs(UIe,{children:[n.isUploadInProgress&&t.jsx(YIe,{children:t.jsx(ZIe,{size:o.SpinnerSize.medium},void 0)},void 0),t.jsx(BIe,a_e({takeFullWidth:!d},{children:function(){var e=this;if(n.hasError)return t.jsxs(GIe,{children:[t.jsx(HIe,{iconName:"Warning"},void 0),t.jsx(VIe,a_e({title:n.filename},{children:n.filename}),void 0)]},void 0);var i=pIe(n.filename);if(r)return t.jsxs(qIe,a_e({title:n.filename,onClick:f("_blank",(function(){return s_e(e,void 0,void 0,(function(){var e;return l_e(this,(function(t){switch(t.label){case 0:return[4,p(a)];case 1:return e=t.sent(),[2,r(n.id,e)]}}))}))}),n.id,u,l)},{children:[t.jsx(WIe,{iconName:i},void 0),t.jsx(VIe,{children:n.filename},void 0)]}),void 0);return t.jsxs(GIe,{children:[t.jsx(WIe,{iconName:i},void 0),t.jsx(VIe,a_e({title:n.filename},{children:n.filename}),void 0)]},void 0)}()}),void 0),d&&t.jsx(XIe,{iconProps:{iconName:"Delete"},onClick:function(){return i(n)},disabled:n.isUploadInProgress,ariaLabel:c({id:"AriaLabel.removeAttachmentButton"})},void 0)]},void 0)},UIe=y.default.div.withConfig({displayName:"FileAttachmentList__Host",componentId:"sc-lwztxx-4"})(wIe||(wIe=c_e(["\n position: relative;\n display: flex;\n border: 1px solid #95989a;\n border-radius: 2px;\n background-color: ",";\n"],["\n position: relative;\n display: flex;\n border: 1px solid #95989a;\n border-radius: 2px;\n background-color: ",";\n"])),(function(e){return e.theme.palette.white})),qIe=y.default(o.DefaultButton).withConfig({displayName:"FileAttachmentList__DownloadButton",componentId:"sc-lwztxx-5"})(kIe||(kIe=c_e(["\n display: flex;\n align-items: center;\n width: 100%;\n color: ",";\n box-sizing: border-box;\n padding: ","px;\n border: 0;\n height: auto;\n\n &:hover {\n background-color: initial;\n color: ",";\n }\n\n & > span {\n max-width: 100%;\n }\n\n // make the entire tile clickable\n button::before {\n content: '';\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n left: 0;\n z-index: 0;\n }\n"],["\n display: flex;\n align-items: center;\n width: 100%;\n color: ",";\n box-sizing: border-box;\n padding: ","px;\n border: 0;\n height: auto;\n\n &:hover {\n background-color: initial;\n color: ",";\n }\n\n & > span {\n max-width: 100%;\n }\n\n // make the entire tile clickable\n button::before {\n content: '';\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n left: 0;\n z-index: 0;\n }\n"])),(function(e){return e.theme.textColors.default}),U8,(function(e){return e.theme.textColors.default})),BIe=y.default.span.withConfig({displayName:"FileAttachmentList__Inner",componentId:"sc-lwztxx-6"})(PIe||(PIe=c_e(["\n display: inline-flex;\n\n ","\n"],["\n display: inline-flex;\n\n ","\n"])),(function(e){return e.takeFullWidth?a.css(xIe||(xIe=c_e(["\n width: 100%;\n "],["\n width: 100%;\n "]))):a.css(SIe||(SIe=c_e(["\n width: calc(100% - 34px); // delete button size;\n "],["\n width: calc(100% - 34px); // delete button size;\n "])))})),GIe=y.default.span.withConfig({displayName:"FileAttachmentList__FileNameContainer",componentId:"sc-lwztxx-7"})(EIe||(EIe=c_e(["\n display: flex;\n width: 100%;\n box-sizing: border-box;\n padding: ","px;\n"],["\n display: flex;\n width: 100%;\n box-sizing: border-box;\n padding: ","px;\n"])),U8),WIe=y.default(o.Icon).withConfig({displayName:"FileAttachmentList__FileIcon",componentId:"sc-lwztxx-8"})(FIe||(FIe=c_e(["\n margin-right: ","px;\n font-size: 18px;\n"],["\n margin-right: ","px;\n font-size: 18px;\n"])),U8),XIe=y.default(o.IconButton).withConfig({displayName:"FileAttachmentList__DeleteButton",componentId:"sc-lwztxx-9"})(CIe||(CIe=c_e(["\n margin: 0 auto;\n height: auto;\n width: auto;\n padding: 0 8px;\n\n && {\n color: ",";\n }\n\n &:disabled {\n background-color: transparent;\n }\n\n i {\n font-size: 18px;\n margin: 0;\n }\n"],["\n margin: 0 auto;\n height: auto;\n width: auto;\n padding: 0 8px;\n\n && {\n color: ",";\n }\n\n &:disabled {\n background-color: transparent;\n }\n\n i {\n font-size: 18px;\n margin: 0;\n }\n"])),(function(e){return e.theme.textColors.default})),VIe=y.default.span.withConfig({displayName:"FileAttachmentList__FileName",componentId:"sc-lwztxx-10"})(TIe||(TIe=c_e(["\n font-size: 14px;\n flex: 1;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n text-decoration: none;\n"],["\n font-size: 14px;\n flex: 1;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n text-decoration: none;\n"]))),YIe=y.default.div.withConfig({displayName:"FileAttachmentList__AttachmentOverlay",componentId:"sc-lwztxx-11"})(DIe||(DIe=c_e(["\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n left: 0;\n z-index: 100;\n\n display: flex;\n align-items: center;\n justify-content: center;\n"],["\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n left: 0;\n z-index: 100;\n\n display: flex;\n align-items: center;\n justify-content: center;\n"]))),ZIe=y.default(vCe).withConfig({displayName:"FileAttachmentList__CenteredSpinner",componentId:"sc-lwztxx-12"})(AIe||(AIe=c_e(["\n margin-top: auto;\n height: 100%;\n"],["\n margin-top: auto;\n height: 100%;\n"]))),HIe=y.default(o.Icon).withConfig({displayName:"FileAttachmentList__WarningIcon",componentId:"sc-lwztxx-13"})(IIe||(IIe=c_e(["\n font-size: 20px;\n color: ",";\n"],["\n font-size: 20px;\n color: ",";\n"])),(function(e){return e.theme.palette.redDark})),KIe=function(e){var n,i=e.children,r=o_e(e,["children"]);return t.jsxs(t.Fragment,{children:[t.jsx(JIe,{},void 0),t.jsx(h_e,a_e({},r,{modalProps:a_e(a_e({},r.modalProps||{}),{className:Yq({"lt-reach-dialog-mobile-full-height":as.isAnyMobileApp},null===(n=r.modalProps)||void 0===n?void 0:n.className)})},{children:i}),void 0)]},void 0)},JIe=a.createGlobalStyle(LIe||(LIe=c_e(['\n /**\n Mobile overrides\n */\n .lt-reach-dialog-mobile-full-height {\n .ms-Dialog-main {\n .ms-Modal-scrollableContent {\n height: calc(100vh - 32px);\n }\n }\n }\n\n .browser-name-ios-webview.lt-reach-dialog-mobile-full-height {\n .ms-Dialog-main {\n .ms-Modal-scrollableContent {\n // 8 more pixels, because if you open the app from within another app (e.g. Testflight)\n // it has an additional "backbar" there which takes up space\n height: calc(100vh - 32px - env(safe-area-inset-top) - 8px);\n }\n }\n }\n'],['\n /**\n Mobile overrides\n */\n .lt-reach-dialog-mobile-full-height {\n .ms-Dialog-main {\n .ms-Modal-scrollableContent {\n height: calc(100vh - 32px);\n }\n }\n }\n\n .browser-name-ios-webview.lt-reach-dialog-mobile-full-height {\n .ms-Dialog-main {\n .ms-Modal-scrollableContent {\n // 8 more pixels, because if you open the app from within another app (e.g. Testflight)\n // it has an additional "backbar" there which takes up space\n height: calc(100vh - 32px - env(safe-area-inset-top) - 8px);\n }\n }\n }\n'])));!function(e){e[e.Top=0]="Top",e[e.Bottom=1]="Bottom"}(zIe||(zIe={}));var eLe=function(e){var n=e.className,i=e.offsetTop,r=void 0===i?0:i,a=e.positionBottomOnMobile,o=e.domIdentifier,s=e.offsetRight,l=void 0===s?0:s,u=e.children;return t.jsxs(iLe,a_e({offsetTop:r,offsetRight:l,className:n,positionBottomOnMobile:a,"data-fab":o},{children:[t.jsx(aLe,{},void 0),u]}),void 0)},tLe=function(e){var n=e.iconName,i=e.onClick,r=e.tooltipResourceKey,a=e.useSecondaryBgColor,o=e.domIdentifier,s=e.className,l=Wx().formatMessage;return t.jsxs(sEe,a_e({className:s,resourceKey:r},{children:[t.jsx(aLe,{},void 0),t.jsx(oLe,{"data-fab":o,iconProps:{iconName:n},onClick:i,ariaLabel:l({id:r}),useSecondaryBgColor:a},void 0)]}),void 0)},nLe=function(e){var n=e.iconName,r=e.tooltipResourceKey,a=e.titleResourceKey,s=e.showCloseButton,l=e.useSecondaryBgColor,u=e.children,c=e.domIdentifier,d=e.useMobileFullHeight,h=Wx().formatMessage,p=i.useState(!1),f=p[0],m=p[1],g=i.useRef(null),v=as.isAnyMobileApp;return t.jsxs(t.Fragment,{children:[t.jsx("div",a_e({ref:g},{children:t.jsx(tLe,{"data-fab":c,tooltipResourceKey:r,iconName:n,onClick:function(){return m(!f)},useSecondaryBgColor:l},void 0)}),void 0),f&&v&&d&&t.jsxs(KIe,a_e({hidden:!f,modalProps:{isBlocking:!1,className:"dialog-mobile-full-height"},dialogContentProps:{showCloseButton:!0,type:o.DialogType.close,title:h({id:a})},onDismiss:function(){return m(!1)}},{children:[t.jsx(wLe,{},void 0),u]}),void 0),f&&v&&!d&&t.jsxs(h_e,a_e({hidden:!f},{children:[u,t.jsx(o.DialogFooter,{children:t.jsx(o.DefaultButton,{text:h({id:"Generic.close"}),onClick:function(){return m(!1)}},void 0)},void 0)]}),void 0),f&&!v&&t.jsx(_Fe,a_e({target:g.current,directionalHint:o.DirectionalHint.bottomRightEdge,onDismiss:function(){return m(!1)}},{children:t.jsxs(OLe,{children:[u,s&&t.jsx(_Le,{text:h({id:"Generic.close"}),onClick:function(){return m(!1)}},void 0)]},void 0)}),void 0)]},void 0)},iLe=y.default.nav.withConfig({displayName:"FloatingActionButton__Navigation",componentId:"sc-1spkihm-0"})(uLe||(uLe=c_e(["\n position: fixed;\n margin: 0 10px;\n right: ","px;\n z-index: 11;\n\n ","\n"],["\n position: fixed;\n margin: 0 10px;\n right: ","px;\n z-index: 11;\n\n ","\n"])),(function(e){return e.offsetRight+20}),(function(e){return e.positionBottomOnMobile?a.css(sLe||(sLe=c_e(["\n bottom: 20px;\n @media (min-width: ","px) {\n bottom: unset;\n top: ","px;\n }\n "],["\n bottom: 20px;\n @media (min-width: ","px) {\n bottom: unset;\n top: ","px;\n }\n "])),V8,e.offsetTop+20):a.css(lLe||(lLe=c_e(["\n top: ","px;\n "],["\n top: ","px;\n "])),e.offsetTop+20)})),rLe=function(e){return a.css(hLe||(hLe=c_e(["\n display: flex;\n justify-content: center;\n align-items: center;\n width: 50px;\n height: 50px;\n font-size: 20px;\n\n border-radius: 50%;\n box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.2),\n 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);\n transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,\n box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n margin-bottom: 15px;\n\n ","\n "],["\n display: flex;\n justify-content: center;\n align-items: center;\n width: 50px;\n height: 50px;\n font-size: 20px;\n\n border-radius: 50%;\n box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.2),\n 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);\n transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,\n box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n margin-bottom: 15px;\n\n ","\n "])),e?a.css(cLe||(cLe=c_e(["\n background-color: ",";\n color: ",";\n\n &:hover {\n background-color: ",";\n }\n "],["\n background-color: ",";\n color: ",";\n\n &:hover {\n background-color: ",";\n }\n "])),(function(e){return e.theme.palette.themeSecondary}),(function(e){return e.theme.textColors.onSecondary}),(function(e){return e.theme.palette.themeTertiary})):a.css(dLe||(dLe=c_e(["\n background-color: ",";\n color: ",";\n\n &:hover {\n background-color: ",";\n }\n "],["\n background-color: ",";\n color: ",";\n\n &:hover {\n background-color: ",";\n }\n "])),(function(e){return e.theme.palette.neutralTertiary}),(function(e){return e.theme.palette.neutralPrimary}),(function(e){return e.theme.palette.neutralTertiaryAlt})))},aLe=a.createGlobalStyle(pLe||(pLe=c_e(["\n ","\n"],["\n ","\n"])),(function(e){return FK("\n [data-fab] button:focus::after,\n button[data-fab]:focus::after {\n outline-color: "+e.theme.palette.themePrimary+";\n outline-offset: 5px;\n border-radius: 50%;\n }\n ")})),oLe=y.default(o.IconButton).withConfig({displayName:"FloatingActionButton__StyledFabIconButton",componentId:"sc-1spkihm-1"})(fLe||(fLe=c_e(["\n &&& {\n ","\n }\n"],["\n &&& {\n ","\n }\n"])),(function(e){return rLe(e.useSecondaryBgColor)}));y.default(sEe).withConfig({displayName:"FloatingActionButton__StyledTooltip",componentId:"sc-1spkihm-2"})(mLe||(mLe=c_e(["\n a,\n a:visited {\n ","\n }\n"],["\n a,\n a:visited {\n ","\n }\n"])),(function(e){return rLe(e.useSecondaryBgColor)}));var sLe,lLe,uLe,cLe,dLe,hLe,pLe,fLe,mLe,gLe,vLe,yLe,bLe,OLe=y.default.div.withConfig({displayName:"FloatingActionButton__CalloutHost",componentId:"sc-1spkihm-3"})(gLe||(gLe=c_e(["\n display: flex;\n flex-direction: column;\n padding: ","px;\n"],["\n display: flex;\n flex-direction: column;\n padding: ","px;\n"])),q8),_Le=y.default(o.DefaultButton).withConfig({displayName:"FloatingActionButton__CalloutCloseButton",componentId:"sc-1spkihm-4"})(vLe||(vLe=c_e(["\n && {\n margin-left: auto;\n }\n"],["\n && {\n margin-left: auto;\n }\n"]))),wLe=a.createGlobalStyle(yLe||(yLe=c_e(["\n .dialog-mobile-full-height {\n .ms-Dialog-main {\n @media (max-width: ","px) {\n width: 100% !important;\n }\n }\n\n .ms-Dialog-title {\n padding-bottom: 0;\n }\n\n .dialog-content-host {\n height: 466px;\n }\n}\n"],["\n .dialog-mobile-full-height {\n .ms-Dialog-main {\n @media (max-width: ","px) {\n width: 100% !important;\n }\n }\n\n .ms-Dialog-title {\n padding-bottom: 0;\n }\n\n .dialog-content-host {\n height: 466px;\n }\n}\n"])),K8),kLe=function(e){var n=e.tagName,r=void 0===n?"div":n,a=e.id,o=e.values,s=e.className;return i.createElement(r,{className:s},t.jsx(hS,{id:a,values:o},void 0))},xLe=function(e){var n=e.icon,i=e.resourceKey,r=e.className,a=e.values,s="string"==typeof n?t.jsx(o.Icon,{iconName:n},void 0):n;return t.jsxs(SLe,a_e({className:r},{children:[s,t.jsx(hS,{id:i,values:a,tagName:"span"},void 0)]}),void 0)},SLe=y.default.div(bLe||(bLe=c_e(["\n display: flex;\n align-items: center;\n\n > *:first-child {\n margin-right: ","px;\n }\n\n i {\n font-size: 24px;\n }\n\n > span {\n font-size: ","px;\n }\n"],["\n display: flex;\n align-items: center;\n\n > *:first-child {\n margin-right: ","px;\n }\n\n i {\n font-size: 24px;\n }\n\n > span {\n font-size: ","px;\n }\n"])),6,a7),PLe={},ELe=new yB;var FLe=new yB;function CLe(e){var t=i.useRef(!0);i.useEffect((function(){t.current||FLe.next(),t.current=!1}),e)}var TLe,DLe,ALe,ILe,LLe=function(e){var n=e.groupName,r=e.groupId,a=e.keywordName,o=e.keywordId,s=e.language,l=e.underlined,u=e.onClick,c=e.tabIndex,d=x6(),h=N5(i.useContext(mie).selectedKeywordGroups,d,r,a,n,s);return u?t.jsx($Le,a_e({onClick:function(){return u(o)},tabIndex:c},{children:t.jsx(RLe,a_e({underlined:!0},{children:h}),void 0)}),void 0):t.jsx(RLe,a_e({underlined:l},{children:h}),void 0)},zLe=function(e){var n=e.groupId,r=e.keywordName,a=x6(),o=N5(i.useContext(mie).selectedKeywordGroups,a,n,r);return CLe([o]),t.jsx(RLe,a_e({underlined:!0},{children:o}),void 0)},$Le=y.default(gFe).withConfig({displayName:"KeywordTitle__KeywordButton",componentId:"sc-18jcqyr-0"})(TLe||(TLe=c_e(["\n z-index: 1;\n height: inherit;\n padding: 0;\n > span {\n width: 100%;\n color: ",";\n }\n"],["\n z-index: 1;\n height: inherit;\n padding: 0;\n > span {\n width: 100%;\n color: ",";\n }\n"])),(function(e){return e.theme.palette.neutralSecondaryAlt})),RLe=y.default.span.withConfig({displayName:"KeywordTitle__Keyword",componentId:"sc-18jcqyr-1"})(ALe||(ALe=c_e(["\n ","\n"],["\n ","\n"])),(function(e){return e.underlined&&a.css(DLe||(DLe=c_e(["\n text-decoration: underline;\n "],["\n text-decoration: underline;\n "])))})),QLe=function(e){var n=e.modified,i=Wx();return n?t.jsxs(jLe,a_e({className:"ms-fontColor-neutralTertiary"},{children:["(",t.jsx(sEe,a_e({resourceKey:"Generic.wasModifiedTooltip",values:{modified:function(){var e=i.formatDate(n,{day:"2-digit",month:"2-digit",year:"numeric"}),t=i.formatTime(n);return e+" "+t}()}},{children:t.jsx(hS,{id:"Generic.wasModified"},void 0)}),void 0),")"]}),void 0):null},jLe=y.default.div(ILe||(ILe=c_e(["\n font-size: ","px;\n"],["\n font-size: ","px;\n"])),o7);function MLe(){return MLe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},MLe.apply(this,arguments)}var NLe=function(e){return m.createElement("svg",MLe({width:400,height:246,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),m.createElement("path",{style:{fill:"none"},d:"M0 90.012h400v100H0z"}),m.createElement("path",{d:"M303.95 99.623c0-6.623-5.377-12-12-12h-223c-6.623 0-12 5.377-12 12s5.377 12 12 12h223c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M109.95 111.623h231.857c6.113 0 11.143 5.417 11.143 12s-5.03 12-11.143 12H109.95c6.113 0 11.143-5.417 11.143-12s-5.03-12-11.143-12Z",style:{fill:"currentColor",fillOpacity:.2,fillRule:"nonzero"}}),m.createElement("circle",{cx:374.95,cy:123.623,r:12,style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M328.95 147.623c0-6.623-5.377-12-12-12h-229c-6.623 0-12 5.377-12 12s5.377 12 12 12h229c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M72.95 159.623h181c-6.583 0-12 5.417-12 12s5.417 12 12 12h-181c-6.583 0-12-5.417-12-12s5.417-12 12-12Z",style:{fill:"currentColor",fillOpacity:.2,fillRule:"nonzero"}}),m.createElement("path",{d:"M354.95 195.623c0-6.623-5.377-12-12-12h-249c-6.623 0-12 5.377-12 12s5.377 12 12 12h249c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"m287.318 41.85-140.914-4.921-6.98 199.878 140.914 4.921 6.98-199.878Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m281.417 34.091-140.914 4.921 6.98 199.878 140.914-4.921-6.98-199.878Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M270.614 121.843a3.922 3.922 0 0 0 2.186-5.094l-12.336-30.881a3.921 3.921 0 0 0-5.094-2.187 3.922 3.922 0 0 0-2.186 5.095l12.335 30.881a3.923 3.923 0 0 0 5.095 2.186Z",style:{fill:"currentColor"}}),m.createElement("path",{d:"M257.614 132.166c-13.771-34.474-20.534-54.646-13.585-57.422l.021-.008c6.947-2.729 15.939 16.546 29.696 50.986l-16.132 6.444Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m257.875 130.779 14.726-5.882c15.927 39.871 28.772 71.236 21.136 74.286-7.636 3.05-19.935-28.532-35.862-68.404ZM94.857 6.66c6.969 3.252 17.655 10.686 17.655 10.686-4.646 6.505-6.504 16.262-6.504 16.262 10.686 5.111 6.04 13.009 6.04 13.009-6.04 1.394-20.444-2.323-20.444-2.323-3.252 11.615-16.261 3.717-16.261 3.717 1.858-11.616 2.787-24.16 2.787-24.16-6.04-6.97-4.646-18.585-4.646-18.585C81.847 8.518 94.857 6.66 94.857 6.66Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M80.314 30.738c5.111 11.615 13.939 13.938 13.939 13.938 5.576 3.717 23.231-16.726 23.231-16.726 2.788 7.434-.929 19.514-.929 19.514-.929 6.04-6.969 13.474-6.969 13.474-5.111 3.717-21.373 2.323-21.373 2.323-9.757-5.575-14.868-8.828-14.868-8.828 1.859-9.757 6.505-14.403 6.505-14.403l.464-9.292Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M65.554 32.465c-2.788 10.222-2.323 17.191-2.323 17.191 5.111 7.898 18.585 14.403 18.585 14.403l8.828-12.545c4.181-3.252 14.867 2.323 14.867 2.323 6.505 2.788 13.01-13.009 13.01-13.009-10.686-10.222-15.333-14.868-15.333-14.868-5.11-7.434-6.504-13.938-6.504-13.938l-4.647-7.899c-4.646 4.646-4.181 26.019-4.181 26.019C90.179 34.788 71.594 32 71.594 32l-6.04.465Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m59.887 23.474-5.555 9.305 5.4 7.121 10.694 3.229c8.278-1.275 12.592-3.061 12.592-3.061 3.727-7.798 5.745-9.934 5.745-9.934l5.045-5.341 5.483-4.521.042-5.822-6.7-1.679c-6.172 2.254-12.943 5.358-12.943 5.358-3.685 1.976-14.171 6.016-14.171 6.016l-5.632-.671Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M102.724 12.771c-5.576 4.646-20.908 16.726-20.908 16.726-5.576 3.717-12.08 10.222-12.08 10.222l2.787 7.898c4.647 4.182 11.616 6.969 11.616 6.969 9.292 3.253 18.12 1.859 18.12 1.859 7.899-12.545 10.686-19.514 10.686-19.514 3.253-9.757 5.576-19.514 5.576-19.514-6.04-2.788-15.797-4.646-15.797-4.646Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M86.898 11.688c-6.505 2.323-17.191 6.04-17.191 6.04l-6.04 9.293-.465 13.474c6.505.929 18.12 3.717 18.12 3.717-.929-6.505-2.323-12.081-2.323-12.081l-.465-6.969 8.364-13.474Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}))};function ULe(){return ULe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},ULe.apply(this,arguments)}var qLe=function(e){return m.createElement("svg",ULe({width:400,height:160,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),m.createElement("path",{style:{fill:"none"},d:"M0 31.309h400v100H0z"}),m.createElement("path",{d:"M341.375 39.358c0-6.623-5.377-12-12-12h-248.5c-6.623 0-12 5.377-12 12s5.377 12 12 12h248.5c6.623 0 12-5.377 12-12ZM394.625 63.358c0-6.623-5.377-12-12-12H44.875c-6.623 0-12 5.377-12 12s5.377 12 12 12h337.75c6.623 0 12-5.377 12-12ZM384.625 135.309c0-6.623-5.377-12-12-12H44.875c-6.623 0-12 5.377-12 12s5.377 12 12 12h327.75c6.623 0 12-5.377 12-12ZM151.75 75.358H16c-6.623 0-12 5.377-12 12s5.377 12 12 12h135.75c-6.623 0-12-5.377-12-12s5.377-12 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M58.688 99.358h153.75c6.623 0 12 5.377 12 12s-5.377 12-12 12H58.688c6.623 0 12-5.377 12-12s-5.377-12-12-12ZM368.778 98.309c0-6.623-5.377-12-12-12s-12 5.377-12 12 5.377 12 12 12 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M198.494 11.655 94.626 18.918a5.483 5.483 0 0 0-5.084 5.849l8.792 125.734a5.483 5.483 0 0 0 5.849 5.084l103.867-7.263-9.556-136.667ZM202.138 11.4l103.867-7.263a5.483 5.483 0 0 1 5.849 5.084l8.792 125.734a5.483 5.483 0 0 1-5.084 5.849l-103.867 7.263L202.138 11.4Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m195.257 43.926.191 2.733-3.645.255-.509-7.289 3.644-.255.191 2.734 5.467-.383-1.465-20.955-91.112 6.371 8.283 118.445 91.111-6.371-1.465-20.956-5.467.382.191 2.734-3.644.255-.51-7.289 3.645-.255.191 2.733 5.466-.382-5.097-72.889-5.466.382ZM209.835 42.907l.191 2.733 3.644-.255-.509-7.289-3.645.255.191 2.733-5.466.383-1.466-20.956 91.112-6.371 8.282 118.445-91.111 6.371L209.592 118l5.467-.382.191 2.733 3.645-.254-.51-7.289-3.645.255.192 2.733-5.467.382-5.097-72.889 5.467-.382Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:1}}),m.createElement("path",{d:"m193.498 44.964 18.223-1.274M198.723 119.676l18.222-1.274M193.243 41.32l18.223-1.274M198.468 116.032l18.222-1.275",style:{fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeMiterlimit:1.5}}),m.createElement("path",{d:"m123.999 46.162 60.133-4.205M124.954 59.829l60.134-4.205M125.91 73.496l60.134-4.205M126.866 87.162l60.133-4.205M127.821 100.829l60.134-4.205M128.777 114.496l60.134-4.205M129.733 128.163l60.133-4.205M282.087 28.698l-57.401 4.014 2.74 39.178 57.4-4.014-2.739-39.178ZM285.591 78.81l-57.4 4.014 2.739 39.178 57.401-4.014-2.74-39.178Z",style:{fill:"none",stroke:"currentColor",strokeOpacity:.2,strokeWidth:2}}))};function BLe(){return BLe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},BLe.apply(this,arguments)}var GLe=function(e){return m.createElement("svg",BLe({width:400,height:185,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),m.createElement("path",{style:{fill:"none"},d:"M0 30h400v100H0z"}),m.createElement("path",{d:"M306.436 12c0-6.623-5.377-12-12-12h-153.5c-6.623 0-12 5.377-12 12s5.377 12 12 12h153.5c6.623 0 12-5.377 12-12ZM372.436 60c0-6.623-5.377-12-12-12H50.686c-6.623 0-12 5.377-12 12s5.377 12 12 12h309.75c6.623 0 12-5.377 12-12ZM343.325 72.049h-153.75c-6.623 0-12 5.377-12 12s5.377 12 12 12h153.75c-6.623 0-12-5.377-12-12s5.377-12 12-12ZM282.436 36c0-6.623-5.377-12-12-12H74.686c-6.623 0-12 5.377-12 12s5.377 12 12 12h195.75c6.623 0 12-5.377 12-12ZM282.436 132c0-6.623-5.377-12-12-12h-129.5c-6.623 0-12 5.377-12 12s5.377 12 12 12h129.5c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M356.686 108c0-6.623-5.377-12-12-12H68.936c-6.623 0-12 5.377-12 12s5.377 12 12 12h275.75c6.623 0 12-5.377 12-12ZM392.95 108c0-6.623-5.377-12-12-12s-12 5.377-12 12 5.377 12 12 12 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"m324.66 39.281-87.775-6.288-7.646 106.726 87.775 6.288 7.646-106.726Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m319.316 43.911-77.801-5.574-5.574 77.801 77.801 5.573 5.574-77.8Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M314.299 74.522 227.54 59.795l-17.906 105.491 86.759 14.727 17.906-105.491Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m308.533 78.615-76.9-13.053-13.054 76.9 76.9 13.053 13.054-76.9Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M240.587 19.16 93.266 33.322l10.047 104.518 147.321-14.162L240.587 19.16Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m168.075 38.186 7.654 79.633M186.507 83.631l41.808-4.019M187.751 96.571l41.808-4.019M188.995 109.511l41.808-4.018",style:{fill:"none",stroke:"currentColor",strokeWidth:1}}),m.createElement("path",{d:"m232.394 27.985-17.918 1.722 2.105 21.899 17.918-1.722-2.105-21.899Z",style:{fill:"currentColor",fillOpacity:.2}}))};function WLe(){return WLe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},WLe.apply(this,arguments)}var XLe,VLe,YLe,ZLe,HLe,KLe,JLe,eze,tze,nze,ize,rze=function(e){return m.createElement("svg",WLe({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 124"},e),m.createElement("path",{style:{fill:"none"},d:"M0 6.131h400v100H0z"}),m.createElement("path",{d:"M248 12c0-6.623-5.377-12-12-12H136c-6.623 0-12 5.377-12 12s5.377 12 12 12h100c6.623 0 12-5.377 12-12ZM320 36c0-6.623-5.377-12-12-12H62c-6.623 0-12 5.377-12 12s5.377 12 12 12h246c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M105 48h245c6.583 0 12 5.417 12 12s-5.417 12-12 12H105c6.583 0 12-5.417 12-12s-5.417-12-12-12ZM36 72h268c-6.583 0-12 5.417-12 12s5.417 12 12 12H36c-6.583 0-12-5.417-12-12s5.417-12 12-12Z",style:{fill:"currentColor",fillOpacity:.2,fillRule:"nonzero"}}),m.createElement("path",{d:"M320 108c0-6.623-5.377-12-12-12H142c-6.623 0-12 5.377-12 12s5.377 12 12 12h166c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("circle",{cx:350,cy:108,r:12,style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"m290.483 107.633-7.558-7.907a4.774 4.774 0 0 0-3.256-1.512l-12.674-.814a4.922 4.922 0 0 0-2.907.7c-8.488 5.349-16.977 10.349-19.186 11.279-2.791 0-15.116-1.047-25.465-2.093l-18.256-2.093-16.512-4.186a4.792 4.792 0 0 0-5.465 2.442l-6.633 12.084-21.744 5.116-21.512-9.416a5.444 5.444 0 0 0-1.977-.349h-.465a5.5 5.5 0 0 0-2.907 1.279l-6.628 6.047-5.349 1.047-6.162-70.812 93.721-8.256a30.769 30.769 0 0 0 2.674 4.535l-1.739 2.79a4.618 4.618 0 0 0-1.162 3.061c0 2.531 2.083 4.613 4.613 4.613h.037a5.169 5.169 0 0 0 2.674-.814l3.372-1.86a26.83 26.83 0 0 0 10 4.651c4.767 1.047 9.535.349 12.558-2.791 4.07-4.07 4.07-10.581 1.279-16.977l.116-.233 55.813-4.882 6.4 72.674-5.7 2.677Z",style:{fill:"#fff"}}),m.createElement("path",{d:"M259.221 66.661 122.533 78.619l.608 6.951 136.688-11.959-.608-6.95ZM233.685 81.664l-110.046 9.628.608 6.951 110.046-9.628-.608-6.951Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M292.222 31.003a1.175 1.175 0 0 0-.465-.814.774.774 0 0 0-.814-.233L235.71 34.84l5.814-9.3c.581.233 1.279.465 1.86.7 2.907.93 6.047.814 7.907-1.163 1.977-1.977 2.093-5 1.163-7.907a23.214 23.214 0 0 0-5.7-8.953 22.876 22.876 0 0 0-8.837-5.7 11.406 11.406 0 0 0-3.372-.581h-1.047a6.055 6.055 0 0 0-3.6 1.628c-1.977 1.977-2.093 5-1.163 7.907.233.581.465 1.279.7 1.86l-12.093 7.558a21.654 21.654 0 0 0-8.14-1.86c-3.372 0-6.512.93-8.721 3.256-3.14 3.14-3.837 7.791-2.791 12.558.233 1.047.581 2.093.93 3.256l-94.188 8.253a1.115 1.115 0 0 0-1.049 1.281l6.4 73.256c.036.324.204.619.465.814.267.198.602.282.93.233l6.86-1.4c.233 0 .349-.116.581-.233l6.86-6.279c.443-.348.96-.588 1.512-.7.44-.036.881.044 1.279.233l21.86 9.535a.703.703 0 0 0 .465.116h.233l22.555-5.345c.349-.116.581-.233.7-.581l6.86-12.558a2.665 2.665 0 0 1 2.907-1.279l16.633 4.188h.116l18.372 2.209c10.7 1.047 23.372 2.093 25.93 2.093a.701.701 0 0 0 .465-.116c2.558-.93 13.14-7.326 19.884-11.512a1.768 1.768 0 0 1 1.512-.349l12.791.814a2.477 2.477 0 0 1 1.744.814l8.14 8.488c.322.359.851.456 1.279.233l7.442-3.256c.472-.179.762-.662.7-1.163l-6.636-74.885Zm-1.739 76.63-7.558-7.907a4.774 4.774 0 0 0-3.256-1.512l-12.674-.814a4.922 4.922 0 0 0-2.907.7c-8.488 5.349-16.977 10.349-19.186 11.279-2.791 0-15.116-1.047-25.465-2.093l-18.256-2.093-16.512-4.186a4.792 4.792 0 0 0-5.465 2.442l-6.633 12.084-21.744 5.116-21.512-9.416a5.444 5.444 0 0 0-1.977-.349h-.465a5.5 5.5 0 0 0-2.907 1.279l-6.628 6.047-5.349 1.047-6.162-70.812 93.721-8.256a30.769 30.769 0 0 0 2.674 4.535l-1.739 2.79a4.618 4.618 0 0 0-1.162 3.061c0 2.531 2.083 4.613 4.613 4.613h.037a5.169 5.169 0 0 0 2.674-.814l3.372-1.86a26.83 26.83 0 0 0 10 4.651c4.767 1.047 9.535.349 12.558-2.791 4.07-4.07 4.07-10.581 1.279-16.977l.116-.233 55.813-4.882 6.4 72.674-5.7 2.677Z",style:{fill:"currentColor"}}),m.createElement("path",{d:"M232.92 5.075a2.458 2.458 0 0 1 1.86-.7h.581a6.331 6.331 0 0 1 2.326.465 19.61 19.61 0 0 1 7.674 5 18.44 18.44 0 0 1 4.884 7.674c.7 2.326.465 3.953-.349 4.767-.814.814-2.442 1.047-4.767.349a19.614 19.614 0 0 1-7.674-5 18.444 18.444 0 0 1-4.884-7.674c-.814-2.441-.465-4.069.349-4.881ZM231.175 15.886a25.059 25.059 0 0 0 3.6 4.419 24.213 24.213 0 0 0 4.42 3.488l-11.86 19.186c-.814.814-2.326 1.047-4.419.465a15.949 15.949 0 0 1-6.86-4.419 18.817 18.817 0 0 1-4.419-6.977c-.581-2.093-.349-3.6.465-4.419l19.073-11.743Z",style:{fill:"#fff"}}),m.createElement("path",{d:"M203.036 24.026a8.792 8.792 0 0 1 6.512-2.326c1.656.063 3.298.336 4.884.814l-4.07 2.442c-.116.116-.233.116-.233.233-1.86 1.86-1.977 4.651-1.279 7.442a19.49 19.49 0 0 0 5.116 8.14 20.223 20.223 0 0 0 8.14 5.116c2.791.814 5.581.581 7.442-1.279.116-.116.116-.233.233-.233l2.442-4.07c1.512 4.767 1.046 8.953-1.512 11.4-2.209 2.209-5.581 2.907-9.767 1.977a29.22 29.22 0 0 1-20.117-20.122c-.582-3.953 0-7.325 2.209-9.534Z",style:{fill:"#fff"}}),m.createElement("path",{d:"M232.92 5.075a2.458 2.458 0 0 1 1.86-.7h.581a6.331 6.331 0 0 1 2.326.465 19.61 19.61 0 0 1 7.674 5 18.44 18.44 0 0 1 4.884 7.674c.7 2.326.465 3.953-.349 4.767-.814.814-2.442 1.047-4.767.349a19.614 19.614 0 0 1-7.674-5 18.444 18.444 0 0 1-4.884-7.674c-.814-2.441-.465-4.069.349-4.881ZM231.175 15.886a25.059 25.059 0 0 0 3.6 4.419 24.213 24.213 0 0 0 4.42 3.488l-11.86 19.186c-.814.814-2.326 1.047-4.419.465a15.949 15.949 0 0 1-6.86-4.419 18.817 18.817 0 0 1-4.419-6.977c-.581-2.093-.349-3.6.465-4.419l19.073-11.743Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M203.036 24.026a8.792 8.792 0 0 1 6.512-2.326c1.656.063 3.298.336 4.884.814l-4.07 2.442c-.116.116-.233.116-.233.233-1.86 1.86-1.977 4.651-1.279 7.442a19.49 19.49 0 0 0 5.116 8.14 20.223 20.223 0 0 0 8.14 5.116c2.791.814 5.581.581 7.442-1.279.116-.116.116-.233.233-.233l2.442-4.07c1.512 4.767 1.046 8.953-1.512 11.4-2.209 2.209-5.581 2.907-9.767 1.977a29.22 29.22 0 0 1-20.117-20.122c-.582-3.953 0-7.325 2.209-9.534Z",style:{fill:"currentColor",fillOpacity:.2}}))},aze=function(e){var n=e.images,i=e.selectedIndex,r=e.hidden,a=e.onClose,s=e.imageUrlResolver,l=zw((function(){return s_e(this,void 0,void 0,(function(){var e;return l_e(this,(function(t){switch(t.label){case 0:return e=n.map((function(e){return null!=e.width&&null!=e.height?Promise.resolve({width:e.width,height:e.height}):dIe(s(e.imageId,1e3))})),[4,Promise.all(e)];case 1:return[2,t.sent()]}}))}))}),null,[n]),u=l[0],c=l[1],d=l[2];return c||d?null:t.jsx(o.Layer,{children:t.jsx(oze,{images:n.map((function(e,t){return function(e,t){var n=Math.min(t.width,2500),i=Math.trunc(t.height/t.width*n);return{thumbnail:e.previewUrl,large:s(e.imageId,n,i),width:n,height:i,caption:e.imageTitle}}(e,u[t])})),selectedIndex:i,hidden:r,onClose:a},void 0)},void 0)},oze=function(e){var n=e.images,r=e.hidden,a=e.selectedIndex,o=e.onClose,s=Wx().formatMessage,l=i.useRef(null),u=i.useRef();return i.useEffect((function(){var e;if(!r)return clearTimeout(u.current),u.current=setTimeout((function(){return e=function(){var e=new rre(l.current,ore,n.map((function(e){return{src:e.large,msrc:e.thumbnail,w:e.width,h:e.height,title:e.caption}})),{index:a});return e.listen("close",o),e.init(),e}()}),200),function(){return null==e?void 0:e.close()}}),[r,a]),t.jsxs(t.Fragment,{children:[t.jsx(sze,{enforceArrowVisibility:!as.isNativeMobileApp},void 0),t.jsxs("div",a_e({ref:l,className:"pswp",tabIndex:-1,role:"dialog","aria-hidden":"true"},{children:[t.jsx("div",{className:"pswp__bg"},void 0),t.jsxs("div",a_e({className:"pswp__scroll-wrap"},{children:[t.jsxs("div",a_e({className:"pswp__container"},{children:[t.jsx("div",{className:"pswp__item"},void 0),t.jsx("div",{className:"pswp__item"},void 0),t.jsx("div",{className:"pswp__item"},void 0)]}),void 0),t.jsxs("div",a_e({className:"pswp__ui pswp__ui--hidden"},{children:[t.jsxs("div",a_e({className:"pswp__top-bar"},{children:[t.jsx("div",{className:"pswp__counter"},void 0),t.jsx("button",{className:"pswp__button pswp__button--close",title:s({id:"ImageViewer.closeCaption"})},void 0),t.jsx("button",{className:"pswp__button pswp__button--fs",title:s({id:"ImageViewer.toggleFullscreenCaption"})},void 0),t.jsx("div",a_e({className:"pswp__preloader"},{children:t.jsx("div",a_e({className:"pswp__preloader__icn"},{children:t.jsx("div",a_e({className:"pswp__preloader__cut"},{children:t.jsx("div",{className:"pswp__preloader__donut"},void 0)}),void 0)}),void 0)}),void 0)]}),void 0),t.jsx("div",a_e({className:"pswp__share-modal pswp__share-modal--hidden pswp__single-tap"},{children:t.jsx("div",{className:"pswp__share-tooltip"},void 0)}),void 0),t.jsx("button",{className:"pswp__button pswp__button--arrow--left",title:s({id:"ImageView.previousCaption"})},void 0),t.jsx("button",{className:"pswp__button pswp__button--arrow--right",title:s({id:"ImageView.nextCaption"})},void 0),t.jsx("div",a_e({className:"pswp__caption"},{children:t.jsx("div",{className:"pswp__caption__center"},void 0)}),void 0)]}),void 0)]}),void 0)]}),void 0)]},void 0)},sze=a.createGlobalStyle(VLe||(VLe=c_e(["\n.browser-name-ios-webview {\n .pswp__top-bar {\n padding-top: calc(env(safe-area-inset-top));\n height: calc(initial + env(safe-area-inset-top));\n\n .pswp__counter {\n padding-top: env(safe-area-inset-top);\n }\n }\n}\n\n.pswp__caption__center {\n && {\n text-align: center;\n }\n}\n\n","\n"],["\n.browser-name-ios-webview {\n .pswp__top-bar {\n padding-top: calc(env(safe-area-inset-top));\n height: calc(initial + env(safe-area-inset-top));\n\n .pswp__counter {\n padding-top: env(safe-area-inset-top);\n }\n }\n}\n\n.pswp__caption__center {\n && {\n text-align: center;\n }\n}\n\n","\n"])),(function(e){return e.enforceArrowVisibility&&a.css(XLe||(XLe=c_e(["\n .pswp--touch .pswp__button--arrow--left,\n .pswp--touch .pswp__button--arrow--right {\n visibility: visible !important;\n }\n "],["\n .pswp--touch .pswp__button--arrow--left,\n .pswp--touch .pswp__button--arrow--right {\n visibility: visible !important;\n }\n "])))})),lze=function(e){var n=e.images,r=e.imageUrlResolver,a=e.disableRoundedCorners,s=e.gridBackgroundColor,l=e.className,u=Wx().formatMessage,c=i.useState(null),d=c[0],h=c[1],p=i.useContext(Bne).theme.palette;if(!n||0===n.length)return null;var f=n.length>4,m=n.length>1,g=n[0];return t.jsxs(cze,a_e({"data-multi-images":m,className:l,singleImageHeight:g.height,singleImageWidth:g.width},{children:[t.jsx("div",a_e({"data-gallery-wrapper":!0},{children:m?t.jsxs(t.Fragment,{children:[t.jsx(hze,a_e({backgroundColor:null!=s?s:p.neutralLight,applyRoundedCorners:!a},{children:n.slice(0,4).map((function(e,n){return t.jsx(pze,a_e({href:e.previewUrl,onClick:function(e){e.stopPropagation(),e.preventDefault(),v(n)},"aria-label":u({id:"AriaLabel.viewImageGallery"}),"data-clickable-overlay":!0},{children:t.jsx(fze,{src:e.previewUrl,imageFit:o.ImageFit.centerCover,alt:e.imageTitle||""},void 0)}),n)}))}),void 0),f&&t.jsxs(mze,a_e({onClick:function(){return v(4)}},{children:["+",n.length-4]}),void 0)]},void 0):t.jsx(uze,{image:g,onClick:function(){return v(0)},disableRoundedCorners:a},void 0)}),void 0),t.jsx(aze,{images:n,selectedIndex:d,hidden:null==d,onClose:function(){h(null)},imageUrlResolver:r},void 0)]}),void 0);function v(e){h(e)}},uze=function(e){var n=e.image,i=e.onClick,r=e.disableRoundedCorners,a=Wx().formatMessage;return t.jsx(dze,a_e({href:n.previewUrl,onClick:function(e){e.stopPropagation(),e.preventDefault(),i()},applyRoundedCorners:!r,"aria-label":a({id:"AriaLabel.viewImage"}),"data-clickable-overlay":!0},{children:t.jsx("img",{src:n.previewUrl,alt:""},void 0)}),void 0)},cze=y.default.div.withConfig({displayName:"PhotoGrid__Host",componentId:"sc-flk193-0"})(ZLe||(ZLe=c_e(["\n overflow: hidden;\n width: 100%;\n\n position: relative;\n\n &:after {\n content: '';\n display: block;\n font-size: 0;\n }\n\n > [data-gallery-wrapper] {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n\n &[data-multi-images='false'] {\n [data-gallery-wrapper] {\n display: flex;\n }\n\n ","\n }\n\n &[data-multi-images='true'] {\n &:after {\n padding-bottom: calc(2 / 3 * 100%); // fixed image area aspect ratio 3:2\n }\n }\n"],["\n overflow: hidden;\n width: 100%;\n\n position: relative;\n\n &:after {\n content: '';\n display: block;\n font-size: 0;\n }\n\n > [data-gallery-wrapper] {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n\n &[data-multi-images='false'] {\n [data-gallery-wrapper] {\n display: flex;\n }\n\n ","\n }\n\n &[data-multi-images='true'] {\n &:after {\n padding-bottom: calc(2 / 3 * 100%); // fixed image area aspect ratio 3:2\n }\n }\n"])),(function(e){return e.singleImageWidth&&e.singleImageHeight&&a.css(YLe||(YLe=c_e(["\n &:after {\n // fallback for old browsers - that do not suport min function\n // the image aspect ratio is maintained\n padding-bottom: calc(\n ",'* 100%\n );\n\n // the image can have any aspect ratio from a 1:1 aspect ratio to any wider aspect ratio,\n // but it cannot get "taller" than 1:1\n @supports (padding-bottom: min(100%, ',"px)) {\n padding-bottom: min(\n min(100%, ","px, ","px),\n calc(\n ","*\n min(100%, ","px)\n )\n );\n }\n }\n "],["\n &:after {\n // fallback for old browsers - that do not suport min function\n // the image aspect ratio is maintained\n padding-bottom: calc(\n ",'* 100%\n );\n\n // the image can have any aspect ratio from a 1:1 aspect ratio to any wider aspect ratio,\n // but it cannot get "taller" than 1:1\n @supports (padding-bottom: min(100%, ',"px)) {\n padding-bottom: min(\n min(100%, ","px, ","px),\n calc(\n ","*\n min(100%, ","px)\n )\n );\n }\n }\n "])),e.singleImageHeight/e.singleImageWidth,e.singleImageWidth,e.singleImageHeight,e.singleImageWidth,e.singleImageHeight/e.singleImageWidth,e.singleImageWidth)})),dze=y.default.a.withConfig({displayName:"PhotoGrid__SingleImageHost",componentId:"sc-flk193-1"})(KLe||(KLe=c_e(["\n display: flex;\n align-items: center;\n justify-content: center;\n height: auto;\n\n max-height: 100%;\n\n overflow: hidden;\n\n // fallback for old browsers\n width: 100%;\n\n @supports (height: min(100%, 0px)) {\n width: auto;\n }\n\n img {\n max-width: 100%;\n height: 100%;\n width: 100%;\n\n @supports (height: min(100%, 0px)) {\n height: auto;\n width: auto;\n }\n }\n\n position: relative;\n\n &::before {\n content: '';\n position: absolute;\n width: 100%;\n height: 100%;\n z-index: 1;\n }\n\n &:focus {\n &::before {\n outline-offset: -10px !important;\n }\n\n img {\n opacity: 0.6;\n }\n }\n\n ","\n"],["\n display: flex;\n align-items: center;\n justify-content: center;\n height: auto;\n\n max-height: 100%;\n\n overflow: hidden;\n\n // fallback for old browsers\n width: 100%;\n\n @supports (height: min(100%, 0px)) {\n width: auto;\n }\n\n img {\n max-width: 100%;\n height: 100%;\n width: 100%;\n\n @supports (height: min(100%, 0px)) {\n height: auto;\n width: auto;\n }\n }\n\n position: relative;\n\n &::before {\n content: '';\n position: absolute;\n width: 100%;\n height: 100%;\n z-index: 1;\n }\n\n &:focus {\n &::before {\n outline-offset: -10px !important;\n }\n\n img {\n opacity: 0.6;\n }\n }\n\n ","\n"])),(function(e){return e.applyRoundedCorners&&a.css(HLe||(HLe=c_e(["\n border-radius: 10px;\n "],["\n border-radius: 10px;\n "])))})),hze=y.default.div.withConfig({displayName:"PhotoGrid__Gallery",componentId:"sc-flk193-2"})(eze||(eze=c_e(["\n width: 100%;\n height: 100%;\n overflow: hidden;\n\n background-color: ",";\n\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n grid-template-rows: repeat(2, 1fr);\n\n // case: gallery with 3 images\n // the first image will span across the 2 grid tracks (2 rows)\n > a:first-child:nth-last-child(3) {\n grid-row: auto / span 2;\n }\n\n // case: gallery with 2 images\n // the images will span across the 2 grid tracks (2 rows)\n > a:first-child:nth-last-child(2),\n > a:nth-child(2):last-child {\n grid-row: auto / span 2;\n }\n\n ","\n"],["\n width: 100%;\n height: 100%;\n overflow: hidden;\n\n background-color: ",";\n\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n grid-template-rows: repeat(2, 1fr);\n\n // case: gallery with 3 images\n // the first image will span across the 2 grid tracks (2 rows)\n > a:first-child:nth-last-child(3) {\n grid-row: auto / span 2;\n }\n\n // case: gallery with 2 images\n // the images will span across the 2 grid tracks (2 rows)\n > a:first-child:nth-last-child(2),\n > a:nth-child(2):last-child {\n grid-row: auto / span 2;\n }\n\n ","\n"])),(function(e){return e.backgroundColor}),(function(e){return e.applyRoundedCorners&&a.css(JLe||(JLe=c_e(["\n border-radius: 10px;\n "],["\n border-radius: 10px;\n "])))})),pze=y.default.a.withConfig({displayName:"PhotoGrid__ImageItem",componentId:"sc-flk193-3"})(tze||(tze=c_e(["\n display: block;\n position: relative;\n\n &::before {\n content: '';\n position: absolute;\n width: 100%;\n height: 100%;\n z-index: 1;\n }\n\n &:focus {\n &::before {\n outline-offset: -10px !important;\n }\n\n img {\n opacity: 0.6;\n }\n }\n"],["\n display: block;\n position: relative;\n\n &::before {\n content: '';\n position: absolute;\n width: 100%;\n height: 100%;\n z-index: 1;\n }\n\n &:focus {\n &::before {\n outline-offset: -10px !important;\n }\n\n img {\n opacity: 0.6;\n }\n }\n"]))),fze=y.default(o.Image).withConfig({displayName:"PhotoGrid__StyledImage",componentId:"sc-flk193-4"})(nze||(nze=c_e(["\n height: 100%;\n"],["\n height: 100%;\n"]))),mze=y.default(o.DefaultButton).withConfig({displayName:"PhotoGrid__MoreIndicator",componentId:"sc-flk193-5"})(ize||(ize=c_e(["\n && {\n margin: 0;\n padding: 0;\n border: 0;\n width: auto;\n height: auto;\n color: white;\n background: transparent;\n\n &:hover {\n background: transparent;\n }\n }\n\n position: absolute;\n bottom: 15px;\n right: 15px;\n\n font-size: ","px;\n @media (min-width: ","px) {\n font-size: ","px;\n }\n\n @supports (filter: drop-shadow(0 1px 2px #000000cc)) {\n filter: drop-shadow(0 1px 2px #000000cc);\n }\n\n @supports not (filter: drop-shadow(0 1px 2px #000000cc)) {\n text-shadow: 0 1px 2px #000000cc;\n }\n"],["\n && {\n margin: 0;\n padding: 0;\n border: 0;\n width: auto;\n height: auto;\n color: white;\n background: transparent;\n\n &:hover {\n background: transparent;\n }\n }\n\n position: absolute;\n bottom: 15px;\n right: 15px;\n\n font-size: ","px;\n @media (min-width: ","px) {\n font-size: ","px;\n }\n\n @supports (filter: drop-shadow(0 1px 2px #000000cc)) {\n filter: drop-shadow(0 1px 2px #000000cc);\n }\n\n @supports not (filter: drop-shadow(0 1px 2px #000000cc)) {\n text-shadow: 0 1px 2px #000000cc;\n }\n"])),i7,X8,28);var gze,vze,yze,bze,Oze,_ze,wze=function(e){var n=e.icon,i=e.isActive,r=e.disabled,a=e.tooltipResourceKey,s=e.onClick,l=e.link,u=e.className,c=o_e(e,["icon","isActive","disabled","tooltipResourceKey","onClick","link","className"]),d=Wx().formatMessage;if(!l&&!s)return null;var h=Yq("header-button",u),p=l?t.jsx(Sze,a_e({className:h,to:l},c,{children:t.jsx(o.Icon,{iconName:n},void 0)}),void 0):t.jsx(xze,a_e({className:h,disabled:r,onClick:function(e){return s(e.currentTarget)},iconProps:{iconName:n},ariaLabel:d({id:a}),"data-button-type":"header-btn",isActive:i},c),void 0);return t.jsx(kze,a_e({className:"tooltip-container"},{children:t.jsx(sEe,a_e({resourceKey:a},{children:p}),void 0)}),void 0)},kze=y.default.div.withConfig({displayName:"IconHeaderButton__Host",componentId:"sc-1p61ffo-0"})(gze||(gze=c_e(["\n height: 100%;\n"],["\n height: 100%;\n"]))),xze=y.default(o.IconButton).withConfig({displayName:"IconHeaderButton__Button",componentId:"sc-1p61ffo-1"})(bze||(bze=c_e(['\n && {\n display: flex;\n padding: 0 5px;\n background-color: transparent;\n height: 100%;\n margin: 0 -1.5px; // this removes the "gap" between two side by side active buttons\n\n ',";\n ","\n }\n"],['\n && {\n display: flex;\n padding: 0 5px;\n background-color: transparent;\n height: 100%;\n margin: 0 -1.5px; // this removes the "gap" between two side by side active buttons\n\n ',";\n ","\n }\n"])),(function(e){return!e.isActive&&a.css(vze||(vze=c_e(["\n color: ",";\n "],["\n color: ",";\n "])),e.theme.textColors.onPrimary)}),(function(e){return e.isActive&&a.css(yze||(yze=c_e(["\n background-color: ",";\n color: ",";\n\n &&:hover {\n background-color: ",";\n color: ",";\n }\n "],["\n background-color: ",";\n color: ",";\n\n &&:hover {\n background-color: ",";\n color: ",";\n }\n "])),e.theme.palette.themeSecondary,e.theme.textColors.onSecondary,e.theme.palette.themeSecondary,e.theme.textColors.onSecondary)})),Sze=y.default(r.Link).withConfig({displayName:"IconHeaderButton__StyledLink",componentId:"sc-1p61ffo-2"})(_ze||(_ze=c_e(["\n && {\n height: 100%;\n ",";\n }\n"],["\n && {\n height: 100%;\n ",";\n }\n"])),(function(e){return a.css(Oze||(Oze=c_e(["\n color: ",";\n "],["\n color: ",";\n "])),e.theme.textColors.onPrimary)})),Pze="\t\n\v\f\r \u2028\u2029\ufeff",Eze=T_e,Fze="[\t\n\v\f\r \u2028\u2029\ufeff]",Cze=RegExp("^"+Fze+Fze+"*"),Tze=RegExp(Fze+Fze+"*$"),Dze=function(e){return function(t){var n=String(Eze(t));return 1&e&&(n=n.replace(Cze,"")),2&e&&(n=n.replace(Tze,"")),n}},Aze={start:Dze(1),end:Dze(2),trim:Dze(3)},Ize=y_e,Lze=Pze,zze=Aze.trim,$ze=function(e){return Ize((function(){return!!Lze[e]()||"
"!="
"[e]()||Lze[e].name!==e}))};exe({target:"String",proto:!0,forced:$ze("trim")},{trim:function(){return zze(this)}});var Rze,Qze,jze,Mze,Nze,Uze,qze,Bze,Gze,Wze,Xze,Vze,Yze,Zze,Hze,Kze,Jze,e$e=function(e){var n=e.url,r=e.target,a=e.ariaLabel,o=e.children,s=e.className,l=e.style,u=o_e(e,["url","target","ariaLabel","children","className","style"]);S6();var c=gte(),d=i.useContext(vS);d.onOpenExternalLink;var h=d.tryGetInternalLink,p=!r&&h(n,c);return p?t.jsx(wEe,a_e({className:s,to:p,"data-link":M8.Internal,"aria-label":a,style:l},u,{children:o}),void 0):t.jsx(t$e,a_e({url:n,target:r,className:s,ariaLabel:a,style:l},u,{children:o}),void 0)},t$e=function(e){var n=e.url,i=e.target,r=e.ariaLabel,a=e.onClick,o=e.className,s=e.children,l=e.style,u=o_e(e,["url","target","ariaLabel","onClick","className","children","style"]);return t.jsx(_Ee,a_e({href:n,onClick:function(e){return null==a?void 0:a(e)},className:o,target:void 0===i?"_blank":i,rel:"noopener noreferrer","aria-label":r,"data-link":M8.External,style:l},u,{children:s}),void 0)},n$e=a.css(Rze||(Rze=c_e(["\n display: flex;\n align-items: center;\n justify-content: center;\n height: 32px;\n width: 32px;\n text-decoration: none !important;\n"],["\n display: flex;\n align-items: center;\n justify-content: center;\n height: 32px;\n width: 32px;\n text-decoration: none !important;\n"]))),i$e=y.default(e$e).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledLink",componentId:"sc-148nazl-0"})(Qze||(Qze=c_e(["\n ","\n"],["\n ","\n"])),n$e),r$e=y.default(t$e).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledExternalLink",componentId:"sc-148nazl-1"})(jze||(jze=c_e(["\n ","\n"],["\n ","\n"])),n$e),a$e=y.default(o.IconButton).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledIconButton",componentId:"sc-148nazl-2"})(Nze||(Nze=c_e(["\n border-radius: 0;\n\n ","\n"],["\n border-radius: 0;\n\n ","\n"])),(function(e){return e.active&&a.css(Mze||(Mze=c_e(["\n border-color: ",";\n "],["\n border-color: ",";\n "])),e.theme.palette.themePrimary)})),o$e=y.default((function(e){var n,i=e.iconName,r=e.ariaLabel,a=e.ariaLabelResourceKey,s=e.onClick,l=e.to,u=e.target,c=e.tooltipText,d=e.tooltipResourceKey,h=e.disabled,p=e.className,f=o_e(e,["iconName","ariaLabel","ariaLabelResourceKey","onClick","to","target","tooltipText","tooltipResourceKey","disabled","className"]),m=Wx().formatMessage,g=r||(null===(n=null==a?void 0:a.trim())||void 0===n?void 0:n.length)>0&&m({id:a});return t.jsxs(sEe,a_e({resourceKey:d,text:c},{children:[l&&!s&&t.jsx(i$e,a_e({url:l,ariaLabel:g,target:u},f,{children:t.jsx(o.Icon,{iconName:i,className:p},void 0)}),void 0),s&&!l&&t.jsx(a$e,a_e({disabled:h,iconProps:{iconName:i},onClick:s,className:p,ariaLabel:g},f),void 0),s&&l&&t.jsx(r$e,a_e({url:l,target:u,ariaLabel:g,onClick:function(e){e.stopPropagation(),e.preventDefault(),s()}},{children:t.jsx(o.Icon,{iconName:i,className:p},void 0)}),void 0)]}),void 0)})).withConfig({displayName:"ToolbarIconButtonWithToolTip__ToolbarIconButton",componentId:"sc-148nazl-3"})(qze||(qze=c_e(["\n background-color: transparent;\n &:not([disabled]) {\n color: ",";\n }\n\n ","\n"],["\n background-color: transparent;\n &:not([disabled]) {\n color: ",";\n }\n\n ","\n"])),(function(e){return e.theme.textColors.default}),(function(e){return e.isActive&&a.css(Uze||(Uze=c_e(["\n i {\n font-weight: bold;\n }\n "],["\n i {\n font-weight: bold;\n }\n "])))})),s$e=function(e){var n=e.shouldAutoFocus,a=void 0===n||n,o=Wx(),s=i.useState(null),l=s[0],u=s[1],c=r.useLocation(),d=i.useContext(Bne).theme.textColors,h=i.useRef();return i.useEffect((function(){return Uie(f),a&&setTimeout((function(){var e;return h&&(null===(e=h.current)||void 0===e?void 0:e.focus())})),function(){qie(f)}}),[]),i.useEffect((function(){u("")}),[c.pathname]),t.jsxs(c$e,a_e({className:Yq("search-field",e.className),useLightTheme:e.useLightTheme},{children:[t.jsx(l$e,{className:"search-input",useLightTheme:e.useLightTheme,default:!0,value:l||e.searchText||"",onChange:function(e,t){return p(t)},onKeyDown:function(t){"Enter"===t.key&&e.onExecuteSearch&&e.onExecuteSearch(l);"Escape"===t.key&&p("")},autoComplete:"off",autoFocus:!1,borderless:!0,placeholder:e.placeholder||o.formatMessage({id:"TopBar.search"}),componentRef:function(e){return h.current=e},ariaLabel:o.formatMessage({id:"TopBar.search"}),"data-search-input":!0},void 0),e.searching&&t.jsx(u$e,{className:"search-spinner"},void 0),t.jsx(d$e,{"data-cancel-search-button":!0,iconProps:{iconName:"Cancel"},onClick:function(){var t;u(null),null===(t=e.onClear)||void 0===t||t.call(e)},color:!e.useLightTheme&&d.onPrimary},void 0)]}),void 0);function p(t){var n;u(t),null===(n=e.onChange)||void 0===n||n.call(e,t)}function f(){return!(!l&&!e.searchText)&&(p(""),!0)}},l$e=y.default(o.TextField).withConfig({displayName:"Search__StyledTextField",componentId:"sc-17f35gt-0"})(Wze||(Wze=c_e(["\n ","\n"],["\n ","\n"])),(function(e){return e.useLightTheme?a.css(Bze||(Bze=c_e(["\n .ms-TextField-field {\n color: ",";\n ",";\n }\n "],["\n .ms-TextField-field {\n color: ",";\n ",";\n }\n "])),(function(e){return e.theme.textColors.default}),uIe("color: "+e.theme.textColors.default)):a.css(Gze||(Gze=c_e(["\n .ms-TextField-field {\n color: ",";\n ",";\n }\n "],["\n .ms-TextField-field {\n color: ",";\n ",";\n }\n "])),(function(e){return e.theme.textColors.onPrimary}),uIe("color: "+e.theme.textColors.onPrimary))})),u$e=y.default(o.Spinner).withConfig({displayName:"Search__StyledSpinner",componentId:"sc-17f35gt-1"})(Xze||(Xze=c_e(["\n display: flex;\n align-items: center;\n padding-right: 8px;\n\n color: ",";\n background-color: ",";\n"],["\n display: flex;\n align-items: center;\n padding-right: 8px;\n\n color: ",";\n background-color: ",";\n"])),(function(e){return e.theme.textColors.onPrimary}),(function(e){return e.theme.palette.themeDarker})),c$e=y.default.div.withConfig({displayName:"Search__Host",componentId:"sc-17f35gt-2"})(Zze||(Zze=c_e(["\n flex: 1 1 auto;\n height: 100%;\n\n display: flex;\n flex-flow: row nowrap;\n align-items: stretch;\n\n > .ms-TextField {\n flex: 1 1 auto;\n display: flex;\n flex-flow: row nowrap;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 0;\n\n > .ms-TextField-wrapper {\n flex: 1 0 auto;\n\n .ms-TextField-fieldGroup {\n border: none;\n background: none;\n\n > input {\n border: 0;\n height: 100%;\n font-size: 18px;\n\n &::-ms-clear {\n display: none;\n }\n }\n }\n }\n }\n\n input {\n &.ms-TextField-field {\n min-width: 100%;\n width: 30px;\n }\n\n ",";\n }\n\n i {\n display: flex;\n justify-content: space-around;\n flex-flow: row nowrap;\n align-items: center;\n\n margin-right: 1em;\n margin-left: 0.5em;\n cursor: pointer;\n }\n\n button {\n height: 100%;\n margin: 0 4px;\n }\n\n ","\n"],["\n flex: 1 1 auto;\n height: 100%;\n\n display: flex;\n flex-flow: row nowrap;\n align-items: stretch;\n\n > .ms-TextField {\n flex: 1 1 auto;\n display: flex;\n flex-flow: row nowrap;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 0;\n\n > .ms-TextField-wrapper {\n flex: 1 0 auto;\n\n .ms-TextField-fieldGroup {\n border: none;\n background: none;\n\n > input {\n border: 0;\n height: 100%;\n font-size: 18px;\n\n &::-ms-clear {\n display: none;\n }\n }\n }\n }\n }\n\n input {\n &.ms-TextField-field {\n min-width: 100%;\n width: 30px;\n }\n\n ",";\n }\n\n i {\n display: flex;\n justify-content: space-around;\n flex-flow: row nowrap;\n align-items: center;\n\n margin-right: 1em;\n margin-left: 0.5em;\n cursor: pointer;\n }\n\n button {\n height: 100%;\n margin: 0 4px;\n }\n\n ","\n"])),uIe("\n font-size: inherit;\n opacity: 0.5;\n "),(function(e){return e.useLightTheme?a.css(Vze||(Vze=c_e(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),(function(e){return e.theme.palette.neutralLighter})):a.css(Yze||(Yze=c_e(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),(function(e){return e.theme.palette.themeDarker}))})),d$e=y.default(mEe).withConfig({displayName:"Search__CancelButton",componentId:"sc-17f35gt-3"})(Hze||(Hze=c_e(["\n align-self: center;\n"],["\n align-self: center;\n"]))),h$e=function(e){var n=e.onSearchInputFieldVisibilityChanged,r=e.isToolbarMode,a=e.onExecuteSearch,o=e.onSearchTextChange,s=e.searchText,l=e.showSearchBoxInput,u=e.className,c=e.shouldAutoFocus,d=i.useState(!!s),h=d[0],p=d[1],f=l||h||!!s;return i.useEffect((function(){null==n||n(f)}),[f]),t.jsxs(t.Fragment,{children:[f&&t.jsx(s$e,{onChange:o,onExecuteSearch:a,searchText:s,onClear:function(){null==o||o(""),m(!1)},shouldAutoFocus:c,className:u,useLightTheme:r},void 0),!f&&(r?t.jsx(o$e,{iconName:"Search",onClick:function(){return m(!0)},tooltipResourceKey:"TopBar.search",ariaLabelResourceKey:"TopBar.search"},void 0):t.jsx(wze,{icon:"Search",onClick:function(){return m(!0)},tooltipResourceKey:"TopBar.search"},void 0))]},void 0);function m(e){p(e),null==n||n(e)}},p$e=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},f$e=twe,m$e=T_e,g$e=p$e,v$e=qAe;zAe("search",1,(function(e,t,n){return[function(t){var n=m$e(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,n):new RegExp(t)[e](String(n))},function(e){var i=n(t,e,this);if(i.done)return i.value;var r=f$e(e),a=String(this),o=r.lastIndex;g$e(o,0)||(r.lastIndex=0);var s=v$e(r,a);return g$e(r.lastIndex,o)||(r.lastIndex=o),null===s?-1:s.index}]})),y.default.div.withConfig({displayName:"EmptyUnreadListMessage__Host",componentId:"sc-1fler8t-0"})(Kze||(Kze=c_e(["\n height: 100%;\n display: flex;\n width: 100%;\n"],["\n height: 100%;\n display: flex;\n width: 100%;\n"]))),function(e){e.ASC="SortUp",e.DESC="SortDown"}(Jze||(Jze={})),y.default(o.Icon).withConfig({displayName:"SortableTable__Order",componentId:"sc-6tqdpa-0"})(y$e||(y$e=c_e(["\n position: absolute;\n right: 0;\n"],["\n position: absolute;\n right: 0;\n"]))),y.default.span.withConfig({displayName:"SortableTable__Title",componentId:"sc-6tqdpa-1"})(_$e||(_$e=c_e(["\n position: relative;\n padding: 0 5px;\n ","\n"],["\n position: relative;\n padding: 0 5px;\n ","\n"])),(function(e){return e.orderBy?a.css(b$e||(b$e=c_e(["\n padding-right: 18px;\n "],["\n padding-right: 18px;\n "]))):a.css(O$e||(O$e=c_e(["\n padding-left: 18px;\n "],["\n padding-left: 18px;\n "])))})),y.default.th.withConfig({displayName:"SortableTable__ColumnHeader",componentId:"sc-6tqdpa-2"})(w$e||(w$e=c_e(["\n text-align: right;\n padding: 10px 5px;\n white-space: nowrap;\n\n :hover {\n cursor: ",";\n }\n\n :first-child {\n text-align: left;\n\n span {\n padding-left: 0;\n padding-right: 15px;\n }\n }\n"],["\n text-align: right;\n padding: 10px 5px;\n white-space: nowrap;\n\n :hover {\n cursor: ",";\n }\n\n :first-child {\n text-align: left;\n\n span {\n padding-left: 0;\n padding-right: 15px;\n }\n }\n"])),(function(e){var t=e.isLoading,n=e.disableSort;return t?"wait":n?"default":"pointer"})),y.default.td.withConfig({displayName:"SortableTable__Cell",componentId:"sc-6tqdpa-3"})(k$e||(k$e=c_e(["\n text-align: right;\n padding: 2px 5px;\n white-space: ",";\n\n :first-child {\n text-align: left;\n }\n"],["\n text-align: right;\n padding: 2px 5px;\n white-space: ",";\n\n :first-child {\n text-align: left;\n }\n"])),(function(e){return e.noWrap?"nowrap":""}));var y$e,b$e,O$e,_$e,w$e,k$e,x$e,S$e,P$e,E$e=y.default.tr.withConfig({displayName:"SortableTable__Row",componentId:"sc-6tqdpa-4"})(x$e||(x$e=c_e(["\n :nth-child(odd) {\n background: ",";\n }\n"],["\n :nth-child(odd) {\n background: ",";\n }\n"])),(function(e){return e.theme.palette.neutralLighterAlt}));y.default.table.withConfig({displayName:"SortableTable__Table",componentId:"sc-6tqdpa-5"})(S$e||(S$e=c_e(["\n width: 100%;\n border-collapse: collapse;\n\n :hover {\n cursor: ",";\n }\n\n "," {\n transition: opacity 0.1s linear;\n opacity: ",";\n }\n"],["\n width: 100%;\n border-collapse: collapse;\n\n :hover {\n cursor: ",";\n }\n\n "," {\n transition: opacity 0.1s linear;\n opacity: ",";\n }\n"])),(function(e){return e.isLoading?"wait":"default"}),E$e,(function(e){return e.isLoading?"0.6":"1"})),y.default(vCe).withConfig({displayName:"SortableTable__Loading",componentId:"sc-6tqdpa-6"})(P$e||(P$e=c_e(["\n margin: 80px 0 100px;\n"],["\n margin: 80px 0 100px;\n"])));var F$e,C$e,T$e=function(e){return t.jsx(D$e,a_e({},e,{"data-toggle-button":!0}),void 0)},D$e=y.default(o.Toggle).withConfig({displayName:"ToggleWithLabel__StyledToggle",componentId:"sc-lcovfq-0"})(F$e||(F$e=c_e(["\n display: flex;\n align-items: center;\n\n > label {\n order: 1;\n margin-left: 15px;\n }\n\n &.is-checked.is-enabled {\n button:hover {\n background-color: ",";\n }\n }\n"],["\n display: flex;\n align-items: center;\n\n > label {\n order: 1;\n margin-left: 15px;\n }\n\n &.is-checked.is-enabled {\n button:hover {\n background-color: ",";\n }\n }\n"])),(function(e){return e.theme.semanticColors.inputBackgroundCheckedHovered})),A$e=function(e){return a.css(C$e||(C$e=c_e(["\n position: relative;\n\n &::after {\n content: '';\n position: absolute;\n top: ",";\n left: 100%;\n display: block;\n width: 12px;\n height: 12px;\n transform: translate(-50%, -50%);\n border-radius: 50%;\n background-color: ",";\n }\n "],["\n position: relative;\n\n &::after {\n content: '';\n position: absolute;\n top: ",";\n left: 100%;\n display: block;\n width: 12px;\n height: 12px;\n transform: translate(-50%, -50%);\n border-radius: 50%;\n background-color: ",";\n }\n "])),null!=e?e:"3px",(function(e){return e.theme.palette.accent}))};function I$e(e,t,n){return e.translations[t.preferredUiLanguage]||e.translations[R5(t)]||e.name||n.formatMessage({id:"Groups.defaultName"})}var L$e=zAe,z$e=twe,$$e=ixe,R$e=pke,Q$e=cke,j$e=T_e,M$e=MAe,N$e=qAe,U$e=Math.max,q$e=Math.min,B$e=Math.floor,G$e=/\$([$&'`]|\d\d?|<[^>]*>)/g,W$e=/\$([$&'`]|\d\d?)/g,X$e=function(e){return void 0===e?e:String(e)};L$e("replace",2,(function(e,t,n,i){var r=i.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,a=i.REPLACE_KEEPS_$0,o=r?"$":"$0";return[function(n,i){var r=j$e(this),a=null==n?void 0:n[e];return void 0!==a?a.call(n,r,i):t.call(String(r),n,i)},function(e,i){if(!r&&a||"string"==typeof i&&-1===i.indexOf(o)){var l=n(t,e,this,i);if(l.done)return l.value}var u=z$e(e),c=String(this),d="function"==typeof i;d||(i=String(i));var h=u.global;if(h){var p=u.unicode;u.lastIndex=0}for(var f=[];;){var m=N$e(u,c);if(null===m)break;if(f.push(m),!h)break;""===String(m[0])&&(u.lastIndex=M$e(c,R$e(u.lastIndex),p))}for(var g="",v=0,y=0;y<f.length;y++){m=f[y];for(var b=String(m[0]),O=U$e(q$e(Q$e(m.index),c.length),0),_=[],w=1;w<m.length;w++)_.push(X$e(m[w]));var k=m.groups;if(d){var x=[b].concat(_,O,c);void 0!==k&&x.push(k);var S=String(i.apply(void 0,x))}else S=s(b,c,O,_,k,i);O>=v&&(g+=c.slice(v,O)+S,v=O+b.length)}return g+c.slice(v)}];function s(e,n,i,r,a,o){var s=i+e.length,l=r.length,u=W$e;return void 0!==a&&(a=$$e(a),u=G$e),t.call(o,u,(function(t,o){var u;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,i);case"'":return n.slice(s);case"<":u=a[o.slice(1,-1)];break;default:var c=+o;if(0===c)return t;if(c>l){var d=B$e(c/10);return 0===d?t:d<=l?void 0===r[d-1]?o.charAt(1):r[d-1]+o.charAt(1):t}u=r[c-1]}return void 0===u?"":u}))}}));var V$e=L_e,Y$e=aPe,Z$e=b_e,H$e=g_e,K$e=Wke,J$e=function(e,t,n){var i,r;return Y$e&&"function"==typeof(i=t.constructor)&&i!==n&&V$e(r=i.prototype)&&r!==n.prototype&&Y$e(e,r),e},eRe=J_e.f,tRe=ske.f,nRe=Jxe,iRe=NEe,rRe=dAe,aRe=cwe.exports,oRe=y_e,sRe=Vwe.set,lRe=SCe,uRe=Yxe("match"),cRe=H$e.RegExp,dRe=cRe.prototype,hRe=/a/g,pRe=/a/g,fRe=new cRe(hRe)!==hRe,mRe=rRe.UNSUPPORTED_Y;if(Z$e&&K$e("RegExp",!fRe||mRe||oRe((function(){return pRe[uRe]=!1,cRe(hRe)!=hRe||cRe(pRe)==pRe||"/a/i"!=cRe(hRe,"i")})))){for(var gRe=function(e,t){var n,i=this instanceof gRe,r=nRe(e),a=void 0===t;if(!i&&r&&e.constructor===gRe&&a)return e;fRe?r&&!a&&(e=e.source):e instanceof gRe&&(a&&(t=iRe.call(e)),e=e.source),mRe&&(n=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var o=J$e(fRe?new cRe(e,t):cRe(e,t),i?this:dRe,gRe);return mRe&&n&&sRe(o,{sticky:n}),o},vRe=function(e){e in gRe||eRe(gRe,e,{configurable:!0,get:function(){return cRe[e]},set:function(t){cRe[e]=t}})},yRe=tRe(cRe),bRe=0;yRe.length>bRe;)vRe(yRe[bRe++]);dRe.constructor=gRe,gRe.prototype=dRe,aRe(H$e,"RegExp",gRe)}lRe("RegExp");var ORe,_Re=X8-G8,wRe=V8-G8;function kRe(e){return!!e&&DRe.test(e)}function xRe(e){return e?"https://www.google.com/maps/search/?api=1&"+Wm.stringify({query:e}):null}function SRe(e,t){var n;if(!e.useExternalContent)return null;var i=e.contents[t];return(null==i?void 0:i.active)&&(null==i?void 0:i.externalUrl)?i.externalUrl:null===(n=Object.values(e.contents).find((function(e){return e.active&&e.externalUrl})))||void 0===n?void 0:n.externalUrl}y.default.div.withConfig({displayName:"ListItemsContainer",componentId:"sc-1ml8hli-0"})(ORe||(ORe=c_e(["\n display: flex;\n flex-direction: column;\n width: 100%;\n\n [data-content-toolbar] {\n margin-bottom: 0;\n }\n\n > * {\n margin-top: ","px;\n }\n\n > [data-nothing-found],\n > [data-empty-unread-list] {\n margin-top: auto;\n }\n\n @media all and (max-width: ","px) {\n max-width: calc(100vw - ","px);\n margin-left: ","px;\n margin-right: ","px;\n }\n\n @media all and (min-width: ","px) {\n margin: 0 auto;\n\n > * {\n margin-top: ","px;\n }\n\n max-width: ","px;\n }\n\n @media all and (min-width: ","px) {\n max-width: ","px;\n }\n"],["\n display: flex;\n flex-direction: column;\n width: 100%;\n\n [data-content-toolbar] {\n margin-bottom: 0;\n }\n\n > * {\n margin-top: ","px;\n }\n\n > [data-nothing-found],\n > [data-empty-unread-list] {\n margin-top: auto;\n }\n\n @media all and (max-width: ","px) {\n max-width: calc(100vw - ","px);\n margin-left: ","px;\n margin-right: ","px;\n }\n\n @media all and (min-width: ","px) {\n margin: 0 auto;\n\n > * {\n margin-top: ","px;\n }\n\n max-width: ","px;\n }\n\n @media all and (min-width: ","px) {\n max-width: ","px;\n }\n"])),U8,K8,q8,10,10,X8,q8,_Re,V8,wRe);var PRe,ERe,FRe,CRe,TRe,DRe=new RegExp("^(https?:\\/\\/)((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.?)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~#+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i"),ARe=y.default.div.withConfig({displayName:"Utils__LeftBannerWrapper",componentId:"sc-1qatfzk-0"})(ERe||(ERe=c_e(["\n width: 100%;\n height: calc(\n ((100vw - ","px * 2) * (1 / ","))\n );\n ","\n\n @media (min-width: ","px) {\n height: calc((","px * (1 / ",")));\n }\n\n @media (min-width: ","px) {\n width: ","px;\n height: 100%;\n }\n\n .video-view-container {\n height: 100%;\n }\n"],["\n width: 100%;\n height: calc(\n ((100vw - ","px * 2) * (1 / ","))\n );\n ","\n\n @media (min-width: ","px) {\n height: calc((","px * (1 / ",")));\n }\n\n @media (min-width: ","px) {\n width: ","px;\n height: 100%;\n }\n\n .video-view-container {\n height: 100%;\n }\n"])),10,s7,(function(e){return e.showPlaceholder&&a.css(PRe||(PRe=c_e(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),e.theme.palette.accent)}),X8,_Re,s7,V8,(function(e){return e.defaultWidth?e.defaultWidth:250}));y.default.div.withConfig({displayName:"VerificationStatusIcon__Host",componentId:"sc-b3nb8-0"})(CRe||(CRe=c_e(["\n display: flex;\n align-items: center;\n\n ","\n"],["\n display: flex;\n align-items: center;\n\n ","\n"])),(function(e){return e.isInvalid&&a.css(FRe||(FRe=c_e(["\n color: ",";\n "],["\n color: ",";\n "])),(function(e){return e.theme.palette.redDark}))})),y.default(o.Icon).withConfig({displayName:"VerificationStatusIcon__StatusIcon",componentId:"sc-b3nb8-1"})(TRe||(TRe=c_e(["\n margin-right: ","px;\n"],["\n margin-right: ","px;\n"])),U8);var IRe,LRe,zRe,$Re,RRe,QRe,jRe,MRe,NRe,URe=function(e){var n=e.enterDuration,i=e.leaveDuration,r=e.children,a=e.style,o=e.className,s=!!n,l=!!i,u="common-opacity-animation_"+n+"_"+i;return t.jsxs(t.Fragment,{children:[t.jsx(qRe,{name:u,enterDuration:n,leaveDuration:i},void 0),t.jsx(Ure,a_e({style:a,className:o,transitionName:u,transitionAppear:s,transitionEnter:s,transitionLeave:l,transitionLeaveTimeout:i,transitionAppearTimeout:n,transitionEnterTimeout:n},{children:r}),void 0)]},void 0)},qRe=a.createGlobalStyle(IRe||(IRe=c_e(["\n ."," {\n &-enter, &-apear {\n opacity: 0;\n &-active {\n opacity: 1;\n transition: opacity ","ms ease-in;\n }\n }\n &-leave {\n opacity: 1;\n &-active {\n opacity: 0;\n transition: opacity ","ms ease-in;\n }\n }\n }\n"],["\n ."," {\n &-enter, &-apear {\n opacity: 0;\n &-active {\n opacity: 1;\n transition: opacity ","ms ease-in;\n }\n }\n &-leave {\n opacity: 1;\n &-active {\n opacity: 0;\n transition: opacity ","ms ease-in;\n }\n }\n }\n"])),(function(e){return e.name}),(function(e){return e.enterDuration}),(function(e){return e.leaveDuration})),BRe=function(e){var n=e.contentLanguageCode,r=e.originalContent,a=e.content,o=e.onTranslate,s=e.onContentChange,l=e.itemType,u=e.itemId,c=e.tooltipResourceKey,d=e.showLabel,h=Wx().formatMessage,p=x6(),f=S6(),m=i.useState(null),g=m[0],v=m[1],y=i.useState(r===a),b=y[0],O=y[1],_=eie().showError,w=w7().interaction,k=R5(p);if(i.useEffect((function(){return v(null)}),[r]),!f.automaticTranslation)return null;var x=h({id:"Generic.translate"});return n&&n!==k&&$5.includes(k)&&!z5.includes(k)?t.jsx(sEe,a_e({resourceKey:b?"Generic.translateTo":c,values:{language:h({id:"Generic.languages."+k})}},{children:t.jsx(GRe,a_e({"aria-label":d?null:x,"data-translate-content-button":!0,className:"ms-fontColor-neutralSecondary",iconProps:{iconName:"World"},onClick:function(){return s_e(this,void 0,void 0,(function(){var e;return l_e(this,(function(t){switch(t.label){case 0:return b?g?(s(g),O(!1),[3,4]):[3,1]:(s(r),O(!0),w({event:f7.translateContent,value:null,action:m7.click,item:{id:u,type:l}}),[2]);case 1:return t.trys.push([1,3,,4]),[4,o(k)];case 2:return e=t.sent(),s(e),v(e),O(!1),[3,4];case 3:return t.sent(),_("Generic.error"),[3,4];case 4:return w({event:f7.translateContent,value:k,itemType:l,action:m7.click,itemId:u,item:{id:u,type:l}}),[2]}}))}))}},{children:d&&x}),void 0)}),void 0):null},GRe=y.default(gFe)(LRe||(LRe=c_e(["\n &&& {\n i {\n color: ",";\n }\n }\n"],["\n &&& {\n i {\n color: ",";\n }\n }\n"])),(function(e){return e.theme.textColors.default})),WRe=y.default(o.ChoiceGroup).withConfig({displayName:"ChoiceGroup",componentId:"sc-11bpj01-0"})(zRe||(zRe=c_e(["\n .ms-ChoiceField-input:not(.is-disabled) + label.is-checked {\n &:hover {\n &::before,\n &::after {\n border-color: ",";\n }\n }\n }\n"],["\n .ms-ChoiceField-input:not(.is-disabled) + label.is-checked {\n &:hover {\n &::before,\n &::after {\n border-color: ",";\n }\n }\n }\n"])),(function(e){return e.theme.palette.accent})),XRe=function(n){var r=n.comment,a=n.showEdit,o=n.showDelete,s=n.onDelete,l=n.isEditMode,u=n.toggleEditMode,c=n.originalContent,d=n.currentContent,h=n.setContent,p=n.handleTranslate,f=n.showAutoTranslate,m=n.onReply,g=n.disabled,v=Wx().formatMessage,y=x6(),b=i.useState(!1),O=b[0],_=b[1],w=i.useRef(null);return y.isPublicUser&&!f?null:y.isPublicUser&&f?t.jsx(BRe,{"data-auto-translate-button":r.id,originalContent:c,onContentChange:function(e){_(!1),h(e)},content:d,tooltipResourceKey:"Comment.translate.showOriginal",onTranslate:p,contentLanguageCode:r.contentLanguageCode,showLabel:!0,itemType:e.ItemResourceTypes.Comments,itemId:r.id},void 0):t.jsxs(t.Fragment,{children:[t.jsx("div",a_e({ref:w},{children:t.jsx(YRe,{"data-menu-button":r.id,iconProps:{iconName:"MoreVertical"},onClick:function(){return _(!O)},ariaLabel:v({id:"AriaLabel.contextMenuButton"}),disabled:g},void 0)}),void 0),O&&t.jsx(HRe,a_e({"data-context-menu":!0,target:w.current,onDismiss:function(){return _(!1)}},{children:t.jsxs(VRe,{children:[t.jsx(sEe,a_e({resourceKey:"Comment.replyButton.tooltip",values:{name:r.sender.displayName}},{children:t.jsx(ZRe,{"data-reply-button":r.id,iconProps:{iconName:"Reply"},onClick:function(){null==m||m(r,r.sender),_(!1)},text:v({id:"Comment.replyButton"})},void 0)}),void 0),f&&t.jsx(BRe,{"data-auto-translate-button":r.id,originalContent:c,onContentChange:function(e){_(!1),h(e)},content:d,tooltipResourceKey:"Comment.translate.showOriginal",onTranslate:p,contentLanguageCode:r.contentLanguageCode,showLabel:!0,itemType:e.ItemResourceTypes.Comments,itemId:r.id},void 0),a&&t.jsx(sEe,a_e({resourceKey:"Comment.edit.tooltip"},{children:t.jsx(ZRe,{"data-edit-button":r.id,iconProps:{iconName:"Edit"},onClick:function(){u(!0),_(!1)},text:v({id:"Generic.edit"}),disabled:!r.id||l},void 0)}),void 0),o&&t.jsx(sEe,a_e({resourceKey:"Comment.delete.tooltip"},{children:t.jsx(ZRe,{"data-delete-button":r.id,iconProps:{iconName:"Delete"},onClick:function(){s(r),_(!1)},text:v({id:"Generic.Delete"}),disabled:!r.id||l},void 0)}),void 0)]},void 0)}),void 0)]},void 0)},VRe=y.default.div.withConfig({displayName:"CommentActionMenu__Buttons",componentId:"sc-qsk1nc-0"})($Re||($Re=c_e(["\n display: flex;\n flex-direction: column;\n"],["\n display: flex;\n flex-direction: column;\n"]))),YRe=y.default(mEe).withConfig({displayName:"CommentActionMenu__MenuButton",componentId:"sc-qsk1nc-1"})(RRe||(RRe=c_e(["\n && {\n width: auto;\n padding: 0;\n\n &[disabled] {\n background: transparent;\n }\n\n i {\n margin: 0;\n font-size: ","px;\n }\n }\n"],["\n && {\n width: auto;\n padding: 0;\n\n &[disabled] {\n background: transparent;\n }\n\n i {\n margin: 0;\n font-size: ","px;\n }\n }\n"])),20),ZRe=y.default(gFe).withConfig({displayName:"CommentActionMenu__StyledActionButton",componentId:"sc-qsk1nc-2"})(QRe||(QRe=c_e(["\n &&& {\n i {\n color: ",";\n }\n }\n"],["\n &&& {\n i {\n color: ",";\n }\n }\n"])),(function(e){return e.theme.textColors.default})),HRe=y.default(_Fe).withConfig({displayName:"CommentActionMenu__StyledCallout",componentId:"sc-qsk1nc-3"})(jRe||(jRe=c_e(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),U8);y.default(o.DefaultButton).withConfig({displayName:"DefaultGoBackButton__StyledButton",componentId:"sc-q6p1lp-0"})(MRe||(MRe=c_e(["\n padding: 0 12px;\n\n i {\n margin: 0 8px 0 0;\n }\n"],["\n padding: 0 12px;\n\n i {\n margin: 0 8px 0 0;\n }\n"]))),y.default(o.DefaultButton).withConfig({displayName:"DefaultGoHomeButton__StyledButton",componentId:"sc-1m1ufrk-0"})(NRe||(NRe=c_e(["\n padding: 0 12px;\n"],["\n padding: 0 12px;\n"])));var KRe,JRe,eQe,tQe,nQe,iQe=y.default(o.IconButton).withConfig({displayName:"DeleteAttachmentButton",componentId:"sc-d7hswf-0"})(KRe||(KRe=c_e(["\n && {\n padding: ","px;\n color: ",";\n\n &:hover {\n color: ",";\n }\n\n &:disabled {\n background-color: transparent;\n }\n\n i {\n font-size: 14px;\n }\n }\n"],["\n && {\n padding: ","px;\n color: ",";\n\n &:hover {\n color: ",";\n }\n\n &:disabled {\n background-color: transparent;\n }\n\n i {\n font-size: 14px;\n }\n }\n"])),6,(function(e){return e.theme.textColors.default}),(function(e){return e.theme.textColors.default})),rQe=function(e){var n=e.toggleAll,r=e.className,a=i.useContext(Bne).theme.palette.accent;return t.jsxs(aQe,a_e({className:r},{children:[t.jsx(oQe,a_e({onClick:function(){return n(!0)},"data-button-toggle":"selectAll",color:a},{children:t.jsx(hS,{id:"Generic.SelectAll"},void 0)}),void 0),t.jsx(oQe,a_e({onClick:function(){return n(!1)},"data-button-toggle":"clearAll",color:a},{children:t.jsx(hS,{id:"Generic.ClearAll"},void 0)}),void 0)]}),void 0)},aQe=y.default.div.withConfig({displayName:"ToggleAllButtons__Host",componentId:"sc-kbn3b4-0"})(JRe||(JRe=c_e(["\n margin-bottom: ","px;\n"],["\n margin-bottom: ","px;\n"])),U8),oQe=y.default(gFe).withConfig({displayName:"ToggleAllButtons__StyledButton",componentId:"sc-kbn3b4-1"})(eQe||(eQe=c_e(["\n && {\n height: 20px;\n padding-left: 0;\n padding-right: 8px;\n font-size: 10pt;\n }\n"],["\n && {\n height: 20px;\n padding-left: 0;\n padding-right: 8px;\n font-size: 10pt;\n }\n"])));y.default((function(e){var n=e.iconName,i=e.textKey,a=o_e(e,["iconName","textKey"]);return t.jsxs(r.NavLink,a_e({},a,{children:[n&&t.jsx(o.Icon,{iconName:n},void 0),t.jsx(hS,{id:i},void 0)]}),void 0)})).withConfig({displayName:"TopActionButton",componentId:"sc-1lam7c6-0"})(tQe||(tQe=c_e(["\n && {\n font-size: initial;\n font-weight: bold;\n margin: 0 0 ","px 0;\n\n display: flex;\n align-items: center;\n align-self: flex-start;\n\n color: ",";\n }\n\n > i {\n padding-right: 8px;\n }\n"],["\n && {\n font-size: initial;\n font-weight: bold;\n margin: 0 0 ","px 0;\n\n display: flex;\n align-items: center;\n align-self: flex-start;\n\n color: ",";\n }\n\n > i {\n padding-right: 8px;\n }\n"])),U8,(function(e){return e.theme.palette.accent})),y.default(mEe).withConfig({displayName:"HeaderMenuButton__MenuButton",componentId:"sc-170vvq2-0"})(nQe||(nQe=c_e([""],[""])));var sQe,lQe,uQe,cQe,dQe=function(e){var n=e.language,r=e.channel,a=e.role,o=e.className,s=x6(),l=mQe(i.useContext(mie).channels,r,s,n);return t.jsx(hQe,a_e({title:l,className:o,role:a},{children:l}),void 0)},hQe=y.default.span.withConfig({displayName:"ChannelTitle__Host",componentId:"sc-1lqd4of-0"})(sQe||(sQe=c_e(["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"],["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"]))),pQe=function(e){var n=e.channels,i=e.language;return t.jsx(t.Fragment,{children:n.map((function(e,n){var r=fQe(e)?e.id:e;return t.jsxs("span",{children:[n>0&&", ",t.jsx(dQe,{channel:e,language:i},void 0)]},r)}))},void 0)};function fQe(e){return null!=e.id}function mQe(e,t,n,i){if(null==e&&!fQe(t))return t;var r=fQe(t)?t:e.find((function(e){return e.name===t||e.id===t}))||{name:t};if(null==r)return null;i||(i=R5(n));var a=r.translations||null!=e&&e.filter((function(e){return e.id===r.id})).map((function(e){return e.translations}))[0]||{};return i&&a[i]||a[n.subscription.defaultLanguage]||r.name}y.default(dQe).withConfig({displayName:"ChannelItem__StyledChannelTitle",componentId:"sc-bumcwu-0"})(lQe||(lQe=c_e(["\n margin-left: ","px;\n flex: 1 1 auto;\n font-size: ",";\n font-weight: bold;\n"],["\n margin-left: ","px;\n flex: 1 1 auto;\n font-size: ",";\n font-weight: bold;\n"])),(function(e){return e.applyMargin?"37":"0"}),n7),y.default.div.withConfig({displayName:"ChannelItem__Host",componentId:"sc-bumcwu-1"})(uQe||(uQe=c_e(["\n display: flex;\n flex-direction: row;\n align-items: center;\n box-sizing: border-box;\n min-height: 62px;\n padding: ","px ","px;\n\n ","\n\n .channel-drag-source {\n display: flex;\n align-items: center;\n flex: 0 0 auto;\n margin-right: 12px;\n\n i {\n font-size: ","px;\n }\n }\n"],["\n display: flex;\n flex-direction: row;\n align-items: center;\n box-sizing: border-box;\n min-height: 62px;\n padding: ","px ","px;\n\n ","\n\n .channel-drag-source {\n display: flex;\n align-items: center;\n flex: 0 0 auto;\n margin-right: 12px;\n\n i {\n font-size: ","px;\n }\n }\n"])),U8,15,lIe(2,2),n7),y.default(mEe).withConfig({displayName:"ChannelItem__StyledIconButton",componentId:"sc-bumcwu-2"})(cQe||(cQe=c_e(["\n i {\n font-size: ","px;\n }\n"],["\n i {\n font-size: ","px;\n }\n"])),n7);var gQe,vQe,yQe,bQe,OQe,_Qe,wQe,kQe,xQe,SQe,PQe,EQe=function(e){var n=e.channels,i=e.language,r=e.channelStyleDefinition,a=e.visibleChannelsCount,o=void 0===a?3:a,s=e.onChannelClick,l=e.className;if(!n||0===n.length)return null;var u=n.length>o;return t.jsxs(TQe,a_e({className:l,"data-has-more-indicator":u},{children:[t.jsx(FQe,{channels:n.slice(0,o),language:i,channelStyleDefinition:r,onChannelClick:s},void 0),u&&t.jsx(CQe,{channels:n.slice(o),language:i,styleDefinition:r,onChannelClick:s},void 0)]}),void 0)},FQe=function(e){var n=e.channels,i=e.language,r=e.channelStyleDefinition,a=e.onChannelClick;return t.jsx(DQe,a_e({"data-channels":!0},{children:n.map((function(e){var o=t.jsx(dQe,{channel:e,language:i},void 0);return a?t.jsx(AQe,a_e({bubbleCount:n.length,backgroundColor:null==r?void 0:r.backgroundColor,color:null==r?void 0:r.color,onClick:function(){return a(e)},"data-rounded-outline":!0},{children:o}),e):t.jsx(IQe,a_e({bubbleCount:n.length,backgroundColor:null==r?void 0:r.backgroundColor,color:null==r?void 0:r.color},{children:o}),e)}))}),void 0)},CQe=function(e){var n=e.channels,r=e.language,a=e.styleDefinition,o=e.onChannelClick,s=i.useRef(),l=i.useState(!1),u=l[0],c=l[1];return t.jsxs(t.Fragment,{children:[t.jsx(zQe,a_e({ref:s,backgroundColor:null==a?void 0:a.backgroundColor,color:null==a?void 0:a.color},{children:t.jsx($Qe,a_e({onClick:function(){return c(!0)}},{children:"+"+n.length}),void 0)}),void 0),u&&t.jsx(RQe,a_e({target:s.current,onDismiss:function(){return c(!1)}},{children:t.jsx(QQe,{children:n.map((function(e){return t.jsx("li",{children:o?t.jsx(gFe,a_e({onClick:function(){return o(e)}},{children:t.jsx(dQe,{channel:e,language:r},void 0)}),void 0):t.jsx(dQe,{channel:e,language:r},void 0)},e)}))},void 0)}),void 0)]},void 0)},TQe=y.default.div(gQe||(gQe=c_e(["\n display: flex;\n width: 100%;\n\n &[data-has-more-indicator='true'] {\n [data-channels] {\n width: calc(100% - ","px);\n }\n }\n\n &[data-has-more-indicator='false'] {\n [data-channels] {\n width: 100%;\n }\n }\n"],["\n display: flex;\n width: 100%;\n\n &[data-has-more-indicator='true'] {\n [data-channels] {\n width: calc(100% - ","px);\n }\n }\n\n &[data-has-more-indicator='false'] {\n [data-channels] {\n width: 100%;\n }\n }\n"])),56),DQe=y.default.div(vQe||(vQe=c_e(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),AQe=y.default(gFe)(yQe||(yQe=c_e(["\n z-index: 1;\n height: inherit;\n padding: 0;\n\n ","\n span {\n width: 100%;\n }\n"],["\n z-index: 1;\n height: inherit;\n padding: 0;\n\n ","\n span {\n width: 100%;\n }\n"])),(function(e){return LQe(e.bubbleCount,e.backgroundColor,e.color)})),IQe=y.default.span(bQe||(bQe=c_e(["\n ","\n"],["\n ","\n"])),(function(e){return LQe(e.bubbleCount,e.backgroundColor,e.color)})),LQe=function(e,t,n){return a.css(wQe||(wQe=c_e(["\n ","\n\n ","\n\n ","\n "],["\n ","\n\n ","\n\n ","\n "])),e&&a.css(OQe||(OQe=c_e(["\n max-width: calc(100% / "," - ","px);\n "],["\n max-width: calc(100% / "," - ","px);\n "])),e,6),e&&e>1&&a.css(_Qe||(_Qe=c_e(["\n margin-right: ","px;\n "],["\n margin-right: ","px;\n "])),6),lEe({backgroundColor:t,color:n}))},zQe=y.default.div(kQe||(kQe=c_e(["\n z-index: 1;\n margin-left: ","px;\n\n ","\n"],["\n z-index: 1;\n margin-left: ","px;\n\n ","\n"])),6,(function(e){return lEe({backgroundColor:e.backgroundColor,color:e.color})})),$Qe=y.default(gFe)(xQe||(xQe=c_e(["\n &&& {\n height: auto;\n color: inherit;\n padding: 0;\n }\n"],["\n &&& {\n height: auto;\n color: inherit;\n padding: 0;\n }\n"]))),RQe=y.default(_Fe)(SQe||(SQe=c_e(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),6),QQe=y.default.ul(PQe||(PQe=c_e(["\n margin: 0;\n padding: 0;\n list-style: none;\n"],["\n margin: 0;\n padding: 0;\n list-style: none;\n"]))),jQe=function(e){var n=e.channels,i=e.buildChannelFilterUrl,r=e.language,a=e.channelBackgroundColor,o=e.onClick,s=e.className;return(null==n?void 0:n.length)?t.jsx(nje,a_e({className:s,"data-channels":n.join(",")},{children:n.map((function(e){var n=MQe(e)?e.id:e,s=t.jsx(ije,a_e({backgroundColor:a},{children:t.jsx(dQe,{channel:e,language:r},void 0)}),void 0);return t.jsxs("li",{children:[i&&t.jsx(rje,a_e({"data-channel":!0,to:i(MQe(e)?e.name:e),"data-rounded-outline":!0},{children:s}),void 0),o&&t.jsx(oje,a_e({"data-rounded-outline":!0,onClick:function(){return o(MQe(e)?e.name:e)}},{children:s}),void 0),!o&&!i&&t.jsx(aje,{children:s},void 0)]},n)}))}),void 0):null};function MQe(e){return null!=e.id}var NQe,UQe,qQe,BQe,GQe,WQe,XQe,VQe,YQe,ZQe,HQe,KQe,JQe,eje,tje,nje=y.default.ul.withConfig({displayName:"ClickableChannelTitles__Host",componentId:"sc-1a7ny18-0"})(NQe||(NQe=c_e(["\n display: flex;\n flex-wrap: wrap;\n font-size: ","px;\n\n &&& {\n margin: 0;\n padding: 0;\n list-style: none;\n\n li {\n margin: 0;\n span {\n white-space: break-spaces;\n }\n }\n }\n"],["\n display: flex;\n flex-wrap: wrap;\n font-size: ","px;\n\n &&& {\n margin: 0;\n padding: 0;\n list-style: none;\n\n li {\n margin: 0;\n span {\n white-space: break-spaces;\n }\n }\n }\n"])),a7),ije=y.default.div.withConfig({displayName:"ClickableChannelTitles__ChannelBubble",componentId:"sc-1a7ny18-1"})(UQe||(UQe=c_e(["\n ","\n"],["\n ","\n"])),(function(e){return e.backgroundColor?lEe({backgroundColor:e.backgroundColor}):lEe()})),rje=y.default(r.NavLink).withConfig({displayName:"ClickableChannelTitles__ChannelLink",componentId:"sc-1a7ny18-2"})(qQe||(qQe=c_e(["\n position: relative;\n z-index: 1;\n color: ",";\n display: inline-block;\n margin: 2px ","px 2px 0;\n"],["\n position: relative;\n z-index: 1;\n color: ",";\n display: inline-block;\n margin: 2px ","px 2px 0;\n"])),(function(e){return e.theme.textColors.default}),6),aje=y.default.span.withConfig({displayName:"ClickableChannelTitles__ChannelBubbleWrapper",componentId:"sc-1a7ny18-3"})(BQe||(BQe=c_e(["\n display: block;\n margin: 2px ","px 2px 0;\n"],["\n display: block;\n margin: 2px ","px 2px 0;\n"])),6),oje=y.default(gFe).withConfig({displayName:"ClickableChannelTitles__StyledActionButton",componentId:"sc-1a7ny18-4"})(GQe||(GQe=c_e(["\n && {\n height: auto;\n padding: 0;\n margin: 2px ","px 2px 0;\n }\n"],["\n && {\n height: auto;\n padding: 0;\n margin: 2px ","px 2px 0;\n }\n"])),6),sje=function(e){var n=e.searchText,i=e.onSearchTextChange,r=e.onExecuteSearch,a=e.onSearchIconClick,o=e.onSearchInputFieldVisibilityChanged;return t.jsxs(t.Fragment,{children:[t.jsx(lje,{children:t.jsx(h$e,{searchText:n,onSearchTextChange:i,onExecuteSearch:r,onSearchInputFieldVisibilityChanged:o,isToolbarMode:!0},void 0)},void 0),t.jsx(uje,{children:t.jsx(o$e,{iconName:"Search",onClick:a,tooltipResourceKey:"TopBar.search",ariaLabelResourceKey:"TopBar.search"},void 0)},void 0)]},void 0)},lje=y.default.div.withConfig({displayName:"ToolbarSearch__SearchBoxLargeScreen",componentId:"sc-1f480ry-0"})(WQe||(WQe=c_e(["\n display: flex;\n justify-content: flex-end;\n max-width: 300px;\n flex-grow: 1;\n @media (max-width: ","px) {\n display: none;\n }\n"],["\n display: flex;\n justify-content: flex-end;\n max-width: 300px;\n flex-grow: 1;\n @media (max-width: ","px) {\n display: none;\n }\n"])),J8),uje=y.default.div.withConfig({displayName:"ToolbarSearch__SearchIconSmallScreen",componentId:"sc-1f480ry-1"})(XQe||(XQe=c_e(["\n @media (min-width: ","px) {\n display: none;\n }\n"],["\n @media (min-width: ","px) {\n display: none;\n }\n"])),V8),cje=function(e){var n=e.leftSide,r=e.hideLeftSide,a=e.rightSide,o=e.hideRightSide,s=e.search,l=e.className,u=e.children,c=i.useState(!1),d=c[0],h=c[1];return t.jsxs(dje,a_e({className:l,"data-content-toolbar":!0},{children:[t.jsxs(fje,{children:[n&&!r&&t.jsx(hje,{children:n},void 0),(a||s)&&!o&&t.jsxs(pje,{children:[s&&t.jsx(sje,{searchText:s.searchText,onSearchTextChange:s.onSearchTextChange,onExecuteSearch:s.onExecuteSearch,onSearchIconClick:function(){d?p():h(!0)},onSearchInputFieldVisibilityChanged:function(e){return h(e)}},void 0),a]},void 0)]},void 0),u,s&&d&&t.jsx(mje,{children:t.jsx(s$e,{onClear:p,searchText:s.searchText,onChange:s.onSearchTextChange,onExecuteSearch:s.onExecuteSearch,useLightTheme:!0},void 0)},void 0)]}),void 0);function p(){var e;null===(e=s.onSearchTextChange)||void 0===e||e.call(s,""),h(!1)}},dje=y.default.div.withConfig({displayName:"Toolbar__Host",componentId:"sc-16ftbxt-0"})(VQe||(VQe=c_e(["\n display: flex;\n flex: 1 1 auto;\n flex-direction: column;\n justify-content: center;\n background-color: ",";\n box-shadow: 1px 1px 4px grey;\n padding: ","px;\n min-height: 36px;\n\n // min-width required if you want to use overflow:hidden or similar stuff on parent elements\n // see: https://stackoverflow.com/questions/43809612/prevent-a-child-element-from-overflowing-its-parent-in-flexbox\n min-width: 0;\n"],["\n display: flex;\n flex: 1 1 auto;\n flex-direction: column;\n justify-content: center;\n background-color: ",";\n box-shadow: 1px 1px 4px grey;\n padding: ","px;\n min-height: 36px;\n\n // min-width required if you want to use overflow:hidden or similar stuff on parent elements\n // see: https://stackoverflow.com/questions/43809612/prevent-a-child-element-from-overflowing-its-parent-in-flexbox\n min-width: 0;\n"])),(function(e){return e.theme.palette.white}),3),hje=y.default.div.withConfig({displayName:"Toolbar__LeftSide",componentId:"sc-16ftbxt-1"})(YQe||(YQe=c_e(["\n display: flex;\n\n flex-wrap: nowrap;\n flex: 1 1 auto;\n\n min-width: 0;\n"],["\n display: flex;\n\n flex-wrap: nowrap;\n flex: 1 1 auto;\n\n min-width: 0;\n"]))),pje=y.default.div.withConfig({displayName:"Toolbar__RightSide",componentId:"sc-16ftbxt-2"})(ZQe||(ZQe=c_e(["\n display: flex;\n align-items: center;\n justify-content: flex-end;\n flex: 1 1 auto;\n"],["\n display: flex;\n align-items: center;\n justify-content: flex-end;\n flex: 1 1 auto;\n"]))),fje=y.default.div.withConfig({displayName:"Toolbar__Row",componentId:"sc-16ftbxt-3"})(HQe||(HQe=c_e(["\n display: flex;\n flex: 1 1 auto;\n\n min-width: 0;\n"],["\n display: flex;\n flex: 1 1 auto;\n\n min-width: 0;\n"]))),mje=y.default.div.withConfig({displayName:"Toolbar__SearchInputRow",componentId:"sc-16ftbxt-4"})(KQe||(KQe=c_e(["\n display: flex;\n width: 100%;\n @media (min-width: ","px) {\n display: none;\n }\n"],["\n display: flex;\n width: 100%;\n @media (min-width: ","px) {\n display: none;\n }\n"])),V8);y.default(cje).withConfig({displayName:"ChromelessToolbar__StyledToolbar",componentId:"sc-1vovywb-0"})(JQe||(JQe=c_e(["\n margin-top: ","px;\n margin-bottom: ","px;\n\n flex: 0 0 auto;\n\n @media (min-width: ","px) {\n margin-top: ","px;\n margin-bottom: ","px;\n }\n"],["\n margin-top: ","px;\n margin-bottom: ","px;\n\n flex: 0 0 auto;\n\n @media (min-width: ","px) {\n margin-top: ","px;\n margin-bottom: ","px;\n }\n"])),U8,U8,V8,q8,q8),y.default.p.withConfig({displayName:"PageDescription",componentId:"sc-xcsmz7-0"})(eje||(eje=c_e(["\n display: flex;\n flex-wrap: wrap;\n margin: 0;\n line-height: 1.5em;\n span {\n flex: 1 1 100%;\n }\n"],["\n display: flex;\n flex-wrap: wrap;\n margin: 0;\n line-height: 1.5em;\n span {\n flex: 1 1 100%;\n }\n"]))),y.default.div.withConfig({displayName:"DragSource__Host",componentId:"sc-qzjyds-0"})(tje||(tje=c_e([""],[""])));var gje,vje,yje,bje,Oje,_je,wje,kje,xje,Sje,Pje,Eje=function(e){var n=e.onEmojiSelected,r=e.disabled,a=i.useRef(null),s=i.useState(!1),l=s[0],u=s[1],c=Wx().formatMessage;return t.jsxs(t.Fragment,{children:[t.jsx(Fje,a_e({ref:a},{children:t.jsx(mEe,{"data-emoji-button":!0,iconProps:{iconName:"Emoji2"},onClick:function(){return u(!0)},disabled:r,ariaLabel:c({id:"AriaLabel.emojiButton"})},void 0)}),void 0),l&&t.jsx(Cje,a_e({directionalHint:o.DirectionalHint.topCenter,target:a.current,onDismiss:function(){return u(!1)},isBeakVisible:!1,gapSpace:10,preventDismissOnScroll:!0,styles:{calloutMain:{padding:5}}},{children:t.jsx(Dje,{onSelect:function(e){u(!1),n(e.native)}},void 0)}),void 0)]},void 0)},Fje=y.default.div.withConfig({displayName:"EmojiButton__ButtonWrapper",componentId:"sc-1eq2zlz-0"})(gje||(gje=c_e([""],[""]))),Cje=y.default(_Fe).withConfig({displayName:"EmojiButton__StyledCallout",componentId:"sc-1eq2zlz-1"})(vje||(vje=c_e(["\n border-radius: 10px;\n overflow: hidden;\n"],["\n border-radius: 10px;\n overflow: hidden;\n"]))),Tje=i.lazy((function(){return Promise.resolve().then((function(){return tUi}))})),Dje=function(e){var n=e.onSelect,r=$w();return t.jsx(i.Suspense,a_e({fallback:t.jsx(Aje,a_e({isSmaller:r.width<X8},{children:t.jsx(vCe,{},void 0)}),void 0)},{children:t.jsx(Tje,{onSelect:n},void 0)}),void 0)},Aje=y.default.div.withConfig({displayName:"EmojiButton__EmojiPickerSuspenseHost",componentId:"sc-1eq2zlz-2"})(yje||(yje=c_e(["\n // we set an initial width which is similar to what the emoji picker will be once it's loaded\n // we have to do this so the callout is rendered in the correct place\n width: ","px;\n height: 400px;\n"],["\n // we set an initial width which is similar to what the emoji picker will be once it's loaded\n // we have to do this so the callout is rendered in the correct place\n width: ","px;\n height: 400px;\n"])),(function(e){return e.isSmaller?319:400})),Ije=function(){var e=Dm();return t.jsx(Lje,{children:t.jsx("a",a_e({href:"https://giphy.com",target:"_blank",rel:"noreferrer"},{children:t.jsx("img",{src:e.webAppUrl+"/assets/giphy/PoweredBy_200px-White_HorizText.png",alt:"Giphy Attribution"},void 0)}),void 0)},void 0)},Lje=y.default.div(bje||(bje=c_e(["\n text-align: right;\n margin-top: ","px;\n"],["\n text-align: right;\n margin-top: ","px;\n"])),6),zje=function(e){var n,r,a=e.onGifClick,s=e.className,l=Gm(),u=Wx().formatMessage,c=new nle.GiphyFetch(l.giphy.apiKey),d=i.useState(null),h=d[0],p=d[1],f=t_e(h,500)[0],m=$w(),g=zw((function(){if(!f)return c.trending({limit:21});return c.search(f,{limit:21})}),null,[f]),v=g[0],y=g[1],b=m.width<550?80:100;return t.jsxs($je,a_e({className:s},{children:[t.jsx(o.SearchBox,{placeholder:u({id:"Gif.searchPlaceHolder"}),iconProps:{iconName:"Search"},onChange:function(e,t){return p(t)},autoFocus:!0},void 0),t.jsxs(Rje,a_e({columnWidth:b,"data-gif-grid":!0},{children:[y&&t.jsx(vCe,{delay:300},void 0),0===(null===(n=null==v?void 0:v.data)||void 0===n?void 0:n.length)&&t.jsx(hS,{id:"Generic.noResultsFound"},void 0),null===(r=null==v?void 0:v.data)||void 0===r?void 0:r.map((function(e){return t.jsx(Qje,{gif:e,width:b,height:b,noLink:!0,hideAttribution:!0,onGifClick:a},e.id)}))]}),void 0)]}),void 0)},$je=y.default.div.withConfig({displayName:"GifSelector__Host",componentId:"sc-lame6k-0"})(Oje||(Oje=c_e(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),6),Rje=y.default.div.withConfig({displayName:"GifSelector__GifContainer",componentId:"sc-lame6k-1"})(_je||(_je=c_e(["\n margin-top: ","px;\n display: grid;\n grid-template-columns: repeat(auto-fit, ","px);\n grid-gap: ","px;\n justify-content: space-around;\n"],["\n margin-top: ","px;\n display: grid;\n grid-template-columns: repeat(auto-fit, ","px);\n grid-gap: ","px;\n justify-content: space-around;\n"])),U8,(function(e){return e.columnWidth}),6),Qje=y.default(qre.Gif).withConfig({displayName:"GifSelector__ClickableGif",componentId:"sc-lame6k-2"})(wje||(wje=c_e(["\n cursor: pointer;\n"],["\n cursor: pointer;\n"]))),jje=function(e){var n=e.target,i=e.onGifClick,r=e.onDismiss;return t.jsxs(Mje,a_e({directionalHint:o.DirectionalHint.topCenter,target:n,onDismiss:r,isBeakVisible:!1,gapSpace:10,preventDismissOnResize:!0,preventDismissOnScroll:!0,styles:{calloutMain:{padding:5}}},{children:[t.jsx(Nje,{onGifClick:i},void 0),t.jsx(Ije,{},void 0)]}),void 0)},Mje=y.default(_Fe)(kje||(kje=c_e(["\n border-radius: 10px;\n overflow: hidden;\n width: 360px;\n"],["\n border-radius: 10px;\n overflow: hidden;\n width: 360px;\n"]))),Nje=y.default(zje)(xje||(xje=c_e(["\n & [data-gif-grid] {\n overflow-y: auto;\n height: 400px;\n }\n"],["\n & [data-gif-grid] {\n overflow-y: auto;\n height: 400px;\n }\n"])));a.createGlobalStyle(Sje||(Sje=c_e(["\n .lt-reach.dialog-gif-selector {\n .ms-Dialog-main {\n width: 400px !important;\n\n @media (max-width: ","px) {\n width: 100% !important;\n }\n }\n}\n"],["\n .lt-reach.dialog-gif-selector {\n .ms-Dialog-main {\n width: 400px !important;\n\n @media (max-width: ","px) {\n width: 100% !important;\n }\n }\n}\n"])),K8),y.default(zje).withConfig({displayName:"GifSelectorDialog__StyledDialogGifSelector",componentId:"sc-t6p48w-0"})(Pje||(Pje=c_e(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),U8);var Uje,qje,Bje,Gje,Wje,Xje,Vje=function(e){var n=e.disabled,r=e.onGifClick,a=S6(),o=Wx().formatMessage,s=i.useRef(),l=i.useState(!1),u=l[0],c=l[1];return a.giphy?t.jsxs("div",{children:[t.jsx("div",a_e({ref:s},{children:t.jsx(mEe,{iconProps:{iconName:"Gif"},onClick:function(){return c(!0)},disabled:n,"data-button-type":"gif",ariaLabel:o({id:"AriaLabel.gifButton"})},void 0)}),void 0),u&&t.jsx(t.Fragment,{children:t.jsx(jje,{target:s.current,onGifClick:function(e){c(!1),r({id:e.id.toString(),filename:e.title,url:e.embed_url,type:H6.Giphy})},onDismiss:function(){return c(!1)}},void 0)},void 0)]},void 0):null},Yje=function(e){var n=e.gifInfo,r=e.className,a=Gm(),o=i.useState(),s=o[0],l=o[1];return i.useEffect((function(){new nle.GiphyFetch(a.giphy.apiKey).gif(n.id).then((function(e){return l(e.data)}))}),[a.giphy.apiKey,n.id]),s?t.jsx(Zje,a_e({className:r},{children:t.jsx(Hje,{gif:s,width:300,noLink:!0,hideAttribution:!0},void 0)}),void 0):null},Zje=y.default.div(Uje||(Uje=c_e([""],[""]))),Hje=y.default(qre.Gif)(qje||(qje=c_e(["\n && {\n max-width: 100%;\n }\n\n @media (max-width: ","px) {\n /* because the style is inline set we need to overwrite it via !important */\n width: auto !important;\n height: auto !important;\n > div {\n width: auto !important;\n height: auto !important;\n\n img {\n max-width: 100%;\n height: auto;\n }\n }\n }\n"],["\n && {\n max-width: 100%;\n }\n\n @media (max-width: ","px) {\n /* because the style is inline set we need to overwrite it via !important */\n width: auto !important;\n height: auto !important;\n > div {\n width: auto !important;\n height: auto !important;\n\n img {\n max-width: 100%;\n height: auto;\n }\n }\n }\n"])),K8),Kje=function(e){var n=e.attachments,i=e.onDeleteClick,r=e.className,a=Wx().formatMessage,o=n.filter((function(e){return e.type===H6.Giphy}));return 0===o.length?null:t.jsx(Jje,a_e({className:r,"data-gif-attachment-list":!0},{children:o.map((function(e){return t.jsx(eMe,a_e({domIdentifier:"gif",deleteButton:t.jsx(iQe,{"data-remove-attachment-button":e.id,iconProps:{iconName:"ChromeClose"},onClick:function(){return i(e)},ariaLabel:a({id:"AriaLabel.removeAttachmentButton"})},void 0)},{children:t.jsx(Yje,{gifInfo:e},void 0)}),e.id)}))}),void 0)},Jje=y.default.div.withConfig({displayName:"GifEditList__Host",componentId:"sc-95dldh-0"})(Bje||(Bje=c_e(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"],["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"]))),eMe=y.default(hFe).withConfig({displayName:"GifEditList__StyledAttachmentHost",componentId:"sc-95dldh-1"})(Gje||(Gje=c_e(["\n width: auto;\n"],["\n width: auto;\n"]))),tMe=function(e){var n=e.attachments,i=e.className,r=n.filter((function(e){return e.type===H6.Giphy}));return 0===r.length?null:t.jsx(nMe,a_e({className:i,"data-gif-url-preview":r[0].id},{children:t.jsx(iMe,{children:t.jsx(Yje,{gifInfo:r[0]},void 0)},void 0)}),void 0)},nMe=y.default.div.withConfig({displayName:"GifList__Host",componentId:"sc-8gg7fj-0"})(Wje||(Wje=c_e(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"],["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"]))),iMe=y.default(hFe).withConfig({displayName:"GifList__StyledAttachmentHost",componentId:"sc-8gg7fj-1"})(Xje||(Xje=c_e(["\n width: auto;\n margin: ","px 0 0 0;\n"],["\n width: auto;\n margin: ","px 0 0 0;\n"])),U8);var rMe,aMe,oMe,sMe=function(e){var n,r,a=i.useRef(null),s=i.useState(!1),l=s[0],u=s[1];return t.jsxs(lMe,a_e({className:e.className},((n={})[e.dataAttribute]=!0,n),{ref:a},{children:[t.jsx(uMe,{"data-icon-with-callout":!0,iconProps:{iconName:e.icon},onClick:function(){return s_e(this,void 0,void 0,(function(){var t,n;return l_e(this,(function(i){switch(i.label){case 0:return(t=e.disabled)?[3,3]:(n=e.onIconClick)?[4,e.onIconClick()]:[3,2];case 1:n=i.sent(),i.label=2;case 2:t=n,i.label=3;case 3:return t||u(!l),[2]}}))}))},ariaLabel:e.ariaLabel,disabled:e.disabled},void 0),l&&t.jsx(cMe,a_e({className:"icon-with-callout-content",target:a,directionalHint:null==e.directionalHint?o.DirectionalHint.rightCenter:e.directionalHint,gapSpace:4,onDismiss:function(){var t;u(!1),null===(t=e.onCalloutDismissed)||void 0===t||t.call(e)},calloutWidth:null!==(r=e.calloutWidth)&&void 0!==r?r:0},{children:e.children}),void 0)]}),void 0)},lMe=y.default.div.withConfig({displayName:"IconWithCallout__Host",componentId:"sc-1jmscz2-0"})(rMe||(rMe=c_e(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),uMe=y.default(mEe).withConfig({displayName:"IconWithCallout__StyledIconButton",componentId:"sc-1jmscz2-1"})(aMe||(aMe=c_e(["\n width: auto;\n height: auto;\n padding: 0;\n\n &[disabled] {\n background: transparent;\n }\n"],["\n width: auto;\n height: auto;\n padding: 0;\n\n &[disabled] {\n background: transparent;\n }\n"]))),cMe=y.default(_Fe).withConfig({displayName:"IconWithCallout__StyledCallout",componentId:"sc-1jmscz2-2"})(oMe||(oMe=c_e(["\n && {\n font-family: 'Roboto', sans-serif;\n padding: 10px;\n max-width: 700px !important;\n\n h2 {\n margin: 10px;\n }\n }\n"],["\n && {\n font-family: 'Roboto', sans-serif;\n padding: 10px;\n max-width: 700px !important;\n\n h2 {\n margin: 10px;\n }\n }\n"]))),dMe="video-view-container";function hMe(e,t){return void 0===t&&(t=!1),null==e||0===e.trim().length||t&&function(e){var t=document.createElement("div");return t.innerHTML=e,0===t.innerText.trim().length&&null===t.querySelector("div")}(e)}var pMe=["ar-dz","ar-kw","ar-ly","ar-ma","ar-sa","ar-tn","ar","bg","bn","ca","cs","da","de-at","de-ch","de","el","en","en-au","en-ca","en-gb","en-ie","en-il","en-nz","en-sg","es-do","es-us","es","et","fa","fi","fr-ca","fr-ch","fr","gu","he","hi","hr","hu","id","it-ch","it","ja","kn","ko","lt","lv","ml","mr","ms-my","ms","nb","nl-be","nl","pl","pt-br","pt","ro","ru","sk","sl","sr-cyrl","sr","sv","sw","ta","te","th","tr","uk","vi","zh-cn","zh-hk","zh-tw"];function fMe(e){return mMe(null==e?void 0:e.preferredLocale)||mMe(function(){try{return Intl.DateTimeFormat().resolvedOptions().locale}catch(e){return null}}())||mMe(null==e?void 0:e.preferredUiLanguage)||mMe(navigator.language)||"en"}function mMe(e){return e?("en-us"===(e=e.toLocaleLowerCase())&&(e="en"),pMe.find((function(t){return t===e}))):null}var gMe,vMe,yMe,bMe,OMe,_Me,wMe,kMe,xMe,SMe=function(e){var n=e.onNextClick,r=e.onPrevClick,a=e.onFirstClick,o=e.hidePrevButton,s=e.hideNextButton,l=e.isLoadingNextPage,u=e.className,c=Wx().formatMessage,d=i.useContext(Bne).theme.palette;return s&&o?null:t.jsxs(PMe,a_e({className:u},{children:[t.jsx(sEe,a_e({resourceKey:"Lib.paging.goToFirstPage"},{children:t.jsx(FMe,{ariaLabel:c({id:"Generic.first.page.button.text"}),iconProps:{iconName:"ChevronLeftEnd6"},isHidden:o,onClick:a,color:d.accent,"data-horizontal-pager-first-page-button":!0},void 0)}),void 0),t.jsx(CMe,{iconProps:{iconName:"ChevronLeftSmall"},text:c({id:"Generic.previous.page.button.text"}),isHidden:o,onClick:r,color:d.accent,"data-horizontal-pager-back-button":!0},void 0),t.jsx(TMe,{iconProps:{iconName:"ChevronRightSmall"},text:c({id:"Generic.next.page.button.text"}),disabled:l,isHidden:s,onClick:n,color:d.accent,"data-horizontal-pager-more-button":!0},void 0)]}),void 0)},PMe=y.default.div.withConfig({displayName:"HorizontalPager__Host",componentId:"sc-1b5ja54-0"})(gMe||(gMe=c_e(["\n display: flex;\n justify-content: center;\n margin-top: ","px;\n"],["\n display: flex;\n justify-content: center;\n margin-top: ","px;\n"])),q8),EMe=y.default(gFe).withConfig({displayName:"HorizontalPager__StyledActionButton",componentId:"sc-1b5ja54-1"})(yMe||(yMe=c_e(["\n font-weight: bold;\n\n ","\n"],["\n font-weight: bold;\n\n ","\n"])),(function(e){return e.isHidden&&a.css(vMe||(vMe=c_e(["\n visibility: hidden;\n "],["\n visibility: hidden;\n "])))})),FMe=y.default(EMe).withConfig({displayName:"HorizontalPager__FirstPageButton",componentId:"sc-1b5ja54-2"})(bMe||(bMe=c_e([""],[""]))),CMe=y.default(EMe).withConfig({displayName:"HorizontalPager__BackButton",componentId:"sc-1b5ja54-3"})(OMe||(OMe=c_e([""],[""]))),TMe=y.default(EMe).withConfig({displayName:"HorizontalPager__MoreButton",componentId:"sc-1b5ja54-4"})(_Me||(_Me=c_e(["\n & > span {\n flex-direction: row-reverse;\n }\n"],["\n & > span {\n flex-direction: row-reverse;\n }\n"])));y.default.p.withConfig({displayName:"PaginationStatus__AllLoadedStatus",componentId:"sc-ykj2ti-0"})(wMe||(wMe=c_e(["\n margin: 0;\n text-align: center;\n color: ",";\n"],["\n margin: 0;\n text-align: center;\n color: ",";\n"])),(function(e){return e.theme.palette.neutralSecondary})),y.default.div.withConfig({displayName:"PaginationStatus__Host",componentId:"sc-ykj2ti-1"})(kMe||(kMe=c_e(["\n margin: ","px 0;\n\n > * {\n margin: 0;\n }\n"],["\n margin: ","px 0;\n\n > * {\n margin: 0;\n }\n"])),W8),y.default.div.withConfig({displayName:"PaginationStatus__LoadStatusPlaceholder",componentId:"sc-ykj2ti-2"})(xMe||(xMe=c_e(["\n height: ","px;\n"],["\n height: ","px;\n"])),q8);var DMe=P_e,AMe=Array.isArray||function(e){return"Array"==DMe(e)},IMe=AMe,LMe=pke,zMe=DCe,$Me=function(e,t,n,i,r,a,o,s){for(var l,u=r,c=0,d=!!o&&zMe(o,s,3);c<i;){if(c in n){if(l=d?d(n[c],c,t):n[c],a>0&&IMe(l))u=$Me(e,t,l,LMe(l.length),u,a-1)-1;else{if(u>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[u]=l}u++}c++}return u},RMe=$Me,QMe=L_e,jMe=AMe,MMe=Yxe("species"),NMe=RMe,UMe=ixe,qMe=pke,BMe=txe,GMe=function(e,t){var n;return jMe(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!jMe(n.prototype)?QMe(n)&&null===(n=n[MMe])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)};function WMe(e,t,n){var r=function(e){var t=i.useState(0),n=t[0],r=t[1],a=i.useState({pages:{},paginationToken:null,hasNextPage:!0}),o=a[0],s=a[1];return{state:o,setInitialPages:function(e,t,n){s({pages:{0:u_e([],e||[])},paginationToken:t,hasNextPage:n})},updatePageItems:function(e,t,n,i){s((function(r){var a;return{pages:r_e(r.pages,(a={},a[e]={$set:t},a)),paginationToken:n,hasNextPage:i}}))},lastFetchedPageIndex:n,updateLastFetchedPageIndex:function(t){r(t?e*t:function(t){return t+e})},updateItem:function(e,t){s((function(n){for(var i=a_e({},n.pages),r=Object.keys(i).length,a=0;a<r;){var o=Object.keys(i)[a++],s=i[o];if(s.find((function(t){return t.id===e}))){i[o]=s.map((function(n){return n.id===e?t:n}));break}}return a_e(a_e({},n),{pages:i})}))},insertToTheFront:function(t){for(var i,a,l=u_e([t],(null===(i=o.pages)||void 0===i?void 0:i[0])||[]),u=a_e(a_e({},o.pages),{0:l}),c=Object.keys(u).length,d=0;d<c;){var h=0===d,p=Object.keys(u)[d],f=u[p].length;if(h&&f>e&&f<=2*e){n<2*e&&r(n+e);break}if(f<=e)break;var m=u[p].pop(),g=null!==(a=Object.keys(u)[d+1])&&void 0!==a?a:h?2*e:+p+e,v=u[g];if(!v){o.hasNextPage||(u[g]=[m],r(n+e));break}v.unshift(m),d++}s(a_e(a_e({},o),{pages:u}))},deleteItem:function(t){for(var i=a_e({},o.pages),a=Object.keys(i).length,l=0;l<a;){var u=Object.keys(i)[l];if(i[u].find((function(e){return e.id===t}))){i[u]=i[u].filter((function(e){return e.id!==t}));break}l++}for(var c=!1;l<a;){if(!i[u=Object.keys(i)[l++]].length&&l===a){delete i[u],c=!0;break}var d=Object.keys(i)[l],h=d?i[d]:null;if(!h)break;var p=h.shift();i[u].push(p)}s(a_e(a_e({},o),{pages:i}));var f=(c||i[0].length===e)&&n>e;return f&&r(n-e),f}}}(e),a=r.state,o=r.setInitialPages,s=r.updatePageItems,l=r.lastFetchedPageIndex,u=r.updateLastFetchedPageIndex,c=r.updateItem,d=r.insertToTheFront,h=r.deleteItem,p=i.useState(0),f=p[0],m=p[1],g=i.useState(!0),v=g[0],y=g[1],b=i.useState(!1),O=b[0],_=b[1],w=i.useState(null),k=w[0],x=w[1];i.useEffect((function(){P()}),u_e([e],n||[]));var S=Object.keys(a.pages).flatMap((function(e){return a.pages[e]})).slice(f-e,f);return{items:S,isInitialLoading:v,isLoadingNextPage:O,error:k,getFirstPage:function(){return m(e)},getPrevPage:function(){return m(f-e)},getNextPage:function(){return s_e(this,void 0,void 0,(function(){return l_e(this,(function(t){switch(t.label){case 0:return m(f+e),a.hasNextPage&&f===l-e?[4,E(a.paginationToken)]:[3,2];case 1:t.sent(),u(),t.label=2;case 2:return[2]}}))}))},isFirstPage:f===e,isLastPage:f===l&&!a.hasNextPage,isEmpty:!v&&0===(null==S?void 0:S.length),insertToTheFront:d,updateItem:c,onBeforeDeleteItem:function(t){var n=h(t);!a.hasNextPage&&n&&f>=l&&f>0&&m(f-e);_(!0)},onAfterDeleteItem:function(){return s_e(this,void 0,void 0,(function(){return l_e(this,(function(t){switch(t.label){case 0:return a.hasNextPage?a.paginationToken!==2*e?[3,2]:[4,P()]:[3,4];case 1:return t.sent(),[3,4];case 2:return[4,E(+a.paginationToken-e)];case 3:t.sent(),u(),t.label=4;case 4:return _(!1),[2]}}))}))}};function P(){return s_e(this,void 0,void 0,(function(){var n,i;return l_e(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,3,4]),[4,t(2*e,null)];case 1:return n=r.sent(),o(n.items,n.paginationToken,n.hasNextPage),n.items.length<=e?(u(1),m(e)):(u(2),m(e)),[3,4];case 2:return i=r.sent(),ng.error(i),x(i),[3,4];case 3:return y(!1),[7];case 4:return[2]}}))}))}function E(n){return s_e(this,void 0,void 0,(function(){var i,r;return l_e(this,(function(a){switch(a.label){case 0:return a.trys.push([0,2,3,4]),_(!0),[4,t(e,n)];case 1:return i=a.sent(),s(n,i.items,i.paginationToken,i.hasNextPage),[3,4];case 2:return r=a.sent(),ng.error(r),x(k),[3,4];case 3:return _(!1),[7];case 4:return[2]}}))}))}}exe({target:"Array",proto:!0},{flatMap:function(e){var t,n=UMe(this),i=qMe(n.length);return BMe(e),(t=GMe(n,0)).length=NMe(t,n,n,i,0,1,e,arguments.length>1?arguments[1]:void 0),t}}),DSe("flatMap");var XMe,VMe,YMe,ZMe,HMe,KMe,JMe,eNe=function(e){var n=e.onNextClick,r=e.onPrevClick,a=e.hidePagination,o=e.disablePrevButton,s=e.disableNextButton,l=e.children,u=e.className,c=i.useContext(Bne).theme.palette,d=Wx().formatMessage;return a?t.jsx(t.Fragment,{children:l},void 0):t.jsxs(tNe,a_e({className:u},{children:[t.jsx(iNe,{disabled:o,onClick:r,iconProps:{iconName:"ChevronUpSmall"},color:c.accent,ariaLabel:d({id:"Lib.paging.previous"})},void 0),t.jsx(aNe,{children:l},void 0),t.jsx(rNe,{disabled:s,onClick:n,iconProps:{iconName:"ChevronDownSmall"},color:c.accent,ariaLabel:d({id:"Lib.paging.next"})},void 0)]}),void 0)},tNe=y.default.div.withConfig({displayName:"VerticalPager__Host",componentId:"sc-76hdpk-0"})(XMe||(XMe=c_e(["\n display: flex;\n flex-direction: column;\n width: 100%;\n"],["\n display: flex;\n flex-direction: column;\n width: 100%;\n"]))),nNe=y.default(mEe).withConfig({displayName:"VerticalPager__StyledIconButton",componentId:"sc-76hdpk-1"})(VMe||(VMe=c_e(["\n width: 100%;\n height: 20px;\n position: relative;\n\n &&[disabled] {\n background-color: transparent;\n }\n\n &&:not([disabled]):hover {\n color: ",";\n }\n\n &:hover {\n &::before {\n content: '';\n position: absolute;\n left: 0;\n top: 0;\n display: block;\n width: 100%;\n height: 100%;\n opacity: 0.2;\n }\n }\n"],["\n width: 100%;\n height: 20px;\n position: relative;\n\n &&[disabled] {\n background-color: transparent;\n }\n\n &&:not([disabled]):hover {\n color: ",";\n }\n\n &:hover {\n &::before {\n content: '';\n position: absolute;\n left: 0;\n top: 0;\n display: block;\n width: 100%;\n height: 100%;\n opacity: 0.2;\n }\n }\n"])),jne),iNe=y.default(nNe).withConfig({displayName:"VerticalPager__TopButton",componentId:"sc-76hdpk-2"})(YMe||(YMe=c_e(["\n &:hover::before {\n background-image: linear-gradient("," 0%, white);\n }\n"],["\n &:hover::before {\n background-image: linear-gradient("," 0%, white);\n }\n"])),(function(e){return e.color})),rNe=y.default(nNe).withConfig({displayName:"VerticalPager__BottomButton",componentId:"sc-76hdpk-3"})(ZMe||(ZMe=c_e(["\n &:hover::before {\n background-image: linear-gradient(white, "," 100%);\n }\n"],["\n &:hover::before {\n background-image: linear-gradient(white, "," 100%);\n }\n"])),(function(e){return e.color})),aNe=y.default.div.withConfig({displayName:"VerticalPager__Inner",componentId:"sc-76hdpk-4"})(HMe||(HMe=c_e(["\n margin: ","px ","px;\n"],["\n margin: ","px ","px;\n"])),q8,15),oNe=i.createContext(null);y.default.div.withConfig({displayName:"PullToRefresh__Host",componentId:"sc-1wloq17-0"})(KMe||(KMe=c_e(["\n width: 100%;\n"],["\n width: 100%;\n"]))),y.default.div.withConfig({displayName:"PullToRefresh__Inner",componentId:"sc-1wloq17-1"})(JMe||(JMe=c_e(["\n display: contents;\n"],["\n display: contents;\n"])));var sNe,lNe,uNe,cNe,dNe,hNe,pNe,fNe,mNe,gNe=a.css(sNe||(sNe=c_e(["\n .ms-Dropdown,\n .ms-Dropdown-title {\n border: none;\n &:focus::after {\n border: none;\n }\n }\n\n .ms-Dropdown-title,\n .ms-Dropdown-caretDownWrapper {\n line-height: 32px;\n }\n"],["\n .ms-Dropdown,\n .ms-Dropdown-title {\n border: none;\n &:focus::after {\n border: none;\n }\n }\n\n .ms-Dropdown-title,\n .ms-Dropdown-caretDownWrapper {\n line-height: 32px;\n }\n"]))),vNe=a.css(lNe||(lNe=c_e(["\n ","\n\n @media (min-width: ","px) {\n padding-right: ","px;\n }\n"],["\n ","\n\n @media (min-width: ","px) {\n padding-right: ","px;\n }\n"])),gNe,V8,q8),yNe=a.css(uNe||(uNe=c_e(["\n display: flex;\n align-items: center;\n min-height: 35px;\n width: 100%;\n\n span {\n color: ",";\n }\n\n i {\n width: 50px;\n font-size: 16px;\n color: ",";\n text-align: center;\n }\n"],["\n display: flex;\n align-items: center;\n min-height: 35px;\n width: 100%;\n\n span {\n color: ",";\n }\n\n i {\n width: 50px;\n font-size: 16px;\n color: ",";\n text-align: center;\n }\n"])),(function(e){return e.theme.textColors.default}),(function(e){return e.theme.textColors.default})),bNe=a.css(cNe||(cNe=c_e(["\n .content-toolbar-dropdown {\n min-width: 300px;\n .ms-Dropdown-item {\n padding: 0;\n border: 0;\n > span {\n width: 100%;\n }\n }\n\n @media (max-width: ","px) {\n max-width: 80% !important;\n }\n }\n"],["\n .content-toolbar-dropdown {\n min-width: 300px;\n .ms-Dropdown-item {\n padding: 0;\n border: 0;\n > span {\n width: 100%;\n }\n }\n\n @media (max-width: ","px) {\n max-width: 80% !important;\n }\n }\n"])),J8),ONe="AllChannels",_Ne=a.createGlobalStyle(dNe||(dNe=c_e(["\n ","\n"],["\n ","\n"])),bNe),wNe=y.default(XFe).withConfig({displayName:"ToolbarChannelSelector__StyledDropdown",componentId:"sc-fwvaya-0"})(hNe||(hNe=c_e(["\n ","\n display: flex;\n align-items: center;\n"],["\n ","\n display: flex;\n align-items: center;\n"])),vNe),kNe=y.default(r.NavLink).withConfig({displayName:"ToolbarChannelSelector__DropdownNavLink",componentId:"sc-fwvaya-1"})(pNe||(pNe=c_e(["\n ","\n"],["\n ","\n"])),yNe),xNe=y.default.span.withConfig({displayName:"ToolbarChannelSelector__OptionSpan",componentId:"sc-fwvaya-2"})(fNe||(fNe=c_e(["\n ",";\n"],["\n ",";\n"])),yNe),SNe=function(e){var n=e.handler,i=e.disabled;return S6().unreadTracking?t.jsx(o$e,{tooltipResourceKey:"Generic.UnreadItems.markAllAsRead",onClick:n,iconName:"Read",disabled:i,ariaLabelResourceKey:"Generic.UnreadItems.markAllAsRead","data-clear-unread-items":!0},void 0):null},PNe=function(e){var n=e.onClick,i=e.to,r=e.disabled;return t.jsx(o$e,{tooltipResourceKey:"Generic.showManageView",disabled:r,iconName:"edit",to:null==i?void 0:i.url,target:null==i?void 0:i.target,onClick:n,"data-toolbar-manage-button":!0,ariaLabelResourceKey:"AriaLabel.goToManageView"},void 0)};e.EventView=void 0,(mNe=e.EventView||(e.EventView={})).UpcomingEvents="upcoming",mNe.MyBookedEvents="booked",mNe.PastEvents="past";var ENe,FNe,CNe,TNe,DNe=a.createGlobalStyle(ENe||(ENe=c_e(["\n ","\n"],["\n ","\n"])),bNe),ANe=y.default(XFe).withConfig({displayName:"ToolbarEventViewSelector__StyledDropdown",componentId:"sc-ft0a2d-0"})(FNe||(FNe=c_e(["\n ","\n display: flex;\n align-items: center;\n"],["\n ","\n display: flex;\n align-items: center;\n"])),vNe),INe=y.default.span.withConfig({displayName:"ToolbarEventViewSelector__OptionSpan",componentId:"sc-ft0a2d-1"})(CNe||(CNe=c_e(["\n ",";\n"],["\n ",";\n"])),yNe);function LNe(){var e=rq(),t=e.createApiUrl,n=e.fetchFromApi,r=i.useContext(Nw).onRequestToken;return i.useMemo((function(){return{uploadImage:function(e,t,i,a,o){return s_e(this,void 0,void 0,(function(){var s,l;return l_e(this,(function(u){switch(u.label){case 0:return(s=new FormData).append("image",o,o.name||"image."+cG.getExtension(o.type)),[4,r()];case 1:return l=u.sent(),[2,n(e+"/attachments/"+a+"/images/"+i,{method:"POST",body:s,headers:{authorization:"Bearer "+l,"subscription-id":t}})]}}))}))},uploadFile:function(e,t,i,a,o){return s_e(this,void 0,void 0,(function(){var s,l;return l_e(this,(function(u){switch(u.label){case 0:return(s=new FormData).append("file",o),[4,r()];case 1:return l=u.sent(),[2,n(e+"/attachments/"+a+"/files/"+i,{method:"POST",body:s,headers:{authorization:"Bearer "+l,"subscription-id":t}})]}}))}))},getFileUrl:function(e,n,i,r,a){if(null!=a||(a=i.fileAccessToken),!a)return null;return t(e+"/attachments/"+i.attachmentContainerId+"/files/"+r,{subscriptionId:n,access_token:a})},getImageUrl:function(t,n,i,r,a,o){return e(t,n,i.fileAccessToken,i.attachmentContainerId,r,a,o)},getChatMessageImageUrl:function(t,n,i,r,a,o){return e(t,n,i.fileAccessToken,i.attachmentContainerId,r,a,o)}};function e(e,n,i,r,a,o,s){return t(null==o?e+"/attachments/"+r+"/images/"+a:"default"===o?e+"/attachments/"+r+"/images/"+a+"/default":e+"/attachments/"+r+"/images/"+a+"/"+o+"/"+(s||""),{subscriptionId:n,access_token:i})}}),[r,n,t])}function zNe(){var e=aq();return i.useMemo((function(){var t=null;return{getAllLanguages:n,getAllLanguagesLocalized:function(e){return s_e(this,void 0,void 0,(function(){var t;return l_e(this,(function(i){switch(i.label){case 0:return[4,n()];case 1:return t=i.sent(),[2,Q5.apply(void 0,u_e([e],t))]}}))}))},resolveActiveLanguages:function(e){return s_e(this,void 0,void 0,(function(){return l_e(this,(function(t){switch(t.label){case 0:return[4,n()];case 1:return[2,t.sent().filter((function(t){return e.languages.find((function(e){return e.code===t.code}))}))]}}))}))},resolveUserLanguage:function(e){return s_e(this,void 0,void 0,(function(){var t;return l_e(this,(function(i){switch(i.label){case 0:return t=e.subscription.languages,[4,n()];case 1:return[2,i.sent().filter((function(e){return t.find((function(t){return t.code===e.code}))}))]}}))}))}};function n(){return t||(t=e.all("languages").getAll().then((function(e){return e.body().map((function(e){return e.data()}))})))}}),[e])}function $Ne(){var e=rq().createApiUrl;return i.useMemo((function(){return{getVideoThumbnailUrl:function(t,n,i,r){return e("/videos/"+r+"/thumbnail",{access_token:t,subscriptionId:n,videoSource:i})},getBannerVideoThumbnailUrl:function(t,n,i,r){return e("/"+r+"/"+n+"/videos/banner/thumbnail",{access_token:t,subscriptionId:i})}}}),[e])}a.createGlobalStyle(TNe||(TNe=c_e(["\n *:not(input):not(textarea) {\n -webkit-user-select: none; /* disable selection/Copy of UIWebView */\n -webkit-touch-callout: none; /* disable the IOS popup when long-press on a link */\n }\n"],["\n *:not(input):not(textarea) {\n -webkit-user-select: none; /* disable selection/Copy of UIWebView */\n -webkit-touch-callout: none; /* disable the IOS popup when long-press on a link */\n }\n"])));var RNe,QNe,jNe,MNe,NNe,UNe,qNe,BNe,GNe,WNe,XNe,VNe,YNe,ZNe=function(){function e(){this.type=e.type}return e.create=function(t){var n=new e;return n.upn=t,n},e.type="user_avatar_update",e}(),HNe=function(e){var n=S6(),r=i.useState(null),a=r[0],o=r[1],s=m5().getUserAvatarUrl;if(kie(ZNe.type,(function(t){return t.upn===e.upn&&u(e.upn,e.tenantId),!1}),[e.upn]),i.useEffect((function(){var t=u(e.upn,e.tenantId);return function(){return null==t?void 0:t.unsubscribe()}}),[e.upn]),!n.avatars)return null;var l=Pw(e.text||e.displayName||e.upn);return t.jsx(KNe,a_e({},e,{"data-avatar":!0,text:e.text,imageUrl:a,imageShouldFadeIn:!1,imageInitials:l,initialsColor:Ew(l),secondaryText:!e.forceShowSecondaryText&&Z6(e.secondaryText)?null:e.secondaryText}),void 0);function u(e,t){return null==e?(o(null),null):s(e,t).subscribe((function(e){o(e)}),(function(e){return console.log(e)}))}},KNe=y.default(o.Persona).withConfig({displayName:"Avatar__StyledPersona",componentId:"sc-1r8d14y-0"})(RNe||(RNe=c_e(["\n && {\n .ms-Persona-image {\n img {\n max-width: 100%;\n width: auto;\n height: auto;\n }\n }\n }\n"],["\n && {\n .ms-Persona-image {\n img {\n max-width: 100%;\n width: auto;\n height: auto;\n }\n }\n }\n"]))),JNe=function(e){var n=e.className,i=e.iconName,r=e.tooltipResourceKey,a=e.tooltipText,o=e.children;return o?t.jsxs(tUe,a_e({className:n},{children:[i&&t.jsx(sEe,a_e({resourceKey:r,text:a},{children:t.jsx(eUe,{iconName:i},"icon")}),void 0),o]}),void 0):null},eUe=y.default(o.Icon).withConfig({displayName:"UserPropertyWrapper__StyledIcon",componentId:"sc-yfrgje-0"})(QNe||(QNe=c_e(["\n && {\n cursor: default;\n display: flex;\n padding-right: 8px;\n padding-top: 1px;\n }\n"],["\n && {\n cursor: default;\n display: flex;\n padding-right: 8px;\n padding-top: 1px;\n }\n"]))),tUe=y.default.div.withConfig({displayName:"UserPropertyWrapper__PropertyContainer",componentId:"sc-yfrgje-1"})(jNe||(jNe=c_e(["\n display: flex;\n max-width: 100%;\n"],["\n display: flex;\n max-width: 100%;\n"]))),nUe=function(e){var n=e.email;return Z6(n)?null:t.jsx(JNe,a_e({iconName:"mail",tooltipResourceKey:"Generic.mail"},{children:t.jsx(cUe,a_e({href:"mailto:"+n},{children:n}),void 0)}),void 0)},iUe=function(e){var n=e.value,i=Wx().formatMessage;return null==n?null:t.jsx(JNe,a_e({iconName:"cellPhone",tooltipResourceKey:"Generic.mobilePhone"},{children:t.jsx(cUe,a_e({href:"tel:"+n},{children:i({id:"Generic.callMobile"},{number:n})}),void 0)}),void 0)},rUe=function(e){var n=e.value,i=Wx().formatMessage;return null==n?null:(n="string"==typeof n?[n]:n,t.jsx(t.Fragment,{children:n.map((function(e,n){return t.jsx(JNe,a_e({iconName:"phone",tooltipResourceKey:"Generic.businessPhone"},{children:t.jsx(cUe,a_e({href:"tel:"+e},{children:i({id:"Generic.callOffice"},{number:e})}),void 0)}),e+n)}))},void 0))},aUe=function(e){var n=e.value,i=e.tooltipResourceKey,r=S6();return null==n?null:t.jsx(JNe,a_e({iconName:"MapPin",tooltipResourceKey:i||"Generic.Location"},{children:r.userLocationLookup?t.jsx(cUe,a_e({target:"_blank",rel:"noopener noreferrer",href:xRe(n)},{children:n}),void 0):t.jsx(t.Fragment,{children:n},void 0)}),void 0)},oUe=function(e){var n=e.value;return null==n?null:t.jsx(JNe,a_e({iconName:"workforceManagement",tooltipResourceKey:"Generic.department"},{children:n}),void 0)},sUe=function(e){var n=e.value;return null==n?null:t.jsx(JNe,a_e({iconName:"contactCard",tooltipResourceKey:"Generic.jobTitle"},{children:n}),void 0)},lUe=function(e){var n=e.value,i=fte().buildPath,r=S6();if(!(null==n?void 0:n.userId)||!r.chat)return null;var a={id:n.userId,displayName:n.displayName,userPrincipalName:n.userPrincipalName};return t.jsx(JNe,a_e({iconName:"Chat",tooltipResourceKey:"Generic.sendChatMessage"},{children:t.jsx(dUe,a_e({to:i("chats/new")+"?"+Wm.stringify({userId:a.id,userDisplayName:a.displayName,userPrincipalName:a.userPrincipalName})},{children:t.jsx(hS,{id:"Generic.sendChatMessage"},void 0)}),void 0)}),void 0)},uUe=a.css(MNe||(MNe=c_e(["\n color: ",";\n &:hover {\n text-decoration: underline;\n }\n"],["\n color: ",";\n &:hover {\n text-decoration: underline;\n }\n"])),(function(e){return e.theme.palette.accent})),cUe=y.default.a.withConfig({displayName:"UserProperties__StyledAnchor",componentId:"sc-1aw5jcq-0"})(NNe||(NNe=c_e(["\n ","\n"],["\n ","\n"])),uUe),dUe=y.default(r.Link).withConfig({displayName:"UserProperties__StyledLink",componentId:"sc-1aw5jcq-1"})(UNe||(UNe=c_e(["\n ","\n"],["\n ","\n"])),uUe),hUe={mobilePhone:iUe,department:oUe,address:aUe},pUe=function(e){var n=e.className,r=e.value,a=e.definition,o=function(){var e=x6(),t=Wx().formatMessage,n={displayName:{},mobilePhone:{iconName:"cellPhone"},jobTitle:{iconName:"contactCard"},company:{iconName:"EMI"},address:{iconName:"MapPin"},notes:{iconName:"ContactInfo"}};return{getPropertyLabel:function(i){var r=dw(e.preferredUiLanguage),a=i.translations||{},o=Object.keys(n);return r&&a[r]||a[e.subscription.defaultLanguage]||i.label||o.some((function(e){return e===i.name}))&&t({id:"Generic."+i.name})||i.name},getPropertyIcon:function(e){var t,i;return null!==(i=null===(t=n[e.name])||void 0===t?void 0:t.iconName)&&void 0!==i?i:"UserOptional"}}}(),s=o.getPropertyLabel,l=o.getPropertyIcon;if(null==r)return null;var u=s(a),c=l(a),d=hUe[a.name];return d?i.createElement(d,{value:r}):t.jsx(JNe,a_e({iconName:c,tooltipText:u,className:n},{children:r}),void 0)},fUe=function(e){var n,i,r,a,o,s=e.user,l=e.ignoredProperties,u=void 0===l?[]:l;return t.jsxs(t.Fragment,{children:[!u.includes("department")&&t.jsx(oUe,{value:null===(n=s.properties)||void 0===n?void 0:n.department},void 0),!u.includes("jobTitle")&&t.jsx(sUe,{value:null===(i=s.properties)||void 0===i?void 0:i.jobTitle},void 0),!u.includes("mobilePhone")&&t.jsx(iUe,{value:null===(r=s.properties)||void 0===r?void 0:r.mobilePhone},void 0),!u.includes("businessPhones")&&t.jsx(rUe,{value:null===(a=s.properties)||void 0===a?void 0:a.businessPhones},void 0),!u.includes("chatMessage")&&t.jsx(lUe,{value:s},void 0),!u.includes("officeLocation")&&t.jsx(aUe,{value:null===(o=s.properties)||void 0===o?void 0:o.officeLocation},void 0)]},void 0)},mUe=function(e){var n=e.user,i=e.ignoredProperties,r=void 0===i?[]:i,a=x6();return t.jsxs(t.Fragment,{children:[!r.includes("chatMessage")&&t.jsx(lUe,{value:n},void 0),a.subscription.userPropertyDefinitions.filter((function(e){return!r.includes(e.name)})).map((function(e){var i;return t.jsx(pUe,{definition:e,value:null===(i=n.properties)||void 0===i?void 0:i[e.name]},e.name)}))]},void 0)},gUe=["displayName","department","jobTitle"],vUe=function(e){var n,i=e.upn,r=e.showAvatar,a=e.id,s=m5(),l=s.getUserInfo,u=s.getUserInfoById,c=zw((function(){return i?l(i):u(a)}),null,[i,a]),d=c[0],h=c[1];if(c[2])return t.jsx(yUe,{children:i?t.jsx(hS,{id:"Profile.CannotLoadInfo",values:{upn:i}},void 0):t.jsx(hS,{id:"Profile.CannotLoadInfoByUserId"},void 0)},void 0);if(h)return t.jsx(_Ue,{},void 0);var p=r?gUe:[];return t.jsxs(bUe,a_e({"data-user-details":!0},{children:[r&&t.jsx(HNe,{upn:d.userPrincipalName,size:o.PersonaSize.large,text:d.displayName||d.userPrincipalName,secondaryText:d.properties&&d.properties.department,tertiaryText:d.properties&&d.properties.jobTitle},void 0),t.jsxs(OUe,{children:[t.jsx(nUe,{email:null!==(n=d.mail)&&void 0!==n?n:d.userPrincipalName},void 0),d.isDirectoryUser?t.jsx(fUe,{user:d,ignoredProperties:p},void 0):t.jsx(mUe,{user:d,ignoredProperties:p},void 0)]},void 0)]}),void 0)},yUe=y.default.div.withConfig({displayName:"UserDetails__ErrorContainer",componentId:"sc-uqfudb-0"})(qNe||(qNe=c_e(["\n padding: 20px;\n"],["\n padding: 20px;\n"]))),bUe=y.default.div.withConfig({displayName:"UserDetails__Host",componentId:"sc-uqfudb-1"})(BNe||(BNe=c_e(["\n font-size: ","px;\n .ms-Persona {\n margin-bottom: 8px;\n }\n\n .persona-card-children {\n cursor: pointer;\n }\n"],["\n font-size: ","px;\n .ms-Persona {\n margin-bottom: 8px;\n }\n\n .persona-card-children {\n cursor: pointer;\n }\n"])),a7),OUe=y.default.div.withConfig({displayName:"UserDetails__ContactCard",componentId:"sc-uqfudb-2"})(GNe||(GNe=c_e(["\n display: flex;\n flex: 1 1 auto;\n flex-flow: column;\n > div {\n &:not(:last-child) {\n padding-bottom: ","px;\n }\n }\n"],["\n display: flex;\n flex: 1 1 auto;\n flex-flow: column;\n > div {\n &:not(:last-child) {\n padding-bottom: ","px;\n }\n }\n"])),U8),_Ue=y.default(vCe).withConfig({displayName:"UserDetails__StyledSpinner",componentId:"sc-uqfudb-3"})(WNe||(WNe=c_e(["\n padding: 20px 80px;\n"],["\n padding: 20px 80px;\n"]))),wUe=function(e){var n=e.upn,r=e.className,a=e.children,s=e.readOnly,l=e.domIdentifier,u=i.useRef(null),c=x6(),d=i.useState(!1),h=d[0],p=d[1];return s?t.jsx(xUe,a_e({className:r},{children:a}),void 0):t.jsxs(t.Fragment,{children:[t.jsx(xUe,a_e({ref:u,className:r},{children:t.jsx(SUe,a_e({"data-persona-button":l,"data-rounded-outline":"avatar"===l&&50,className:"persona-card-children",onClick:function(e){e.preventDefault(),p(!h)},ariaLabel:n},{children:a}),"children")}),void 0),h&&!c.isPublicUser&&t.jsx(_Fe,a_e({className:"persona-card-callout",directionalHint:o.DirectionalHint.bottomCenter,isBeakVisible:!0,onDismiss:function(){return p(!1)},target:u.current},{children:t.jsx(kUe,{children:t.jsx(vUe,{upn:n,showAvatar:!0},void 0)},void 0)}),"callout")]},void 0)},kUe=y.default.div.withConfig({displayName:"PersonaCard__CalloutHost",componentId:"sc-g7cgoc-0"})(XNe||(XNe=c_e(["\n padding: ","px ","px;\n max-width: 300px;\n\n @media (min-width: ","px) {\n max-width: 450px;\n }\n"],["\n padding: ","px ","px;\n max-width: 300px;\n\n @media (min-width: ","px) {\n max-width: 450px;\n }\n"])),15,q8,V8),xUe=y.default.div.withConfig({displayName:"PersonaCard__Label",componentId:"sc-g7cgoc-1"})(VNe||(VNe=c_e(["\n display: inline-flex;\n align-items: flex-start;\n font-weight: inherit;\n"],["\n display: inline-flex;\n align-items: flex-start;\n font-weight: inherit;\n"]))),SUe=y.default(o.ActionButton).withConfig({displayName:"PersonaCard__StyledButton",componentId:"sc-g7cgoc-2"})(YNe||(YNe=c_e(["\n && {\n margin: 0;\n padding: 0;\n border: 0;\n min-width: auto;\n height: auto;\n background-color: transparent;\n color: inherit;\n font-weight: inherit;\n\n &:hover {\n background-color: transparent;\n color: inherit;\n }\n\n .ms-Button-label {\n margin: 0;\n font-weight: inherit;\n }\n }\n"],["\n && {\n margin: 0;\n padding: 0;\n border: 0;\n min-width: auto;\n height: auto;\n background-color: transparent;\n color: inherit;\n font-weight: inherit;\n\n &:hover {\n background-color: transparent;\n color: inherit;\n }\n\n .ms-Button-label {\n margin: 0;\n font-weight: inherit;\n }\n }\n"])));function PUe(){return PUe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},PUe.apply(this,arguments)}var EUe=function(e){return m.createElement("svg",PUe({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 163"},e),m.createElement("path",{style:{fill:"none"},d:"M0 23.877h400v100H0z"}),m.createElement("path",{d:"M134.231 141.48h149.1c6.913 0 12.602-5.689 12.602-12.602 0-6.914-5.689-12.603-12.602-12.603-6.914 0-10.779-5.642-10.779-12.6 0-6.958 7.1-12.6 15.856-12.6h18.279c6.913 0 12.602-5.689 12.602-12.602 0-6.914-5.689-12.603-12.602-12.603h-39.522c6.913 0 12.602-5.689 12.602-12.602 0-6.914-5.689-12.603-12.602-12.603h71.856c6.913 0 12.602-5.689 12.602-12.602 0-6.914-5.689-12.603-12.602-12.603H162.974c-6.914 0-12.603 5.689-12.603 12.603 0 6.913 5.689 12.602 12.603 12.602H91.118c-6.914 0-12.603 5.689-12.603 12.603 0 6.913 5.689 12.602 12.603 12.602h44.911c6.913 0 12.602 5.689 12.602 12.603 0 6.913-5.689 12.602-12.602 12.602H64.172c-6.914 0-12.603 5.689-12.603 12.603s5.689 12.603 12.603 12.603h70.059c-6.914 0-12.603 5.689-12.603 12.603 0 6.913 5.689 12.602 12.603 12.602v-.006Zm192.708-63.014c0 6.764 5.565 12.329 12.329 12.329 6.763 0 12.329-5.565 12.329-12.329 0-6.763-5.566-12.329-12.329-12.329h-.001c-6.763 0-12.328 5.565-12.328 12.328v.002-.001Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M237.898 60.069c0-4.967-4.033-9-9-9h-58.712c-4.967 0-9 4.033-9 9v45.014c0 4.967 4.033 9 9 9h58.712c4.967 0 9-4.033 9-9V60.069Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M90.299 68.815a32.862 32.862 0 0 1-23.217-18.138 1.364 1.364 0 0 1-.133-.589 1.377 1.377 0 0 1 1.64-1.343l14.747 2.964c3.116.644 6.364.001 9-1.781h.006a11.784 11.784 0 0 0 5.016-7.658l1.9-10.113c1.196-6.529-3.112-12.905-9.616-14.232l-14.751-2.964a1.37 1.37 0 0 1-.661-2.348 31.961 31.961 0 0 1 28.134-7.833c12.566 2.547 22.559 12.193 25.548 24.661a6.579 6.579 0 0 0 .938 1.004 7.774 7.774 0 0 0 3.616 1.753l26.592 5.344a819741.64 819741.64 0 0 0 119.067 23.943c6.256 1.287 10.396 7.424 9.247 13.707-1.019 5.418-5.796 9.38-11.309 9.38-.761 0-1.52-.076-2.266-.226l-55.525-11.174-28.93-5.826-64.138-12.884-.027-.006a1.668 1.668 0 0 0-.7-.007h-.022a1.621 1.621 0 0 0-.562.24 1.58 1.58 0 0 0-.444.441c-7.215 10.867-20.371 16.297-33.15 13.685Zm188.988 8.736a5.483 5.483 0 0 1-3.036.917c-3.008 0-5.485-2.476-5.485-5.485 0-3.009 2.477-5.485 5.485-5.485a5.49 5.49 0 0 1 4.567 2.446c1.666 2.507.975 5.94-1.531 7.607Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2,fillRule:"evenodd"}}),m.createElement("path",{d:"M237.898 30.672c0-3.863-3.137-7-7-7h-5.178c-3.863 0-7 3.137-7 7v28.466c0 3.864 3.137 7 7 7h5.178c3.863 0 7-3.136 7-7V30.672ZM218.72 21.083c0-3.863-3.137-7-7-7h-5.178c-3.863 0-7 3.137-7 7v28.466c0 3.864 3.137 7 7 7h5.178c3.863 0 7-3.136 7-7V21.083ZM199.542 16.973c0-3.863-3.137-7-7-7h-5.178c-3.863 0-7 3.137-7 7v28.466c0 3.864 3.137 7 7 7h5.178c3.863 0 7-3.136 7-7V16.973ZM180.364 19.713c0-3.863-3.137-7-7-7h-5.178c-3.863 0-7 3.137-7 7v28.466c0 3.864 3.137 7 7 7h5.178c3.863 0 7-3.136 7-7V19.713Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m162.903 110.39-17.592-16.8a10.428 10.428 0 0 1-3.933-8.151V65.39a8.809 8.809 0 0 1 4.147-7.536c2.597-1.617 25.763-10.645 25.915-10.739 4.419-2.471 5.974-2.074 8.321 2.135a9.067 9.067 0 0 1 1.219 4.608 8.791 8.791 0 0 1-4.359 7.66c-2.719 1.585-8.564 4.617-11.981 6.682-3.417 2.065-2.248 7.486 1.645 8.538 19.185 5.184 32.008 12.3 38.107 27.065M171.556 114.083h58.712c4.937 0 9 4.063 9 9v35.425h-76.712v-35.425c0-4.937 4.063-9 9-9Z",style:{fill:"#fff",fillRule:"evenodd",stroke:"currentColor",strokeWidth:2}}))};function FUe(){return FUe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},FUe.apply(this,arguments)}var CUe=function(e){return m.createElement("svg",FUe({width:400,height:120,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),m.createElement("path",{style:{fill:"none"},d:"M0 10.951h400v100H0z"}),m.createElement("path",{d:"M113.854 72h30.104c-6.623 0-12 5.377-12 12s5.377 12 12 12h-24.165c-6.623 0-12 5.377-12 12s5.377 12 12 12h74.873c6.623 0 12-5.377 12-12s-5.377-12-12-12h64.042c6.623 0 12-5.377 12-12s-5.377-12-12-12h1.125c-6.288 0-11.393-5.377-11.393-12s5.105-12 11.393-12h37.769c6.623 0 12-5.377 12-12s-5.377-12-12-12h-52.706c6.623 0 12-5.377 12-12s-5.377-12-12-12h-58.5c-6.623 0-12 5.377-12 12s5.377 12 12 12h-22.167c-6.622 0-12 5.377-12 12s5.378 12 12 12h-50.375c-6.288 0-11.394 5.377-11.394 12s5.106 12 11.394 12Zm186.998 12c0-6.623-5.377-12-12-12s-12 5.377-12 12 5.377 12 12 12 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"m211.775 81.467 1.122-6.522-5.059-5.013 4.488-7.838-65.735-11.306c-.466-21.056-14.403-38.978-33.804-42.314-22.3-3.836-44.233 12.903-48.531 37.887-4.297 24.985 10.784 48.09 33.084 51.925 19.401 3.337 38.525-8.899 45.999-28.589l68.436 11.77ZM110.464 21.98c15.292 2.63 24.847 18.963 21.901 36.095-2.947 17.133-17.41 29.335-32.702 26.705-15.292-2.63-24.847-18.963-21.901-36.096 2.947-17.133 17.41-29.335 32.702-26.704Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M146.128 59.052c.317-1.091.547-2.172.748-3.27.307-1.69.51-3.341.715-4.99l-2-.007c.191 1.627.397 3.255.486 4.946.058 1.101.066 2.192.001 3.313l.05.008ZM145.614 61.745a30.11 30.11 0 0 1-1.108 3.121c-.649 1.565-1.387 3.03-2.111 4.5l1.887.662c.359-1.623.719-3.247.994-4.943a32.34 32.34 0 0 0 .387-3.332l-.049-.008Z",style:{fill:"currentColor"}}),m.createElement("path",{d:"m331.063 28.601-42.249 11.755 8.449 30.367 10.563-2.939-4.225-15.183 10.562-2.939 1.286 4.621 10.562-2.939 2.249 8.081 10.562-2.939-7.759-27.885Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m213.696 41.343.517 6.969 6.031 4.296 1.236 6.484 116.184-32.328c5.101-1.42 8.09-6.713 6.671-11.814-1.42-5.101-6.713-8.09-11.814-6.67L213.696 41.343Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}))};function TUe(){return TUe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},TUe.apply(this,arguments)}var DUe,AUe,IUe,LUe,zUe,$Ue,RUe=function(e){return m.createElement("svg",TUe({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 179"},e),m.createElement("path",{style:{fill:"none"},d:"M0 35.295h400v100H0z"}),m.createElement("path",{d:"M114.881 160.609h149.1c6.914 0 12.603-5.689 12.603-12.602 0-6.914-5.689-12.603-12.603-12.603-6.913 0-10.779-5.642-10.779-12.6 0-6.958 7.1-12.6 15.856-12.6h18.279c6.914 0 12.603-5.689 12.603-12.602 0-6.914-5.689-12.603-12.603-12.603h-39.521c6.914 0 12.603-5.689 12.603-12.602 0-6.914-5.689-12.603-12.603-12.603h71.856c6.914 0 12.603-5.689 12.603-12.602 0-6.914-5.689-12.603-12.603-12.603H143.624c-6.913 0-12.602 5.689-12.602 12.603 0 6.913 5.689 12.602 12.602 12.602H71.768c-6.913 0-12.602 5.689-12.602 12.603 0 6.913 5.689 12.602 12.602 12.602h44.911c6.914 0 12.603 5.689 12.603 12.603 0 6.913-5.689 12.602-12.603 12.602H44.822c-6.913 0-12.602 5.69-12.602 12.603 0 6.914 5.689 12.603 12.602 12.603h70.059c-6.913 0-12.602 5.689-12.602 12.603 0 6.913 5.689 12.602 12.602 12.602v-.006Zm192.708-63.014c0 6.764 5.566 12.329 12.329 12.329 6.764 0 12.329-5.565 12.329-12.329 0-6.763-5.565-12.329-12.329-12.329h-.001c-6.762 0-12.328 5.565-12.328 12.328v.002-.001Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M292.483 63.514a2.002 2.002 0 0 0-2.259-1.702L140.205 82.896a2.001 2.001 0 0 0-1.702 2.259l12.251 87.169a2.002 2.002 0 0 0 2.259 1.703l150.018-21.084a2.002 2.002 0 0 0 1.703-2.259l-12.251-87.17Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M247.683 137.397a31.742 31.742 0 0 0 6.393-19.103c0-17.41-14.326-31.737-31.736-31.737s-31.737 14.327-31.737 31.737a31.758 31.758 0 0 0 12.643 25.35c13.903 10.472 33.959 7.652 44.437-6.247ZM236.661 99.29c9.222 6.97 12.111 19.693 6.803 29.962l-37.479-28.242c8.408-7.932 21.435-8.661 30.676-1.716v-.004Zm-35.443 8.055 37.471 28.244a23.806 23.806 0 0 1-16.354 6.51c-13.054 0-23.796-10.742-23.796-23.797a23.8 23.8 0 0 1 2.671-10.954l.008-.003Z",style:{fill:"currentColor"}}),m.createElement("path",{d:"M207.614 8.507a1.585 1.585 0 0 0-2.694.379l-28.129 66.441a1.586 1.586 0 0 0-.126.619 1.595 1.595 0 0 0 1.808 1.571l73.48-10.327a1.587 1.587 0 0 0 1.012-2.569L207.614 8.507Z",style:{fill:"none",fillRule:"nonzero",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M205.054.078a7.937 7.937 0 0 1 8.96 6.752 7.938 7.938 0 0 1-6.752 8.96 7.936 7.936 0 0 1-8.959-6.752 7.936 7.936 0 0 1 6.751-8.96Z",style:{fill:"currentColor"}}))},QUe=function(e){var n=e.info,i="number"==typeof n;return t.jsx(jUe,a_e({isNumber:i,"data-badge-info":n},{children:t.jsx(MUe,a_e({isNumber:i},{children:"number"==typeof n&&n}),void 0)}),void 0)},jUe=y.default.div.withConfig({displayName:"MenuItemBadge__Host",componentId:"sc-1x1dhyf-0"})(IUe||(IUe=c_e(["\n display: flex;\n justify-content: center;\n ","\n"],["\n display: flex;\n justify-content: center;\n ","\n"])),(function(e){return e.isNumber?a.css(DUe||(DUe=c_e(["\n min-width: 22px; /* badge min-width */\n "],["\n min-width: 22px; /* badge min-width */\n "]))):a.css(AUe||(AUe=c_e(["\n width: 22px;\n "],["\n width: 22px;\n "])))})),MUe=y.default.div.withConfig({displayName:"MenuItemBadge__Badge",componentId:"sc-1x1dhyf-1"})(zUe||(zUe=c_e(["\n background-color: ",";\n border-color: ",";\n color: ",";\n ","\n\n display: flex;\n justify-content: center;\n align-items: center;\n font-weight: normal;\n align-self: center;\n"],["\n background-color: ",";\n border-color: ",";\n color: ",";\n ","\n\n display: flex;\n justify-content: center;\n align-items: center;\n font-weight: normal;\n align-self: center;\n"])),(function(e){return e.theme.palette.themeSecondary}),(function(e){return e.theme.palette.themeSecondary}),(function(e){return e.theme.textColors.onSecondary}),(function(e){var t=e.isNumber?22:14;return a.css(LUe||(LUe=c_e(["\n border-radius: ","px;\n min-width: ","px;\n height: ","px;\n padding: ","px;\n box-sizing: border-box;\n font-size: ","px;\n "],["\n border-radius: ","px;\n min-width: ","px;\n height: ","px;\n padding: ","px;\n box-sizing: border-box;\n font-size: ","px;\n "])),t,t,t,6,o7)}));function NUe(){return NUe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},NUe.apply(this,arguments)}var UUe,qUe=function(e){return m.createElement("svg",NUe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048"},e),$Ue||($Ue=m.createElement("path",{d:"M1536 704q0-26 19-45t45-19q26 0 45 19t19 45q0 26-19 45t-45 19q-26 0-45-19t-19-45zM0 256h2048v1024h-128V384H128v677l448-447 640 640 256-256 283 282h-182l-101-102-101 102h-310L576 794l-448 449v421h512v128H0V256zm768 1792v-640h1280v640H768zm128-512v384h1024v-384H896zm256 256v-128h512v128h-512z",fill:"#fff"})))};function BUe(n){return t.jsx(HUe,a_e({"data-page-alert":!0},{children:t.jsxs(KUe,{children:[n.errorType&&t.jsx(JUe,a_e({onClick:n.onClick},{children:n.errorType===e.ErrorType.LoginError?t.jsx(CUe,{},void 0):n.errorType===e.ErrorType.GenericError?t.jsx(EUe,{},void 0):n.errorType===e.ErrorType.Error403?t.jsx(RUe,{},void 0):t.jsx(rze,{},void 0)}),void 0),t.jsx(eqe,{children:n.alertText},void 0),t.jsx(tqe,{children:n.children},void 0)]},void 0)}),void 0)}e.ErrorType=void 0,(UUe=e.ErrorType||(e.ErrorType={})).GenericError="genericError",UUe.Error404="error404",UUe.Error403="error403",UUe.LoginError="loginError";var GUe,WUe,XUe,VUe,YUe,ZUe,HUe=y.default.div.withConfig({displayName:"PageAlert__Host",componentId:"sc-gj7gx6-0"})(GUe||(GUe=c_e(["\n display: flex;\n flex-flow: column nowrap;\n align-items: stretch;\n flex: 1 0 100%;\n height: 100%;\n background-color: ",";\n"],["\n display: flex;\n flex-flow: column nowrap;\n align-items: stretch;\n flex: 1 0 100%;\n height: 100%;\n background-color: ",";\n"])),(function(e){return e.theme.palette.white})),KUe=y.default.div.withConfig({displayName:"PageAlert__Content",componentId:"sc-gj7gx6-1"})(WUe||(WUe=c_e(["\n padding: 30px;\n text-align: center;\n"],["\n padding: 30px;\n text-align: center;\n"]))),JUe=y.default.div.withConfig({displayName:"PageAlert__SvgContainer",componentId:"sc-gj7gx6-2"})(XUe||(XUe=c_e(["\n display: flex;\n flex-direction: column;\n align-items: center;\n margin: 1rem auto;\n width: 100%;\n\n > svg {\n height: auto;\n max-width: 400px;\n color: ",";\n }\n\n @media (max-width: ","px) {\n > svg {\n transform: scale(0.8);\n }\n }\n"],["\n display: flex;\n flex-direction: column;\n align-items: center;\n margin: 1rem auto;\n width: 100%;\n\n > svg {\n height: auto;\n max-width: 400px;\n color: ",";\n }\n\n @media (max-width: ","px) {\n > svg {\n transform: scale(0.8);\n }\n }\n"])),(function(e){return e.theme.palette.accent}),J8),eqe=y.default.p.withConfig({displayName:"PageAlert__Text",componentId:"sc-gj7gx6-3"})(VUe||(VUe=c_e(["\n width: 200px;\n min-width: 100%;\n font-size: ","px;\n font-weight: 500;\n color: ",";\n opacity: 80%;\n"],["\n width: 200px;\n min-width: 100%;\n font-size: ","px;\n font-weight: 500;\n color: ",";\n opacity: 80%;\n"])),32,(function(e){return e.theme.palette.accent})),tqe=y.default.div.withConfig({displayName:"PageAlert__AdditionalContent",componentId:"sc-gj7gx6-4"})(YUe||(YUe=c_e(["\n margin: auto;\n max-width: 400px;\n"],["\n margin: auto;\n max-width: 400px;\n"]))),nqe=y.default.div.withConfig({displayName:"PageAlert__CenteredAlert",componentId:"sc-gj7gx6-5"})(ZUe||(ZUe=c_e(["\n display: flex;\n justify-content: space-around;\n"],["\n display: flex;\n justify-content: space-around;\n"]))),iqe={exports:{}},rqe=Object.getOwnPropertySymbols,aqe=Object.prototype.hasOwnProperty,oqe=Object.prototype.propertyIsEnumerable;function sqe(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var lqe=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;var i=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==i.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,t){for(var n,i,r=sqe(e),a=1;a<arguments.length;a++){for(var o in n=Object(arguments[a]))aqe.call(n,o)&&(r[o]=n[o]);if(rqe){i=rqe(n);for(var s=0;s<i.length;s++)oqe.call(n,i[s])&&(r[i[s]]=n[i[s]])}}return r},uqe="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",cqe=Function.call.bind(Object.prototype.hasOwnProperty),dqe=function(){};if("production"!==process.env.NODE_ENV){var hqe=uqe,pqe={},fqe=cqe;dqe=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function mqe(e,t,n,i,r){if("production"!==process.env.NODE_ENV)for(var a in e)if(fqe(e,a)){var o;try{if("function"!=typeof e[a]){var s=Error((i||"React class")+": "+n+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}o=e[a](t,a,i,n,null,hqe)}catch(e){o=e}if(!o||o instanceof Error||dqe((i||"React class")+": type specification of "+n+" `"+a+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof o+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),o instanceof Error&&!(o.message in pqe)){pqe[o.message]=!0;var l=r?r():"";dqe("Failed "+n+" type: "+o.message+(null!=l?l:""))}}}mqe.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(pqe={})};var gqe=mqe,vqe=_.default,yqe=lqe,bqe=uqe,Oqe=cqe,_qe=gqe,wqe=function(){};function kqe(){return null}"production"!==process.env.NODE_ENV&&(wqe=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}});function xqe(){}function Sqe(){}Sqe.resetWarningCache=xqe;if("production"!==process.env.NODE_ENV){var Pqe=_.default;iqe.exports=function(e,t){var n="function"==typeof Symbol&&Symbol.iterator,i="<<anonymous>>",r={array:l("array"),bigint:l("bigint"),bool:l("boolean"),func:l("function"),number:l("number"),object:l("object"),string:l("string"),symbol:l("symbol"),any:s(kqe),arrayOf:function(e){return s((function(t,n,i,r,a){if("function"!=typeof e)return new o("Property `"+a+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s))return new o("Invalid "+r+" `"+a+"` of type `"+d(s)+"` supplied to `"+i+"`, expected an array.");for(var l=0;l<s.length;l++){var u=e(s,l,i,r,a+"["+l+"]",bqe);if(u instanceof Error)return u}return null}))},element:s((function(t,n,i,r,a){var s=t[n];return e(s)?null:new o("Invalid "+r+" `"+a+"` of type `"+d(s)+"` supplied to `"+i+"`, expected a single ReactElement.")})),elementType:s((function(e,t,n,i,r){var a=e[t];return vqe.isValidElementType(a)?null:new o("Invalid "+i+" `"+r+"` of type `"+d(a)+"` supplied to `"+n+"`, expected a single ReactElement type.")})),instanceOf:function(e){return s((function(t,n,r,a,s){if(!(t[n]instanceof e)){var l=e.name||i;return new o("Invalid "+a+" `"+s+"` of type `"+((u=t[n]).constructor&&u.constructor.name?u.constructor.name:i)+"` supplied to `"+r+"`, expected instance of `"+l+"`.")}var u;return null}))},node:s((function(e,t,n,i,r){return c(e[t])?null:new o("Invalid "+i+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return s((function(t,n,i,r,a){if("function"!=typeof e)return new o("Property `"+a+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var s=t[n],l=d(s);if("object"!==l)return new o("Invalid "+r+" `"+a+"` of type `"+l+"` supplied to `"+i+"`, expected an object.");for(var u in s)if(Oqe(s,u)){var c=e(s,u,i,r,a+"."+u,bqe);if(c instanceof Error)return c}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&wqe(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),kqe;function t(t,n,i,r,s){for(var l=t[n],u=0;u<e.length;u++)if(a(l,e[u]))return null;var c=JSON.stringify(e,(function(e,t){return"symbol"===h(t)?String(t):t}));return new o("Invalid "+r+" `"+s+"` of value `"+String(l)+"` supplied to `"+i+"`, expected one of "+c+".")}return s(t)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&wqe("Invalid argument supplied to oneOfType, expected an instance of array."),kqe;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return wqe("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+p(n)+" at index "+t+"."),kqe}return s((function(t,n,i,r,a){for(var s=[],l=0;l<e.length;l++){var u=(0,e[l])(t,n,i,r,a,bqe);if(null==u)return null;u.data&&Oqe(u.data,"expectedType")&&s.push(u.data.expectedType)}return new o("Invalid "+r+" `"+a+"` supplied to `"+i+"`"+(s.length>0?", expected one of type ["+s.join(", ")+"]":"")+".")}))},shape:function(e){return s((function(t,n,i,r,a){var s=t[n],l=d(s);if("object"!==l)return new o("Invalid "+r+" `"+a+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");for(var c in e){var p=e[c];if("function"!=typeof p)return u(i,r,a,c,h(p));var f=p(s,c,i,r,a+"."+c,bqe);if(f)return f}return null}))},exact:function(e){return s((function(t,n,i,r,a){var s=t[n],l=d(s);if("object"!==l)return new o("Invalid "+r+" `"+a+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");var c=yqe({},t[n],e);for(var p in c){var f=e[p];if(Oqe(e,p)&&"function"!=typeof f)return u(i,r,a,p,h(f));if(!f)return new o("Invalid "+r+" `"+a+"` key `"+p+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var m=f(s,p,i,r,a+"."+p,bqe);if(m)return m}return null}))}};function a(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function o(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function s(e){if("production"!==process.env.NODE_ENV)var n={},r=0;function a(a,s,l,u,c,d,h){if(u=u||i,d=d||l,h!==bqe){if(t){var p=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw p.name="Invariant Violation",p}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var f=u+":"+l;!n[f]&&r<3&&(wqe("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+u+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),n[f]=!0,r++)}}return null==s[l]?a?null===s[l]?new o("The "+c+" `"+d+"` is marked as required in `"+u+"`, but its value is `null`."):new o("The "+c+" `"+d+"` is marked as required in `"+u+"`, but its value is `undefined`."):null:e(s,l,u,c,d)}var s=a.bind(null,!1);return s.isRequired=a.bind(null,!0),s}function l(e){return s((function(t,n,i,r,a,s){var l=t[n];return d(l)!==e?new o("Invalid "+r+" `"+a+"` of type `"+h(l)+"` supplied to `"+i+"`, expected `"+e+"`.",{expectedType:e}):null}))}function u(e,t,n,i,r){return new o((e||"React class")+": "+t+" type `"+n+"."+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+r+"`.")}function c(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(c);if(null===t||e(t))return!0;var i=function(e){var t=e&&(n&&e[n]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!i)return!1;var r,a=i.call(t);if(i!==t.entries){for(;!(r=a.next()).done;)if(!c(r.value))return!1}else for(;!(r=a.next()).done;){var o=r.value;if(o&&!c(o[1]))return!1}return!0;default:return!1}}function d(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function h(e){if(null==e)return""+e;var t=d(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function p(e){var t=h(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return o.prototype=Error.prototype,r.checkPropTypes=_qe,r.resetWarningCache=_qe.resetWarningCache,r.PropTypes=r,r}(Pqe.isElement,!0)}else iqe.exports=function(){function e(e,t,n,i,r,a){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==a){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Sqe,resetWarningCache:xqe};return n.PropTypes=n,n}();var Eqe=iqe.exports,Fqe=Object.freeze({__proto__:null,useCurrentUser:x6,useAccountApi:m5,useAuthenticationContext:Uw,useEnvironmentConfig:Am,useNotificationContext:eie,usePromise:zw,LinkContext:vS,TextLink:e$e,logger:ng,createId:rg,ResourceContext:SS,usePluginSettings:function(){var e=i.useContext(bte).settings;return null!=e?e:{}},usePluginStorage:kte,usePluginDeviceStore:kte,usePluginSubscriptionStore:function(){return i.useContext(bte).subscriptionStore},usePluginSubscriptionStoreValue:function(e,t){var n=this,r=i.useContext(bte).subscriptionStore,a=zw((function(){return r.get(e).catch(Ste)}),void 0,_K(_K([],t||[]),[e])),o=a[0],s=a[1],l=a[2],u=a[3],c=a[4];return{data:o,set:function(t){return bK(n,void 0,void 0,(function(){var n;return OK(this,(function(i){switch(i.label){case 0:return n=o?JSON.parse(JSON.stringify(o)):void 0,u(t),[4,r.set(e,t).catch((function(e){return u(n),Ste(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:s,error:l,refresh:c,remove:function(){return bK(n,void 0,void 0,(function(){var t;return OK(this,(function(n){switch(n.label){case 0:return t=o?JSON.parse(JSON.stringify(o)):void 0,u(void 0),[4,r.delete(e).catch((function(e){return u(t),Ste(e)}))];case 1:return[2,n.sent()]}}))}))}}},usePluginUserStore:function(){return i.useContext(bte).userStore},usePluginUserStoreValue:function(e,t){var n=this,r=i.useContext(bte).userStore,a=zw((function(){return r.get(e).catch(Ste)}),void 0,_K(_K([],t||[]),[e])),o=a[0],s=a[1],l=a[2],u=a[3],c=a[4];return{data:o,set:function(t){return bK(n,void 0,void 0,(function(){var n;return OK(this,(function(i){switch(i.label){case 0:return n=o?JSON.parse(JSON.stringify(o)):void 0,u(t),[4,r.set(e,t).catch((function(e){return u(n),Ste(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:s,error:l,refresh:c,remove:function(){return bK(n,void 0,void 0,(function(){var t;return OK(this,(function(n){switch(n.label){case 0:return t=o?JSON.parse(JSON.stringify(o)):void 0,u(void 0),[4,r.delete(e).catch((function(e){return u(t),Ste(e)}))];case 1:return[2,n.sent()]}}))}))}}},useReachApiEndPoints:function(){return{apiEndpoint:Dm().apiEndpoint}},AccountType:o6,PeoplePicker:EEe,GutterToggle:gEe,EditorSettingsDialog:fEe,Spinner:o.Spinner,SelectionMode:o.SelectionMode,EditorHighlight:uEe,useTheme:function(){return i.useContext(Bne).theme},useSubscriptionHandlePathBuilder:fte,useSubscriptionWebAppUrl:mte});var Cqe,Tqe=[{name:"@reach/core",packageDefinition:a_e({default:{}},Fqe)}],Dqe=[{name:"react",packageDefinition:a_e(a_e({},g.default),{default:g.default})},{name:"react-dom",packageDefinition:a_e(a_e({},O),{default:O})},{name:"react-is",packageDefinition:a_e(a_e({},_.default),{default:_.default})},{name:"prop-types",packageDefinition:a_e({default:Eqe},Eqe)},{name:"react-router-dom",packageDefinition:a_e({},v)},{name:"styled-components",packageDefinition:{default:y.default,createGlobalStyle:a.createGlobalStyle,css:a.css,useTheme:a.useTheme,isStyledComponent:a.isStyledComponent,keyframes:a.keyframes,withTheme:a.withTheme,ThemeProvider:a.ThemeProvider,ThemeContext:a.ThemeContext,ThemeConsumer:a.ThemeConsumer}},{name:"office-ui-fabric-react",packageDefinition:{default:{},Checkbox:o.Checkbox,Label:o.Label,PrimaryButton:o.PrimaryButton,Icon:o.Icon,Link:o.Link,TextField:o.TextField,ActionButton:o.ActionButton,IconButton:o.IconButton,DefaultButton:o.DefaultButton,Spinner:o.Spinner,Dropdown:o.Dropdown,ProgressIndicator:o.ProgressIndicator,Shimmer:o.Shimmer,ShimmerElementsGroup:o.ShimmerElementsGroup,ShimmerElementType:o.ShimmerElementType,DirectionalHint:o.DirectionalHint,PersonaSize:o.PersonaSize,TooltipHost:o.TooltipHost,DialogType:o.DialogType,Dialog:h_e}},{name:"react-intl",packageDefinition:{default:{},FormattedMessage:hS,useIntl:Wx,FormattedDate:pS,FormattedTime:fS,IntlProvider:tS}},{name:"@apollo/client",packageDefinition:{default:{},gql:WL,useQuery:function(e,t){return dz(e,t,!1)},ApolloClient:QL,ApolloProvider:nz,from:pA,ApolloLink:hA,fromPromise:oA,split:fA,HttpLink:wA,InMemoryCache:yL,useLazyQuery:function(e,t){return dz(e,t,!0)},useMutation:hz,ApolloError:OL,useApolloClient:iz,useSubscription:function(e,t){var n=i.useReducer((function(e){return e+1}),0),r=n[1],a=i.useContext(ez()),o=t?ka(ka({},t),{subscription:e}):{subscription:e},s=i.useState({loading:!o.skip,error:void 0,data:void 0}),l=s[0],u=s[1],c=i.useRef(),d=(c.current||(c.current=new sz({options:o,context:a,setResult:u})),c.current);return d.setOptions(o,!0),d.context=a,__DEV__&&cz(r),i.useEffect((function(){return d.afterExecute()})),i.useEffect((function(){return function(){d.cleanup(),c.current=void 0}}),[]),d.execute(l)}}},{name:"subscriptions-transport-ws",packageDefinition:{default:{},SubscriptionClient:m$}},{name:"@apollo/client/link/ws",packageDefinition:{default:{},WebSocketLink:C$}},{name:"@apollo/client/utilities",packageDefinition:{default:{},getMainDefinition:eD}},{name:"@apollo/client/link/context",packageDefinition:{default:{},setContext:pz}}],Aqe=function(e){var n=e.color,r=e.onColorChange,a=e.className,s=i.useState(n),l=s[0],u=s[1];return i.useEffect((function(){u(n)}),[n]),t.jsx(Iqe,a_e({className:a},{children:t.jsx(o.ColorPicker,{alphaType:"none",color:l,onChange:function(e,t){return function(e){u(e),null==r||r(e)}(t.str)}},void 0)}),void 0)},Iqe=y.default.div.withConfig({displayName:"ColorEditor__Host",componentId:"sc-add00t-0"})(Cqe||(Cqe=c_e(["\n .ms-ColorPicker-panel {\n padding: 0;\n }\n .ms-ColorPicker-table {\n table-layout: fixed;\n width: 100%;\n }\n\n @media (max-width: 900px) {\n margin-top: ","px;\n margin-left: 0;\n }\n"],["\n .ms-ColorPicker-panel {\n padding: 0;\n }\n .ms-ColorPicker-table {\n table-layout: fixed;\n width: 100%;\n }\n\n @media (max-width: 900px) {\n margin-top: ","px;\n margin-left: 0;\n }\n"])),q8),Lqe=function(e){var n=e.onRequestToken,r=e.children,a=e.subscriptionId,o=i.useState(null),s=o[0],l=o[1],u=i.useMemo((function(){return{onRequestToken:null!=n?n:function(){return Promise.resolve(s)},getIsAuthenticated:function(){return Sa(void 0,void 0,void 0,(function(){return Pa(this,(function(e){return[2,null!=n||null!=s]}))}))},getCurrentEmail:function(){return Sa(void 0,void 0,void 0,(function(){return Pa(this,(function(e){return[2,null]}))}))},setToken:l,onHandleError:function(e,t){return Sa(void 0,void 0,void 0,(function(){return Pa(this,(function(n){return ng.error(e,t),[2,Promise.reject(e)]}))}))}}}),[a,s]);return t.jsx(Nw.Provider,ka({value:u},{children:r}),void 0)},zqe="0.5.0-preview.396",$qe="120914",Rqe="8d1ce5244b1e091b815c9d02aefda65f7bcb893b",Qqe=X,jqe=j,Mqe=Pn("match"),Nqe=function(e){var t;return Qqe(e)&&(void 0!==(t=e[Mqe])?!!t:"RegExp"==jqe(e))},Uqe=Pn("match"),qqe=function(e){if(Nqe(e))throw TypeError("The method doesn't accept regular expressions");return e},Bqe=q,Gqe=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[Uqe]=!1,"/./"[e](t)}catch(e){}}return!1};dn({target:"String",proto:!0,forced:!Gqe("includes")},{includes:function(e){return!!~String(Bqe(this)).indexOf(qqe(e),arguments.length>1?arguments[1]:void 0)}});var Wqe,Xqe,Vqe={configType:"local",authentication:{azuread:{clientId:"781a9147-6ddc-43fb-9cce-e01d7838ffe6",apiScope:"api://781a9147-6ddc-43fb-9cce-e01d7838ffe6/access_as_user",extraScopes:["https://graph.microsoft.com/User.Read","https://graph.microsoft.com/User.ReadBasic.All"],basePolicyUrl:"https://login.microsoftonline.com/",signInPolicy:"common"},b2c:{postLogoutRedirectUri:"https://livetilesglobal.com/products/livetiles-reach",clientId:"b13f12ba-c1c5-41da-8e22-1252b5fed0e4",basePolicyUrl:"https://condenseappexternaldev.b2clogin.com/condenseappexternaldev.onmicrosoft.com/",signInPolicy:"B2C_1_SignInSignUpPolicy",forgotPasswordPolicy:"B2C_1_ResetPasswordPolicy",apiScope:"https://condenseappexternaldev.onmicrosoft.com/web/access_as_user"},teams:{clientId:"c17acfe6-6106-47e6-b9ac-12c6a9e78db6",scopes:["email","openid","profile","offline_access"],extraScopes:["https://graph.microsoft.com/User.Read","https://graph.microsoft.com/User.ReadBasic.All"],basePolicyUrl:"https://login.microsoftonline.com/"}},apiEndpoint:"http://localhost:5000/api/v1",api2Endpoint:"http://localhost:5000/api/v2",api3Endpoint:"http://localhost:5000/api/v3",webSocketsEndpoint:"ws://localhost:5000/api/v2",productWebsite:"https://reach.livetilesglobal.com/",supportUrl:"https://support.livetilesglobal.com/hc/en-us/categories/360001273732-Reach",releaseNotesUrl:"https://support.livetilesglobal.com/hc/en-us/sections/900001715263-Reach",privacyUrl:"https://livetilesglobal.com/livetiles-privacy-policy",eulaUrl:"https://livetilesglobal.com/livetiles-privacy-policy",unsplash:{appName:"Condense",apiKey:"N/A",clientId:"8b17ad8ed176954881976b7e08a2a6305d01b9b708455c14bbd43780ff6b62ba"},canva:{apiKey:"6vvsr2srHeve85SXxMX1k1LD"},zendeskMessaging:{enable:!0,apiKey:"816bfec7-3beb-457a-a4a1-f462c9cb403f"},webAppUrl:"http://localhost:3000",hyperfish:{regionJumperUrl:"https://antrearegionjumper.azurewebsites.net/api/antrearegionjumper",regionJumperKey:"T1YDqmyQX/bXhFapRLdaPBenzRLMCCNafSVwzmwI7fYnkwj6wLL0Hg=="},maxFileSizeInMb:100,giphy:{apiKey:"idBrSgzpBdNCqLmXPRaoHz9DFGKK79wU"},oneSignal:{appId:"dd89af4f-325e-447e-a030-654043cfbc6a"},analytics:{hostName:"dev.analytics.livetiles.io",regions:{global:"euw",australia:"aue"},dashboards:[{name:"news-engagement-overview",title:"News Engagement Overview",id:21,params:"/?standalone=2"}]}},Yqe={configType:"production",authentication:{azuread:{clientId:"d492530a-8cff-481c-90da-9c3c3f1be7da",apiScope:"api://d492530a-8cff-481c-90da-9c3c3f1be7da/access_as_user",extraScopes:["https://graph.microsoft.com/User.Read","https://graph.microsoft.com/User.ReadBasic.All"]},b2c:{clientId:"cc9987a7-c666-4be1-a81c-f80dba7ef2e9",basePolicyUrl:"https://condenseappexternal.b2clogin.com/condenseappexternal.onmicrosoft.com/",signInPolicy:"B2C_1_SignInSignUpPolicy",forgotPasswordPolicy:"B2C_1_ResetPasswordPolicy",apiScope:"https://condenseappexternal.onmicrosoft.com/web/access_as_user"},teams:{clientId:"a7c1920d-3ac0-42db-9757-078a2b321fd8"}},apiEndpoint:"https://api.reach.livetiles.io/api/v1",api2Endpoint:"https://api.reach.livetiles.io/api/v2",api3Endpoint:"https://api.reach.livetiles.io/api/v3",webSocketsEndpoint:"wss://ws.reach.livetiles.io/api/v2",webAppUrl:"https://reach.livetiles.io",additionalWebAppUrls:["https://app.reach.livetiles.io","https://app.condense.ch"],appInsightsKey:"c4758fee-1409-47a9-a508-03efd775256c",canva:{apiKey:"mYnapNU5aDqD-1xEMFZkpdzT"},giphy:{apiKey:"jqAFrpqGDwOFqeu8Rn6YfjRGkKhlxZyn"},oneSignal:{appId:"47a684a5-e9e0-4aaf-84b8-9f3e6585b292"},analytics:{hostName:"analytics.livetiles.io",dashboards:[]}},Zqe=["//localhost","//api:5000","//api.dev.reach.livetiles.io","//api.test.reach.livetiles.io","//api.staging.reach.livetiles.io","//api-dev.condense.ch","//api-test.condense.ch","//api-staging.condense.ch"],Hqe=function(e){var n=e.children,r=Dm().apiEndpoint,a=i.useMemo((function(){return function(e){return"number"!=typeof e.maxFileSizeInMb&&(e.maxFileSizeInMb=parseInt(e.maxFileSizeInMb)),e}(function(){var e=!Zqe.some((function(e){return r.toLowerCase().includes(e)}));if(!e)return ng.info("Will use non prod client config..."),ka({},Vqe);return ka(ka({},Vqe),Yqe)}())}),[r]);return t.jsx(Bm.Provider,ka({value:a},{children:n}),void 0)},Kqe=function(){function e(){this.storage={}}return e.prototype.remove=function(e){return delete this.storage[e],Promise.resolve()},e.prototype.clearAll=function(){return this.storage={},Promise.resolve()},e.prototype.getObject=function(e){var t;return Promise.resolve(null!==(t=this.storage[e])&&void 0!==t?t:null)},e.prototype.set=function(e,t){return this.storage[e]=t,Promise.resolve()},e.prototype.getString=function(e){return Sa(this,void 0,void 0,(function(){return Pa(this,(function(t){switch(t.label){case 0:return[4,this.getObject(e)];case 1:return[2,t.sent()]}}))}))},e.prototype.setString=function(e,t){return Sa(this,void 0,void 0,(function(){return Pa(this,(function(n){switch(n.label){case 0:return[4,this.set(e,t)];case 1:return n.sent(),[2]}}))}))},e.prototype.getAllKeys=function(){return Promise.resolve(Object.keys(this.storage))},e}(),Jqe=new Kqe,eBe=function(e){var n=e.subscriptionId,i=e.children;return e.shouldUsePublicAccess?t.jsx(tBe,ka({subscriptionId:n},{children:i}),void 0):t.jsx(t.Fragment,{children:i},void 0)},tBe=function(e){var n=e.subscriptionId,r=e.children,a=i.useContext(Nw).setToken,o=bS(),s=function(){var e=rq().fetchFromApi,t=aq();return i.useMemo((function(){return{getSubscriptionBySubscriptionIdentifier:function(t){return e("/subscriptions/"+t).then((function(e){return e.status<=200?e.json():Promise.reject(e.status)}))},getTermsAndConditions:function(){return t.custom("subscriptions/current/terms_and_conditions").get().then((function(e){return e.body().data()}))}}}),[e,t])}().getSubscriptionBySubscriptionIdentifier,l=rq().fetchFromApi,u=i.useContext(gS),c=u.handleFatalError,d=u.handleAccessDeniedError,h=zw((function(){return Sa(this,void 0,void 0,(function(){var e,t,i;return Pa(this,(function(r){switch(r.label){case 0:return e="Reach::PublicAccessToken::"+n,[4,o.getString(e)];case 1:return(t=r.sent())?(a(t),[2,!0]):[4,s(n)];case 2:return r.sent().allowPublicAccess?[4,v(n)]:[3,5];case 3:return i=r.sent(),a(i),[4,o.setString(e,i)];case 4:return r.sent(),[2,!0];case 5:return[2,!1]}}))}))}),!1,[n]),p=h[0],f=h[1],m=h[2];if(m)return ng.error(m),c({error:m}),null;if(f)return null;if(!p){var g={message:"Public access is not enabled for the subscription "+n+"!"};return ng.error(g.message),d({error:g}),null}return t.jsx(t.Fragment,{children:r},void 0);function v(e){return l("/subscriptions/"+e+"/public_access_token").then((function(e){return e.status<=200?e.text():Promise.reject(e.status)}))}},nBe=function(e){var n=e.children,r=i.useState(),a=r[0],o=r[1],s=i.useState(),l=s[0],u=s[1],c=i.useState(),d=c[0],h=c[1],p=i.useMemo((function(){return{handleFatalError:o,handleAccessDeniedError:u,handleNotFoundError:h}}),[o,u,h]);return t.jsx(gS.Provider,ka({value:p},{children:t.jsx(iBe,ka({fatalError:a,notFoundError:d,accessDeniedError:l},{children:n}),void 0)}),void 0)},iBe=function(e){var n=e.fatalError,i=e.accessDeniedError,r=e.notFoundError,a=e.children;return n?t.jsx(rBe,{messageId:n.messageId,error:n.error},void 0):i?t.jsx(rBe,{messageId:"AccessDenied.genericMessage",error:i.error},void 0):r?t.jsx(rBe,{messageId:"NotFound.message"},void 0):t.jsx(t.Fragment,{children:a},void 0)},rBe=function(n){var r=n.messageId,a=n.error,o=Wx().formatMessage,s=i.useState(!1),l=s[0],u=s[1];return t.jsx(BUe,ka({errorType:e.ErrorType.GenericError,alertText:o({id:r||"FatalError.genericMessage"}),onClick:function(){return u(!l)}},{children:l&&t.jsxs(aBe,{children:[t.jsx(hS,{id:"Generic.error.details"},void 0),t.jsx(oBe,{children:JSON.stringify(a)||"Not provided"},void 0)]},void 0)}),void 0)},aBe=y.default.div.withConfig({displayName:"ReachErrorProvider__DetailsContainer",componentId:"sc-15225g3-0"})(Wqe||(Wqe=La(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),q8),oBe=y.default.p.withConfig({displayName:"ReachErrorProvider__Details",componentId:"sc-15225g3-1"})(Xqe||(Xqe=La(["\n opacity: 0.4;\n font-size: small;\n"],["\n opacity: 0.4;\n font-size: small;\n"]))),sBe=function(e){var n=e.children,r=mte(),a=i.useMemo((function(){return{onShare:function(){return Sa(void 0,void 0,void 0,(function(){return Pa(this,(function(e){return[2,null]}))}))},onOpenExternalLink:o,tryGetInternalLink:function(){return null},changeHistory:s}}),[]);return t.jsx(vS.Provider,ka({value:a},{children:n}),void 0);function o(e){window.open(e,"_blank")}function s(e){window.open(""+r+e)}},lBe=function(){return null},uBe=Object.freeze({__proto__:null,Page:lBe,NavLinkSidebarItem:lBe,PageMenuActionItem:lBe});var cBe=function(e){var n=e.children,i={data:[],getUser:function(){},identify:function(e,t){return Promise.resolve(void 0)},interaction:function(e){return Promise.resolve(void 0)},onItemRead:function(e){},onSearchTermChange:function(e){return Promise.resolve(void 0)},activity:function(e){},module:null,setModule:function(e){},trackActivity:function(e){},sendActivity:function(){}};return t.jsx(_7.Provider,ka({value:i},{children:n}),void 0)};!function(){if(window.__is_reach_app)return;if(console.info("Reach Component Library: "+zqe+" ("+$qe+") ["+Rqe+"]"),window.__did_initialize_reach_context)return;o.initializeIcons()}();var dBe=function(e){var n=e.disableAnalytics,i=e.appName,r=e.children;return n?t.jsx(cBe,{children:r},void 0):t.jsx(k7,ka({appName:i},{children:r}),void 0)},hBe=function(e){var n,r=e.language,a=e.children,o=i.useContext(Bne).setTheme,s=i.useContext(SS).changeSettings,l=g5().getCurrentUser,u=zw((function(){var e,t;return Sa(this,void 0,void 0,(function(){var n,i,a,u;return Pa(this,(function(c){switch(c.label){case 0:return c.trys.push([0,2,,3]),[4,l()];case 1:return n=c.sent(),(null===(e=null==n?void 0:n.subscription)||void 0===e?void 0:e.theme)&&o(n.subscription.theme),i=dw(r,n.preferredUiLanguage,cw(),null===(t=n.subscription)||void 0===t?void 0:t.defaultLanguage),a=fMe(n),s(i,a).then((function(){return null}),ng.error),r&&(n.preferredContentLanguage=r),[2,n];case 2:throw u=c.sent(),ng.error(u),u;case 3:return[2]}}))}))})),c=u[0],d=u[1],h=u[2],p=u[3],f=i.useContext(gS),m=f.handleFatalError,g=f.handleNotFoundError,v=f.handleAccessDeniedError,y=i.useMemo((function(){return{user:c,refreshUser:function(e){return Promise.resolve(e&&p(e))}}}),[c]);return h?(403===(null===(n=null==h?void 0:h.response)||void 0===n?void 0:n.statusCode)?v({error:h}):m({error:h}),null):d?null:null==c?(g({}),null):t.jsx(w6.Provider,ka({value:y},{children:a}),void 0)},pBe=function(){return i.useEffect((function(){var e=document.createElement("style");e.innerHTML="@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700');",document.head.appendChild(e)}),[]),t.jsxs(t.Fragment,{children:[t.jsx(EK,{},void 0),t.jsx(TK,{},void 0)]},void 0)};var fBe=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,mBe=/[\0-\x1F\x7F-\x9F]/,gBe=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,vBe=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\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-\u2E4E\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[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/;function yBe(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}function bBe(e){return Object.prototype.toString.call(e)}function OBe(e){return"[object Function]"===bBe(e)}function _Be(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var wBe={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var kBe={"http:":{validate:function(e,t,n){var i=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(i)?i.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var i=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(i)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:i.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var i=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(i)?i.match(n.re.mailto)[0].length:0}}},xBe="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function SBe(e){var t=e.re=function(e){var t={};return t.src_Any=fBe.source,t.src_Cc=mBe.source,t.src_Z=gBe.source,t.src_P=vBe.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|"),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+")(?!-|_|:\\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&&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 i(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(i(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(i(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(i(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(i(t.tpl_host_fuzzy_test),"i");var r=[];function a(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var n=e.__schemas__[t];if(null!==n){var i={validate:null,link:null};if(e.__compiled__[t]=i,function(e){return"[object Object]"===bBe(e)}(n))return!function(e){return"[object RegExp]"===bBe(e)}(n.validate)?OBe(n.validate)?i.validate=n.validate:a(t,n):i.validate=function(e){return function(t,n){var i=t.slice(n);return e.test(i)?i.match(e)[0].length:0}}(n.validate),void(OBe(n.normalize)?i.normalize=n.normalize:n.normalize?a(t,n):i.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===bBe(e)}(n)?a(t,n):r.push(t)}})),r.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)}};var o=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(_Be).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+o+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+o+")","ig"),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 PBe(e,t){var n=e.__index__,i=e.__last_index__,r=e.__text_cache__.slice(n,i);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=i+t,this.raw=r,this.text=r,this.url=r}function EBe(e,t){var n=new PBe(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function FBe(e,t){if(!(this instanceof FBe))return new FBe(e,t);t||function(e){return Object.keys(e||{}).reduce((function(e,t){return e||wBe.hasOwnProperty(t)}),!1)}(e)&&(t=e,e={}),this.__opts__=yBe({},wBe,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=yBe({},kBe,e),this.__compiled__={},this.__tlds__=xBe,this.__tlds_replaced__=!1,this.re={},SBe(this)}FBe.prototype.add=function(e,t){return this.__schemas__[e]=t,SBe(this),this},FBe.prototype.set=function(e){return this.__opts__=yBe(this.__opts__,e),this},FBe.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,i,r,a,o,s,l;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(r=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+r;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(a=n.index+n[1].length,(this.__index__<0||a<this.__index__)&&(this.__schema__="",this.__index__=a,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(i=e.match(this.re.email_fuzzy))&&(a=i.index+i[1].length,o=i.index+i[0].length,(this.__index__<0||a<this.__index__||a===this.__index__&&o>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=a,this.__last_index__=o)),this.__index__>=0},FBe.prototype.pretest=function(e){return this.re.pretest.test(e)},FBe.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},FBe.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(EBe(this,t)),t=this.__last_index__);for(var i=t?e.slice(t):e;this.test(i);)n.push(EBe(this,t)),i=i.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},FBe.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(),SBe(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,SBe(this),this)},FBe.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},FBe.prototype.onCompile=function(){};var CBe=FBe,TBe={exports:{}};!function(e,t){var n;n=function(){var e=JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","‘":"\'","’":"\'","“":"\\"","”":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial"}'),t=JSON.parse('{"vi":{"Đ":"D","đ":"d"}}');function n(n,i){if("string"!=typeof n)throw new Error("slugify: string argument expected");var r=t[(i="string"==typeof i?{replacement:i}:i||{}).locale]||{},a=i.replacement||"-",o=n.split("").reduce((function(t,n){return t+(r[n]||e[n]||n)}),"").replace(i.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"").trim().replace(new RegExp("[\\s"+a+"]+","g"),a);return i.lower&&(o=o.toLowerCase()),i.strict&&(o=o.replace(new RegExp("[^a-zA-Z0-9"+a+"]","g"),"")),o}return n.extend=function(t){for(var n in t)e[n]=t[n]},n},e.exports=n(),e.exports.default=n()}(TBe);var DBe=TBe.exports;function ABe(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function IBe(){return IBe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},IBe.apply(this,arguments)}function LBe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zBe(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function $Be(e,t,n){return t&&zBe(e.prototype,t),n&&zBe(e,n),e}function RBe(e){return RBe="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},RBe(e)}function QBe(e){return QBe="function"==typeof Symbol&&"symbol"===RBe(Symbol.iterator)?function(e){return RBe(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":RBe(e)},QBe(e)}function jBe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MBe(e,t){return!t||"object"!==QBe(t)&&"function"!=typeof t?jBe(e):t}function NBe(e){return NBe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},NBe(e)}function UBe(e,t){return UBe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},UBe(e,t)}function qBe(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&&UBe(e,t)}function BBe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function GBe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],i=!0,r=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(i=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);i=!0);}catch(e){r=!0,a=e}finally{try{i||null==s.return||s.return()}finally{if(r)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function WBe(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},a=Object.keys(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function XBe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function VBe(e){return function(e){if(Array.isArray(e))return XBe(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return XBe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?XBe(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var YBe=function(e){return e===Object(e)?Object.keys(e):[]},ZBe=function(e){return e===Object(e)?Object.values(e):[]};function HBe(e,t){var n=Object.assign({},e);return eGe(e)&&eGe(t)&&YBe(t).forEach((function(i){eGe(t[i])&&i in e?n[i]=HBe(e[i],t[i]):Object.assign(n,Iae({},i,t[i]))})),n}var KBe=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return n.reduce((function(e,t){return HBe(e,t)}),e)},JBe=function(e,t){var n=Object.assign({},e);if(t)for(var i=0;i<t.length;i++)delete n[t[i]];return n},eGe=function(e){return!(e!==Object(e)||e instanceof Date||Array.isArray(e))},tGe=function(e){return(e||[]).filter(Boolean)},nGe=function(e){return"&"===e[0]},iGe=function(e){return!nGe(e)},rGe=function(e){return e.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}))},aGe=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=YBe(e),i={},r=0,a=n.length;r<a;r+=1){var o=n[r],s="[object Object]"!==Object.prototype.toString.call(e[o])||":"===o[0]||"@"===o[0]||t.indexOf(o)>=0;s&&(i[o]=e[o])}return i},oGe=function(e,t){for(var n=t.map(rGe),i=YBe(e),r={},a=0,o=i.length;a<o;a+=1){var s=i[a];(t.indexOf(s)>=0||n.indexOf(rGe(s))>=0)&&(r[s]=e[s])}return r},sGe=function e(t,n){for(var i=KBe.apply(void 0,[{},JBe(t,n)].concat(VBe(ZBe(oGe(t,n))))),r=YBe(i).filter(nGe),a=0,o=r.length;a<o;a+=1){var s=r[a],l=e(i[s],n);n.indexOf(s)>=0?(delete i[s],i=KBe({},i,l)):i[s]=l}return i};function lGe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function uGe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lGe(Object(n),!0).forEach((function(t){Iae(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lGe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var cGe=["animationName"],dGe=function(e){var t=e.style,n=e.className;return uGe(uGe({},t?{style:aGe(t,cGe)}:{}),n?{className:n}:{})},hGe=i.createContext(dGe);hGe.Provider;var pGe=function(e){if(!e)return[];if("string"==typeof e)return[e];if(!Array.isArray(e)){var t=e;return YBe(e).reduce((function(e,n){return e.concat(t[n]?[n]:[])}),[])}return e},fGe={},mGe=function(e){return function(t,n){var i,r=n||fGe;e.memoize=e.memoize||new WeakMap,e.memoize.has(r)?i=e.memoize.get(r):(i={},e.memoize.set(r,i));var a=pGe(t).join(" ");return a in i?i[a]:i[a]=e(t||[],n)}};function gGe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function vGe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gGe(Object(n),!0).forEach((function(t){Iae(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gGe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var yGe=function(e){var t=e&&YBe(e)[0];return t&&t.split("__")[0].split("--")[0]},bGe=function(e,t,n){if(e){var i=e.split(" ")[0],r=[].concat(VBe(0===t.length?n.map((function(e){return"".concat(i,"--").concat(e.substring(1))})):[]),VBe(t.map((function(e){return"".concat(i,"__").concat(e)}))));return 0===t.length?[e].concat(VBe(r)):r}};function OGe(e){var t=e.style,n=e.className,i=e.classNames,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:dGe,a=n||yGe(i)||(null==t?void 0:t.className),o="function"==typeof t?t:mGe((function(e,n){var o=pGe(e);i_e(Array.isArray(o),"First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."),i_e(!n||eGe(n),"Optional second parameter must be a plain object.");var s=o.filter(nGe),l=o.filter(iGe),u=l.length>0?function(e){return ZBe(oGe(e,l))}:function(e){return[e]},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return u(sGe(e,s))},d=bGe(a,l,s);return OGe(vGe(vGe(vGe({},(t||n)&&{style:KBe.apply(void 0,[{}].concat(VBe(c(n)),VBe(c(t))))}),d&&{className:d.join(" ")}),i&&{classNames:i}),r)})),s=vGe({},"function"==typeof t?t:{style:t}),l=VBe(new Set([].concat(VBe(s.className?s.className.split(" "):[]),VBe(a?a.split(" "):[])))),u=i?tGe(l.map((function(e){return i[e]}))):l,c=r(vGe(vGe({},s),u.length>0?{className:u.join(" ")}:{}));return Object.assign(o,c),o}function _Ge(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function wGe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_Ge(Object(n),!0).forEach((function(t){Iae(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_Ge(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var kGe=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return wGe(wGe(wGe({},e),"function"==typeof t?t:{}),{},{style:wGe(wGe({},e.style),"function"==typeof t?t.style:t)})}),{})},xGe=function(e,t,n){var r=t.style,a=t.className,o=t.classNames,s=i.useContext(hGe);return i.useMemo((function(){return OGe({style:r,className:a,classNames:o},s)}),[r,a,o,s])(n,e)},SGe=function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},PGe="__id__",EGe="__display__",FGe=function(e,t){i_e("id"===t||"display"===t,'Second arg must be either "id" or "display", got: "'.concat(t,'"'));var n=e.indexOf(EGe),i=e.indexOf(PGe);return n<0&&(n=null),i<0&&(i=null),i_e(null!==n||null!==i,"The markup '".concat(e,"' does not contain either of the placeholders '__id__' or '__display__'")),null!==n&&null!==i?"id"===t&&i<=n||"display"===t&&n<=i?0:1:0},CGe=function(e){var t=/^\/(.+)\/(\w+)?$/;return new RegExp(e.map((function(e){var n=GBe(t.exec(e.toString()),3),i=n[1],r=n[2];return i_e(!r,"RegExp flags are not supported. Change /".concat(i,"/").concat(r," into /").concat(i,"/")),"(".concat(i,")")})).join("|"),"g")},TGe=function(e){var t=0;return e.indexOf("__id__")>=0&&t++,e.indexOf("__display__")>=0&&t++,t},DGe=function(){},AGe=function(e,t,n){for(var i,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:DGe,a=CGe(t.map((function(e){return e.regex}))),o=2,s=t.map((function(e){var t=e.markup,n=o;return o+=TGe(t)+1,n})),l=0,u=0;null!==(i=a.exec(e));){var c=s.find((function(e){return!!i[e]})),d=s.indexOf(c),h=t[d],p=h.markup,f=h.displayTransform,m=c+FGe(p,"id"),g=c+FGe(p,"display"),v=i[m],y=f(v,i[g]),b=e.substring(l,i.index);r(b,l,u),u+=b.length,n(i[0],i.index,u,v,y,d,l),u+=y.length,l=a.lastIndex}l<e.length&&r(e.substring(l),l,u)},IGe=function(e,t){var n="";return AGe(e,t,(function(e,t,i,r,a){n+=a}),(function(e){n+=e})),n},LGe=function(e,t,n){var i,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"START";if("number"!=typeof n)return n;var a=function(e,t,r){void 0===i&&r+e.length>=n&&(i=t+n-r)},o=function(e,t,a,o,s,l,u){void 0===i&&a+s.length>n&&(i="NULL"===r?null:t+("END"===r?e.length:0))};return AGe(e,t,o,a),void 0===i?e.length:i},zGe=function(e,t,n,i){return e.substring(0,t)+i+e.substring(n)},$Ge=function(e,t){var n=[];return AGe(e,t,(function(e,t,i,r,a,o,s){n.push({id:r,display:a,childIndex:o,index:t,plainTextIndex:i})})),n},RGe=function(e,t){return"".concat(e,"-").concat(t)},QGe=function(e){return Object.values(e).reduce((function(e,t){return e+t.results.length}),0)},jGe=function(e){var t=SGe(e),n=e[e.indexOf(EGe)+EGe.length],i=e[e.indexOf(PGe)+PGe.length];return new RegExp(t.replace(EGe,"([^".concat(SGe(n||""),"]+?)")).replace(PGe,"([^".concat(SGe(i||""),"]+?)")))},MGe=function(e){return i.Children.toArray(e).map((function(e){var t=e.props,n=t.markup,i=t.regex,r=t.displayTransform;return{markup:n,regex:i?NGe(i,n):jGe(n),displayTransform:r||function(e,t){return t||e}}}))},NGe=function(e,t){var n=new RegExp(e.toString()+"|").exec("").length-1,i=TGe(t);return i_e(n===i,"Number of capturing groups in RegExp ".concat(e.toString()," (").concat(n,") does not match the number of placeholders in the markup '").concat(t,"' (").concat(i,")")),e},UGe=[{base:"A",letters:/(A|Ⓐ|A|À|Á|Â|Ầ|Ấ|Ẫ|Ẩ|Ã|Ā|Ă|Ằ|Ắ|Ẵ|Ẳ|Ȧ|Ǡ|Ä|Ǟ|Ả|Å|Ǻ|Ǎ|Ȁ|Ȃ|Ạ|Ậ|Ặ|Ḁ|Ą|Ⱥ|Ɐ|[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F])/g},{base:"AA",letters:/(Ꜳ|[\uA732])/g},{base:"AE",letters:/(Æ|Ǽ|Ǣ|[\u00C6\u01FC\u01E2])/g},{base:"AO",letters:/(Ꜵ|[\uA734])/g},{base:"AU",letters:/(Ꜷ|[\uA736])/g},{base:"AV",letters:/(Ꜹ|Ꜻ|[\uA738\uA73A])/g},{base:"AY",letters:/(Ꜽ|[\uA73C])/g},{base:"B",letters:/(B|Ⓑ|B|Ḃ|Ḅ|Ḇ|Ƀ|Ƃ|Ɓ|[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181])/g},{base:"C",letters:/(C|Ⓒ|C|Ć|Ĉ|Ċ|Č|Ç|Ḉ|Ƈ|Ȼ|Ꜿ|[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E])/g},{base:"D",letters:/(D|Ⓓ|D|Ḋ|Ď|Ḍ|Ḑ|Ḓ|Ḏ|Đ|Ƌ|Ɗ|Ɖ|Ꝺ|Ð|[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779\u00D0])/g},{base:"DZ",letters:/(DZ|DŽ|[\u01F1\u01C4])/g},{base:"Dz",letters:/(Dz|Dž|[\u01F2\u01C5])/g},{base:"E",letters:/(E|Ⓔ|E|È|É|Ê|Ề|Ế|Ễ|Ể|Ẽ|Ē|Ḕ|Ḗ|Ĕ|Ė|Ë|Ẻ|Ě|Ȅ|Ȇ|Ẹ|Ệ|Ȩ|Ḝ|Ę|Ḙ|Ḛ|Ɛ|Ǝ|[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E])/g},{base:"F",letters:/(F|Ⓕ|F|Ḟ|Ƒ|Ꝼ|[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B])/g},{base:"G",letters:/(G|Ⓖ|G|Ǵ|Ĝ|Ḡ|Ğ|Ġ|Ǧ|Ģ|Ǥ|Ɠ|Ꞡ|Ᵹ|Ꝿ|[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E])/g},{base:"H",letters:/(H|Ⓗ|H|Ĥ|Ḣ|Ḧ|Ȟ|Ḥ|Ḩ|Ḫ|Ħ|Ⱨ|Ⱶ|Ɥ|[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D])/g},{base:"I",letters:/(I|Ⓘ|I|Ì|Í|Î|Ĩ|Ī|Ĭ|İ|Ï|Ḯ|Ỉ|Ǐ|Ȉ|Ȋ|Ị|Į|Ḭ|Ɨ|[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197])/g},{base:"J",letters:/(J|Ⓙ|J|Ĵ|Ɉ|[\u004A\u24BF\uFF2A\u0134\u0248])/g},{base:"K",letters:/(K|Ⓚ|K|Ḱ|Ǩ|Ḳ|Ķ|Ḵ|Ƙ|Ⱪ|Ꝁ|Ꝃ|Ꝅ|Ꞣ|[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2])/g},{base:"L",letters:/(L|Ⓛ|L|Ŀ|Ĺ|Ľ|Ḷ|Ḹ|Ļ|Ḽ|Ḻ|Ł|Ƚ|Ɫ|Ⱡ|Ꝉ|Ꝇ|Ꞁ|[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780])/g},{base:"LJ",letters:/(LJ|[\u01C7])/g},{base:"Lj",letters:/(Lj|[\u01C8])/g},{base:"M",letters:/(M|Ⓜ|M|Ḿ|Ṁ|Ṃ|Ɱ|Ɯ|[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C])/g},{base:"N",letters:/(N|Ⓝ|N|Ǹ|Ń|Ñ|Ṅ|Ň|Ṇ|Ņ|Ṋ|Ṉ|Ƞ|Ɲ|Ꞑ|Ꞥ|Ŋ|[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4\u014A])/g},{base:"NJ",letters:/(NJ|[\u01CA])/g},{base:"Nj",letters:/(Nj|[\u01CB])/g},{base:"O",letters:/(O|Ⓞ|O|Ò|Ó|Ô|Ồ|Ố|Ỗ|Ổ|Õ|Ṍ|Ȭ|Ṏ|Ō|Ṑ|Ṓ|Ŏ|Ȯ|Ȱ|Ö|Ȫ|Ỏ|Ő|Ǒ|Ȍ|Ȏ|Ơ|Ờ|Ớ|Ỡ|Ở|Ợ|Ọ|Ộ|Ǫ|Ǭ|Ø|Ǿ|Ɔ|Ɵ|Ꝋ|Ꝍ|[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C])/g},{base:"OE",letters:/(Œ|[\u0152])/g},{base:"OI",letters:/(Ƣ|[\u01A2])/g},{base:"OO",letters:/(Ꝏ|[\uA74E])/g},{base:"OU",letters:/(Ȣ|[\u0222])/g},{base:"P",letters:/(P|Ⓟ|P|Ṕ|Ṗ|Ƥ|Ᵽ|Ꝑ|Ꝓ|Ꝕ|[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754])/g},{base:"Q",letters:/(Q|Ⓠ|Q|Ꝗ|Ꝙ|Ɋ|[\u0051\u24C6\uFF31\uA756\uA758\u024A])/g},{base:"R",letters:/(R|Ⓡ|R|Ŕ|Ṙ|Ř|Ȑ|Ȓ|Ṛ|Ṝ|Ŗ|Ṟ|Ɍ|Ɽ|Ꝛ|Ꞧ|Ꞃ|[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782])/g},{base:"S",letters:/(S|Ⓢ|S|ẞ|Ś|Ṥ|Ŝ|Ṡ|Š|Ṧ|Ṣ|Ṩ|Ș|Ş|Ȿ|Ꞩ|Ꞅ|[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784])/g},{base:"T",letters:/(T|Ⓣ|T|Ṫ|Ť|Ṭ|Ț|Ţ|Ṱ|Ṯ|Ŧ|Ƭ|Ʈ|Ⱦ|Ꞇ|[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786])/g},{base:"TH",letters:/(Þ|[\u00DE])/g},{base:"TZ",letters:/(Ꜩ|[\uA728])/g},{base:"U",letters:/(U|Ⓤ|U|Ù|Ú|Û|Ũ|Ṹ|Ū|Ṻ|Ŭ|Ü|Ǜ|Ǘ|Ǖ|Ǚ|Ủ|Ů|Ű|Ǔ|Ȕ|Ȗ|Ư|Ừ|Ứ|Ữ|Ử|Ự|Ụ|Ṳ|Ų|Ṷ|Ṵ|Ʉ|[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244])/g},{base:"V",letters:/(V|Ⓥ|V|Ṽ|Ṿ|Ʋ|Ꝟ|Ʌ|[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245])/g},{base:"VY",letters:/(Ꝡ|[\uA760])/g},{base:"W",letters:/(W|Ⓦ|W|Ẁ|Ẃ|Ŵ|Ẇ|Ẅ|Ẉ|Ⱳ|[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72])/g},{base:"X",letters:/(X|Ⓧ|X|Ẋ|Ẍ|[\u0058\u24CD\uFF38\u1E8A\u1E8C])/g},{base:"Y",letters:/(Y|Ⓨ|Y|Ỳ|Ý|Ŷ|Ỹ|Ȳ|Ẏ|Ÿ|Ỷ|Ỵ|Ƴ|Ɏ|Ỿ|[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE])/g},{base:"Z",letters:/(Z|Ⓩ|Z|Ź|Ẑ|Ż|Ž|Ẓ|Ẕ|Ƶ|Ȥ|Ɀ|Ⱬ|Ꝣ|[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762])/g},{base:"a",letters:/(a|ⓐ|a|ẚ|à|á|â|ầ|ấ|ẫ|ẩ|ã|ā|ă|ằ|ắ|ẵ|ẳ|ȧ|ǡ|ä|ǟ|ả|å|ǻ|ǎ|ȁ|ȃ|ạ|ậ|ặ|ḁ|ą|ⱥ|ɐ|[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250])/g},{base:"aa",letters:/(ꜳ|[\uA733])/g},{base:"ae",letters:/(æ|ǽ|ǣ|[\u00E6\u01FD\u01E3])/g},{base:"ao",letters:/(ꜵ|[\uA735])/g},{base:"au",letters:/(ꜷ|[\uA737])/g},{base:"av",letters:/(ꜹ|ꜻ|[\uA739\uA73B])/g},{base:"ay",letters:/(ꜽ|[\uA73D])/g},{base:"b",letters:/(b|ⓑ|b|ḃ|ḅ|ḇ|ƀ|ƃ|ɓ|[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253])/g},{base:"c",letters:/(c|ⓒ|c|ć|ĉ|ċ|č|ç|ḉ|ƈ|ȼ|ꜿ|ↄ|[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184])/g},{base:"d",letters:/(d|ⓓ|d|ḋ|ď|ḍ|ḑ|ḓ|ḏ|đ|ƌ|ɖ|ɗ|ꝺ|ð|[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A\u00F0])/g},{base:"dz",letters:/(dz|dž|[\u01F3\u01C6])/g},{base:"e",letters:/(e|ⓔ|e|è|é|ê|ề|ế|ễ|ể|ẽ|ē|ḕ|ḗ|ĕ|ė|ë|ẻ|ě|ȅ|ȇ|ẹ|ệ|ȩ|ḝ|ę|ḙ|ḛ|ɇ|ɛ|ǝ|[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD])/g},{base:"f",letters:/(f|ⓕ|f|ḟ|ƒ|ꝼ|[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C])/g},{base:"g",letters:/(g|ⓖ|g|ǵ|ĝ|ḡ|ğ|ġ|ǧ|ģ|ǥ|ɠ|ꞡ|ᵹ|ꝿ|[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F])/g},{base:"h",letters:/(h|ⓗ|h|ĥ|ḣ|ḧ|ȟ|ḥ|ḩ|ḫ|ẖ|ħ|ⱨ|ⱶ|ɥ|[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265])/g},{base:"hv",letters:/(ƕ|[\u0195])/g},{base:"i",letters:/(i|ⓘ|i|ì|í|î|ĩ|ī|ĭ|ï|ḯ|ỉ|ǐ|ȉ|ȋ|ị|į|ḭ|ɨ|ı|[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131])/g},{base:"ij",letters:/(ij|[\u0133])/g},{base:"j",letters:/(j|ⓙ|j|ĵ|ǰ|ɉ|[\u006A\u24D9\uFF4A\u0135\u01F0\u0249])/g},{base:"k",letters:/(k|ⓚ|k|ḱ|ǩ|ḳ|ķ|ḵ|ƙ|ⱪ|ꝁ|ꝃ|ꝅ|ꞣ|[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3])/g},{base:"l",letters:/(l|ⓛ|l|ŀ|ĺ|ľ|ḷ|ḹ|ļ|ḽ|ḻ|ł|ƚ|ɫ|ⱡ|ꝉ|ꞁ|ꝇ|[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u0142\u019A\u026B\u2C61\uA749\uA781\uA747])/g},{base:"lj",letters:/(lj|[\u01C9])/g},{base:"m",letters:/(m|ⓜ|m|ḿ|ṁ|ṃ|ɱ|ɯ|[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F])/g},{base:"n",letters:/(n|ⓝ|n|ǹ|ń|ñ|ṅ|ň|ṇ|ņ|ṋ|ṉ|ƞ|ɲ|ʼn|ꞑ|ꞥ|ŋ|[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5\u014B])/g},{base:"nj",letters:/(nj|[\u01CC])/g},{base:"o",letters:/(o|ⓞ|o|ò|ó|ô|ồ|ố|ỗ|ổ|õ|ṍ|ȭ|ṏ|ō|ṑ|ṓ|ŏ|ȯ|ȱ|ö|ȫ|ỏ|ő|ǒ|ȍ|ȏ|ơ|ờ|ớ|ỡ|ở|ợ|ọ|ộ|ǫ|ǭ|ø|ǿ|ɔ|ꝋ|ꝍ|ɵ|[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275])/g},{base:"oe",letters:/(œ|[\u0153])/g},{base:"oi",letters:/(ƣ|[\u01A3])/g},{base:"ou",letters:/(ȣ|[\u0223])/g},{base:"oo",letters:/(ꝏ|[\uA74F])/g},{base:"p",letters:/(p|ⓟ|p|ṕ|ṗ|ƥ|ᵽ|ꝑ|ꝓ|ꝕ|[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755])/g},{base:"q",letters:/(q|ⓠ|q|ɋ|ꝗ|ꝙ|[\u0071\u24E0\uFF51\u024B\uA757\uA759])/g},{base:"r",letters:/(r|ⓡ|r|ŕ|ṙ|ř|ȑ|ȓ|ṛ|ṝ|ŗ|ṟ|ɍ|ɽ|ꝛ|ꞧ|ꞃ|[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783])/g},{base:"s",letters:/(s|ⓢ|s|ś|ṥ|ŝ|ṡ|š|ṧ|ṣ|ṩ|ș|ş|ȿ|ꞩ|ꞅ|ẛ|ſ|[\u0073\u24E2\uFF53\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B\u017F])/g},{base:"ss",letters:/(ß|[\u00DF])/g},{base:"t",letters:/(t|ⓣ|t|ṫ|ẗ|ť|ṭ|ț|ţ|ṱ|ṯ|ŧ|ƭ|ʈ|ⱦ|ꞇ|[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787])/g},{base:"th",letters:/(þ|[\u00FE])/g},{base:"tz",letters:/(ꜩ|[\uA729])/g},{base:"u",letters:/(u|ⓤ|u|ù|ú|û|ũ|ṹ|ū|ṻ|ŭ|ü|ǜ|ǘ|ǖ|ǚ|ủ|ů|ű|ǔ|ȕ|ȗ|ư|ừ|ứ|ữ|ử|ự|ụ|ṳ|ų|ṷ|ṵ|ʉ|[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289])/g},{base:"v",letters:/(v|ⓥ|v|ṽ|ṿ|ʋ|ꝟ|ʌ|[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C])/g},{base:"vy",letters:/(ꝡ|[\uA761])/g},{base:"w",letters:/(w|ⓦ|w|ẁ|ẃ|ŵ|ẇ|ẅ|ẘ|ẉ|ⱳ|[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73])/g},{base:"x",letters:/(x|ⓧ|x|ẋ|ẍ|[\u0078\u24E7\uFF58\u1E8B\u1E8D])/g},{base:"y",letters:/(y|ⓨ|y|ỳ|ý|ŷ|ỹ|ȳ|ẏ|ÿ|ỷ|ẙ|ỵ|ƴ|ɏ|ỿ|[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF])/g},{base:"z",letters:/(z|ⓩ|z|ź|ẑ|ż|ž|ẓ|ẕ|ƶ|ȥ|ɀ|ⱬ|ꝣ|[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763])/g}],qGe=function(e){return function(e){var t=e;return UGe.forEach((function(e){t=t.replace(e.letters,e.base)})),t}(e).toLowerCase()},BGe=function(e,t,n){return n?qGe(e).indexOf(qGe(t)):e.toLowerCase().indexOf(t.toLowerCase())},GGe=function(e){return"number"==typeof e},WGe=function(e){return e===Object(e)?Object.keys(e):[]},XGe=function(e){for(var t,n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];var a=(t=[]).concat.apply(t,i);return Object.keys(e).reduce((function(t,n){return e.hasOwnProperty(n)&&!a.includes(n)&&void 0!==e[n]&&(t[n]=e[n]),t}),{})};function VGe(e,t){return function(n){var i=function(i){var r=i.style,a=i.className,o=i.classNames,s=WBe(i,["style","className","classNames"]),l=t?t(s):void 0,u=xGe(e,{style:r,className:a,classNames:o},l);return g.default.createElement(n,IBe({},s,{style:u}))},r=n.displayName||n.name||"Component";return i.displayName="defaultStyle(".concat(r,")"),i}}var YGe=function(e){function t(){var e;return LBe(this,t),BBe(jBe(e=MBe(this,NBe(t).apply(this,arguments))),"setCaretElement",(function(t){e.caretElement=t})),e.state={left:void 0,top:void 0},e}return qBe(t,e),$Be(t,[{key:"componentDidMount",value:function(){this.notifyCaretPosition()}},{key:"componentDidUpdate",value:function(){this.notifyCaretPosition()}},{key:"notifyCaretPosition",value:function(){if(this.caretElement){var e=this.caretElement,t=e.offsetLeft,n=e.offsetTop;if(this.state.left!==t||this.state.top!==n){var i={left:t,top:n};this.setState(i),this.props.onCaretPositionChange(i)}}}},{key:"render",value:function(){var e,t=this,n=this.props,i=n.selectionStart,r=n.selectionEnd,a=n.value,o=n.style,s=n.children,l=n.containerRef,u=MGe(s);i===r&&(e=LGe(a,u,i,"START"));var c=[],d={},h=c,p=0;return AGe(a,u,(function(e,n,i,r,a,o,s){var l=function(e,t){return e.hasOwnProperty(t)?e[t]++:e[t]=0,t+"_"+e[t]}(d,r);h.push(t.getMentionComponentForMatch(r,a,o,l))}),(function(n,i,r){if(GGe(e)&&e>=i&&e<=i+n.length){var a=e-i;h.push(t.renderSubstring(n.substring(0,a),p)),h=[t.renderSubstring(n.substring(a),p)]}else h.push(t.renderSubstring(n,p));p++})),h.push(" "),h!==c&&c.push(this.renderHighlighterCaret(h)),g.default.createElement("div",IBe({},o,{ref:l}),c)}},{key:"renderSubstring",value:function(e,t){return g.default.createElement("span",IBe({},this.props.style("substring"),{key:t}),e)}},{key:"getMentionComponentForMatch",value:function(e,t,n,r){var a={id:e,display:t,key:r},o=i.Children.toArray(this.props.children)[n];return g.default.cloneElement(o,a)}},{key:"renderHighlighterCaret",value:function(e){return g.default.createElement("span",IBe({},this.props.style("caret"),{ref:this.setCaretElement,key:"caret"}),e)}}]),t}(i.Component);BBe(YGe,"propTypes",{selectionStart:hH.number,selectionEnd:hH.number,value:hH.string.isRequired,onCaretPositionChange:hH.func.isRequired,containerRef:hH.oneOfType([hH.func,hH.shape({current:"undefined"==typeof Element?hH.any:hH.instanceOf(Element)})]),children:hH.oneOfType([hH.element,hH.arrayOf(hH.element)]).isRequired}),BBe(YGe,"defaultProps",{value:""});var ZGe=VGe({position:"relative",boxSizing:"border-box",width:"100%",color:"transparent",overflow:"hidden",whiteSpace:"pre-wrap",wordWrap:"break-word",border:"1px solid transparent",textAlign:"start","&singleLine":{whiteSpace:"pre",wordWrap:null},substring:{visibility:"hidden"}},(function(e){return{"&singleLine":e.singleLine}}))(YGe),HGe=function(e){function t(){return LBe(this,t),MBe(this,NBe(t).apply(this,arguments))}return qBe(t,e),$Be(t,[{key:"render",value:function(){var e=XGe(this.props,["style","classNames","className"],WGe(t.propTypes));return g.default.createElement("li",IBe({id:this.props.id,role:"option","aria-selected":this.props.focused},e,this.props.style),this.renderContent())}},{key:"renderContent",value:function(){var e=this.props,t=e.query,n=e.renderSuggestion,i=e.suggestion,r=e.index,a=e.focused,o=this.getDisplay(),s=this.renderHighlightedDisplay(o,t);return n?n(i,t,s,r,a):s}},{key:"getDisplay",value:function(){var e=this.props.suggestion;if("string"==typeof e)return e;var t=e.id,n=e.display;return void 0!==t&&n?n:t}},{key:"renderHighlightedDisplay",value:function(e){var t=this.props,n=t.ignoreAccents,i=t.query,r=t.style,a=BGe(e,i,n);return-1===a?g.default.createElement("span",r("display"),e):g.default.createElement("span",r("display"),e.substring(0,a),g.default.createElement("b",r("highlight"),e.substring(a,a+i.length)),e.substring(a+i.length))}}]),t}(i.Component);BBe(HGe,"propTypes",{id:hH.string.isRequired,query:hH.string.isRequired,index:hH.number.isRequired,ignoreAccents:hH.bool,suggestion:hH.oneOfType([hH.string,hH.shape({id:hH.oneOfType([hH.string,hH.number]).isRequired,display:hH.string})]).isRequired,renderSuggestion:hH.func,focused:hH.bool});var KGe=VGe({cursor:"pointer"},(function(e){return{"&focused":e.focused}}))(HGe);function JGe(){var e=xGe(),t=e("spinner");return g.default.createElement("div",e,g.default.createElement("div",t,g.default.createElement("div",t(["element","element1"])),g.default.createElement("div",t(["element","element2"])),g.default.createElement("div",t(["element","element3"])),g.default.createElement("div",t(["element","element4"])),g.default.createElement("div",t(["element","element5"]))))}var eWe=function(e){function t(){var e,n;LBe(this,t);for(var i=arguments.length,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];return BBe(jBe(n=MBe(this,(e=NBe(t)).call.apply(e,[this].concat(r)))),"handleMouseEnter",(function(e,t){n.props.onMouseEnter&&n.props.onMouseEnter(e)})),BBe(jBe(n),"select",(function(e,t){n.props.onSelect(e,t)})),BBe(jBe(n),"setUlElement",(function(e){n.ulElement=e})),n}return qBe(t,e),$Be(t,[{key:"componentDidUpdate",value:function(){if(this.ulElement&&!(this.ulElement.offsetHeight>=this.ulElement.scrollHeight)&&this.props.scrollFocusedIntoView){var e=this.ulElement.scrollTop,t=this.ulElement.children[this.props.focusIndex].getBoundingClientRect(),n=t.top,i=t.bottom,r=this.ulElement.getBoundingClientRect().top;i=i-r+e,(n=n-r+e)<e?this.ulElement.scrollTop=n:i>this.ulElement.offsetHeight&&(this.ulElement.scrollTop=i-this.ulElement.offsetHeight)}}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.a11ySuggestionsListLabel,i=e.isOpened,r=e.style,a=e.onMouseDown,o=e.containerRef,s=e.position,l=e.left,u=e.top;return i?g.default.createElement("div",IBe({},kGe({position:s||"absolute",left:l,top:u},r),{onMouseDown:a,ref:o}),g.default.createElement("ul",IBe({ref:this.setUlElement,id:t,role:"listbox","aria-label":n},r("list")),this.renderSuggestions()),this.renderLoadingIndicator()):null}},{key:"renderSuggestions",value:function(){var e=this;return Object.values(this.props.suggestions).reduce((function(t,n){var i=n.results,r=n.queryInfo;return[].concat(ABe(t),ABe(i.map((function(n,i){return e.renderSuggestion(n,r,t.length+i)}))))}),[])}},{key:"renderSuggestion",value:function(e,t,n){var r=this,a=n===this.props.focusIndex,o=t.childIndex,s=t.query,l=i.Children.toArray(this.props.children)[o].props.renderSuggestion,u=this.props.ignoreAccents;return g.default.createElement(KGe,{style:this.props.style("item"),key:"".concat(o,"-").concat(tWe(e)),id:RGe(this.props.id,n),query:s,index:n,ignoreAccents:u,renderSuggestion:l,suggestion:e,focused:a,onClick:function(){return r.select(e,t)},onMouseEnter:function(){return r.handleMouseEnter(n)}})}},{key:"renderLoadingIndicator",value:function(){if(this.props.isLoading)return g.default.createElement(JGe,{style:this.props.style("loadingIndicator")})}}]),t}(i.Component);BBe(eWe,"propTypes",{id:hH.string.isRequired,suggestions:hH.object.isRequired,a11ySuggestionsListLabel:hH.string,focusIndex:hH.number,position:hH.string,left:hH.number,top:hH.number,scrollFocusedIntoView:hH.bool,isLoading:hH.bool,isOpened:hH.bool.isRequired,onSelect:hH.func,ignoreAccents:hH.bool,containerRef:hH.oneOfType([hH.func,hH.shape({current:"undefined"==typeof Element?hH.any:hH.instanceOf(Element)})]),children:hH.oneOfType([hH.element,hH.arrayOf(hH.element)]).isRequired}),BBe(eWe,"defaultProps",{suggestions:{},onSelect:function(){return null}});var tWe=function(e){return"string"==typeof e?e:e.id},nWe=VGe({zIndex:1,backgroundColor:"white",marginTop:14,minWidth:100,list:{margin:0,padding:0,listStyleType:"none"}})(eWe);function iWe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function rWe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?iWe(n,!0).forEach((function(t){BBe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):iWe(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var aWe={TAB:9,RETURN:13,ESC:27,UP:38,DOWN:40},oWe=!1,sWe={singleLine:hH.bool,allowSpaceInQuery:hH.bool,allowSuggestionsAboveCursor:hH.bool,forceSuggestionsAboveCursor:hH.bool,ignoreAccents:hH.bool,a11ySuggestionsListLabel:hH.string,value:hH.string,onKeyDown:hH.func,onSelect:hH.func,onBlur:hH.func,onChange:hH.func,suggestionsPortalHost:"undefined"==typeof Element?hH.any:hH.PropTypes.instanceOf(Element),inputRef:hH.oneOfType([hH.func,hH.shape({current:"undefined"==typeof Element?hH.any:hH.instanceOf(Element)})]),children:hH.oneOfType([hH.element,hH.arrayOf(hH.element)]).isRequired},lWe=function(e){function t(e){var n;return LBe(this,t),BBe(jBe(n=MBe(this,NBe(t).call(this,e))),"setContainerElement",(function(e){n.containerElement=e})),BBe(jBe(n),"getInputProps",(function(){var e=n.props,t=e.readOnly,i=e.disabled,r=e.style;return rWe({},XGe(n.props,["style","classNames","className"],WGe(sWe)),{},r("input"),{value:n.getPlainText()},!t&&!i&&{onChange:n.handleChange,onSelect:n.handleSelect,onKeyDown:n.handleKeyDown,onBlur:n.handleBlur,onCompositionStart:n.handleCompositionStart,onCompositionEnd:n.handleCompositionEnd,onScroll:n.updateHighlighterScroll},{},n.isOpened()&&{role:"combobox","aria-controls":n.uuidSuggestionsOverlay,"aria-expanded":!0,"aria-autocomplete":"list","aria-haspopup":"listbox","aria-activedescendant":RGe(n.uuidSuggestionsOverlay,n.state.focusIndex)})})),BBe(jBe(n),"renderControl",(function(){var e=n.props,t=e.singleLine,i=e.style,r=n.getInputProps();return g.default.createElement("div",i("control"),n.renderHighlighter(),t?n.renderInput(r):n.renderTextarea(r))})),BBe(jBe(n),"renderInput",(function(e){return g.default.createElement("input",IBe({type:"text",ref:n.setInputRef},e))})),BBe(jBe(n),"renderTextarea",(function(e){return g.default.createElement("textarea",IBe({ref:n.setInputRef},e))})),BBe(jBe(n),"setInputRef",(function(e){n.inputElement=e;var t=n.props.inputRef;"function"==typeof t?t(e):t&&(t.current=e)})),BBe(jBe(n),"setSuggestionsElement",(function(e){n.suggestionsElement=e})),BBe(jBe(n),"renderSuggestionsOverlay",(function(){if(!GGe(n.state.selectionStart))return null;var e=n.state.suggestionsPosition,t=e.position,i=e.left,r=e.top,a=g.default.createElement(nWe,{id:n.uuidSuggestionsOverlay,style:n.props.style("suggestions"),position:t,left:i,top:r,focusIndex:n.state.focusIndex,scrollFocusedIntoView:n.state.scrollFocusedIntoView,containerRef:n.setSuggestionsElement,suggestions:n.state.suggestions,onSelect:n.addMention,onMouseDown:n.handleSuggestionsMouseDown,onMouseEnter:n.handleSuggestionsMouseEnter,isLoading:n.isLoading(),isOpened:n.isOpened(),ignoreAccents:n.props.ignoreAccents,a11ySuggestionsListLabel:n.props.a11ySuggestionsListLabel},n.props.children);return n.props.suggestionsPortalHost?b.default.createPortal(a,n.props.suggestionsPortalHost):a})),BBe(jBe(n),"renderHighlighter",(function(){var e=n.state,t=e.selectionStart,i=e.selectionEnd,r=n.props,a=r.singleLine,o=r.children,s=r.value,l=r.style;return g.default.createElement(ZGe,{containerRef:n.setHighlighterElement,style:l("highlighter"),value:s,singleLine:a,selectionStart:t,selectionEnd:i,onCaretPositionChange:n.handleCaretPositionChange},o)})),BBe(jBe(n),"setHighlighterElement",(function(e){n.highlighterElement=e})),BBe(jBe(n),"handleCaretPositionChange",(function(e){n.setState({caretPosition:e})})),BBe(jBe(n),"getPlainText",(function(){return IGe(n.props.value||"",MGe(n.props.children))})),BBe(jBe(n),"executeOnChange",(function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),r=1;r<t;r++)i[r-1]=arguments[r];var a,o;return n.props.onChange?(a=n.props).onChange.apply(a,[e].concat(i)):n.props.valueLink?(o=n.props.valueLink).requestChange.apply(o,[e.target.value].concat(i)):void 0})),BBe(jBe(n),"handleChange",(function(e){if(oWe=!1,(document.activeElement&&document.activeElement.contentDocument||document).activeElement===e.target){var t=n.props.value||"",i=MGe(n.props.children),r=e.target.value,a=function(e,t,n,i){var r=n.selectionStartBefore,a=n.selectionEndBefore,o=n.selectionEndAfter,s=IGe(e,i),l=s.length-t.length;"undefined"===r&&(r=o+l),"undefined"===a&&(a=r),r===a&&a===o&&s.length===t.length&&(r-=1);var u=t.slice(r,o),c=Math.min(r,o),d=a;r===o&&(d=Math.max(a,r+l));var h=LGe(e,i,c,"START"),p=LGe(e,i,d,"END"),f=LGe(e,i,c,"NULL"),m=LGe(e,i,d,"NULL"),g=null===f||null===m,v=zGe(e,h,p,u);if(!g){var y=IGe(v,i);if(y!==t){for(c=0;t[c]===y[c];)c++;u=t.slice(c,o),d=s.lastIndexOf(t.substring(o)),h=LGe(e,i,c,"START"),p=LGe(e,i,d,"END"),v=zGe(e,h,p,u)}}return v}(t,r,{selectionStartBefore:n.state.selectionStart,selectionEndBefore:n.state.selectionEnd,selectionEndAfter:e.target.selectionEnd},i);r=IGe(a,i);var o=e.target.selectionStart,s=e.target.selectionEnd,l=!1,u=function(e,t,n){var i=n,r=!1;if(AGe(e,t,(function(e,t,a,o,s,l,u){a<=n&&a+s.length>n&&(i=a,r=!0)})),r)return i}(t,i,o);void 0!==u&&n.state.selectionEnd>u&&(s=o=u,l=!0),n.setState({selectionStart:o,selectionEnd:s,setSelectionAfterMentionChange:l});var c=$Ge(a,i),d={target:{value:a}};n.executeOnChange(d,a,r,c)}})),BBe(jBe(n),"handleSelect",(function(e){if(n.setState({selectionStart:e.target.selectionStart,selectionEnd:e.target.selectionEnd}),!oWe){var t=n.inputElement;e.target.selectionStart===e.target.selectionEnd?n.updateMentionsQueries(t.value,e.target.selectionStart):n.clearSuggestions(),n.updateHighlighterScroll(),n.props.onSelect(e)}})),BBe(jBe(n),"handleKeyDown",(function(e){if(0!==QGe(n.state.suggestions)&&n.suggestionsElement)switch(Object.values(aWe).indexOf(e.keyCode)>=0&&(e.preventDefault(),e.stopPropagation()),e.keyCode){case aWe.ESC:return void n.clearSuggestions();case aWe.DOWN:return void n.shiftFocus(1);case aWe.UP:return void n.shiftFocus(-1);case aWe.RETURN:case aWe.TAB:return void n.selectFocused();default:return}else n.props.onKeyDown(e)})),BBe(jBe(n),"shiftFocus",(function(e){var t=QGe(n.state.suggestions);n.setState({focusIndex:(t+n.state.focusIndex+e)%t,scrollFocusedIntoView:!0})})),BBe(jBe(n),"selectFocused",(function(){var e=n.state,t=e.suggestions,i=e.focusIndex,r=Object.values(t).reduce((function(e,t){var n=t.results,i=t.queryInfo;return[].concat(ABe(e),ABe(n.map((function(e){return{result:e,queryInfo:i}}))))}),[])[i],a=r.result,o=r.queryInfo;n.addMention(a,o),n.setState({focusIndex:0})})),BBe(jBe(n),"handleBlur",(function(e){var t=n._suggestionsMouseDown;n._suggestionsMouseDown=!1,t||n.setState({selectionStart:null,selectionEnd:null}),window.setTimeout((function(){n.updateHighlighterScroll()}),1),n.props.onBlur(e,t)})),BBe(jBe(n),"handleSuggestionsMouseDown",(function(e){n._suggestionsMouseDown=!0})),BBe(jBe(n),"handleSuggestionsMouseEnter",(function(e){n.setState({focusIndex:e,scrollFocusedIntoView:!1})})),BBe(jBe(n),"updateSuggestionsPosition",(function(){var e=n.state.caretPosition,t=n.props,i=t.suggestionsPortalHost,r=t.allowSuggestionsAboveCursor,a=t.forceSuggestionsAboveCursor;if(e&&n.suggestionsElement){var o=n.suggestionsElement,s=n.highlighterElement,l=s.getBoundingClientRect(),u=uWe(s,"font-size"),c={left:l.left+e.left,top:l.top+e.top+u},d=Math.max(document.documentElement.clientHeight,window.innerHeight||0);if(o){var h={};if(i){h.position="fixed";var p=c.left,f=c.top;p-=uWe(o,"margin-left"),f-=uWe(o,"margin-top"),p-=s.scrollLeft,f-=s.scrollTop;var m=Math.max(document.documentElement.clientWidth,window.innerWidth||0);p+o.offsetWidth>m?h.left=Math.max(0,m-o.offsetWidth):h.left=p,r&&f+o.offsetHeight>d&&o.offsetHeight<f-u||a?h.top=Math.max(0,f-o.offsetHeight-u):h.top=f}else{var g=e.left-s.scrollLeft,v=e.top-s.scrollTop;g+o.offsetWidth>n.containerElement.offsetWidth?h.right=0:h.left=g,r&&c.top-s.scrollTop+o.offsetHeight>d&&o.offsetHeight<l.top-u-s.scrollTop?h.top=v-o.offsetHeight-u:h.top=v}h.left===n.state.suggestionsPosition.left&&h.top===n.state.suggestionsPosition.top&&h.position===n.state.suggestionsPosition.position||n.setState({suggestionsPosition:h})}}})),BBe(jBe(n),"updateHighlighterScroll",(function(){var e=n.inputElement,t=n.highlighterElement;e&&t&&(t.scrollLeft=e.scrollLeft,t.scrollTop=e.scrollTop,t.height=e.height)})),BBe(jBe(n),"handleCompositionStart",(function(){oWe=!0})),BBe(jBe(n),"handleCompositionEnd",(function(){oWe=!1})),BBe(jBe(n),"setSelection",(function(e,t){if(null!==e&&null!==t){var i=n.inputElement;if(i.setSelectionRange)i.setSelectionRange(e,t);else if(i.createTextRange){var r=i.createTextRange();r.collapse(!0),r.moveEnd("character",t),r.moveStart("character",e),r.select()}}})),BBe(jBe(n),"updateMentionsQueries",(function(e,t){n._queryId++,n.suggestions={},n.setState({suggestions:{}});var i=n.props.value||"",r=n.props.children,a=MGe(r),o=LGe(i,a,t,"NULL");if(null!==o){var s=function(e,t){var n=$Ge(e,t),i=n[n.length-1];return i?i.plainTextIndex+i.display.length:0}(i.substring(0,o),a),l=e.substring(s,t);g.default.Children.forEach(r,(function(t,i){if(t){var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e instanceof RegExp)return e;var n=t.allowSpaceInQuery,i=SGe(e);return new RegExp("(?:^|\\s)(".concat(i,"([^").concat(n?"":"\\s").concat(i,"]*))$"))}(t.props.trigger,n.props),a=l.match(r);if(a){var o=s+l.indexOf(a[1],a.index);n.queryData(a[2],i,o,o+a[1].length,e)}}}))}})),BBe(jBe(n),"clearSuggestions",(function(){n._queryId++,n.suggestions={},n.setState({suggestions:{},focusIndex:0})})),BBe(jBe(n),"queryData",(function(e,t,r,a,o){var s=n.props,l=s.children,u=s.ignoreAccents,c=function(e,t){return e instanceof Array?function(n,i){for(var r=[],a=0,o=e.length;a<o;++a){var s=e[a].display||e[a].id;BGe(s,n,t)>=0&&r.push(e[a])}return r}:e}(i.Children.toArray(l)[t].props.data,u),d=c(e,n.updateSuggestions.bind(null,n._queryId,t,e,r,a,o));d instanceof Array&&n.updateSuggestions(n._queryId,t,e,r,a,o,d)})),BBe(jBe(n),"updateSuggestions",(function(e,t,i,r,a,o,s){if(e===n._queryId){n.suggestions=rWe({},n.suggestions,BBe({},t,{queryInfo:{childIndex:t,query:i,querySequenceStart:r,querySequenceEnd:a,plainTextValue:o},results:s}));var l=n.state.focusIndex,u=QGe(n.suggestions);n.setState({suggestions:n.suggestions,focusIndex:l>=u?Math.max(u-1,0):l})}})),BBe(jBe(n),"addMention",(function(e,t){var r=e.id,a=e.display,o=t.childIndex,s=t.querySequenceStart,l=t.querySequenceEnd,u=t.plainTextValue,c=n.props.value||"",d=MGe(n.props.children),h=i.Children.toArray(n.props.children)[o].props,p=h.markup,f=h.displayTransform,m=h.appendSpaceOnAdd,g=h.onAdd,v=LGe(c,d,s,"START"),y=v+l-s,b=function(e,t,n){return e.replace(PGe,t).replace(EGe,n)}(p,r,a);m&&(b+=" ");var O=zGe(c,v,y,b);n.inputElement.focus();var _=f(r,a);m&&(_+=" ");var w=s+_.length;n.setState({selectionStart:w,selectionEnd:w,setSelectionAfterMentionChange:!0});var k={target:{value:O}},x=$Ge(O,d),S=zGe(u,s,l,_);n.executeOnChange(k,O,S,x),g&&g(r,a,v,y),n.clearSuggestions()})),BBe(jBe(n),"isLoading",(function(){var e=!1;return g.default.Children.forEach(n.props.children,(function(t){e=e||t&&t.props.isLoading})),e})),BBe(jBe(n),"isOpened",(function(){return GGe(n.state.selectionStart)&&(0!==QGe(n.state.suggestions)||n.isLoading())})),BBe(jBe(n),"_queryId",0),n.suggestions={},n.uuidSuggestionsOverlay=Math.random().toString(16).substring(2),n.handleCopy=n.handleCopy.bind(jBe(n)),n.handleCut=n.handleCut.bind(jBe(n)),n.handlePaste=n.handlePaste.bind(jBe(n)),n.state={focusIndex:0,selectionStart:null,selectionEnd:null,suggestions:{},caretPosition:null,suggestionsPosition:{}},n}return qBe(t,e),$Be(t,[{key:"componentDidMount",value:function(){document.addEventListener("copy",this.handleCopy),document.addEventListener("cut",this.handleCut),document.addEventListener("paste",this.handlePaste),this.updateSuggestionsPosition()}},{key:"componentDidUpdate",value:function(e,t){t.suggestionsPosition===this.state.suggestionsPosition&&this.updateSuggestionsPosition(),this.state.setSelectionAfterMentionChange&&(this.setState({setSelectionAfterMentionChange:!1}),this.setSelection(this.state.selectionStart,this.state.selectionEnd))}},{key:"componentWillUnmount",value:function(){document.removeEventListener("copy",this.handleCopy),document.removeEventListener("cut",this.handleCut),document.removeEventListener("paste",this.handlePaste)}},{key:"render",value:function(){return g.default.createElement("div",IBe({ref:this.setContainerElement},this.props.style),this.renderControl(),this.renderSuggestionsOverlay())}},{key:"handlePaste",value:function(e){if(e.target===this.inputElement&&this.supportsClipboardActions(e)){e.preventDefault();var t=this.state,n=t.selectionStart,i=t.selectionEnd,r=this.props,a=r.value,o=r.children,s=MGe(o),l=LGe(a,s,n,"START"),u=LGe(a,s,i,"END"),c=e.clipboardData.getData("text/react-mentions"),d=e.clipboardData.getData("text/plain"),h=zGe(a,l,u,c||d).replace(/\r/g,""),p=IGe(h,s),f={target:rWe({},e.target,{value:h})};this.executeOnChange(f,h,p,$Ge(h,s))}}},{key:"saveSelectionToClipboard",value:function(e){var t=this.state,n=t.selectionStart,i=t.selectionEnd,r=this.props,a=r.children,o=r.value,s=MGe(a),l=LGe(o,s,n,"START"),u=LGe(o,s,i,"END");e.clipboardData.setData("text/plain",e.target.value.slice(n,i)),e.clipboardData.setData("text/react-mentions",o.slice(l,u))}},{key:"supportsClipboardActions",value:function(e){return!!e.clipboardData}},{key:"handleCopy",value:function(e){e.target===this.inputElement&&this.supportsClipboardActions(e)&&(e.preventDefault(),this.saveSelectionToClipboard(e))}},{key:"handleCut",value:function(e){if(e.target===this.inputElement&&this.supportsClipboardActions(e)){e.preventDefault(),this.saveSelectionToClipboard(e);var t=this.state,n=t.selectionStart,i=t.selectionEnd,r=this.props,a=r.children,o=r.value,s=MGe(a),l=LGe(o,s,n,"START"),u=LGe(o,s,i,"END"),c=[o.slice(0,l),o.slice(u)].join(""),d=IGe(c,s),h={target:rWe({},e.target,{value:d})};this.executeOnChange(h,c,d,$Ge(o,s))}}}]),t}(g.default.Component);BBe(lWe,"propTypes",sWe),BBe(lWe,"defaultProps",{ignoreAccents:!1,singleLine:!1,allowSuggestionsAboveCursor:!1,onKeyDown:function(){return null},onSelect:function(){return null},onBlur:function(){return null}});var uWe=function(e,t){var n=parseFloat(window.getComputedStyle(e,null).getPropertyValue(t));return isFinite(n)?n:0},cWe=VGe({position:"relative",overflowY:"visible",input:{display:"block",width:"100%",position:"absolute",margin:0,top:0,left:0,boxSizing:"border-box",backgroundColor:"transparent",fontFamily:"inherit",fontSize:"inherit",letterSpacing:"inherit"},"&multiLine":{input:rWe({height:"100%",bottom:0,overflow:"hidden",resize:"none"},"undefined"!=typeof navigator&&/iPhone|iPad|iPod/i.test(navigator.userAgent)?{marginTop:1,marginLeft:-3}:null)}},(function(e){var t=e.singleLine;return{"&singleLine":t,"&multiLine":!t}}))(lWe),dWe={fontWeight:"inherit"},hWe=function(e){var t=e.display,n=e.style,i=e.className,r=e.classNames,a=xGe(dWe,{style:n,className:i,classNames:r});return g.default.createElement("strong",a,t)};hWe.propTypes={onAdd:hH.func,onRemove:hH.func,renderSuggestion:hH.func,trigger:hH.oneOfType([hH.string,hH.instanceOf(RegExp)]),markup:hH.string,displayTransform:hH.func,allowSpaceInQuery:hH.bool,isLoading:hH.bool},hWe.defaultProps={trigger:"@",markup:"@[__display__](__id__)",displayTransform:function(e,t){return t||e},onAdd:function(){return null},onRemove:function(){return null},renderSuggestion:null,isLoading:!1,appendSpaceOnAdd:!1};var pWe=new Map([["avi","video/avi"],["gif","image/gif"],["ico","image/x-icon"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["mkv","video/x-matroska"],["mov","video/quicktime"],["mp4","video/mp4"],["pdf","application/pdf"],["png","image/png"],["zip","application/zip"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"]]);function fWe(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),i=pWe.get(n);i&&Object.defineProperty(e,"type",{value:i,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!=typeof n.path){var i=e.webkitRelativePath;Object.defineProperty(n,"path",{value:"string"==typeof t?t:"string"==typeof i&&i.length>0?i:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}var mWe=[".DS_Store","Thumbs.db"];function gWe(e){return Sa(this,void 0,void 0,(function(){return Pa(this,(function(t){return[2,(n=e,n.dataTransfer&&e.dataTransfer?yWe(e.dataTransfer,e.type):vWe(e))];var n}))}))}function vWe(e){return(null!==e.target&&e.target.files?OWe(e.target.files):[]).map((function(e){return fWe(e)}))}function yWe(e,t){return Sa(this,void 0,void 0,(function(){var n;return Pa(this,(function(i){switch(i.label){case 0:return e.items?(n=OWe(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(_We))]):[3,2];case 1:return[2,bWe(wWe(i.sent()))];case 2:return[2,bWe(OWe(e.files).map((function(e){return fWe(e)})))]}}))}))}function bWe(e){return e.filter((function(e){return-1===mWe.indexOf(e.name)}))}function OWe(e){for(var t=[],n=0;n<e.length;n++){var i=e[n];t.push(i)}return t}function _We(e){if("function"!=typeof e.webkitGetAsEntry)return kWe(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?SWe(t):kWe(e)}function wWe(e){return e.reduce((function(e,t){return Ta(e,Array.isArray(t)?wWe(t):[t])}),[])}function kWe(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var n=fWe(t);return Promise.resolve(n)}function xWe(e){return Sa(this,void 0,void 0,(function(){return Pa(this,(function(t){return[2,e.isDirectory?SWe(e):PWe(e)]}))}))}function SWe(e){var t=e.createReader();return new Promise((function(e,n){var i=[];!function r(){var a=this;t.readEntries((function(t){return Sa(a,void 0,void 0,(function(){var a,o,s;return Pa(this,(function(l){switch(l.label){case 0:if(t.length)return[3,5];l.label=1;case 1:return l.trys.push([1,3,,4]),[4,Promise.all(i)];case 2:return a=l.sent(),e(a),[3,4];case 3:return o=l.sent(),n(o),[3,4];case 4:return[3,6];case 5:s=Promise.all(t.map(xWe)),i.push(s),r(),l.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function PWe(e){return Sa(this,void 0,void 0,(function(){return Pa(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var i=fWe(n,e.fullPath);t(i)}),(function(e){n(e)}))}))]}))}))}function EWe(e,t){return"application/x-moz-file"===e.type||function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),i=e.name||"",r=(e.type||"").toLowerCase(),a=r.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?i.toLowerCase().endsWith(t):t.endsWith("/*")?a===t.replace(/\/.*$/,""):r===t}))}return!0}(e,t)}function FWe(e,t,n){if(CWe(e.size)){if(CWe(t)&&CWe(n))return e.size>=t&&e.size<=n;if(CWe(t))return e.size>=t;if(CWe(n))return e.size<=n}return!0}function CWe(e){return null!=e}function TWe(e,t,n,i){return e.every((function(e){return EWe(e,t)&&FWe(e,n,i)}))}function DWe(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function AWe(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,(function(e){return"Files"===e||"application/x-moz-file"===e})):!!e.target&&!!e.target.files}function IWe(e){e.preventDefault()}function LWe(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function zWe(e){return-1!==e.indexOf("Edge/")}function $We(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return LWe(e)||zWe(e)}function RWe(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];return t.some((function(t){return!DWe(e)&&t&&t.apply(void 0,[e].concat(i)),DWe(e)}))}}function QWe(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function jWe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],i=!0,r=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(i=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);i=!0);}catch(e){r=!0,a=e}finally{try{i||null==s.return||s.return()}finally{if(r)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function MWe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function NWe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?MWe(n,!0).forEach((function(t){UWe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):MWe(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function UWe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qWe(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},a=Object.keys(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var BWe=i.forwardRef((function(e,t){var n=e.children,r=XWe(qWe(e,["children"])),a=r.open,o=qWe(r,["open"]);return i.useImperativeHandle(t,(function(){return{open:a}}),[a]),g.default.createElement(i.Fragment,null,n(NWe({},o,{open:a})))}));BWe.displayName="Dropzone",BWe.propTypes={children:hH.func,accept:hH.oneOfType([hH.string,hH.arrayOf(hH.string)]),multiple:hH.bool,preventDropOnDocument:hH.bool,noClick:hH.bool,noKeyboard:hH.bool,noDrag:hH.bool,noDragEventsBubbling:hH.bool,minSize:hH.number,maxSize:hH.number,disabled:hH.bool,getFilesFromEvent:hH.func,onFileDialogCancel:hH.func,onDragEnter:hH.func,onDragLeave:hH.func,onDragOver:hH.func,onDrop:hH.func,onDropAccepted:hH.func,onDropRejected:hH.func};var GWe,WWe={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],rejectedFiles:[]};function XWe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.accept,n=e.disabled,r=void 0!==n&&n,a=e.getFilesFromEvent,o=void 0===a?gWe:a,s=e.maxSize,l=void 0===s?1/0:s,u=e.minSize,c=void 0===u?0:u,d=e.multiple,h=void 0===d||d,p=e.onDragEnter,f=e.onDragLeave,m=e.onDragOver,g=e.onDrop,v=e.onDropAccepted,y=e.onDropRejected,b=e.onFileDialogCancel,O=e.preventDropOnDocument,_=void 0===O||O,w=e.noClick,k=void 0!==w&&w,x=e.noKeyboard,S=void 0!==x&&x,P=e.noDrag,E=void 0!==P&&P,F=e.noDragEventsBubbling,C=void 0!==F&&F,T=i.useRef(null),D=i.useRef(null),A=i.useReducer(VWe,WWe),I=jWe(A,2),L=I[0],z=I[1],$=L.isFocused,R=L.isFileDialogActive,Q=L.draggedFiles,j=i.useCallback((function(){D.current&&(z({type:"openDialog"}),D.current.value=null,D.current.click())}),[z]),M=function(){R&&setTimeout((function(){D.current&&(D.current.files.length||(z({type:"closeDialog"}),"function"==typeof b&&b()))}),300)};i.useEffect((function(){return window.addEventListener("focus",M,!1),function(){window.removeEventListener("focus",M,!1)}}),[D,R,b]);var N=i.useCallback((function(e){T.current&&T.current.isEqualNode(e.target)&&(32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),j()))}),[T,D]),U=i.useCallback((function(){z({type:"focus"})}),[]),q=i.useCallback((function(){z({type:"blur"})}),[]),B=i.useCallback((function(){k||($We()?setTimeout(j,0):j())}),[D,k]),G=i.useRef([]),W=function(e){T.current&&T.current.contains(e.target)||(e.preventDefault(),G.current=[])};i.useEffect((function(){return _&&(document.addEventListener("dragover",IWe,!1),document.addEventListener("drop",W,!1)),function(){_&&(document.removeEventListener("dragover",IWe),document.removeEventListener("drop",W))}}),[T,_]);var X=i.useCallback((function(e){e.preventDefault(),e.persist(),ee(e),-1===G.current.indexOf(e.target)&&(G.current=[].concat(QWe(G.current),[e.target])),AWe(e)&&Promise.resolve(o(e)).then((function(t){DWe(e)&&!C||(z({draggedFiles:t,isDragActive:!0,type:"setDraggedFiles"}),p&&p(e))}))}),[o,p,C]),V=i.useCallback((function(e){if(e.preventDefault(),e.persist(),ee(e),e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return AWe(e)&&m&&m(e),!1}),[m,C]),Y=i.useCallback((function(e){e.preventDefault(),e.persist(),ee(e);var t=G.current.filter((function(t){return t!==e.target&&T.current&&T.current.contains(t)}));G.current=t,t.length>0||(z({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),AWe(e)&&f&&f(e))}),[T,f,C]),Z=i.useCallback((function(e){e.preventDefault(),e.persist(),ee(e),G.current=[],z({type:"reset"}),AWe(e)&&Promise.resolve(o(e)).then((function(n){if(!DWe(e)||C){var i=[],r=[];n.forEach((function(e){EWe(e,t)&&FWe(e,c,l)?i.push(e):r.push(e)})),!h&&i.length>1&&r.push.apply(r,QWe(i.splice(0))),z({acceptedFiles:i,rejectedFiles:r,type:"setFiles"}),g&&g(i,r,e),r.length>0&&y&&y(r,e),i.length>0&&v&&v(i,e)}}))}),[h,t,c,l,o,g,v,y,C]),H=function(e){return r?null:e},K=function(e){return S?null:H(e)},J=function(e){return E?null:H(e)},ee=function(e){C&&e.stopPropagation()},te=i.useMemo((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,i=e.onKeyDown,a=e.onFocus,o=e.onBlur,s=e.onClick,l=e.onDragEnter,u=e.onDragOver,c=e.onDragLeave,d=e.onDrop,h=qWe(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return NWe(UWe({onKeyDown:K(RWe(i,N)),onFocus:K(RWe(a,U)),onBlur:K(RWe(o,q)),onClick:H(RWe(s,B)),onDragEnter:J(RWe(l,X)),onDragOver:J(RWe(u,V)),onDragLeave:J(RWe(c,Y)),onDrop:J(RWe(d,Z))},n,T),r||S?{}:{tabIndex:0},{},h)}}),[T,N,U,q,B,X,V,Y,Z,S,E,r]),ne=i.useCallback((function(e){e.stopPropagation()}),[]),ie=i.useMemo((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.refKey,i=void 0===n?"ref":n,r=e.onChange,a=e.onClick,o=qWe(e,["refKey","onChange","onClick"]),s=UWe({accept:t,multiple:h,type:"file",style:{display:"none"},onChange:H(RWe(r,Z)),onClick:H(RWe(a,ne)),autoComplete:"off",tabIndex:-1},i,D);return NWe({},s,{},o)}}),[D,t,h,Z,r]),re=Q.length,ae=h||re<=1,oe=re>0&&TWe(Q,t,c,l),se=re>0&&(!oe||!ae);return NWe({},L,{isDragAccept:oe,isDragReject:se,isFocused:$&&!r,getRootProps:te,getInputProps:ie,rootRef:T,inputRef:D,open:H(j)})}function VWe(e,t){switch(t.type){case"focus":return NWe({},e,{isFocused:!0});case"blur":return NWe({},e,{isFocused:!1});case"openDialog":return NWe({},e,{isFileDialogActive:!0});case"closeDialog":return NWe({},e,{isFileDialogActive:!1});case"setDraggedFiles":var n=t.isDragActive;return NWe({},e,{draggedFiles:t.draggedFiles,isDragActive:n});case"setFiles":return NWe({},e,{acceptedFiles:t.acceptedFiles,rejectedFiles:t.rejectedFiles});case"reset":return NWe({},e,{isFileDialogActive:!1,isDragActive:!1,draggedFiles:[]});default:return e}}!function(e){e.BOTH="both",e.MOUSE="mouse",e.TOUCH="touch"}(GWe||(GWe={}));var YWe={exports:{}};!function(e){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={exports:{},id:i,loaded:!1};return e[i].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(2));t.default=i.default,e.exports=t.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};function r(e){return e&&e.__esModule?e:{default:e}}t.default=u;var a=n(3),o=r(n(4)),s=n(14),l=r(n(15));function u(e){var t=e.activeClassName,n=void 0===t?"":t,r=e.activeIndex,o=void 0===r?-1:r,u=e.activeStyle,c=e.autoEscape,d=e.caseSensitive,h=void 0!==d&&d,p=e.className,f=e.findChunks,m=e.highlightClassName,g=void 0===m?"":m,v=e.highlightStyle,y=void 0===v?{}:v,b=e.highlightTag,O=void 0===b?"mark":b,_=e.sanitize,w=e.searchWords,k=e.textToHighlight,x=e.unhighlightClassName,S=void 0===x?"":x,P=e.unhighlightStyle,E=function(e,t){var n={};for(var i in e)t.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n}(e,["activeClassName","activeIndex","activeStyle","autoEscape","caseSensitive","className","findChunks","highlightClassName","highlightStyle","highlightTag","sanitize","searchWords","textToHighlight","unhighlightClassName","unhighlightStyle"]),F=(0,a.findAll)({autoEscape:c,caseSensitive:h,findChunks:f,sanitize:_,searchWords:w,textToHighlight:k}),C=O,T=-1,D="",A=void 0,I=(0,l.default)((function(e){var t={};for(var n in e)t[n.toLowerCase()]=e[n];return t}));return(0,s.createElement)("span",i({className:p},E,{children:F.map((function(e,t){var i=k.substr(e.start,e.end-e.start);if(e.highlight){T++;var r=void 0;r="object"==typeof g?h?g[i]:(g=I(g))[i.toLowerCase()]:g;var a=T===+o;D=r+" "+(a?n:""),A=!0===a&&null!=u?Object.assign({},y,u):y;var l={children:i,className:D,key:t,style:A};return"string"!=typeof C&&(l.highlightIndex=T),(0,s.createElement)(C,l)}return(0,s.createElement)("span",{children:i,className:S,key:t,style:P})}))}))}u.propTypes={activeClassName:o.default.string,activeIndex:o.default.number,activeStyle:o.default.object,autoEscape:o.default.bool,className:o.default.string,findChunks:o.default.func,highlightClassName:o.default.oneOfType([o.default.object,o.default.string]),highlightStyle:o.default.object,highlightTag:o.default.oneOfType([o.default.node,o.default.func,o.default.string]),sanitize:o.default.func,searchWords:o.default.arrayOf(o.default.oneOfType([o.default.string,o.default.instanceOf(RegExp)])).isRequired,textToHighlight:o.default.string.isRequired,unhighlightClassName:o.default.string,unhighlightStyle:o.default.object},e.exports=t.default},function(e,t){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={exports:{},id:i,loaded:!1};return e[i].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var i=n(2);Object.defineProperty(t,"combineChunks",{enumerable:!0,get:function(){return i.combineChunks}}),Object.defineProperty(t,"fillInChunks",{enumerable:!0,get:function(){return i.fillInChunks}}),Object.defineProperty(t,"findAll",{enumerable:!0,get:function(){return i.findAll}}),Object.defineProperty(t,"findChunks",{enumerable:!0,get:function(){return i.findChunks}})},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.findAll=function(e){var t=e.autoEscape,a=e.caseSensitive,o=void 0!==a&&a,s=e.findChunks,l=void 0===s?i:s,u=e.sanitize,c=e.searchWords,d=e.textToHighlight;return r({chunksToHighlight:n({chunks:l({autoEscape:t,caseSensitive:o,sanitize:u,searchWords:c,textToHighlight:d})}),totalLength:d?d.length:0})};var n=t.combineChunks=function(e){var t=e.chunks;return t=t.sort((function(e,t){return e.start-t.start})).reduce((function(e,t){if(0===e.length)return[t];var n=e.pop();if(t.start<=n.end){var i=Math.max(n.end,t.end);e.push({start:n.start,end:i})}else e.push(n,t);return e}),[])},i=function(e){var t=e.autoEscape,n=e.caseSensitive,i=e.sanitize,r=void 0===i?a:i,o=e.searchWords,s=e.textToHighlight;return s=r(s),o.filter((function(e){return e})).reduce((function(e,i){i=r(i),t&&(i=i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"));for(var a=new RegExp(i,n?"g":"gi"),o=void 0;o=a.exec(s);){var l=o.index,u=a.lastIndex;u>l&&e.push({start:l,end:u}),o.index==a.lastIndex&&a.lastIndex++}return e}),[])};t.findChunks=i;var r=t.fillInChunks=function(e){var t=e.chunksToHighlight,n=e.totalLength,i=[],r=function(e,t,n){t-e>0&&i.push({start:e,end:t,highlight:n})};if(0===t.length)r(0,n,!1);else{var a=0;t.forEach((function(e){r(a,e.start,!1),r(e.start,e.end,!0),a=e.end})),r(a,n,!1)}return i};function a(e){return e}}])},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV){var i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;e.exports=n(6)((function(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}),!0)}else e.exports=n(13)()}).call(t,n(5))},function(e,t){var n,i,r=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{i="function"==typeof clearTimeout?clearTimeout:o}catch(e){i=o}}();var l,u=[],c=!1,d=-1;function h(){c&&l&&(c=!1,l.length?u=l.concat(u):d=-1,u.length&&p())}function p(){if(!c){var e=s(h);c=!0;for(var t=u.length;t;){for(l=u,u=[];++d<t;)l&&l[d].run();d=-1,t=u.length}l=null,c=!1,function(e){if(i===clearTimeout)return clearTimeout(e);if((i===o||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{i(e)}catch(t){try{return i.call(null,e)}catch(t){return i.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function m(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new f(e,t)),1!==u.length||c||s(p)},f.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=m,r.addListener=m,r.once=m,r.off=m,r.removeListener=m,r.removeAllListeners=m,r.emit=m,r.prependListener=m,r.prependOnceListener=m,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},function(e,t,n){(function(t){var i=n(7),r=n(8),a=n(9),o=n(10),s=n(11),l=n(12);e.exports=function(e,n){var u="function"==typeof Symbol&&Symbol.iterator;var c="<<anonymous>>",d={array:m("array"),bool:m("boolean"),func:m("function"),number:m("number"),object:m("object"),string:m("string"),symbol:m("symbol"),any:f(i.thatReturnsNull),arrayOf:function(e){return f((function(t,n,i,r,a){if("function"!=typeof e)return new p("Property `"+a+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var o=t[n];if(!Array.isArray(o))return new p("Invalid "+r+" `"+a+"` of type `"+v(o)+"` supplied to `"+i+"`, expected an array.");for(var l=0;l<o.length;l++){var u=e(o,l,i,r,a+"["+l+"]",s);if(u instanceof Error)return u}return null}))},element:f((function(t,n,i,r,a){var o=t[n];return e(o)?null:new p("Invalid "+r+" `"+a+"` of type `"+v(o)+"` supplied to `"+i+"`, expected a single ReactElement.")})),instanceOf:function(e){return f((function(t,n,i,r,a){if(!(t[n]instanceof e)){var o=e.name||c;return new p("Invalid "+r+" `"+a+"` of type `"+(((s=t[n]).constructor&&s.constructor.name?s.constructor.name:c)+"` supplied to `")+i+"`, expected instance of `"+o+"`.")}var s;return null}))},node:f((function(e,t,n,i,r){return g(e[t])?null:new p("Invalid "+i+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return f((function(t,n,i,r,a){if("function"!=typeof e)return new p("Property `"+a+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var o=t[n],l=v(o);if("object"!==l)return new p("Invalid "+r+" `"+a+"` of type `"+l+"` supplied to `"+i+"`, expected an object.");for(var u in o)if(o.hasOwnProperty(u)){var c=e(o,u,i,r,a+"."+u,s);if(c instanceof Error)return c}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==t.env.NODE_ENV&&a(!1,"Invalid argument supplied to oneOf, expected an instance of array."),i.thatReturnsNull;return f((function(t,n,i,r,a){for(var o=t[n],s=0;s<e.length;s++)if(h(o,e[s]))return null;return new p("Invalid "+r+" `"+a+"` of value `"+o+"` supplied to `"+i+"`, expected one of "+JSON.stringify(e)+".")}))},oneOfType:function(e){if(!Array.isArray(e))return"production"!==t.env.NODE_ENV&&a(!1,"Invalid argument supplied to oneOfType, expected an instance of array."),i.thatReturnsNull;for(var n=0;n<e.length;n++){var r=e[n];if("function"!=typeof r)return a(!1,"Invalid argument supplied to oneOfType. Expected an array of check functions, but received %s at index %s.",b(r),n),i.thatReturnsNull}return f((function(t,n,i,r,a){for(var o=0;o<e.length;o++)if(null==(0,e[o])(t,n,i,r,a,s))return null;return new p("Invalid "+r+" `"+a+"` supplied to `"+i+"`.")}))},shape:function(e){return f((function(t,n,i,r,a){var o=t[n],l=v(o);if("object"!==l)return new p("Invalid "+r+" `"+a+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");for(var u in e){var c=e[u];if(c){var d=c(o,u,i,r,a+"."+u,s);if(d)return d}}return null}))},exact:function(e){return f((function(t,n,i,r,a){var l=t[n],u=v(l);if("object"!==u)return new p("Invalid "+r+" `"+a+"` of type `"+u+"` supplied to `"+i+"`, expected `object`.");var c=o({},t[n],e);for(var d in c){var h=e[d];if(!h)return new p("Invalid "+r+" `"+a+"` key `"+d+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var f=h(l,d,i,r,a+"."+d,s);if(f)return f}return null}))}};function h(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function p(e){this.message=e,this.stack=""}function f(e){if("production"!==t.env.NODE_ENV)var i={},o=0;function l(l,u,d,h,f,m,g){if(h=h||c,m=m||d,g!==s)if(n)r(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");else if("production"!==t.env.NODE_ENV&&"undefined"!=typeof console){var v=h+":"+d;!i[v]&&o<3&&(a(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",m,h),i[v]=!0,o++)}return null==u[d]?l?null===u[d]?new p("The "+f+" `"+m+"` is marked as required in `"+h+"`, but its value is `null`."):new p("The "+f+" `"+m+"` is marked as required in `"+h+"`, but its value is `undefined`."):null:e(u,d,h,f,m)}var u=l.bind(null,!1);return u.isRequired=l.bind(null,!0),u}function m(e){return f((function(t,n,i,r,a,o){var s=t[n];return v(s)!==e?new p("Invalid "+r+" `"+a+"` of type `"+y(s)+"` supplied to `"+i+"`, expected `"+e+"`."):null}))}function g(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(g);if(null===t||e(t))return!0;var n=function(e){var t=e&&(u&&e[u]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!n)return!1;var i,r=n.call(t);if(n!==t.entries){for(;!(i=r.next()).done;)if(!g(i.value))return!1}else for(;!(i=r.next()).done;){var a=i.value;if(a&&!g(a[1]))return!1}return!0;default:return!1}}function v(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||"Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol}(t,e)?"symbol":t}function y(e){if(null==e)return""+e;var t=v(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function b(e){var t=y(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return p.prototype=Error.prototype,d.checkPropTypes=l,d.PropTypes=d,d}}).call(t,n(5))},function(e,t){function n(e){return function(){return e}}var i=function(){};i.thatReturns=n,i.thatReturnsFalse=n(!1),i.thatReturnsTrue=n(!0),i.thatReturnsNull=n(null),i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(e){return e},e.exports=i},function(e,t,n){(function(t){var n=function(e){};"production"!==t.env.NODE_ENV&&(n=function(e){if(void 0===e)throw new Error("invariant requires an error message argument")}),e.exports=function(e,t,i,r,a,o,s,l){if(n(t),!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[i,r,a,o,s,l],d=0;(u=new Error(t.replace(/%s/g,(function(){return c[d++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}}).call(t,n(5))},function(e,t,n){(function(t){var i=n(7);if("production"!==t.env.NODE_ENV){var r=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var r=0,a="Warning: "+e.replace(/%s/g,(function(){return n[r++]}));"undefined"!=typeof console&&console.error(a);try{throw new Error(a)}catch(e){}};i=function(e,t){if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==t.indexOf("Failed Composite propType: ")&&!e){for(var n=arguments.length,i=Array(n>2?n-2:0),a=2;a<n;a++)i[a-2]=arguments[a];r.apply(void 0,[t].concat(i))}}}e.exports=i}).call(t,n(5))},function(e,t){var n=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}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;var i=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==i.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,t){for(var o,s,l=a(e),u=1;u<arguments.length;u++){for(var c in o=Object(arguments[u]))i.call(o,c)&&(l[c]=o[c]);if(n){s=n(o);for(var d=0;d<s.length;d++)r.call(o,s[d])&&(l[s[d]]=o[s[d]])}}return l}},function(e,t){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV)var i=n(8),r=n(9),a=n(11),o={};e.exports=function(e,n,s,l,u){if("production"!==t.env.NODE_ENV)for(var c in e)if(e.hasOwnProperty(c)){var d;try{i("function"==typeof e[c],"%s: %s type `%s` is invalid; it must be a function, usually from the `prop-types` package, but received `%s`.",l||"React class",s,c,typeof e[c]),d=e[c](n,c,l,s,null,a)}catch(e){d=e}if(r(!d||d instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",l||"React class",s,c,typeof d),d instanceof Error&&!(d.message in o)){o[d.message]=!0;var h=u?u():"";r(!1,"Failed %s type: %s%s",s,d.message,null!=h?h:"")}}}}).call(t,n(5))},function(e,t,n){var i=n(7),r=n(8),a=n(11);e.exports=function(){function e(e,t,n,i,o,s){s!==a&&r(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=i,n.PropTypes=n,n}},function(e,t){e.exports=g.default},function(e,t){var n=function(e,t){return e===t};e.exports=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,i=void 0,r=[],a=void 0,o=!1,s=function(e,n){return t(e,r[n])},l=function(){for(var t=arguments.length,n=Array(t),l=0;l<t;l++)n[l]=arguments[l];return o&&i===this&&n.length===r.length&&n.every(s)?a:(o=!0,i=this,r=n,a=e.apply(this,n))};return l}}])}(YWe);var ZWe=S(YWe.exports),HWe={exports:{}};!function(e,t){e.exports=function(){var e=Array.prototype.slice;function t(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function n(e){return o(e)?e:X(e)}function i(e){return s(e)?e:V(e)}function r(e){return l(e)?e:Y(e)}function a(e){return o(e)&&!u(e)?e:Z(e)}function o(e){return!(!e||!e[d])}function s(e){return!(!e||!e[h])}function l(e){return!(!e||!e[p])}function u(e){return s(e)||l(e)}function c(e){return!(!e||!e[f])}t(i,n),t(r,n),t(a,n),n.isIterable=o,n.isKeyed=s,n.isIndexed=l,n.isAssociative=u,n.isOrdered=c,n.Keyed=i,n.Indexed=r,n.Set=a;var d="@@__IMMUTABLE_ITERABLE__@@",h="@@__IMMUTABLE_KEYED__@@",p="@@__IMMUTABLE_INDEXED__@@",f="@@__IMMUTABLE_ORDERED__@@",m="delete",g=5,v=1<<g,y=v-1,b={},O={value:!1},_={value:!1};function w(e){return e.value=!1,e}function k(e){e&&(e.value=!0)}function x(){}function S(e,t){t=t||0;for(var n=Math.max(0,e.length-t),i=new Array(n),r=0;r<n;r++)i[r]=e[r+t];return i}function P(e){return void 0===e.size&&(e.size=e.__iterate(F)),e.size}function E(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?P(e)+t:t}function F(){return!0}function C(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function T(e,t){return A(e,t,0)}function D(e,t){return A(e,t,t)}function A(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var I=0,L=1,z=2,$="function"==typeof Symbol&&Symbol.iterator,R="@@iterator",Q=$||R;function j(e){this.next=e}function M(e,t,n,i){var r=0===e?t:1===e?n:[t,n];return i?i.value=r:i={value:r,done:!1},i}function N(){return{value:void 0,done:!0}}function U(e){return!!G(e)}function q(e){return e&&"function"==typeof e.next}function B(e){var t=G(e);return t&&t.call(e)}function G(e){var t=e&&($&&e[$]||e[R]);if("function"==typeof t)return t}function W(e){return e&&"number"==typeof e.length}function X(e){return null==e?oe():o(e)?e.toSeq():ue(e)}function V(e){return null==e?oe().toKeyedSeq():o(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function Y(e){return null==e?oe():o(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function Z(e){return(null==e?oe():o(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}j.prototype.toString=function(){return"[Iterator]"},j.KEYS=I,j.VALUES=L,j.ENTRIES=z,j.prototype.inspect=j.prototype.toSource=function(){return this.toString()},j.prototype[Q]=function(){return this},t(X,n),X.of=function(){return X(arguments)},X.prototype.toSeq=function(){return this},X.prototype.toString=function(){return this.__toString("Seq {","}")},X.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},X.prototype.__iterate=function(e,t){return de(this,e,t,!0)},X.prototype.__iterator=function(e,t){return he(this,e,t,!0)},t(V,X),V.prototype.toKeyedSeq=function(){return this},t(Y,X),Y.of=function(){return Y(arguments)},Y.prototype.toIndexedSeq=function(){return this},Y.prototype.toString=function(){return this.__toString("Seq [","]")},Y.prototype.__iterate=function(e,t){return de(this,e,t,!1)},Y.prototype.__iterator=function(e,t){return he(this,e,t,!1)},t(Z,X),Z.of=function(){return Z(arguments)},Z.prototype.toSetSeq=function(){return this},X.isSeq=ae,X.Keyed=V,X.Set=Z,X.Indexed=Y;var H,K,J,ee="@@__IMMUTABLE_SEQ__@@";function te(e){this._array=e,this.size=e.length}function ne(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function ie(e){this._iterable=e,this.size=e.length||e.size}function re(e){this._iterator=e,this._iteratorCache=[]}function ae(e){return!(!e||!e[ee])}function oe(){return H||(H=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():q(e)?new re(e).fromEntrySeq():U(e)?new ie(e).fromEntrySeq():"object"==typeof e?new ne(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function le(e){var t=ce(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ue(e){var t=ce(e)||"object"==typeof e&&new ne(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function ce(e){return W(e)?new te(e):q(e)?new re(e):U(e)?new ie(e):void 0}function de(e,t,n,i){var r=e._cache;if(r){for(var a=r.length-1,o=0;o<=a;o++){var s=r[n?a-o:o];if(!1===t(s[1],i?s[0]:o,e))return o+1}return o}return e.__iterateUncached(t,n)}function he(e,t,n,i){var r=e._cache;if(r){var a=r.length-1,o=0;return new j((function(){var e=r[n?a-o:o];return o++>a?N():M(t,i?e[0]:o-1,e[1])}))}return e.__iteratorUncached(t,n)}function pe(e,t){return t?fe(t,e,"",{"":e}):me(e)}function fe(e,t,n,i){return Array.isArray(t)?e.call(i,n,Y(t).map((function(n,i){return fe(e,n,i,t)}))):ge(t)?e.call(i,n,V(t).map((function(n,i){return fe(e,n,i,t)}))):t}function me(e){return Array.isArray(e)?Y(e).map(me).toList():ge(e)?V(e).map(me).toMap():e}function ge(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ve(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function ye(e,t){if(e===t)return!0;if(!o(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||s(e)!==s(t)||l(e)!==l(t)||c(e)!==c(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!u(e);if(c(e)){var i=e.entries();return t.every((function(e,t){var r=i.next().value;return r&&ve(r[1],e)&&(n||ve(r[0],t))}))&&i.next().done}var r=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{r=!0;var a=e;e=t,t=a}var d=!0,h=t.__iterate((function(t,i){if(n?!e.has(t):r?!ve(t,e.get(i,b)):!ve(e.get(i,b),t))return d=!1,!1}));return d&&e.size===h}function be(e,t){if(!(this instanceof be))return new be(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(K)return K;K=this}}function Oe(e,t){if(!e)throw new Error(t)}function _e(e,t,n){if(!(this instanceof _e))return new _e(e,t,n);if(Oe(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),t<e&&(n=-n),this._start=e,this._end=t,this._step=n,this.size=Math.max(0,Math.ceil((t-e)/n-1)+1),0===this.size){if(J)return J;J=this}}function we(){throw TypeError("Abstract")}function ke(){}function xe(){}function Se(){}X.prototype[ee]=!0,t(te,Y),te.prototype.get=function(e,t){return this.has(e)?this._array[E(this,e)]:t},te.prototype.__iterate=function(e,t){for(var n=this._array,i=n.length-1,r=0;r<=i;r++)if(!1===e(n[t?i-r:r],r,this))return r+1;return r},te.prototype.__iterator=function(e,t){var n=this._array,i=n.length-1,r=0;return new j((function(){return r>i?N():M(e,r,n[t?i-r++:r++])}))},t(ne,V),ne.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},ne.prototype.has=function(e){return this._object.hasOwnProperty(e)},ne.prototype.__iterate=function(e,t){for(var n=this._object,i=this._keys,r=i.length-1,a=0;a<=r;a++){var o=i[t?r-a:a];if(!1===e(n[o],o,this))return a+1}return a},ne.prototype.__iterator=function(e,t){var n=this._object,i=this._keys,r=i.length-1,a=0;return new j((function(){var o=i[t?r-a:a];return a++>r?N():M(e,o,n[o])}))},ne.prototype[f]=!0,t(ie,Y),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=B(this._iterable),i=0;if(q(n))for(var r;!(r=n.next()).done&&!1!==e(r.value,i++,this););return i},ie.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=B(this._iterable);if(!q(n))return new j(N);var i=0;return new j((function(){var t=n.next();return t.done?t:M(e,i++,t.value)}))},t(re,Y),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,i=this._iterator,r=this._iteratorCache,a=0;a<r.length;)if(!1===e(r[a],a++,this))return a;for(;!(n=i.next()).done;){var o=n.value;if(r[a]=o,!1===e(o,a++,this))break}return a},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,i=this._iteratorCache,r=0;return new j((function(){if(r>=i.length){var t=n.next();if(t.done)return t;i[r]=t.value}return M(e,r,i[r++])}))},t(be,Y),be.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},be.prototype.get=function(e,t){return this.has(e)?this._value:t},be.prototype.includes=function(e){return ve(this._value,e)},be.prototype.slice=function(e,t){var n=this.size;return C(e,t,n)?this:new be(this._value,D(t,n)-T(e,n))},be.prototype.reverse=function(){return this},be.prototype.indexOf=function(e){return ve(this._value,e)?0:-1},be.prototype.lastIndexOf=function(e){return ve(this._value,e)?this.size:-1},be.prototype.__iterate=function(e,t){for(var n=0;n<this.size;n++)if(!1===e(this._value,n,this))return n+1;return n},be.prototype.__iterator=function(e,t){var n=this,i=0;return new j((function(){return i<n.size?M(e,i++,n._value):N()}))},be.prototype.equals=function(e){return e instanceof be?ve(this._value,e._value):ye(e)},t(_e,Y),_e.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},_e.prototype.get=function(e,t){return this.has(e)?this._start+E(this,e)*this._step:t},_e.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},_e.prototype.slice=function(e,t){return C(e,t,this.size)?this:(e=T(e,this.size),(t=D(t,this.size))<=e?new _e(0,0):new _e(this.get(e,this._end),this.get(t,this._end),this._step))},_e.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},_e.prototype.lastIndexOf=function(e){return this.indexOf(e)},_e.prototype.__iterate=function(e,t){for(var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,a=0;a<=n;a++){if(!1===e(r,a,this))return a+1;r+=t?-i:i}return a},_e.prototype.__iterator=function(e,t){var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,a=0;return new j((function(){var o=r;return r+=t?-i:i,a>n?N():M(e,a++,o)}))},_e.prototype.equals=function(e){return e instanceof _e?this._start===e._start&&this._end===e._end&&this._step===e._step:ye(this,e)},t(we,n),t(ke,we),t(xe,we),t(Se,we),we.Keyed=ke,we.Indexed=xe,we.Set=Se;var Pe="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),i=65535&(t|=0);return n*i+((e>>>16)*i+n*(t>>>16)<<16>>>0)|0};function Ee(e){return e>>>1&1073741824|3221225471&e}function Fe(e){if(!1===e||null==e)return 0;if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null==e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)n^=e/=4294967295;return Ee(n)}if("string"===t)return e.length>je?Ce(e):Te(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return De(e);if("function"==typeof e.toString)return Te(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Ce(e){var t=Ue[e];return void 0===t&&(t=Te(e),Ne===Me&&(Ne=0,Ue={}),Ne++,Ue[e]=t),t}function Te(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Ee(t)}function De(e){var t;if($e&&void 0!==(t=ze.get(e)))return t;if(void 0!==(t=e[Qe]))return t;if(!Ie){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Qe]))return t;if(void 0!==(t=Le(e)))return t}if(t=++Re,1073741824&Re&&(Re=0),$e)ze.set(e,t);else{if(void 0!==Ae&&!1===Ae(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Ie)Object.defineProperty(e,Qe,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[Qe]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Qe]=t}}return t}var Ae=Object.isExtensible,Ie=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function Le(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var ze,$e="function"==typeof WeakMap;$e&&(ze=new WeakMap);var Re=0,Qe="__immutablehash__";"function"==typeof Symbol&&(Qe=Symbol(Qe));var je=16,Me=255,Ne=0,Ue={};function qe(e){Oe(e!==1/0,"Cannot perform this action with an infinite size.")}function Be(e){return null==e?rt():Ge(e)&&!c(e)?e:rt().withMutations((function(t){var n=i(e);qe(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Ge(e){return!(!e||!e[Xe])}t(Be,ke),Be.prototype.toString=function(){return this.__toString("Map {","}")},Be.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},Be.prototype.set=function(e,t){return at(this,e,t)},Be.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},Be.prototype.remove=function(e){return at(this,e,b)},Be.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},Be.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},Be.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var i=gt(this,wn(e),t,n);return i===b?void 0:i},Be.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):rt()},Be.prototype.merge=function(){return ht(this,void 0,arguments)},Be.prototype.mergeWith=function(t){return ht(this,t,e.call(arguments,1))},Be.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,rt(),(function(e){return"function"==typeof e.merge?e.merge.apply(e,n):n[n.length-1]}))},Be.prototype.mergeDeep=function(){return ht(this,pt,arguments)},Be.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return ht(this,ft(t),n)},Be.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,rt(),(function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]}))},Be.prototype.sort=function(e){return Ut(dn(this,e))},Be.prototype.sortBy=function(e,t){return Ut(dn(this,t,e))},Be.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},Be.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new x)},Be.prototype.asImmutable=function(){return this.__ensureOwner()},Be.prototype.wasAltered=function(){return this.__altered},Be.prototype.__iterator=function(e,t){return new et(this,e,t)},Be.prototype.__iterate=function(e,t){var n=this,i=0;return this._root&&this._root.iterate((function(t){return i++,e(t[1],t[0],n)}),t),i},Be.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?it(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Be.isMap=Ge;var We,Xe="@@__IMMUTABLE_MAP__@@",Ve=Be.prototype;function Ye(e,t){this.ownerID=e,this.entries=t}function Ze(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function He(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function Ke(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function Je(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function et(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&nt(e._root)}function tt(e,t){return M(e,t[0],t[1])}function nt(e,t){return{node:e,index:0,__prev:t}}function it(e,t,n,i){var r=Object.create(Ve);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function rt(){return We||(We=it(0))}function at(e,t,n){var i,r;if(e._root){var a=w(O),o=w(_);if(i=ot(e._root,e.__ownerID,0,void 0,t,n,a,o),!o.value)return e;r=e.size+(a.value?n===b?-1:1:0)}else{if(n===b)return e;r=1,i=new Ye(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=r,e._root=i,e.__hash=void 0,e.__altered=!0,e):i?it(r,i):rt()}function ot(e,t,n,i,r,a,o,s){return e?e.update(t,n,i,r,a,o,s):a===b?e:(k(s),k(o),new Je(t,i,[r,a]))}function st(e){return e.constructor===Je||e.constructor===Ke}function lt(e,t,n,i,r){if(e.keyHash===i)return new Ke(t,i,[e.entry,r]);var a,o=(0===n?e.keyHash:e.keyHash>>>n)&y,s=(0===n?i:i>>>n)&y;return new Ze(t,1<<o|1<<s,o===s?[lt(e,t,n+g,i,r)]:(a=new Je(t,i,r),o<s?[e,a]:[a,e]))}function ut(e,t,n,i){e||(e=new x);for(var r=new Je(e,Fe(n),[n,i]),a=0;a<t.length;a++){var o=t[a];r=r.update(e,0,void 0,o[0],o[1])}return r}function ct(e,t,n,i){for(var r=0,a=0,o=new Array(n),s=0,l=1,u=t.length;s<u;s++,l<<=1){var c=t[s];void 0!==c&&s!==i&&(r|=l,o[a++]=c)}return new Ze(e,r,o)}function dt(e,t,n,i,r){for(var a=0,o=new Array(v),s=0;0!==n;s++,n>>>=1)o[s]=1&n?t[a++]:void 0;return o[i]=r,new He(e,a+1,o)}function ht(e,t,n){for(var r=[],a=0;a<n.length;a++){var s=n[a],l=i(s);o(s)||(l=l.map((function(e){return pe(e)}))),r.push(l)}return mt(e,t,r)}function pt(e,t,n){return e&&e.mergeDeep&&o(t)?e.mergeDeep(t):ve(e,t)?e:t}function ft(e){return function(t,n,i){if(t&&t.mergeDeepWith&&o(n))return t.mergeDeepWith(e,n);var r=e(t,n,i);return ve(t,r)?t:r}}function mt(e,t,n){return n=n.filter((function(e){return 0!==e.size})),0===n.length?e:0!==e.size||e.__ownerID||1!==n.length?e.withMutations((function(e){for(var i=t?function(n,i){e.update(i,b,(function(e){return e===b?n:t(e,n,i)}))}:function(t,n){e.set(n,t)},r=0;r<n.length;r++)n[r].forEach(i)})):e.constructor(n[0])}function gt(e,t,n,i){var r=e===b,a=t.next();if(a.done){var o=r?n:e,s=i(o);return s===o?e:s}Oe(r||e&&e.set,"invalid keyPath");var l=a.value,u=r?b:e.get(l,b),c=gt(u,t,n,i);return c===u?e:c===b?e.remove(l):(r?rt():e).set(l,c)}function vt(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function yt(e,t,n,i){var r=i?e:S(e);return r[t]=n,r}function bt(e,t,n,i){var r=e.length+1;if(i&&t+1===r)return e[t]=n,e;for(var a=new Array(r),o=0,s=0;s<r;s++)s===t?(a[s]=n,o=-1):a[s]=e[s+o];return a}function Ot(e,t,n){var i=e.length-1;if(n&&t===i)return e.pop(),e;for(var r=new Array(i),a=0,o=0;o<i;o++)o===t&&(a=1),r[o]=e[o+a];return r}Ve[Xe]=!0,Ve[m]=Ve.remove,Ve.removeIn=Ve.deleteIn,Ye.prototype.get=function(e,t,n,i){for(var r=this.entries,a=0,o=r.length;a<o;a++)if(ve(n,r[a][0]))return r[a][1];return i},Ye.prototype.update=function(e,t,n,i,r,a,o){for(var s=r===b,l=this.entries,u=0,c=l.length;u<c&&!ve(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(k(o),(s||!d)&&k(a),!s||1!==l.length){if(!d&&!s&&l.length>=_t)return ut(e,l,i,r);var h=e&&e===this.ownerID,p=h?l:S(l);return d?s?u===c-1?p.pop():p[u]=p.pop():p[u]=[i,r]:p.push([i,r]),h?(this.entries=p,this):new Ye(e,p)}},Ze.prototype.get=function(e,t,n,i){void 0===t&&(t=Fe(n));var r=1<<((0===e?t:t>>>e)&y),a=this.bitmap;return 0==(a&r)?i:this.nodes[vt(a&r-1)].get(e+g,t,n,i)},Ze.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=Fe(i));var s=(0===t?n:n>>>t)&y,l=1<<s,u=this.bitmap,c=0!=(u&l);if(!c&&r===b)return this;var d=vt(u&l-1),h=this.nodes,p=c?h[d]:void 0,f=ot(p,e,t+g,n,i,r,a,o);if(f===p)return this;if(!c&&f&&h.length>=wt)return dt(e,h,u,s,f);if(c&&!f&&2===h.length&&st(h[1^d]))return h[1^d];if(c&&f&&1===h.length&&st(f))return f;var m=e&&e===this.ownerID,v=c?f?u:u^l:u|l,O=c?f?yt(h,d,f,m):Ot(h,d,m):bt(h,d,f,m);return m?(this.bitmap=v,this.nodes=O,this):new Ze(e,v,O)},He.prototype.get=function(e,t,n,i){void 0===t&&(t=Fe(n));var r=(0===e?t:t>>>e)&y,a=this.nodes[r];return a?a.get(e+g,t,n,i):i},He.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=Fe(i));var s=(0===t?n:n>>>t)&y,l=r===b,u=this.nodes,c=u[s];if(l&&!c)return this;var d=ot(c,e,t+g,n,i,r,a,o);if(d===c)return this;var h=this.count;if(c){if(!d&&--h<kt)return ct(e,u,h,s)}else h++;var p=e&&e===this.ownerID,f=yt(u,s,d,p);return p?(this.count=h,this.nodes=f,this):new He(e,h,f)},Ke.prototype.get=function(e,t,n,i){for(var r=this.entries,a=0,o=r.length;a<o;a++)if(ve(n,r[a][0]))return r[a][1];return i},Ke.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=Fe(i));var s=r===b;if(n!==this.keyHash)return s?this:(k(o),k(a),lt(this,e,t,n,[i,r]));for(var l=this.entries,u=0,c=l.length;u<c&&!ve(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(k(o),(s||!d)&&k(a),s&&2===c)return new Je(e,this.keyHash,l[1^u]);var h=e&&e===this.ownerID,p=h?l:S(l);return d?s?u===c-1?p.pop():p[u]=p.pop():p[u]=[i,r]:p.push([i,r]),h?(this.entries=p,this):new Ke(e,this.keyHash,p)},Je.prototype.get=function(e,t,n,i){return ve(n,this.entry[0])?this.entry[1]:i},Je.prototype.update=function(e,t,n,i,r,a,o){var s=r===b,l=ve(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(k(o),s?void k(a):l?e&&e===this.ownerID?(this.entry[1]=r,this):new Je(e,this.keyHash,[i,r]):(k(a),lt(this,e,t,Fe(i),[i,r])))},Ye.prototype.iterate=Ke.prototype.iterate=function(e,t){for(var n=this.entries,i=0,r=n.length-1;i<=r;i++)if(!1===e(n[t?r-i:i]))return!1},Ze.prototype.iterate=He.prototype.iterate=function(e,t){for(var n=this.nodes,i=0,r=n.length-1;i<=r;i++){var a=n[t?r-i:i];if(a&&!1===a.iterate(e,t))return!1}},Je.prototype.iterate=function(e,t){return e(this.entry)},t(et,j),et.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var n,i=t.node,r=t.index++;if(i.entry){if(0===r)return tt(e,i.entry)}else if(i.entries){if(r<=(n=i.entries.length-1))return tt(e,i.entries[this._reverse?n-r:r])}else if(r<=(n=i.nodes.length-1)){var a=i.nodes[this._reverse?n-r:r];if(a){if(a.entry)return tt(e,a.entry);t=this._stack=nt(a,t)}continue}t=this._stack=this._stack.__prev}return N()};var _t=v/4,wt=v/2,kt=v/4;function xt(e){var t=Lt();if(null==e)return t;if(St(e))return e;var n=r(e),i=n.size;return 0===i?t:(qe(i),i>0&&i<v?It(0,i,g,null,new Ft(n.toArray())):t.withMutations((function(e){e.setSize(i),n.forEach((function(t,n){return e.set(n,t)}))})))}function St(e){return!(!e||!e[Pt])}t(xt,xe),xt.of=function(){return this(arguments)},xt.prototype.toString=function(){return this.__toString("List [","]")},xt.prototype.get=function(e,t){if((e=E(this,e))>=0&&e<this.size){var n=Qt(this,e+=this._origin);return n&&n.array[e&y]}return t},xt.prototype.set=function(e,t){return zt(this,e,t)},xt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},xt.prototype.insert=function(e,t){return this.splice(e,0,t)},xt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=g,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Lt()},xt.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){jt(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},xt.prototype.pop=function(){return jt(this,0,-1)},xt.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){jt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},xt.prototype.shift=function(){return jt(this,1)},xt.prototype.merge=function(){return Mt(this,void 0,arguments)},xt.prototype.mergeWith=function(t){return Mt(this,t,e.call(arguments,1))},xt.prototype.mergeDeep=function(){return Mt(this,pt,arguments)},xt.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Mt(this,ft(t),n)},xt.prototype.setSize=function(e){return jt(this,0,e)},xt.prototype.slice=function(e,t){var n=this.size;return C(e,t,n)?this:jt(this,T(e,n),D(t,n))},xt.prototype.__iterator=function(e,t){var n=0,i=At(this,t);return new j((function(){var t=i();return t===Dt?N():M(e,n++,t)}))},xt.prototype.__iterate=function(e,t){for(var n,i=0,r=At(this,t);(n=r())!==Dt&&!1!==e(n,i++,this););return i},xt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?It(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},xt.isList=St;var Pt="@@__IMMUTABLE_LIST__@@",Et=xt.prototype;function Ft(e,t){this.array=e,this.ownerID=t}Et[Pt]=!0,Et[m]=Et.remove,Et.setIn=Ve.setIn,Et.deleteIn=Et.removeIn=Ve.removeIn,Et.update=Ve.update,Et.updateIn=Ve.updateIn,Et.mergeIn=Ve.mergeIn,Et.mergeDeepIn=Ve.mergeDeepIn,Et.withMutations=Ve.withMutations,Et.asMutable=Ve.asMutable,Et.asImmutable=Ve.asImmutable,Et.wasAltered=Ve.wasAltered,Ft.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var i=n>>>t&y;if(i>=this.array.length)return new Ft([],e);var r,a=0===i;if(t>0){var o=this.array[i];if((r=o&&o.removeBefore(e,t-g,n))===o&&a)return this}if(a&&!r)return this;var s=Rt(this,e);if(!a)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},Ft.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var i,r=n-1>>>t&y;if(r>=this.array.length)return this;if(t>0){var a=this.array[r];if((i=a&&a.removeAfter(e,t-g,n))===a&&r===this.array.length-1)return this}var o=Rt(this,e);return o.array.splice(r+1),i&&(o.array[r]=i),o};var Ct,Tt,Dt={};function At(e,t){var n=e._origin,i=e._capacity,r=Nt(i),a=e._tail;return o(e._root,e._level,0);function o(e,t,n){return 0===t?s(e,n):l(e,t,n)}function s(e,o){var s=o===r?a&&a.array:e&&e.array,l=o>n?0:n-o,u=i-o;return u>v&&(u=v),function(){if(l===u)return Dt;var e=t?--u:l++;return s&&s[e]}}function l(e,r,a){var s,l=e&&e.array,u=a>n?0:n-a>>r,c=1+(i-a>>r);return c>v&&(c=v),function(){for(;;){if(s){var e=s();if(e!==Dt)return e;s=null}if(u===c)return Dt;var n=t?--c:u++;s=o(l&&l[n],r-g,a+(n<<r))}}}}function It(e,t,n,i,r,a,o){var s=Object.create(Et);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=i,s._tail=r,s.__ownerID=a,s.__hash=o,s.__altered=!1,s}function Lt(){return Ct||(Ct=It(0,0,g))}function zt(e,t,n){if((t=E(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?jt(e,t).set(0,n):jt(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,a=w(_);return t>=Nt(e._capacity)?i=$t(i,e.__ownerID,0,t,n,a):r=$t(r,e.__ownerID,e._level,t,n,a),a.value?e.__ownerID?(e._root=r,e._tail=i,e.__hash=void 0,e.__altered=!0,e):It(e._origin,e._capacity,e._level,r,i):e}function $t(e,t,n,i,r,a){var o,s=i>>>n&y,l=e&&s<e.array.length;if(!l&&void 0===r)return e;if(n>0){var u=e&&e.array[s],c=$t(u,t,n-g,i,r,a);return c===u?e:((o=Rt(e,t)).array[s]=c,o)}return l&&e.array[s]===r?e:(k(a),o=Rt(e,t),void 0===r&&s===o.array.length-1?o.array.pop():o.array[s]=r,o)}function Rt(e,t){return t&&e&&t===e.ownerID?e:new Ft(e?e.array.slice():[],t)}function Qt(e,t){if(t>=Nt(e._capacity))return e._tail;if(t<1<<e._level+g){for(var n=e._root,i=e._level;n&&i>0;)n=n.array[t>>>i&y],i-=g;return n}}function jt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new x,r=e._origin,a=e._capacity,o=r+t,s=void 0===n?a:n<0?a+n:r+n;if(o===r&&s===a)return e;if(o>=s)return e.clear();for(var l=e._level,u=e._root,c=0;o+c<0;)u=new Ft(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=g);c&&(o+=c,r+=c,s+=c,a+=c);for(var d=Nt(a),h=Nt(s);h>=1<<l+g;)u=new Ft(u&&u.array.length?[u]:[],i),l+=g;var p=e._tail,f=h<d?Qt(e,s-1):h>d?new Ft([],i):p;if(p&&h>d&&o<a&&p.array.length){for(var m=u=Rt(u,i),v=l;v>g;v-=g){var b=d>>>v&y;m=m.array[b]=Rt(m.array[b],i)}m.array[d>>>g&y]=p}if(s<a&&(f=f&&f.removeAfter(i,0,s)),o>=h)o-=h,s-=h,l=g,u=null,f=f&&f.removeBefore(i,0,o);else if(o>r||h<d){for(c=0;u;){var O=o>>>l&y;if(O!==h>>>l&y)break;O&&(c+=(1<<l)*O),l-=g,u=u.array[O]}u&&o>r&&(u=u.removeBefore(i,l,o-c)),u&&h<d&&(u=u.removeAfter(i,l,h-c)),c&&(o-=c,s-=c)}return e.__ownerID?(e.size=s-o,e._origin=o,e._capacity=s,e._level=l,e._root=u,e._tail=f,e.__hash=void 0,e.__altered=!0,e):It(o,s,l,u,f)}function Mt(e,t,n){for(var i=[],a=0,s=0;s<n.length;s++){var l=n[s],u=r(l);u.size>a&&(a=u.size),o(l)||(u=u.map((function(e){return pe(e)}))),i.push(u)}return a>e.size&&(e=e.setSize(a)),mt(e,t,i)}function Nt(e){return e<v?0:e-1>>>g<<g}function Ut(e){return null==e?Gt():qt(e)?e:Gt().withMutations((function(t){var n=i(e);qe(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function qt(e){return Ge(e)&&c(e)}function Bt(e,t,n,i){var r=Object.create(Ut.prototype);return r.size=e?e.size:0,r._map=e,r._list=t,r.__ownerID=n,r.__hash=i,r}function Gt(){return Tt||(Tt=Bt(rt(),Lt()))}function Wt(e,t,n){var i,r,a=e._map,o=e._list,s=a.get(t),l=void 0!==s;if(n===b){if(!l)return e;o.size>=v&&o.size>=2*a.size?(r=o.filter((function(e,t){return void 0!==e&&s!==t})),i=r.toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(i.__ownerID=r.__ownerID=e.__ownerID)):(i=a.remove(t),r=s===o.size-1?o.pop():o.set(s,void 0))}else if(l){if(n===o.get(s)[1])return e;i=a,r=o.set(s,[t,n])}else i=a.set(t,o.size),r=o.set(o.size,[t,n]);return e.__ownerID?(e.size=i.size,e._map=i,e._list=r,e.__hash=void 0,e):Bt(i,r)}function Xt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Vt(e){this._iter=e,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Zt(e){this._iter=e,this.size=e.size}function Ht(e){var t=bn(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=On,t.__iterateUncached=function(t,n){var i=this;return e.__iterate((function(e,n){return!1!==t(n,e,i)}),n)},t.__iteratorUncached=function(t,n){if(t===z){var i=e.__iterator(t,n);return new j((function(){var e=i.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(t===L?I:L,n)},t}function Kt(e,t,n){var i=bn(e);return i.size=e.size,i.has=function(t){return e.has(t)},i.get=function(i,r){var a=e.get(i,b);return a===b?r:t.call(n,a,i,e)},i.__iterateUncached=function(i,r){var a=this;return e.__iterate((function(e,r,o){return!1!==i(t.call(n,e,r,o),r,a)}),r)},i.__iteratorUncached=function(i,r){var a=e.__iterator(z,r);return new j((function(){var r=a.next();if(r.done)return r;var o=r.value,s=o[0];return M(i,s,t.call(n,o[1],s,e),r)}))},i}function Jt(e,t){var n=bn(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=Ht(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,i){return e.get(t?n:-1-n,i)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=On,n.__iterate=function(t,n){var i=this;return e.__iterate((function(e,n){return t(e,n,i)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function en(e,t,n,i){var r=bn(e);return i&&(r.has=function(i){var r=e.get(i,b);return r!==b&&!!t.call(n,r,i,e)},r.get=function(i,r){var a=e.get(i,b);return a!==b&&t.call(n,a,i,e)?a:r}),r.__iterateUncached=function(r,a){var o=this,s=0;return e.__iterate((function(e,a,l){if(t.call(n,e,a,l))return s++,r(e,i?a:s-1,o)}),a),s},r.__iteratorUncached=function(r,a){var o=e.__iterator(z,a),s=0;return new j((function(){for(;;){var a=o.next();if(a.done)return a;var l=a.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return M(r,i?u:s++,c,a)}}))},r}function tn(e,t,n){var i=Be().asMutable();return e.__iterate((function(r,a){i.update(t.call(n,r,a,e),0,(function(e){return e+1}))})),i.asImmutable()}function nn(e,t,n){var i=s(e),r=(c(e)?Ut():Be()).asMutable();e.__iterate((function(a,o){r.update(t.call(n,a,o,e),(function(e){return(e=e||[]).push(i?[o,a]:a),e}))}));var a=yn(e);return r.map((function(t){return mn(e,a(t))}))}function rn(e,t,n,i){var r=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),C(t,n,r))return e;var a=T(t,r),o=D(n,r);if(a!=a||o!=o)return rn(e.toSeq().cacheResult(),t,n,i);var s,l=o-a;l==l&&(s=l<0?0:l);var u=bn(e);return u.size=0===s?s:e.size&&s||void 0,!i&&ae(e)&&s>=0&&(u.get=function(t,n){return(t=E(this,t))>=0&&t<s?e.get(t+a,n):n}),u.__iterateUncached=function(t,n){var r=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var o=0,l=!0,u=0;return e.__iterate((function(e,n){if(!l||!(l=o++<a))return u++,!1!==t(e,i?n:u-1,r)&&u!==s})),u},u.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var r=0!==s&&e.__iterator(t,n),o=0,l=0;return new j((function(){for(;o++<a;)r.next();if(++l>s)return N();var e=r.next();return i||t===L?e:M(t,l-1,t===I?void 0:e.value[1],e)}))},u}function an(e,t,n){var i=bn(e);return i.__iterateUncached=function(i,r){var a=this;if(r)return this.cacheResult().__iterate(i,r);var o=0;return e.__iterate((function(e,r,s){return t.call(n,e,r,s)&&++o&&i(e,r,a)})),o},i.__iteratorUncached=function(i,r){var a=this;if(r)return this.cacheResult().__iterator(i,r);var o=e.__iterator(z,r),s=!0;return new j((function(){if(!s)return N();var e=o.next();if(e.done)return e;var r=e.value,l=r[0],u=r[1];return t.call(n,u,l,a)?i===z?e:M(i,l,u,e):(s=!1,N())}))},i}function on(e,t,n,i){var r=bn(e);return r.__iterateUncached=function(r,a){var o=this;if(a)return this.cacheResult().__iterate(r,a);var s=!0,l=0;return e.__iterate((function(e,a,u){if(!s||!(s=t.call(n,e,a,u)))return l++,r(e,i?a:l-1,o)})),l},r.__iteratorUncached=function(r,a){var o=this;if(a)return this.cacheResult().__iterator(r,a);var s=e.__iterator(z,a),l=!0,u=0;return new j((function(){var e,a,c;do{if((e=s.next()).done)return i||r===L?e:M(r,u++,r===I?void 0:e.value[1],e);var d=e.value;a=d[0],c=d[1],l&&(l=t.call(n,c,a,o))}while(l);return r===z?e:M(r,a,c,e)}))},r}function sn(e,t){var n=s(e),r=[e].concat(t).map((function(e){return o(e)?n&&(e=i(e)):e=n?se(e):le(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===r.length)return e;if(1===r.length){var a=r[0];if(a===e||n&&s(a)||l(e)&&l(a))return a}var u=new te(r);return n?u=u.toKeyedSeq():l(e)||(u=u.toSetSeq()),(u=u.flatten(!0)).size=r.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),u}function ln(e,t,n){var i=bn(e);return i.__iterateUncached=function(i,r){var a=0,s=!1;function l(e,u){var c=this;e.__iterate((function(e,r){return(!t||u<t)&&o(e)?l(e,u+1):!1===i(e,n?r:a++,c)&&(s=!0),!s}),r)}return l(e,0),a},i.__iteratorUncached=function(i,r){var a=e.__iterator(i,r),s=[],l=0;return new j((function(){for(;a;){var e=a.next();if(!1===e.done){var u=e.value;if(i===z&&(u=u[1]),t&&!(s.length<t)||!o(u))return n?e:M(i,l++,u,e);s.push(a),a=u.__iterator(i,r)}else a=s.pop()}return N()}))},i}function un(e,t,n){var i=yn(e);return e.toSeq().map((function(r,a){return i(t.call(n,r,a,e))})).flatten(!0)}function cn(e,t){var n=bn(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,i){var r=this,a=0;return e.__iterate((function(e,i){return(!a||!1!==n(t,a++,r))&&!1!==n(e,a++,r)}),i),a},n.__iteratorUncached=function(n,i){var r,a=e.__iterator(L,i),o=0;return new j((function(){return(!r||o%2)&&(r=a.next()).done?r:o%2?M(n,o++,t):M(n,o++,r.value,r)}))},n}function dn(e,t,n){t||(t=_n);var i=s(e),r=0,a=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).toArray();return a.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){a[t].length=2}:function(e,t){a[t]=e[1]}),i?V(a):l(e)?Y(a):Z(a)}function hn(e,t,n){if(t||(t=_n),n){var i=e.toSeq().map((function(t,i){return[t,n(t,i,e)]})).reduce((function(e,n){return pn(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return pn(t,e,n)?n:e}))}function pn(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function fn(e,t,i){var r=bn(e);return r.size=new te(i).map((function(e){return e.size})).min(),r.__iterate=function(e,t){for(var n,i=this.__iterator(L,t),r=0;!(n=i.next()).done&&!1!==e(n.value,r++,this););return r},r.__iteratorUncached=function(e,r){var a=i.map((function(e){return e=n(e),B(r?e.reverse():e)})),o=0,s=!1;return new j((function(){var n;return s||(n=a.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?N():M(e,o++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function mn(e,t){return ae(e)?t:e.constructor(t)}function gn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function vn(e){return qe(e.size),P(e)}function yn(e){return s(e)?i:l(e)?r:a}function bn(e){return Object.create((s(e)?V:l(e)?Y:Z).prototype)}function On(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):X.prototype.cacheResult.call(this)}function _n(e,t){return e>t?1:e<t?-1:0}function wn(e){var t=B(e);if(!t){if(!W(e))throw new TypeError("Expected iterable or array-like: "+e);t=B(n(e))}return t}function kn(e,t){var n,i=function(a){if(a instanceof i)return a;if(!(this instanceof i))return new i(a);if(!n){n=!0;var o=Object.keys(e);En(r,o),r.size=o.length,r._name=t,r._keys=o,r._defaultValues=e}this._map=Be(a)},r=i.prototype=Object.create(xn);return r.constructor=i,i}t(Ut,Be),Ut.of=function(){return this(arguments)},Ut.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Ut.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Ut.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Gt()},Ut.prototype.set=function(e,t){return Wt(this,e,t)},Ut.prototype.remove=function(e){return Wt(this,e,b)},Ut.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Ut.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},Ut.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Ut.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?Bt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Ut.isOrderedMap=qt,Ut.prototype[f]=!0,Ut.prototype[m]=Ut.prototype.remove,t(Xt,V),Xt.prototype.get=function(e,t){return this._iter.get(e,t)},Xt.prototype.has=function(e){return this._iter.has(e)},Xt.prototype.valueSeq=function(){return this._iter.valueSeq()},Xt.prototype.reverse=function(){var e=this,t=Jt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Xt.prototype.map=function(e,t){var n=this,i=Kt(this,e,t);return this._useKeys||(i.valueSeq=function(){return n._iter.toSeq().map(e,t)}),i},Xt.prototype.__iterate=function(e,t){var n,i=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,i)}:(n=t?vn(this):0,function(r){return e(r,t?--n:n++,i)}),t)},Xt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(L,t),i=t?vn(this):0;return new j((function(){var r=n.next();return r.done?r:M(e,t?--i:i++,r.value,r)}))},Xt.prototype[f]=!0,t(Vt,Y),Vt.prototype.includes=function(e){return this._iter.includes(e)},Vt.prototype.__iterate=function(e,t){var n=this,i=0;return this._iter.__iterate((function(t){return e(t,i++,n)}),t)},Vt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(L,t),i=0;return new j((function(){var t=n.next();return t.done?t:M(e,i++,t.value,t)}))},t(Yt,Z),Yt.prototype.has=function(e){return this._iter.includes(e)},Yt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Yt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(L,t);return new j((function(){var t=n.next();return t.done?t:M(e,t.value,t.value,t)}))},t(Zt,V),Zt.prototype.entrySeq=function(){return this._iter.toSeq()},Zt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){gn(t);var i=o(t);return e(i?t.get(1):t[1],i?t.get(0):t[0],n)}}),t)},Zt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(L,t);return new j((function(){for(;;){var t=n.next();if(t.done)return t;var i=t.value;if(i){gn(i);var r=o(i);return M(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},Vt.prototype.cacheResult=Xt.prototype.cacheResult=Yt.prototype.cacheResult=Zt.prototype.cacheResult=On,t(kn,ke),kn.prototype.toString=function(){return this.__toString(Pn(this)+" {","}")},kn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},kn.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},kn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Sn(this,rt()))},kn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Pn(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Sn(this,n)},kn.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:Sn(this,t)},kn.prototype.wasAltered=function(){return this._map.wasAltered()},kn.prototype.__iterator=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},kn.prototype.__iterate=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},kn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Sn(this,t,e):(this.__ownerID=e,this._map=t,this)};var xn=kn.prototype;function Sn(e,t,n){var i=Object.create(Object.getPrototypeOf(e));return i._map=t,i.__ownerID=n,i}function Pn(e){return e._name||e.constructor.name||"Record"}function En(e,t){try{t.forEach(Fn.bind(void 0,e))}catch(e){}}function Fn(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){Oe(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function Cn(e){return null==e?$n():Tn(e)&&!c(e)?e:$n().withMutations((function(t){var n=a(e);qe(n.size),n.forEach((function(e){return t.add(e)}))}))}function Tn(e){return!(!e||!e[An])}xn[m]=xn.remove,xn.deleteIn=xn.removeIn=Ve.removeIn,xn.merge=Ve.merge,xn.mergeWith=Ve.mergeWith,xn.mergeIn=Ve.mergeIn,xn.mergeDeep=Ve.mergeDeep,xn.mergeDeepWith=Ve.mergeDeepWith,xn.mergeDeepIn=Ve.mergeDeepIn,xn.setIn=Ve.setIn,xn.update=Ve.update,xn.updateIn=Ve.updateIn,xn.withMutations=Ve.withMutations,xn.asMutable=Ve.asMutable,xn.asImmutable=Ve.asImmutable,t(Cn,Se),Cn.of=function(){return this(arguments)},Cn.fromKeys=function(e){return this(i(e).keySeq())},Cn.prototype.toString=function(){return this.__toString("Set {","}")},Cn.prototype.has=function(e){return this._map.has(e)},Cn.prototype.add=function(e){return Ln(this,this._map.set(e,!0))},Cn.prototype.remove=function(e){return Ln(this,this._map.remove(e))},Cn.prototype.clear=function(){return Ln(this,this._map.clear())},Cn.prototype.union=function(){var t=e.call(arguments,0);return t=t.filter((function(e){return 0!==e.size})),0===t.length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(e){for(var n=0;n<t.length;n++)a(t[n]).forEach((function(t){return e.add(t)}))})):this.constructor(t[0])},Cn.prototype.intersect=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return a(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.every((function(e){return e.includes(n)}))||e.remove(n)}))}))},Cn.prototype.subtract=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return a(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.some((function(e){return e.includes(n)}))&&e.remove(n)}))}))},Cn.prototype.merge=function(){return this.union.apply(this,arguments)},Cn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},Cn.prototype.sort=function(e){return Rn(dn(this,e))},Cn.prototype.sortBy=function(e,t){return Rn(dn(this,t,e))},Cn.prototype.wasAltered=function(){return this._map.wasAltered()},Cn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,i){return e(i,i,n)}),t)},Cn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Cn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):(this.__ownerID=e,this._map=t,this)},Cn.isSet=Tn;var Dn,An="@@__IMMUTABLE_SET__@@",In=Cn.prototype;function Ln(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._map?e:0===t.size?e.__empty():e.__make(t)}function zn(e,t){var n=Object.create(In);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function $n(){return Dn||(Dn=zn(rt()))}function Rn(e){return null==e?Un():Qn(e)?e:Un().withMutations((function(t){var n=a(e);qe(n.size),n.forEach((function(e){return t.add(e)}))}))}function Qn(e){return Tn(e)&&c(e)}In[An]=!0,In[m]=In.remove,In.mergeDeep=In.merge,In.mergeDeepWith=In.mergeWith,In.withMutations=Ve.withMutations,In.asMutable=Ve.asMutable,In.asImmutable=Ve.asImmutable,In.__empty=$n,In.__make=zn,t(Rn,Cn),Rn.of=function(){return this(arguments)},Rn.fromKeys=function(e){return this(i(e).keySeq())},Rn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Rn.isOrderedSet=Qn;var jn,Mn=Rn.prototype;function Nn(e,t){var n=Object.create(Mn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Un(){return jn||(jn=Nn(Gt()))}function qn(e){return null==e?Yn():Bn(e)?e:Yn().unshiftAll(e)}function Bn(e){return!(!e||!e[Wn])}Mn[f]=!0,Mn.__empty=Un,Mn.__make=Nn,t(qn,xe),qn.of=function(){return this(arguments)},qn.prototype.toString=function(){return this.__toString("Stack [","]")},qn.prototype.get=function(e,t){var n=this._head;for(e=E(this,e);n&&e--;)n=n.next;return n?n.value:t},qn.prototype.peek=function(){return this._head&&this._head.value},qn.prototype.push=function(){if(0===arguments.length)return this;for(var e=this.size+arguments.length,t=this._head,n=arguments.length-1;n>=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Vn(e,t)},qn.prototype.pushAll=function(e){if(0===(e=r(e)).size)return this;qe(e.size);var t=this.size,n=this._head;return e.reverse().forEach((function(e){t++,n={value:e,next:n}})),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Vn(t,n)},qn.prototype.pop=function(){return this.slice(1)},qn.prototype.unshift=function(){return this.push.apply(this,arguments)},qn.prototype.unshiftAll=function(e){return this.pushAll(e)},qn.prototype.shift=function(){return this.pop.apply(this,arguments)},qn.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Yn()},qn.prototype.slice=function(e,t){if(C(e,t,this.size))return this;var n=T(e,this.size);if(D(t,this.size)!==this.size)return xe.prototype.slice.call(this,e,t);for(var i=this.size-n,r=this._head;n--;)r=r.next;return this.__ownerID?(this.size=i,this._head=r,this.__hash=void 0,this.__altered=!0,this):Vn(i,r)},qn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Vn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},qn.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,i=this._head;i&&!1!==e(i.value,n++,this);)i=i.next;return n},qn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,i=this._head;return new j((function(){if(i){var t=i.value;return i=i.next,M(e,n++,t)}return N()}))},qn.isStack=Bn;var Gn,Wn="@@__IMMUTABLE_STACK__@@",Xn=qn.prototype;function Vn(e,t,n,i){var r=Object.create(Xn);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function Yn(){return Gn||(Gn=Vn(0))}function Zn(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}Xn[Wn]=!0,Xn.withMutations=Ve.withMutations,Xn.asMutable=Ve.asMutable,Xn.asImmutable=Ve.asImmutable,Xn.wasAltered=Ve.wasAltered,n.Iterator=j,Zn(n,{toArray:function(){qe(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Vt(this)},toJS:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJS?e.toJS():e})).__toJS()},toJSON:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e})).__toJS()},toKeyedSeq:function(){return new Xt(this,!0)},toMap:function(){return Be(this.toKeyedSeq())},toObject:function(){qe(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return Ut(this.toKeyedSeq())},toOrderedSet:function(){return Rn(s(this)?this.valueSeq():this)},toSet:function(){return Cn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Yt(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return qn(s(this)?this.valueSeq():this)},toList:function(){return xt(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return mn(this,sn(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return ve(t,e)}))},entries:function(){return this.__iterator(z)},every:function(e,t){qe(this.size);var n=!0;return this.__iterate((function(i,r,a){if(!e.call(t,i,r,a))return n=!1,!1})),n},filter:function(e,t){return mn(this,en(this,e,t,!0))},find:function(e,t,n){var i=this.findEntry(e,t);return i?i[1]:n},findEntry:function(e,t){var n;return this.__iterate((function(i,r,a){if(e.call(t,i,r,a))return n=[r,i],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return qe(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){qe(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(i){n?n=!1:t+=e,t+=null!=i?i.toString():""})),t},keys:function(){return this.__iterator(I)},map:function(e,t){return mn(this,Kt(this,e,t))},reduce:function(e,t,n){var i,r;return qe(this.size),arguments.length<2?r=!0:i=t,this.__iterate((function(t,a,o){r?(r=!1,i=t):i=e.call(n,i,t,a,o)})),i},reduceRight:function(e,t,n){var i=this.toKeyedSeq().reverse();return i.reduce.apply(i,arguments)},reverse:function(){return mn(this,Jt(this,!0))},slice:function(e,t){return mn(this,rn(this,e,t,!0))},some:function(e,t){return!this.every(ti(e),t)},sort:function(e){return mn(this,dn(this,e))},values:function(){return this.__iterator(L)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(e,t){return P(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return tn(this,e,t)},equals:function(e){return ye(this,e)},entrySeq:function(){var e=this;if(e._cache)return new te(e._cache);var t=e.toSeq().map(ei).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(ti(e),t)},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},first:function(){return this.find(F)},flatMap:function(e,t){return mn(this,un(this,e,t))},flatten:function(e){return mn(this,ln(this,e,!0))},fromEntrySeq:function(){return new Zt(this)},get:function(e,t){return this.find((function(t,n){return ve(n,e)}),void 0,t)},getIn:function(e,t){for(var n,i=this,r=wn(e);!(n=r.next()).done;){var a=n.value;if((i=i&&i.get?i.get(a,b):b)===b)return t}return i},groupBy:function(e,t){return nn(this,e,t)},has:function(e){return this.get(e,b)!==b},hasIn:function(e){return this.getIn(e,b)!==b},isSubset:function(e){return e="function"==typeof e.includes?e:n(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:n(e)).isSubset(this)},keySeq:function(){return this.toSeq().map(Jn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return hn(this,e)},maxBy:function(e,t){return hn(this,t,e)},min:function(e){return hn(this,e?ni(e):ai)},minBy:function(e,t){return hn(this,t?ni(t):ai,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return mn(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return mn(this,on(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(ti(e),t)},sortBy:function(e,t){return mn(this,dn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return mn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return mn(this,an(this,e,t))},takeUntil:function(e,t){return this.takeWhile(ti(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=oi(this))}});var Hn=n.prototype;Hn[d]=!0,Hn[Q]=Hn.values,Hn.__toJS=Hn.toArray,Hn.__toStringMapper=ii,Hn.inspect=Hn.toSource=function(){return this.toString()},Hn.chain=Hn.flatMap,Hn.contains=Hn.includes,function(){try{Object.defineProperty(Hn,"length",{get:function(){if(!n.noLengthWarning){var e;try{throw new Error}catch(t){e=t.stack}if(-1===e.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+e),this.size}}})}catch(e){}}(),Zn(i,{flip:function(){return mn(this,Ht(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey((function(t){return ve(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return ve(t,e)}))},mapEntries:function(e,t){var n=this,i=0;return mn(this,this.toSeq().map((function(r,a){return e.call(t,[a,r],i++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return mn(this,this.toSeq().flip().map((function(i,r){return e.call(t,i,r,n)})).flip())}});var Kn=i.prototype;function Jn(e,t){return t}function ei(e,t){return[t,e]}function ti(e){return function(){return!e.apply(this,arguments)}}function ni(e){return function(){return-e.apply(this,arguments)}}function ii(e){return"string"==typeof e?JSON.stringify(e):e}function ri(){return S(arguments)}function ai(e,t){return e<t?1:e>t?-1:0}function oi(e){if(e.size===1/0)return 0;var t=c(e),n=s(e),i=t?1:0,r=e.__iterate(n?t?function(e,t){i=31*i+li(Fe(e),Fe(t))|0}:function(e,t){i=i+li(Fe(e),Fe(t))|0}:t?function(e){i=31*i+Fe(e)|0}:function(e){i=i+Fe(e)|0});return si(r,i)}function si(e,t){return t=Pe(t,3432918353),t=Pe(t<<15|t>>>-15,461845907),t=Pe(t<<13|t>>>-13,5),t=Pe((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Ee((t=Pe(t^t>>>13,3266489909))^t>>>16)}function li(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Kn[h]=!0,Kn[Q]=Hn.entries,Kn.__toJS=Hn.toObject,Kn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+ii(e)},Zn(r,{toKeyedSeq:function(){return new Xt(this,!1)},filter:function(e,t){return mn(this,en(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.toKeyedSeq().keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.toKeyedSeq().reverse().keyOf(e);return void 0===t?-1:t},reverse:function(){return mn(this,Jt(this,!1))},slice:function(e,t){return mn(this,rn(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=T(e,e<0?this.count():this.size);var i=this.slice(0,e);return mn(this,1===n?i:i.concat(S(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.toKeyedSeq().findLastKey(e,t);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(e){return mn(this,ln(this,e,!1))},get:function(e,t){return(e=E(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,n){return n===e}),void 0,t)},has:function(e){return(e=E(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return mn(this,cn(this,e))},interleave:function(){var e=[this].concat(S(arguments)),t=fn(this.toSeq(),Y.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),mn(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return mn(this,on(this,e,t,!1))},zip:function(){return mn(this,fn(this,ri,[this].concat(S(arguments))))},zipWith:function(e){var t=S(arguments);return t[0]=this,mn(this,fn(this,e,t))}}),r.prototype[p]=!0,r.prototype[f]=!0,Zn(a,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),a.prototype.has=Hn.includes,Zn(V,i.prototype),Zn(Y,r.prototype),Zn(Z,a.prototype),Zn(ke,i.prototype),Zn(xe,r.prototype),Zn(Se,a.prototype),{Iterable:n,Seq:X,Collection:we,Map:Be,OrderedMap:Ut,List:xt,Stack:qn,Set:Cn,OrderedSet:Rn,Record:kn,Range:_e,Repeat:be,is:ve,fromJS:pe}}()}(HWe);var KWe=HWe.exports.OrderedMap,JWe={createFromArray:function(e){return KWe(e.map((function(e){return[e.getKey(),e]})))}},eXe=JWe;var tXe=HWe.exports,nXe=tXe.Map,iXe=tXe.OrderedSet,rXe=tXe.Record,aXe=iXe(),oXe={style:aXe,entity:null},sXe=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.getStyle=function(){return this.get("style")},r.getEntity=function(){return this.get("entity")},r.hasStyle=function(e){return this.getStyle().includes(e)},i.applyStyle=function(e,t){var n=e.set("style",e.getStyle().add(t));return i.create(n)},i.removeStyle=function(e,t){var n=e.set("style",e.getStyle().remove(t));return i.create(n)},i.applyEntity=function(e,t){var n=e.getEntity()===t?e:e.set("entity",t);return i.create(n)},i.create=function(e){if(!e)return lXe;var t=nXe({style:aXe,entity:null}).merge(e),n=uXe.get(t);if(n)return n;var r=new i(t);return uXe=uXe.set(t,r),r},i.fromJS=function(e){var t=e.style,n=e.entity;return new i({style:Array.isArray(t)?iXe(t):t,entity:Array.isArray(n)?iXe(n):n})},i}(rXe(oXe)),lXe=new sXe,uXe=nXe([[nXe(oXe),lXe]]);sXe.EMPTY=lXe;var cXe=sXe;var dXe=function(e,t,n,i){if(e.size){var r=0;e.reduce((function(e,a,o){return t(e,a)||(n(e)&&i(r,o),r=o),a})),n(e.last())&&i(r,e.count())}};var hXe=cXe,pXe=dXe,fXe=HWe.exports,mXe=fXe.List,gXe=fXe.Map,vXe=fXe.OrderedSet,yXe=fXe.Record,bXe=fXe.Repeat,OXe=vXe(),_Xe=yXe({key:"",type:"unstyled",text:"",characterList:mXe(),depth:0,data:gXe()}),wXe=function(e){var t,n;function i(t){return e.call(this,function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=mXe(bXe(hXe.EMPTY,n.length))),e}(t))||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.getKey=function(){return this.get("key")},r.getType=function(){return this.get("type")},r.getText=function(){return this.get("text")},r.getCharacterList=function(){return this.get("characterList")},r.getLength=function(){return this.getText().length},r.getDepth=function(){return this.get("depth")},r.getData=function(){return this.get("data")},r.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():OXe},r.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},r.findStyleRanges=function(e,t){pXe(this.getCharacterList(),kXe,e,t)},r.findEntityRanges=function(e,t){pXe(this.getCharacterList(),xXe,e,t)},i}(_Xe);function kXe(e,t){return e.getStyle()===t.getStyle()}function xXe(e,t){return e.getEntity()===t.getEntity()}var SXe=wXe;var PXe=cXe,EXe=dXe,FXe=HWe.exports,CXe=FXe.List,TXe=FXe.Map,DXe=FXe.OrderedSet,AXe=FXe.Record,IXe=FXe.Repeat,LXe=DXe(),zXe={parent:null,characterList:CXe(),data:TXe(),depth:0,key:"",text:"",type:"unstyled",children:CXe(),prevSibling:null,nextSibling:null},$Xe=function(e,t){return e.getStyle()===t.getStyle()},RXe=function(e,t){return e.getEntity()===t.getEntity()},QXe=function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=CXe(IXe(PXe.EMPTY,n.length))),e},jXe=function(e){var t,n;function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:zXe;return e.call(this,QXe(t))||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.getKey=function(){return this.get("key")},r.getType=function(){return this.get("type")},r.getText=function(){return this.get("text")},r.getCharacterList=function(){return this.get("characterList")},r.getLength=function(){return this.getText().length},r.getDepth=function(){return this.get("depth")},r.getData=function(){return this.get("data")},r.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():LXe},r.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},r.getChildKeys=function(){return this.get("children")},r.getParentKey=function(){return this.get("parent")},r.getPrevSiblingKey=function(){return this.get("prevSibling")},r.getNextSiblingKey=function(){return this.get("nextSibling")},r.findStyleRanges=function(e,t){EXe(this.getCharacterList(),$Xe,e,t)},r.findEntityRanges=function(e,t){EXe(this.getCharacterList(),RXe,e,t)},i}(AXe(zXe)),MXe=jXe,NXe=cXe,UXe=HWe.exports.Map;function qXe(e,t,n,i){var r=e.getBlockMap(),a=t.getStartKey(),o=t.getStartOffset(),s=t.getEndKey(),l=t.getEndOffset(),u=r.skipUntil((function(e,t){return t===a})).takeUntil((function(e,t){return t===s})).concat(UXe([[s,r.get(s)]])).map((function(e,t){var r,u;a===s?(r=o,u=l):(r=t===a?o:0,u=t===s?l:e.getLength());for(var c,d=e.getCharacterList();r<u;)c=d.get(r),d=d.set(r,i?NXe.applyStyle(c,n):NXe.removeStyle(c,n)),r++;return e.set("characterList",d)}));return e.merge({blockMap:r.merge(u),selectionBefore:t,selectionAfter:t})}var BXe={add:function(e,t,n){return qXe(e,t,n,!0)},remove:function(e,t,n){return qXe(e,t,n,!1)}},GXe=cXe;var WXe=function(e,t,n,i){for(var r=t,a=e.getCharacterList();r<n;)a=a.set(r,GXe.applyEntity(a.get(r),i)),r++;return e.set("characterList",a)},XXe=WXe,VXe=HWe.exports;var YXe=function(e,t,n){var i=e.getBlockMap(),r=t.getStartKey(),a=t.getStartOffset(),o=t.getEndKey(),s=t.getEndOffset(),l=i.skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===o})).toOrderedMap().merge(VXe.OrderedMap([[o,i.get(o)]])).map((function(e,t){var i=t===r?a:0,l=t===o?s:e.getLength();return XXe(e,i,l,n)}));return e.merge({blockMap:i.merge(l),selectionBefore:t,selectionAfter:t})},ZXe={getRemovalRange:function(e,t,n,i,r){var a=n.split(" ");a=a.map((function(e,t){if("forward"===r){if(t>0)return" "+e}else if(t<a.length-1)return e+" ";return e}));for(var o,s=i,l=null,u=null,c=0;c<a.length;c++){if(e<(o=s+a[c].length)&&s<t)null!==l||(l=s),u=o;else if(null!==l)break;s=o}var d=i+n.length,h=l===i,p=u===d;return(!h&&p||h&&!p)&&("forward"===r?u!==d&&u++:l!==i&&l--),{start:l,end:u}}},HXe="production"!==go.env.NODE_ENV?function(e){}:function(e){if(void 0===e)throw new Error("invariant(...): Second argument must be a string.")};var KXe=function(e,t){for(var n=arguments.length,i=new Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];if(HXe(t),!e){var a;if(void 0===t)a=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var o=0;(a=new Error(t.replace(/%s/g,(function(){return String(i[o++])})))).name="Invariant Violation"}throw a.framesToPop=1,a}},JXe=KXe;var eVe=function(e,t){var n=[];return e.findEntityRanges((function(e){return e.getEntity()===t}),(function(e,t){n.push({start:e,end:t})})),n.length||("production"!==go.env.NODE_ENV?JXe(!1,"Entity key not found in this range."):JXe(!1)),n},tVe=ZXe,nVe=eVe,iVe=KXe;function rVe(e,t,n,i,r,a,o){var s=n.getStartOffset(),l=n.getEndOffset(),u=e.__get(r).getMutability(),c=o?s:l;if("MUTABLE"===u)return n;var d=nVe(t,r).filter((function(e){return c<=e.end&&c>=e.start}));1!=d.length&&("production"!==go.env.NODE_ENV?iVe(!1,"There should only be one entity range within this removal range."):iVe(!1));var h=d[0];if("IMMUTABLE"===u)return n.merge({anchorOffset:h.start,focusOffset:h.end,isBackward:!1});a||(o?l=h.end:s=h.start);var p=tVe.getRemovalRange(s,l,t.getText().slice(h.start,h.end),h.start,i);return n.merge({anchorOffset:p.start,focusOffset:p.end,isBackward:!1})}var aVe=function(e,t,n,i,r){var a=i.getStartOffset(),o=i.getEndOffset(),s=t.getEntityAt(a),l=n.getEntityAt(o-1);if(!s&&!l)return i;var u=i;if(s&&s===l)u=rVe(e,t,u,r,s,!0,!0);else if(s&&l){var c=rVe(e,t,u,r,s,!1,!0),d=rVe(e,n,u,r,l,!1,!1);u=u.merge({anchorOffset:c.getAnchorOffset(),focusOffset:d.getFocusOffset(),isBackward:!1})}else if(s){var h=rVe(e,t,u,r,s,!1,!0);u=u.merge({anchorOffset:h.getStartOffset(),isBackward:!1})}else if(l){var p=rVe(e,n,u,r,l,!1,!1);u=u.merge({focusOffset:p.getEndOffset(),isBackward:!1})}return u},oVe={},sVe=Math.pow(2,24);var lVe=function(){for(var e;void 0===e||oVe.hasOwnProperty(e)||!isNaN(+e);)e=Math.floor(Math.random()*sVe).toString(32);return oVe[e]=!0,e},uVe=MXe,cVe=lVe,dVe=HWe.exports.OrderedMap,hVe=function(e){return e.first()instanceof uVe?function(e){var t,n={};return dVe(e.withMutations((function(e){e.forEach((function(i,r){var a=i.getKey(),o=i.getNextSiblingKey(),s=i.getPrevSiblingKey(),l=i.getChildKeys(),u=i.getParentKey(),c=cVe();if(n[a]=c,o&&(e.get(o)?e.setIn([o,"prevSibling"],c):e.setIn([a,"nextSibling"],null)),s&&(e.get(s)?e.setIn([s,"nextSibling"],c):e.setIn([a,"prevSibling"],null)),u&&e.get(u)){var d=e.get(u).getChildKeys();e.setIn([u,"children"],d.set(d.indexOf(i.getKey()),c))}else e.setIn([a,"parent"],null),t&&(e.setIn([t.getKey(),"nextSibling"],c),e.setIn([a,"prevSibling"],n[t.getKey()])),t=e.get(a);l.forEach((function(t){e.get(t)?e.setIn([t,"parent"],c):e.setIn([a,"children"],i.getChildKeys().filter((function(e){return e!==t})))}))}))})).toArray().map((function(e){return[n[e.getKey()],e.set("key",n[e.getKey()])]})))}(e):function(e){return dVe(e.toArray().map((function(e){var t=cVe();return[t,e.set("key",t)]})))}(e)},pVe=cXe,fVe=dXe,mVe=KXe;function gVe(e,t,n){var i=t.getCharacterList(),r=n>0?i.get(n-1):void 0,a=n<i.count()?i.get(n):void 0,o=r?r.getEntity():void 0,s=a?a.getEntity():void 0;if(s&&s===o&&"MUTABLE"!==e.__get(s).getMutability()){for(var l,u=function(e,t,n){var i;return fVe(e,(function(e,t){return e.getEntity()===t.getEntity()}),(function(e){return e.getEntity()===t}),(function(e,t){e<=n&&t>=n&&(i={start:e,end:t})})),"object"!=typeof i&&("production"!==go.env.NODE_ENV?mVe(!1,"Removal range must exist within character list."):mVe(!1)),i}(i,s,n),c=u.start,d=u.end;c<d;)l=i.get(c),i=i.set(c,pVe.applyEntity(l,null)),c++;return t.set("characterList",i)}return t}var vVe=function(e,t){var n=e.getBlockMap(),i=e.getEntityMap(),r={},a=t.getStartKey(),o=t.getStartOffset(),s=n.get(a),l=gVe(i,s,o);l!==s&&(r[a]=l);var u=t.getEndKey(),c=t.getEndOffset(),d=n.get(u);a===u&&(d=l);var h=gVe(i,d,c);return h!==d&&(r[u]=h),Object.keys(r).length?e.merge({blockMap:n.merge(r),selectionAfter:t}):e.set("selectionAfter",t)},yVe=hVe,bVe=vVe,OVe=function(e,t){var n=t.getStartKey(),i=t.getStartOffset(),r=t.getEndKey(),a=t.getEndOffset(),o=bVe(e,t).getBlockMap(),s=o.keySeq(),l=s.indexOf(n),u=s.indexOf(r)+1;return yVe(o.slice(l,u).map((function(e,t){var o=e.getText(),s=e.getCharacterList();return n===r?e.merge({text:o.slice(i,a),characterList:s.slice(i,a)}):t===n?e.merge({text:o.slice(i),characterList:s.slice(i)}):t===r?e.merge({text:o.slice(0,a),characterList:s.slice(0,a)}):e})))};var _Ve=function(e,t,n){var i=e;if(n===i.count())t.forEach((function(e){i=i.push(e)}));else if(0===n)t.reverse().forEach((function(e){i=i.unshift(e)}));else{var r=i.slice(0,n),a=i.slice(n);i=r.concat(t,a).toList()}return i},wVe=eXe,kVe=MXe,xVe=_Ve,SVe=KXe,PVe=hVe,EVe=HWe.exports.List,FVe=function(e,t,n,i,r,a){var o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"REPLACE_WITH_NEW_DATA",s=n.get(r),l=s.getText(),u=s.getCharacterList(),c=r,d=a+i.getText().length,h=null;switch(o){case"MERGE_OLD_DATA_TO_NEW_DATA":h=i.getData().merge(s.getData());break;case"REPLACE_WITH_NEW_DATA":h=i.getData()}var p=s.getType();l&&"unstyled"===p&&(p=i.getType());var f=s.merge({text:l.slice(0,a)+i.getText()+l.slice(a),characterList:xVe(u,i.getCharacterList(),a),type:p,data:h});return e.merge({blockMap:n.set(r,f),selectionBefore:t,selectionAfter:t.merge({anchorKey:c,anchorOffset:d,focusKey:c,focusOffset:d,isBackward:!1})})},CVe=function(e,t,n,i,r,a){var o=n.first()instanceof kVe,s=[],l=i.size,u=n.get(r),c=i.first(),d=i.last(),h=d.getLength(),p=d.getKey(),f=o&&(!u.getChildKeys().isEmpty()||!c.getChildKeys().isEmpty());n.forEach((function(e,t){t===r?(f?s.push(e):s.push(function(e,t,n){var i=e.getText(),r=e.getCharacterList(),a=i.slice(0,t),o=r.slice(0,t),s=n.first();return e.merge({text:a+s.getText(),characterList:o.concat(s.getCharacterList()),type:a?e.getType():s.getType(),data:s.getData()})}(e,a,i)),i.slice(f?0:1,l-1).forEach((function(e){return s.push(e)})),s.push(function(e,t,n){var i=e.getText(),r=e.getCharacterList(),a=i.length,o=i.slice(t,a),s=r.slice(t,a),l=n.last();return l.merge({text:l.getText()+o,characterList:l.getCharacterList().concat(s),data:l.getData()})}(e,a,i))):s.push(e)}));var m=wVe.createFromArray(s);return o&&(m=function(e,t,n,i){return e.withMutations((function(t){var r=n.getKey(),a=i.getKey(),o=n.getNextSiblingKey(),s=n.getParentKey(),l=function(e,t){var n=e.getKey(),i=e,r=[];for(t.get(n)&&r.push(n);i&&i.getNextSiblingKey();){var a=i.getNextSiblingKey();if(!a)break;r.push(a),i=t.get(a)}return r}(i,e),u=l[l.length-1];if(t.get(a)?(t.setIn([r,"nextSibling"],a),t.setIn([a,"prevSibling"],r)):(t.setIn([r,"nextSibling"],i.getNextSiblingKey()),t.setIn([i.getNextSiblingKey(),"prevSibling"],r)),t.setIn([u,"nextSibling"],o),o&&t.setIn([o,"prevSibling"],u),l.forEach((function(e){return t.setIn([e,"parent"],s)})),s){var c=e.get(s).getChildKeys(),d=c.indexOf(r)+1,h=c.toArray();h.splice.apply(h,[d,0].concat(l)),t.setIn([s,"children"],EVe(h))}}))}(m,0,u,c)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:p,anchorOffset:h,focusKey:p,focusOffset:h,isBackward:!1})})},TVe=function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";t.isCollapsed()||("production"!==go.env.NODE_ENV?SVe(!1,"`insertFragment` should only be called with a collapsed selection state."):SVe(!1));var r=e.getBlockMap(),a=PVe(n),o=t.getStartKey(),s=t.getStartOffset(),l=r.get(o);return l instanceof kVe&&(l.getChildKeys().isEmpty()||("production"!==go.env.NODE_ENV?SVe(!1,"`insertFragment` should not be called when a container node is selected."):SVe(!1))),1===a.size?FVe(e,t,r,a.first(),o,s,i):CVe(e,t,r,a,o,s)},DVe=_Ve,AVe=KXe,IVe=HWe.exports.Repeat;var LVe=function(e,t,n,i){t.isCollapsed()||("production"!==go.env.NODE_ENV?AVe(!1,"`insertText` should only be called with a collapsed range."):AVe(!1));var r=null;if(null!=n&&(r=n.length),null==r||0===r)return e;var a=e.getBlockMap(),o=t.getStartKey(),s=t.getStartOffset(),l=a.get(o),u=l.getText(),c=l.merge({text:u.slice(0,s)+n+u.slice(s,l.getLength()),characterList:DVe(l.getCharacterList(),IVe(i,r).toList(),s)}),d=s+r;return e.merge({blockMap:a.set(o,c),selectionAfter:t.merge({anchorOffset:d,focusOffset:d})})},zVe=HWe.exports.Map;var $Ve=function(e,t,n){var i=t.getStartKey(),r=t.getEndKey(),a=e.getBlockMap(),o=a.toSeq().skipUntil((function(e,t){return t===i})).takeUntil((function(e,t){return t===r})).concat(zVe([[r,a.get(r)]])).map(n);return e.merge({blockMap:a.merge(o),selectionBefore:t,selectionAfter:t})},RVe=MXe,QVe=function(e,t){if(!(e instanceof RVe))return null;var n=e.getNextSiblingKey();if(n)return n;var i=e.getParentKey();if(!i)return null;for(var r=t.get(i);r&&!r.getNextSiblingKey();){var a=r.getParentKey();r=a?t.get(a):null}return r?r.getNextSiblingKey():null},jVe=MXe,MVe=QVe,NVe=HWe.exports;NVe.List;var UVe=NVe.Map,qVe=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},BVe=function(e,t){var n=[];if(!e)return n;for(var i=t.get(e);i&&i.getParentKey();){var r=i.getParentKey();r&&n.push(r),i=r?t.get(r):null}return n},GVe=function(e,t,n){if(!e)return null;for(var i=n.get(e.getKey()).getNextSiblingKey();i&&!t.get(i);)i=n.get(i).getNextSiblingKey()||null;return i},WVe=function(e,t,n){if(!e)return null;for(var i=n.get(e.getKey()).getPrevSiblingKey();i&&!t.get(i);)i=n.get(i).getPrevSiblingKey()||null;return i},XVe=function(e,t,n,i){return e.withMutations((function(r){if(qVe(t.getKey(),r,(function(e){return e.merge({nextSibling:GVe(e,r,i),prevSibling:WVe(e,r,i)})})),qVe(n.getKey(),r,(function(e){return e.merge({nextSibling:GVe(e,r,i),prevSibling:WVe(e,r,i)})})),BVe(t.getKey(),i).forEach((function(e){return qVe(e,r,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return r.get(e)})),nextSibling:GVe(e,r,i),prevSibling:WVe(e,r,i)})}))})),qVe(t.getNextSiblingKey(),r,(function(e){return e.merge({prevSibling:t.getPrevSiblingKey()})})),qVe(t.getPrevSiblingKey(),r,(function(e){return e.merge({nextSibling:GVe(e,r,i)})})),qVe(n.getNextSiblingKey(),r,(function(e){return e.merge({prevSibling:WVe(e,r,i)})})),qVe(n.getPrevSiblingKey(),r,(function(e){return e.merge({nextSibling:n.getNextSiblingKey()})})),BVe(n.getKey(),i).forEach((function(e){qVe(e,r,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return r.get(e)})),nextSibling:GVe(e,r,i),prevSibling:WVe(e,r,i)})}))})),function(e,t){var n=[];if(!e)return n;for(var i=MVe(e,t);i&&t.get(i);){var r=t.get(i);n.push(i),i=r.getParentKey()?MVe(r,t):null}return n}(n,i).forEach((function(e){return qVe(e,r,(function(e){return e.merge({nextSibling:GVe(e,r,i),prevSibling:WVe(e,r,i)})}))})),null==e.get(t.getKey())&&null!=e.get(n.getKey())&&n.getParentKey()===t.getKey()&&null==n.getPrevSiblingKey()){var a=t.getPrevSiblingKey();qVe(n.getKey(),r,(function(e){return e.merge({prevSibling:a})})),qVe(a,r,(function(e){return e.merge({nextSibling:n.getKey()})}));var o=a?e.get(a):null,s=o?o.getParentKey():null;if(t.getChildKeys().forEach((function(e){qVe(e,r,(function(e){return e.merge({parent:s})}))})),null!=s){var l=e.get(s);qVe(s,r,(function(e){return e.merge({children:l.getChildKeys().concat(t.getChildKeys())})}))}qVe(t.getChildKeys().find((function(t){return null===e.get(t).getNextSiblingKey()})),r,(function(e){return e.merge({nextSibling:t.getNextSiblingKey()})}))}}))},VVe=function(e,t,n){if(0===t)for(;t<n;)e=e.shift(),t++;else if(n===e.count())for(;n>t;)e=e.pop(),n--;else{var i=e.slice(0,t),r=e.slice(n);e=i.concat(r).toList()}return e},YVe=function(e,t){if(t.isCollapsed())return e;var n,i=e.getBlockMap(),r=t.getStartKey(),a=t.getStartOffset(),o=t.getEndKey(),s=t.getEndOffset(),l=i.get(r),u=i.get(o),c=l instanceof jVe,d=[];if(c){var h=u.getChildKeys(),p=BVe(o,i);u.getNextSiblingKey()&&(d=d.concat(p)),h.isEmpty()||(d=d.concat(p.concat([o]))),d=d.concat(BVe(MVe(u,i),i))}n=l===u?VVe(l.getCharacterList(),a,s):l.getCharacterList().slice(0,a).concat(u.getCharacterList().slice(s));var f=l.merge({text:l.getText().slice(0,a)+u.getText().slice(s),characterList:n}),m=c&&0===a&&0===s&&u.getParentKey()===r&&null==u.getPrevSiblingKey()?UVe([[r,null]]):i.toSeq().skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===o})).filter((function(e,t){return-1===d.indexOf(t)})).concat(UVe([[o,null]])).map((function(e,t){return t===r?f:null})),g=i.merge(m).filter((function(e){return!!e}));return c&&l!==u&&(g=XVe(g,l,u,i)),e.merge({blockMap:g,selectionBefore:t,selectionAfter:t.merge({anchorKey:r,anchorOffset:a,focusKey:r,focusOffset:a,isBackward:!1})})},ZVe=MXe,HVe=lVe,KVe=HWe.exports,JVe=KXe,eYe=$Ve,tYe=KVe.List,nYe=KVe.Map,iYe=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},rYe=function(e,t){t.isCollapsed()||("production"!==go.env.NODE_ENV?JVe(!1,"Selection range must be collapsed."):JVe(!1));var n=t.getAnchorKey(),i=e.getBlockMap(),r=i.get(n),a=r.getText();if(!a){var o=r.getType();if("unordered-list-item"===o||"ordered-list-item"===o)return eYe(e,t,(function(e){return e.merge({type:"unstyled",depth:0})}))}var s=t.getAnchorOffset(),l=r.getCharacterList(),u=HVe(),c=r instanceof ZVe,d=r.merge({text:a.slice(0,s),characterList:l.slice(0,s)}),h=d.merge({key:u,text:a.slice(s),characterList:l.slice(s),data:nYe()}),p=i.toSeq().takeUntil((function(e){return e===r})),f=i.toSeq().skipUntil((function(e){return e===r})).rest(),m=p.concat([[n,d],[u,h]],f).toOrderedMap();return c&&(r.getChildKeys().isEmpty()||("production"!==go.env.NODE_ENV?JVe(!1,"ContentBlockNode must not have children"):JVe(!1)),m=function(e,t,n){return e.withMutations((function(e){var i=t.getKey(),r=n.getKey();iYe(t.getParentKey(),e,(function(e){var t=e.getChildKeys(),n=t.indexOf(i)+1,a=t.toArray();return a.splice(n,0,r),e.merge({children:tYe(a)})})),iYe(t.getNextSiblingKey(),e,(function(e){return e.merge({prevSibling:r})})),iYe(i,e,(function(e){return e.merge({nextSibling:r})})),iYe(r,e,(function(e){return e.merge({prevSibling:i})}))}))}(m,d,h)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:u,anchorOffset:0,focusKey:u,focusOffset:0,isBackward:!1})})},aYe=cXe,oYe=BXe,sYe=YXe,lYe=aVe,uYe=OVe,cYe=TVe,dYe=LVe,hYe=KXe,pYe=$Ve,fYe=vVe,mYe=YVe,gYe=rYe,vYe=HWe.exports.OrderedSet,yYe={replaceText:function(e,t,n,i,r){var a=fYe(e,t),o=mYe(a,t),s=aYe.create({style:i||vYe(),entity:r||null});return dYe(o,o.getSelectionAfter(),n,s)},insertText:function(e,t,n,i,r){return t.isCollapsed()||("production"!==go.env.NODE_ENV?hYe(!1,"Target range must be collapsed for `insertText`."):hYe(!1)),yYe.replaceText(e,t,n,i,r)},moveText:function(e,t,n){var i=uYe(e,t),r=yYe.removeRange(e,t,"backward");return yYe.replaceWithFragment(r,n,i)},replaceWithFragment:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA",r=fYe(e,t),a=mYe(r,t);return cYe(a,a.getSelectionAfter(),n,i)},removeRange:function(e,t,n){var i,r,a,o;t.getIsBackward()&&(t=t.merge({anchorKey:t.getFocusKey(),anchorOffset:t.getFocusOffset(),focusKey:t.getAnchorKey(),focusOffset:t.getAnchorOffset(),isBackward:!1})),i=t.getAnchorKey(),r=t.getFocusKey(),a=e.getBlockForKey(i),o=e.getBlockForKey(r);var s=t.getStartOffset(),l=t.getEndOffset(),u=a.getEntityAt(s),c=o.getEntityAt(l-1);if(i===r&&u&&u===c){var d=lYe(e.getEntityMap(),a,o,t,n);return mYe(e,d)}var h=fYe(e,t);return mYe(h,t)},splitBlock:function(e,t){var n=fYe(e,t),i=mYe(n,t);return gYe(i,i.getSelectionAfter())},applyInlineStyle:function(e,t,n){return oYe.add(e,t,n)},removeInlineStyle:function(e,t,n){return oYe.remove(e,t,n)},setBlockType:function(e,t,n){return pYe(e,t,(function(e){return e.merge({type:n,depth:0})}))},setBlockData:function(e,t,n){return pYe(e,t,(function(e){return e.merge({data:n})}))},mergeBlockData:function(e,t,n){return pYe(e,t,(function(e){return e.merge({data:e.getData().merge(n)})}))},applyEntity:function(e,t,n){var i=fYe(e,t);return sYe(i,t,n)}},bYe=yYe;var OYe=function(e){return Object.keys(e).map((function(t){return e[t]}))};function _Ye(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var wYe=dXe,kYe=OYe,xYe=HWe.exports,SYe=xYe.List,PYe=xYe.Repeat,EYe=xYe.Record,FYe=function(){return!0},CYe=EYe({start:null,end:null}),TYe=EYe({start:null,end:null,decoratorKey:null,leaves:null}),DYe={generate:function(e,t,n){var i=t.getLength();if(!i)return SYe.of(new TYe({start:0,end:0,decoratorKey:null,leaves:SYe.of(new CYe({start:0,end:0}))}));var r=[],a=n?n.getDecorations(t,e):SYe(PYe(null,i)),o=t.getCharacterList();return wYe(a,IYe,FYe,(function(e,t){r.push(new TYe({start:e,end:t,decoratorKey:a.get(e),leaves:AYe(o.slice(e,t).toList(),e)}))})),SYe(r)},fromJS:function(e){var t=e.leaves,n=function(e,t){if(null==e)return{};var n,i,r={},a=Object.keys(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,["leaves"]);return new TYe(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){_Ye(e,t,n[t])}))}return e}({},n,{leaves:null!=t?SYe(Array.isArray(t)?t:kYe(t)).map((function(e){return CYe(e)})):null}))}};function AYe(e,t){var n=[],i=e.map((function(e){return e.getStyle()})).toList();return wYe(i,IYe,FYe,(function(e,i){n.push(new CYe({start:e+t,end:i+t}))})),SYe(n)}function IYe(e,t){return e===t}var LYe=DYe;var zYe=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.getType=function(){return this.get("type")},r.getMutability=function(){return this.get("mutability")},r.getData=function(){return this.get("data")},i}((0,HWe.exports.Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object})),$Ye=zYe;var RYe=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))};function QYe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var jYe=$Ye,MYe=KXe,NYe=RYe,UYe=(0,HWe.exports.Map)(),qYe=NYe();function BYe(e,t){console.warn("WARNING: "+e+' will be deprecated soon!\nPlease use "'+t+'" instead.')}var GYe={getLastCreatedEntityKey:function(){return BYe("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),GYe.__getLastCreatedEntityKey()},create:function(e,t,n){return BYe("DraftEntity.create","contentState.createEntity"),GYe.__create(e,t,n)},add:function(e){return BYe("DraftEntity.add","contentState.addEntity"),GYe.__add(e)},get:function(e){return BYe("DraftEntity.get","contentState.getEntity"),GYe.__get(e)},__getAll:function(){return UYe},__loadWithEntities:function(e){UYe=e,qYe=NYe()},mergeData:function(e,t){return BYe("DraftEntity.mergeData","contentState.mergeEntityData"),GYe.__mergeData(e,t)},replaceData:function(e,t){return BYe("DraftEntity.replaceData","contentState.replaceEntityData"),GYe.__replaceData(e,t)},__getLastCreatedEntityKey:function(){return qYe},__create:function(e,t,n){return GYe.__add(new jYe({type:e,mutability:t,data:n||{}}))},__add:function(e){return qYe=NYe(),UYe=UYe.set(qYe,e),qYe},__get:function(e){var t=UYe.get(e);return t||("production"!==go.env.NODE_ENV?MYe(!1,"Unknown DraftEntity key: %s.",e):MYe(!1)),t},__mergeData:function(e,t){var n=GYe.__get(e),i=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){QYe(e,t,n[t])}))}return e}({},n.getData(),t),r=n.set("data",i);return UYe=UYe.set(e,r),r},__replaceData:function(e,t){var n=GYe.__get(e).set("data",t);return UYe=UYe.set(e,n),n}},WYe=GYe;var XYe=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},r.getAnchorKey=function(){return this.get("anchorKey")},r.getAnchorOffset=function(){return this.get("anchorOffset")},r.getFocusKey=function(){return this.get("focusKey")},r.getFocusOffset=function(){return this.get("focusOffset")},r.getIsBackward=function(){return this.get("isBackward")},r.getHasFocus=function(){return this.get("hasFocus")},r.hasEdgeWithin=function(e,t,n){var i=this.getAnchorKey(),r=this.getFocusKey();if(i===r&&i===e){var a=this.getStartOffset(),o=this.getEndOffset();return t<=a&&a<=n||t<=o&&o<=n}if(e!==i&&e!==r)return!1;var s=e===i?this.getAnchorOffset():this.getFocusOffset();return t<=s&&n>=s},r.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},r.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},r.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},r.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},r.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},i.createEmpty=function(e){return new i({anchorKey:e,anchorOffset:0,focusKey:e,focusOffset:0,isBackward:!1,hasFocus:!1})},i}((0,HWe.exports.Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1})),VYe=XYe,YYe=function(e){return!("undefined"==typeof window||!window.__DRAFT_GKX)&&!!window.__DRAFT_GKX[e]},ZYe=new RegExp("\r","g");var HYe=function(e){return e.replace(ZYe,"")};function KYe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){JYe(e,t,n[t])}))}return e}function JYe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var eZe=eXe,tZe=cXe,nZe=SXe,iZe=MXe,rZe=WYe,aZe=VYe,oZe=lVe,sZe=OYe,lZe=YYe,uZe=HWe.exports,cZe=HYe,dZe=uZe.List,hZe=uZe.Record,pZe=uZe.Repeat,fZe=uZe.Map,mZe=uZe.OrderedMap,gZe=hZe({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),vZe=lZe("draft_tree_data_support")?iZe:nZe,yZe=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.getEntityMap=function(){return rZe},r.getBlockMap=function(){return this.get("blockMap")},r.getSelectionBefore=function(){return this.get("selectionBefore")},r.getSelectionAfter=function(){return this.get("selectionAfter")},r.getBlockForKey=function(e){return this.getBlockMap().get(e)},r.getKeyBefore=function(e){return this.getBlockMap().reverse().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},r.getKeyAfter=function(e){return this.getBlockMap().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},r.getBlockAfter=function(e){return this.getBlockMap().skipUntil((function(t,n){return n===e})).skip(1).first()},r.getBlockBefore=function(e){return this.getBlockMap().reverse().skipUntil((function(t,n){return n===e})).skip(1).first()},r.getBlocksAsArray=function(){return this.getBlockMap().toArray()},r.getFirstBlock=function(){return this.getBlockMap().first()},r.getLastBlock=function(){return this.getBlockMap().last()},r.getPlainText=function(e){return this.getBlockMap().map((function(e){return e?e.getText():""})).join(e||"\n")},r.getLastCreatedEntityKey=function(){return rZe.__getLastCreatedEntityKey()},r.hasText=function(){var e=this.getBlockMap();return e.size>1||escape(e.first().getText()).replace(/%u200B/g,"").length>0},r.createEntity=function(e,t,n){return rZe.__create(e,t,n),this},r.mergeEntityData=function(e,t){return rZe.__mergeData(e,t),this},r.replaceEntityData=function(e,t){return rZe.__replaceData(e,t),this},r.addEntity=function(e){return rZe.__add(e),this},r.getEntity=function(e){return rZe.__get(e)},r.getAllEntities=function(){return rZe.__getAll()},r.loadWithEntities=function(e){return rZe.__loadWithEntities(e)},i.createFromBlockArray=function(e,t){var n=Array.isArray(e)?e:e.contentBlocks,r=eZe.createFromArray(n),a=r.isEmpty()?new aZe:aZe.createEmpty(r.first().getKey());return new i({blockMap:r,entityMap:t||rZe,selectionBefore:a,selectionAfter:a})},i.createFromText=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,n=e.split(t),r=n.map((function(e){return e=cZe(e),new vZe({key:oZe(),text:e,type:"unstyled",characterList:dZe(pZe(tZe.EMPTY,e.length))})}));return i.createFromBlockArray(r)},i.fromJS=function(e){return new i(KYe({},e,{blockMap:mZe(e.blockMap).map(i.createContentBlockFromJS),selectionBefore:new aZe(e.selectionBefore),selectionAfter:new aZe(e.selectionAfter)}))},i.createContentBlockFromJS=function(e){var t=e.characterList;return new vZe(KYe({},e,{data:fZe(e.data),characterList:null!=t?dZe((Array.isArray(t)?t:sZe(t)).map((function(e){return tZe.fromJS(e)}))):void 0}))},i}(gZe),bZe=yZe,OZe=KXe,_Ze="LTR",wZe=null;function kZe(e){return e===_Ze||"RTL"===e}function xZe(e){return kZe(e)||("production"!==go.env.NODE_ENV?OZe(!1,"`dir` must be a strong direction to be converted to HTML Direction"):OZe(!1)),e===_Ze?"ltr":"rtl"}function SZe(e){wZe=e}var PZe={NEUTRAL:"NEUTRAL",LTR:_Ze,RTL:"RTL",isStrong:kZe,getHTMLDir:xZe,getHTMLDirIfDifferent:function(e,t){return kZe(e)||("production"!==go.env.NODE_ENV?OZe(!1,"`dir` must be a strong direction to be converted to HTML Direction"):OZe(!1)),kZe(t)||("production"!==go.env.NODE_ENV?OZe(!1,"`otherDir` must be a strong direction to be converted to HTML Direction"):OZe(!1)),e===t?null:xZe(e)},setGlobalDir:SZe,initGlobalDir:function(){SZe(_Ze)},getGlobalDir:function(){return wZe||this.initGlobalDir(),wZe||("production"!==go.env.NODE_ENV?OZe(!1,"Global direction not set."):OZe(!1)),wZe}},EZe=PZe,FZe=KXe,CZe="־׀׃׆-א-ת-ׯװ-ײ׳-״-߀-߉ߊ-ߪߴ-ߵߺ-߿ࠀ-ࠕࠚࠤࠨ-࠰-࠾ࡀ-ࡘ-࡞-࢟יִײַ-ﬨשׁ-זּטּ-לּמּנּ-סּףּ-פּצּ-ﭏ",TZe="؈؋؍؛؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍ܐܒ-ܯ-ݍ-ޥޱ-ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-ﯓ-ﴽ﵀-﵏ﵐ-ﶏ-ﶒ-ﷇ-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴﹶ-ﻼ-",DZe=new RegExp("["+"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+CZe+TZe+"]"),AZe=new RegExp("["+CZe+TZe+"]");function IZe(e){var t=DZe.exec(e);return null==t?null:t[0]}function LZe(e){var t=IZe(e);return null==t?EZe.NEUTRAL:AZe.exec(t)?EZe.RTL:EZe.LTR}function zZe(e,t){if(t=t||EZe.NEUTRAL,!e.length)return t;var n=LZe(e);return n===EZe.NEUTRAL?t:n}function $Ze(e,t){return t||(t=EZe.getGlobalDir()),EZe.isStrong(t)||("production"!==go.env.NODE_ENV?FZe(!1,"Fallback direction must be a strong direction"):FZe(!1)),zZe(e,t)}var RZe={firstStrongChar:IZe,firstStrongCharDir:LZe,resolveBlockDir:zZe,getDirection:$Ze,isDirectionLTR:function(e,t){return $Ze(e,t)===EZe.LTR},isDirectionRTL:function(e,t){return $Ze(e,t)===EZe.RTL}},QZe=RZe;function jZe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var MZe,NZe=QZe,UZe=PZe,qZe=KXe,BZe=function(){function e(e){jZe(this,"_defaultDir",void 0),jZe(this,"_lastDir",void 0),e?UZe.isStrong(e)||("production"!==go.env.NODE_ENV?qZe(!1,"Default direction must be a strong direction (LTR or RTL)"):qZe(!1)):e=UZe.getGlobalDir(),this._defaultDir=e,this.reset()}var t=e.prototype;return t.reset=function(){this._lastDir=this._defaultDir},t.getDirection=function(e){return this._lastDir=NZe.getDirection(e,this._lastDir),this._lastDir},e}(),GZe=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")},WZe=BZe,XZe=HWe.exports,VZe=GZe,YZe=XZe.OrderedMap,ZZe={getDirectionMap:function(e,t){MZe?MZe.reset():MZe=new WZe;var n=e.getBlockMap(),i=n.valueSeq().map((function(e){return VZe(MZe).getDirection(e.getText())})),r=YZe(n.keySeq().zip(i));return null!=t&&XZe.is(t,r)?t:r}};function HZe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){KZe(e,t,n[t])}))}return e}function KZe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var JZe=LYe,eHe=bZe,tHe=ZZe,nHe=VYe,iHe=HWe.exports,rHe=iHe.OrderedSet,aHe=iHe.Record,oHe=iHe.Stack,sHe=iHe.OrderedMap,lHe=iHe.List,uHe=aHe({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:oHe(),selection:null,treeMap:null,undoStack:oHe()}),cHe=function(){t.createEmpty=function(e){return t.createWithContent(eHe.createFromText(""),e)},t.createWithContent=function(e,n){if(0===e.getBlockMap().count())return t.createEmpty(n);var i=e.getBlockMap().first().getKey();return t.create({currentContent:e,undoStack:oHe(),redoStack:oHe(),decorator:n||null,selection:nHe.createEmpty(i)})},t.create=function(e){var n=e.currentContent,i=HZe({},e,{treeMap:hHe(n,e.decorator),directionMap:tHe.getDirectionMap(n)});return new t(new uHe(i))},t.fromJS=function(e){return new t(new uHe(HZe({},e,{directionMap:null!=e.directionMap?sHe(e.directionMap):e.directionMap,inlineStyleOverride:null!=e.inlineStyleOverride?rHe(e.inlineStyleOverride):e.inlineStyleOverride,nativelyRenderedContent:null!=e.nativelyRenderedContent?eHe.fromJS(e.nativelyRenderedContent):e.nativelyRenderedContent,redoStack:null!=e.redoStack?oHe(e.redoStack.map((function(e){return eHe.fromJS(e)}))):e.redoStack,selection:null!=e.selection?new nHe(e.selection):e.selection,treeMap:null!=e.treeMap?sHe(e.treeMap).map((function(e){return lHe(e).map((function(e){return JZe.fromJS(e)}))})):e.treeMap,undoStack:null!=e.undoStack?oHe(e.undoStack.map((function(e){return eHe.fromJS(e)}))):e.undoStack,currentContent:eHe.fromJS(e.currentContent)})))},t.set=function(e,n){var i=e.getImmutable().withMutations((function(t){var i=t.get("decorator"),r=i;null===n.decorator?r=null:n.decorator&&(r=n.decorator);var a=n.currentContent||e.getCurrentContent();if(r!==i){var o,s=t.get("treeMap");return o=r&&i?function(e,t,n,i,r){return n.merge(t.toSeq().filter((function(t){return i.getDecorations(t,e)!==r.getDecorations(t,e)})).map((function(t){return JZe.generate(e,t,i)})))}(a,a.getBlockMap(),s,r,i):hHe(a,r),void t.merge({decorator:r,treeMap:o,nativelyRenderedContent:null})}a!==e.getCurrentContent()&&t.set("treeMap",function(e,t,n,i){var r=e.getCurrentContent().set("entityMap",n),a=r.getBlockMap();return e.getImmutable().get("treeMap").merge(t.toSeq().filter((function(e,t){return e!==a.get(t)})).map((function(e){return JZe.generate(r,e,i)})))}(e,a.getBlockMap(),a.getEntityMap(),r)),t.merge(n)}));return new t(i)};var e=t.prototype;function t(e){KZe(this,"_immutable",void 0),this._immutable=e}return e.toJS=function(){return this.getImmutable().toJS()},e.getAllowUndo=function(){return this.getImmutable().get("allowUndo")},e.getCurrentContent=function(){return this.getImmutable().get("currentContent")},e.getUndoStack=function(){return this.getImmutable().get("undoStack")},e.getRedoStack=function(){return this.getImmutable().get("redoStack")},e.getSelection=function(){return this.getImmutable().get("selection")},e.getDecorator=function(){return this.getImmutable().get("decorator")},e.isInCompositionMode=function(){return this.getImmutable().get("inCompositionMode")},e.mustForceSelection=function(){return this.getImmutable().get("forceSelection")},e.getNativelyRenderedContent=function(){return this.getImmutable().get("nativelyRenderedContent")},e.getLastChangeType=function(){return this.getImmutable().get("lastChangeType")},e.getInlineStyleOverride=function(){return this.getImmutable().get("inlineStyleOverride")},t.setInlineStyleOverride=function(e,n){return t.set(e,{inlineStyleOverride:n})},e.getCurrentInlineStyle=function(){var e=this.getInlineStyleOverride();if(null!=e)return e;var t=this.getCurrentContent(),n=this.getSelection();return n.isCollapsed()?function(e,t){var n=t.getStartKey(),i=t.getStartOffset(),r=e.getBlockForKey(n);if(i>0)return r.getInlineStyleAt(i-1);if(r.getLength())return r.getInlineStyleAt(0);return fHe(e,n)}(t,n):function(e,t){var n=t.getStartKey(),i=t.getStartOffset(),r=e.getBlockForKey(n);if(i<r.getLength())return r.getInlineStyleAt(i);if(i>0)return r.getInlineStyleAt(i-1);return fHe(e,n)}(t,n)},e.getBlockTree=function(e){return this.getImmutable().getIn(["treeMap",e])},e.isSelectionAtStartOfContent=function(){var e=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(e,0,0)},e.isSelectionAtEndOfContent=function(){var e=this.getCurrentContent().getBlockMap().last(),t=e.getLength();return this.getSelection().hasEdgeWithin(e.getKey(),t,t)},e.getDirectionMap=function(){return this.getImmutable().get("directionMap")},t.acceptSelection=function(e,t){return dHe(e,t,!1)},t.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),dHe(e,t,!0)},t.moveSelectionToEnd=function(e){var n=e.getCurrentContent().getLastBlock(),i=n.getKey(),r=n.getLength();return t.acceptSelection(e,new nHe({anchorKey:i,anchorOffset:r,focusKey:i,focusOffset:r,isBackward:!1}))},t.moveFocusToEnd=function(e){var n=t.moveSelectionToEnd(e);return t.forceSelection(n,n.getSelection())},t.push=function(e,n,i){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(e.getCurrentContent()===n)return e;var a=tHe.getDirectionMap(n,e.getDirectionMap());if(!e.getAllowUndo())return t.set(e,{currentContent:n,directionMap:a,lastChangeType:i,selection:n.getSelectionAfter(),forceSelection:r,inlineStyleOverride:null});var o=e.getSelection(),s=e.getCurrentContent(),l=e.getUndoStack(),u=n;o!==s.getSelectionAfter()||pHe(e,i)?(l=l.push(s),u=u.set("selectionBefore",o)):"insert-characters"!==i&&"backspace-character"!==i&&"delete-character"!==i||(u=u.set("selectionBefore",s.getSelectionBefore()));var c=e.getInlineStyleOverride(),d=["adjust-depth","change-block-type","split-block"];-1===d.indexOf(i)&&(c=null);var h={currentContent:u,directionMap:a,undoStack:l,redoStack:oHe(),lastChangeType:i,selection:n.getSelectionAfter(),forceSelection:r,inlineStyleOverride:c};return t.set(e,h)},t.undo=function(e){if(!e.getAllowUndo())return e;var n=e.getUndoStack(),i=n.peek();if(!i)return e;var r=e.getCurrentContent(),a=tHe.getDirectionMap(i,e.getDirectionMap());return t.set(e,{currentContent:i,directionMap:a,undoStack:n.shift(),redoStack:e.getRedoStack().push(r),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:r.getSelectionBefore()})},t.redo=function(e){if(!e.getAllowUndo())return e;var n=e.getRedoStack(),i=n.peek();if(!i)return e;var r=e.getCurrentContent(),a=tHe.getDirectionMap(i,e.getDirectionMap());return t.set(e,{currentContent:i,directionMap:a,undoStack:e.getUndoStack().push(r),redoStack:n.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:i.getSelectionAfter()})},e.getImmutable=function(){return this._immutable},t}();function dHe(e,t,n){return cHe.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function hHe(e,t){return e.getBlockMap().map((function(n){return JZe.generate(e,n,t)})).toOrderedMap()}function pHe(e,t){return t!==e.getLastChangeType()||"insert-characters"!==t&&"backspace-character"!==t&&"delete-character"!==t}function fHe(e,t){var n=e.getBlockMap().reverse().skipUntil((function(e,n){return n===t})).skip(1).skipUntil((function(e,t){return e.getLength()})).first();return n?n.getInlineStyleAt(n.getLength()-1):rHe()}var mHe=cHe,gHe=MXe,vHe=QVe,yHe=HWe.exports,bHe=KXe,OHe=yHe.OrderedMap,_He=yHe.List,wHe=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},kHe=function(e,t,n,i,r){if(!r)return e;var a="after"===i,o=t.getKey(),s=n.getKey(),l=t.getParentKey(),u=t.getNextSiblingKey(),c=t.getPrevSiblingKey(),d=n.getParentKey(),h=a?n.getNextSiblingKey():s,p=a?s:n.getPrevSiblingKey();return e.withMutations((function(e){wHe(l,e,(function(e){var t=e.getChildKeys();return e.merge({children:t.delete(t.indexOf(o))})})),wHe(c,e,(function(e){return e.merge({nextSibling:u})})),wHe(u,e,(function(e){return e.merge({prevSibling:c})})),wHe(h,e,(function(e){return e.merge({prevSibling:o})})),wHe(p,e,(function(e){return e.merge({nextSibling:o})})),wHe(d,e,(function(e){var t=e.getChildKeys(),n=t.indexOf(s),i=a?n+1:0!==n?n-1:0,r=t.toArray();return r.splice(i,0,o),e.merge({children:_He(r)})})),wHe(o,e,(function(e){return e.merge({nextSibling:h,prevSibling:p,parent:d})}))}))},xHe=function(e,t,n,i){"replace"===i&&("production"!==go.env.NODE_ENV?bHe(!1,"Replacing blocks is not supported."):bHe(!1));var r=n.getKey(),a=t.getKey();a===r&&("production"!==go.env.NODE_ENV?bHe(!1,"Block cannot be moved next to itself."):bHe(!1));var o=e.getBlockMap(),s=t instanceof gHe,l=[t],u=o.delete(a);s&&(l=[],u=o.withMutations((function(e){var n=t.getNextSiblingKey(),i=vHe(t,e);e.toSeq().skipUntil((function(e){return e.getKey()===a})).takeWhile((function(e){var t=e.getKey(),r=t===a,o=n&&t!==n,s=!n&&e.getParentKey()&&(!i||t!==i);return!!(r||o||s)})).forEach((function(t){l.push(t),e.delete(t.getKey())}))})));var c=u.toSeq().takeUntil((function(e){return e===n})),d=u.toSeq().skipUntil((function(e){return e===n})).skip(1),h=l.map((function(e){return[e.getKey(),e]})),p=OHe();if("before"===i){var f=e.getBlockBefore(r);f&&f.getKey()===t.getKey()&&("production"!==go.env.NODE_ENV?bHe(!1,"Block cannot be moved next to itself."):bHe(!1)),p=c.concat([].concat(h,[[r,n]]),d).toOrderedMap()}else if("after"===i){var m=e.getBlockAfter(r);m&&m.getKey()===a&&("production"!==go.env.NODE_ENV?bHe(!1,"Block cannot be moved next to itself."):bHe(!1)),p=c.concat([[r,n]].concat(h),d).toOrderedMap()}return e.merge({blockMap:kHe(p,t,n,i,s),selectionBefore:e.getSelectionAfter(),selectionAfter:e.getSelectionAfter().merge({anchorKey:a,focusKey:a})})};function SHe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){PHe(e,t,n[t])}))}return e}function PHe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var EHe=eXe,FHe=cXe,CHe=SXe,THe=MXe,DHe=bYe,AHe=mHe,IHe=lVe,LHe=HWe.exports,zHe=xHe,$He=YYe("draft_tree_data_support"),RHe=$He?THe:CHe,QHe=LHe.List,jHe=LHe.Repeat,MHe={insertAtomicBlock:function(e,t,n){var i=e.getCurrentContent(),r=e.getSelection(),a=DHe.removeRange(i,r,"backward"),o=a.getSelectionAfter(),s=DHe.splitBlock(a,o),l=s.getSelectionAfter(),u=DHe.setBlockType(s,l,"atomic"),c=FHe.create({entity:t}),d={key:IHe(),type:"atomic",text:n,characterList:QHe(jHe(c,n.length))},h={key:IHe(),type:"unstyled"};$He&&(d=SHe({},d,{nextSibling:h.key}),h=SHe({},h,{prevSibling:d.key}));var p=[new RHe(d),new RHe(h)],f=EHe.createFromArray(p),m=DHe.replaceWithFragment(u,l,f),g=m.merge({selectionBefore:r,selectionAfter:m.getSelectionAfter().set("hasFocus",!0)});return AHe.push(e,g,"insert-fragment")},moveAtomicBlock:function(e,t,n,i){var r,a=e.getCurrentContent(),o=e.getSelection();if("before"===i||"after"===i){var s=a.getBlockForKey("before"===i?n.getStartKey():n.getEndKey());r=zHe(a,t,s,i)}else{var l=DHe.removeRange(a,n,"backward"),u=l.getSelectionAfter(),c=l.getBlockForKey(u.getFocusKey());if(0===u.getStartOffset())r=zHe(l,t,c,"before");else if(u.getEndOffset()===c.getLength())r=zHe(l,t,c,"after");else{var d=DHe.splitBlock(l,u),h=d.getSelectionAfter(),p=d.getBlockForKey(h.getFocusKey());r=zHe(d,t,p,"before")}}var f=r.merge({selectionBefore:o,selectionAfter:r.getSelectionAfter().set("hasFocus",!0)});return AHe.push(e,f,"move-block")}};var NHe=HWe.exports.List,UHe=function(){function e(e){!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,"_decorators",void 0),this._decorators=e.slice()}var t=e.prototype;return t.getDecorations=function(e,t){var n=Array(e.getText().length).fill(null);return this._decorators.forEach((function(i,r){var a=0;(0,i.strategy)(e,(function(e,t){(function(e,t,n){for(var i=t;i<n;i++)if(null!=e[i])return!1;return!0})(n,e,t)&&(!function(e,t,n,i){for(var r=t;r<n;r++)e[r]=i}(n,e,t,r+"."+a),a++)}),t)})),NHe(n)},t.getComponentForKey=function(e){var t=parseInt(e.split(".")[0],10);return this._decorators[t].component},t.getPropsForKey=function(e){var t=parseInt(e.split(".")[0],10);return this._decorators[t].props},e}();var qHe=UHe;function BHe(e){return e.replace(/\//g,"-")}var GHe=function(e){return"object"==typeof e?Object.keys(e).filter((function(t){return e[t]})).map(BHe).join(" "):Array.prototype.map.call(arguments,BHe).join(" ")},WHe=g.default,XHe=GHe,VHe=(0,HWe.exports.Map)({"header-one":{element:"h1"},"header-two":{element:"h2"},"header-three":{element:"h3"},"header-four":{element:"h4"},"header-five":{element:"h5"},"header-six":{element:"h6"},section:{element:"section"},article:{element:"article"},"unordered-list-item":{element:"li",wrapper:WHe.createElement("ul",{className:XHe("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:WHe.createElement("ol",{className:XHe("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:WHe.createElement("pre",{className:XHe("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}}),YHe={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}},ZHe={exports:{}};!function(e,t){!function(n,i){var r="function",a="undefined",o="object",s="string",l="model",u="name",c="type",d="vendor",h="version",p="architecture",f="console",m="mobile",g="tablet",v="smarttv",y="wearable",b="embedded",O="Amazon",_="Apple",w="ASUS",k="BlackBerry",x="Firefox",S="Google",P="Huawei",E="LG",F="Microsoft",C="Motorola",T="Opera",D="Samsung",A="Sony",I="Xiaomi",L="Zebra",z="Facebook",$=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},R=function(e,t){return typeof e===s&&-1!==Q(t).indexOf(Q(e))},Q=function(e){return e.toLowerCase()},j=function(e,t){if(typeof e===s)return e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,""),typeof t===a?e:e.substring(0,255)},M=function(e,t){for(var n,a,s,l,u,c,d=0;d<t.length&&!u;){var h=t[d],p=t[d+1];for(n=a=0;n<h.length&&!u;)if(u=h[n++].exec(e))for(s=0;s<p.length;s++)c=u[++a],typeof(l=p[s])===o&&l.length>0?2===l.length?typeof l[1]==r?this[l[0]]=l[1].call(this,c):this[l[0]]=l[1]:3===l.length?typeof l[1]!==r||l[1].exec&&l[1].test?this[l[0]]=c?c.replace(l[1],l[2]):i:this[l[0]]=c?l[1].call(this,c,l[2]):i:4===l.length&&(this[l[0]]=c?l[3].call(this,c.replace(l[1],l[2])):i):this[l]=c||i;d+=2}},N=function(e,t){for(var n in t)if(typeof t[n]===o&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(R(t[n][r],e))return"?"===n?i:n}else if(R(t[n],e))return"?"===n?i:n;return e},U={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},q={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[h,[u,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[h,[u,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[u,h],[/opios[\/ ]+([\w\.]+)/i],[h,[u,"Opera Mini"]],[/\bopr\/([\w\.]+)/i],[h,[u,T]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[u,h],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[h,[u,"UCBrowser"]],[/\bqbcore\/([\w\.]+)/i],[h,[u,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[h,[u,"WeChat"]],[/konqueror\/([\w\.]+)/i],[h,[u,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[h,[u,"IE"]],[/yabrowser\/([\w\.]+)/i],[h,[u,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[u,/(.+)/,"$1 Secure Browser"],h],[/\bfocus\/([\w\.]+)/i],[h,[u,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[h,[u,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[h,[u,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[h,[u,"Dolphin"]],[/coast\/([\w\.]+)/i],[h,[u,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[h,[u,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[h,[u,x]],[/\bqihu|(qi?ho?o?|360)browser/i],[[u,"360 Browser"]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[u,/(.+)/,"$1 Browser"],h],[/(comodo_dragon)\/([\w\.]+)/i],[[u,/_/g," "],h],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[u,h],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i],[u],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[u,z],h],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[u,h],[/\bgsa\/([\w\.]+) .*safari\//i],[h,[u,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[h,[u,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[u,"Chrome WebView"],h],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[h,[u,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[u,h],[/version\/([\w\.]+) .*mobile\/\w+ (safari)/i],[h,[u,"Mobile Safari"]],[/version\/([\w\.]+) .*(mobile ?safari|safari)/i],[h,u],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[u,[h,N,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[u,h],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[u,"Netscape"],h],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[h,[u,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[u,h]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[p,"amd64"]],[/(ia32(?=;))/i],[[p,Q]],[/((?:i[346]|x)86)[;\)]/i],[[p,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[p,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[p,"armhf"]],[/windows (ce|mobile); ppc;/i],[[p,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[p,/ower/,"",Q]],[/(sun4\w)[;\)]/i],[[p,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[p,Q]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[pt]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[l,[d,D],[c,g]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[l,[d,D],[c,m]],[/\((ip(?:hone|od)[\w ]*);/i],[l,[d,_],[c,m]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[l,[d,_],[c,g]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[l,[d,P],[c,g]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}-[atu]?[ln][01259x][012359][an]?)\b(?!.+d\/s)/i],[l,[d,P],[c,m]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[l,/_/g," "],[d,I],[c,m]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[l,/_/g," "],[d,I],[c,g]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[l,[d,"OPPO"],[c,m]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[l,[d,"Vivo"],[c,m]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[l,[d,"Realme"],[c,m]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[l,[d,C],[c,m]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[l,[d,C],[c,g]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[l,[d,E],[c,g]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[l,[d,E],[c,m]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[l,[d,"Lenovo"],[c,g]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[l,/_/g," "],[d,"Nokia"],[c,m]],[/(pixel c)\b/i],[l,[d,S],[c,g]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[l,[d,S],[c,m]],[/droid.+ ([c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[l,[d,A],[c,m]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[l,"Xperia Tablet"],[d,A],[c,g]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[l,[d,"OnePlus"],[c,m]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[l,[d,O],[c,g]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[l,/(.+)/g,"Fire Phone $1"],[d,O],[c,m]],[/(playbook);[-\w\),; ]+(rim)/i],[l,d,[c,g]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[l,[d,k],[c,m]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[l,[d,w],[c,g]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[l,[d,w],[c,m]],[/(nexus 9)/i],[l,[d,"HTC"],[c,g]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony)[-_ ]?([-\w]*)/i],[d,[l,/_/g," "],[c,m]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[l,[d,"Acer"],[c,g]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[l,[d,"Meizu"],[c,m]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[l,[d,"Sharp"],[c,m]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[d,l,[c,m]],[/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[d,l,[c,g]],[/(surface duo)/i],[l,[d,F],[c,g]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[l,[d,"Fairphone"],[c,m]],[/(u304aa)/i],[l,[d,"AT&T"],[c,m]],[/\bsie-(\w*)/i],[l,[d,"Siemens"],[c,m]],[/\b(rct\w+) b/i],[l,[d,"RCA"],[c,g]],[/\b(venue[\d ]{2,7}) b/i],[l,[d,"Dell"],[c,g]],[/\b(q(?:mv|ta)\w+) b/i],[l,[d,"Verizon"],[c,g]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[l,[d,"Barnes & Noble"],[c,g]],[/\b(tm\d{3}\w+) b/i],[l,[d,"NuVision"],[c,g]],[/\b(k88) b/i],[l,[d,"ZTE"],[c,g]],[/\b(nx\d{3}j) b/i],[l,[d,"ZTE"],[c,m]],[/\b(gen\d{3}) b.+49h/i],[l,[d,"Swiss"],[c,m]],[/\b(zur\d{3}) b/i],[l,[d,"Swiss"],[c,g]],[/\b((zeki)?tb.*\b) b/i],[l,[d,"Zeki"],[c,g]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[d,"Dragon Touch"],l,[c,g]],[/\b(ns-?\w{0,9}) b/i],[l,[d,"Insignia"],[c,g]],[/\b((nxa|next)-?\w{0,9}) b/i],[l,[d,"NextBook"],[c,g]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[d,"Voice"],l,[c,m]],[/\b(lvtel\-)?(v1[12]) b/i],[[d,"LvTel"],l,[c,m]],[/\b(ph-1) /i],[l,[d,"Essential"],[c,m]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[l,[d,"Envizen"],[c,g]],[/\b(trio[-\w\. ]+) b/i],[l,[d,"MachSpeed"],[c,g]],[/\btu_(1491) b/i],[l,[d,"Rotor"],[c,g]],[/(shield[\w ]+) b/i],[l,[d,"Nvidia"],[c,g]],[/(sprint) (\w+)/i],[d,l,[c,m]],[/(kin\.[onetw]{3})/i],[[l,/\./g," "],[d,F],[c,m]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[l,[d,L],[c,g]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[l,[d,L],[c,m]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[d,l,[c,f]],[/droid.+; (shield) bui/i],[l,[d,"Nvidia"],[c,f]],[/(playstation [345portablevi]+)/i],[l,[d,A],[c,f]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[l,[d,F],[c,f]],[/smart-tv.+(samsung)/i],[d,[c,v]],[/hbbtv.+maple;(\d+)/i],[[l,/^/,"SmartTV"],[d,D],[c,v]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[d,E],[c,v]],[/(apple) ?tv/i],[d,[l,"Apple TV"],[c,v]],[/crkey/i],[[l,"Chromecast"],[d,S],[c,v]],[/droid.+aft(\w)( bui|\))/i],[l,[d,O],[c,v]],[/\(dtv[\);].+(aquos)/i],[l,[d,"Sharp"],[c,v]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[d,j],[l,j],[c,v]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[c,v]],[/((pebble))app/i],[d,l,[c,y]],[/droid.+; (glass) \d/i],[l,[d,S],[c,y]],[/droid.+; (wt63?0{2,3})\)/i],[l,[d,L],[c,y]],[/(quest( 2)?)/i],[l,[d,z],[c,y]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[d,[c,b]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[l,[c,m]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[l,[c,g]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[c,g]],[/(phone|mobile(?:[;\/]| safari)|pda(?=.+windows ce))/i],[[c,m]],[/(android[-\w\. ]{0,9});.+buil/i],[l,[d,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[h,[u,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[h,[u,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i],[u,h],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[h,u]],os:[[/microsoft (windows) (vista|xp)/i],[u,h],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[u,[h,N,U]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[u,"Windows"],[h,N,U]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[h,/_/g,"."],[u,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[u,"Mac OS"],[h,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[h,u],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[u,h],[/\(bb(10);/i],[h,[u,k]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[h,[u,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[h,[u,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[h,[u,"webOS"]],[/crkey\/([\d\.]+)/i],[h,[u,"Chromecast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[u,"Chromium OS"],h],[/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[u,h],[/(sunos) ?([\w\.\d]*)/i],[[u,"Solaris"],h],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[u,h]]},B=function(e,t){if(typeof e===o&&(t=e,e=i),!(this instanceof B))return new B(e,t).getResult();var r=e||(typeof n!==a&&n.navigator&&n.navigator.userAgent?n.navigator.userAgent:""),l=t?function(e,t){var n={};for(var i in e)t[i]&&t[i].length%2==0?n[i]=t[i].concat(e[i]):n[i]=e[i];return n}(q,t):q;return this.getBrowser=function(){var e={};return e.name=i,e.version=i,M.call(e,r,l.browser),e.major=function(e){return typeof e===s?e.replace(/[^\d\.]/g,"").split(".")[0]:i}(e.version),e},this.getCPU=function(){var e={};return e.architecture=i,M.call(e,r,l.cpu),e},this.getDevice=function(){var e={};return e.vendor=i,e.model=i,e.type=i,M.call(e,r,l.device),e},this.getEngine=function(){var e={};return e.name=i,e.version=i,M.call(e,r,l.engine),e},this.getOS=function(){var e={};return e.name=i,e.version=i,M.call(e,r,l.os),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(e){return r=typeof e===s&&e.length>255?j(e,255):e,this},this.setUA(r),this};B.VERSION="0.7.31",B.BROWSER=$([u,h,"major"]),B.CPU=$([p]),B.DEVICE=$([l,d,c,f,m,v,g,y,b]),B.ENGINE=B.OS=$([u,h]),e.exports&&(t=e.exports=B),t.UAParser=B;var G=typeof n!==a&&(n.jQuery||n.Zepto);if(G&&!G.ua){var W=new B;G.ua=W.getResult(),G.ua.get=function(){return W.getUA()},G.ua.set=function(e){W.setUA(e);var t=W.getResult();for(var n in t)G.ua[n]=t[n]}}}("object"==typeof window?window:x)}(ZHe,ZHe.exports);var HHe="Unknown",KHe={"Mac OS":"Mac OS X"};var JHe=(new(0,ZHe.exports)).getResult(),eKe=function(e){if(!e)return{major:"",minor:""};var t=e.split(".");return{major:t[0],minor:t[1]}}(JHe.browser.version),tKe={browserArchitecture:JHe.cpu.architecture||HHe,browserFullVersion:JHe.browser.version||HHe,browserMinorVersion:eKe.minor||HHe,browserName:JHe.browser.name||HHe,browserVersion:JHe.browser.major||HHe,deviceName:JHe.device.model||HHe,engineName:JHe.engine.name||HHe,engineVersion:JHe.engine.version||HHe,platformArchitecture:JHe.cpu.architecture||HHe,platformName:function(e){return KHe[e]||e}(JHe.os.name)||HHe,platformVersion:JHe.os.version||HHe,platformFullVersion:JHe.os.version||HHe},nKe=tKe,iKe=KXe,rKe=/\./,aKe=/\|\|/,oKe=/\s+\-\s+/,sKe=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,lKe=/^(\d*)(.*)/;function uKe(e,t){var n=e.split(aKe);return n.length>1?n.some((function(e){return OKe.contains(e,t)})):function(e,t){var n=e.split(oKe);if(n.length>0&&n.length<=2||("production"!==go.env.NODE_ENV?iKe(!1,'the "-" operator expects exactly 2 operands'):iKe(!1)),1===n.length)return cKe(n[0],t);var i=n[0],r=n[1];return mKe(i)&&mKe(r)||("production"!==go.env.NODE_ENV?iKe(!1,'operands to the "-" operator must be simple (no modifiers)'):iKe(!1)),cKe(">="+i,t)&&cKe("<="+r,t)}(e=n[0].trim(),t)}function cKe(e,t){if(""===(e=e.trim()))return!0;var n=t.split(rKe),i=pKe(e),r=i.modifier,a=i.rangeComponents;switch(r){case"<":return dKe(n,a);case"<=":return function(e,t){var n=bKe(e,t);return-1===n||0===n}(n,a);case">=":return hKe(n,a);case">":return function(e,t){return 1===bKe(e,t)}(n,a);case"~":case"~>":return function(e,t){var n=t.slice(),i=t.slice();i.length>1&&i.pop();var r=i.length-1,a=parseInt(i[r],10);fKe(a)&&(i[r]=a+1+"");return hKe(e,n)&&dKe(e,i)}(n,a);default:return function(e,t){return 0===bKe(e,t)}(n,a)}}function dKe(e,t){return-1===bKe(e,t)}function hKe(e,t){var n=bKe(e,t);return 1===n||0===n}function pKe(e){var t=e.split(rKe),n=t[0].match(sKe);return n||("production"!==go.env.NODE_ENV?iKe(!1,"expected regex to match but it did not"):iKe(!1)),{modifier:n[1],rangeComponents:[n[2]].concat(t.slice(1))}}function fKe(e){return!isNaN(e)&&isFinite(e)}function mKe(e){return!pKe(e).modifier}function gKe(e,t){for(var n=e.length;n<t;n++)e[n]="0"}function vKe(e,t){var n=e.match(lKe)[1],i=t.match(lKe)[1],r=parseInt(n,10),a=parseInt(i,10);return fKe(r)&&fKe(a)&&r!==a?yKe(r,a):yKe(e,t)}function yKe(e,t){return typeof e!=typeof t&&("production"!==go.env.NODE_ENV?iKe(!1,'"a" and "b" must be of the same type'):iKe(!1)),e>t?1:e<t?-1:0}function bKe(e,t){for(var n=function(e,t){gKe(e=e.slice(),(t=t.slice()).length);for(var n=0;n<t.length;n++){var i=t[n].match(/^[x*]$/i);if(i&&(t[n]=e[n]="0","*"===i[0]&&n===t.length-1))for(var r=n;r<e.length;r++)e[r]="0"}return gKe(t,e.length),[e,t]}(e,t),i=n[0],r=n[1],a=0;a<r.length;a++){var o=vKe(i[a],r[a]);if(o)return o}return 0}var OKe={contains:function(e,t){return uKe(e.trim(),t.trim())}},_Ke=OKe,wKe=Object.prototype.hasOwnProperty;var kKe=function(e,t,n){if(!e)return null;var i={};for(var r in e)wKe.call(e,r)&&(i[r]=t.call(n,e[r],r,e));return i};var xKe=function(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}},SKe=nKe,PKe=_Ke;function EKe(e,t,n,i){if(e===n)return!0;if(!n.startsWith(e))return!1;var r=n.slice(e.length);return!!t&&(r=i?i(r):r,PKe.contains(r,t))}function FKe(e){return"Windows"===SKe.platformName?e.replace(/^\s*NT/,""):e}var CKe=kKe({isBrowser:function(e){return EKe(SKe.browserName,SKe.browserFullVersion,e)},isBrowserArchitecture:function(e){return EKe(SKe.browserArchitecture,null,e)},isDevice:function(e){return EKe(SKe.deviceName,null,e)},isEngine:function(e){return EKe(SKe.engineName,SKe.engineVersion,e)},isPlatform:function(e){return EKe(SKe.platformName,SKe.platformFullVersion,e,FKe)},isPlatformArchitecture:function(e){return EKe(SKe.platformArchitecture,null,e)}},xKe);var TKe=function(e){return e&&e.ownerDocument?e.ownerDocument:document};var DKe=function(e){return!(!e||!e.ownerDocument)&&e.nodeType===Node.ELEMENT_NODE},AKe=DKe;var IKe=function e(t){if(AKe(t)){var n=t,i=n.getAttribute("data-offset-key");if(i)return i;for(var r=0;r<n.childNodes.length;r++){var a=e(n.childNodes[r]);if(a)return a}}return null},LKe=TKe,zKe=IKe;var $Ke=function(e){for(var t=e;t&&t!==LKe(e).documentElement;){var n=zKe(t);if(null!=n)return n;t=t.parentNode}return null};var RKe=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window};function QKe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var jKe=CKe,MKe=$Ke,NKe=RKe,UKe=KXe,qKe=GZe,BKe=HWe.exports.Map,GKe={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},WKe=jKe.isBrowser("IE <= 11"),XKe=function(){function e(e){var t=this;QKe(this,"observer",void 0),QKe(this,"container",void 0),QKe(this,"mutations",void 0),QKe(this,"onCharData",void 0),this.container=e,this.mutations=BKe();var n=NKe(e);n.MutationObserver&&!WKe?this.observer=new n.MutationObserver((function(e){return t.registerMutations(e)})):this.onCharData=function(e){e.target instanceof Node||("production"!==go.env.NODE_ENV?UKe(!1,"Expected target to be an instance of Node"):UKe(!1)),t.registerMutation({type:"characterData",target:e.target})}}var t=e.prototype;return t.start=function(){this.observer?this.observer.observe(this.container,GKe):this.container.addEventListener("DOMCharacterDataModified",this.onCharData)},t.stopAndFlushMutations=function(){var e=this.observer;e?(this.registerMutations(e.takeRecords()),e.disconnect()):this.container.removeEventListener("DOMCharacterDataModified",this.onCharData);var t=this.mutations;return this.mutations=BKe(),t},t.registerMutations=function(e){for(var t=0;t<e.length;t++)this.registerMutation(e[t])},t.getMutationTextContent=function(e){var t=e.type,n=e.target,i=e.removedNodes;if("characterData"===t){if(""!==n.textContent)return WKe?n.textContent.replace("\n",""):n.textContent}else if("childList"===t){if(i&&i.length)return"";if(""!==n.textContent)return n.textContent}return null},t.registerMutation=function(e){var t=this.getMutationTextContent(e);if(null!=t){var n=qKe(MKe(e.target));this.mutations=this.mutations.set(n,t)}},e}(),VKe="-",YKe={encode:function(e,t,n){return e+VKe+t+VKe+n},decode:function(e){var t=e.split(VKe).reverse(),n=t[0],i=t[1];return{blockKey:t.slice(2).reverse().join(VKe),decoratorKey:parseInt(i,10),leafKey:parseInt(n,10)}}},ZKe={BACKSPACE:8,TAB:9,RETURN:13,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,COMMA:188,PERIOD:190,A:65,Z:90,ZERO:48,NUMPAD_0:96,NUMPAD_9:105},HKe={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}};var KKe=function(e){return!(!e||!e.ownerDocument)&&(e.ownerDocument.defaultView?e instanceof e.ownerDocument.defaultView.HTMLElement:e instanceof HTMLElement)},JKe=KXe,eJe=KKe;var tJe=function(e){var t=e.editorContainer;return t||("production"!==go.env.NODE_ENV?JKe(!1,"Missing editorNode"):JKe(!1)),eJe(t.firstChild)||("production"!==go.env.NODE_ENV?JKe(!1,"editorNode.firstChild is not an HTMLElement"):JKe(!1)),t.firstChild},nJe=YKe,iJe=GZe;var rJe=function(e,t,n,i,r){var a=iJe(e.getSelection());if(!t||!i)return"production"!==go.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),a;var o=nJe.decode(t),s=o.blockKey,l=e.getBlockTree(s),u=l&&l.getIn([o.decoratorKey,"leaves",o.leafKey]),c=nJe.decode(i),d=c.blockKey,h=e.getBlockTree(d),p=h&&h.getIn([c.decoratorKey,"leaves",c.leafKey]);if(!u||!p)return"production"!==go.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),a;var f=u.get("start"),m=p.get("start"),g=u?f+n:null,v=p?m+r:null,y=a.getAnchorKey()===s&&a.getAnchorOffset()===g&&a.getFocusKey()===d&&a.getFocusOffset()===v;if(y)return a;var b=!1;if(s===d){var O=u.get("end"),_=p.get("end");b=m===f&&_===O?r<n:m<f}else{var w=e.getCurrentContent().getBlockMap().keySeq().skipUntil((function(e){return e===s||e===d})).first();b=w===d}return a.merge({anchorKey:s,anchorOffset:g,focusKey:d,focusOffset:v,isBackward:b})},aJe=$Ke,oJe=IKe,sJe=rJe,lJe=KXe,uJe=DKe,cJe=GZe;function dJe(e,t,n){var i=t,r=aJe(i);(null!=r||e&&(e===i||e.firstChild===i)||("production"!==go.env.NODE_ENV?lJe(!1,"Unknown node in selection range."):lJe(!1)),e===i)&&(i=i.firstChild,uJe(i)||("production"!==go.env.NODE_ENV?lJe(!1,"Invalid DraftEditorContents node."):lJe(!1)),"true"!==(i=i).getAttribute("data-contents")&&("production"!==go.env.NODE_ENV?lJe(!1,"Invalid DraftEditorContents structure."):lJe(!1)),n>0&&(n=i.childNodes.length));if(0===n){var a=null;if(null!=r)a=r;else{var o=function(e){for(;e.firstChild&&(uJe(e.firstChild)&&"true"===e.firstChild.getAttribute("data-blocks")||oJe(e.firstChild));)e=e.firstChild;return e}(i);a=cJe(oJe(o))}return{key:a,offset:0}}var s=i.childNodes[n-1],l=null,u=null;if(oJe(s)){var c=function(e){for(;e.lastChild&&(uJe(e.lastChild)&&"true"===e.lastChild.getAttribute("data-blocks")||oJe(e.lastChild));)e=e.lastChild;return e}(s);l=cJe(oJe(c)),u=hJe(c)}else l=cJe(r),u=hJe(s);return{key:l,offset:u}}function hJe(e){var t=e.textContent;return"\n"===t?0:t.length}var pJe=function(e,t,n,i,r,a){var o=n.nodeType===Node.TEXT_NODE,s=r.nodeType===Node.TEXT_NODE;if(o&&s)return{selectionState:sJe(e,cJe(aJe(n)),i,cJe(aJe(r)),a),needsRecovery:!1};var l=null,u=null,c=!0;return o?(l={key:cJe(aJe(n)),offset:i},u=dJe(t,r,a)):s?(u={key:cJe(aJe(r)),offset:a},l=dJe(t,n,i)):(l=dJe(t,n,i),u=dJe(t,r,a),n===r&&i===a&&(c=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:sJe(e,l.key,l.offset,u.key,u.offset),needsRecovery:c}},fJe=pJe;var mJe=function(e,t){var n=t.ownerDocument.defaultView.getSelection(),i=n.anchorNode,r=n.anchorOffset,a=n.focusNode,o=n.focusOffset;return 0===n.rangeCount||null==i||null==a?{selectionState:e.getSelection().set("hasFocus",!1),needsRecovery:!1}:fJe(e,t,i,r,a,o)},gJe=HKe,vJe=mHe,yJe=tJe,bJe=mJe;var OJe=function(e){if(e._blockSelectEvents||e._latestEditorState!==e.props.editorState){if(e._blockSelectEvents){var t=e.props.editorState.getSelection();gJe.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(t.toJS())})}}else{var n=e.props.editorState,i=bJe(n,yJe(e)),r=i.selectionState;r!==n.getSelection()&&(n=i.needsRecovery?vJe.forceSelection(n,r):vJe.acceptSelection(n,r),e.update(n))}};var _Je={notEmptyKey:function(e){return null!=e&&""!=e}},wJe=_Je.notEmptyKey;function kJe(e,t){return wJe(t)&&"MUTABLE"===e.__get(t).getMutability()?t:null}var xJe=function(e,t){var n;if(t.isCollapsed()){var i=t.getAnchorKey(),r=t.getAnchorOffset();return r>0?(n=e.getBlockForKey(i).getEntityAt(r-1))!==e.getBlockForKey(i).getEntityAt(r)?null:kJe(e.getEntityMap(),n):null}var a=t.getStartKey(),o=t.getStartOffset(),s=e.getBlockForKey(a);return n=o===s.getLength()?null:s.getEntityAt(o),kJe(e.getEntityMap(),n)},SJe=XKe,PJe=bYe,EJe=YKe,FJe=mHe,CJe=ZKe,TJe=tJe,DJe=mJe,AJe=xJe,IJe=GZe,LJe=!1,zJe=!1,$Je=null;var RJe={onCompositionStart:function(e){zJe=!0,function(e){$Je||($Je=new SJe(TJe(e))).start()}(e)},onCompositionEnd:function(e){LJe=!1,zJe=!1,setTimeout((function(){LJe||RJe.resolveComposition(e)}),20)},onSelect:OJe,onKeyDown:function(e,t){if(!zJe)return RJe.resolveComposition(e),void e._onKeyDown(t);t.which!==CJe.RIGHT&&t.which!==CJe.LEFT||t.preventDefault()},onKeyPress:function(e,t){t.which===CJe.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!zJe){var t=IJe($Je).stopAndFlushMutations();$Je=null,LJe=!0;var n=FJe.set(e._latestEditorState,{inCompositionMode:!1});if(e.exitCurrentMode(),t.size){var i=n.getCurrentContent();t.forEach((function(e,t){var r=EJe.decode(t),a=r.blockKey,o=r.decoratorKey,s=r.leafKey,l=n.getBlockTree(a).getIn([o,"leaves",s]),u=l.start,c=l.end,d=n.getSelection().merge({anchorKey:a,focusKey:a,anchorOffset:u,focusOffset:c,isBackward:!1}),h=AJe(i,d),p=i.getBlockForKey(a).getInlineStyleAt(u);i=PJe.replaceText(i,d,e,p,h),n=FJe.set(n,{currentContent:i})}));var r=DJe(n,TJe(e)).selectionState;e.restoreEditorDOM();var a=FJe.acceptSelection(n,r);e.update(FJe.push(a,i,"insert-characters"))}else e.update(n)}}},QJe=RJe,jJe=XZ;function MJe(){return MJe=jJe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},MJe.apply(this,arguments)}var NJe=YKe,UJe=g.default,qJe=QZe,BJe=PZe,GJe=function(e){var t,n;function i(){return e.apply(this,arguments)||this}return n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i.prototype.render=function(){var e=this.props,t=e.block,n=e.children,i=e.contentState,r=e.decorator,a=e.decoratorKey,o=e.direction,s=e.leafSet,l=e.text,u=t.getKey(),c=s.get("leaves"),d=r.getComponentForKey(a),h=r.getPropsForKey(a),p=NJe.encode(u,parseInt(a,10),0),f=l.slice(c.first().get("start"),c.last().get("end")),m=BJe.getHTMLDirIfDifferent(qJe.getDirection(f),o);return UJe.createElement(d,MJe({},h,{contentState:i,decoratedText:f,dir:m,key:p,entityKey:t.getEntityAt(s.get("start")),offsetKey:p}),n)},i}(UJe.Component),WJe=GJe;function XJe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VJe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var YJe=g.default,ZJe=KXe,HJe=DKe,KJe=CKe.isBrowser("IE <= 11");var JJe=function(e){var t,n;function i(t){var n;return VJe(XJe(n=e.call(this,t)||this),"_forceFlag",void 0),VJe(XJe(n),"_node",void 0),n._forceFlag=!1,n}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){var t=this._node,n=""===e.children;HJe(t)||("production"!==go.env.NODE_ENV?ZJe(!1,"node is not an Element"):ZJe(!1));var i=t;return n?!function(e){return KJe?"\n"===e.textContent:"BR"===e.tagName}(i):i.textContent!==e.children},r.componentDidMount=function(){this._forceFlag=!this._forceFlag},r.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},r.render=function(){var e,t=this;return""===this.props.children?this._forceFlag?(e=function(e){return t._node=e},KJe?YJe.createElement("span",{key:"A","data-text":"true",ref:e},"\n"):YJe.createElement("br",{key:"A","data-text":"true",ref:e})):function(e){return KJe?YJe.createElement("span",{key:"B","data-text":"true",ref:e},"\n"):YJe.createElement("br",{key:"B","data-text":"true",ref:e})}((function(e){return t._node=e})):YJe.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(e){return t._node=e}},this.props.children)},i}(YJe.Component),e0e=JJe,t0e=DKe;var n0e=function(e){return!(!e||!e.ownerDocument)&&(t0e(e)&&"BR"===e.nodeName)};var i0e=function(e){var t=(e?e.ownerDocument||e:document).defaultView||window;return!(!e||!("function"==typeof t.Node?e instanceof t.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))};var r0e=function(e){return i0e(e)&&3==e.nodeType};var a0e=function e(t,n){return!(!t||!n)&&(t===n||!r0e(t)&&(r0e(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))};var o0e=function(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}},s0e=HKe,l0e=a0e,u0e=o0e,c0e=TKe,d0e=KXe,h0e=DKe,p0e=CKe.isBrowser("IE");function f0e(e,t){if(!e)return"[empty]";var n=m0e(e,t);return n.nodeType===Node.TEXT_NODE?n.textContent:(h0e(n)||("production"!==go.env.NODE_ENV?d0e(!1,"Node must be an Element if it is not a text node."):d0e(!1)),n.outerHTML)}function m0e(e,t){var n=void 0!==t?t(e):[];if(e.nodeType===Node.TEXT_NODE){var i=e.textContent.length;return c0e(e).createTextNode("[text "+i+(n.length?" | "+n.join(", "):"")+"]")}var r=e.cloneNode();1===r.nodeType&&n.length&&r.setAttribute("data-labels",n.join(", "));for(var a=e.childNodes,o=0;o<a.length;o++)r.appendChild(m0e(a[o],t));return r}function g0e(e,t){for(var n=e,i=n;n;){if(h0e(n)&&i.hasAttribute("contenteditable"))return f0e(n,t);i=n=n.parentNode}return"Could not find contentEditable parent of node"}function v0e(e){return null===e.nodeValue?e.childNodes.length:e.nodeValue.length}function y0e(e,t,n,i){var r=u0e();if(e.extend&&null!=t&&l0e(r,t)){n>v0e(t)&&s0e.logSelectionStateFailure({anonymizedDom:g0e(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(i.toJS())});var a=t===e.focusNode;try{e.rangeCount>0&&e.extend&&e.extend(t,n)}catch(o){throw s0e.logSelectionStateFailure({anonymizedDom:g0e(t,(function(t){var n=[];return t===r&&n.push("active element"),t===e.anchorNode&&n.push("selection anchor node"),t===e.focusNode&&n.push("selection focus node"),n})),extraParams:JSON.stringify({activeElementName:r?r.nodeName:null,nodeIsFocus:t===e.focusNode,nodeWasFocus:a,selectionRangeCount:e.rangeCount,selectionAnchorNodeName:e.anchorNode?e.anchorNode.nodeName:null,selectionAnchorOffset:e.anchorOffset,selectionFocusNodeName:e.focusNode?e.focusNode.nodeName:null,selectionFocusOffset:e.focusOffset,message:o?""+o:null,offset:n},null,2),selectionState:JSON.stringify(i.toJS(),null,2)}),o}}else if(t&&e.rangeCount>0){var o=e.getRangeAt(0);o.setEnd(t,n),e.addRange(o.cloneRange())}}function b0e(e,t,n,i){var r=c0e(t).createRange();if(n>v0e(t)&&s0e.logSelectionStateFailure({anonymizedDom:g0e(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(i.toJS())}),r.setStart(t,n),p0e)try{e.addRange(r)}catch(e){"production"!==go.env.NODE_ENV&&console.warn("Call to selection.addRange() threw exception: ",e)}else e.addRange(r)}var O0e=function(e,t,n,i,r){var a=c0e(t);if(l0e(a.documentElement,t)){var o=a.defaultView.getSelection(),s=e.getAnchorKey(),l=e.getAnchorOffset(),u=e.getFocusKey(),c=e.getFocusOffset(),d=e.getIsBackward();if(!o.extend&&d){var h=s,p=l;s=u,l=c,u=h,c=p,d=!1}var f=s===n&&i<=l&&r>=l,m=u===n&&i<=c&&r>=c;if(f&&m)return o.removeAllRanges(),b0e(o,t,l-i,e),void y0e(o,t,c-i,e);if(d){if(m&&(o.removeAllRanges(),b0e(o,t,c-i,e)),f){var g=o.focusNode,v=o.focusOffset;o.removeAllRanges(),b0e(o,t,l-i,e),y0e(o,g,v,e)}}else f&&(o.removeAllRanges(),b0e(o,t,l-i,e)),m&&y0e(o,t,c-i,e)}},_0e=XZ;function w0e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k0e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var x0e=e0e,S0e=g.default,P0e=KXe,E0e=n0e,F0e=O0e,C0e=function(e){var t,n;function i(){for(var t,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return k0e(w0e(t=e.call.apply(e,[this].concat(i))||this),"leaf",void 0),t}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r._setSelection=function(){var e=this.props.selection;if(null!=e&&e.getHasFocus()){var t=this.props,n=t.block,i=t.start,r=t.text,a=n.getKey(),o=i+r.length;if(e.hasEdgeWithin(a,i,o)){var s=this.leaf;s||("production"!==go.env.NODE_ENV?P0e(!1,"Missing node"):P0e(!1));var l,u=s.firstChild;u||("production"!==go.env.NODE_ENV?P0e(!1,"Missing child"):P0e(!1)),u.nodeType===Node.TEXT_NODE?l=u:E0e(u)?l=s:(l=u.firstChild)||("production"!==go.env.NODE_ENV?P0e(!1,"Missing targetNode"):P0e(!1)),F0e(e,l,a,i,o)}}},r.shouldComponentUpdate=function(e){var t=this.leaf;return t||("production"!==go.env.NODE_ENV?P0e(!1,"Missing leafNode"):P0e(!1)),t.textContent!==e.text||e.styleSet!==this.props.styleSet||e.forceSelection},r.componentDidUpdate=function(){this._setSelection()},r.componentDidMount=function(){this._setSelection()},r.render=function(){var e=this,t=this.props.block,n=this.props.text;n.endsWith("\n")&&this.props.isLast&&(n+="\n");var i=this.props,r=i.customStyleMap,a=i.customStyleFn,o=i.offsetKey,s=i.styleSet,l=s.reduce((function(e,t){var n={},i=r[t];return void 0!==i&&e.textDecoration!==i.textDecoration&&(n.textDecoration=[e.textDecoration,i.textDecoration].join(" ").trim()),_0e(e,i,n)}),{});if(a){var u=a(s,t);l=_0e(l,u)}return S0e.createElement("span",{"data-offset-key":o,ref:function(t){return e.leaf=t},style:l},S0e.createElement(x0e,null,n))},i}(S0e.Component),T0e=C0e;var D0e=WJe,A0e=T0e,I0e=YKe,L0e=HWe.exports,z0e=g.default,$0e=GHe;L0e.List;var R0e=function(e){var t,n;function i(){return e.apply(this,arguments)||this}return n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i.prototype.render=function(){var e=this.props,t=e.block,n=e.contentState,i=e.customStyleFn,r=e.customStyleMap,a=e.decorator,o=e.direction,s=e.forceSelection,l=e.hasSelection,u=e.selection,c=e.tree,d=t.getKey(),h=t.getText(),p=c.size-1,f=this.props.children||c.map((function(e,c){var f=e.get("decoratorKey"),m=e.get("leaves"),g=m.size-1,v=m.map((function(e,n){var a=I0e.encode(d,c,n),o=e.get("start"),m=e.get("end");return z0e.createElement(A0e,{key:a,offsetKey:a,block:t,start:o,selection:l?u:null,forceSelection:s,text:h.slice(o,m),styleSet:t.getInlineStyleAt(o),customStyleMap:r,customStyleFn:i,isLast:f===p&&n===g})})).toArray();return f&&a?z0e.createElement(D0e,{block:t,children:v,contentState:n,decorator:a,decoratorKey:f,direction:o,leafSet:e,text:h,key:c}):v})).toArray();return z0e.createElement("div",{"data-offset-key":I0e.encode(d,0,0),className:$0e({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===o,"public/DraftStyleDefault/rtl":"RTL"===o})},f)},i}(z0e.Component),Q0e=R0e;function j0e(e,t){return!!t&&(e===t.documentElement||e===t.body)}var M0e={getTop:function(e){var t=e.ownerDocument;return j0e(e,t)?t.body.scrollTop||t.documentElement.scrollTop:e.scrollTop},setTop:function(e,t){var n=e.ownerDocument;j0e(e,n)?n.body.scrollTop=n.documentElement.scrollTop=t:e.scrollTop=t},getLeft:function(e){var t=e.ownerDocument;return j0e(e,t)?t.body.scrollLeft||t.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,t){var n=e.ownerDocument;j0e(e,n)?n.body.scrollLeft=n.documentElement.scrollLeft=t:e.scrollLeft=t}},N0e=M0e,U0e=/-(.)/g;var q0e=function(e){return e.replace(U0e,(function(e,t){return t.toUpperCase()}))},B0e=/([A-Z])/g;var G0e=function(e){return e.replace(B0e,"-$1").toLowerCase()},W0e=q0e,X0e=G0e;function V0e(e){return null==e?e:String(e)}var Y0e=function(e,t){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(e,null)))return V0e(n.getPropertyValue(X0e(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(e,null))return V0e(n.getPropertyValue(X0e(t)));if("display"===t)return"none"}return e.currentStyle?V0e("float"===t?e.currentStyle.cssFloat||e.currentStyle.styleFloat:e.currentStyle[W0e(t)]):V0e(e.style&&e.style[W0e(t)])};function Z0e(e,t){var n=H0e.get(e,t);return"auto"===n||"scroll"===n}var H0e={get:Y0e,getScrollParent:function(e){if(!e)return null;for(var t=e.ownerDocument;e&&e!==t.body;){if(Z0e(e,"overflow")||Z0e(e,"overflowY")||Z0e(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}},K0e=H0e,J0e=a0e;var e1e=function(e){var t=e.ownerDocument.documentElement;if(!("getBoundingClientRect"in e)||!J0e(t,e))return{left:0,right:0,top:0,bottom:0};var n=e.getBoundingClientRect();return{left:Math.round(n.left)-t.clientLeft,right:Math.round(n.right)-t.clientLeft,top:Math.round(n.top)-t.clientTop,bottom:Math.round(n.bottom)-t.clientTop}};var t1e=function(e){var t=e1e(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}},n1e="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;var i1e=function(e){return(e=e||document).scrollingElement?e.scrollingElement:n1e||"CSS1Compat"!==e.compatMode?e.body:e.documentElement};var r1e=i1e,a1e=function(e){return e.Window&&e instanceof e.Window?{x:e.pageXOffset||e.document.documentElement.scrollLeft,y:e.pageYOffset||e.document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}};var o1e=function(e){var t=r1e(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var n=a1e(e),i=e===t?e.ownerDocument.documentElement:e,r=e.scrollWidth-i.clientWidth,a=e.scrollHeight-i.clientHeight;return n.x=Math.max(0,Math.min(n.x,r)),n.y=Math.max(0,Math.min(n.y,a)),n};function s1e(){var e;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function l1e(){var e;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function u1e(){return{width:window.innerWidth||s1e(),height:window.innerHeight||l1e()}}u1e.withoutScrollbars=function(){return{width:s1e(),height:l1e()}};var c1e=u1e,d1e=XZ;function h1e(){return h1e=d1e||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},h1e.apply(this,arguments)}function p1e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f1e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){m1e(e,t,n[t])}))}return e}function m1e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g1e=Q0e,v1e=YKe,y1e=g.default,b1e=N0e,O1e=K0e,_1e=t1e,w1e=o1e,k1e=c1e,x1e=KXe,S1e=KKe;HWe.exports.List;var P1e=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},E1e=function(e,t){var n=t.get(e.getType())||t.get("unstyled"),i=n.wrapper;return{Element:n.element||t.get("unstyled").element,wrapperTemplate:i}},F1e=function(e,t){var n=t(e);return n?{CustomComponent:n.component,customProps:n.props,customEditable:n.editable}:{}},C1e=function(e,t,n,i,r,a){var o={"data-block":!0,"data-editor":t,"data-offset-key":n,key:e.getKey(),ref:a},s=i(e);return s&&(o.className=s),void 0!==r.customEditable&&(o=f1e({},o,{contentEditable:r.customEditable,suppressContentEditableWarning:!0})),o},T1e=function(e){var t,n;function i(){for(var t,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return m1e(p1e(t=e.call.apply(e,[this].concat(i))||this),"wrapperRef",y1e.createRef()),t}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){var t=this.props,n=t.block,i=t.direction,r=t.tree,a=!n.getChildKeys().isEmpty(),o=n!==e.block||r!==e.tree||i!==e.direction||P1e(e.selection,e.block.getKey())&&e.forceSelection;return a||o},r.componentDidMount=function(){var e=this.props.selection,t=e.getEndKey();if(e.getHasFocus()&&t===this.props.block.getKey()){var n=this.wrapperRef.current;if(n){var i,r=O1e.getScrollParent(n),a=w1e(r);if(r===window){var o=_1e(n);(i=o.y+o.height-k1e().height)>0&&window.scrollTo(a.x,a.y+i+10)}else{S1e(n)||("production"!==go.env.NODE_ENV?x1e(!1,"blockNode is not an HTMLElement"):x1e(!1));var s=n;(i=s.offsetHeight+s.offsetTop-(r.offsetHeight+a.y))>0&&b1e.setTop(r,b1e.getTop(r)+i+10)}}}},r.render=function(){var e=this,t=this.props,n=t.block,r=t.blockRenderMap,a=t.blockRendererFn,o=t.blockStyleFn,s=t.contentState,l=t.decorator,u=t.editorKey,c=t.editorState,d=t.customStyleFn,h=t.customStyleMap,p=t.direction,f=t.forceSelection,m=t.selection,g=t.tree,v=null;n.children.size&&(v=n.children.reduce((function(t,n){var l=v1e.encode(n,0,0),d=s.getBlockForKey(n),h=F1e(d,a),p=h.CustomComponent||i,f=E1e(d,r),m=f.Element,g=f.wrapperTemplate,v=C1e(d,u,l,o,h,null),y=f1e({},e.props,{tree:c.getBlockTree(n),blockProps:h.customProps,offsetKey:l,block:d});return t.push(y1e.createElement(m,v,y1e.createElement(p,y))),!g||function(e,t){var n=e.getNextSiblingKey();return!!n&&t.getBlockForKey(n).getType()===e.getType()}(d,s)||function(e,t,n){var i=[],r=!0,a=!1,o=void 0;try{for(var s,l=n.reverse()[Symbol.iterator]();!(r=(s=l.next()).done);r=!0){var u=s.value;if(u.type!==t)break;i.push(u)}}catch(e){a=!0,o=e}finally{try{r||null==l.return||l.return()}finally{if(a)throw o}}n.splice(n.indexOf(i[0]),i.length+1);var c=i.reverse(),d=c[0].key;n.push(y1e.cloneElement(e,{key:"".concat(d,"-wrap"),"data-offset-key":v1e.encode(d,0,0)},c))}(g,m,t),t}),[]));var y=n.getKey(),b=v1e.encode(y,0,0),O=F1e(n,a),_=O.CustomComponent,w=null!=_?y1e.createElement(_,h1e({},this.props,{tree:c.getBlockTree(y),blockProps:O.customProps,offsetKey:b,block:n})):y1e.createElement(g1e,{block:n,children:v,contentState:s,customStyleFn:d,customStyleMap:h,decorator:l,direction:p,forceSelection:f,hasSelection:P1e(m,y),selection:m,tree:g});if(n.getParentKey())return w;var k=E1e(n,r).Element,x=C1e(n,u,b,o,O,this.wrapperRef);return y1e.createElement(k,x,w)},i}(y1e.Component),D1e=XZ;function A1e(){return A1e=D1e||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},A1e.apply(this,arguments)}var I1e=T1e,L1e=YKe,z1e=g.default,$1e=GZe,R1e=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){var t=this.props.editorState,n=e.editorState;if(t.getDirectionMap()!==n.getDirectionMap())return!0;if(t.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var i=n.getNativelyRenderedContent(),r=t.isInCompositionMode(),a=n.isInCompositionMode();if(t===n||null!==i&&n.getCurrentContent()===i||r&&a)return!1;var o=t.getCurrentContent(),s=n.getCurrentContent(),l=t.getDecorator(),u=n.getDecorator();return r!==a||o!==s||l!==u||n.mustForceSelection()},r.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,i=e.blockStyleFn,r=e.customStyleMap,a=e.customStyleFn,o=e.editorState,s=e.editorKey,l=e.textDirectionality,u=o.getCurrentContent(),c=o.getSelection(),d=o.mustForceSelection(),h=o.getDecorator(),p=$1e(o.getDirectionMap()),f=[],m=u.getBlocksAsArray()[0];m;){var g=m.getKey(),v={blockRenderMap:t,blockRendererFn:n,blockStyleFn:i,contentState:u,customStyleFn:a,customStyleMap:r,decorator:h,editorKey:s,editorState:o,forceSelection:d,selection:c,block:m,direction:l||p.get(g),tree:o.getBlockTree(g)},y=(t.get(m.getType())||t.get("unstyled")).wrapper;f.push({block:z1e.createElement(I1e,A1e({key:g},v)),wrapperTemplate:y,key:g,offsetKey:L1e.encode(g,0,0)});var b=m.getNextSiblingKey();m=b?u.getBlockForKey(b):null}for(var O=[],_=0;_<f.length;){var w=f[_];if(w.wrapperTemplate){var k=[];do{k.push(f[_].block),_++}while(_<f.length&&f[_].wrapperTemplate===w.wrapperTemplate);var x=z1e.cloneElement(w.wrapperTemplate,{key:w.key+"-wrap","data-offset-key":w.offsetKey},k);O.push(x)}else O.push(w.block),_++}return z1e.createElement("div",{"data-contents":"true"},O)},i}(z1e.Component),Q1e=R1e,j1e=XZ;function M1e(){return M1e=j1e||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},M1e.apply(this,arguments)}function N1e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U1e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var q1e=T0e,B1e=YKe,G1e=g.default,W1e=N0e,X1e=K0e,V1e=QZe,Y1e=PZe,Z1e=GHe,H1e=t1e,K1e=o1e,J1e=c1e,e2e=KXe,t2e=KKe,n2e=GZe,i2e=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},r2e=function(e){var t,n;function i(){for(var t,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return U1e(N1e(t=e.call.apply(e,[this].concat(i))||this),"_node",void 0),t}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){return this.props.block!==e.block||this.props.tree!==e.tree||this.props.direction!==e.direction||i2e(e.selection,e.block.getKey())&&e.forceSelection},r.componentDidMount=function(){if(!this.props.preventScroll){var e=this.props.selection,t=e.getEndKey();if(e.getHasFocus()&&t===this.props.block.getKey()){var n=this._node;if(null!=n){var i,r=X1e.getScrollParent(n),a=K1e(r);if(r===window){var o=H1e(n);(i=o.y+o.height-J1e().height)>0&&window.scrollTo(a.x,a.y+i+10)}else{t2e(n)||("production"!==go.env.NODE_ENV?e2e(!1,"blockNode is not an HTMLElement"):e2e(!1)),(i=n.offsetHeight+n.offsetTop-(r.offsetTop+r.offsetHeight+a.y))>0&&W1e.setTop(r,W1e.getTop(r)+i+10)}}}}},r._renderChildren=function(){var e=this,t=this.props.block,n=t.getKey(),i=t.getText(),r=this.props.tree.size-1,a=i2e(this.props.selection,n);return this.props.tree.map((function(o,s){var l=o.get("leaves");if(0===l.size)return null;var u=l.size-1,c=l.map((function(o,l){var c=B1e.encode(n,s,l),d=o.get("start"),h=o.get("end");return G1e.createElement(q1e,{key:c,offsetKey:c,block:t,start:d,selection:a?e.props.selection:null,forceSelection:e.props.forceSelection,text:i.slice(d,h),styleSet:t.getInlineStyleAt(d),customStyleMap:e.props.customStyleMap,customStyleFn:e.props.customStyleFn,isLast:s===r&&l===u})})).toArray(),d=o.get("decoratorKey");if(null==d)return c;if(!e.props.decorator)return c;var h=n2e(e.props.decorator),p=h.getComponentForKey(d);if(!p)return c;var f=h.getPropsForKey(d),m=B1e.encode(n,s,0),g=l.first().get("start"),v=l.last().get("end"),y=i.slice(g,v),b=t.getEntityAt(o.get("start")),O=Y1e.getHTMLDirIfDifferent(V1e.getDirection(y),e.props.direction),_={contentState:e.props.contentState,decoratedText:y,dir:O,start:g,end:v,blockKey:n,entityKey:b,offsetKey:m};return G1e.createElement(p,M1e({},f,_,{key:m}),c)})).toArray()},r.render=function(){var e=this,t=this.props,n=t.direction,i=t.offsetKey,r=Z1e({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return G1e.createElement("div",{"data-offset-key":i,className:r,ref:function(t){return e._node=t}},this._renderChildren())},i}(G1e.Component),a2e=r2e;var o2e=function(e){var t=e||"",n=arguments.length;if(n>1)for(var i=1;i<n;i++){var r=arguments[i];r&&(t=(t?t+" ":"")+r)}return t},s2e=XZ;function l2e(){return l2e=s2e||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},l2e.apply(this,arguments)}function u2e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){c2e(e,t,n[t])}))}return e}function c2e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d2e=a2e,h2e=YKe,p2e=g.default,f2e=GHe,m2e=o2e,g2e=GZe,v2e=function(e,t,n,i){return f2e({"public/DraftStyleDefault/unorderedListItem":"unordered-list-item"===e,"public/DraftStyleDefault/orderedListItem":"ordered-list-item"===e,"public/DraftStyleDefault/reset":n,"public/DraftStyleDefault/depth0":0===t,"public/DraftStyleDefault/depth1":1===t,"public/DraftStyleDefault/depth2":2===t,"public/DraftStyleDefault/depth3":3===t,"public/DraftStyleDefault/depth4":t>=4,"public/DraftStyleDefault/listLTR":"LTR"===i,"public/DraftStyleDefault/listRTL":"RTL"===i})},y2e=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){var t=this.props.editorState,n=e.editorState;if(t.getDirectionMap()!==n.getDirectionMap())return!0;if(t.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var i=n.getNativelyRenderedContent(),r=t.isInCompositionMode(),a=n.isInCompositionMode();if(t===n||null!==i&&n.getCurrentContent()===i||r&&a)return!1;var o=t.getCurrentContent(),s=n.getCurrentContent(),l=t.getDecorator(),u=n.getDecorator();return r!==a||o!==s||l!==u||n.mustForceSelection()},r.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,i=e.blockStyleFn,r=e.customStyleMap,a=e.customStyleFn,o=e.editorState,s=e.editorKey,l=e.preventScroll,u=e.textDirectionality,c=o.getCurrentContent(),d=o.getSelection(),h=o.mustForceSelection(),p=o.getDecorator(),f=g2e(o.getDirectionMap()),m=c.getBlocksAsArray(),g=[],v=null,y=null,b=0;b<m.length;b++){var O=m[b],_=O.getKey(),w=O.getType(),k=n(O),x=void 0,S=void 0,P=void 0;k&&(x=k.component,S=k.props,P=k.editable);var E=u||f.get(_),F=h2e.encode(_,0,0),C={contentState:c,block:O,blockProps:S,blockStyleFn:i,customStyleMap:r,customStyleFn:a,decorator:p,direction:E,forceSelection:h,offsetKey:F,preventScroll:l,selection:d,tree:o.getBlockTree(_)},T=t.get(w)||t.get("unstyled"),D=T.wrapper,A=T.element||t.get("unstyled").element,I=O.getDepth(),L="";if(i&&(L=i(O)),"li"===A)L=m2e(L,v2e(w,I,y!==D||null===v||I>v,E));var z=x||d2e,$={className:L,"data-block":!0,"data-editor":s,"data-offset-key":F,key:_};void 0!==P&&($=u2e({},$,{contentEditable:P,suppressContentEditableWarning:!0}));var R=p2e.createElement(A,$,p2e.createElement(z,l2e({},C,{key:_})));g.push({block:R,wrapperTemplate:D,key:_,offsetKey:F}),v=D?O.getDepth():null,y=D}for(var Q=[],j=0;j<g.length;){var M=g[j];if(M.wrapperTemplate){var N=[];do{N.push(g[j].block),j++}while(j<g.length&&g[j].wrapperTemplate===M.wrapperTemplate);var U=p2e.cloneElement(M.wrapperTemplate,{key:M.key+"-wrap","data-offset-key":M.offsetKey},N);Q.push(U)}else Q.push(M.block),j++}return p2e.createElement("div",{"data-contents":"true"},Q)},i}(p2e.Component),b2e=y2e,O2e=YYe("draft_tree_data_support")?Q1e:b2e,_2e={isImage:function(e){return"image"===w2e(e)[0]},isJpeg:function(e){var t=w2e(e);return _2e.isImage(e)&&("jpeg"===t[1]||"pjpeg"===t[1])}};function w2e(e){return e.split("/")}var k2e=_2e,x2e=KXe;var S2e=function(e){return function(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"length"in e&&!("setInterval"in e)&&"number"!=typeof e.nodeType&&(Array.isArray(e)||"callee"in e||"item"in e)}(e)?Array.isArray(e)?e.slice():function(e){var t=e.length;if((Array.isArray(e)||"object"!=typeof e&&"function"!=typeof e)&&("production"!==go.env.NODE_ENV?x2e(!1,"toArray: Array-like object expected"):x2e(!1)),"number"!=typeof t&&("production"!==go.env.NODE_ENV?x2e(!1,"toArray: Object needs a length property"):x2e(!1)),0===t||t-1 in e||("production"!==go.env.NODE_ENV?x2e(!1,"toArray: Object should have keys for indices"):x2e(!1)),"function"==typeof e.callee&&("production"!==go.env.NODE_ENV?x2e(!1,"toArray: Object can't be `arguments`. Use rest params (function(...args) {}) or Array.from() instead."):x2e(!1)),e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),i=0;i<t;i++)n[i]=e[i];return n}(e):[e]};function P2e(e){return function(){return e}}var E2e=function(){};E2e.thatReturns=P2e,E2e.thatReturnsFalse=P2e(!1),E2e.thatReturnsTrue=P2e(!0),E2e.thatReturnsNull=P2e(null),E2e.thatReturnsThis=function(){return this},E2e.thatReturnsArgument=function(e){return e};var F2e=E2e,C2e=k2e,T2e=S2e,D2e=F2e,A2e=new RegExp("\r\n","g"),I2e={"text/rtf":1,"text/html":1};function L2e(e){if("file"==e.kind)return e.getAsFile()}var z2e=function(){function e(e){this.data=e,this.types=e.types?T2e(e.types):[]}var t=e.prototype;return t.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(e){return I2e[e]}))},t.getText=function(){var e;return this.data.getData&&(this.types.length?-1!=this.types.indexOf("text/plain")&&(e=this.data.getData("text/plain")):e=this.data.getData("Text")),e?e.replace(A2e,"\n"):null},t.getHTML=function(){if(this.data.getData){if(!this.types.length)return this.data.getData("Text");if(-1!=this.types.indexOf("text/html"))return this.data.getData("text/html")}},t.isLink=function(){return this.types.some((function(e){return-1!=e.indexOf("Url")||-1!=e.indexOf("text/uri-list")||e.indexOf("text/x-moz-url")}))},t.getLink=function(){return this.data.getData?-1!=this.types.indexOf("text/x-moz-url")?this.data.getData("text/x-moz-url").split("\n")[0]:-1!=this.types.indexOf("text/uri-list")?this.data.getData("text/uri-list"):this.data.getData("url"):null},t.isImage=function(){var e=this.types.some((function(e){return-1!=e.indexOf("application/x-moz-file")}));if(e)return!0;for(var t=this.getFiles(),n=0;n<t.length;n++){var i=t[n].type;if(!C2e.isImage(i))return!1}return!0},t.getCount=function(){return this.data.hasOwnProperty("items")?this.data.items.length:this.data.hasOwnProperty("mozItemCount")?this.data.mozItemCount:this.data.files?this.data.files.length:null},t.getFiles=function(){return this.data.items?Array.prototype.slice.call(this.data.items).map(L2e).filter(D2e.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},t.hasFiles=function(){return this.getFiles().length>0},e}(),$2e=z2e,R2e=KXe,Q2e=/\.textClipping$/,j2e={"text/plain":!0,"text/html":!0,"text/rtf":!0};var M2e=function(e,t){var n=0,i=[];e.forEach((function(r){!function(e,t){if(!x.FileReader||e.type&&!(e.type in j2e))return void t("");if(""===e.type){var n="";return Q2e.test(e.name)&&(n=e.name.replace(Q2e,"")),void t(n)}var i=new FileReader;i.onload=function(){var e=i.result;"string"!=typeof e&&("production"!==go.env.NODE_ENV?R2e(!1,'We should be calling "FileReader.readAsText" which returns a string'):R2e(!1)),t(e)},i.onerror=function(){t("")},i.readAsText(e)}(r,(function(r){n++,r&&i.push(r.slice(0,5e3)),n==e.length&&t(i.join("\r"))}))}))};var N2e=function(e){return"handled"===e||!0===e},U2e=$2e,q2e=bYe,B2e=mHe,G2e=$Ke,W2e=TKe,X2e=M2e,V2e=rJe,Y2e=RKe,Z2e=N2e,H2e=GZe;var K2e={onDragEnd:function(e){e.exitCurrentMode(),J2e(e)},onDrop:function(e,t){var n=new U2e(t.nativeEvent.dataTransfer),i=e._latestEditorState,r=function(e,t){var n=null,i=null,r=W2e(e.currentTarget);if("function"==typeof r.caretRangeFromPoint){var a=r.caretRangeFromPoint(e.x,e.y);n=a.startContainer,i=a.startOffset}else{if(!e.rangeParent)return null;n=e.rangeParent,i=e.rangeOffset}n=H2e(n),i=H2e(i);var o=H2e(G2e(n));return V2e(t,o,i,o,i)}(t.nativeEvent,i);if(t.preventDefault(),e._dragCount=0,e.exitCurrentMode(),null!=r){var a=n.getFiles();if(a.length>0){if(e.props.handleDroppedFiles&&Z2e(e.props.handleDroppedFiles(r,a)))return;X2e(a,(function(t){t&&e.update(e3e(i,r,t))}))}else{var o=e._internalDrag?"internal":"external";e.props.handleDrop&&Z2e(e.props.handleDrop(r,n,o))||(e._internalDrag?e.update(function(e,t){var n=q2e.moveText(e.getCurrentContent(),e.getSelection(),t);return B2e.push(e,n,"insert-fragment")}(i,r)):e.update(e3e(i,r,n.getText()))),J2e(e)}}}};function J2e(e){e._internalDrag=!1;var t=e.editorContainer;if(t){var n=new MouseEvent("mouseup",{view:Y2e(t),bubbles:!0,cancelable:!0});t.dispatchEvent(n)}}function e3e(e,t,n){var i=q2e.insertText(e.getCurrentContent(),t,n,e.getCurrentInlineStyle());return B2e.push(e,i,"insert-fragment")}var t3e=K2e;var n3e=function(e){var t=e.getSelection(),n=t.getAnchorKey(),i=e.getBlockTree(n),r=t.getStartOffset(),a=!1;return i.some((function(e){return r===e.get("start")?(a=!0,!0):r<e.get("end")&&e.get("leaves").some((function(e){var t=e.get("start");return r===t&&(a=!0,!0)}))})),a};!function(e,t){if(!e.setImmediate){var n,i,r,a=1,o={},s=!1,l=e.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(e);u=u&&u.setTimeout?u:e,"[object process]"==={}.toString.call(e.process)?n=function(e){go.nextTick((function(){d(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?(i="setImmediate$"+Math.random()+"$",r=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(i)&&d(+t.data.slice(i.length))},e.addEventListener?e.addEventListener("message",r,!1):e.attachEvent("onmessage",r),n=function(t){e.postMessage(i+t,"*")}):e.MessageChannel?function(){var e=new MessageChannel;e.port1.onmessage=function(e){d(e.data)},n=function(t){e.port2.postMessage(t)}}():l&&"onreadystatechange"in l.createElement("script")?function(){var e=l.documentElement;n=function(t){var n=l.createElement("script");n.onreadystatechange=function(){d(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}():n=function(e){setTimeout(d,0,e)},u.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),i=0;i<t.length;i++)t[i]=arguments[i+1];var r={callback:e,args:t};return o[a]=r,n(a),a++},u.clearImmediate=c}function c(e){delete o[e]}function d(e){if(s)setTimeout(d,0,e);else{var t=o[e];if(t){s=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{c(e),s=!1}}}}}("undefined"==typeof self?x:self);var i3e=x.setImmediate,r3e=bYe,a3e=mHe,o3e=xJe,s3e=N2e,l3e=n3e,u3e=GZe,c3e=i3e,d3e=CKe.isBrowser("Firefox");function h3e(e,t,n,i,r){var a=r3e.replaceText(e.getCurrentContent(),e.getSelection(),t,n,i);return a3e.push(e,a,"insert-characters",r)}var p3e=function(e,t){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=e._latestEditorState,i=t.data;if(i)if(e.props.handleBeforeInput&&s3e(e.props.handleBeforeInput(i,n,t.timeStamp)))t.preventDefault();else{var r=n.getSelection(),a=r.getStartOffset(),o=r.getAnchorKey();if(!r.isCollapsed())return t.preventDefault(),void e.update(h3e(n,i,n.getCurrentInlineStyle(),o3e(n.getCurrentContent(),n.getSelection()),!0));var s,l=h3e(n,i,n.getCurrentInlineStyle(),o3e(n.getCurrentContent(),n.getSelection()),!1),u=!1;if(u||(u=l3e(e._latestCommittedEditorState)),!u){var c=n.getBlockTree(o),d=l.getBlockTree(o);u=c.size!==d.size||c.zip(d).some((function(e){var t=e[0],n=e[1],r=t.get("start"),o=r+(r>=a?i.length:0),s=t.get("end"),l=s+(s>=a?i.length:0),u=n.get("start"),c=n.get("end"),d=n.get("decoratorKey");return t.get("decoratorKey")!==d||t.get("leaves").size!==n.get("leaves").size||o!==u||l!==c||null!=d&&c-u!=s-r}))}if(u||(s=i,u=d3e&&("'"==s||"/"==s)),u||(u=u3e(l.getDirectionMap()).get(o)!==u3e(n.getDirectionMap()).get(o)),u)return t.preventDefault(),l=a3e.set(l,{forceSelection:!0}),void e.update(l);l=a3e.set(l,{nativelyRenderedContent:l.getCurrentContent()}),e._pendingStateFromBeforeInput=l,c3e((function(){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)}))}},f3e=mHe,m3e=a0e,g3e=o0e;var v3e=function(e,t){var n=t.currentTarget.ownerDocument;if(!Boolean(e.props.preserveSelectionOnBlur)&&g3e(n)===n.body){var i=n.defaultView.getSelection(),r=e.editor;1===i.rangeCount&&m3e(r,i.anchorNode)&&m3e(r,i.focusNode)&&i.removeAllRanges()}var a=e._latestEditorState,o=a.getSelection();if(o.getHasFocus()){var s=o.set("hasFocus",!1);e.props.onBlur&&e.props.onBlur(t),e.update(f3e.acceptSelection(a,s))}},y3e=mHe;var b3e=function(e,t){e.setMode("composite"),e.update(y3e.set(e._latestEditorState,{inCompositionMode:!0})),e._onCompositionStart(t)},O3e=OVe;var _3e=function(e){var t=e.getSelection();return t.isCollapsed()?null:O3e(e.getCurrentContent(),t)},w3e=_3e;var k3e=function(e,t){e._latestEditorState.getSelection().isCollapsed()?t.preventDefault():e.setClipboard(w3e(e._latestEditorState))};var x3e=function(e){if(!e||!("ownerDocument"in e))return!1;if("ownerDocument"in e){var t=e;if(!t.ownerDocument.defaultView)return t instanceof Node;if(t instanceof t.ownerDocument.defaultView.Node)return!0}return!1},S3e=bYe,P3e=mHe,E3e=K0e,F3e=_3e,C3e=o1e,T3e=x3e;var D3e=function(e,t){var n,i=e._latestEditorState,r=i.getSelection(),a=t.target;if(r.isCollapsed())t.preventDefault();else{if(T3e(a)){var o=a;n=C3e(E3e.getScrollParent(o))}var s=F3e(i);e.setClipboard(s),e.setMode("cut"),setTimeout((function(){e.restoreEditorDOM(n),e.exitCurrentMode(),e.update(function(e){var t=S3e.removeRange(e.getCurrentContent(),e.getSelection(),"forward");return P3e.push(e,t,"remove-range")}(i))}),0)}};var A3e=function(e,t){e.setMode("drag"),t.preventDefault()};var I3e=function(e){e._internalDrag=!0,e.setMode("drag")},L3e=mHe,z3e=CKe;var $3e=function(e,t){var n=e._latestEditorState,i=n.getSelection();if(!i.getHasFocus()){var r=i.set("hasFocus",!0);e.props.onFocus&&e.props.onFocus(t),z3e.isBrowser("Chrome < 60.0.3081.0")?e.update(L3e.forceSelection(n,r)):e.update(L3e.acceptSelection(n,r))}},R3e=KXe,Q3e=/[\uD800-\uDFFF]/;function j3e(e){return 55296<=e&&e<=57343}function M3e(e){return Q3e.test(e)}function N3e(e,t){return 1+j3e(e.charCodeAt(t))}function U3e(e,t,n){if(t=t||0,n=void 0===n?1/0:n||0,!M3e(e))return e.substr(t,n);var i=e.length;if(i<=0||t>i||n<=0)return"";var r=0;if(t>0){for(;t>0&&r<i;t--)r+=N3e(e,r);if(r>=i)return""}else if(t<0){for(r=i;t<0&&0<r;t++)r-=N3e(e,r-1);r<0&&(r=0)}var a=i;if(n<i)for(a=r;n>0&&a<i;n--)a+=N3e(e,a);return e.substring(r,a)}var q3e={getCodePoints:function(e){for(var t=[],n=0;n<e.length;n+=N3e(e,n))t.push(e.codePointAt(n));return t},getUTF16Length:N3e,hasSurrogateUnit:M3e,isCodeUnitInSurrogateRange:j3e,isSurrogatePair:function(e,t){if(0<=t&&t<e.length||("production"!==go.env.NODE_ENV?R3e(!1,"isSurrogatePair: Invalid index %s for string length %s.",t,e.length):R3e(!1)),t+1===e.length)return!1;var n=e.charCodeAt(t),i=e.charCodeAt(t+1);return 55296<=n&&n<=56319&&56320<=i&&i<=57343},strlen:function(e){if(!M3e(e))return e.length;for(var t=0,n=0;n<e.length;n+=N3e(e,n))t++;return t},substring:function(e,t,n){(t=t||0)<0&&(t=0),(n=void 0===n?1/0:n||0)<0&&(n=0);var i=Math.abs(n-t);return U3e(e,t=t<n?t:n,i)},substr:U3e},B3e=q3e,G3e=F2e;function W3e(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var r=0,a="Warning: "+e.replace(/%s/g,(function(){return n[r++]}));"undefined"!=typeof console&&console.error(a);try{throw new Error(a)}catch(e){}}var X3e="production"!==go.env.NODE_ENV?function(e,t){if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(!e){for(var n=arguments.length,i=new Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];W3e.apply(void 0,[t].concat(i))}}:G3e,V3e=X3e,Y3e=V3e;var Z3e=function(e,t){var n=e.getSelection();"production"!==go.env.NODE_ENV&&Y3e(n.isCollapsed(),"moveSelectionBackward should only be called with a collapsed SelectionState");var i=e.getCurrentContent(),r=n.getStartKey(),a=n.getStartOffset(),o=r,s=0;if(t>a){var l=i.getKeyBefore(r);if(null==l)o=r;else o=l,s=i.getBlockForKey(l).getText().length}else s=a-t;return n.merge({focusKey:o,focusOffset:s,isBackward:!0})},H3e=bYe,K3e=YYe("draft_tree_data_support");var J3e=function(e,t,n){var i=e.getSelection(),r=e.getCurrentContent(),a=i,o=i.getAnchorKey(),s=i.getFocusKey(),l=r.getBlockForKey(o);if(K3e&&"forward"===n&&o!==s)return r;if(i.isCollapsed()){if("forward"===n){if(e.isSelectionAtEndOfContent())return r;if(K3e)if(i.getAnchorOffset()===r.getBlockForKey(o).getLength()){var u=r.getBlockForKey(l.nextSibling);if(!u||0===u.getLength())return r}}else if(e.isSelectionAtStartOfContent())return r;if((a=t(e))===i)return r}return H3e.removeRange(r,a,n)},e4e=mHe,t4e=B3e,n4e=Z3e,i4e=J3e;var r4e=function(e){var t=i4e(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),i=t.getAnchorKey(),r=t.getAnchorOffset(),a=n.getBlockForKey(i).getText()[r-1];return n4e(e,a?t4e.getUTF16Length(a,0):1)}),"backward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return e4e.push(e,t.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")},a4e=bYe,o4e=YKe,s4e=mHe,l4e=_Je.notEmptyKey,u4e=$Ke,c4e=r4e,d4e=GZe,h4e=CKe.isEngine("Gecko");var p4e=function(e,t){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=e.editor.ownerDocument.defaultView.getSelection(),i=n.anchorNode,r=n.isCollapsed,a=(null==i?void 0:i.nodeType)!==Node.TEXT_NODE&&(null==i?void 0:i.nodeType)!==Node.ELEMENT_NODE;if(null!=i&&!a){if(i.nodeType===Node.TEXT_NODE&&(null!==i.previousSibling||null!==i.nextSibling)){var o=i.parentNode;if(null==o)return;i.nodeValue=o.textContent;for(var s=o.firstChild;null!=s;s=s.nextSibling)s!==i&&o.removeChild(s)}var l=i.textContent,u=e._latestEditorState,c=d4e(u4e(i)),d=o4e.decode(c),h=d.blockKey,p=d.decoratorKey,f=d.leafKey,m=u.getBlockTree(h).getIn([p,"leaves",f]),g=m.start,v=m.end,y=u.getCurrentContent(),b=y.getBlockForKey(h),O=b.getText().slice(g,v);if(l.endsWith("\n\n")&&(l=l.slice(0,-1)),l!==O){var _,w,k,x,S=u.getSelection(),P=S.merge({anchorOffset:g,focusOffset:v,isBackward:!1}),E=b.getEntityAt(g),F=l4e(E)?y.getEntity(E):null,C="MUTABLE"===(null!=F?F.getMutability():null),T=C?"spellcheck-change":"apply-entity",D=a4e.replaceText(y,P,l,b.getInlineStyleAt(g),C?b.getEntityAt(g):null);if(h4e)_=n.anchorOffset,w=n.focusOffset,x=(k=g+Math.min(_,w))+Math.abs(_-w),_=k,w=x;else{var A=l.length-O.length;k=S.getStartOffset(),x=S.getEndOffset(),_=r?x+A:k,w=x+A}var I=D.merge({selectionBefore:y.getSelectionAfter(),selectionAfter:S.merge({anchorOffset:_,focusOffset:w})});e.update(s4e.push(u,I,T))}else{var L=t.nativeEvent.inputType;if(L){var z=function(e,t){return"deleteContentBackward"===e?c4e(t):t}(L,u);if(z!==u)return e.restoreEditorDOM(),void e.update(z)}}}},f4e=ZKe;var m4e=function(e){return e.which===f4e.RETURN&&(e.getModifierState("Shift")||e.getModifierState("Alt")||e.getModifierState("Control"))},g4e=m4e,v4e=CKe.isPlatform("Mac OS X"),y4e={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return v4e&&e.altKey},usesMacOSHeuristics:function(){return v4e},hasCommandModifier:function(e){return v4e?!!e.metaKey&&!e.altKey:y4e.isCtrlKeyCommand(e)},isSoftNewlineEvent:g4e},b4e=y4e,O4e=bYe,_4e=mHe,w4e=OVe,k4e=GZe,x4e=null,S4e={cut:function(e){var t=e.getCurrentContent(),n=e.getSelection(),i=null;if(n.isCollapsed()){var r=n.getAnchorKey(),a=t.getBlockForKey(r).getLength();if(a===n.getAnchorOffset()){var o=t.getKeyAfter(r);if(null==o)return e;i=n.set("focusKey",o).set("focusOffset",0)}else i=n.set("focusOffset",a)}else i=n;i=k4e(i),x4e=w4e(t,i);var s=O4e.removeRange(t,i,"forward");return s===t?e:_4e.push(e,s,"remove-range")},paste:function(e){if(!x4e)return e;var t=O4e.replaceWithFragment(e.getCurrentContent(),e.getSelection(),x4e);return _4e.push(e,t,"insert-fragment")}},P4e=S4e,E4e=KXe;var F4e=CKe.isBrowser("Chrome")?function(e){for(var t=e.cloneRange(),n=[],i=e.endContainer;null!=i;i=i.parentNode){var r=i===e.commonAncestorContainer;r?t.setStart(e.startContainer,e.startOffset):t.setStart(t.endContainer,0);var a,o=Array.from(t.getClientRects());if(n.push(o),r)return n.reverse(),(a=[]).concat.apply(a,n);t.setEndBefore(i)}"production"!==go.env.NODE_ENV?E4e(!1,"Found an unexpected detached subtree when getting range client rects."):E4e(!1)}:function(e){return Array.from(e.getClientRects())},C4e=B3e,T4e=TKe,D4e=F4e,A4e=KXe;function I4e(e,t){for(var n=1/0,i=1/0,r=-1/0,a=-1/0,o=0;o<e.length;o++){var s=e[o];0!==s.width&&1!==s.width&&(n=Math.min(n,s.top),i=Math.min(i,s.bottom),r=Math.max(r,s.top),a=Math.max(a,s.bottom))}return r<=i&&r-n<t&&a-i<t}function L4e(e){switch(e.nodeType){case Node.DOCUMENT_TYPE_NODE:return 0;case Node.TEXT_NODE:case Node.PROCESSING_INSTRUCTION_NODE:case Node.COMMENT_NODE:return e.length;default:return e.childNodes.length}}var z4e=function(e){e.collapsed||("production"!==go.env.NODE_ENV?A4e(!1,"expandRangeToStartOfLine: Provided range is not collapsed."):A4e(!1));var t=(e=e.cloneRange()).startContainer;1!==t.nodeType&&(t=t.parentNode);var n=function(e){var t=getComputedStyle(e),n=T4e(e),i=n.createElement("div");i.style.fontFamily=t.fontFamily,i.style.fontSize=t.fontSize,i.style.fontStyle=t.fontStyle,i.style.fontWeight=t.fontWeight,i.style.lineHeight=t.lineHeight,i.style.position="absolute",i.textContent="M";var r=n.body;r||("production"!==go.env.NODE_ENV?A4e(!1,"Missing document.body"):A4e(!1)),r.appendChild(i);var a=i.getBoundingClientRect();return r.removeChild(i),a.height}(t),i=e.endContainer,r=e.endOffset;for(e.setStart(e.startContainer,0);I4e(D4e(e),n)&&(i=e.startContainer,r=e.startOffset,i.parentNode||("production"!==go.env.NODE_ENV?A4e(!1,"Found unexpected detached subtree when traversing."):A4e(!1)),e.setStartBefore(i),1!==i.nodeType||"inline"===getComputedStyle(i).display););for(var a=i,o=r-1;;){for(var s=a.nodeValue,l=o;l>=0;l--)if(!(null!=s&&l>0&&C4e.isSurrogatePair(s,l-1))){if(e.setStart(a,l),!I4e(D4e(e),n))break;i=a,r=l}if(-1===l||0===a.childNodes.length)break;o=L4e(a=a.childNodes[l])}return e.setStart(i,r),e},$4e=mHe,R4e=z4e,Q4e=pJe,j4e=Z3e,M4e=J3e;var N4e=function(e,t){var n=M4e(e,(function(e){var n=e.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return j4e(e,1);var i=t.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return i=R4e(i),Q4e(e,null,i.endContainer,i.endOffset,i.startContainer,i.startOffset).selectionState}),"backward");return n===e.getCurrentContent()?e:$4e.push(e,n,"remove-range")},U4e="\\s|(?![_])"+{getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}.getPunctuation(),q4e=new RegExp("^(?:"+U4e+")*(?:"+"['‘’]|(?!"+U4e+").)*(?:(?!"+U4e+").)"),B4e=new RegExp("(?:(?!"+U4e+").)(?:"+"['‘’]|(?!"+U4e+").)*(?:"+U4e+")*$");function G4e(e,t){var n=t?B4e.exec(e):q4e.exec(e);return n?n[0]:e}var W4e={getBackward:function(e){return G4e(e,!0)},getForward:function(e){return G4e(e,!1)}},X4e=W4e,V4e=mHe,Y4e=Z3e,Z4e=J3e;var H4e=function(e){var t=Z4e(e,(function(e){var t=e.getSelection(),n=t.getStartOffset();if(0===n)return Y4e(e,1);var i=t.getStartKey(),r=e.getCurrentContent().getBlockForKey(i).getText().slice(0,n),a=X4e.getBackward(r);return Y4e(e,a.length||1)}),"backward");return t===e.getCurrentContent()?e:V4e.push(e,t,"remove-range")},K4e=V3e;var J4e=function(e,t){var n=e.getSelection();"production"!==go.env.NODE_ENV&&K4e(n.isCollapsed(),"moveSelectionForward should only be called with a collapsed SelectionState");var i,r=n.getStartKey(),a=n.getStartOffset(),o=e.getCurrentContent(),s=r;return t>o.getBlockForKey(r).getText().length-a?(s=o.getKeyAfter(r),i=0):i=a+t,n.merge({focusKey:s,focusOffset:i})},e6e=W4e,t6e=mHe,n6e=J4e,i6e=J3e;var r6e=function(e){var t=i6e(e,(function(e){var t=e.getSelection(),n=t.getStartOffset(),i=t.getStartKey(),r=e.getCurrentContent().getBlockForKey(i).getText().slice(n),a=e6e.getForward(r);return n6e(e,a.length||1)}),"forward");return t===e.getCurrentContent()?e:t6e.push(e,t,"remove-range")},a6e=bYe,o6e=mHe;var s6e=mHe;var l6e=function(e){var t=e.getSelection(),n=t.getEndKey(),i=e.getCurrentContent().getBlockForKey(n).getLength();return s6e.set(e,{selection:t.merge({anchorKey:n,anchorOffset:i,focusKey:n,focusOffset:i,isBackward:!1}),forceSelection:!0})},u6e=mHe;var c6e=function(e){var t=e.getSelection(),n=t.getStartKey();return u6e.set(e,{selection:t.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})},d6e=mHe,h6e=B3e,p6e=J4e,f6e=J3e;var m6e=function(e){var t=f6e(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),i=t.getAnchorKey(),r=t.getAnchorOffset(),a=n.getBlockForKey(i).getText()[r];return p6e(e,a?h6e.getUTF16Length(a,0):1)}),"forward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return d6e.push(e,t.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")},g6e=bYe,v6e=mHe,y6e=OVe;var b6e=function(e){var t=e.getSelection();if(!t.isCollapsed())return e;var n=t.getAnchorOffset();if(0===n)return e;var i,r,a=t.getAnchorKey(),o=e.getCurrentContent(),s=o.getBlockForKey(a).getLength();if(s<=1)return e;n===s?(i=t.set("anchorOffset",n-1),r=t):r=(i=t.set("focusOffset",n+1)).set("anchorOffset",n+1);var l=y6e(o,i),u=g6e.removeRange(o,i,"backward"),c=u.getSelectionAfter(),d=c.getAnchorOffset()-1,h=c.merge({anchorOffset:d,focusOffset:d}),p=g6e.replaceWithFragment(u,h,l),f=v6e.push(e,p,"insert-fragment");return v6e.acceptSelection(f,r)},O6e=mHe;var _6e=function(e,t,n){var i=O6e.undo(t);if("spellcheck-change"!==t.getLastChangeType())e.preventDefault(),t.getNativelyRenderedContent()?(n(O6e.set(t,{nativelyRenderedContent:null})),setTimeout((function(){n(i)}),0)):n(i);else{var r=i.getCurrentContent();n(O6e.set(i,{nativelyRenderedContent:r}))}},w6e=bYe,k6e=mHe,x6e=ZKe,S6e=P4e,P6e=CKe,E6e=N2e,F6e=N4e,C6e=H4e,T6e=r6e,D6e=function(e){var t=a6e.splitBlock(e.getCurrentContent(),e.getSelection());return o6e.push(e,t,"split-block")},A6e=l6e,I6e=c6e,L6e=r4e,z6e=m6e,$6e=b6e,R6e=_6e,Q6e=b4e.isOptionKeyCommand,j6e=P6e.isBrowser("Chrome");var M6e=function(e,t){var n=t.which,i=e._latestEditorState;function r(n){var i=e.props[n];return!!i&&(i(t),!0)}switch(n){case x6e.RETURN:if(t.preventDefault(),e.props.handleReturn&&E6e(e.props.handleReturn(t,i)))return;break;case x6e.ESC:if(t.preventDefault(),r("onEscape"))return;break;case x6e.TAB:if(r("onTab"))return;break;case x6e.UP:if(r("onUpArrow"))return;break;case x6e.RIGHT:if(r("onRightArrow"))return;break;case x6e.DOWN:if(r("onDownArrow"))return;break;case x6e.LEFT:if(r("onLeftArrow"))return;break;case x6e.SPACE:j6e&&Q6e(t)&&t.preventDefault()}var a=e.props.keyBindingFn(t);if(null!=a&&""!==a)if("undo"!==a){if(t.preventDefault(),!e.props.handleKeyCommand||!E6e(e.props.handleKeyCommand(a,i,t.timeStamp))){var o=function(e,t,n){switch(e){case"redo":return k6e.redo(t);case"delete":return z6e(t);case"delete-word":return T6e(t);case"backspace":return L6e(t);case"backspace-word":return C6e(t);case"backspace-to-start-of-line":return F6e(t,n);case"split-block":return D6e(t);case"transpose-characters":return $6e(t);case"move-selection-to-start-of-block":return I6e(t);case"move-selection-to-end-of-block":return A6e(t);case"secondary-cut":return S6e.cut(t);case"secondary-paste":return S6e.paste(t);default:return t}}(a,i,t);o!==i&&e.update(o)}}else R6e(t,i,e.update);else if(n===x6e.SPACE&&j6e&&Q6e(t)){var s=w6e.replaceText(i.getCurrentContent(),i.getSelection()," ");e.update(k6e.push(i,s,"insert-characters"))}};var N6e=function(){function e(e){!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,"_uri",void 0),this._uri=e}return e.prototype.toString=function(){return this._uri},e}(),U6e=N6e,q6e=KXe,B6e=CKe.isBrowser("IE <= 9");var G6e=function(e){var t,n=null;return!B6e&&document.implementation&&document.implementation.createHTMLDocument&&((t=document.implementation.createHTMLDocument("foo")).documentElement||("production"!==go.env.NODE_ENV?q6e(!1,"Missing doc.documentElement"):q6e(!1)),t.documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n},W6e=DKe;var X6e=function(e){return!(!e||!e.ownerDocument)&&(W6e(e)&&"A"===e.nodeName)},V6e=DKe;var Y6e,Z6e=function(e){return!(!e||!e.ownerDocument)&&(V6e(e)&&"IMG"===e.nodeName)};function H6e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){K6e(e,t,n[t])}))}return e}function K6e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var J6e=cXe,e5e=SXe,t5e=MXe,n5e=VHe,i5e=WYe,r5e=U6e,a5e=GHe,o5e=lVe,s5e=G6e,l5e=YYe,u5e=HWe.exports,c5e=u5e.List,d5e=u5e.Map,h5e=u5e.OrderedSet,p5e=X6e,f5e=n0e,m5e=KKe,g5e=Z6e,v5e=l5e("draft_tree_data_support"),y5e=new RegExp("\r","g"),b5e=new RegExp("\n","g"),O5e=new RegExp("^\n","g"),_5e=new RegExp(" ","g"),w5e=new RegExp(" ?","g"),k5e=new RegExp("​?","g"),x5e=["bold","bolder","500","600","700","800","900"],S5e=["light","lighter","normal","100","200","300","400"],P5e=["className","href","rel","target","title"],E5e=["alt","className","height","src","width"],F5e=(K6e(Y6e={},a5e("public/DraftStyleDefault/depth0"),0),K6e(Y6e,a5e("public/DraftStyleDefault/depth1"),1),K6e(Y6e,a5e("public/DraftStyleDefault/depth2"),2),K6e(Y6e,a5e("public/DraftStyleDefault/depth3"),3),K6e(Y6e,a5e("public/DraftStyleDefault/depth4"),4),Y6e),C5e=d5e({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),T5e=function(e){var t={};return e.mapKeys((function(e,n){var i=[n.element];void 0!==n.aliasedElements&&i.push.apply(i,n.aliasedElements),i.forEach((function(n){void 0===t[n]?t[n]=e:"string"==typeof t[n]?t[n]=[t[n],e]:t[n].push(e)}))})),d5e(t)},D5e=function(e){if(m5e(e)&&e.style.fontFamily.includes("monospace"))return"CODE";return null},A5e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(F5e).some((function(n){e.classList.contains(n)&&(t=F5e[n])})),t},I5e=function(e){if(!p5e(e))return!1;var t=e;return!(!t.href||"http:"!==t.protocol&&"https:"!==t.protocol&&"mailto:"!==t.protocol&&"tel:"!==t.protocol)},L5e=function(e){if(!g5e(e))return!1;var t=e;return!(!t.attributes.getNamedItem("src")||!t.attributes.getNamedItem("src").value)},z5e=function(e,t){if(!m5e(e))return t;var n=e,i=n.style.fontWeight,r=n.style.fontStyle,a=n.style.textDecoration;return t.withMutations((function(e){x5e.indexOf(i)>=0?e.add("BOLD"):S5e.indexOf(i)>=0&&e.remove("BOLD"),"italic"===r?e.add("ITALIC"):"normal"===r&&e.remove("ITALIC"),"underline"===a&&e.add("UNDERLINE"),"line-through"===a&&e.add("STRIKETHROUGH"),"none"===a&&(e.remove("UNDERLINE"),e.remove("STRIKETHROUGH"))}))},$5e=function(e){return"ul"===e||"ol"===e},R5e=function(){function e(e,t){K6e(this,"characterList",c5e()),K6e(this,"currentBlockType","unstyled"),K6e(this,"currentDepth",0),K6e(this,"currentEntity",null),K6e(this,"currentText",""),K6e(this,"wrapper",null),K6e(this,"blockConfigs",[]),K6e(this,"contentBlocks",[]),K6e(this,"entityMap",i5e),K6e(this,"blockTypeMap",void 0),K6e(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=e,this.disambiguate=t}var t=e.prototype;return t.clear=function(){this.characterList=c5e(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=i5e,this.wrapper=null,this.contentBlocks=[]},t.addDOMNode=function(e){var t;return this.contentBlocks=[],this.currentDepth=0,(t=this.blockConfigs).push.apply(t,this._toBlockConfigs([e],h5e())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},t.getContentBlocks=function(){return 0===this.contentBlocks.length&&(v5e?this._toContentBlocks(this.blockConfigs):this._toFlatContentBlocks(this.blockConfigs)),{contentBlocks:this.contentBlocks,entityMap:this.entityMap}},t._makeBlockConfig=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.key||o5e(),n=H6e({key:t,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:c5e(),prevSibling:null,nextSibling:null,childConfigs:[]},e);return this.characterList=c5e(),this.currentBlockType="unstyled",this.currentText="",n},t._toBlockConfigs=function(e,t){for(var n=[],i=0;i<e.length;i++){var r=e[i],a=r.nodeName.toLowerCase();if("body"===a||$5e(a)){this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var o=this.currentDepth,s=this.wrapper;$5e(a)&&(this.wrapper=a,$5e(s)&&this.currentDepth++),n.push.apply(n,this._toBlockConfigs(Array.from(r.childNodes),t)),this.currentDepth=o,this.wrapper=s}else{var l=this.blockTypeMap.get(a);if(void 0===l)if("#text"!==a)if("br"!==a)if(L5e(r))this._addImgNode(r,t);else if(I5e(r))this._addAnchorNode(r,n,t);else{var u=t;C5e.has(a)&&(u=u.add(C5e.get(a))),u=z5e(r,u);var c=D5e(r);null!=c&&(u=u.add(c)),n.push.apply(n,this._toBlockConfigs(Array.from(r.childNodes),u))}else this._addBreakNode(r,t);else this._addTextNode(r,t);else{this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var d=this.currentDepth,h=this.wrapper;if(this.wrapper="pre"===a?"pre":this.wrapper,"string"!=typeof l&&(l=this.disambiguate(a,this.wrapper)||l[0]||"unstyled"),!v5e&&m5e(r)&&("unordered-list-item"===l||"ordered-list-item"===l)){var p=r;this.currentDepth=A5e(p,this.currentDepth)}var f=o5e(),m=this._toBlockConfigs(Array.from(r.childNodes),t);this._trimCurrentText(),n.push(this._makeBlockConfig({key:f,childConfigs:m,type:l})),this.currentDepth=d,this.wrapper=h}}}return n},t._appendText=function(e,t){var n;this.currentText+=e;var i=J6e.create({style:t,entity:this.currentEntity});this.characterList=(n=this.characterList).push.apply(n,Array(e.length).fill(i))},t._trimCurrentText=function(){var e=this.currentText.length,t=e-this.currentText.trimLeft().length,n=this.currentText.trimRight().length,i=this.characterList.findEntry((function(e){return null!==e.getEntity()}));(t=void 0!==i?Math.min(t,i[0]):t)>(n=void 0!==(i=this.characterList.reverse().findEntry((function(e){return null!==e.getEntity()})))?Math.max(n,e-i[0]):n)?(this.currentText="",this.characterList=c5e()):(this.currentText=this.currentText.slice(t,n),this.characterList=this.characterList.slice(t,n))},t._addTextNode=function(e,t){var n=e.textContent;""===n.trim()&&"pre"!==this.wrapper&&(n=" "),"pre"!==this.wrapper&&(n=(n=n.replace(O5e,"")).replace(b5e," ")),this._appendText(n,t)},t._addBreakNode=function(e,t){f5e(e)&&this._appendText("\n",t)},t._addImgNode=function(e,t){if(g5e(e)){var n=e,i={};E5e.forEach((function(e){var t=n.getAttribute(e);t&&(i[e]=t)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",i),l5e("draftjs_fix_paste_for_img")?"presentation"!==n.getAttribute("role")&&this._appendText("📷",t):this._appendText("📷",t),this.currentEntity=null}},t._addAnchorNode=function(e,t,n){if(p5e(e)){var i=e,r={};P5e.forEach((function(e){var t=i.getAttribute(e);t&&(r[e]=t)})),r.url=new r5e(i.href).toString(),this.currentEntity=this.entityMap.__create("LINK","MUTABLE",r||{}),t.push.apply(t,this._toBlockConfigs(Array.from(e.childNodes),n)),this.currentEntity=null}},t._toContentBlocks=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=e.length-1,i=0;i<=n;i++){var r=e[i];r.parent=t,r.prevSibling=i>0?e[i-1].key:null,r.nextSibling=i<n?e[i+1].key:null,r.children=c5e(r.childConfigs.map((function(e){return e.key}))),this.contentBlocks.push(new t5e(H6e({},r))),this._toContentBlocks(r.childConfigs,r.key)}},t._hoistContainersInBlockConfigs=function(e){var t=this;return c5e(e).flatMap((function(e){return"unstyled"!==e.type||""!==e.text?[e]:t._hoistContainersInBlockConfigs(e.childConfigs)}))},t._toFlatContentBlocks=function(e){var t=this;this._hoistContainersInBlockConfigs(e).forEach((function(e){var n=t._extractTextFromBlockConfigs(e.childConfigs),i=n.text,r=n.characterList;t.contentBlocks.push(new e5e(H6e({},e,{text:e.text+i,characterList:e.characterList.concat(r)})))}))},t._extractTextFromBlockConfigs=function(e){for(var t=e.length-1,n="",i=c5e(),r=0;r<=t;r++){var a=e[r];n+=a.text,i=i.concat(a.characterList),""!==n&&"unstyled"!==a.type&&(n+="\n",i=i.push(i.last()));var o=this._extractTextFromBlockConfigs(a.childConfigs);n+=o.text,i=i.concat(o.characterList)}return{text:n,characterList:i}},e}(),Q5e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s5e,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n5e,i=t(e=e.trim().replace(y5e,"").replace(_5e," ").replace(w5e,"").replace(k5e,""));if(!i)return null;var r=T5e(n),a=function(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null};return new R5e(r,a).addDOMNode(i).getContentBlocks()};function j5e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var M5e=SXe,N5e=MXe,U5e=Q5e,q5e=lVe,B5e=G6e,G5e=YYe,W5e=HWe.exports,X5e=HYe,V5e=W5e.List,Y5e=W5e.Repeat,Z5e=G5e("draft_tree_data_support"),H5e=Z5e?N5e:M5e,K5e={processHTML:function(e,t){return U5e(e,B5e,t)},processText:function(e,t,n){return e.reduce((function(e,i,r){i=X5e(i);var a=q5e(),o={key:a,type:n,text:i,characterList:V5e(Y5e(t,i.length))};if(Z5e&&0!==r){var s=r-1;o=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){j5e(e,t,n[t])}))}return e}({},o,{prevSibling:(e[s]=e[s].merge({nextSibling:a})).getKey()})}return e.push(new H5e(o)),e}),[])}};var J5e=function(e,t,n,i){var r=t.getStartKey(),a=t.getEndKey(),o=e.getBlockMap(),s=o.toSeq().skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===a})).concat([[a,o.get(a)]]).map((function(e){var t=e.getDepth()+n;return t=Math.max(0,Math.min(t,i)),e.set("depth",t)}));return o=o.merge(s),e.merge({blockMap:o,selectionBefore:t,selectionAfter:t})},e9e=bYe,t9e=mHe,n9e=J5e,i9e=GZe,r9e={currentBlockContainsLink:function(e){var t=e.getSelection(),n=e.getCurrentContent(),i=n.getEntityMap();return n.getBlockForKey(t.getAnchorKey()).getCharacterList().slice(t.getStartOffset(),t.getEndOffset()).some((function(e){var t=e.getEntity();return!!t&&"LINK"===i.__get(t).getType()}))},getCurrentBlockType:function(e){var t=e.getSelection();return e.getCurrentContent().getBlockForKey(t.getStartKey()).getType()},getDataObjectForLinkURL:function(e){return{url:e.toString()}},handleKeyCommand:function(e,t,n){switch(t){case"bold":return r9e.toggleInlineStyle(e,"BOLD");case"italic":return r9e.toggleInlineStyle(e,"ITALIC");case"underline":return r9e.toggleInlineStyle(e,"UNDERLINE");case"code":return r9e.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return r9e.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return r9e.onDelete(e);default:return null}},insertSoftNewline:function(e){var t=e9e.insertText(e.getCurrentContent(),e.getSelection(),"\n",e.getCurrentInlineStyle(),null),n=t9e.push(e,t,"insert-characters");return t9e.forceSelection(n,t.getSelectionAfter())},onBackspace:function(e){var t=e.getSelection();if(!t.isCollapsed()||t.getAnchorOffset()||t.getFocusOffset())return null;var n=e.getCurrentContent(),i=t.getStartKey(),r=n.getBlockBefore(i);if(r&&"atomic"===r.getType()){var a=n.getBlockMap().delete(r.getKey()),o=n.merge({blockMap:a,selectionAfter:t});if(o!==n)return t9e.push(e,o,"remove-range")}var s=r9e.tryToRemoveBlockStyle(e);return s?t9e.push(e,s,"change-block-type"):null},onDelete:function(e){var t=e.getSelection();if(!t.isCollapsed())return null;var n=e.getCurrentContent(),i=t.getStartKey(),r=n.getBlockForKey(i).getLength();if(t.getStartOffset()<r)return null;var a=n.getBlockAfter(i);if(!a||"atomic"!==a.getType())return null;var o=t.merge({focusKey:a.getKey(),focusOffset:a.getLength()}),s=e9e.removeRange(n,o,"forward");return s!==n?t9e.push(e,s,"remove-range"):null},onTab:function(e,t,n){var i=t.getSelection(),r=i.getAnchorKey();if(r!==i.getFocusKey())return t;var a=t.getCurrentContent(),o=a.getBlockForKey(r),s=o.getType();if("unordered-list-item"!==s&&"ordered-list-item"!==s)return t;e.preventDefault();var l=o.getDepth();if(!e.shiftKey&&l===n)return t;var u=n9e(a,i,e.shiftKey?-1:1,n);return t9e.push(t,u,"adjust-depth")},toggleBlockType:function(e,t){var n=e.getSelection(),i=n.getStartKey(),r=n.getEndKey(),a=e.getCurrentContent(),o=n;if(i!==r&&0===n.getEndOffset()){var s=i9e(a.getBlockBefore(r));r=s.getKey(),o=o.merge({anchorKey:i,anchorOffset:n.getStartOffset(),focusKey:r,focusOffset:s.getLength(),isBackward:!1})}var l=a.getBlockMap().skipWhile((function(e,t){return t!==i})).reverse().skipWhile((function(e,t){return t!==r})).some((function(e){return"atomic"===e.getType()}));if(l)return e;var u=a.getBlockForKey(i).getType()===t?"unstyled":t;return t9e.push(e,e9e.setBlockType(a,o,u),"change-block-type")},toggleCode:function(e){var t=e.getSelection(),n=t.getAnchorKey(),i=t.getFocusKey();return t.isCollapsed()||n!==i?r9e.toggleBlockType(e,"code-block"):r9e.toggleInlineStyle(e,"CODE")},toggleInlineStyle:function(e,t){var n=e.getSelection(),i=e.getCurrentInlineStyle();if(n.isCollapsed())return t9e.setInlineStyleOverride(e,i.has(t)?i.remove(t):i.add(t));var r,a=e.getCurrentContent();return r=i.has(t)?e9e.removeInlineStyle(a,n,t):e9e.applyInlineStyle(a,n,t),t9e.push(e,r,"change-inline-style")},toggleLink:function(e,t,n){var i=e9e.applyEntity(e.getCurrentContent(),t,n);return t9e.push(e,i,"apply-entity")},tryToRemoveBlockStyle:function(e){var t=e.getSelection(),n=t.getAnchorOffset();if(t.isCollapsed()&&0===n){var i=t.getAnchorKey(),r=e.getCurrentContent(),a=r.getBlockForKey(i).getType(),o=r.getBlockBefore(i);if("code-block"===a&&o&&"code-block"===o.getType()&&0!==o.getLength())return null;if("unstyled"!==a)return e9e.setBlockType(r,t,"unstyled")}return null}},a9e=r9e,o9e=/\r\n?|\n/g;var s9e=eXe,l9e=cXe,u9e=$2e,c9e=bYe,d9e=K5e,h9e=mHe,p9e=a9e,f9e=xJe,m9e=M2e,g9e=N2e,v9e=function(e){return e.split(o9e)};function y9e(e,t,n){var i=c9e.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return h9e.push(e,i.set("entityMap",n),"insert-fragment")}var b9e=function(e,t){t.preventDefault();var n=new u9e(t.clipboardData);if(!n.isRichText()){var i=n.getFiles(),r=n.getText();if(i.length>0){if(e.props.handlePastedFiles&&g9e(e.props.handlePastedFiles(i)))return;return void m9e(i,(function(t){if(t=t||r){var n=e._latestEditorState,i=v9e(t),a=l9e.create({style:n.getCurrentInlineStyle(),entity:f9e(n.getCurrentContent(),n.getSelection())}),o=p9e.getCurrentBlockType(n),s=d9e.processText(i,a,o),l=s9e.createFromArray(s),u=c9e.replaceWithFragment(n.getCurrentContent(),n.getSelection(),l);e.update(h9e.push(n,u,"insert-fragment"))}}))}}var a=[],o=n.getText(),s=n.getHTML(),l=e._latestEditorState;if(!e.props.handlePastedText||!g9e(e.props.handlePastedText(o,s,l))){if(o&&(a=v9e(o)),!e.props.stripPastedStyles){var u=e.getClipboard();if(n.isRichText()&&u){if(-1!==s.indexOf(e.getEditorKey())||1===a.length&&1===u.size&&u.first().getText()===o)return void e.update(y9e(e._latestEditorState,u))}else if(u&&n.types.includes("com.apple.webarchive")&&!n.types.includes("text/html")&&function(e,t){return e.length===t.size&&t.valueSeq().every((function(t,n){return t.getText()===e[n]}))}(a,u))return void e.update(y9e(e._latestEditorState,u));if(s){var c=d9e.processHTML(s,e.props.blockRenderMap);if(c){var d=c.contentBlocks,h=c.entityMap;if(d){var p=s9e.createFromArray(d);return void e.update(y9e(e._latestEditorState,p,h))}}}e.setClipboard(null)}if(a.length){var f=l9e.create({style:l.getCurrentInlineStyle(),entity:f9e(l.getCurrentContent(),l.getSelection())}),m=p9e.getCurrentBlockType(l),g=d9e.processText(a,f,m),v=s9e.createFromArray(g);e.update(y9e(e._latestEditorState,v))}}},O9e=CKe,_9e=p3e,w9e=v3e,k9e=b3e,x9e=k3e,S9e=D3e,P9e=A3e,E9e=I3e,F9e=$3e,C9e=p4e,T9e=M6e,D9e=b9e,A9e=OJe,I9e=O9e.isBrowser("Chrome"),L9e=O9e.isBrowser("Firefox"),z9e=I9e||L9e?A9e:function(e){},$9e={onBeforeInput:_9e,onBlur:w9e,onCompositionStart:k9e,onCopy:x9e,onCut:S9e,onDragOver:P9e,onDragStart:E9e,onFocus:F9e,onInput:C9e,onKeyDown:T9e,onPaste:D9e,onSelect:A9e,onMouseUp:z9e,onKeyUp:z9e},R9e=b.default.unstable_flushControlled;var Q9e=g.default,j9e=GHe,M9e=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){return this.props.text!==e.text||this.props.editorState.getSelection().getHasFocus()!==e.editorState.getSelection().getHasFocus()},r.render=function(){var e=this.props.editorState.getSelection().getHasFocus(),t=j9e({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":e});return Q9e.createElement("div",{className:t},Q9e.createElement("div",{className:j9e("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},i}(Q9e.Component),N9e=M9e,U9e=b4e,q9e=ZKe,B9e=CKe,G9e=B9e.isPlatform("Mac OS X"),W9e=G9e&&B9e.isBrowser("Firefox < 29"),X9e=U9e.hasCommandModifier,V9e=U9e.isCtrlKeyCommand;function Y9e(e){return G9e&&e.altKey||V9e(e)}var Z9e=function(e){switch(e.keyCode){case 66:return X9e(e)?"bold":null;case 68:return V9e(e)?"delete":null;case 72:return V9e(e)?"backspace":null;case 73:return X9e(e)?"italic":null;case 74:return X9e(e)?"code":null;case 75:return G9e&&V9e(e)?"secondary-cut":null;case 77:case 79:return V9e(e)?"split-block":null;case 84:return G9e&&V9e(e)?"transpose-characters":null;case 85:return X9e(e)?"underline":null;case 87:return G9e&&V9e(e)?"backspace-word":null;case 89:return V9e(e)?G9e?"secondary-paste":"redo":null;case 90:return function(e){return X9e(e)?e.shiftKey?"redo":"undo":null}(e)||null;case q9e.RETURN:return"split-block";case q9e.DELETE:return function(e){return!G9e&&e.shiftKey?null:Y9e(e)?"delete-word":"delete"}(e);case q9e.BACKSPACE:return function(e){return X9e(e)&&G9e?"backspace-to-start-of-line":Y9e(e)?"backspace-word":"backspace"}(e);case q9e.LEFT:return W9e&&X9e(e)?"move-selection-to-start-of-block":null;case q9e.RIGHT:return W9e&&X9e(e)?"move-selection-to-end-of-block":null;default:return null}},H9e=XZ;function K9e(){return K9e=H9e||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},K9e.apply(this,arguments)}function J9e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){t8e(e,t,n[t])}))}return e}function e8e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t8e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function n8e(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var i8e=VHe,r8e=YHe,a8e=QJe,o8e=O2e,s8e=t3e,l8e=$9e,u8e=R9e,c8e=N9e,d8e=mHe,h8e=g.default,p8e=N0e,f8e=K0e,m8e=GHe,g8e=lVe,v8e=Z9e,y8e=o1e,b8e=YYe,O8e=KXe,_8e=KKe,w8e=GZe,k8e=CKe.isBrowser("IE"),x8e=!k8e,S8e={edit:l8e,composite:a8e,drag:s8e,cut:null,render:null},P8e=!1,E8e=function(e){function t(){return e.apply(this,arguments)||this}n8e(t,e);var n=t.prototype;return n.render=function(){return null},n.componentDidMount=function(){this._update()},n.componentDidUpdate=function(){this._update()},n._update=function(){var e=this.props.editor;e._latestEditorState=this.props.editorState,e._blockSelectEvents=!0},t}(h8e.Component),F8e=function(e){function t(t){var n;return t8e(e8e(n=e.call(this,t)||this),"_blockSelectEvents",void 0),t8e(e8e(n),"_clipboard",void 0),t8e(e8e(n),"_handler",void 0),t8e(e8e(n),"_dragCount",void 0),t8e(e8e(n),"_internalDrag",void 0),t8e(e8e(n),"_editorKey",void 0),t8e(e8e(n),"_placeholderAccessibilityID",void 0),t8e(e8e(n),"_latestEditorState",void 0),t8e(e8e(n),"_latestCommittedEditorState",void 0),t8e(e8e(n),"_pendingStateFromBeforeInput",void 0),t8e(e8e(n),"_onBeforeInput",void 0),t8e(e8e(n),"_onBlur",void 0),t8e(e8e(n),"_onCharacterData",void 0),t8e(e8e(n),"_onCompositionEnd",void 0),t8e(e8e(n),"_onCompositionStart",void 0),t8e(e8e(n),"_onCopy",void 0),t8e(e8e(n),"_onCut",void 0),t8e(e8e(n),"_onDragEnd",void 0),t8e(e8e(n),"_onDragOver",void 0),t8e(e8e(n),"_onDragStart",void 0),t8e(e8e(n),"_onDrop",void 0),t8e(e8e(n),"_onInput",void 0),t8e(e8e(n),"_onFocus",void 0),t8e(e8e(n),"_onKeyDown",void 0),t8e(e8e(n),"_onKeyPress",void 0),t8e(e8e(n),"_onKeyUp",void 0),t8e(e8e(n),"_onMouseDown",void 0),t8e(e8e(n),"_onMouseUp",void 0),t8e(e8e(n),"_onPaste",void 0),t8e(e8e(n),"_onSelect",void 0),t8e(e8e(n),"editor",void 0),t8e(e8e(n),"editorContainer",void 0),t8e(e8e(n),"focus",void 0),t8e(e8e(n),"blur",void 0),t8e(e8e(n),"setMode",void 0),t8e(e8e(n),"exitCurrentMode",void 0),t8e(e8e(n),"restoreEditorDOM",void 0),t8e(e8e(n),"setClipboard",void 0),t8e(e8e(n),"getClipboard",void 0),t8e(e8e(n),"getEditorKey",void 0),t8e(e8e(n),"update",void 0),t8e(e8e(n),"onDragEnter",void 0),t8e(e8e(n),"onDragLeave",void 0),t8e(e8e(n),"_handleEditorContainerRef",(function(e){n.editorContainer=e,n.editor=null!==e?e.firstChild:null})),t8e(e8e(n),"focus",(function(e){var t=n.props.editorState,i=t.getSelection().getHasFocus(),r=n.editor;if(r){var a=f8e.getScrollParent(r),o=e||y8e(a),s=o.x,l=o.y;_8e(r)||("production"!==go.env.NODE_ENV?O8e(!1,"editorNode is not an HTMLElement"):O8e(!1)),r.focus(),a===window?window.scrollTo(s,l):p8e.setTop(a,l),i||n.update(d8e.forceSelection(t,t.getSelection()))}})),t8e(e8e(n),"blur",(function(){var e=n.editor;e&&(_8e(e)||("production"!==go.env.NODE_ENV?O8e(!1,"editorNode is not an HTMLElement"):O8e(!1)),e.blur())})),t8e(e8e(n),"setMode",(function(e){var t=n.props,i=t.onPaste,r=t.onCut,a=t.onCopy,o=J9e({},S8e.edit);i&&(o.onPaste=i),r&&(o.onCut=r),a&&(o.onCopy=a);var s=J9e({},S8e,{edit:o});n._handler=s[e]})),t8e(e8e(n),"exitCurrentMode",(function(){n.setMode("edit")})),t8e(e8e(n),"restoreEditorDOM",(function(e){n.setState({contentsKey:n.state.contentsKey+1},(function(){n.focus(e)}))})),t8e(e8e(n),"setClipboard",(function(e){n._clipboard=e})),t8e(e8e(n),"getClipboard",(function(){return n._clipboard})),t8e(e8e(n),"update",(function(e){n._latestEditorState=e,n.props.onChange(e)})),t8e(e8e(n),"onDragEnter",(function(){n._dragCount++})),t8e(e8e(n),"onDragLeave",(function(){n._dragCount--,0===n._dragCount&&n.exitCurrentMode()})),n._blockSelectEvents=!1,n._clipboard=null,n._handler=null,n._dragCount=0,n._editorKey=t.editorKey||g8e(),n._placeholderAccessibilityID="placeholder-"+n._editorKey,n._latestEditorState=t.editorState,n._latestCommittedEditorState=t.editorState,n._onBeforeInput=n._buildHandler("onBeforeInput"),n._onBlur=n._buildHandler("onBlur"),n._onCharacterData=n._buildHandler("onCharacterData"),n._onCompositionEnd=n._buildHandler("onCompositionEnd"),n._onCompositionStart=n._buildHandler("onCompositionStart"),n._onCopy=n._buildHandler("onCopy"),n._onCut=n._buildHandler("onCut"),n._onDragEnd=n._buildHandler("onDragEnd"),n._onDragOver=n._buildHandler("onDragOver"),n._onDragStart=n._buildHandler("onDragStart"),n._onDrop=n._buildHandler("onDrop"),n._onInput=n._buildHandler("onInput"),n._onFocus=n._buildHandler("onFocus"),n._onKeyDown=n._buildHandler("onKeyDown"),n._onKeyPress=n._buildHandler("onKeyPress"),n._onKeyUp=n._buildHandler("onKeyUp"),n._onMouseDown=n._buildHandler("onMouseDown"),n._onMouseUp=n._buildHandler("onMouseUp"),n._onPaste=n._buildHandler("onPaste"),n._onSelect=n._buildHandler("onSelect"),n.getEditorKey=function(){return n._editorKey},"production"!==go.env.NODE_ENV&&["onDownArrow","onEscape","onLeftArrow","onRightArrow","onTab","onUpArrow"].forEach((function(e){t.hasOwnProperty(e)&&console.warn("Supplying an `".concat(e,"` prop to `DraftEditor` has ")+"been deprecated. If your handler needs access to the keyboard event, supply a custom `keyBindingFn` prop that falls back to the default one (eg. https://is.gd/wHKQ3W).")})),n.state={contentsKey:0},n}n8e(t,e);var n=t.prototype;return n._buildHandler=function(e){var t=this;return function(n){if(!t.props.readOnly){var i=t._handler&&t._handler[e];i&&(u8e?u8e((function(){return i(t,n)})):i(t,n))}}},n._showPlaceholder=function(){return!!this.props.placeholder&&!this.props.editorState.isInCompositionMode()&&!this.props.editorState.getCurrentContent().hasText()},n._renderPlaceholder=function(){if(this._showPlaceholder()){var e={text:w8e(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return h8e.createElement(c8e,e)}return null},n.render=function(){var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,i=e.blockStyleFn,r=e.customStyleFn,a=e.customStyleMap,o=e.editorState,s=e.preventScroll,l=e.readOnly,u=e.textAlignment,c=e.textDirectionality,d=m8e({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===u,"DraftEditor/alignRight":"right"===u,"DraftEditor/alignCenter":"center"===u}),h=this.props.role||"textbox",p="combobox"===h?!!this.props.ariaExpanded:null,f={blockRenderMap:t,blockRendererFn:n,blockStyleFn:i,customStyleMap:J9e({},r8e,a),customStyleFn:r,editorKey:this._editorKey,editorState:o,preventScroll:s,textDirectionality:c};return h8e.createElement("div",{className:d},this._renderPlaceholder(),h8e.createElement("div",{className:m8e("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},h8e.createElement("div",{"aria-activedescendant":l?null:this.props.ariaActiveDescendantID,"aria-autocomplete":l?null:this.props.ariaAutoComplete,"aria-controls":l?null:this.props.ariaControls,"aria-describedby":this.props.ariaDescribedBy||this._placeholderAccessibilityID,"aria-expanded":l?null:p,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,"aria-owns":l?null:this.props.ariaOwneeID,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:m8e({notranslate:!l,"public/DraftEditor/content":!0}),contentEditable:!l,"data-testid":this.props.webDriverTestID,onBeforeInput:this._onBeforeInput,onBlur:this._onBlur,onCompositionEnd:this._onCompositionEnd,onCompositionStart:this._onCompositionStart,onCopy:this._onCopy,onCut:this._onCut,onDragEnd:this._onDragEnd,onDragEnter:this.onDragEnter,onDragLeave:this.onDragLeave,onDragOver:this._onDragOver,onDragStart:this._onDragStart,onDrop:this._onDrop,onFocus:this._onFocus,onInput:this._onInput,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseUp:this._onMouseUp,onPaste:this._onPaste,onSelect:this._onSelect,ref:this.props.editorRef,role:l?null:h,spellCheck:x8e&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},h8e.createElement(E8e,{editor:this,editorState:o}),h8e.createElement(o8e,K9e({},f,{key:"contents"+this.state.contentsKey})))))},n.componentDidMount=function(){this._blockSelectEvents=!1,!P8e&&b8e("draft_ods_enabled")&&(P8e=!0),this.setMode("edit"),k8e&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):x.execCommand("AutoUrlDetect",!1,!1))},n.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},t}(h8e.Component);t8e(F8e,"defaultProps",{blockRenderMap:i8e,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:v8e,readOnly:!1,spellCheck:!1,stripPastedStyles:!1});var C8e=F8e,T8e=P(Object.freeze({__proto__:null})),D8e={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}},A8e=D8e,I8e=B3e.strlen;var L8e=function(e,t){var n=[];return e.findEntityRanges((function(e){return!!e.getEntity()}),(function(i,r){var a=e.getText(),o=e.getEntityAt(i);n.push({offset:I8e(a.slice(0,i)),length:I8e(a.slice(i,r)),key:Number(t[A8e.stringify(o)])})})),n},z8e=B3e,$8e=dXe,R8e=function(e,t){return e===t},Q8e=function(e){return!!e},j8e=[];var M8e=function(e){var t=e.getCharacterList().map((function(e){return e.getStyle()})).toList(),n=t.flatten().toSet().map((function(n){return function(e,t,n){var i=[],r=t.map((function(e){return e.has(n)})).toList();return $8e(r,R8e,Q8e,(function(t,r){var a=e.getText();i.push({offset:z8e.strlen(a.slice(0,t)),length:z8e.strlen(a.slice(t,r)),style:n})})),i}(e,t,n)}));return Array.prototype.concat.apply(j8e,n.toJS())};function N8e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var U8e=SXe,q8e=MXe,B8e=D8e,G8e=L8e,W8e=M8e,X8e=KXe,V8e=function(e,t){return{key:e.getKey(),text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:W8e(e),entityRanges:G8e(e,t),data:e.getData().toObject()}},Y8e=function(e,t,n,i){if(e instanceof U8e)n.push(V8e(e,t));else{e instanceof q8e||("production"!==go.env.NODE_ENV?X8e(!1,"block is not a BlockNode"):X8e(!1));var r=e.getParentKey(),a=i[e.getKey()]=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){N8e(e,t,n[t])}))}return e}({},V8e(e,t),{children:[]});r?i[r].children.push(a):n.push(a)}},Z8e=function(e){var t={entityMap:{},blocks:[]};return t=function(e,t){var n=t.entityMap,i=[],r={},a={},o=0;return e.getBlockMap().forEach((function(e){e.findEntityRanges((function(e){return null!==e.getEntity()}),(function(t){var i=e.getEntityAt(t),r=B8e.stringify(i);a[r]||(a[r]=i,n[r]="".concat(o),o++)})),Y8e(e,n,i,r)})),{blocks:i,entityMap:n}}(e,t),t=function(e,t){var n=t.blocks,i=t.entityMap,r={};return Object.keys(i).forEach((function(t,n){var i=e.getEntity(B8e.unstringify(t));r[n]={type:i.getType(),mutability:i.getMutability(),data:i.getData()}})),{blocks:n,entityMap:r}}(e,t),t};function H8e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){K8e(e,t,n[t])}))}return e}function K8e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var J8e=lVe,e7e=KXe,t7e=function(e){if(!e||!e.type)return!1;var t=e.type;return"unordered-list-item"===t||"ordered-list-item"===t},n7e={fromRawTreeStateToRawState:function(e){var t=e.blocks,n=[];return Array.isArray(t)||("production"!==go.env.NODE_ENV?e7e(!1,"Invalid raw state"):e7e(!1)),Array.isArray(t)&&t.length?(function(e,t){for(var n=[].concat(e).reverse();n.length;){var i=n.pop();t(i);var r=i.children;Array.isArray(r)||("production"!==go.env.NODE_ENV?e7e(!1,"Invalid tree raw block"):e7e(!1)),n=n.concat([].concat(r.reverse()))}}(t,(function(e){var t=H8e({},e);t7e(e)&&(t.depth=t.depth||0,function(e){Array.isArray(e.children)&&(e.children=e.children.map((function(t){return t.type===e.type?H8e({},t,{depth:(e.depth||0)+1}):t})))}(e),null!=e.children&&e.children.length>0)||(delete t.children,n.push(t))})),e.blocks=n,H8e({},e,{blocks:n})):e},fromRawStateToRawTreeState:function(e){var t=[],n=[];return e.blocks.forEach((function(e){var i=t7e(e),r=e.depth||0,a=H8e({},e,{children:[]});if(i){var o=n[0];if(null==o&&0===r)t.push(a);else if(null==o||o.depth<r-1){var s={key:J8e(),text:"",depth:r-1,type:e.type,children:[],entityRanges:[],inlineStyleRanges:[]};n.unshift(s),1===r?t.push(s):null!=o&&o.children.push(s),s.children.push(a)}else if(o.depth===r-1)o.children.push(a);else{for(;null!=o&&o.depth>=r;)n.shift(),o=n[0];r>0?o.children.push(a):t.push(a)}}else t.push(a)})),H8e({},e,{blocks:t})}},i7e=n7e,r7e=V3e,a7e={isValidBlock:function(e,t){var n=e.getKey(),i=e.getParentKey();if(null!=i&&!t.get(i).getChildKeys().includes(n))return"production"!==go.env.NODE_ENV&&r7e(!0,"Tree is missing parent -> child pointer on %s",n),!1;var r=e.getChildKeys().map((function(e){return t.get(e)}));if(!r.every((function(e){return e.getParentKey()===n})))return"production"!==go.env.NODE_ENV&&r7e(!0,"Tree is missing child -> parent pointer on %s",n),!1;var a=e.getPrevSiblingKey();if(null!=a&&t.get(a).getNextSiblingKey()!==n)return"production"!==go.env.NODE_ENV&&r7e(!0,"Tree is missing nextSibling pointer on %s's prevSibling",n),!1;var o=e.getNextSiblingKey();if(null!=o&&t.get(o).getPrevSiblingKey()!==n)return"production"!==go.env.NODE_ENV&&r7e(!0,"Tree is missing prevSibling pointer on %s's nextSibling",n),!1;return null!==o&&null!==a&&a===o?("production"!==go.env.NODE_ENV&&r7e(!0,"Tree has a two-node cycle at %s",n),!1):!(""!=e.text&&e.getChildKeys().size>0)||("production"!==go.env.NODE_ENV&&r7e(!0,"Leaf node %s has children",n),!1)},isConnectedTree:function(e){var t=e.toArray().filter((function(e){return null==e.getParentKey()&&null==e.getPrevSiblingKey()}));if(1!==t.length)return"production"!==go.env.NODE_ENV&&r7e(!0,"Tree is not connected. More or less than one first node"),!1;for(var n=0,i=t.shift().getKey(),r=[];null!=i;){var a=e.get(i),o=a.getChildKeys(),s=a.getNextSiblingKey();if(o.size>0){null!=s&&r.unshift(s);var l=o.map((function(t){return e.get(t)})),u=l.find((function(e){return null==e.getPrevSiblingKey()}));if(null==u)return"production"!==go.env.NODE_ENV&&r7e(!0,"%s has no first child",i),!1;i=u.getKey()}else i=null!=a.getNextSiblingKey()?a.getNextSiblingKey():r.shift();n++}return n===e.size||("production"!==go.env.NODE_ENV&&r7e(!0,"Tree is not connected. %s nodes were seen instead of %s",n,e.size),!1)},isValidTree:function(e){var t=this;return!!e.toArray().every((function(n){return t.isValidBlock(n,e)}))&&this.isConnectedTree(e)}},o7e=a7e,s7e=cXe,l7e=HWe.exports.List;var u7e=function(e,t){var n=e.map((function(e,n){var i=t[n];return s7e.create({style:e,entity:i})}));return l7e(n)},c7e=B3e.substr;var d7e=function(e,t){var n=Array(e.length).fill(null);return t&&t.forEach((function(t){for(var i=c7e(e,0,t.offset).length,r=i+c7e(e,t.offset,t.length).length,a=i;a<r;a++)n[a]=t.key})),n},h7e=B3e,p7e=HWe.exports.OrderedSet,f7e=h7e.substr,m7e=p7e();var g7e=function(e,t){var n=Array(e.length).fill(m7e);return t&&t.forEach((function(t){for(var i=f7e(e,0,t.offset).length,r=i+f7e(e,t.offset,t.length).length;i<r;)n[i]=n[i].add(t.style),i++})),n};function v7e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){y7e(e,t,n[t])}))}return e}function y7e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b7e=SXe,O7e=MXe,_7e=bZe,w7e=WYe,k7e=i7e,x7e=o7e,S7e=VYe,P7e=u7e,E7e=d7e,F7e=g7e,C7e=lVe,T7e=HWe.exports,D7e=KXe,A7e=YYe("draft_tree_data_support"),I7e=T7e.List,L7e=T7e.Map,z7e=T7e.OrderedMap,$7e=function(e,t){var n=e.key,i=e.type,r=e.data;return{text:e.text,depth:e.depth||0,type:i||"unstyled",key:n||C7e(),data:L7e(r),characterList:R7e(e,t)}},R7e=function(e,t){var n=e.text,i=e.entityRanges,r=e.inlineStyleRanges,a=i||[];return P7e(F7e(n,r||[]),E7e(n,a.filter((function(e){return t.hasOwnProperty(e.key)})).map((function(e){return v7e({},e,{key:t[e.key]})}))))},Q7e=function(e){return v7e({},e,{key:e.key||C7e()})},j7e=function(e,t,n){var i=t.map((function(e){return v7e({},e,{parentRef:n})}));return e.concat(i.reverse())},M7e=function(e,t){var n=e.blocks.find((function(e){return Array.isArray(e.children)&&e.children.length>0})),i=A7e&&!n?k7e.fromRawStateToRawTreeState(e).blocks:e.blocks;if(!A7e)return function(e,t){return z7e(e.map((function(e){var n=new b7e($7e(e,t));return[n.getKey(),n]})))}(n?k7e.fromRawTreeStateToRawState(e).blocks:i,t);var r=function(e,t){return e.map(Q7e).reduce((function(n,i,r){Array.isArray(i.children)||("production"!==go.env.NODE_ENV?D7e(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):D7e(!1));var a=i.children.map(Q7e),o=new O7e(v7e({},$7e(i,t),{prevSibling:0===r?null:e[r-1].key,nextSibling:r===e.length-1?null:e[r+1].key,children:I7e(a.map((function(e){return e.key})))}));n=n.set(o.getKey(),o);for(var s=j7e([],a,o);s.length>0;){var l=s.pop(),u=l.parentRef,c=u.getChildKeys(),d=c.indexOf(l.key),h=Array.isArray(l.children);if(!h){h||("production"!==go.env.NODE_ENV?D7e(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):D7e(!1));break}var p=l.children.map(Q7e),f=new O7e(v7e({},$7e(l,t),{parent:u.getKey(),children:I7e(p.map((function(e){return e.key}))),prevSibling:0===d?null:c.get(d-1),nextSibling:d===c.size-1?null:c.get(d+1)}));n=n.set(f.getKey(),f),s=j7e(s,p,f)}return n}),z7e())}(i,t);return"production"!==go.env.NODE_ENV&&(x7e.isValidTree(r)||("production"!==go.env.NODE_ENV?D7e(!1,"Should be a valid tree"):D7e(!1))),r},N7e=function(e){Array.isArray(e.blocks)||("production"!==go.env.NODE_ENV?D7e(!1,"invalid RawDraftContentState"):D7e(!1));var t=function(e){var t=e.entityMap,n={};return Object.keys(t).forEach((function(e){var i=t[e],r=i.type,a=i.mutability,o=i.data;n[e]=w7e.__create(r,a,o||{})})),n}(e),n=M7e(e,t),i=n.isEmpty()?new S7e:S7e.createEmpty(n.first().getKey());return new _7e({blockMap:n,entityMap:t,selectionBefore:i,selectionAfter:i})},U7e=F4e;var q7e=function(e){var t=U7e(e),n=0,i=0,r=0,a=0;if(t.length){if(t.length>1&&0===t[0].width){var o=t[1];n=o.top,i=o.right,r=o.bottom,a=o.left}else{var s=t[0];n=s.top,i=s.right,r=s.bottom,a=s.left}for(var l=1;l<t.length;l++){var u=t[l];0!==u.height&&0!==u.width&&(n=Math.min(n,u.top),i=Math.max(i,u.right),r=Math.max(r,u.bottom),a=Math.min(a,u.left))}}return{top:n,right:i,bottom:r,left:a,width:i-a,height:r-n}},B7e=q7e;var G7e=function(e){var t=e.getSelection();if(!t.rangeCount)return null;var n=t.getRangeAt(0),i=B7e(n),r=i.top,a=i.right,o=i.bottom,s=i.left;return 0===r&&0===a&&0===o&&0===s?null:i},W7e={Editor:C8e,EditorBlock:a2e,EditorState:mHe,CompositeDecorator:qHe,Entity:WYe,EntityInstance:$Ye,BlockMapBuilder:eXe,CharacterMetadata:cXe,ContentBlock:SXe,ContentState:bZe,RawDraftContentState:T8e,SelectionState:VYe,AtomicBlockUtils:MHe,KeyBindingUtil:b4e,Modifier:bYe,RichUtils:a9e,DefaultDraftBlockRenderMap:VHe,DefaultDraftInlineStyle:YHe,convertFromHTML:Q5e,convertFromRaw:N7e,convertToRaw:Z8e,genKey:lVe,getDefaultKeyBinding:Z9e,getVisibleSelectionRect:G7e};function X7e(e,t,n,i,r,a){var o=i-n;return t+n<=e.offset?Object.assign({},e,{offset:e.offset+o}):t>=e.offset&&t+n<=e.offset+e.length?Object.assign({},e,{length:e.length+o}):e.offset>=t&&e.offset+e.length<=t+n&&r>0?Object.assign({},e,{offset:e.offset+r}):e.offset<t&&e.offset+e.length<=t+n&&e.offset+e.length>t&&r>0?[Object.assign({},e,{length:t-e.offset}),Object.assign({},e,{offset:t+r,length:e.offset-t+e.length})]:e.offset>=t&&e.offset+e.length>t+n&&t+n>e.offset&&a>0?[Object.assign({},e,{offset:e.offset+r,length:t+n-e.offset}),Object.assign({},e,{offset:t+n+r+a,length:e.offset+e.length-(t+n)})]:e}var V7e=function(e,t){return e.offset===t.offset?t.length-e.length:e.offset-t.offset},Y7e={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","\n":"<br/>"};function Z7e(e){return Z7e="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},Z7e(e)}var H7e=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function K7e(e){if(-1!==H7e.indexOf(e.type))return w.default.renderToStaticMarkup(e);var t=w.default.renderToStaticMarkup(g.default.cloneElement(e,{},"\r")).split("\r");return i_e(t.length>1,"convertToHTML: Element of type ".concat(e.type," must render children")),i_e(t.length<3,"convertToHTML: Element of type ".concat(e.type," cannot use carriage return character")),{start:t[0],end:t[1]}}function J7e(e){return g.default.isValidElement(e)&&g.default.Children.count(e.props.children)>0}function eet(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(null==e)return e;if("string"==typeof e)return e;if(g.default.isValidElement(e)){if(J7e(e))return w.default.renderToStaticMarkup(e);var n=K7e(e);if(null!==t&&"object"===Z7e(n)){var i=n.start,r=n.end;return i+t+r}return n}if(i_e(Object.prototype.hasOwnProperty.call(e,"start")&&Object.prototype.hasOwnProperty.call(e,"end"),"convertToHTML: received conversion data without either an HTML string, ReactElement or an object with start/end tags"),null!==t){var a=e.start,o=e.end;return a+t+o}return e}var tet=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"start";if(g.default.isValidElement(t)){var i=K7e(t);if("string"==typeof i)return 0;var r=i[n].length,a=g.default.Children.toArray(t.props.children)[0];return r+(a&&g.default.isValidElement(a)?e(a,n):0)}return"object"===Z7e(t)&&t[n]?t[n].length:0},net=function(){var e=arguments.length>1?arguments[1]:void 0;return e},iet=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:net,i=VBe(e.text),r=n;if(n.__isMiddleware&&(r=n(net)),Object.prototype.hasOwnProperty.call(e,"entityRanges")&&e.entityRanges.length>0){for(var a=e.entityRanges.sort(V7e),o=e.inlineStyleRanges,s=function(e){var n=a[e],s=t[n.key],l=i.slice(n.offset,n.offset+n.length).join(""),u=r(s,l),c=VBe(eet(u,l)||l),d=tet(u,"start"),h=tet(u,"end"),p=function(t){return t.reduce((function(t,i,r){var a=function(t,i){return i>e||Object.prototype.hasOwnProperty.call(t,"style")?X7e(t,n.offset,n.length,c.length,d,h):t}(i,r);return Array.isArray(a)?t.concat(a):t.concat([a])}),[])};a=p(a),o=p(o),i=[].concat(VBe(i.slice(0,n.offset)),VBe(c),VBe(i.slice(n.offset+n.length)))},l=0;l<a.length;l++)s(l);return Object.assign({},e,{text:i.join(""),inlineStyleRanges:o,entityRanges:a})}return e},ret=function(e){return function(t){return"function"==typeof e?e(t):e[t]}},aet=function(e,t){return function(){var n=e.apply(void 0,arguments);return null!=n?n:t.apply(void 0,arguments)}};function oet(e){switch(e){case"BOLD":return g.default.createElement("strong",null);case"ITALIC":return g.default.createElement("em",null);case"UNDERLINE":return g.default.createElement("u",null);case"CODE":return g.default.createElement("code",null);default:return{start:"",end:""}}}var set=function(e,t){return e.filter((function(e){return!t.some((function(t){return t.style===e.style}))}))},uet=function(e,t){return t.reduceRight((function(e,t){var n=e[e.length-1];return i_e(n.style===t.style,"Style ".concat(n.style," to be removed doesn't match expected ").concat(t.style)),e.slice(0,-1)}),e)},cet=function(e,t){return t.filter((function(t){return e>=t.offset&&e<t.offset+t.length}))},det=function(e,t){var n=e.offset<=t.offset,i=e.offset+e.length>=t.offset+t.length;return n&&i},het=function(e,t){return t.offset+t.length-(e.offset+e.length)},pet=function(e,t){for(var n=0;n<e.length;){if(!t.every(det.bind(null,e[n])))return e.slice(n);n++}return[]},fet=function(e,t,n){return t+eet(e(n.style)).start},met=function(e,t,n){return eet(e(n.style)).end+t},get=function(e){return function(t){return e(t)}};get.__isMiddleware=!0;var vet=function(e){return function(t){return"function"==typeof e?e(t):e[t.type]}};function yet(e){return i_e(null!=e,"Expected block HTML value to be non-null"),"string"==typeof e?e:g.default.isValidElement(e)?function(e){return g.default.isValidElement(e)&&g.default.Children.count(e.props.children)>0}(e)?w.default.renderToStaticMarkup(e):K7e(e):Object.prototype.hasOwnProperty.call(e,"element")&&g.default.isValidElement(e.element)?Object.assign({},e,K7e(e.element)):(i_e(Object.prototype.hasOwnProperty.call(e,"start")&&Object.prototype.hasOwnProperty.call(e,"end"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),e)}function bet(e,t){if(i_e(null!=e,"Expected block HTML value to be non-null"),"function"==typeof e.nest){var n=K7e(e.nest(t)),i=n.start,r=n.end;return Object.assign({},e,{nestStart:i,nestEnd:r})}if(g.default.isValidElement(e.nest)){var a=K7e(e.nest),o=a.start,s=a.end;return Object.assign({},e,{nestStart:o,nestEnd:s})}return i_e(Object.prototype.hasOwnProperty.call(e,"nestStart")&&Object.prototype.hasOwnProperty.call(e,"nestEnd"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),e}var Oet=["1","a","i"],_et={unstyled:g.default.createElement("p",null),paragraph:g.default.createElement("p",null),"header-one":g.default.createElement("h1",null),"header-two":g.default.createElement("h2",null),"header-three":g.default.createElement("h3",null),"header-four":g.default.createElement("h4",null),"header-five":g.default.createElement("h5",null),"header-six":g.default.createElement("h6",null),blockquote:g.default.createElement("blockquote",null),"unordered-list-item":{element:g.default.createElement("li",null),nest:g.default.createElement("ul",null)},"ordered-list-item":{element:g.default.createElement("li",null),nest:function(e){var t=Oet[e%3];return g.default.createElement("ol",{type:t})}},media:g.default.createElement("figure",null),atomic:g.default.createElement("figure",null)},wet=function(e,t){return t},ket=function(e){var t=e.styleToHTML,n=void 0===t?{}:t,i=e.blockToHTML,r=void 0===i?{}:i,a=e.entityToHTML,o=void 0===a?wet:a;return function(e){var t;i_e(null!=e,"Expected contentState to be non-null"),t=!0===r.__isMiddleware?r(vet(_et)):aet(vet(r),vet(_et));var i=W7e.convertToRaw(e),a=[],s=i.blocks.map((function(e){var r=e.type,s=e.depth,l="",u="",c=t(e);if(!c)throw new Error("convertToHTML: missing HTML definition for block with type ".concat(e.type));if(c.nest)for(;s+1!==a.length||r!==a[s].type;)if(s+1===a.length){var d=a[s];l+=bet(t(d),s).nestEnd,u+=bet(t(e),s).nestStart,a[s]=e}else if(s+1<a.length){var h=a[a.length-1];l+=bet(t(h),s).nestEnd,a=a.slice(0,-1)}else u+=bet(t(e),s).nestStart,a.push(e);else l=a.reduceRight((function(e,n){return e+bet(t(n),s).nestEnd}),""),a=[];var p,f=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:get;i_e(null!=e,"Expected raw block to be non-null"),t=!0===n.__isMiddleware?n(oet):aet(ret(n),ret(oet));for(var i="",r=[],a=e.inlineStyleRanges.sort(V7e),o=VBe(e.text),s=0;s<o.length;s++){var l=cet(s,a),u=set(r,l),c=set(l,r),d=set(r,u),h=pet(d,c),p=h.concat(c).sort(het),f=p.reduce(fet.bind(null,t),"");i+=u.concat(h).reduce(met.bind(null,t),"")+f+o[s],r=(r=uet(r,h.concat(u))).concat(p),i_e(r.length===l.length,"Character ".concat(s,": ").concat(r.length-l.length," styles left on stack that should no longer be there"))}return r.reduceRight((function(e,n){return e+eet(t(n.style)).end}),i)}(iet(function(e){for(var t=VBe(e.text),n=e.entityRanges.sort(V7e),i=e.inlineStyleRanges.sort(V7e),r="",a=function(e){var a=t[e];if(void 0!==Y7e[a]){var o=Y7e[a],s=VBe(r).length;r+=o;var l=function(e){return X7e(e,s,a.length,o.length,0,0)};n=n.map(l),i=i.map(l)}else r+=a},o=0;o<t.length;o++)a(o);return Object.assign({},e,{text:r,inlineStyleRanges:i,entityRanges:n})}(e),i.entityMap,o),n),m=yet(t(e));return p="string"==typeof m?m:m.start+f+m.end,0===f.length&&Object.prototype.hasOwnProperty.call(m,"empty")&&(p=g.default.isValidElement(m.empty)?w.default.renderToStaticMarkup(m.empty):m.empty),l+u+p})).join("");return s=a.reduce((function(e,n){return e+bet(t(n),n.depth).nestEnd}),s)}},xet={exports:{}};!function(e,t){e.exports=function(){var e=Array.prototype.slice;function t(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function n(e){return o(e)?e:X(e)}function i(e){return s(e)?e:V(e)}function r(e){return l(e)?e:Y(e)}function a(e){return o(e)&&!u(e)?e:Z(e)}function o(e){return!(!e||!e[d])}function s(e){return!(!e||!e[h])}function l(e){return!(!e||!e[p])}function u(e){return s(e)||l(e)}function c(e){return!(!e||!e[f])}t(i,n),t(r,n),t(a,n),n.isIterable=o,n.isKeyed=s,n.isIndexed=l,n.isAssociative=u,n.isOrdered=c,n.Keyed=i,n.Indexed=r,n.Set=a;var d="@@__IMMUTABLE_ITERABLE__@@",h="@@__IMMUTABLE_KEYED__@@",p="@@__IMMUTABLE_INDEXED__@@",f="@@__IMMUTABLE_ORDERED__@@",m="delete",g=5,v=1<<g,y=v-1,b={},O={value:!1},_={value:!1};function w(e){return e.value=!1,e}function k(e){e&&(e.value=!0)}function x(){}function S(e,t){t=t||0;for(var n=Math.max(0,e.length-t),i=new Array(n),r=0;r<n;r++)i[r]=e[r+t];return i}function P(e){return void 0===e.size&&(e.size=e.__iterate(F)),e.size}function E(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?P(e)+t:t}function F(){return!0}function C(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function T(e,t){return A(e,t,0)}function D(e,t){return A(e,t,t)}function A(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var I=0,L=1,z=2,$="function"==typeof Symbol&&Symbol.iterator,R="@@iterator",Q=$||R;function j(e){this.next=e}function M(e,t,n,i){var r=0===e?t:1===e?n:[t,n];return i?i.value=r:i={value:r,done:!1},i}function N(){return{value:void 0,done:!0}}function U(e){return!!G(e)}function q(e){return e&&"function"==typeof e.next}function B(e){var t=G(e);return t&&t.call(e)}function G(e){var t=e&&($&&e[$]||e[R]);if("function"==typeof t)return t}function W(e){return e&&"number"==typeof e.length}function X(e){return null==e?oe():o(e)?e.toSeq():ue(e)}function V(e){return null==e?oe().toKeyedSeq():o(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function Y(e){return null==e?oe():o(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function Z(e){return(null==e?oe():o(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}j.prototype.toString=function(){return"[Iterator]"},j.KEYS=I,j.VALUES=L,j.ENTRIES=z,j.prototype.inspect=j.prototype.toSource=function(){return this.toString()},j.prototype[Q]=function(){return this},t(X,n),X.of=function(){return X(arguments)},X.prototype.toSeq=function(){return this},X.prototype.toString=function(){return this.__toString("Seq {","}")},X.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},X.prototype.__iterate=function(e,t){return de(this,e,t,!0)},X.prototype.__iterator=function(e,t){return he(this,e,t,!0)},t(V,X),V.prototype.toKeyedSeq=function(){return this},t(Y,X),Y.of=function(){return Y(arguments)},Y.prototype.toIndexedSeq=function(){return this},Y.prototype.toString=function(){return this.__toString("Seq [","]")},Y.prototype.__iterate=function(e,t){return de(this,e,t,!1)},Y.prototype.__iterator=function(e,t){return he(this,e,t,!1)},t(Z,X),Z.of=function(){return Z(arguments)},Z.prototype.toSetSeq=function(){return this},X.isSeq=ae,X.Keyed=V,X.Set=Z,X.Indexed=Y;var H,K,J,ee="@@__IMMUTABLE_SEQ__@@";function te(e){this._array=e,this.size=e.length}function ne(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function ie(e){this._iterable=e,this.size=e.length||e.size}function re(e){this._iterator=e,this._iteratorCache=[]}function ae(e){return!(!e||!e[ee])}function oe(){return H||(H=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():q(e)?new re(e).fromEntrySeq():U(e)?new ie(e).fromEntrySeq():"object"==typeof e?new ne(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function le(e){var t=ce(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ue(e){var t=ce(e)||"object"==typeof e&&new ne(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function ce(e){return W(e)?new te(e):q(e)?new re(e):U(e)?new ie(e):void 0}function de(e,t,n,i){var r=e._cache;if(r){for(var a=r.length-1,o=0;o<=a;o++){var s=r[n?a-o:o];if(!1===t(s[1],i?s[0]:o,e))return o+1}return o}return e.__iterateUncached(t,n)}function he(e,t,n,i){var r=e._cache;if(r){var a=r.length-1,o=0;return new j((function(){var e=r[n?a-o:o];return o++>a?N():M(t,i?e[0]:o-1,e[1])}))}return e.__iteratorUncached(t,n)}function pe(e,t){return t?fe(t,e,"",{"":e}):me(e)}function fe(e,t,n,i){return Array.isArray(t)?e.call(i,n,Y(t).map((function(n,i){return fe(e,n,i,t)}))):ge(t)?e.call(i,n,V(t).map((function(n,i){return fe(e,n,i,t)}))):t}function me(e){return Array.isArray(e)?Y(e).map(me).toList():ge(e)?V(e).map(me).toMap():e}function ge(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ve(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function ye(e,t){if(e===t)return!0;if(!o(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||s(e)!==s(t)||l(e)!==l(t)||c(e)!==c(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!u(e);if(c(e)){var i=e.entries();return t.every((function(e,t){var r=i.next().value;return r&&ve(r[1],e)&&(n||ve(r[0],t))}))&&i.next().done}var r=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{r=!0;var a=e;e=t,t=a}var d=!0,h=t.__iterate((function(t,i){if(n?!e.has(t):r?!ve(t,e.get(i,b)):!ve(e.get(i,b),t))return d=!1,!1}));return d&&e.size===h}function be(e,t){if(!(this instanceof be))return new be(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(K)return K;K=this}}function Oe(e,t){if(!e)throw new Error(t)}function _e(e,t,n){if(!(this instanceof _e))return new _e(e,t,n);if(Oe(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),t<e&&(n=-n),this._start=e,this._end=t,this._step=n,this.size=Math.max(0,Math.ceil((t-e)/n-1)+1),0===this.size){if(J)return J;J=this}}function we(){throw TypeError("Abstract")}function ke(){}function xe(){}function Se(){}X.prototype[ee]=!0,t(te,Y),te.prototype.get=function(e,t){return this.has(e)?this._array[E(this,e)]:t},te.prototype.__iterate=function(e,t){for(var n=this._array,i=n.length-1,r=0;r<=i;r++)if(!1===e(n[t?i-r:r],r,this))return r+1;return r},te.prototype.__iterator=function(e,t){var n=this._array,i=n.length-1,r=0;return new j((function(){return r>i?N():M(e,r,n[t?i-r++:r++])}))},t(ne,V),ne.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},ne.prototype.has=function(e){return this._object.hasOwnProperty(e)},ne.prototype.__iterate=function(e,t){for(var n=this._object,i=this._keys,r=i.length-1,a=0;a<=r;a++){var o=i[t?r-a:a];if(!1===e(n[o],o,this))return a+1}return a},ne.prototype.__iterator=function(e,t){var n=this._object,i=this._keys,r=i.length-1,a=0;return new j((function(){var o=i[t?r-a:a];return a++>r?N():M(e,o,n[o])}))},ne.prototype[f]=!0,t(ie,Y),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=B(this._iterable),i=0;if(q(n))for(var r;!(r=n.next()).done&&!1!==e(r.value,i++,this););return i},ie.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=B(this._iterable);if(!q(n))return new j(N);var i=0;return new j((function(){var t=n.next();return t.done?t:M(e,i++,t.value)}))},t(re,Y),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,i=this._iterator,r=this._iteratorCache,a=0;a<r.length;)if(!1===e(r[a],a++,this))return a;for(;!(n=i.next()).done;){var o=n.value;if(r[a]=o,!1===e(o,a++,this))break}return a},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,i=this._iteratorCache,r=0;return new j((function(){if(r>=i.length){var t=n.next();if(t.done)return t;i[r]=t.value}return M(e,r,i[r++])}))},t(be,Y),be.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},be.prototype.get=function(e,t){return this.has(e)?this._value:t},be.prototype.includes=function(e){return ve(this._value,e)},be.prototype.slice=function(e,t){var n=this.size;return C(e,t,n)?this:new be(this._value,D(t,n)-T(e,n))},be.prototype.reverse=function(){return this},be.prototype.indexOf=function(e){return ve(this._value,e)?0:-1},be.prototype.lastIndexOf=function(e){return ve(this._value,e)?this.size:-1},be.prototype.__iterate=function(e,t){for(var n=0;n<this.size;n++)if(!1===e(this._value,n,this))return n+1;return n},be.prototype.__iterator=function(e,t){var n=this,i=0;return new j((function(){return i<n.size?M(e,i++,n._value):N()}))},be.prototype.equals=function(e){return e instanceof be?ve(this._value,e._value):ye(e)},t(_e,Y),_e.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},_e.prototype.get=function(e,t){return this.has(e)?this._start+E(this,e)*this._step:t},_e.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},_e.prototype.slice=function(e,t){return C(e,t,this.size)?this:(e=T(e,this.size),(t=D(t,this.size))<=e?new _e(0,0):new _e(this.get(e,this._end),this.get(t,this._end),this._step))},_e.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},_e.prototype.lastIndexOf=function(e){return this.indexOf(e)},_e.prototype.__iterate=function(e,t){for(var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,a=0;a<=n;a++){if(!1===e(r,a,this))return a+1;r+=t?-i:i}return a},_e.prototype.__iterator=function(e,t){var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,a=0;return new j((function(){var o=r;return r+=t?-i:i,a>n?N():M(e,a++,o)}))},_e.prototype.equals=function(e){return e instanceof _e?this._start===e._start&&this._end===e._end&&this._step===e._step:ye(this,e)},t(we,n),t(ke,we),t(xe,we),t(Se,we),we.Keyed=ke,we.Indexed=xe,we.Set=Se;var Pe="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),i=65535&(t|=0);return n*i+((e>>>16)*i+n*(t>>>16)<<16>>>0)|0};function Ee(e){return e>>>1&1073741824|3221225471&e}function Fe(e){if(!1===e||null==e)return 0;if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null==e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)n^=e/=4294967295;return Ee(n)}if("string"===t)return e.length>je?Ce(e):Te(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return De(e);if("function"==typeof e.toString)return Te(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Ce(e){var t=Ue[e];return void 0===t&&(t=Te(e),Ne===Me&&(Ne=0,Ue={}),Ne++,Ue[e]=t),t}function Te(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Ee(t)}function De(e){var t;if($e&&void 0!==(t=ze.get(e)))return t;if(void 0!==(t=e[Qe]))return t;if(!Ie){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Qe]))return t;if(void 0!==(t=Le(e)))return t}if(t=++Re,1073741824&Re&&(Re=0),$e)ze.set(e,t);else{if(void 0!==Ae&&!1===Ae(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Ie)Object.defineProperty(e,Qe,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[Qe]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Qe]=t}}return t}var Ae=Object.isExtensible,Ie=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function Le(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var ze,$e="function"==typeof WeakMap;$e&&(ze=new WeakMap);var Re=0,Qe="__immutablehash__";"function"==typeof Symbol&&(Qe=Symbol(Qe));var je=16,Me=255,Ne=0,Ue={};function qe(e){Oe(e!==1/0,"Cannot perform this action with an infinite size.")}function Be(e){return null==e?rt():Ge(e)&&!c(e)?e:rt().withMutations((function(t){var n=i(e);qe(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Ge(e){return!(!e||!e[Xe])}t(Be,ke),Be.prototype.toString=function(){return this.__toString("Map {","}")},Be.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},Be.prototype.set=function(e,t){return at(this,e,t)},Be.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},Be.prototype.remove=function(e){return at(this,e,b)},Be.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},Be.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},Be.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var i=gt(this,wn(e),t,n);return i===b?void 0:i},Be.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):rt()},Be.prototype.merge=function(){return ht(this,void 0,arguments)},Be.prototype.mergeWith=function(t){return ht(this,t,e.call(arguments,1))},Be.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,rt(),(function(e){return"function"==typeof e.merge?e.merge.apply(e,n):n[n.length-1]}))},Be.prototype.mergeDeep=function(){return ht(this,pt,arguments)},Be.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return ht(this,ft(t),n)},Be.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,rt(),(function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]}))},Be.prototype.sort=function(e){return Ut(dn(this,e))},Be.prototype.sortBy=function(e,t){return Ut(dn(this,t,e))},Be.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},Be.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new x)},Be.prototype.asImmutable=function(){return this.__ensureOwner()},Be.prototype.wasAltered=function(){return this.__altered},Be.prototype.__iterator=function(e,t){return new et(this,e,t)},Be.prototype.__iterate=function(e,t){var n=this,i=0;return this._root&&this._root.iterate((function(t){return i++,e(t[1],t[0],n)}),t),i},Be.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?it(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Be.isMap=Ge;var We,Xe="@@__IMMUTABLE_MAP__@@",Ve=Be.prototype;function Ye(e,t){this.ownerID=e,this.entries=t}function Ze(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function He(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function Ke(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function Je(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function et(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&nt(e._root)}function tt(e,t){return M(e,t[0],t[1])}function nt(e,t){return{node:e,index:0,__prev:t}}function it(e,t,n,i){var r=Object.create(Ve);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function rt(){return We||(We=it(0))}function at(e,t,n){var i,r;if(e._root){var a=w(O),o=w(_);if(i=ot(e._root,e.__ownerID,0,void 0,t,n,a,o),!o.value)return e;r=e.size+(a.value?n===b?-1:1:0)}else{if(n===b)return e;r=1,i=new Ye(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=r,e._root=i,e.__hash=void 0,e.__altered=!0,e):i?it(r,i):rt()}function ot(e,t,n,i,r,a,o,s){return e?e.update(t,n,i,r,a,o,s):a===b?e:(k(s),k(o),new Je(t,i,[r,a]))}function st(e){return e.constructor===Je||e.constructor===Ke}function lt(e,t,n,i,r){if(e.keyHash===i)return new Ke(t,i,[e.entry,r]);var a,o=(0===n?e.keyHash:e.keyHash>>>n)&y,s=(0===n?i:i>>>n)&y;return new Ze(t,1<<o|1<<s,o===s?[lt(e,t,n+g,i,r)]:(a=new Je(t,i,r),o<s?[e,a]:[a,e]))}function ut(e,t,n,i){e||(e=new x);for(var r=new Je(e,Fe(n),[n,i]),a=0;a<t.length;a++){var o=t[a];r=r.update(e,0,void 0,o[0],o[1])}return r}function ct(e,t,n,i){for(var r=0,a=0,o=new Array(n),s=0,l=1,u=t.length;s<u;s++,l<<=1){var c=t[s];void 0!==c&&s!==i&&(r|=l,o[a++]=c)}return new Ze(e,r,o)}function dt(e,t,n,i,r){for(var a=0,o=new Array(v),s=0;0!==n;s++,n>>>=1)o[s]=1&n?t[a++]:void 0;return o[i]=r,new He(e,a+1,o)}function ht(e,t,n){for(var r=[],a=0;a<n.length;a++){var s=n[a],l=i(s);o(s)||(l=l.map((function(e){return pe(e)}))),r.push(l)}return mt(e,t,r)}function pt(e,t,n){return e&&e.mergeDeep&&o(t)?e.mergeDeep(t):ve(e,t)?e:t}function ft(e){return function(t,n,i){if(t&&t.mergeDeepWith&&o(n))return t.mergeDeepWith(e,n);var r=e(t,n,i);return ve(t,r)?t:r}}function mt(e,t,n){return n=n.filter((function(e){return 0!==e.size})),0===n.length?e:0!==e.size||e.__ownerID||1!==n.length?e.withMutations((function(e){for(var i=t?function(n,i){e.update(i,b,(function(e){return e===b?n:t(e,n,i)}))}:function(t,n){e.set(n,t)},r=0;r<n.length;r++)n[r].forEach(i)})):e.constructor(n[0])}function gt(e,t,n,i){var r=e===b,a=t.next();if(a.done){var o=r?n:e,s=i(o);return s===o?e:s}Oe(r||e&&e.set,"invalid keyPath");var l=a.value,u=r?b:e.get(l,b),c=gt(u,t,n,i);return c===u?e:c===b?e.remove(l):(r?rt():e).set(l,c)}function vt(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function yt(e,t,n,i){var r=i?e:S(e);return r[t]=n,r}function bt(e,t,n,i){var r=e.length+1;if(i&&t+1===r)return e[t]=n,e;for(var a=new Array(r),o=0,s=0;s<r;s++)s===t?(a[s]=n,o=-1):a[s]=e[s+o];return a}function Ot(e,t,n){var i=e.length-1;if(n&&t===i)return e.pop(),e;for(var r=new Array(i),a=0,o=0;o<i;o++)o===t&&(a=1),r[o]=e[o+a];return r}Ve[Xe]=!0,Ve[m]=Ve.remove,Ve.removeIn=Ve.deleteIn,Ye.prototype.get=function(e,t,n,i){for(var r=this.entries,a=0,o=r.length;a<o;a++)if(ve(n,r[a][0]))return r[a][1];return i},Ye.prototype.update=function(e,t,n,i,r,a,o){for(var s=r===b,l=this.entries,u=0,c=l.length;u<c&&!ve(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(k(o),(s||!d)&&k(a),!s||1!==l.length){if(!d&&!s&&l.length>=_t)return ut(e,l,i,r);var h=e&&e===this.ownerID,p=h?l:S(l);return d?s?u===c-1?p.pop():p[u]=p.pop():p[u]=[i,r]:p.push([i,r]),h?(this.entries=p,this):new Ye(e,p)}},Ze.prototype.get=function(e,t,n,i){void 0===t&&(t=Fe(n));var r=1<<((0===e?t:t>>>e)&y),a=this.bitmap;return 0==(a&r)?i:this.nodes[vt(a&r-1)].get(e+g,t,n,i)},Ze.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=Fe(i));var s=(0===t?n:n>>>t)&y,l=1<<s,u=this.bitmap,c=0!=(u&l);if(!c&&r===b)return this;var d=vt(u&l-1),h=this.nodes,p=c?h[d]:void 0,f=ot(p,e,t+g,n,i,r,a,o);if(f===p)return this;if(!c&&f&&h.length>=wt)return dt(e,h,u,s,f);if(c&&!f&&2===h.length&&st(h[1^d]))return h[1^d];if(c&&f&&1===h.length&&st(f))return f;var m=e&&e===this.ownerID,v=c?f?u:u^l:u|l,O=c?f?yt(h,d,f,m):Ot(h,d,m):bt(h,d,f,m);return m?(this.bitmap=v,this.nodes=O,this):new Ze(e,v,O)},He.prototype.get=function(e,t,n,i){void 0===t&&(t=Fe(n));var r=(0===e?t:t>>>e)&y,a=this.nodes[r];return a?a.get(e+g,t,n,i):i},He.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=Fe(i));var s=(0===t?n:n>>>t)&y,l=r===b,u=this.nodes,c=u[s];if(l&&!c)return this;var d=ot(c,e,t+g,n,i,r,a,o);if(d===c)return this;var h=this.count;if(c){if(!d&&--h<kt)return ct(e,u,h,s)}else h++;var p=e&&e===this.ownerID,f=yt(u,s,d,p);return p?(this.count=h,this.nodes=f,this):new He(e,h,f)},Ke.prototype.get=function(e,t,n,i){for(var r=this.entries,a=0,o=r.length;a<o;a++)if(ve(n,r[a][0]))return r[a][1];return i},Ke.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=Fe(i));var s=r===b;if(n!==this.keyHash)return s?this:(k(o),k(a),lt(this,e,t,n,[i,r]));for(var l=this.entries,u=0,c=l.length;u<c&&!ve(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(k(o),(s||!d)&&k(a),s&&2===c)return new Je(e,this.keyHash,l[1^u]);var h=e&&e===this.ownerID,p=h?l:S(l);return d?s?u===c-1?p.pop():p[u]=p.pop():p[u]=[i,r]:p.push([i,r]),h?(this.entries=p,this):new Ke(e,this.keyHash,p)},Je.prototype.get=function(e,t,n,i){return ve(n,this.entry[0])?this.entry[1]:i},Je.prototype.update=function(e,t,n,i,r,a,o){var s=r===b,l=ve(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(k(o),s?void k(a):l?e&&e===this.ownerID?(this.entry[1]=r,this):new Je(e,this.keyHash,[i,r]):(k(a),lt(this,e,t,Fe(i),[i,r])))},Ye.prototype.iterate=Ke.prototype.iterate=function(e,t){for(var n=this.entries,i=0,r=n.length-1;i<=r;i++)if(!1===e(n[t?r-i:i]))return!1},Ze.prototype.iterate=He.prototype.iterate=function(e,t){for(var n=this.nodes,i=0,r=n.length-1;i<=r;i++){var a=n[t?r-i:i];if(a&&!1===a.iterate(e,t))return!1}},Je.prototype.iterate=function(e,t){return e(this.entry)},t(et,j),et.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var n,i=t.node,r=t.index++;if(i.entry){if(0===r)return tt(e,i.entry)}else if(i.entries){if(r<=(n=i.entries.length-1))return tt(e,i.entries[this._reverse?n-r:r])}else if(r<=(n=i.nodes.length-1)){var a=i.nodes[this._reverse?n-r:r];if(a){if(a.entry)return tt(e,a.entry);t=this._stack=nt(a,t)}continue}t=this._stack=this._stack.__prev}return N()};var _t=v/4,wt=v/2,kt=v/4;function xt(e){var t=Lt();if(null==e)return t;if(St(e))return e;var n=r(e),i=n.size;return 0===i?t:(qe(i),i>0&&i<v?It(0,i,g,null,new Ft(n.toArray())):t.withMutations((function(e){e.setSize(i),n.forEach((function(t,n){return e.set(n,t)}))})))}function St(e){return!(!e||!e[Pt])}t(xt,xe),xt.of=function(){return this(arguments)},xt.prototype.toString=function(){return this.__toString("List [","]")},xt.prototype.get=function(e,t){if((e=E(this,e))>=0&&e<this.size){var n=Qt(this,e+=this._origin);return n&&n.array[e&y]}return t},xt.prototype.set=function(e,t){return zt(this,e,t)},xt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},xt.prototype.insert=function(e,t){return this.splice(e,0,t)},xt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=g,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Lt()},xt.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){jt(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},xt.prototype.pop=function(){return jt(this,0,-1)},xt.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){jt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},xt.prototype.shift=function(){return jt(this,1)},xt.prototype.merge=function(){return Mt(this,void 0,arguments)},xt.prototype.mergeWith=function(t){return Mt(this,t,e.call(arguments,1))},xt.prototype.mergeDeep=function(){return Mt(this,pt,arguments)},xt.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Mt(this,ft(t),n)},xt.prototype.setSize=function(e){return jt(this,0,e)},xt.prototype.slice=function(e,t){var n=this.size;return C(e,t,n)?this:jt(this,T(e,n),D(t,n))},xt.prototype.__iterator=function(e,t){var n=0,i=At(this,t);return new j((function(){var t=i();return t===Dt?N():M(e,n++,t)}))},xt.prototype.__iterate=function(e,t){for(var n,i=0,r=At(this,t);(n=r())!==Dt&&!1!==e(n,i++,this););return i},xt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?It(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},xt.isList=St;var Pt="@@__IMMUTABLE_LIST__@@",Et=xt.prototype;function Ft(e,t){this.array=e,this.ownerID=t}Et[Pt]=!0,Et[m]=Et.remove,Et.setIn=Ve.setIn,Et.deleteIn=Et.removeIn=Ve.removeIn,Et.update=Ve.update,Et.updateIn=Ve.updateIn,Et.mergeIn=Ve.mergeIn,Et.mergeDeepIn=Ve.mergeDeepIn,Et.withMutations=Ve.withMutations,Et.asMutable=Ve.asMutable,Et.asImmutable=Ve.asImmutable,Et.wasAltered=Ve.wasAltered,Ft.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var i=n>>>t&y;if(i>=this.array.length)return new Ft([],e);var r,a=0===i;if(t>0){var o=this.array[i];if((r=o&&o.removeBefore(e,t-g,n))===o&&a)return this}if(a&&!r)return this;var s=Rt(this,e);if(!a)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},Ft.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var i,r=n-1>>>t&y;if(r>=this.array.length)return this;if(t>0){var a=this.array[r];if((i=a&&a.removeAfter(e,t-g,n))===a&&r===this.array.length-1)return this}var o=Rt(this,e);return o.array.splice(r+1),i&&(o.array[r]=i),o};var Ct,Tt,Dt={};function At(e,t){var n=e._origin,i=e._capacity,r=Nt(i),a=e._tail;return o(e._root,e._level,0);function o(e,t,n){return 0===t?s(e,n):l(e,t,n)}function s(e,o){var s=o===r?a&&a.array:e&&e.array,l=o>n?0:n-o,u=i-o;return u>v&&(u=v),function(){if(l===u)return Dt;var e=t?--u:l++;return s&&s[e]}}function l(e,r,a){var s,l=e&&e.array,u=a>n?0:n-a>>r,c=1+(i-a>>r);return c>v&&(c=v),function(){for(;;){if(s){var e=s();if(e!==Dt)return e;s=null}if(u===c)return Dt;var n=t?--c:u++;s=o(l&&l[n],r-g,a+(n<<r))}}}}function It(e,t,n,i,r,a,o){var s=Object.create(Et);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=i,s._tail=r,s.__ownerID=a,s.__hash=o,s.__altered=!1,s}function Lt(){return Ct||(Ct=It(0,0,g))}function zt(e,t,n){if((t=E(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?jt(e,t).set(0,n):jt(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,a=w(_);return t>=Nt(e._capacity)?i=$t(i,e.__ownerID,0,t,n,a):r=$t(r,e.__ownerID,e._level,t,n,a),a.value?e.__ownerID?(e._root=r,e._tail=i,e.__hash=void 0,e.__altered=!0,e):It(e._origin,e._capacity,e._level,r,i):e}function $t(e,t,n,i,r,a){var o,s=i>>>n&y,l=e&&s<e.array.length;if(!l&&void 0===r)return e;if(n>0){var u=e&&e.array[s],c=$t(u,t,n-g,i,r,a);return c===u?e:((o=Rt(e,t)).array[s]=c,o)}return l&&e.array[s]===r?e:(k(a),o=Rt(e,t),void 0===r&&s===o.array.length-1?o.array.pop():o.array[s]=r,o)}function Rt(e,t){return t&&e&&t===e.ownerID?e:new Ft(e?e.array.slice():[],t)}function Qt(e,t){if(t>=Nt(e._capacity))return e._tail;if(t<1<<e._level+g){for(var n=e._root,i=e._level;n&&i>0;)n=n.array[t>>>i&y],i-=g;return n}}function jt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new x,r=e._origin,a=e._capacity,o=r+t,s=void 0===n?a:n<0?a+n:r+n;if(o===r&&s===a)return e;if(o>=s)return e.clear();for(var l=e._level,u=e._root,c=0;o+c<0;)u=new Ft(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=g);c&&(o+=c,r+=c,s+=c,a+=c);for(var d=Nt(a),h=Nt(s);h>=1<<l+g;)u=new Ft(u&&u.array.length?[u]:[],i),l+=g;var p=e._tail,f=h<d?Qt(e,s-1):h>d?new Ft([],i):p;if(p&&h>d&&o<a&&p.array.length){for(var m=u=Rt(u,i),v=l;v>g;v-=g){var b=d>>>v&y;m=m.array[b]=Rt(m.array[b],i)}m.array[d>>>g&y]=p}if(s<a&&(f=f&&f.removeAfter(i,0,s)),o>=h)o-=h,s-=h,l=g,u=null,f=f&&f.removeBefore(i,0,o);else if(o>r||h<d){for(c=0;u;){var O=o>>>l&y;if(O!==h>>>l&y)break;O&&(c+=(1<<l)*O),l-=g,u=u.array[O]}u&&o>r&&(u=u.removeBefore(i,l,o-c)),u&&h<d&&(u=u.removeAfter(i,l,h-c)),c&&(o-=c,s-=c)}return e.__ownerID?(e.size=s-o,e._origin=o,e._capacity=s,e._level=l,e._root=u,e._tail=f,e.__hash=void 0,e.__altered=!0,e):It(o,s,l,u,f)}function Mt(e,t,n){for(var i=[],a=0,s=0;s<n.length;s++){var l=n[s],u=r(l);u.size>a&&(a=u.size),o(l)||(u=u.map((function(e){return pe(e)}))),i.push(u)}return a>e.size&&(e=e.setSize(a)),mt(e,t,i)}function Nt(e){return e<v?0:e-1>>>g<<g}function Ut(e){return null==e?Gt():qt(e)?e:Gt().withMutations((function(t){var n=i(e);qe(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function qt(e){return Ge(e)&&c(e)}function Bt(e,t,n,i){var r=Object.create(Ut.prototype);return r.size=e?e.size:0,r._map=e,r._list=t,r.__ownerID=n,r.__hash=i,r}function Gt(){return Tt||(Tt=Bt(rt(),Lt()))}function Wt(e,t,n){var i,r,a=e._map,o=e._list,s=a.get(t),l=void 0!==s;if(n===b){if(!l)return e;o.size>=v&&o.size>=2*a.size?(r=o.filter((function(e,t){return void 0!==e&&s!==t})),i=r.toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(i.__ownerID=r.__ownerID=e.__ownerID)):(i=a.remove(t),r=s===o.size-1?o.pop():o.set(s,void 0))}else if(l){if(n===o.get(s)[1])return e;i=a,r=o.set(s,[t,n])}else i=a.set(t,o.size),r=o.set(o.size,[t,n]);return e.__ownerID?(e.size=i.size,e._map=i,e._list=r,e.__hash=void 0,e):Bt(i,r)}function Xt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Vt(e){this._iter=e,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Zt(e){this._iter=e,this.size=e.size}function Ht(e){var t=bn(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=On,t.__iterateUncached=function(t,n){var i=this;return e.__iterate((function(e,n){return!1!==t(n,e,i)}),n)},t.__iteratorUncached=function(t,n){if(t===z){var i=e.__iterator(t,n);return new j((function(){var e=i.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(t===L?I:L,n)},t}function Kt(e,t,n){var i=bn(e);return i.size=e.size,i.has=function(t){return e.has(t)},i.get=function(i,r){var a=e.get(i,b);return a===b?r:t.call(n,a,i,e)},i.__iterateUncached=function(i,r){var a=this;return e.__iterate((function(e,r,o){return!1!==i(t.call(n,e,r,o),r,a)}),r)},i.__iteratorUncached=function(i,r){var a=e.__iterator(z,r);return new j((function(){var r=a.next();if(r.done)return r;var o=r.value,s=o[0];return M(i,s,t.call(n,o[1],s,e),r)}))},i}function Jt(e,t){var n=bn(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=Ht(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,i){return e.get(t?n:-1-n,i)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=On,n.__iterate=function(t,n){var i=this;return e.__iterate((function(e,n){return t(e,n,i)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function en(e,t,n,i){var r=bn(e);return i&&(r.has=function(i){var r=e.get(i,b);return r!==b&&!!t.call(n,r,i,e)},r.get=function(i,r){var a=e.get(i,b);return a!==b&&t.call(n,a,i,e)?a:r}),r.__iterateUncached=function(r,a){var o=this,s=0;return e.__iterate((function(e,a,l){if(t.call(n,e,a,l))return s++,r(e,i?a:s-1,o)}),a),s},r.__iteratorUncached=function(r,a){var o=e.__iterator(z,a),s=0;return new j((function(){for(;;){var a=o.next();if(a.done)return a;var l=a.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return M(r,i?u:s++,c,a)}}))},r}function tn(e,t,n){var i=Be().asMutable();return e.__iterate((function(r,a){i.update(t.call(n,r,a,e),0,(function(e){return e+1}))})),i.asImmutable()}function nn(e,t,n){var i=s(e),r=(c(e)?Ut():Be()).asMutable();e.__iterate((function(a,o){r.update(t.call(n,a,o,e),(function(e){return(e=e||[]).push(i?[o,a]:a),e}))}));var a=yn(e);return r.map((function(t){return mn(e,a(t))}))}function rn(e,t,n,i){var r=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),C(t,n,r))return e;var a=T(t,r),o=D(n,r);if(a!=a||o!=o)return rn(e.toSeq().cacheResult(),t,n,i);var s,l=o-a;l==l&&(s=l<0?0:l);var u=bn(e);return u.size=0===s?s:e.size&&s||void 0,!i&&ae(e)&&s>=0&&(u.get=function(t,n){return(t=E(this,t))>=0&&t<s?e.get(t+a,n):n}),u.__iterateUncached=function(t,n){var r=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var o=0,l=!0,u=0;return e.__iterate((function(e,n){if(!l||!(l=o++<a))return u++,!1!==t(e,i?n:u-1,r)&&u!==s})),u},u.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var r=0!==s&&e.__iterator(t,n),o=0,l=0;return new j((function(){for(;o++<a;)r.next();if(++l>s)return N();var e=r.next();return i||t===L?e:M(t,l-1,t===I?void 0:e.value[1],e)}))},u}function an(e,t,n){var i=bn(e);return i.__iterateUncached=function(i,r){var a=this;if(r)return this.cacheResult().__iterate(i,r);var o=0;return e.__iterate((function(e,r,s){return t.call(n,e,r,s)&&++o&&i(e,r,a)})),o},i.__iteratorUncached=function(i,r){var a=this;if(r)return this.cacheResult().__iterator(i,r);var o=e.__iterator(z,r),s=!0;return new j((function(){if(!s)return N();var e=o.next();if(e.done)return e;var r=e.value,l=r[0],u=r[1];return t.call(n,u,l,a)?i===z?e:M(i,l,u,e):(s=!1,N())}))},i}function on(e,t,n,i){var r=bn(e);return r.__iterateUncached=function(r,a){var o=this;if(a)return this.cacheResult().__iterate(r,a);var s=!0,l=0;return e.__iterate((function(e,a,u){if(!s||!(s=t.call(n,e,a,u)))return l++,r(e,i?a:l-1,o)})),l},r.__iteratorUncached=function(r,a){var o=this;if(a)return this.cacheResult().__iterator(r,a);var s=e.__iterator(z,a),l=!0,u=0;return new j((function(){var e,a,c;do{if((e=s.next()).done)return i||r===L?e:M(r,u++,r===I?void 0:e.value[1],e);var d=e.value;a=d[0],c=d[1],l&&(l=t.call(n,c,a,o))}while(l);return r===z?e:M(r,a,c,e)}))},r}function sn(e,t){var n=s(e),r=[e].concat(t).map((function(e){return o(e)?n&&(e=i(e)):e=n?se(e):le(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===r.length)return e;if(1===r.length){var a=r[0];if(a===e||n&&s(a)||l(e)&&l(a))return a}var u=new te(r);return n?u=u.toKeyedSeq():l(e)||(u=u.toSetSeq()),(u=u.flatten(!0)).size=r.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),u}function ln(e,t,n){var i=bn(e);return i.__iterateUncached=function(i,r){var a=0,s=!1;function l(e,u){var c=this;e.__iterate((function(e,r){return(!t||u<t)&&o(e)?l(e,u+1):!1===i(e,n?r:a++,c)&&(s=!0),!s}),r)}return l(e,0),a},i.__iteratorUncached=function(i,r){var a=e.__iterator(i,r),s=[],l=0;return new j((function(){for(;a;){var e=a.next();if(!1===e.done){var u=e.value;if(i===z&&(u=u[1]),t&&!(s.length<t)||!o(u))return n?e:M(i,l++,u,e);s.push(a),a=u.__iterator(i,r)}else a=s.pop()}return N()}))},i}function un(e,t,n){var i=yn(e);return e.toSeq().map((function(r,a){return i(t.call(n,r,a,e))})).flatten(!0)}function cn(e,t){var n=bn(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,i){var r=this,a=0;return e.__iterate((function(e,i){return(!a||!1!==n(t,a++,r))&&!1!==n(e,a++,r)}),i),a},n.__iteratorUncached=function(n,i){var r,a=e.__iterator(L,i),o=0;return new j((function(){return(!r||o%2)&&(r=a.next()).done?r:o%2?M(n,o++,t):M(n,o++,r.value,r)}))},n}function dn(e,t,n){t||(t=_n);var i=s(e),r=0,a=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).toArray();return a.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){a[t].length=2}:function(e,t){a[t]=e[1]}),i?V(a):l(e)?Y(a):Z(a)}function hn(e,t,n){if(t||(t=_n),n){var i=e.toSeq().map((function(t,i){return[t,n(t,i,e)]})).reduce((function(e,n){return pn(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return pn(t,e,n)?n:e}))}function pn(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function fn(e,t,i){var r=bn(e);return r.size=new te(i).map((function(e){return e.size})).min(),r.__iterate=function(e,t){for(var n,i=this.__iterator(L,t),r=0;!(n=i.next()).done&&!1!==e(n.value,r++,this););return r},r.__iteratorUncached=function(e,r){var a=i.map((function(e){return e=n(e),B(r?e.reverse():e)})),o=0,s=!1;return new j((function(){var n;return s||(n=a.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?N():M(e,o++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function mn(e,t){return ae(e)?t:e.constructor(t)}function gn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function vn(e){return qe(e.size),P(e)}function yn(e){return s(e)?i:l(e)?r:a}function bn(e){return Object.create((s(e)?V:l(e)?Y:Z).prototype)}function On(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):X.prototype.cacheResult.call(this)}function _n(e,t){return e>t?1:e<t?-1:0}function wn(e){var t=B(e);if(!t){if(!W(e))throw new TypeError("Expected iterable or array-like: "+e);t=B(n(e))}return t}function kn(e,t){var n,i=function(a){if(a instanceof i)return a;if(!(this instanceof i))return new i(a);if(!n){n=!0;var o=Object.keys(e);En(r,o),r.size=o.length,r._name=t,r._keys=o,r._defaultValues=e}this._map=Be(a)},r=i.prototype=Object.create(xn);return r.constructor=i,i}t(Ut,Be),Ut.of=function(){return this(arguments)},Ut.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Ut.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Ut.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Gt()},Ut.prototype.set=function(e,t){return Wt(this,e,t)},Ut.prototype.remove=function(e){return Wt(this,e,b)},Ut.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Ut.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},Ut.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Ut.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?Bt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Ut.isOrderedMap=qt,Ut.prototype[f]=!0,Ut.prototype[m]=Ut.prototype.remove,t(Xt,V),Xt.prototype.get=function(e,t){return this._iter.get(e,t)},Xt.prototype.has=function(e){return this._iter.has(e)},Xt.prototype.valueSeq=function(){return this._iter.valueSeq()},Xt.prototype.reverse=function(){var e=this,t=Jt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Xt.prototype.map=function(e,t){var n=this,i=Kt(this,e,t);return this._useKeys||(i.valueSeq=function(){return n._iter.toSeq().map(e,t)}),i},Xt.prototype.__iterate=function(e,t){var n,i=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,i)}:(n=t?vn(this):0,function(r){return e(r,t?--n:n++,i)}),t)},Xt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(L,t),i=t?vn(this):0;return new j((function(){var r=n.next();return r.done?r:M(e,t?--i:i++,r.value,r)}))},Xt.prototype[f]=!0,t(Vt,Y),Vt.prototype.includes=function(e){return this._iter.includes(e)},Vt.prototype.__iterate=function(e,t){var n=this,i=0;return this._iter.__iterate((function(t){return e(t,i++,n)}),t)},Vt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(L,t),i=0;return new j((function(){var t=n.next();return t.done?t:M(e,i++,t.value,t)}))},t(Yt,Z),Yt.prototype.has=function(e){return this._iter.includes(e)},Yt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Yt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(L,t);return new j((function(){var t=n.next();return t.done?t:M(e,t.value,t.value,t)}))},t(Zt,V),Zt.prototype.entrySeq=function(){return this._iter.toSeq()},Zt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){gn(t);var i=o(t);return e(i?t.get(1):t[1],i?t.get(0):t[0],n)}}),t)},Zt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(L,t);return new j((function(){for(;;){var t=n.next();if(t.done)return t;var i=t.value;if(i){gn(i);var r=o(i);return M(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},Vt.prototype.cacheResult=Xt.prototype.cacheResult=Yt.prototype.cacheResult=Zt.prototype.cacheResult=On,t(kn,ke),kn.prototype.toString=function(){return this.__toString(Pn(this)+" {","}")},kn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},kn.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},kn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Sn(this,rt()))},kn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Pn(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Sn(this,n)},kn.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:Sn(this,t)},kn.prototype.wasAltered=function(){return this._map.wasAltered()},kn.prototype.__iterator=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},kn.prototype.__iterate=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},kn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Sn(this,t,e):(this.__ownerID=e,this._map=t,this)};var xn=kn.prototype;function Sn(e,t,n){var i=Object.create(Object.getPrototypeOf(e));return i._map=t,i.__ownerID=n,i}function Pn(e){return e._name||e.constructor.name||"Record"}function En(e,t){try{t.forEach(Fn.bind(void 0,e))}catch(e){}}function Fn(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){Oe(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function Cn(e){return null==e?$n():Tn(e)&&!c(e)?e:$n().withMutations((function(t){var n=a(e);qe(n.size),n.forEach((function(e){return t.add(e)}))}))}function Tn(e){return!(!e||!e[An])}xn[m]=xn.remove,xn.deleteIn=xn.removeIn=Ve.removeIn,xn.merge=Ve.merge,xn.mergeWith=Ve.mergeWith,xn.mergeIn=Ve.mergeIn,xn.mergeDeep=Ve.mergeDeep,xn.mergeDeepWith=Ve.mergeDeepWith,xn.mergeDeepIn=Ve.mergeDeepIn,xn.setIn=Ve.setIn,xn.update=Ve.update,xn.updateIn=Ve.updateIn,xn.withMutations=Ve.withMutations,xn.asMutable=Ve.asMutable,xn.asImmutable=Ve.asImmutable,t(Cn,Se),Cn.of=function(){return this(arguments)},Cn.fromKeys=function(e){return this(i(e).keySeq())},Cn.prototype.toString=function(){return this.__toString("Set {","}")},Cn.prototype.has=function(e){return this._map.has(e)},Cn.prototype.add=function(e){return Ln(this,this._map.set(e,!0))},Cn.prototype.remove=function(e){return Ln(this,this._map.remove(e))},Cn.prototype.clear=function(){return Ln(this,this._map.clear())},Cn.prototype.union=function(){var t=e.call(arguments,0);return t=t.filter((function(e){return 0!==e.size})),0===t.length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(e){for(var n=0;n<t.length;n++)a(t[n]).forEach((function(t){return e.add(t)}))})):this.constructor(t[0])},Cn.prototype.intersect=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return a(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.every((function(e){return e.includes(n)}))||e.remove(n)}))}))},Cn.prototype.subtract=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return a(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.some((function(e){return e.includes(n)}))&&e.remove(n)}))}))},Cn.prototype.merge=function(){return this.union.apply(this,arguments)},Cn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},Cn.prototype.sort=function(e){return Rn(dn(this,e))},Cn.prototype.sortBy=function(e,t){return Rn(dn(this,t,e))},Cn.prototype.wasAltered=function(){return this._map.wasAltered()},Cn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,i){return e(i,i,n)}),t)},Cn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Cn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):(this.__ownerID=e,this._map=t,this)},Cn.isSet=Tn;var Dn,An="@@__IMMUTABLE_SET__@@",In=Cn.prototype;function Ln(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._map?e:0===t.size?e.__empty():e.__make(t)}function zn(e,t){var n=Object.create(In);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function $n(){return Dn||(Dn=zn(rt()))}function Rn(e){return null==e?Un():Qn(e)?e:Un().withMutations((function(t){var n=a(e);qe(n.size),n.forEach((function(e){return t.add(e)}))}))}function Qn(e){return Tn(e)&&c(e)}In[An]=!0,In[m]=In.remove,In.mergeDeep=In.merge,In.mergeDeepWith=In.mergeWith,In.withMutations=Ve.withMutations,In.asMutable=Ve.asMutable,In.asImmutable=Ve.asImmutable,In.__empty=$n,In.__make=zn,t(Rn,Cn),Rn.of=function(){return this(arguments)},Rn.fromKeys=function(e){return this(i(e).keySeq())},Rn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Rn.isOrderedSet=Qn;var jn,Mn=Rn.prototype;function Nn(e,t){var n=Object.create(Mn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Un(){return jn||(jn=Nn(Gt()))}function qn(e){return null==e?Yn():Bn(e)?e:Yn().unshiftAll(e)}function Bn(e){return!(!e||!e[Wn])}Mn[f]=!0,Mn.__empty=Un,Mn.__make=Nn,t(qn,xe),qn.of=function(){return this(arguments)},qn.prototype.toString=function(){return this.__toString("Stack [","]")},qn.prototype.get=function(e,t){var n=this._head;for(e=E(this,e);n&&e--;)n=n.next;return n?n.value:t},qn.prototype.peek=function(){return this._head&&this._head.value},qn.prototype.push=function(){if(0===arguments.length)return this;for(var e=this.size+arguments.length,t=this._head,n=arguments.length-1;n>=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Vn(e,t)},qn.prototype.pushAll=function(e){if(0===(e=r(e)).size)return this;qe(e.size);var t=this.size,n=this._head;return e.reverse().forEach((function(e){t++,n={value:e,next:n}})),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Vn(t,n)},qn.prototype.pop=function(){return this.slice(1)},qn.prototype.unshift=function(){return this.push.apply(this,arguments)},qn.prototype.unshiftAll=function(e){return this.pushAll(e)},qn.prototype.shift=function(){return this.pop.apply(this,arguments)},qn.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Yn()},qn.prototype.slice=function(e,t){if(C(e,t,this.size))return this;var n=T(e,this.size);if(D(t,this.size)!==this.size)return xe.prototype.slice.call(this,e,t);for(var i=this.size-n,r=this._head;n--;)r=r.next;return this.__ownerID?(this.size=i,this._head=r,this.__hash=void 0,this.__altered=!0,this):Vn(i,r)},qn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Vn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},qn.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,i=this._head;i&&!1!==e(i.value,n++,this);)i=i.next;return n},qn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,i=this._head;return new j((function(){if(i){var t=i.value;return i=i.next,M(e,n++,t)}return N()}))},qn.isStack=Bn;var Gn,Wn="@@__IMMUTABLE_STACK__@@",Xn=qn.prototype;function Vn(e,t,n,i){var r=Object.create(Xn);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function Yn(){return Gn||(Gn=Vn(0))}function Zn(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}Xn[Wn]=!0,Xn.withMutations=Ve.withMutations,Xn.asMutable=Ve.asMutable,Xn.asImmutable=Ve.asImmutable,Xn.wasAltered=Ve.wasAltered,n.Iterator=j,Zn(n,{toArray:function(){qe(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Vt(this)},toJS:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJS?e.toJS():e})).__toJS()},toJSON:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e})).__toJS()},toKeyedSeq:function(){return new Xt(this,!0)},toMap:function(){return Be(this.toKeyedSeq())},toObject:function(){qe(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return Ut(this.toKeyedSeq())},toOrderedSet:function(){return Rn(s(this)?this.valueSeq():this)},toSet:function(){return Cn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Yt(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return qn(s(this)?this.valueSeq():this)},toList:function(){return xt(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return mn(this,sn(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return ve(t,e)}))},entries:function(){return this.__iterator(z)},every:function(e,t){qe(this.size);var n=!0;return this.__iterate((function(i,r,a){if(!e.call(t,i,r,a))return n=!1,!1})),n},filter:function(e,t){return mn(this,en(this,e,t,!0))},find:function(e,t,n){var i=this.findEntry(e,t);return i?i[1]:n},findEntry:function(e,t){var n;return this.__iterate((function(i,r,a){if(e.call(t,i,r,a))return n=[r,i],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return qe(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){qe(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(i){n?n=!1:t+=e,t+=null!=i?i.toString():""})),t},keys:function(){return this.__iterator(I)},map:function(e,t){return mn(this,Kt(this,e,t))},reduce:function(e,t,n){var i,r;return qe(this.size),arguments.length<2?r=!0:i=t,this.__iterate((function(t,a,o){r?(r=!1,i=t):i=e.call(n,i,t,a,o)})),i},reduceRight:function(e,t,n){var i=this.toKeyedSeq().reverse();return i.reduce.apply(i,arguments)},reverse:function(){return mn(this,Jt(this,!0))},slice:function(e,t){return mn(this,rn(this,e,t,!0))},some:function(e,t){return!this.every(ti(e),t)},sort:function(e){return mn(this,dn(this,e))},values:function(){return this.__iterator(L)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(e,t){return P(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return tn(this,e,t)},equals:function(e){return ye(this,e)},entrySeq:function(){var e=this;if(e._cache)return new te(e._cache);var t=e.toSeq().map(ei).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(ti(e),t)},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},first:function(){return this.find(F)},flatMap:function(e,t){return mn(this,un(this,e,t))},flatten:function(e){return mn(this,ln(this,e,!0))},fromEntrySeq:function(){return new Zt(this)},get:function(e,t){return this.find((function(t,n){return ve(n,e)}),void 0,t)},getIn:function(e,t){for(var n,i=this,r=wn(e);!(n=r.next()).done;){var a=n.value;if((i=i&&i.get?i.get(a,b):b)===b)return t}return i},groupBy:function(e,t){return nn(this,e,t)},has:function(e){return this.get(e,b)!==b},hasIn:function(e){return this.getIn(e,b)!==b},isSubset:function(e){return e="function"==typeof e.includes?e:n(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:n(e)).isSubset(this)},keySeq:function(){return this.toSeq().map(Jn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return hn(this,e)},maxBy:function(e,t){return hn(this,t,e)},min:function(e){return hn(this,e?ni(e):ai)},minBy:function(e,t){return hn(this,t?ni(t):ai,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return mn(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return mn(this,on(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(ti(e),t)},sortBy:function(e,t){return mn(this,dn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return mn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return mn(this,an(this,e,t))},takeUntil:function(e,t){return this.takeWhile(ti(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=oi(this))}});var Hn=n.prototype;Hn[d]=!0,Hn[Q]=Hn.values,Hn.__toJS=Hn.toArray,Hn.__toStringMapper=ii,Hn.inspect=Hn.toSource=function(){return this.toString()},Hn.chain=Hn.flatMap,Hn.contains=Hn.includes,function(){try{Object.defineProperty(Hn,"length",{get:function(){if(!n.noLengthWarning){var e;try{throw new Error}catch(t){e=t.stack}if(-1===e.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+e),this.size}}})}catch(e){}}(),Zn(i,{flip:function(){return mn(this,Ht(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey((function(t){return ve(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return ve(t,e)}))},mapEntries:function(e,t){var n=this,i=0;return mn(this,this.toSeq().map((function(r,a){return e.call(t,[a,r],i++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return mn(this,this.toSeq().flip().map((function(i,r){return e.call(t,i,r,n)})).flip())}});var Kn=i.prototype;function Jn(e,t){return t}function ei(e,t){return[t,e]}function ti(e){return function(){return!e.apply(this,arguments)}}function ni(e){return function(){return-e.apply(this,arguments)}}function ii(e){return"string"==typeof e?JSON.stringify(e):e}function ri(){return S(arguments)}function ai(e,t){return e<t?1:e>t?-1:0}function oi(e){if(e.size===1/0)return 0;var t=c(e),n=s(e),i=t?1:0,r=e.__iterate(n?t?function(e,t){i=31*i+li(Fe(e),Fe(t))|0}:function(e,t){i=i+li(Fe(e),Fe(t))|0}:t?function(e){i=31*i+Fe(e)|0}:function(e){i=i+Fe(e)|0});return si(r,i)}function si(e,t){return t=Pe(t,3432918353),t=Pe(t<<15|t>>>-15,461845907),t=Pe(t<<13|t>>>-13,5),t=Pe((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Ee((t=Pe(t^t>>>13,3266489909))^t>>>16)}function li(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Kn[h]=!0,Kn[Q]=Hn.entries,Kn.__toJS=Hn.toObject,Kn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+ii(e)},Zn(r,{toKeyedSeq:function(){return new Xt(this,!1)},filter:function(e,t){return mn(this,en(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.toKeyedSeq().keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.toKeyedSeq().reverse().keyOf(e);return void 0===t?-1:t},reverse:function(){return mn(this,Jt(this,!1))},slice:function(e,t){return mn(this,rn(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=T(e,e<0?this.count():this.size);var i=this.slice(0,e);return mn(this,1===n?i:i.concat(S(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.toKeyedSeq().findLastKey(e,t);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(e){return mn(this,ln(this,e,!1))},get:function(e,t){return(e=E(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,n){return n===e}),void 0,t)},has:function(e){return(e=E(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return mn(this,cn(this,e))},interleave:function(){var e=[this].concat(S(arguments)),t=fn(this.toSeq(),Y.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),mn(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return mn(this,on(this,e,t,!1))},zip:function(){return mn(this,fn(this,ri,[this].concat(S(arguments))))},zipWith:function(e){var t=S(arguments);return t[0]=this,mn(this,fn(this,e,t))}}),r.prototype[p]=!0,r.prototype[f]=!0,Zn(a,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),a.prototype.has=Hn.includes,Zn(V,i.prototype),Zn(Y,r.prototype),Zn(Z,a.prototype),Zn(ke,i.prototype),Zn(xe,r.prototype),Zn(Se,a.prototype),{Iterable:n,Seq:X,Collection:we,Map:Be,OrderedMap:Ut,List:xt,Stack:qn,Set:Cn,OrderedSet:Rn,Record:kn,Range:_e,Repeat:be,is:ve,fromJS:pe}}()}(xet);var Pet=function(e){var t=document.implementation.createHTMLDocument("");return t.documentElement.innerHTML=e,t};function Eet(e){var t;"undefined"!=typeof DOMParser?null!==(t=(new DOMParser).parseFromString(e,"text/html"))&&null!==t.body||(t=Pet(e)):t=Pet(e);return t.body}var Fet=" ",Cet=new RegExp("\r","g"),Tet=new RegExp("\n","g"),Det=new RegExp(" ","g"),Aet=new RegExp("\r","g"),Iet=["p","h1","h2","h3","h4","h5","h6","li","blockquote","pre"],Let={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},zet=function(e,t){return e&&!0===e.__isMiddleware?e(t):e},$et=function(e,t,n){},Ret=function(e,t,n){return n},Qet=function(e,t){},jet=function(e){return[]},Met=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")};function Net(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:xet.exports.Map();return!0===n?{text:"\r",inlines:[xet.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:i,depth:Math.max(0,Math.min(4,t))}],isNewline:!0}:{text:"\n",inlines:[xet.exports.OrderedSet()],entities:new Array(1),blocks:[]}}function Uet(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:xet.exports.Map();return{text:"\r",inlines:[xet.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:n,depth:Math.max(0,Math.min(4,t))}]}}function qet(e,t){switch(e){case"h1":return"header-one";case"h2":return"header-two";case"h3":return"header-three";case"h4":return"header-four";case"h5":return"header-five";case"h6":return"header-six";case"li":return"ol"===t?"ordered-list-item":"unordered-list-item";case"blockquote":return"blockquote";case"pre":return"code-block";case"div":case"p":return"unstyled";default:return null}}function Bet(e,t,n){return qet(e,n)}function Get(e,t,n){var i=Let[e];if(i)n=n.add(i).toOrderedSet();else if(t instanceof HTMLElement){var r=t;n=n.withMutations((function(e){"bold"===r.style.fontWeight&&e.add("BOLD"),"italic"===r.style.fontStyle&&e.add("ITALIC"),"underline"===r.style.textDecoration&&e.add("UNDERLINE"),"line-through"===r.style.textDecoration&&e.add("STRIKETHROUGH")})).toOrderedSet()}return n}function Wet(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:xet.exports.OrderedSet();return Get(e,t,n)}function Xet(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=t.text.slice(0,1),r=e.text.slice(-1),a="\r"===r&&"\r"===i,o="\r"!==e.text&&"\r"!==t.text,s="\r"===e.text&&!e.isNewline&&t.isNewline;if(a&&(o||s)&&(e.text=e.text.slice(0,-1),e.inlines.pop(),e.entities.pop(),e.blocks.pop()),"\r"===e.text.slice(-1)&&!0===n){if(t.text===Fet||"\n"===t.text)return e;i!==Fet&&"\n"!==i||(t.text=t.text.slice(1),t.inlines.shift(),t.entities.shift())}var l=0===e.text.length&&t.isNewline;return{text:e.text+t.text,inlines:e.inlines.concat(t.inlines),entities:e.entities.concat(t.entities),blocks:e.blocks.concat(t.blocks),isNewline:l}}function Vet(e,t,n,i,r,a,o,s,l,u,c,d,h,p,f,m){var g=e.nodeName.toLowerCase(),v=!1,y="unstyled";if("#text"===g){var b=e.textContent;if(""===b.trim()&&null===i)return{text:"",inlines:[],entities:[],blocks:[]};if(""===b.trim()&&"code-block"!==i)return function(e){var t=new Array(1);return e&&(t[0]=e),{text:Fet,inlines:[xet.exports.OrderedSet()],entities:t,blocks:[]}}(m);"code-block"!==i&&(b=b.replace(Tet,Fet));var O=Array(b.length).fill(m),_=0;return l(b,c,d,h,p).sort(V7e).forEach((function(e){var t=e.entity,n=e.offset,i=e.length,r=e.result,a=n+_;null==r&&(r=b.substr(a,i));var o=b.split("");o.splice.bind(o,a,i).apply(o,r.split("")),b=o.join(""),O.splice.bind(O,a,i).apply(O,Array(r.length).fill(t)),_+=r.length-i})),{text:b,inlines:Array(b.length).fill(t),entities:O,blocks:[]}}if("br"===g){var w=i;return null===w?Net("unstyled",a,!0):Net(w||"unstyled",a,f.flat)}var k={text:"",inlines:[],entities:[],blocks:[]};t=o(g,e,t=Get(g,e,t)),"ul"!==g&&"ol"!==g||(n&&(a+=1),n=g,i=null);var x,S,P=u(g,e,n,i);if(!1===P)return{text:"",inlines:[],entities:[],blocks:[]};if("string"==typeof(P=P||{})?(x=P,S=xet.exports.Map()):(x="string"==typeof P?P:P.type,S=P.data?xet.exports.Map(P.data):xet.exports.Map()),i||-1===r.indexOf(g)&&!x)if(!n||"ordered-list-item"!==i&&"unordered-list-item"!==i||"li"!==g)i&&"atomic"!==i&&"atomic"===x&&(i=x,v=!0,k=Net(x,a,!0,S));else{var E=qet(g,n);k=Uet(E,a),i=E,v=!0,y="ul"===n?"unordered-list-item":"ordered-list-item"}else k=Uet(x||qet(g,n),a,S),i=x||qet(g,n),v=!0;var F=e.firstChild;null!=F||!m||"atomic"!==x&&"atomic"!==i||(F=document.createTextNode("a")),null!=F&&(g=F.nodeName.toLowerCase());for(var C=null;F;){C=s(g,F,c,d,h,p),k=Xet(k,Vet(F,t,n,i,r,a,o,s,l,u,c,d,h,p,f,C||m),f.flat);var T=F.nextSibling;if(T&&r.indexOf(g)>=0&&i){var D=u(g,F,n,i),A=void 0,I=void 0;!1!==D&&("string"==typeof(D=D||{})?(A=D,I=xet.exports.Map()):(A=D.type||qet(g,n),I=D.data?xet.exports.Map(D.data):xet.exports.Map()),k=Xet(k,Net(A,a,f.flat,I),f.flat))}T&&(g=T.nodeName.toLowerCase()),F=T}return v&&(k=Xet(k,Uet(y,a,xet.exports.Map()),f.flat)),k}function Yet(e,t,n,i,r,a,o,s,l,u,c){var d=c(e=e.trim().replace(Cet,"").replace(Det,Fet));if(!d)return null;var h=function(e){return Iet.some((function(t){return-1!==e.indexOf("<".concat(t))}))}(e)?Iet.concat(["div"]):["div"],p=Vet(d,xet.exports.OrderedSet(),"ul",null,h,-1,t,n,i,r,a,o,s,l,u);return 0===p.text.indexOf("\r")&&(p={text:p.text.slice(1),inlines:p.inlines.slice(1),entities:p.entities.slice(1),blocks:p.blocks}),"\r"===p.text.slice(-1)&&(p.text=p.text.slice(0,-1),p.inlines=p.inlines.slice(0,-1),p.entities=p.entities.slice(0,-1),p.blocks.pop()),0===p.blocks.length&&p.blocks.push({type:"unstyled",data:xet.exports.Map(),depth:0}),p.text.split("\r").length===p.blocks.length+1&&p.blocks.unshift({type:"unstyled",data:xet.exports.Map(),depth:0}),p}function Zet(e,t,n,i,r,a,o,s,l,u,c,d){var h=Yet(e,t,n,i,r,a,o,s,l,u,c);if(null==h)return[];var p=0;return h.text.split("\r").map((function(e,t){e=e.replace(Aet,"");var n=p+e.length,i=Met(h).inlines.slice(p,n),r=Met(h).entities.slice(p,n),a=xet.exports.List(i.map((function(e,t){var n={style:e,entity:null};return r[t]&&(n.entity=r[t]),W7e.CharacterMetadata.create(n)})));return p=n+1,new W7e.ContentBlock({key:d(),type:Met(h).blocks[t].type,data:Met(h).blocks[t].data,depth:Met(h).blocks[t].depth,text:e,characterList:a})}))}var Het=function(e){var t=e.htmlToStyle,n=void 0===t?Ret:t,i=e.htmlToEntity,r=void 0===i?Qet:i,a=e.textToEntity,o=void 0===a?jet:a,s=e.htmlToBlock,l=void 0===s?$et:s;return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{flat:!1},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Eet,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:W7e.genKey,s=W7e.ContentState.createFromText(""),u=function(){var e;return s.createEntity?(s=(e=s).createEntity.apply(e,arguments)).getLastCreatedEntityKey():W7e.Entity.create.apply(W7e.Entity,arguments)},c=function(){var e;return s.getEntity?(e=s).getEntity.apply(e,arguments):W7e.Entity.get.apply(W7e.Entity,arguments)},d=function(){var e;s.mergeEntityData?s=(e=s).mergeEntityData.apply(e,arguments):W7e.Entity.mergeData.apply(W7e.Entity,arguments)},h=function(){var e;s.replaceEntityData?s=(e=s).replaceEntityData.apply(e,arguments):W7e.Entity.replaceData.apply(W7e.Entity,arguments)},p=Zet(e,zet(n,Wet),zet(r,Qet),zet(o,jet),zet(l,Bet),u,c,d,h,t,i,a),f=W7e.BlockMapBuilder.createFromArray(p),m=p[0].getKey();return s.merge({blockMap:f,selectionBefore:W7e.SelectionState.createEmpty(m),selectionAfter:W7e.SelectionState.createEmpty(m)})}},Ket=function(){return arguments.length>=1&&"string"==typeof(arguments.length<=0?void 0:arguments[0])?Het({}).apply(void 0,arguments):Het.apply(void 0,arguments)};mK('/**\n * Draft v0.11.6\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n.DraftEditor-editorContainer,.DraftEditor-root,.public-DraftEditor-content{height:inherit;text-align:initial}.public-DraftEditor-content[contenteditable=true]{-webkit-user-modify:read-write-plaintext-only}.DraftEditor-root{position:relative}.DraftEditor-editorContainer{background-color:rgba(255,255,255,0);border-left:.1px solid transparent;position:relative;z-index:1}.public-DraftEditor-block{position:relative}.DraftEditor-alignLeft .public-DraftStyleDefault-block{text-align:left}.DraftEditor-alignLeft .public-DraftEditorPlaceholder-root{left:0;text-align:left}.DraftEditor-alignCenter .public-DraftStyleDefault-block{text-align:center}.DraftEditor-alignCenter .public-DraftEditorPlaceholder-root{margin:0 auto;text-align:center;width:100%}.DraftEditor-alignRight .public-DraftStyleDefault-block{text-align:right}.DraftEditor-alignRight .public-DraftEditorPlaceholder-root{right:0;text-align:right}.public-DraftEditorPlaceholder-root{color:#9197a3;position:absolute;width:100%;z-index:1}.public-DraftEditorPlaceholder-hasFocus{color:#bdc1c9}.DraftEditorPlaceholder-hidden{display:none}.public-DraftStyleDefault-block{position:relative;white-space:pre-wrap}.public-DraftStyleDefault-ltr{direction:ltr;text-align:left}.public-DraftStyleDefault-rtl{direction:rtl;text-align:right}.public-DraftStyleDefault-listLTR{direction:ltr}.public-DraftStyleDefault-listRTL{direction:rtl}.public-DraftStyleDefault-ol,.public-DraftStyleDefault-ul{margin:16px 0;padding:0}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listLTR{margin-left:1.5em}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listRTL{margin-right:1.5em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listLTR{margin-left:3em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listRTL{margin-right:3em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listLTR{margin-left:4.5em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listRTL{margin-right:4.5em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listLTR{margin-left:6em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listRTL{margin-right:6em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listLTR{margin-left:7.5em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listRTL{margin-right:7.5em}.public-DraftStyleDefault-unorderedListItem{list-style-type:square;position:relative}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth0{list-style-type:disc}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth1{list-style-type:circle}.public-DraftStyleDefault-orderedListItem{list-style-type:none;position:relative}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listLTR:before{left:-36px;position:absolute;text-align:right;width:30px}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listRTL:before{position:absolute;right:-36px;text-align:left;width:30px}.public-DraftStyleDefault-orderedListItem:before{content:counter(ol0) ". ";counter-increment:ol0}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth1:before{content:counter(ol1,lower-alpha) ". ";counter-increment:ol1}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth2:before{content:counter(ol2,lower-roman) ". ";counter-increment:ol2}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth3:before{content:counter(ol3) ". ";counter-increment:ol3}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth4:before{content:counter(ol4,lower-alpha) ". ";counter-increment:ol4}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-reset{counter-reset:ol0}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-reset{counter-reset:ol1}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-reset{counter-reset:ol2}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-reset{counter-reset:ol3}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-reset{counter-reset:ol4}');var Jet=32,ett=31,ttt={};function ntt(e){e&&(e.value=!0)}function itt(){}function rtt(e){return void 0===e.size&&(e.size=e.__iterate(ott)),e.size}function att(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?rtt(e)+t:t}function ott(){return!0}function stt(e,t,n){return(0===e&&!dtt(e)||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function ltt(e,t){return ctt(e,t,0)}function utt(e,t){return ctt(e,t,t)}function ctt(e,t,n){return void 0===e?n:dtt(e)?t===1/0?t:0|Math.max(0,t+e):void 0===t||t===e?e:0|Math.min(t,e)}function dtt(e){return e<0||0===e&&1/e==-1/0}var htt="@@__IMMUTABLE_ITERABLE__@@";function ptt(e){return Boolean(e&&e[htt])}var ftt="@@__IMMUTABLE_KEYED__@@";function mtt(e){return Boolean(e&&e[ftt])}var gtt="@@__IMMUTABLE_INDEXED__@@";function vtt(e){return Boolean(e&&e[gtt])}function ytt(e){return mtt(e)||vtt(e)}var btt=function(e){return ptt(e)?e:Ntt(e)},Ott=function(e){function t(e){return mtt(e)?e:Utt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(btt),_tt=function(e){function t(e){return vtt(e)?e:qtt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(btt),wtt=function(e){function t(e){return ptt(e)&&!ytt(e)?e:Btt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(btt);btt.Keyed=Ott,btt.Indexed=_tt,btt.Set=wtt;var ktt="@@__IMMUTABLE_SEQ__@@";function xtt(e){return Boolean(e&&e[ktt])}function Stt(e){return Boolean(e&&e["@@__IMMUTABLE_RECORD__@@"])}function Ptt(e){return ptt(e)||Stt(e)}var Ett="@@__IMMUTABLE_ORDERED__@@";function Ftt(e){return Boolean(e&&e[Ett])}var Ctt="function"==typeof Symbol&&Symbol.iterator,Ttt="@@iterator",Dtt=Ctt||Ttt,Att=function(e){this.next=e};function Itt(e,t,n,i){var r=0===e?t:1===e?n:[t,n];return i?i.value=r:i={value:r,done:!1},i}function Ltt(){return{value:void 0,done:!0}}function ztt(e){return!!Qtt(e)}function $tt(e){return e&&"function"==typeof e.next}function Rtt(e){var t=Qtt(e);return t&&t.call(e)}function Qtt(e){var t=e&&(Ctt&&e[Ctt]||e["@@iterator"]);if("function"==typeof t)return t}Att.prototype.toString=function(){return"[Iterator]"},Att.KEYS=0,Att.VALUES=1,Att.ENTRIES=2,Att.prototype.inspect=Att.prototype.toSource=function(){return this.toString()},Att.prototype[Dtt]=function(){return this};var jtt=Object.prototype.hasOwnProperty;function Mtt(e){return!(!Array.isArray(e)&&"string"!=typeof e)||e&&"object"==typeof e&&Number.isInteger(e.length)&&e.length>=0&&(0===e.length?1===Object.keys(e).length:e.hasOwnProperty(e.length-1))}var Ntt=function(e){function t(e){return null==e?Ytt():Ptt(e)?e.toSeq():function(e){var t=Ktt(e);if(t)return t;if("object"==typeof e)return new Wtt(e);throw new TypeError("Expected Array or collection object of values, or keyed object: "+e)}(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toSeq=function(){return this},t.prototype.toString=function(){return this.__toString("Seq {","}")},t.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},t.prototype.__iterate=function(e,t){var n=this._cache;if(n){for(var i=n.length,r=0;r!==i;){var a=n[t?i-++r:r++];if(!1===e(a[1],a[0],this))break}return r}return this.__iterateUncached(e,t)},t.prototype.__iterator=function(e,t){var n=this._cache;if(n){var i=n.length,r=0;return new Att((function(){if(r===i)return{value:void 0,done:!0};var a=n[t?i-++r:r++];return Itt(e,a[0],a[1])}))}return this.__iteratorUncached(e,t)},t}(btt),Utt=function(e){function t(e){return null==e?Ytt().toKeyedSeq():ptt(e)?mtt(e)?e.toSeq():e.fromEntrySeq():Stt(e)?e.toSeq():Ztt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toKeyedSeq=function(){return this},t}(Ntt),qtt=function(e){function t(e){return null==e?Ytt():ptt(e)?mtt(e)?e.entrySeq():e.toIndexedSeq():Stt(e)?e.toSeq().entrySeq():Htt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return t(arguments)},t.prototype.toIndexedSeq=function(){return this},t.prototype.toString=function(){return this.__toString("Seq [","]")},t}(Ntt),Btt=function(e){function t(e){return(ptt(e)&&!ytt(e)?e:qtt(e)).toSetSeq()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return t(arguments)},t.prototype.toSetSeq=function(){return this},t}(Ntt);Ntt.isSeq=xtt,Ntt.Keyed=Utt,Ntt.Set=Btt,Ntt.Indexed=qtt,Ntt.prototype[ktt]=!0;var Gtt=function(e){function t(e){this._array=e,this.size=e.length}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.get=function(e,t){return this.has(e)?this._array[att(this,e)]:t},t.prototype.__iterate=function(e,t){for(var n=this._array,i=n.length,r=0;r!==i;){var a=t?i-++r:r++;if(!1===e(n[a],a,this))break}return r},t.prototype.__iterator=function(e,t){var n=this._array,i=n.length,r=0;return new Att((function(){if(r===i)return{value:void 0,done:!0};var a=t?i-++r:r++;return Itt(e,a,n[a])}))},t}(qtt),Wtt=function(e){function t(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},t.prototype.has=function(e){return jtt.call(this._object,e)},t.prototype.__iterate=function(e,t){for(var n=this._object,i=this._keys,r=i.length,a=0;a!==r;){var o=i[t?r-++a:a++];if(!1===e(n[o],o,this))break}return a},t.prototype.__iterator=function(e,t){var n=this._object,i=this._keys,r=i.length,a=0;return new Att((function(){if(a===r)return{value:void 0,done:!0};var o=i[t?r-++a:a++];return Itt(e,o,n[o])}))},t}(Utt);Wtt.prototype[Ett]=!0;var Xtt,Vtt=function(e){function t(e){this._collection=e,this.size=e.length||e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=Rtt(this._collection),i=0;if($tt(n))for(var r;!(r=n.next()).done&&!1!==e(r.value,i++,this););return i},t.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=Rtt(this._collection);if(!$tt(n))return new Att(Ltt);var i=0;return new Att((function(){var t=n.next();return t.done?t:Itt(e,i++,t.value)}))},t}(qtt);function Ytt(){return Xtt||(Xtt=new Gtt([]))}function Ztt(e){var t=Array.isArray(e)?new Gtt(e):ztt(e)?new Vtt(e):void 0;if(t)return t.fromEntrySeq();if("object"==typeof e)return new Wtt(e);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+e)}function Htt(e){var t=Ktt(e);if(t)return t;throw new TypeError("Expected Array or collection object of values: "+e)}function Ktt(e){return Mtt(e)?new Gtt(e):ztt(e)?new Vtt(e):void 0}var Jtt="@@__IMMUTABLE_MAP__@@";function ent(e){return Boolean(e&&e[Jtt])}function tnt(e){return ent(e)&&Ftt(e)}function nnt(e){return Boolean(e&&"function"==typeof e.equals&&"function"==typeof e.hashCode)}function int(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!!(nnt(e)&&nnt(t)&&e.equals(t))}var rnt="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),i=65535&(t|=0);return n*i+((e>>>16)*i+n*(t>>>16)<<16>>>0)|0};function ant(e){return e>>>1&1073741824|3221225471&e}var ont=Object.prototype.valueOf;function snt(e){switch(typeof e){case"boolean":return e?1108378657:1108378656;case"number":return function(e){if(e!=e||e===1/0)return 0;var t=0|e;t!==e&&(t^=4294967295*e);for(;e>4294967295;)t^=e/=4294967295;return ant(t)}(e);case"string":return e.length>mnt?function(e){var t=ynt[e];void 0===t&&(t=lnt(e),vnt===gnt&&(vnt=0,ynt={}),vnt++,ynt[e]=t);return t}(e):lnt(e);case"object":case"function":return null===e?1108378658:"function"==typeof e.hashCode?ant(e.hashCode(e)):(e.valueOf!==ont&&"function"==typeof e.valueOf&&(e=e.valueOf(e)),function(e){var t;if(hnt&&void 0!==(t=dnt.get(e)))return t;if(void 0!==(t=e[fnt]))return t;if(!cnt){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[fnt]))return t;if(t=function(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}(e),void 0!==t)return t}t=++pnt,1073741824&pnt&&(pnt=0);if(hnt)dnt.set(e,t);else{if(void 0!==unt&&!1===unt(e))throw new Error("Non-extensible objects are not allowed as keys.");if(cnt)Object.defineProperty(e,fnt,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[fnt]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[fnt]=t}}return t}(e));case"undefined":return 1108378659;default:if("function"==typeof e.toString)return lnt(e.toString());throw new Error("Value type "+typeof e+" cannot be hashed.")}}function lnt(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return ant(t)}var unt=Object.isExtensible,cnt=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();var dnt,hnt="function"==typeof WeakMap;hnt&&(dnt=new WeakMap);var pnt=0,fnt="__immutablehash__";"function"==typeof Symbol&&(fnt=Symbol(fnt));var mnt=16,gnt=255,vnt=0,ynt={},bnt=function(e){function t(e,t){this._iter=e,this._useKeys=t,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.get=function(e,t){return this._iter.get(e,t)},t.prototype.has=function(e){return this._iter.has(e)},t.prototype.valueSeq=function(){return this._iter.valueSeq()},t.prototype.reverse=function(){var e=this,t=Snt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},t.prototype.map=function(e,t){var n=this,i=xnt(this,e,t);return this._useKeys||(i.valueSeq=function(){return n._iter.toSeq().map(e,t)}),i},t.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t,i){return e(t,i,n)}),t)},t.prototype.__iterator=function(e,t){return this._iter.__iterator(e,t)},t}(Utt);bnt.prototype[Ett]=!0;var Ont=function(e){function t(e){this._iter=e,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.includes=function(e){return this._iter.includes(e)},t.prototype.__iterate=function(e,t){var n=this,i=0;return t&&rtt(this),this._iter.__iterate((function(r){return e(r,t?n.size-++i:i++,n)}),t)},t.prototype.__iterator=function(e,t){var n=this,i=this._iter.__iterator(1,t),r=0;return t&&rtt(this),new Att((function(){var a=i.next();return a.done?a:Itt(e,t?n.size-++r:r++,a.value,a)}))},t}(qtt),_nt=function(e){function t(e){this._iter=e,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.has=function(e){return this._iter.includes(e)},t.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},t.prototype.__iterator=function(e,t){var n=this._iter.__iterator(1,t);return new Att((function(){var t=n.next();return t.done?t:Itt(e,t.value,t.value,t)}))},t}(Btt),wnt=function(e){function t(e){this._iter=e,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.entrySeq=function(){return this._iter.toSeq()},t.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){$nt(t);var i=ptt(t);return e(i?t.get(1):t[1],i?t.get(0):t[0],n)}}),t)},t.prototype.__iterator=function(e,t){var n=this._iter.__iterator(1,t);return new Att((function(){for(;;){var t=n.next();if(t.done)return t;var i=t.value;if(i){$nt(i);var r=ptt(i);return Itt(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},t}(Utt);function knt(e){var t=Qnt(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=jnt,t.__iterateUncached=function(t,n){var i=this;return e.__iterate((function(e,n){return!1!==t(n,e,i)}),n)},t.__iteratorUncached=function(t,n){if(2===t){var i=e.__iterator(t,n);return new Att((function(){var e=i.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(1===t?0:1,n)},t}function xnt(e,t,n){var i=Qnt(e);return i.size=e.size,i.has=function(t){return e.has(t)},i.get=function(i,r){var a=e.get(i,ttt);return a===ttt?r:t.call(n,a,i,e)},i.__iterateUncached=function(i,r){var a=this;return e.__iterate((function(e,r,o){return!1!==i(t.call(n,e,r,o),r,a)}),r)},i.__iteratorUncached=function(i,r){var a=e.__iterator(2,r);return new Att((function(){var r=a.next();if(r.done)return r;var o=r.value,s=o[0];return Itt(i,s,t.call(n,o[1],s,e),r)}))},i}function Snt(e,t){var n=this,i=Qnt(e);return i._iter=e,i.size=e.size,i.reverse=function(){return e},e.flip&&(i.flip=function(){var t=knt(e);return t.reverse=function(){return e.flip()},t}),i.get=function(n,i){return e.get(t?n:-1-n,i)},i.has=function(n){return e.has(t?n:-1-n)},i.includes=function(t){return e.includes(t)},i.cacheResult=jnt,i.__iterate=function(n,i){var r=this,a=0;return i&&rtt(e),e.__iterate((function(e,o){return n(e,t?o:i?r.size-++a:a++,r)}),!i)},i.__iterator=function(i,r){var a=0;r&&rtt(e);var o=e.__iterator(2,!r);return new Att((function(){var e=o.next();if(e.done)return e;var s=e.value;return Itt(i,t?s[0]:r?n.size-++a:a++,s[1],e)}))},i}function Pnt(e,t,n,i){var r=Qnt(e);return i&&(r.has=function(i){var r=e.get(i,ttt);return r!==ttt&&!!t.call(n,r,i,e)},r.get=function(i,r){var a=e.get(i,ttt);return a!==ttt&&t.call(n,a,i,e)?a:r}),r.__iterateUncached=function(r,a){var o=this,s=0;return e.__iterate((function(e,a,l){if(t.call(n,e,a,l))return s++,r(e,i?a:s-1,o)}),a),s},r.__iteratorUncached=function(r,a){var o=e.__iterator(2,a),s=0;return new Att((function(){for(;;){var a=o.next();if(a.done)return a;var l=a.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return Itt(r,i?u:s++,c,a)}}))},r}function Ent(e,t,n,i){var r=e.size;if(stt(t,n,r))return e;var a=ltt(t,r),o=utt(n,r);if(a!=a||o!=o)return Ent(e.toSeq().cacheResult(),t,n,i);var s,l=o-a;l==l&&(s=l<0?0:l);var u=Qnt(e);return u.size=0===s?s:e.size&&s||void 0,!i&&xtt(e)&&s>=0&&(u.get=function(t,n){return(t=att(this,t))>=0&&t<s?e.get(t+a,n):n}),u.__iterateUncached=function(t,n){var r=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var o=0,l=!0,u=0;return e.__iterate((function(e,n){if(!l||!(l=o++<a))return u++,!1!==t(e,i?n:u-1,r)&&u!==s})),u},u.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);if(0===s)return new Att(Ltt);var r=e.__iterator(t,n),o=0,l=0;return new Att((function(){for(;o++<a;)r.next();if(++l>s)return{value:void 0,done:!0};var e=r.next();return i||1===t||e.done?e:Itt(t,l-1,0===t?void 0:e.value[1],e)}))},u}function Fnt(e,t,n,i){var r=Qnt(e);return r.__iterateUncached=function(r,a){var o=this;if(a)return this.cacheResult().__iterate(r,a);var s=!0,l=0;return e.__iterate((function(e,a,u){if(!s||!(s=t.call(n,e,a,u)))return l++,r(e,i?a:l-1,o)})),l},r.__iteratorUncached=function(r,a){var o=this;if(a)return this.cacheResult().__iterator(r,a);var s=e.__iterator(2,a),l=!0,u=0;return new Att((function(){var e,a,c;do{if((e=s.next()).done)return i||1===r?e:Itt(r,u++,0===r?void 0:e.value[1],e);var d=e.value;a=d[0],c=d[1],l&&(l=t.call(n,c,a,o))}while(l);return 2===r?e:Itt(r,a,c,e)}))},r}function Cnt(e,t){var n=mtt(e),i=[e].concat(t).map((function(e){return ptt(e)?n&&(e=Ott(e)):e=n?Ztt(e):Htt(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===i.length)return e;if(1===i.length){var r=i[0];if(r===e||n&&mtt(r)||vtt(e)&&vtt(r))return r}var a=new Gtt(i);return n?a=a.toKeyedSeq():vtt(e)||(a=a.toSetSeq()),(a=a.flatten(!0)).size=i.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),a}function Tnt(e,t,n){var i=Qnt(e);return i.__iterateUncached=function(r,a){if(a)return this.cacheResult().__iterate(r,a);var o=0,s=!1;return function e(l,u){l.__iterate((function(a,l){return(!t||u<t)&&ptt(a)?e(a,u+1):(o++,!1===r(a,n?l:o-1,i)&&(s=!0)),!s}),a)}(e,0),o},i.__iteratorUncached=function(i,r){if(r)return this.cacheResult().__iterator(i,r);var a=e.__iterator(i,r),o=[],s=0;return new Att((function(){for(;a;){var e=a.next();if(!1===e.done){var l=e.value;if(2===i&&(l=l[1]),t&&!(o.length<t)||!ptt(l))return n?e:Itt(i,s++,l,e);o.push(a),a=l.__iterator(i,r)}else a=o.pop()}return{value:void 0,done:!0}}))},i}function Dnt(e,t,n){t||(t=Mnt);var i=mtt(e),r=0,a=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).valueSeq().toArray();return a.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){a[t].length=2}:function(e,t){a[t]=e[1]}),i?Utt(a):vtt(e)?qtt(a):Btt(a)}function Ant(e,t,n){if(t||(t=Mnt),n){var i=e.toSeq().map((function(t,i){return[t,n(t,i,e)]})).reduce((function(e,n){return Int(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return Int(t,e,n)?n:e}))}function Int(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function Lnt(e,t,n,i){var r=Qnt(e),a=new Gtt(n).map((function(e){return e.size}));return r.size=i?a.max():a.min(),r.__iterate=function(e,t){for(var n,i=this.__iterator(1,t),r=0;!(n=i.next()).done&&!1!==e(n.value,r++,this););return r},r.__iteratorUncached=function(e,r){var a=n.map((function(e){return e=btt(e),Rtt(r?e.reverse():e)})),o=0,s=!1;return new Att((function(){var n;return s||(n=a.map((function(e){return e.next()})),s=i?n.every((function(e){return e.done})):n.some((function(e){return e.done}))),s?{value:void 0,done:!0}:Itt(e,o++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function znt(e,t){return e===t?e:xtt(e)?t:e.constructor(t)}function $nt(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function Rnt(e){return mtt(e)?Ott:vtt(e)?_tt:wtt}function Qnt(e){return Object.create((mtt(e)?Utt:vtt(e)?qtt:Btt).prototype)}function jnt(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):Ntt.prototype.cacheResult.call(this)}function Mnt(e,t){return void 0===e&&void 0===t?0:void 0===e?1:void 0===t?-1:e>t?1:e<t?-1:0}function Nnt(e,t){t=t||0;for(var n=Math.max(0,e.length-t),i=new Array(n),r=0;r<n;r++)i[r]=e[r+t];return i}function Unt(e,t){if(!e)throw new Error(t)}function qnt(e){Unt(e!==1/0,"Cannot perform this action with an infinite size.")}function Bnt(e){if(Mtt(e)&&"string"!=typeof e)return e;if(Ftt(e))return e.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+e)}function Gnt(e){return"object"==typeof e&&(Ptt(e)||Array.isArray(e)||function(e){return e&&("function"!=typeof e.constructor||"Object"===e.constructor.name)}(e))}function Wnt(e){try{return"string"==typeof e?JSON.stringify(e):String(e)}catch(t){return JSON.stringify(e)}}function Xnt(e,t,n){return Ptt(e)?e.get(t,n):function(e,t){return Ptt(e)?e.has(t):Gnt(e)&&jtt.call(e,t)}(e,t)?"function"==typeof e.get?e.get(t):e[t]:n}function Vnt(e){if(Array.isArray(e))return Nnt(e);var t={};for(var n in e)jtt.call(e,n)&&(t[n]=e[n]);return t}function Ynt(e,t,n,i){i||(i=n,n=void 0);var r=Znt(Ptt(e),e,Bnt(t),0,n,i);return r===ttt?n:r}function Znt(e,t,n,i,r,a){var o=t===ttt;if(i===n.length){var s=o?r:t,l=a(s);return l===s?t:l}if(!o&&!Gnt(t))throw new TypeError("Cannot update within non-data-structure value in path ["+n.slice(0,i).map(Wnt)+"]: "+t);var u=n[i],c=o?ttt:Xnt(t,u,ttt),d=Znt(c===ttt?e:Ptt(c),c,n,i+1,r,a);return d===c?t:d===ttt?function(e,t){if(!Gnt(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(Ptt(e)){if(!e.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+e);return e.remove(t)}if(!jtt.call(e,t))return e;var n=Vnt(e);return Array.isArray(n)?n.splice(t,1):delete n[t],n}(t,u):function(e,t,n){if(!Gnt(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(Ptt(e)){if(!e.set)throw new TypeError("Cannot update immutable value without .set() method: "+e);return e.set(t,n)}if(jtt.call(e,t)&&n===e[t])return e;var i=Vnt(e);return i[t]=n,i}(o?e?kit():{}:t,u,d)}function Hnt(e,t){return function(e,t,n){return Ynt(e,t,ttt,(function(){return n}))}(this,e,t)}function Knt(e){return function(e,t){return Ynt(e,t,(function(){return ttt}))}(this,e)}function Jnt(e,t,n,i){return Ynt(e,[t],n,i)}function eit(e,t,n){return 1===arguments.length?e(this):Jnt(this,e,t,n)}function tit(e,t,n){return Ynt(this,e,t,n)}function nit(e,t,n){for(var i=[],r=0;r<t.length;r++){var a=Ott(t[r]);0!==a.size&&i.push(a)}return 0===i.length?e:0!==e.toSeq().size||e.__ownerID||1!==i.length?e.withMutations((function(e){for(var t=n?function(t,i){Jnt(e,i,ttt,(function(e){return e===ttt?t:n(e,t,i)}))}:function(t,n){e.set(n,t)},r=0;r<i.length;r++)i[r].forEach(t)})):e.constructor(i[0])}function iit(e,t,n){return rit(e,t,function(e){function t(n,i,r){return Gnt(n)&&Gnt(i)?rit(n,[i],t):e?e(n,i,r):i}return t}(n))}function rit(e,t,n){if(!Gnt(e))throw new TypeError("Cannot merge into non-data-structure value: "+e);if(Ptt(e))return"function"==typeof n&&e.mergeWith?e.mergeWith.apply(e,[n].concat(t)):e.merge?e.merge.apply(e,t):e.concat.apply(e,t);for(var i=Array.isArray(e),r=e,a=i?_tt:Ott,o=i?function(t){r===e&&(r=Vnt(r)),r.push(t)}:function(t,i){var a=jtt.call(r,i),o=a&&n?n(r[i],t,i):t;a&&o===r[i]||(r===e&&(r=Vnt(r)),r[i]=o)},s=0;s<t.length;s++)a(t[s]).forEach(o);return r}function ait(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return Ynt(this,e,kit(),(function(e){return rit(e,t)}))}function oit(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return Ynt(this,e,kit(),(function(e){return iit(e,t)}))}function sit(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this}function lit(){return this.__ownerID?this:this.__ensureOwner(new itt)}function uit(){return this.__ensureOwner()}function cit(){return this.__altered}Ont.prototype.cacheResult=bnt.prototype.cacheResult=_nt.prototype.cacheResult=wnt.prototype.cacheResult=jnt;var dit=function(e){function t(t){return null==t?kit():ent(t)&&!Ftt(t)?t:kit().withMutations((function(n){var i=e(t);qnt(i.size),i.forEach((function(e,t){return n.set(t,e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return kit().withMutations((function(t){for(var n=0;n<e.length;n+=2){if(n+1>=e.length)throw new Error("Missing value for key: "+e[n]);t.set(e[n],e[n+1])}}))},t.prototype.toString=function(){return this.__toString("Map {","}")},t.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},t.prototype.set=function(e,t){return xit(this,e,t)},t.prototype.remove=function(e){return xit(this,e,ttt)},t.prototype.deleteAll=function(e){var t=btt(e);return 0===t.size?this:this.withMutations((function(e){t.forEach((function(t){return e.remove(t)}))}))},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):kit()},t.prototype.sort=function(e){return Yit(Dnt(this,e))},t.prototype.sortBy=function(e,t){return Yit(Dnt(this,t,e))},t.prototype.map=function(e,t){return this.withMutations((function(n){n.forEach((function(i,r){n.set(r,e.call(t,i,r,n))}))}))},t.prototype.__iterator=function(e,t){return new bit(this,e,t)},t.prototype.__iterate=function(e,t){var n=this,i=0;return this._root&&this._root.iterate((function(t){return i++,e(t[1],t[0],n)}),t),i},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?wit(this.size,this._root,e,this.__hash):0===this.size?kit():(this.__ownerID=e,this.__altered=!1,this)},t}(Ott);dit.isMap=ent;var hit=dit.prototype;hit[Jtt]=!0,hit.delete=hit.remove,hit.removeAll=hit.deleteAll,hit.setIn=Hnt,hit.removeIn=hit.deleteIn=Knt,hit.update=eit,hit.updateIn=tit,hit.merge=hit.concat=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return nit(this,e)},hit.mergeWith=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if("function"!=typeof e)throw new TypeError("Invalid merger function: "+e);return nit(this,t,e)},hit.mergeDeep=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return iit(this,e)},hit.mergeDeepWith=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return iit(this,t,e)},hit.mergeIn=ait,hit.mergeDeepIn=oit,hit.withMutations=sit,hit.wasAltered=cit,hit.asImmutable=uit,hit["@@transducer/init"]=hit.asMutable=lit,hit["@@transducer/step"]=function(e,t){return e.set(t[0],t[1])},hit["@@transducer/result"]=function(e){return e.asImmutable()};var pit=function(e,t){this.ownerID=e,this.entries=t};pit.prototype.get=function(e,t,n,i){for(var r=this.entries,a=0,o=r.length;a<o;a++)if(int(n,r[a][0]))return r[a][1];return i},pit.prototype.update=function(e,t,n,i,r,a,o){for(var s=r===ttt,l=this.entries,u=0,c=l.length;u<c&&!int(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(ntt(o),(s||!d)&&ntt(a),!s||1!==l.length){if(!d&&!s&&l.length>=Tit)return function(e,t,n,i){e||(e=new itt);for(var r=new vit(e,snt(n),[n,i]),a=0;a<t.length;a++){var o=t[a];r=r.update(e,0,void 0,o[0],o[1])}return r}(e,l,i,r);var h=e&&e===this.ownerID,p=h?l:Nnt(l);return d?s?u===c-1?p.pop():p[u]=p.pop():p[u]=[i,r]:p.push([i,r]),h?(this.entries=p,this):new pit(e,p)}};var fit=function(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n};fit.prototype.get=function(e,t,n,i){void 0===t&&(t=snt(n));var r=1<<((0===e?t:t>>>e)&ett),a=this.bitmap;return 0==(a&r)?i:this.nodes[Fit(a&r-1)].get(e+5,t,n,i)},fit.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=snt(i));var s=(0===t?n:n>>>t)&ett,l=1<<s,u=this.bitmap,c=0!=(u&l);if(!c&&r===ttt)return this;var d=Fit(u&l-1),h=this.nodes,p=c?h[d]:void 0,f=Sit(p,e,t+5,n,i,r,a,o);if(f===p)return this;if(!c&&f&&h.length>=Dit)return function(e,t,n,i,r){for(var a=0,o=new Array(Jet),s=0;0!==n;s++,n>>>=1)o[s]=1&n?t[a++]:void 0;return o[i]=r,new mit(e,a+1,o)}(e,h,u,s,f);if(c&&!f&&2===h.length&&Pit(h[1^d]))return h[1^d];if(c&&f&&1===h.length&&Pit(f))return f;var m=e&&e===this.ownerID,g=c?f?u:u^l:u|l,v=c?f?Cit(h,d,f,m):function(e,t,n){var i=e.length-1;if(n&&t===i)return e.pop(),e;for(var r=new Array(i),a=0,o=0;o<i;o++)o===t&&(a=1),r[o]=e[o+a];return r}(h,d,m):function(e,t,n,i){var r=e.length+1;if(i&&t+1===r)return e[t]=n,e;for(var a=new Array(r),o=0,s=0;s<r;s++)s===t?(a[s]=n,o=-1):a[s]=e[s+o];return a}(h,d,f,m);return m?(this.bitmap=g,this.nodes=v,this):new fit(e,g,v)};var mit=function(e,t,n){this.ownerID=e,this.count=t,this.nodes=n};mit.prototype.get=function(e,t,n,i){void 0===t&&(t=snt(n));var r=(0===e?t:t>>>e)&ett,a=this.nodes[r];return a?a.get(e+5,t,n,i):i},mit.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=snt(i));var s=(0===t?n:n>>>t)&ett,l=r===ttt,u=this.nodes,c=u[s];if(l&&!c)return this;var d=Sit(c,e,t+5,n,i,r,a,o);if(d===c)return this;var h=this.count;if(c){if(!d&&--h<Ait)return function(e,t,n,i){for(var r=0,a=0,o=new Array(n),s=0,l=1,u=t.length;s<u;s++,l<<=1){var c=t[s];void 0!==c&&s!==i&&(r|=l,o[a++]=c)}return new fit(e,r,o)}(e,u,h,s)}else h++;var p=e&&e===this.ownerID,f=Cit(u,s,d,p);return p?(this.count=h,this.nodes=f,this):new mit(e,h,f)};var git=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n};git.prototype.get=function(e,t,n,i){for(var r=this.entries,a=0,o=r.length;a<o;a++)if(int(n,r[a][0]))return r[a][1];return i},git.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=snt(i));var s=r===ttt;if(n!==this.keyHash)return s?this:(ntt(o),ntt(a),Eit(this,e,t,n,[i,r]));for(var l=this.entries,u=0,c=l.length;u<c&&!int(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(ntt(o),(s||!d)&&ntt(a),s&&2===c)return new vit(e,this.keyHash,l[1^u]);var h=e&&e===this.ownerID,p=h?l:Nnt(l);return d?s?u===c-1?p.pop():p[u]=p.pop():p[u]=[i,r]:p.push([i,r]),h?(this.entries=p,this):new git(e,this.keyHash,p)};var vit=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n};vit.prototype.get=function(e,t,n,i){return int(n,this.entry[0])?this.entry[1]:i},vit.prototype.update=function(e,t,n,i,r,a,o){var s=r===ttt,l=int(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(ntt(o),s?void ntt(a):l?e&&e===this.ownerID?(this.entry[1]=r,this):new vit(e,this.keyHash,[i,r]):(ntt(a),Eit(this,e,t,snt(i),[i,r])))},pit.prototype.iterate=git.prototype.iterate=function(e,t){for(var n=this.entries,i=0,r=n.length-1;i<=r;i++)if(!1===e(n[t?r-i:i]))return!1},fit.prototype.iterate=mit.prototype.iterate=function(e,t){for(var n=this.nodes,i=0,r=n.length-1;i<=r;i++){var a=n[t?r-i:i];if(a&&!1===a.iterate(e,t))return!1}},vit.prototype.iterate=function(e,t){return e(this.entry)};var yit,bit=function(e){function t(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&_it(e._root)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var n=t.node,i=t.index++,r=void 0;if(n.entry){if(0===i)return Oit(e,n.entry)}else if(n.entries){if(i<=(r=n.entries.length-1))return Oit(e,n.entries[this._reverse?r-i:i])}else if(i<=(r=n.nodes.length-1)){var a=n.nodes[this._reverse?r-i:i];if(a){if(a.entry)return Oit(e,a.entry);t=this._stack=_it(a,t)}continue}t=this._stack=this._stack.__prev}return{value:void 0,done:!0}},t}(Att);function Oit(e,t){return Itt(e,t[0],t[1])}function _it(e,t){return{node:e,index:0,__prev:t}}function wit(e,t,n,i){var r=Object.create(hit);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function kit(){return yit||(yit=wit(0))}function xit(e,t,n){var i,r;if(e._root){var a={value:!1},o={value:!1};if(i=Sit(e._root,e.__ownerID,0,void 0,t,n,a,o),!o.value)return e;r=e.size+(a.value?n===ttt?-1:1:0)}else{if(n===ttt)return e;r=1,i=new pit(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=r,e._root=i,e.__hash=void 0,e.__altered=!0,e):i?wit(r,i):kit()}function Sit(e,t,n,i,r,a,o,s){return e?e.update(t,n,i,r,a,o,s):a===ttt?e:(ntt(s),ntt(o),new vit(t,i,[r,a]))}function Pit(e){return e.constructor===vit||e.constructor===git}function Eit(e,t,n,i,r){if(e.keyHash===i)return new git(t,i,[e.entry,r]);var a,o=(0===n?e.keyHash:e.keyHash>>>n)&ett,s=(0===n?i:i>>>n)&ett,l=o===s?[Eit(e,t,n+5,i,r)]:(a=new vit(t,i,r),o<s?[e,a]:[a,e]);return new fit(t,1<<o|1<<s,l)}function Fit(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function Cit(e,t,n,i){var r=i?e:Nnt(e);return r[t]=n,r}var Tit=8,Dit=16,Ait=8,Iit="@@__IMMUTABLE_LIST__@@";function Lit(e){return Boolean(e&&e[Iit])}var zit=function(e){function t(t){var n=Uit();if(null==t)return n;if(Lit(t))return t;var i=e(t),r=i.size;return 0===r?n:(qnt(r),r>0&&r<Jet?Nit(0,r,5,null,new Rit(i.toArray())):n.withMutations((function(e){e.setSize(r),i.forEach((function(t,n){return e.set(n,t)}))})))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.prototype.toString=function(){return this.__toString("List [","]")},t.prototype.get=function(e,t){if((e=att(this,e))>=0&&e<this.size){var n=Git(this,e+=this._origin);return n&&n.array[e&ett]}return t},t.prototype.set=function(e,t){return function(e,t,n){if((t=att(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?Wit(e,t).set(0,n):Wit(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,a={value:!1};t>=Xit(e._capacity)?i=qit(i,e.__ownerID,0,t,n,a):r=qit(r,e.__ownerID,e._level,t,n,a);if(!a.value)return e;if(e.__ownerID)return e._root=r,e._tail=i,e.__hash=void 0,e.__altered=!0,e;return Nit(e._origin,e._capacity,e._level,r,i)}(this,e,t)},t.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},t.prototype.insert=function(e,t){return this.splice(e,0,t)},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=5,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Uit()},t.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){Wit(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},t.prototype.pop=function(){return Wit(this,0,-1)},t.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){Wit(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},t.prototype.shift=function(){return Wit(this,1)},t.prototype.concat=function(){for(var t=arguments,n=[],i=0;i<arguments.length;i++){var r=t[i],a=e("string"!=typeof r&&ztt(r)?r:[r]);0!==a.size&&n.push(a)}return 0===n.length?this:0!==this.size||this.__ownerID||1!==n.length?this.withMutations((function(e){n.forEach((function(t){return t.forEach((function(t){return e.push(t)}))}))})):this.constructor(n[0])},t.prototype.setSize=function(e){return Wit(this,0,e)},t.prototype.map=function(e,t){var n=this;return this.withMutations((function(i){for(var r=0;r<n.size;r++)i.set(r,e.call(t,i.get(r),r,i))}))},t.prototype.slice=function(e,t){var n=this.size;return stt(e,t,n)?this:Wit(this,ltt(e,n),utt(t,n))},t.prototype.__iterator=function(e,t){var n=t?this.size:0,i=Mit(this,t);return new Att((function(){var r=i();return r===jit?{value:void 0,done:!0}:Itt(e,t?--n:n++,r)}))},t.prototype.__iterate=function(e,t){for(var n,i=t?this.size:0,r=Mit(this,t);(n=r())!==jit&&!1!==e(n,t?--i:i++,this););return i},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Nit(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):0===this.size?Uit():(this.__ownerID=e,this.__altered=!1,this)},t}(_tt);zit.isList=Lit;var $it=zit.prototype;$it[Iit]=!0,$it.delete=$it.remove,$it.merge=$it.concat,$it.setIn=Hnt,$it.deleteIn=$it.removeIn=Knt,$it.update=eit,$it.updateIn=tit,$it.mergeIn=ait,$it.mergeDeepIn=oit,$it.withMutations=sit,$it.wasAltered=cit,$it.asImmutable=uit,$it["@@transducer/init"]=$it.asMutable=lit,$it["@@transducer/step"]=function(e,t){return e.push(t)},$it["@@transducer/result"]=function(e){return e.asImmutable()};var Rit=function(e,t){this.array=e,this.ownerID=t};Rit.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var i=n>>>t&ett;if(i>=this.array.length)return new Rit([],e);var r,a=0===i;if(t>0){var o=this.array[i];if((r=o&&o.removeBefore(e,t-5,n))===o&&a)return this}if(a&&!r)return this;var s=Bit(this,e);if(!a)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},Rit.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var i,r=n-1>>>t&ett;if(r>=this.array.length)return this;if(t>0){var a=this.array[r];if((i=a&&a.removeAfter(e,t-5,n))===a&&r===this.array.length-1)return this}var o=Bit(this,e);return o.array.splice(r+1),i&&(o.array[r]=i),o};var Qit,jit={};function Mit(e,t){var n=e._origin,i=e._capacity,r=Xit(i),a=e._tail;return o(e._root,e._level,0);function o(e,s,l){return 0===s?function(e,o){var s=o===r?a&&a.array:e&&e.array,l=o>n?0:n-o,u=i-o;u>Jet&&(u=Jet);return function(){if(l===u)return jit;var e=t?--u:l++;return s&&s[e]}}(e,l):function(e,r,a){var s,l=e&&e.array,u=a>n?0:n-a>>r,c=1+(i-a>>r);c>Jet&&(c=Jet);return function(){for(;;){if(s){var e=s();if(e!==jit)return e;s=null}if(u===c)return jit;var n=t?--c:u++;s=o(l&&l[n],r-5,a+(n<<r))}}}(e,s,l)}}function Nit(e,t,n,i,r,a,o){var s=Object.create($it);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=i,s._tail=r,s.__ownerID=a,s.__hash=o,s.__altered=!1,s}function Uit(){return Qit||(Qit=Nit(0,0,5))}function qit(e,t,n,i,r,a){var o,s=i>>>n&ett,l=e&&s<e.array.length;if(!l&&void 0===r)return e;if(n>0){var u=e&&e.array[s],c=qit(u,t,n-5,i,r,a);return c===u?e:((o=Bit(e,t)).array[s]=c,o)}return l&&e.array[s]===r?e:(a&&ntt(a),o=Bit(e,t),void 0===r&&s===o.array.length-1?o.array.pop():o.array[s]=r,o)}function Bit(e,t){return t&&e&&t===e.ownerID?e:new Rit(e?e.array.slice():[],t)}function Git(e,t){if(t>=Xit(e._capacity))return e._tail;if(t<1<<e._level+5){for(var n=e._root,i=e._level;n&&i>0;)n=n.array[t>>>i&ett],i-=5;return n}}function Wit(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new itt,r=e._origin,a=e._capacity,o=r+t,s=void 0===n?a:n<0?a+n:r+n;if(o===r&&s===a)return e;if(o>=s)return e.clear();for(var l=e._level,u=e._root,c=0;o+c<0;)u=new Rit(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=5);c&&(o+=c,r+=c,s+=c,a+=c);for(var d=Xit(a),h=Xit(s);h>=1<<l+5;)u=new Rit(u&&u.array.length?[u]:[],i),l+=5;var p=e._tail,f=h<d?Git(e,s-1):h>d?new Rit([],i):p;if(p&&h>d&&o<a&&p.array.length){for(var m=u=Bit(u,i),g=l;g>5;g-=5){var v=d>>>g&ett;m=m.array[v]=Bit(m.array[v],i)}m.array[d>>>5&ett]=p}if(s<a&&(f=f&&f.removeAfter(i,0,s)),o>=h)o-=h,s-=h,l=5,u=null,f=f&&f.removeBefore(i,0,o);else if(o>r||h<d){for(c=0;u;){var y=o>>>l&ett;if(y!==h>>>l&ett)break;y&&(c+=(1<<l)*y),l-=5,u=u.array[y]}u&&o>r&&(u=u.removeBefore(i,l,o-c)),u&&h<d&&(u=u.removeAfter(i,l,h-c)),c&&(o-=c,s-=c)}return e.__ownerID?(e.size=s-o,e._origin=o,e._capacity=s,e._level=l,e._root=u,e._tail=f,e.__hash=void 0,e.__altered=!0,e):Nit(o,s,l,u,f)}function Xit(e){return e<Jet?0:e-1>>>5<<5}var Vit,Yit=function(e){function t(e){return null==e?Hit():tnt(e)?e:Hit().withMutations((function(t){var n=Ott(e);qnt(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.prototype.toString=function(){return this.__toString("OrderedMap {","}")},t.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Hit()},t.prototype.set=function(e,t){return Kit(this,e,t)},t.prototype.remove=function(e){return Kit(this,e,ttt)},t.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},t.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},t.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},t.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?Zit(t,n,e,this.__hash):0===this.size?Hit():(this.__ownerID=e,this._map=t,this._list=n,this)},t}(dit);function Zit(e,t,n,i){var r=Object.create(Yit.prototype);return r.size=e?e.size:0,r._map=e,r._list=t,r.__ownerID=n,r.__hash=i,r}function Hit(){return Vit||(Vit=Zit(kit(),Uit()))}function Kit(e,t,n){var i,r,a=e._map,o=e._list,s=a.get(t),l=void 0!==s;if(n===ttt){if(!l)return e;o.size>=Jet&&o.size>=2*a.size?(r=o.filter((function(e,t){return void 0!==e&&s!==t})),i=r.toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(i.__ownerID=r.__ownerID=e.__ownerID)):(i=a.remove(t),r=s===o.size-1?o.pop():o.set(s,void 0))}else if(l){if(n===o.get(s)[1])return e;i=a,r=o.set(s,[t,n])}else i=a.set(t,o.size),r=o.set(o.size,[t,n]);return e.__ownerID?(e.size=i.size,e._map=i,e._list=r,e.__hash=void 0,e):Zit(i,r)}Yit.isOrderedMap=tnt,Yit.prototype[Ett]=!0,Yit.prototype.delete=Yit.prototype.remove;var Jit="@@__IMMUTABLE_STACK__@@";function ert(e){return Boolean(e&&e[Jit])}var trt=function(e){function t(e){return null==e?art():ert(e)?e:art().pushAll(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.prototype.toString=function(){return this.__toString("Stack [","]")},t.prototype.get=function(e,t){var n=this._head;for(e=att(this,e);n&&e--;)n=n.next;return n?n.value:t},t.prototype.peek=function(){return this._head&&this._head.value},t.prototype.push=function(){var e=arguments;if(0===arguments.length)return this;for(var t=this.size+arguments.length,n=this._head,i=arguments.length-1;i>=0;i--)n={value:e[i],next:n};return this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):rrt(t,n)},t.prototype.pushAll=function(t){if(0===(t=e(t)).size)return this;if(0===this.size&&ert(t))return t;qnt(t.size);var n=this.size,i=this._head;return t.__iterate((function(e){n++,i={value:e,next:i}}),!0),this.__ownerID?(this.size=n,this._head=i,this.__hash=void 0,this.__altered=!0,this):rrt(n,i)},t.prototype.pop=function(){return this.slice(1)},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):art()},t.prototype.slice=function(t,n){if(stt(t,n,this.size))return this;var i=ltt(t,this.size);if(utt(n,this.size)!==this.size)return e.prototype.slice.call(this,t,n);for(var r=this.size-i,a=this._head;i--;)a=a.next;return this.__ownerID?(this.size=r,this._head=a,this.__hash=void 0,this.__altered=!0,this):rrt(r,a)},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?rrt(this.size,this._head,e,this.__hash):0===this.size?art():(this.__ownerID=e,this.__altered=!1,this)},t.prototype.__iterate=function(e,t){var n=this;if(t)return new Gtt(this.toArray()).__iterate((function(t,i){return e(t,i,n)}),t);for(var i=0,r=this._head;r&&!1!==e(r.value,i++,this);)r=r.next;return i},t.prototype.__iterator=function(e,t){if(t)return new Gtt(this.toArray()).__iterator(e,t);var n=0,i=this._head;return new Att((function(){if(i){var t=i.value;return i=i.next,Itt(e,n++,t)}return{value:void 0,done:!0}}))},t}(_tt);trt.isStack=ert;var nrt,irt=trt.prototype;function rrt(e,t,n,i){var r=Object.create(irt);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function art(){return nrt||(nrt=rrt(0))}irt[Jit]=!0,irt.shift=irt.pop,irt.unshift=irt.push,irt.unshiftAll=irt.pushAll,irt.withMutations=sit,irt.wasAltered=cit,irt.asImmutable=uit,irt["@@transducer/init"]=irt.asMutable=lit,irt["@@transducer/step"]=function(e,t){return e.unshift(t)},irt["@@transducer/result"]=function(e){return e.asImmutable()};var ort="@@__IMMUTABLE_SET__@@";function srt(e){return Boolean(e&&e[ort])}function lrt(e){return srt(e)&&Ftt(e)}function urt(e,t){if(e===t)return!0;if(!ptt(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||mtt(e)!==mtt(t)||vtt(e)!==vtt(t)||Ftt(e)!==Ftt(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!ytt(e);if(Ftt(e)){var i=e.entries();return t.every((function(e,t){var r=i.next().value;return r&&int(r[1],e)&&(n||int(r[0],t))}))&&i.next().done}var r=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{r=!0;var a=e;e=t,t=a}var o=!0,s=t.__iterate((function(t,i){if(n?!e.has(t):r?!int(t,e.get(i,ttt)):!int(e.get(i,ttt),t))return o=!1,!1}));return o&&e.size===s}function crt(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}function drt(e){if(!e||"object"!=typeof e)return e;if(!ptt(e)){if(!Gnt(e))return e;e=Ntt(e)}if(mtt(e)){var t={};return e.__iterate((function(e,n){t[n]=drt(e)})),t}var n=[];return e.__iterate((function(e){n.push(drt(e))})),n}var hrt=function(e){function t(t){return null==t?vrt():srt(t)&&!Ftt(t)?t:vrt().withMutations((function(n){var i=e(t);qnt(i.size),i.forEach((function(e){return n.add(e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.fromKeys=function(e){return this(Ott(e).keySeq())},t.intersect=function(e){return(e=btt(e).toArray()).length?frt.intersect.apply(t(e.pop()),e):vrt()},t.union=function(e){return(e=btt(e).toArray()).length?frt.union.apply(t(e.pop()),e):vrt()},t.prototype.toString=function(){return this.__toString("Set {","}")},t.prototype.has=function(e){return this._map.has(e)},t.prototype.add=function(e){return mrt(this,this._map.set(e,e))},t.prototype.remove=function(e){return mrt(this,this._map.remove(e))},t.prototype.clear=function(){return mrt(this,this._map.clear())},t.prototype.map=function(e,t){var n=this,i=[],r=[];return this.forEach((function(a){var o=e.call(t,a,a,n);o!==a&&(i.push(a),r.push(o))})),this.withMutations((function(e){i.forEach((function(t){return e.remove(t)})),r.forEach((function(t){return e.add(t)}))}))},t.prototype.union=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return t=t.filter((function(e){return 0!==e.size})),0===t.length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(n){for(var i=0;i<t.length;i++)e(t[i]).forEach((function(e){return n.add(e)}))})):this.constructor(t[0])},t.prototype.intersect=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];if(0===t.length)return this;t=t.map((function(t){return e(t)}));var i=[];return this.forEach((function(e){t.every((function(t){return t.includes(e)}))||i.push(e)})),this.withMutations((function(e){i.forEach((function(t){e.remove(t)}))}))},t.prototype.subtract=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];if(0===t.length)return this;t=t.map((function(t){return e(t)}));var i=[];return this.forEach((function(e){t.some((function(t){return t.includes(e)}))&&i.push(e)})),this.withMutations((function(e){i.forEach((function(t){e.remove(t)}))}))},t.prototype.sort=function(e){return Irt(Dnt(this,e))},t.prototype.sortBy=function(e,t){return Irt(Dnt(this,t,e))},t.prototype.wasAltered=function(){return this._map.wasAltered()},t.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t){return e(t,t,n)}),t)},t.prototype.__iterator=function(e,t){return this._map.__iterator(e,t)},t.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):0===this.size?this.__empty():(this.__ownerID=e,this._map=t,this)},t}(wtt);hrt.isSet=srt;var prt,frt=hrt.prototype;function mrt(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._map?e:0===t.size?e.__empty():e.__make(t)}function grt(e,t){var n=Object.create(frt);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function vrt(){return prt||(prt=grt(kit()))}frt[ort]=!0,frt.delete=frt.remove,frt.merge=frt.concat=frt.union,frt.withMutations=sit,frt.asImmutable=uit,frt["@@transducer/init"]=frt.asMutable=lit,frt["@@transducer/step"]=function(e,t){return e.add(t)},frt["@@transducer/result"]=function(e){return e.asImmutable()},frt.__empty=vrt,frt.__make=grt;var yrt,brt=function(e){function t(e,n,i){if(!(this instanceof t))return new t(e,n,i);if(Unt(0!==i,"Cannot step a Range by 0"),e=e||0,void 0===n&&(n=1/0),i=void 0===i?1:Math.abs(i),n<e&&(i=-i),this._start=e,this._end=n,this._step=i,this.size=Math.max(0,Math.ceil((n-e)/i-1)+1),0===this.size){if(yrt)return yrt;yrt=this}}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},t.prototype.get=function(e,t){return this.has(e)?this._start+att(this,e)*this._step:t},t.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},t.prototype.slice=function(e,n){return stt(e,n,this.size)?this:(e=ltt(e,this.size),(n=utt(n,this.size))<=e?new t(0,0):new t(this.get(e,this._end),this.get(n,this._end),this._step))},t.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},t.prototype.lastIndexOf=function(e){return this.indexOf(e)},t.prototype.__iterate=function(e,t){for(var n=this.size,i=this._step,r=t?this._start+(n-1)*i:this._start,a=0;a!==n&&!1!==e(r,t?n-++a:a++,this);)r+=t?-i:i;return a},t.prototype.__iterator=function(e,t){var n=this.size,i=this._step,r=t?this._start+(n-1)*i:this._start,a=0;return new Att((function(){if(a===n)return{value:void 0,done:!0};var o=r;return r+=t?-i:i,Itt(e,t?n-++a:a++,o)}))},t.prototype.equals=function(e){return e instanceof t?this._start===e._start&&this._end===e._end&&this._step===e._step:urt(this,e)},t}(qtt);function Ort(e,t,n){for(var i=Bnt(t),r=0;r!==i.length;)if((e=Xnt(e,i[r++],ttt))===ttt)return n;return e}function _rt(){qnt(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e}btt.isIterable=ptt,btt.isKeyed=mtt,btt.isIndexed=vtt,btt.isAssociative=ytt,btt.isOrdered=Ftt,btt.Iterator=Att,crt(btt,{toArray:function(){qnt(this.size);var e=new Array(this.size||0),t=mtt(this),n=0;return this.__iterate((function(i,r){e[n++]=t?[r,i]:i})),e},toIndexedSeq:function(){return new Ont(this)},toJS:function(){return drt(this)},toKeyedSeq:function(){return new bnt(this,!0)},toMap:function(){return dit(this.toKeyedSeq())},toObject:_rt,toOrderedMap:function(){return Yit(this.toKeyedSeq())},toOrderedSet:function(){return Irt(mtt(this)?this.valueSeq():this)},toSet:function(){return hrt(mtt(this)?this.valueSeq():this)},toSetSeq:function(){return new _nt(this)},toSeq:function(){return vtt(this)?this.toIndexedSeq():mtt(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return trt(mtt(this)?this.valueSeq():this)},toList:function(){return zit(mtt(this)?this.valueSeq():this)},toString:function(){return"[Collection]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return znt(this,Cnt(this,e))},includes:function(e){return this.some((function(t){return int(t,e)}))},entries:function(){return this.__iterator(2)},every:function(e,t){qnt(this.size);var n=!0;return this.__iterate((function(i,r,a){if(!e.call(t,i,r,a))return n=!1,!1})),n},filter:function(e,t){return znt(this,Pnt(this,e,t,!0))},find:function(e,t,n){var i=this.findEntry(e,t);return i?i[1]:n},forEach:function(e,t){return qnt(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){qnt(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(i){n?n=!1:t+=e,t+=null!=i?i.toString():""})),t},keys:function(){return this.__iterator(0)},map:function(e,t){return znt(this,xnt(this,e,t))},reduce:function(e,t,n){return Srt(this,e,t,n,arguments.length<2,!1)},reduceRight:function(e,t,n){return Srt(this,e,t,n,arguments.length<2,!0)},reverse:function(){return znt(this,Snt(this,!0))},slice:function(e,t){return znt(this,Ent(this,e,t,!0))},some:function(e,t){return!this.every(Frt(e),t)},sort:function(e){return znt(this,Dnt(this,e))},values:function(){return this.__iterator(1)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(e,t){return rtt(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return function(e,t,n){var i=dit().asMutable();return e.__iterate((function(r,a){i.update(t.call(n,r,a,e),0,(function(e){return e+1}))})),i.asImmutable()}(this,e,t)},equals:function(e){return urt(this,e)},entrySeq:function(){var e=this;if(e._cache)return new Gtt(e._cache);var t=e.toSeq().map(Ert).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(Frt(e),t)},findEntry:function(e,t,n){var i=n;return this.__iterate((function(n,r,a){if(e.call(t,n,r,a))return i=[r,n],!1})),i},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},findLastEntry:function(e,t,n){return this.toKeyedSeq().reverse().findEntry(e,t,n)},findLastKey:function(e,t){return this.toKeyedSeq().reverse().findKey(e,t)},first:function(e){return this.find(ott,null,e)},flatMap:function(e,t){return znt(this,function(e,t,n){var i=Rnt(e);return e.toSeq().map((function(r,a){return i(t.call(n,r,a,e))})).flatten(!0)}(this,e,t))},flatten:function(e){return znt(this,Tnt(this,e,!0))},fromEntrySeq:function(){return new wnt(this)},get:function(e,t){return this.find((function(t,n){return int(n,e)}),void 0,t)},getIn:function(e,t){return Ort(this,e,t)},groupBy:function(e,t){return function(e,t,n){var i=mtt(e),r=(Ftt(e)?Yit():dit()).asMutable();e.__iterate((function(a,o){r.update(t.call(n,a,o,e),(function(e){return(e=e||[]).push(i?[o,a]:a),e}))}));var a=Rnt(e);return r.map((function(t){return znt(e,a(t))})).asImmutable()}(this,e,t)},has:function(e){return this.get(e,ttt)!==ttt},hasIn:function(e){return function(e,t){return Ort(e,t,ttt)!==ttt}(this,e)},isSubset:function(e){return e="function"==typeof e.includes?e:btt(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:btt(e)).isSubset(this)},keyOf:function(e){return this.findKey((function(t){return int(t,e)}))},keySeq:function(){return this.toSeq().map(Prt).toIndexedSeq()},last:function(e){return this.toSeq().reverse().first(e)},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return Ant(this,e)},maxBy:function(e,t){return Ant(this,t,e)},min:function(e){return Ant(this,e?Crt(e):Drt)},minBy:function(e,t){return Ant(this,t?Crt(t):Drt,e)},rest:function(){return this.slice(1)},skip:function(e){return 0===e?this:this.slice(Math.max(0,e))},skipLast:function(e){return 0===e?this:this.slice(0,-Math.max(0,e))},skipWhile:function(e,t){return znt(this,Fnt(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(Frt(e),t)},sortBy:function(e,t){return znt(this,Dnt(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return this.slice(-Math.max(0,e))},takeWhile:function(e,t){return znt(this,function(e,t,n){var i=Qnt(e);return i.__iterateUncached=function(i,r){var a=this;if(r)return this.cacheResult().__iterate(i,r);var o=0;return e.__iterate((function(e,r,s){return t.call(n,e,r,s)&&++o&&i(e,r,a)})),o},i.__iteratorUncached=function(i,r){var a=this;if(r)return this.cacheResult().__iterator(i,r);var o=e.__iterator(2,r),s=!0;return new Att((function(){if(!s)return{value:void 0,done:!0};var e=o.next();if(e.done)return e;var r=e.value,l=r[0],u=r[1];return t.call(n,u,l,a)?2===i?e:Itt(i,l,u,e):(s=!1,{value:void 0,done:!0})}))},i}(this,e,t))},takeUntil:function(e,t){return this.takeWhile(Frt(e),t)},update:function(e){return e(this)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(e){if(e.size===1/0)return 0;var t=Ftt(e),n=mtt(e),i=t?1:0,r=e.__iterate(n?t?function(e,t){i=31*i+Art(snt(e),snt(t))|0}:function(e,t){i=i+Art(snt(e),snt(t))|0}:t?function(e){i=31*i+snt(e)|0}:function(e){i=i+snt(e)|0});return function(e,t){return t=rnt(t,3432918353),t=rnt(t<<15|t>>>-15,461845907),t=rnt(t<<13|t>>>-13,5),t=rnt((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=ant((t=rnt(t^t>>>13,3266489909))^t>>>16)}(r,i)}(this))}});var wrt=btt.prototype;wrt[htt]=!0,wrt[Dtt]=wrt.values,wrt.toJSON=wrt.toArray,wrt.__toStringMapper=Wnt,wrt.inspect=wrt.toSource=function(){return this.toString()},wrt.chain=wrt.flatMap,wrt.contains=wrt.includes,crt(Ott,{flip:function(){return znt(this,knt(this))},mapEntries:function(e,t){var n=this,i=0;return znt(this,this.toSeq().map((function(r,a){return e.call(t,[a,r],i++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return znt(this,this.toSeq().flip().map((function(i,r){return e.call(t,i,r,n)})).flip())}});var krt=Ott.prototype;krt[ftt]=!0,krt[Dtt]=wrt.entries,krt.toJSON=_rt,krt.__toStringMapper=function(e,t){return Wnt(t)+": "+Wnt(e)},crt(_tt,{toKeyedSeq:function(){return new bnt(this,!1)},filter:function(e,t){return znt(this,Pnt(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.lastKeyOf(e);return void 0===t?-1:t},reverse:function(){return znt(this,Snt(this,!1))},slice:function(e,t){return znt(this,Ent(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(t||0,0),0===n||2===n&&!t)return this;e=ltt(e,e<0?this.count():this.size);var i=this.slice(0,e);return znt(this,1===n?i:i.concat(Nnt(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.findLastEntry(e,t);return n?n[0]:-1},first:function(e){return this.get(0,e)},flatten:function(e){return znt(this,Tnt(this,e,!1))},get:function(e,t){return(e=att(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,n){return n===e}),void 0,t)},has:function(e){return(e=att(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return znt(this,function(e,t){var n=Qnt(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,i){var r=this,a=0;return e.__iterate((function(e){return(!a||!1!==n(t,a++,r))&&!1!==n(e,a++,r)}),i),a},n.__iteratorUncached=function(n,i){var r,a=e.__iterator(1,i),o=0;return new Att((function(){return(!r||o%2)&&(r=a.next()).done?r:o%2?Itt(n,o++,t):Itt(n,o++,r.value,r)}))},n}(this,e))},interleave:function(){var e=[this].concat(Nnt(arguments)),t=Lnt(this.toSeq(),qtt.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),znt(this,n)},keySeq:function(){return brt(0,this.size)},last:function(e){return this.get(-1,e)},skipWhile:function(e,t){return znt(this,Fnt(this,e,t,!1))},zip:function(){var e=[this].concat(Nnt(arguments));return znt(this,Lnt(this,Trt,e))},zipAll:function(){var e=[this].concat(Nnt(arguments));return znt(this,Lnt(this,Trt,e,!0))},zipWith:function(e){var t=Nnt(arguments);return t[0]=this,znt(this,Lnt(this,e,t))}});var xrt=_tt.prototype;function Srt(e,t,n,i,r,a){return qnt(e.size),e.__iterate((function(e,a,o){r?(r=!1,n=e):n=t.call(i,n,e,a,o)}),a),n}function Prt(e,t){return t}function Ert(e,t){return[t,e]}function Frt(e){return function(){return!e.apply(this,arguments)}}function Crt(e){return function(){return-e.apply(this,arguments)}}function Trt(){return Nnt(arguments)}function Drt(e,t){return e<t?1:e>t?-1:0}function Art(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}xrt[gtt]=!0,xrt[Ett]=!0,crt(wtt,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),wtt.prototype.has=wrt.includes,wtt.prototype.contains=wtt.prototype.includes,crt(Utt,Ott.prototype),crt(qtt,_tt.prototype),crt(Btt,wtt.prototype);var Irt=function(e){function t(e){return null==e?Rrt():lrt(e)?e:Rrt().withMutations((function(t){var n=wtt(e);qnt(n.size),n.forEach((function(e){return t.add(e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.fromKeys=function(e){return this(Ott(e).keySeq())},t.prototype.toString=function(){return this.__toString("OrderedSet {","}")},t}(hrt);Irt.isOrderedSet=lrt;var Lrt,zrt=Irt.prototype;function $rt(e,t){var n=Object.create(zrt);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Rrt(){return Lrt||(Lrt=$rt(Hit()))}zrt[Ett]=!0,zrt.zip=xrt.zip,zrt.zipWith=xrt.zipWith,zrt.__empty=Rrt,zrt.__make=$rt;var Qrt={exports:{}};
|
|
175
175
|
/*!
|
|
176
176
|
Copyright (c) 2015 Jed Watson.
|
|
177
177
|
Based on code that is Copyright 2013-2015, Facebook, Inc.
|