@livetiles/reach-components-react 0.5.0-preview.560 → 0.5.0-preview.561

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.umd.js CHANGED
@@ -128,7 +128,7 @@ var JU=function(){return JU=Object.assign||function(e){for(var t,n=1,i=arguments
128
128
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
129
129
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
130
130
  PERFORMANCE OF THIS SOFTWARE.
131
- ***************************************************************************** */var aJ=function(e,t){return aJ=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])},aJ(e,t)};var sJ=function(){return sJ=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},sJ.apply(this,arguments)};function lJ(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 uJ(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i.throw(e))}catch(e){o(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(a,s)}l((i=i.apply(e,t||[])).next())}))}function cJ(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function dJ(e,t,n){if(n||2===arguments.length)for(var i,r=0,o=t.length;r<o;r++)!i&&r in t||(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||t)}function pJ(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var hJ,fJ,mJ,gJ,vJ=o.createGlobalStyle(hJ||(hJ=pJ(["\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):not([data-skip-link]):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):not([data-skip-link]):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})),yJ=function(e){return"\n .ms-Fabric--isFocusVisible .lt-reach {\n "+e+"\n }\n"},bJ=function(e){return o.css(fJ||(fJ=pJ(["\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")},OJ=o.createGlobalStyle(mJ||(mJ=pJ(["\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}),bJ(!0),bJ()),_J=YB(["browser-version-"+sg,"browser-name-"+ag],"lt-reach");!function(e){e[e.asc=1]="asc",e[e.desc=-1]="desc"}(gJ||(gJ={}));var wJ="Language",xJ="Locale";function kJ(){var e=bS();return i.useMemo((function(){return{getLocalLanguage:function(){return uJ(this,void 0,void 0,(function(){return cJ(this,(function(t){switch(t.label){case 0:return[4,e.getString(wJ)];case 1:return[2,dw(t.sent())]}}))}))},saveLanguageToLocalStorage:function(t){return uJ(this,void 0,void 0,(function(){return cJ(this,(function(n){switch(n.label){case 0:return[4,e.setString(wJ,t)];case 1:return n.sent(),[2]}}))}))},saveLocaleToLocalStorage:function(t){return uJ(this,void 0,void 0,(function(){return cJ(this,(function(n){switch(n.label){case 0:return[4,e.setString(xJ,t)];case 1:return n.sent(),[2]}}))}))},getLocaleFromLocalStorage:function(){return uJ(this,void 0,void 0,(function(){return cJ(this,(function(t){return[2,e.getString(xJ)]}))}))}}}),[e])}var SJ="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},PJ=function(e){return e&&e.Math==Math&&e},EJ=PJ("object"==typeof globalThis&&globalThis)||PJ("object"==typeof window&&window)||PJ("object"==typeof self&&self)||PJ("object"==typeof SJ&&SJ)||Function("return this")(),CJ={},FJ=function(e){try{return!!e()}catch(e){return!0}},TJ=!FJ((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),DJ={},AJ={}.propertyIsEnumerable,IJ=Object.getOwnPropertyDescriptor,LJ=IJ&&!AJ.call({1:2},1);DJ.f=LJ?function(e){var t=IJ(this,e);return!!t&&t.enumerable}:AJ;var $J=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},zJ={}.toString,RJ=function(e){return zJ.call(e).slice(8,-1)},jJ=RJ,MJ="".split,QJ=FJ((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==jJ(e)?MJ.call(e,""):Object(e)}:Object,NJ=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},UJ=QJ,BJ=NJ,qJ=function(e){return UJ(BJ(e))},GJ=function(e){return"object"==typeof e?null!==e:"function"==typeof e},WJ=GJ,XJ=function(e,t){if(!WJ(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!WJ(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!WJ(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!WJ(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")},VJ={}.hasOwnProperty,YJ=function(e,t){return VJ.call(e,t)},ZJ=GJ,HJ=EJ.document,KJ=ZJ(HJ)&&ZJ(HJ.createElement),JJ=function(e){return KJ?HJ.createElement(e):{}},e0=JJ,t0=!TJ&&!FJ((function(){return 7!=Object.defineProperty(e0("div"),"a",{get:function(){return 7}}).a})),n0=TJ,i0=DJ,r0=$J,o0=qJ,a0=XJ,s0=YJ,l0=t0,u0=Object.getOwnPropertyDescriptor;CJ.f=n0?u0:function(e,t){if(e=o0(e),t=a0(t,!0),l0)try{return u0(e,t)}catch(e){}if(s0(e,t))return r0(!i0.f.call(e,t),e[t])};var c0={},d0=GJ,p0=function(e){if(!d0(e))throw TypeError(String(e)+" is not an object");return e},h0=TJ,f0=t0,m0=p0,g0=XJ,v0=Object.defineProperty;c0.f=h0?v0:function(e,t,n){if(m0(e),t=g0(t,!0),m0(n),f0)try{return v0(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 y0=c0,b0=$J,O0=TJ?function(e,t,n){return y0.f(e,t,b0(1,n))}:function(e,t,n){return e[t]=n,e},_0={exports:{}},w0=EJ,x0=O0,k0=function(e,t){try{x0(w0,e,t)}catch(n){w0[e]=t}return t},S0=k0,P0="__core-js_shared__",E0=EJ[P0]||S0(P0,{}),C0=E0,F0=Function.toString;"function"!=typeof C0.inspectSource&&(C0.inspectSource=function(e){return F0.call(e)});var T0=C0.inspectSource,D0=T0,A0=EJ.WeakMap,I0="function"==typeof A0&&/native code/.test(D0(A0)),L0={exports:{}},$0=E0;(L0.exports=function(e,t){return $0[e]||($0[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"});var z0,R0,j0,M0=0,Q0=Math.random(),N0=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++M0+Q0).toString(36)},U0=L0.exports,B0=N0,q0=U0("keys"),G0=function(e){return q0[e]||(q0[e]=B0(e))},W0={},X0=I0,V0=GJ,Y0=O0,Z0=YJ,H0=G0,K0=W0,J0=EJ.WeakMap;if(X0){var e1=new J0,t1=e1.get,n1=e1.has,i1=e1.set;z0=function(e,t){return i1.call(e1,e,t),t},R0=function(e){return t1.call(e1,e)||{}},j0=function(e){return n1.call(e1,e)}}else{var r1=H0("state");K0[r1]=!0,z0=function(e,t){return Y0(e,r1,t),t},R0=function(e){return Z0(e,r1)?e[r1]:{}},j0=function(e){return Z0(e,r1)}}var o1={set:z0,get:R0,has:j0,enforce:function(e){return j0(e)?R0(e):z0(e,{})},getterFor:function(e){return function(t){var n;if(!V0(t)||(n=R0(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},a1=EJ,s1=O0,l1=YJ,u1=k0,c1=T0,d1=o1.get,p1=o1.enforce,h1=String(String).split("String");(_0.exports=function(e,t,n,i){var r=!!i&&!!i.unsafe,o=!!i&&!!i.enumerable,a=!!i&&!!i.noTargetGet;"function"==typeof n&&("string"!=typeof t||l1(n,"name")||s1(n,"name",t),p1(n).source=h1.join("string"==typeof t?t:"")),e!==a1?(r?!a&&e[t]&&(o=!0):delete e[t],o?e[t]=n:s1(e,t,n)):o?e[t]=n:u1(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&d1(this).source||c1(this)}));var f1=EJ,m1=EJ,g1=function(e){return"function"==typeof e?e:void 0},v1=function(e,t){return arguments.length<2?g1(f1[e])||g1(m1[e]):f1[e]&&f1[e][t]||m1[e]&&m1[e][t]},y1={},b1=Math.ceil,O1=Math.floor,_1=function(e){return isNaN(e=+e)?0:(e>0?O1:b1)(e)},w1=_1,x1=Math.min,k1=function(e){return e>0?x1(w1(e),9007199254740991):0},S1=_1,P1=Math.max,E1=Math.min,C1=qJ,F1=k1,T1=function(e,t){var n=S1(e);return n<0?P1(n+t,0):E1(n,t)},D1=function(e){return function(t,n,i){var r,o=C1(t),a=F1(o.length),s=T1(i,a);if(e&&n!=n){for(;a>s;)if((r=o[s++])!=r)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},A1={includes:D1(!0),indexOf:D1(!1)},I1=YJ,L1=qJ,$1=A1.indexOf,z1=W0,R1=function(e,t){var n,i=L1(e),r=0,o=[];for(n in i)!I1(z1,n)&&I1(i,n)&&o.push(n);for(;t.length>r;)I1(i,n=t[r++])&&(~$1(o,n)||o.push(n));return o},j1=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],M1=R1,Q1=j1.concat("length","prototype");y1.f=Object.getOwnPropertyNames||function(e){return M1(e,Q1)};var N1={};N1.f=Object.getOwnPropertySymbols;var U1=y1,B1=N1,q1=p0,G1=v1("Reflect","ownKeys")||function(e){var t=U1.f(q1(e)),n=B1.f;return n?t.concat(n(e)):t},W1=YJ,X1=G1,V1=CJ,Y1=c0,Z1=FJ,H1=/#|\.prototype\./,K1=function(e,t){var n=e2[J1(e)];return n==n2||n!=t2&&("function"==typeof t?Z1(t):!!t)},J1=K1.normalize=function(e){return String(e).replace(H1,".").toLowerCase()},e2=K1.data={},t2=K1.NATIVE="N",n2=K1.POLYFILL="P",i2=K1,r2=EJ,o2=CJ.f,a2=O0,s2=_0.exports,l2=k0,u2=function(e,t){for(var n=X1(t),i=Y1.f,r=V1.f,o=0;o<n.length;o++){var a=n[o];W1(e,a)||i(e,a,r(t,a))}},c2=i2,d2=function(e,t){var n,i,r,o,a,s=e.target,l=e.global,u=e.stat;if(n=l?r2:u?r2[s]||l2(s,{}):(r2[s]||{}).prototype)for(i in t){if(o=t[i],r=e.noTargetGet?(a=o2(n,i))&&a.value:n[i],!c2(l?i:s+(u?".":"#")+i,e.forced)&&void 0!==r){if(typeof o==typeof r)continue;u2(o,r)}(e.sham||r&&r.sham)&&a2(o,"sham",!0),s2(n,i,o,e)}},p2=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},h2=NJ,f2=function(e){return Object(h2(e))},m2=p2,g2=f2,v2=QJ,y2=k1,b2=function(e){return function(t,n,i,r){m2(n);var o=g2(t),a=v2(o),s=y2(o.length),l=e?s-1:0,u=e?-1:1;if(i<2)for(;;){if(l in a){r=a[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 a&&(r=n(r,a[l],l,o));return r}},O2={left:b2(!1),right:b2(!0)},_2=FJ,w2=function(e,t){var n=[][e];return!!n&&_2((function(){n.call(null,t||function(){throw 1},1)}))},x2=TJ,k2=FJ,S2=YJ,P2=Object.defineProperty,E2={},C2=function(e){throw e},F2=d2,T2=O2.left,D2=function(e,t){if(S2(E2,e))return E2[e];t||(t={});var n=[][e],i=!!S2(t,"ACCESSORS")&&t.ACCESSORS,r=S2(t,0)?t[0]:C2,o=S2(t,1)?t[1]:void 0;return E2[e]=!!n&&!k2((function(){if(i&&!x2)return!0;var e={length:-1};i?P2(e,1,{enumerable:!0,get:C2}):e[1]=1,n.call(e,r,o)}))},A2=w2("reduce"),I2=D2("reduce",{1:0});F2({target:"Array",proto:!0,forced:!A2||!I2},{reduce:function(e){return T2(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}});var L2=EJ.Promise,$2=_0.exports,z2=FJ,R2=!!Object.getOwnPropertySymbols&&!z2((function(){return!String(Symbol())})),j2=R2&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,M2=EJ,Q2=L0.exports,N2=YJ,U2=N0,B2=R2,q2=j2,G2=Q2("wks"),W2=M2.Symbol,X2=q2?W2:W2&&W2.withoutSetter||U2,V2=function(e){return N2(G2,e)||(B2&&N2(W2,e)?G2[e]=W2[e]:G2[e]=X2("Symbol."+e)),G2[e]},Y2=c0.f,Z2=YJ,H2=V2("toStringTag"),K2=function(e,t,n){e&&!Z2(e=n?e:e.prototype,H2)&&Y2(e,H2,{configurable:!0,value:t})},J2=v1,e3=c0,t3=TJ,n3=V2("species"),i3=function(e){var t=J2(e),n=e3.f;t3&&t&&!t[n3]&&n(t,n3,{configurable:!0,get:function(){return this}})},r3={exports:{}},o3={},a3=o3,s3=V2("iterator"),l3=Array.prototype,u3=p2,c3=function(e,t,n){if(u3(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)}},d3={};d3[V2("toStringTag")]="z";var p3="[object z]"===String(d3),h3=RJ,f3=V2("toStringTag"),m3="Arguments"==h3(function(){return arguments}()),g3=p3?h3: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),f3))?n:m3?h3(t):"Object"==(i=h3(t))&&"function"==typeof t.callee?"Arguments":i},v3=g3,y3=o3,b3=V2("iterator"),O3=p0,_3=p0,w3=function(e){return void 0!==e&&(a3.Array===e||l3[s3]===e)},x3=k1,k3=c3,S3=function(e){if(null!=e)return e[b3]||e["@@iterator"]||y3[v3(e)]},P3=function(e,t,n,i){try{return i?t(O3(n)[0],n[1]):t(n)}catch(t){var r=e.return;throw void 0!==r&&O3(r.call(e)),t}},E3=function(e,t){this.stopped=e,this.result=t},C3=r3.exports=function(e,t,n,i,r){var o,a,s,l,u,c,d,p=k3(t,n,i?2:1);if(r)o=e;else{if("function"!=typeof(a=S3(e)))throw TypeError("Target is not iterable");if(w3(a)){for(s=0,l=x3(e.length);l>s;s++)if((u=i?p(_3(d=e[s])[0],d[1]):p(e[s]))&&u instanceof E3)return u;return new E3(!1)}o=a.call(e)}for(c=o.next;!(d=c.call(o)).done;)if("object"==typeof(u=P3(o,p,d.value,i))&&u&&u instanceof E3)return u;return new E3(!1)};C3.stop=function(e){return new E3(!0,e)};var F3=V2("iterator"),T3=!1;try{var D3=0,A3={next:function(){return{done:!!D3++}},return:function(){T3=!0}};A3[F3]=function(){return this},Array.from(A3,(function(){throw 2}))}catch(e){}var I3,L3,$3,z3=p0,R3=p2,j3=V2("species"),M3=function(e,t){var n,i=z3(e).constructor;return void 0===i||null==(n=z3(i)[j3])?t:R3(n)},Q3=v1("document","documentElement"),N3=v1("navigator","userAgent")||"",U3=/(iphone|ipod|ipad).*applewebkit/i.test(N3),B3=EJ,q3=FJ,G3=RJ,W3=c3,X3=Q3,V3=JJ,Y3=U3,Z3=B3.location,H3=B3.setImmediate,K3=B3.clearImmediate,J3=B3.process,e4=B3.MessageChannel,t4=B3.Dispatch,n4=0,i4={},r4="onreadystatechange",o4=function(e){if(i4.hasOwnProperty(e)){var t=i4[e];delete i4[e],t()}},a4=function(e){return function(){o4(e)}},s4=function(e){o4(e.data)},l4=function(e){B3.postMessage(e+"",Z3.protocol+"//"+Z3.host)};H3&&K3||(H3=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return i4[++n4]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},I3(n4),n4},K3=function(e){delete i4[e]},"process"==G3(J3)?I3=function(e){J3.nextTick(a4(e))}:t4&&t4.now?I3=function(e){t4.now(a4(e))}:e4&&!Y3?($3=(L3=new e4).port2,L3.port1.onmessage=s4,I3=W3($3.postMessage,$3,1)):!B3.addEventListener||"function"!=typeof postMessage||B3.importScripts||q3(l4)||"file:"===Z3.protocol?I3=r4 in V3("script")?function(e){X3.appendChild(V3("script")).onreadystatechange=function(){X3.removeChild(this),o4(e)}}:function(e){setTimeout(a4(e),0)}:(I3=l4,B3.addEventListener("message",s4,!1)));var u4,c4,d4,p4,h4,f4,m4,g4,v4={set:H3,clear:K3},y4=EJ,b4=CJ.f,O4=RJ,_4=v4.set,w4=U3,x4=y4.MutationObserver||y4.WebKitMutationObserver,k4=y4.process,S4=y4.Promise,P4="process"==O4(k4),E4=b4(y4,"queueMicrotask"),C4=E4&&E4.value;C4||(u4=function(){var e,t;for(P4&&(e=k4.domain)&&e.exit();c4;){t=c4.fn,c4=c4.next;try{t()}catch(e){throw c4?p4():d4=void 0,e}}d4=void 0,e&&e.enter()},P4?p4=function(){k4.nextTick(u4)}:x4&&!w4?(h4=!0,f4=document.createTextNode(""),new x4(u4).observe(f4,{characterData:!0}),p4=function(){f4.data=h4=!h4}):S4&&S4.resolve?(m4=S4.resolve(void 0),g4=m4.then,p4=function(){g4.call(m4,u4)}):p4=function(){_4.call(y4,u4)});var F4=C4||function(e){var t={fn:e,next:void 0};d4&&(d4.next=t),c4||(c4=t,p4()),d4=t},T4={},D4=p2,A4=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=D4(t),this.reject=D4(n)};T4.f=function(e){return new A4(e)};var I4,L4,$4=p0,z4=GJ,R4=T4,j4=EJ,M4=N3,Q4=EJ.process,N4=Q4&&Q4.versions,U4=N4&&N4.v8;U4?L4=(I4=U4.split("."))[0]+I4[1]:M4&&(!(I4=M4.match(/Edge\/(\d+)/))||I4[1]>=74)&&(I4=M4.match(/Chrome\/(\d+)/))&&(L4=I4[1]);var B4,q4,G4,W4,X4=L4&&+L4,V4=d2,Y4=EJ,Z4=v1,H4=L2,K4=_0.exports,J4=function(e,t,n){for(var i in t)$2(e,i,t[i],n);return e},e6=K2,t6=i3,n6=GJ,i6=p2,r6=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},o6=RJ,a6=T0,s6=r3.exports,l6=function(e,t){if(!t&&!T3)return!1;var n=!1;try{var i={};i[F3]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n},u6=M3,c6=v4.set,d6=F4,p6=function(e,t){if($4(e),z4(t)&&t.constructor===e)return t;var n=R4.f(e);return(0,n.resolve)(t),n.promise},h6=function(e,t){var n=j4.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))},f6=T4,m6=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},g6=o1,v6=i2,y6=X4,b6=V2("species"),O6="Promise",_6=g6.get,w6=g6.set,x6=g6.getterFor(O6),k6=H4,S6=Y4.TypeError,P6=Y4.document,E6=Y4.process,C6=Z4("fetch"),F6=f6.f,T6=F6,D6="process"==o6(E6),A6=!!(P6&&P6.createEvent&&Y4.dispatchEvent),I6="unhandledrejection",L6=v6(O6,(function(){if(!(a6(k6)!==String(k6))){if(66===y6)return!0;if(!D6&&"function"!=typeof PromiseRejectionEvent)return!0}if(y6>=51&&/native code/.test(k6))return!1;var e=k6.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[b6]=t,!(e.then((function(){}))instanceof t)})),$6=L6||!l6((function(e){k6.all(e).catch((function(){}))})),z6=function(e){var t;return!(!n6(e)||"function"!=typeof(t=e.then))&&t},R6=function(e,t,n){if(!t.notified){t.notified=!0;var i=t.reactions;d6((function(){for(var r=t.value,o=1==t.state,a=0;i.length>a;){var s,l,u,c=i[a++],d=o?c.ok:c.fail,p=c.resolve,h=c.reject,f=c.domain;try{d?(o||(2===t.rejection&&N6(e,t),t.rejection=1),!0===d?s=r:(f&&f.enter(),s=d(r),f&&(f.exit(),u=!0)),s===c.promise?h(S6("Promise-chain cycle")):(l=z6(s))?l.call(s,p,h):p(s)):h(r)}catch(e){f&&!u&&f.exit(),h(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&M6(e,t)}))}},j6=function(e,t,n){var i,r;A6?((i=P6.createEvent("Event")).promise=t,i.reason=n,i.initEvent(e,!1,!0),Y4.dispatchEvent(i)):i={promise:t,reason:n},(r=Y4["on"+e])?r(i):e===I6&&h6("Unhandled promise rejection",n)},M6=function(e,t){c6.call(Y4,(function(){var n,i=t.value;if(Q6(t)&&(n=m6((function(){D6?E6.emit("unhandledRejection",i,e):j6(I6,e,i)})),t.rejection=D6||Q6(t)?2:1,n.error))throw n.value}))},Q6=function(e){return 1!==e.rejection&&!e.parent},N6=function(e,t){c6.call(Y4,(function(){D6?E6.emit("rejectionHandled",e):j6("rejectionhandled",e,t.value)}))},U6=function(e,t,n,i){return function(r){e(t,n,r,i)}},B6=function(e,t,n,i){t.done||(t.done=!0,i&&(t=i),t.value=n,t.state=2,R6(e,t,!0))},q6=function(e,t,n,i){if(!t.done){t.done=!0,i&&(t=i);try{if(e===n)throw S6("Promise can't be resolved itself");var r=z6(n);r?d6((function(){var i={done:!1};try{r.call(n,U6(q6,e,i,t),U6(B6,e,i,t))}catch(n){B6(e,i,n,t)}})):(t.value=n,t.state=1,R6(e,t,!1))}catch(n){B6(e,{done:!1},n,t)}}};function G6(e){switch(null==e?void 0:e.toLowerCase()){case"ar-dz":return Promise.resolve().then((function(){return NXi}));case"ar-kw":return Promise.resolve().then((function(){return BXi}));case"ar-ly":return Promise.resolve().then((function(){return GXi}));case"ar-ma":return Promise.resolve().then((function(){return XXi}));case"ar-sa":return Promise.resolve().then((function(){return YXi}));case"ar-tn":return Promise.resolve().then((function(){return HXi}));case"ar":return Promise.resolve().then((function(){return JXi}));case"bg":return Promise.resolve().then((function(){return tVi}));case"bn":return Promise.resolve().then((function(){return iVi}));case"ca":return Promise.resolve().then((function(){return oVi}));case"cs":return Promise.resolve().then((function(){return sVi}));case"da":return Promise.resolve().then((function(){return uVi}));case"de-at":return Promise.resolve().then((function(){return dVi}));case"de-ch":return Promise.resolve().then((function(){return hVi}));case"de":return Promise.resolve().then((function(){return mVi}));case"el":return Promise.resolve().then((function(){return vVi}));case"en-au":return Promise.resolve().then((function(){return bVi}));case"en-ca":return Promise.resolve().then((function(){return _Vi}));case"en-gb":return Promise.resolve().then((function(){return xVi}));case"en-ie":return Promise.resolve().then((function(){return SVi}));case"en-il":return Promise.resolve().then((function(){return EVi}));case"en-nz":return Promise.resolve().then((function(){return FVi}));case"en-sg":return Promise.resolve().then((function(){return DVi}));case"es-do":return Promise.resolve().then((function(){return IVi}));case"es-us":return Promise.resolve().then((function(){return $Vi}));case"es":return Promise.resolve().then((function(){return RVi}));case"et":return Promise.resolve().then((function(){return MVi}));case"fa":return Promise.resolve().then((function(){return NVi}));case"fi":return Promise.resolve().then((function(){return BVi}));case"fr-ca":return Promise.resolve().then((function(){return GVi}));case"fr-ch":return Promise.resolve().then((function(){return XVi}));case"fr":return Promise.resolve().then((function(){return YVi}));case"gu":return Promise.resolve().then((function(){return HVi}));case"he":return Promise.resolve().then((function(){return JVi}));case"hi":return Promise.resolve().then((function(){return tYi}));case"hr":return Promise.resolve().then((function(){return iYi}));case"hu":return Promise.resolve().then((function(){return oYi}));case"id":return Promise.resolve().then((function(){return sYi}));case"it-ch":return Promise.resolve().then((function(){return uYi}));case"it":return Promise.resolve().then((function(){return dYi}));case"ja":return Promise.resolve().then((function(){return hYi}));case"kn":return Promise.resolve().then((function(){return mYi}));case"ko":return Promise.resolve().then((function(){return vYi}));case"lt":return Promise.resolve().then((function(){return bYi}));case"lv":return Promise.resolve().then((function(){return _Yi}));case"ml":return Promise.resolve().then((function(){return xYi}));case"mr":return Promise.resolve().then((function(){return SYi}));case"ms-my":return Promise.resolve().then((function(){return EYi}));case"ms":return Promise.resolve().then((function(){return FYi}));case"nb":return Promise.resolve().then((function(){return DYi}));case"nl-be":return Promise.resolve().then((function(){return IYi}));case"nl":return Promise.resolve().then((function(){return $Yi}));case"pl":return Promise.resolve().then((function(){return RYi}));case"pt-br":return Promise.resolve().then((function(){return MYi}));case"pt":return Promise.resolve().then((function(){return NYi}));case"ro":return Promise.resolve().then((function(){return BYi}));case"ru":return Promise.resolve().then((function(){return GYi}));case"sk":return Promise.resolve().then((function(){return XYi}));case"sl":return Promise.resolve().then((function(){return YYi}));case"sr-cyrl":return Promise.resolve().then((function(){return HYi}));case"sr":return Promise.resolve().then((function(){return JYi}));case"sv":return Promise.resolve().then((function(){return tZi}));case"sw":return Promise.resolve().then((function(){return iZi}));case"ta":return Promise.resolve().then((function(){return oZi}));case"te":return Promise.resolve().then((function(){return sZi}));case"th":return Promise.resolve().then((function(){return uZi}));case"tr":return Promise.resolve().then((function(){return dZi}));case"uk":return Promise.resolve().then((function(){return hZi}));case"vi":return Promise.resolve().then((function(){return mZi}));case"zh-cn":return Promise.resolve().then((function(){return vZi}));case"zh-hk":return Promise.resolve().then((function(){return bZi}));case"zh-tw":return Promise.resolve().then((function(){return _Zi}));default:return Promise.resolve()}}L6&&(k6=function(e){r6(this,k6,O6),i6(e),B4.call(this);var t=_6(this);try{e(U6(q6,this,t),U6(B6,this,t))}catch(e){B6(this,t,e)}},(B4=function(e){w6(this,{type:O6,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=J4(k6.prototype,{then:function(e,t){var n=x6(this),i=F6(u6(this,k6));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=D6?E6.domain:void 0,n.parent=!0,n.reactions.push(i),0!=n.state&&R6(this,n,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),q4=function(){var e=new B4,t=_6(e);this.promise=e,this.resolve=U6(q6,e,t),this.reject=U6(B6,e,t)},f6.f=F6=function(e){return e===k6||e===G4?new q4(e):T6(e)},"function"==typeof H4&&(W4=H4.prototype.then,K4(H4.prototype,"then",(function(e,t){var n=this;return new k6((function(e,t){W4.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof C6&&V4({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return p6(k6,C6.apply(Y4,arguments))}}))),V4({global:!0,wrap:!0,forced:L6},{Promise:k6}),e6(k6,O6,!1),t6(O6),G4=Z4(O6),V4({target:O6,stat:!0,forced:L6},{reject:function(e){var t=F6(this);return t.reject.call(void 0,e),t.promise}}),V4({target:O6,stat:!0,forced:L6},{resolve:function(e){return p6(this,e)}}),V4({target:O6,stat:!0,forced:$6},{all:function(e){var t=this,n=F6(t),i=n.resolve,r=n.reject,o=m6((function(){var n=i6(t.resolve),o=[],a=0,s=1;s6(e,(function(e){var l=a++,u=!1;o.push(void 0),s++,n.call(t,e).then((function(e){u||(u=!0,o[l]=e,--s||i(o))}),r)})),--s||i(o)}));return o.error&&r(o.value),n.promise},race:function(e){var t=this,n=F6(t),i=n.reject,r=m6((function(){var r=i6(t.resolve);s6(e,(function(e){r.call(t,e).then(n.resolve,i)}))}));return r.error&&i(r.value),n.promise}});var W6=function(e){var n,r=e.language,o=e.locale,a=e.importLanguageResourcesAsync,s=e.children,l=i.useState(null),u=l[0],c=l[1],d=kJ(),p=d.getLocalLanguage,h=d.getLocaleFromLocalStorage;return i.useEffect((function(){(function(){return uJ(this,void 0,void 0,(function(){var e,t,n,i;return cJ(this,(function(a){switch(a.label){case 0:return e=f,null==r?[3,1]:(t=r,[3,3]);case 1:return[4,p()];case 2:t=a.sent(),a.label=3;case 3:return n=[t],null==o?[3,4]:(i=o,[3,6]);case 4:return[4,h()];case 5:i=a.sent(),a.label=6;case 6:return[4,e.apply(void 0,n.concat([i]))];case 7:return a.sent(),[2]}}))}))})().then((function(){return null}),ng.error)}),[]),(null===(n=null==u?void 0:u.resources)||void 0===n?void 0:n[u.language])?t.jsx(SS.Provider,sJ({value:{language:u.language,changeLocale:function(e){return function(e,t){return uJ(this,void 0,void 0,(function(){return cJ(this,(function(n){switch(n.label){case 0:return[4,X6(e||t)];case 1:return n.sent(),c((function(t){return sJ(sJ({},t),{locale:e})})),[2]}}))}))}(e,u.language)},changeLanguage:function(e){return uJ(this,void 0,void 0,(function(){var t;return cJ(this,(function(n){switch(n.label){case 0:return[4,m(e=null==e?void 0:e.toLocaleLowerCase())];case 1:return t=n.sent(),u.locale?[3,3]:[4,X6(e)];case 2:n.sent(),n.label=3;case 3:return c((function(n){return sJ(sJ({},n),{language:e,resources:t})})),[2]}}))}))},changeSettings:f,addResources:function(e){c((function(t){var n=Object.keys(e).reduce((function(n,i){var r;return(r={})[i]=sJ(sJ(sJ({},n),t.resources[i]),e[i]),r}),{});return sJ(sJ({},t),{resources:sJ(sJ({},t.resources),n)})}))}}},{children:t.jsx(tS,sJ({locale:u.locale||u.language,messages:u.resources[u.language]},{children:t.jsx(kS,{children:s},void 0)}),void 0)}),void 0):null;function f(e,t){return uJ(this,void 0,void 0,(function(){var n;return cJ(this,(function(i){switch(i.label){case 0:return e=null==e?void 0:e.toLocaleLowerCase(),(null==u?void 0:u.language)===e&&(null==u?void 0:u.locale)===t?[2]:[4,m(e)];case 1:return n=i.sent(),[4,X6(t||e)];case 2:return i.sent(),c({language:e,locale:t,resources:n}),[2]}}))}))}function m(e){return uJ(this,void 0,void 0,(function(){var t;return cJ(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,g(e)];case 1:return[2,n.sent()];case 2:return t=n.sent(),ng.error(t),[2,null];case 3:return[2]}}))}))}function g(e){var t;return uJ(this,void 0,void 0,(function(){var n,i,r;return cJ(this,(function(o){switch(o.label){case 0:if(null==e)return[2,null];if(null===(t=null==u?void 0:u.resources)||void 0===t?void 0:t[e])return[2,u.resources];o.label=1;case 1:return o.trys.push([1,3,,4]),e=e.toLowerCase(),n=v,i=[e],[4,a(e)];case 2:return[2,n.apply(void 0,i.concat([o.sent().default]))];case 3:return r=o.sent(),ng.error(r),[2,{}];case 4:return[2]}}))}))}function v(e,t){var n,i,r,o=window.__localeResourcesInterceptor||{};return sJ(sJ(sJ({},null!==(r=null==u?void 0:u.resources)&&void 0!==r?r:{}),((n={})[e]=t,n)),o[e]&&((i={})[e]=o[e],i))}};function X6(e){return uJ(this,void 0,void 0,(function(){var t;return cJ(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,G6(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 V6(e){switch(null==e?void 0:e.toLowerCase()){case"da":return Promise.resolve().then((function(){return wZi}));case"de":return Promise.resolve().then((function(){return xZi}));case"fr":return Promise.resolve().then((function(){return kZi}));case"es":return Promise.resolve().then((function(){return SZi}));case"zh-tw":return Promise.resolve().then((function(){return PZi}));case"zh-cn":return Promise.resolve().then((function(){return EZi}));case"ja":return Promise.resolve().then((function(){return CZi}));case"tr":return Promise.resolve().then((function(){return FZi}));case"it":return Promise.resolve().then((function(){return TZi}));default:return Promise.resolve().then((function(){return DZi}))}}var Y6=function(e){var n=e.language,i=e.locale,r=e.children;return t.jsx(W6,sJ({language:n,locale:i,importLanguageResourcesAsync:V6},{children:r}),void 0)};function Z6(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 QZi}));case"ar-ma":return Promise.resolve().then((function(){return YZi}));case"ar-sa":return Promise.resolve().then((function(){return rHi}));case"bg":return Promise.resolve().then((function(){return yHi}));case"bn":return Promise.resolve().then((function(){return IHi}));case"ca":return Promise.resolve().then((function(){return XHi}));case"cs":return Promise.resolve().then((function(){return sKi}));case"da":return Promise.resolve().then((function(){return OKi}));case"de":case"de-ch":case"de-at":return Promise.resolve().then((function(){return IKi}));case"el":return Promise.resolve().then((function(){return BKi}));case"en-au":return Promise.resolve().then((function(){return GKi}));case"en-ca":return Promise.resolve().then((function(){return YKi}));case"en-gb":case"en-il":case"en-ie":case"en-sg":return Promise.resolve().then((function(){return HKi}));case"en-nz":return Promise.resolve().then((function(){return JKi}));case"es":case"es-us":case"es-do":return Promise.resolve().then((function(){return uJi}));case"et":return Promise.resolve().then((function(){return OJi}));case"fa":return Promise.resolve().then((function(){return FJi}));case"fi":return Promise.resolve().then((function(){return VJi}));case"fr-ca":return Promise.resolve().then((function(){return r0i}));case"fr-ch":return Promise.resolve().then((function(){return u0i}));case"fr":return Promise.resolve().then((function(){return d0i}));case"gu":return Promise.resolve().then((function(){return O0i}));case"he":return Promise.resolve().then((function(){return D0i}));case"hi":return Promise.resolve().then((function(){return U0i}));case"hr":return Promise.resolve().then((function(){return H0i}));case"hu":return Promise.resolve().then((function(){return c1i}));case"id":return Promise.resolve().then((function(){return b1i}));case"it":case"it-ch":return Promise.resolve().then((function(){return D1i}));case"ja":return Promise.resolve().then((function(){return N1i}));case"kn":return Promise.resolve().then((function(){return H1i}));case"ko":return Promise.resolve().then((function(){return s2i}));case"lt":return Promise.resolve().then((function(){return w2i}));case"lv":return Promise.resolve().then((function(){return I2i}));case"ms":case"ms-my":return Promise.resolve().then((function(){return U2i}));case"nb":return Promise.resolve().then((function(){return H2i}));case"nl-be":return Promise.resolve().then((function(){return a3i}));case"nl":return Promise.resolve().then((function(){return m3i}));case"pl":return Promise.resolve().then((function(){return T3i}));case"pt-br":return Promise.resolve().then((function(){return Q3i}));case"pt":return Promise.resolve().then((function(){return Y3i}));case"ro":return Promise.resolve().then((function(){return r4i}));case"ru":return Promise.resolve().then((function(){return y4i}));case"sk":return Promise.resolve().then((function(){return A4i}));case"sl":return Promise.resolve().then((function(){return N4i}));case"sr-cyrl":return Promise.resolve().then((function(){return Z4i}));case"sr":return Promise.resolve().then((function(){return o6i}));case"sv":return Promise.resolve().then((function(){return g6i}));case"ta":return Promise.resolve().then((function(){return S6i}));case"te":return Promise.resolve().then((function(){return L6i}));case"th":return Promise.resolve().then((function(){return B6i}));case"tr":return Promise.resolve().then((function(){return K6i}));case"uk":return Promise.resolve().then((function(){return p5i}));case"vi":return Promise.resolve().then((function(){return w5i}));case"zh-cn":case"zh-hk":return Promise.resolve().then((function(){return I5i}));case"zh-tw":return Promise.resolve().then((function(){return B5i}));default:return Promise.resolve().then((function(){return q5i}))}}var H6,K6,J6,e5,t5,n5,i5,r5,o5,a5,s5,l5,u5,c5,d5=["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"],p5=function(){},h5=i.createContext(null);function f5(){return i.useContext(h5)}function m5(){var e=i.useContext(h5);return null==e?void 0:e.user}function g5(){var e=m5();return function(e){var t,n=new p5;if(!e)return n;for(var i=0;i<d5.length;i++){var r=d5[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"}(H6||(H6={})),function(e){e[e.AnyGroupOrAnyProperty=0]="AnyGroupOrAnyProperty",e[e.AnyGroupAndAnyProperty=1]="AnyGroupAndAnyProperty"}(K6||(K6={})),function(e){e.large="large",e.small="small"}(J6||(J6={})),function(e){e[e.Success=1]="Success",e[e.InvalidHash=2]="InvalidHash",e[e.OneDirectoryLimit=3]="OneDirectoryLimit",e[e.CurrentTenantAlreadyLinked=4]="CurrentTenantAlreadyLinked"}(e5||(e5={})),function(e){e.global="Global",e.page="Page",e.eventEditorFeedbackSection="EventEditorFeedbackSection",e.eventDetailViewSection="EventDetailViewSection",e.itemEditor="ItemEditor",e.newsEditorFeedbackSection="NewsEditorFeedbackSection",e.newsOverviewCardSection="NewsOverviewCardSection"}(t5||(t5={})),function(e){e[e.Unknown=0]="Unknown",e[e.Text=1]="Text",e[e.MultilineText=2]="MultilineText"}(n5||(n5={})),function(e){e[e.Unknown=0]="Unknown",e[e.AdminOnly=1]="AdminOnly",e[e.UserEditable=2]="UserEditable",e[e.Hidden=3]="Hidden"}(i5||(i5={})),function(e){e.Admin="Admin",e.Editor="Editor",e.Author="Author",e.Reader="Reader",e.LimitedReader="LimitedReader",e.None="None"}(r5||(r5={})),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"}(o5||(o5={})),function(e){e[e.Success=1]="Success",e[e.InvalidHash=2]="InvalidHash",e[e.InvalidEmail=3]="InvalidEmail",e[e.NotPending=4]="NotPending"}(a5||(a5={})),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"}(s5||(s5={})),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"}(l5||(l5={})),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"}(u5||(u5={})),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"}(c5||(c5={}));var v5=GJ,y5=RJ,b5=V2("match"),O5=function(e){var t;return v5(e)&&(void 0!==(t=e[b5])?!!t:"RegExp"==y5(e))},_5=O5,w5=function(e){if(_5(e))throw TypeError("The method doesn't accept regular expressions");return e},x5=V2("match"),k5=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[x5]=!1,"/./"[e](t)}catch(e){}}return!1},S5=w5,P5=NJ;d2({target:"String",proto:!0,forced:!k5("includes")},{includes:function(e){return!!~String(P5(this)).indexOf(S5(e),arguments.length>1?arguments[1]:void 0)}});var E5=d2,C5=CJ.f,F5=k1,T5=w5,D5=NJ,A5=k5,I5="".endsWith,L5=Math.min,$5=A5("endsWith"),z5=!$5&&!!function(){var e=C5(String.prototype,"endsWith");return e&&!e.writable}();function R5(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 j5(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 M5(e,t,n){return n||(n=function(){return!0}),t.groups.filter((function(t){return t.role.roleValue>=e&&n(t)}))}function Q5(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 o5.None;if(e.isSubscriptionOwner)return o5.Admin;var r=e.groups.filter((function(e){return i.includes(e.id)}));return r.length!==i.length?o5.None:r.reduce((function(e,t){return t.role.roleValue<e?t.role.roleValue:e}),o5.Admin)}function N5(e){return!!e&&e.endsWith("@hidden-email.reach.livetiles.io")}E5({target:"String",proto:!0,forced:!z5&&!$5},{endsWith:function(e){var t=String(D5(this));T5(e);var n=arguments.length>1?arguments[1]:void 0,i=F5(t.length),r=void 0===n?i:L5(F5(n),i),o=String(e);return I5?I5.call(t,o,r):t.slice(r-o.length,r)===o}});var U5,B5,q5,G5,W5,X5,V5,Y5,Z5,H5,K5,J5,e9,t9,n9,i9,r9={},o9={};function a9(){var e=oB();return i.useMemo((function(){return{searchAccounts:t,searchAccountsByItemId:function(e,n,i){return t({search:i,type:H6.User,includePendingInvitationUsers:!0,includePendingRegistrationUsers:!0,localOnly:!0,excludeApiUsers:!0,itemId:n,minRole:e})},getUserInfo:function(t){o9[t]||(o9[t]=e.custom("users/"+t+"/info").get().then((function(e){return e.body().data()})).catch((function(e){if(o9[t]=null,e.response&&404===e.response.statusCode)return{userPrincipalName:t};throw e})));return o9[t]},getUserInfoById:function(t){o9[t]||(o9[t]=e.custom("users/by_id/"+t+"/info").get().then((function(e){return e.body().data()})).catch((function(e){if(o9[t]=null,e.response&&404===e.response.statusCode)return{userPrincipalName:t};throw e})));return o9[t]},getUserAvatarUrl:function(t,n){r9[t]||(r9[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 Zq(r9[t])},clearUserInfoCache:function(e){o9[e]&&delete o9[e]},clearUserAvatarCache:function(e){r9[e]&&delete r9[e]}};function t(t){var n=Wm.stringify(t);return e.all("accounts?"+n).getAll().then((function(e){return e.body(!1)}))}}),[e])}function s9(){var e=oB(),t=rB(),n=i.useContext(Nw).onRequestToken;return i.useMemo((function(){return{getCurrentUser:function(e,t){void 0===t&&(t=!0);return uJ(this,void 0,void 0,(function(){var n,o;return cJ(this,(function(a){switch(a.label){case 0:return e?[4,i(e,t)]:[3,2];case 1:return o=a.sent(),[3,4];case 2:return[4,r(t)];case 3:o=a.sent(),a.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>=o5.Admin,isEditor:n||t>=o5.Editor,isAuthor:n||t>=o5.Author,isReader:n||t>=o5.Reader}}(e),e.hasDirectory=e.subscription&&e.subscription.directories&&e.subscription.directories.length>0)}(n=o),[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 uJ(this,void 0,void 0,(function(){var r,o,a;return cJ(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 o=s.sent(),a={method:"PUT",body:r,headers:{authorization:"Bearer "+o,"subscription-id":e}},[2,t.fetchFromApi("/users/current/avatar",a)]}}))}))},deleteCurrentUserAvatar:function(){return uJ(this,void 0,void 0,(function(){return cJ(this,(function(t){return[2,e.custom("users/current/avatar").delete()]}))}))}};function i(e,n){return uJ(this,void 0,void 0,(function(){var i;return cJ(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 uJ(this,void 0,void 0,(function(){return cJ(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 l9(e){switch(e){case n9.YouTube:return t9.YouTube;case n9.Vimeo:return t9.Vimeo;case n9.MicrosoftStream:return t9.MicrosoftStream;case n9.GenericUrl:return t9.GenericUrl;case n9.Kaltura:return t9.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"}(U5||(U5={})),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"}(B5||(B5={})),function(e){e[e.Public=0]="Public",e[e.Editor=1]="Editor",e[e.Posts=2]="Posts"}(q5||(q5={})),e.ItemResourceTypes=void 0,(G5=e.ItemResourceTypes||(e.ItemResourceTypes={})).News="news",G5.Pages="pages",G5.Posts="posts",G5.Events="events",G5.Comments="comments",function(e){e[e.NotSet=0]="NotSet",e[e.Registered=1]="Registered",e[e.Declined=2]="Declined"}(W5||(W5={})),function(e){e[e.None=0]="None",e[e.FullSeries=1]="FullSeries",e[e.PerInstance=2]="PerInstance"}(X5||(X5={})),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"}(V5||(V5={})),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"}(Y5||(Y5={})),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"}(Z5||(Z5={})),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"}(H5||(H5={})),e.PageType=void 0,(K5=e.PageType||(e.PageType={}))[K5.Page=0]="Page",K5[K5.Document=1]="Document",function(e){e[e.None=0]="None",e[e.Unconfirmed=1]="Unconfirmed",e[e.Alert=2]="Alert"}(J5||(J5={})),function(e){e.draft="draft",e.ready="ready",e.rejected="rejected",e.approved="approved",e.deleted="deleted"}(e9||(e9={})),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"}(t9||(t9={})),function(e){e.YouTube="YOUTUBE",e.Vimeo="VIMEO",e.MicrosoftStream="MICROSOFTSTREAM",e.GenericUrl="GENERICURL",e.Kaltura="KALTURA"}(n9||(n9={})),function(e){e[e.unknown=0]="unknown",e[e.pending=1]="pending",e[e.complete=2]="complete",e[e.error=3]="error"}(i9||(i9={}));var u9=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}aJ(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t}(Error);function c9(e,t){if(e.size>1e6*t){var n=new u9(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,o=new FormData;return o.append("file",e),o}function d9(){var e=Gm(),t=rB(),n=t.createApiUrl,r=t.fetchFromApi,o=i.useContext(Nw).onRequestToken;return i.useMemo((function(){return{getFileUrlWithToken:function(e,t,i,r,o,a){return n("/"+a+"/"+t+"/files/"+r,{access_token:e,subscriptionId:i,originalFileName:o})},uploadFile:function(t,n,i,a,s){return uJ(this,void 0,void 0,(function(){var l,u,c;return cJ(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=c9(a,e.maxFileSizeInMb),[4,o()];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,o])}var p9=R1,h9=j1,f9=Object.keys||function(e){return p9(e,h9)},m9=TJ,g9=FJ,v9=f9,y9=N1,b9=DJ,O9=f2,_9=QJ,w9=Object.assign,x9=Object.defineProperty,k9=!w9||g9((function(){if(m9&&1!==w9({b:1},w9(x9({},"a",{enumerable:!0,get:function(){x9(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!=w9({},e)[n]||v9(w9({},t)).join("")!=i}))?function(e,t){for(var n=O9(e),i=arguments.length,r=1,o=y9.f,a=b9.f;i>r;)for(var s,l=_9(arguments[r++]),u=o?v9(l).concat(o(l)):v9(l),c=u.length,d=0;c>d;)s=u[d++],m9&&!a.call(l,s)||(n[s]=l[s]);return n}:w9,S9=k9;d2({target:"Object",stat:!0,forced:Object.assign!==S9},{assign:S9});var P9=["rm"],E9=["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 C9(e){return e.preferredContentLanguage||e.preferredUiLanguage||cw()||e.subscription&&e.subscription.defaultLanguage||"en"}function F9(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t?t.map((function(t){return sJ(sJ({},t),{localizedName:e.formatMessage({id:"Generic.languages."+t.code,defaultMessage:t.englishName})})})):[]}function T9(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 D9(e){var t={};return(e||[]).forEach((function(e){t[e.groupId]||(t[e.groupId]=[]),t[e.groupId].push(e)})),t}function A9(e,t,n,i,r,o){var a=i||r;if(null==e)return a;var s=e.find((function(e){return e.name===r}))||e.find((function(e){return e.id===n}));if(!s)return a;if(!i)return I9(t,s.translations,a,o);var l=s&&s.keywords.find((function(e){return e.name===i}));return l?I9(t,l.translations,a,o):a}function I9(e,t,n,i){return null==t&&(t={}),i||(i=C9(e)),i&&t[i]||t[e.subscription.defaultLanguage]||n}var L9=p0,$9=function(){var e=L9(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},z9={},R9=FJ;function j9(e,t){return RegExp(e,t)}z9.UNSUPPORTED_Y=R9((function(){var e=j9("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),z9.BROKEN_CARET=R9((function(){var e=j9("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));var M9=$9,Q9=z9,N9=RegExp.prototype.exec,U9=String.prototype.replace,B9=N9,q9=function(){var e=/a/,t=/b*/g;return N9.call(e,"a"),N9.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),G9=Q9.UNSUPPORTED_Y||Q9.BROKEN_CARET,W9=void 0!==/()??/.exec("")[1];(q9||W9||G9)&&(B9=function(e){var t,n,i,r,o=this,a=G9&&o.sticky,s=M9.call(o),l=o.source,u=0,c=e;return a&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),c=String(e).slice(o.lastIndex),o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==e[o.lastIndex-1])&&(l="(?: "+l+")",c=" "+c,u++),n=new RegExp("^(?:"+l+")",s)),W9&&(n=new RegExp("^"+l+"$(?!\\s)",s)),q9&&(t=o.lastIndex),i=N9.call(a?n:o,c),a?i?(i.input=i.input.slice(u),i[0]=i[0].slice(u),i.index=o.lastIndex,o.lastIndex+=i[0].length):o.lastIndex=0:q9&&i&&(o.lastIndex=o.global?i.index+i[0].length:t),W9&&i&&i.length>1&&U9.call(i[0],n,(function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(i[r]=void 0)})),i});var X9=B9;d2({target:"RegExp",proto:!0,forced:/./.exec!==X9},{exec:X9});var V9=_0.exports,Y9=FJ,Z9=V2,H9=X9,K9=O0,J9=Z9("species"),e8=!Y9((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),t8="$0"==="a".replace(/./,"$0"),n8=Z9("replace"),i8=!!/./[n8]&&""===/./[n8]("a","$0"),r8=!Y9((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]})),o8=function(e,t,n,i){var r=Z9(e),o=!Y9((function(){var t={};return t[r]=function(){return 7},7!=""[e](t)})),a=o&&!Y9((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[J9]=function(){return n},n.flags="",n[r]=/./[r]),n.exec=function(){return t=!0,null},n[r](""),!t}));if(!o||!a||"replace"===e&&(!e8||!t8||i8)||"split"===e&&!r8){var s=/./[r],l=n(r,""[e],(function(e,t,n,i,r){return t.exec===H9?o&&!r?{done:!0,value:s.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}}),{REPLACE_KEEPS_$0:t8,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:i8}),u=l[0],c=l[1];V9(String.prototype,e,u),V9(RegExp.prototype,r,2==t?function(e,t){return c.call(e,this,t)}:function(e){return c.call(e,this)})}i&&K9(RegExp.prototype[r],"sham",!0)},a8=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},s8=RJ,l8=X9,u8=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"!==s8(e))throw TypeError("RegExp#exec called on incompatible receiver");return l8.call(e,t)},c8=p0,d8=NJ,p8=a8,h8=u8;o8("search",1,(function(e,t,n){return[function(t){var n=d8(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=c8(e),o=String(this),a=r.lastIndex;p8(a,0)||(r.lastIndex=0);var s=h8(r,o);return p8(r.lastIndex,a)||(r.lastIndex=a),null===s?-1:s.index}]}));var f8=_1,m8=NJ,g8=function(e){return function(t,n){var i,r,o=String(m8(t)),a=f8(n),s=o.length;return a<0||a>=s?e?"":void 0:(i=o.charCodeAt(a))<55296||i>56319||a+1===s||(r=o.charCodeAt(a+1))<56320||r>57343?e?o.charAt(a):i:e?o.slice(a,a+2):r-56320+(i-55296<<10)+65536}},v8={codeAt:g8(!1),charAt:g8(!0)}.charAt,y8=function(e,t,n){return t+(n?v8(e,t).length:1)},b8=o8,O8=p0,_8=f2,w8=k1,x8=_1,k8=NJ,S8=y8,P8=u8,E8=Math.max,C8=Math.min,F8=Math.floor,T8=/\$([$&'`]|\d\d?|<[^>]*>)/g,D8=/\$([$&'`]|\d\d?)/g,A8=function(e){return void 0===e?e:String(e)};function I8(e){var t;return uJ(this,void 0,void 0,(function(){var n;return cJ(this,(function(i){return n="string"==typeof e?new Error(e):e,403===(null===(t=n.response)||void 0===t?void 0:t.statusCode)?(yre(Zre.create()),[2,!0]):[2,!1]}))}))}function L8(e){var t;return uJ(this,void 0,void 0,(function(){return cJ(this,(function(n){return 403===(null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.statusCode)?(yre(Hre.create()),[2,!0]):[2,!1]}))}))}b8("replace",2,(function(e,t,n,i){var r=i.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,o=i.REPLACE_KEEPS_$0,a=r?"$":"$0";return[function(n,i){var r=k8(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,r,i):t.call(String(r),n,i)},function(e,i){if(!r&&o||"string"==typeof i&&-1===i.indexOf(a)){var l=n(t,e,this,i);if(l.done)return l.value}var u=O8(e),c=String(this),d="function"==typeof i;d||(i=String(i));var p=u.global;if(p){var h=u.unicode;u.lastIndex=0}for(var f=[];;){var m=P8(u,c);if(null===m)break;if(f.push(m),!p)break;""===String(m[0])&&(u.lastIndex=S8(c,w8(u.lastIndex),h))}for(var g="",v=0,y=0;y<f.length;y++){m=f[y];for(var b=String(m[0]),O=E8(C8(x8(m.index),c.length),0),_=[],w=1;w<m.length;w++)_.push(A8(m[w]));var x=m.groups;if(d){var k=[b].concat(_,O,c);void 0!==x&&k.push(x);var S=String(i.apply(void 0,k))}else S=s(b,c,O,_,x,i);O>=v&&(g+=c.slice(v,O)+S,v=O+b.length)}return g+c.slice(v)}];function s(e,n,i,r,o,a){var s=i+e.length,l=r.length,u=D8;return void 0!==o&&(o=_8(o),u=T8),t.call(a,u,(function(t,a){var u;switch(a.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,i);case"'":return n.slice(s);case"<":u=o[a.slice(1,-1)];break;default:var c=+a;if(0===c)return t;if(c>l){var d=F8(c/10);return 0===d?t:d<=l?void 0===r[d-1]?a.charAt(1):r[d-1]+a.charAt(1):t}u=r[c-1]}return void 0===u?"":u}))}}));var $8="\t\n\v\f\r                 \u2028\u2029\ufeff",z8=NJ,R8="[\t\n\v\f\r                 \u2028\u2029\ufeff]",j8=RegExp("^"+R8+R8+"*"),M8=RegExp(R8+R8+"*$"),Q8=function(e){return function(t){var n=String(z8(t));return 1&e&&(n=n.replace(j8,"")),2&e&&(n=n.replace(M8,"")),n}},N8={start:Q8(1),end:Q8(2),trim:Q8(3)},U8=FJ,B8=$8,q8=N8.trim,G8=function(e){return U8((function(){return!!B8[e]()||"​…᠎"!="​…᠎"[e]()||B8[e].name!==e}))};d2({target:"String",proto:!0,forced:G8("trim")},{trim:function(){return q8(this)}});var W8=GJ,X8=p0,V8=function(e){if(!W8(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e},Y8=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 X8(n),V8(i),t?e.call(n,i):n.__proto__=i,n}}():void 0),Z8=GJ,H8=Y8,K8=TJ,J8=EJ,e7=i2,t7=function(e,t,n){var i,r;return H8&&"function"==typeof(i=t.constructor)&&i!==n&&Z8(r=i.prototype)&&r!==n.prototype&&H8(e,r),e},n7=c0.f,i7=y1.f,r7=O5,o7=$9,a7=z9,s7=_0.exports,l7=FJ,u7=o1.set,c7=i3,d7=V2("match"),p7=J8.RegExp,h7=p7.prototype,f7=/a/g,m7=/a/g,g7=new p7(f7)!==f7,v7=a7.UNSUPPORTED_Y;if(K8&&e7("RegExp",!g7||v7||l7((function(){return m7[d7]=!1,p7(f7)!=f7||p7(m7)==m7||"/a/i"!=p7(f7,"i")})))){for(var y7=function(e,t){var n,i=this instanceof y7,r=r7(e),o=void 0===t;if(!i&&r&&e.constructor===y7&&o)return e;g7?r&&!o&&(e=e.source):e instanceof y7&&(o&&(t=o7.call(e)),e=e.source),v7&&(n=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var a=t7(g7?new p7(e,t):p7(e,t),i?this:h7,y7);return v7&&n&&u7(a,{sticky:n}),a},b7=function(e){e in y7||n7(y7,e,{configurable:!0,get:function(){return p7[e]},set:function(t){p7[e]=t}})},O7=i7(p7),_7=0;O7.length>_7;)b7(O7[_7++]);h7.constructor=y7,y7.prototype=h7,s7(J8,"RegExp",y7)}c7("RegExp");var w7=_0.exports,x7=p0,k7=FJ,S7=$9,P7="toString",E7=RegExp.prototype,C7=E7.toString,F7=k7((function(){return"/a/b"!=C7.call({source:"a",flags:"b"})})),T7=C7.name!=P7;(F7||T7)&&w7(RegExp.prototype,P7,(function(){var e=x7(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in E7)?S7.call(e):n)}),{unsafe:!0});var D7,A7=985,I7=10,L7=20,$7=30,z7=40,R7=60,j7=550,M7=768,Q7=1024,N7=1350,U7=1640,B7=549,q7=767,G7=1023,W7=1349,X7=25,V7=18,Y7=16,Z7=14,H7=12,K7=21/9,J7="rgba(0, 0, 0, 0.2)",eee="rgb(221, 221, 221)",tee="rgb(206, 255, 188)",nee=L7,iee=R7,ree=20;!function(e){e.Internal="internal",e.External="external",e.Download="download"}(D7||(D7={}));var oee,aee,see,lee,uee="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"}(oee||(oee={})),function(e){e.click="click",e.navigate="navigate",e.view="view",e.search="search"}(aee||(aee={})),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"}(see||(see={})),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"}(lee||(lee={}));var cee=i.createContext(null),dee=function(e){var n=e.module,r=e.children,o=i.useMemo((function(){return n}),[n]);return t.jsx(cee.Provider,sJ({value:o},{children:r}),void 0)},pee=i.createContext(void 0);function hee(){var e=i.useContext(pee);if(!e)throw new Error("useAnalyticsContext must be used within the AnalyticsContextProvider");var t=i.useContext(cee);return sJ(sJ({},e),{interaction:function(n){var i;return e.interaction(sJ(sJ({},n),{module:null!=t?t:e.contextualProperties.module,item:null!==(i=n.item)&&void 0!==i?i:e.contextualProperties.item}))}})}var fee=function(e){var n,i,r=e.appName,o=e.children,a=Gm(),s=a.analytics,l=a.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(mee,sJ({appName:u,analyticsConfig:{hostName:s.hostName,regions:s.regions},shouldDisableTracking:l===is.Local||l===is.CiTestsDocker,moduleInstance:{contextualProperties:null,setContextualProperties:function(){return null}},disableScrollTracking:!0,isProduction:l===is.Production},{children:o}),void 0)},mee=function(e){var n,r,o=e.appName,a=e.analyticsConfig,s=e.shouldDisableTracking,l=e.moduleInstance,u=e.isProduction,c=e.children,d=Am(),p=m5(),h=i.useCallback((function(){return{build:d.buildId,name:o,version:d.version}}),[d.buildId,d.version,o]),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:p.subscription.id,name:null!==(e=p.subscription.subscriptionName)&&void 0!==e?e:uee,organisation:p.subscription.company||""}}),[p.subscription]),y=i.useCallback((function(){var e,t;if(s)return"";var n=null===(e=a.regions)||void 0===e?void 0:e[(null===(t=p.subscription.regionSettings)||void 0===t?void 0:t.name)||"global"];return u?n?"api-"+n+"."+a.hostName:"":"api."+a.hostName}),[u,null===(n=p.subscription.regionSettings)||void 0===n?void 0:n.name]),b=i.useMemo((function(){return((e,t)=>{const n=eK.load({writeKey:"VALUE_NOT_REQUIRED",cdnURL:t,cdnSettings:{integrations:{"Segment.io":{}}},plugins:[UK(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=>JX(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=>JX(void 0,null,(function*(){yield n.track("interaction",e)})),activity:e=>oJ(i,e)}})({getAppInfo:h,getBrowserInfo:f,getDeviceInfo:m,getOsInfo:g,getWorkspaceInfo:v},y())}),[h,f,m,g,v,y]),O=null===(r=null==l?void 0:l.contextualProperties)||void 0===r?void 0:r.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:aee.search,module:t,search:i})},onItemRead:function(r){if(n.current.length){var o=dJ([],n.current);i();var a=o[o.length-1],s=a.results.find((function(e){return e.itemId===r})),l=s?{id:s.itemId,type:s.itemType}:null;e.interaction({event:"search",action:aee.search,module:t,item:l,search:a})}}};function i(){n.current.splice(0,n.current.length)}}),[e,t])}(b,O);i.useEffect((function(){var e,t=p.userPrincipalName;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}}(p);b.identify(t,n)}}),[b,p]);var w=sJ(sJ(sJ({},b),l),_);return t.jsx(pee.Provider,sJ({value:w},{children:t.jsx(gee,{children:c},void 0)}),void 0)},gee=function(e){var n,r=e.children;return n=hee().interaction,i.useEffect((function(){var e=function(){window.setTimeout((function(){document.querySelectorAll(".video-view-container iframe").forEach((function(e){document.activeElement===e&&n({event:oee.embeddedIframe,value:e.src,action:aee.click})}))}),0)};return window.addEventListener("blur",e),function(){window.removeEventListener("blur",e)}}),[n]),function(){var e=hee().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)===D7.External&&e({event:oee.externalLink,action:aee.click,value:n.href}),"A"===(null==n?void 0:n.tagName)&&(null==i?void 0:i.value)===D7.Download&&e({event:oee.downloadFile,action:aee.click,value:n.href})};return window.addEventListener("click",t),function(){window.removeEventListener("click",t)}}),[e])}(),t.jsx(t.Fragment,{children:r},void 0)};var vee=new yq;function yee(e,t,n){var r=i.useRef({}),o=hee(),a=o.interaction,s=o.contextualProperties;i.useEffect((function(){e&&t.forEach((function(e){r.current[e.id]||(r.current[e.id]=!0,a({action:aee.view,item:{id:e.id,type:n}}))}))}),[e,t,n,a,null==s?void 0:s.module])}function bee(){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 Oee(){var e=r.useLocation(),t=os.isTeams;return function(n){if(!t)return{modalRouting:{isActive:!0,itemId:n,backgroundLocation:sJ(sJ({},e),{state:{modalRouting:{isActive:!0}}})}}}}vee.pipe(jX(100),WX()),vee.pipe(WX());var _ee=null,wee=null;function xee(e){var t=i.useContext(cee),n=hee(),o=n.contextualProperties,a=n.activity,s=bee(),l=s.isModalRoutingActive,u=s.backgroundLocation,c=r.useLocation(),d=i.useCallback((function(){return null==_ee||_ee.disable(),_ee=a({scrollElement:e,module:null!=t?t:null==o?void 0:o.module})}),[a,null==o?void 0:o.module,t,e]),p=i.useCallback((function(){null==_ee||_ee.send(null!=t?t:null==o?void 0:o.module,{path:c.pathname,referrer:document.referrer,search:c.search,title:document.title,url:""+window.location.origin+c.pathname})}),[c.pathname,c.search,null==o?void 0:o.module,t]);return i.useEffect((function(){l?(null==u?void 0:u.pathname)===wee&&(p(),wee=c.pathname):c.pathname!==wee&&(p(),wee=c.pathname)}),[c.pathname,p,l,null==u?void 0:u.pathname]),i.useEffect((function(){var e=function(){"hidden"===document.visibilityState&&p()};return document.addEventListener("visibilitychange",e),function(){return document.removeEventListener("visibilitychange",e)}}),[p]),{trackActivity:d,sendActivity:p}}function kee(){var t=hee().interaction,n=oB(),r=oB(I8),o=kJ(),a=o.saveLanguageToLocalStorage,s=o.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,o=Object.keys(e||{});r<o.length;r++){var a=o[r];i(a)}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:o,followEditorPublishableItemComments:l,followAllPublishableItemComments:function(e,t){o(e,t),l(e,t)},followPublishableItemComments:u,resolveSegment:c,getFollowCommentSegment:d,toggleBookmark:function(n,i){null==i.bookmarks&&(i.bookmarks=[]);var o=i.bookmarks.findIndex((function(e){return e===n}));if(o<0)return r.one("users","current").all("bookmarks").put(n,null).then((function(){i.bookmarks.push(n)})).then((function(){t({event:oee.bookmark,value:!0,action:aee.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(o,1)})).then((function(){t({event:oee.bookmark,value:!1,action:aee.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 uJ(this,void 0,void 0,(function(){return cJ(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 uJ(this,void 0,void 0,(function(){return cJ(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 uJ(this,void 0,void 0,(function(){return cJ(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,a(e)];case 2:return t.sent(),[2]}}))}))},setContentLanguage:function(e){return uJ(this,void 0,void 0,(function(){return cJ(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 uJ(this,void 0,void 0,(function(){return cJ(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 uJ(this,void 0,void 0,(function(){return cJ(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 uJ(this,void 0,void 0,(function(){return cJ(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 uJ(this,void 0,void 0,(function(){return cJ(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 uJ(this,void 0,void 0,(function(){return cJ(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,o){return r.custom("users/current/notification_settings/"+c(n,i)+"/"+e).put({enabled:o}).then((function(){t({event:oee.follow,action:aee.click,value:o,item:{id:e,type:n}})}))}function o(e,t){u(e,t,q5.Public)}function l(e,t){u(e,t,q5.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 q5.Editor:return"editor_comments";case q5.Public:return d(e)+"_comments";case q5.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,a,s])}var See,Pee=c0,Eee=p0,Cee=f9,Fee=TJ?Object.defineProperties:function(e,t){Eee(e);for(var n,i=Cee(t),r=i.length,o=0;r>o;)Pee.f(e,n=i[o++],t[n]);return e},Tee=p0,Dee=Fee,Aee=j1,Iee=W0,Lee=Q3,$ee=JJ,zee=G0("IE_PROTO"),Ree=function(){},jee=function(e){return"<script>"+e+"</"+"script>"},Mee=function(){try{See=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;Mee=See?function(e){e.write(jee("")),e.close();var t=e.parentWindow.Object;return e=null,t}(See):((t=$ee("iframe")).style.display="none",Lee.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(jee("document.F=Object")),e.close(),e.F);for(var n=Aee.length;n--;)delete Mee.prototype[Aee[n]];return Mee()};Iee[zee]=!0;var Qee=Object.create||function(e,t){var n;return null!==e?(Ree.prototype=Tee(e),n=new Ree,Ree.prototype=null,n[zee]=e):n=Mee(),void 0===t?n:Dee(n,t)},Nee=Qee,Uee=c0,Bee=V2("unscopables"),qee=Array.prototype;null==qee[Bee]&&Uee.f(qee,Bee,{configurable:!0,value:Nee(null)});var Gee,Wee,Xee,Vee=function(e){qee[Bee][e]=!0},Yee=!FJ((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Zee=YJ,Hee=f2,Kee=Yee,Jee=G0("IE_PROTO"),ete=Object.prototype,tte=Kee?Object.getPrototypeOf:function(e){return e=Hee(e),Zee(e,Jee)?e[Jee]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?ete:null},nte=tte,ite=O0,rte=YJ,ote=V2("iterator"),ate=!1;[].keys&&("next"in(Xee=[].keys())?(Wee=nte(nte(Xee)))!==Object.prototype&&(Gee=Wee):ate=!0),null==Gee&&(Gee={}),rte(Gee,ote)||ite(Gee,ote,(function(){return this}));var ste={IteratorPrototype:Gee,BUGGY_SAFARI_ITERATORS:ate},lte=ste.IteratorPrototype,ute=Qee,cte=$J,dte=K2,pte=o3,hte=function(){return this},fte=d2,mte=function(e,t,n){var i=t+" Iterator";return e.prototype=ute(lte,{next:cte(1,n)}),dte(e,i,!1),pte[i]=hte,e},gte=tte,vte=Y8,yte=K2,bte=O0,Ote=_0.exports,_te=o3,wte=ste.IteratorPrototype,xte=ste.BUGGY_SAFARI_ITERATORS,kte=V2("iterator"),Ste="keys",Pte="values",Ete="entries",Cte=function(){return this},Fte=qJ,Tte=Vee,Dte=o3,Ate=o1,Ite=function(e,t,n,i,r,o,a){mte(n,t,i);var s,l,u,c=function(e){if(e===r&&m)return m;if(!xte&&e in h)return h[e];switch(e){case Ste:case Pte:case Ete:return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",p=!1,h=e.prototype,f=h[kte]||h["@@iterator"]||r&&h[r],m=!xte&&f||c(r),g="Array"==t&&h.entries||f;if(g&&(s=gte(g.call(new e)),wte!==Object.prototype&&s.next&&(gte(s)!==wte&&(vte?vte(s,wte):"function"!=typeof s[kte]&&bte(s,kte,Cte)),yte(s,d,!0))),r==Pte&&f&&f.name!==Pte&&(p=!0,m=function(){return f.call(this)}),h[kte]!==m&&bte(h,kte,m),_te[t]=m,r)if(l={values:c(Pte),keys:o?m:c(Ste),entries:c(Ete)},a)for(u in l)(xte||p||!(u in h))&&Ote(h,u,l[u]);else fte({target:t,proto:!0,forced:xte||p},l);return l},Lte="Array Iterator",$te=Ate.set,zte=Ate.getterFor(Lte),Rte=Ite(Array,"Array",(function(e,t){$te(this,{type:Lte,target:Fte(e),index:0,kind:t})}),(function(){var e=zte(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");Dte.Arguments=Dte.Array,Tte("keys"),Tte("values"),Tte("entries");var jte=EJ,Mte={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},Qte=Rte,Nte=O0,Ute=V2,Bte=Ute("iterator"),qte=Ute("toStringTag"),Gte=Qte.values;for(var Wte in Mte){var Xte=jte[Wte],Vte=Xte&&Xte.prototype;if(Vte){if(Vte[Bte]!==Gte)try{Nte(Vte,Bte,Gte)}catch(e){Vte[Bte]=Gte}if(Vte[qte]||Nte(Vte,qte,Wte),Mte[Wte])for(var Yte in Qte)if(Vte[Yte]!==Qte[Yte])try{Nte(Vte,Yte,Qte[Yte])}catch(e){Vte[Yte]=Qte[Yte]}}}var Zte=i.createContext(null);function Hte(){var e=i.useContext(Zte);return null!=e?e.refresh:function(){return null}}var Kte,Jte=function(e){var n=e.children,r=f5().refreshUser,o=i$(),a=i.useCallback((function(){var e,t;return uJ(this,void 0,void 0,(function(){var n,i;return cJ(this,(function(a){switch(a.label){case 0:return[4,o.query({query:ene,fetchPolicy:"no-cache",errorPolicy:"all"})];case 1:return n=a.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 sJ(sJ({},e),function(e){var t,n,i,r,o;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!==(o=null==e?void 0:e.unreadPosts)&&void 0!==o?o:[],hasUnreadChats:null==e?void 0:e.hasUnreadChats,unreadFeedItemsCount:null==e?void 0:e.unreadFeedItemsCount,mostRecentPostGroups:null==e?void 0:e.mostRecentPostGroups}}(sJ({bookmarks:i.bookmarkIds,availableSubscriptions:i.subscriptions},i)))}))];case 2:return[2,a.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]}}))}))}),[o]),s=i.useMemo((function(){return{refresh:a}}),[a]);return i.useEffect((function(){a().then(null,ng.error)}),[a]),t.jsx(Zte.Provider,sJ({value:s},{children:n}),void 0)},ene=WL(Kte||(Kte=pJ(["\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 logoInfo {\n smallUrl\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 logoInfo {\n smallUrl\n }\n hasUnreadItems\n }\n }\n }\n"]))),tne=d2,nne=CJ.f,ine=k1,rne=w5,one=NJ,ane=k5,sne="".startsWith,lne=Math.min,une=ane("startsWith"),cne=!une&&!!function(){var e=nne(String.prototype,"startsWith");return e&&!e.writable}();function dne(){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 pne(){var e=Dm().webAppUrl,t=fne();return t?"https://"+t:e}function hne(){var e=Dm().webAppUrls,t=fne();return t?dJ(dJ([],e),["https://"+t]):e}function fne(){var e,t=m5();return(null===(e=null==t?void 0:t.subscription)||void 0===e?void 0:e.customDomain)||process.env.NX_CUSTOM_DOMAIN}tne({target:"String",proto:!0,forced:!cne&&!une},{startsWith:function(e){var t=String(one(this));rne(e);var n=ine(lne(arguments.length>1?arguments[1]:void 0,t.length)),i=String(e);return sne?sne.call(t,i,n):t.slice(n,n+i.length)===i}});var mne=i.createContext(null);var gne=window.System;function vne(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 o={imports:{}},a=0,s=t;a<s.length;a++){var l=s[a].name;o.imports[l]="app:"+l}r.textContent=JSON.stringify(o,null,2),document.head.appendChild(r);for(var u=0,c=t;u<c.length;u++){var d=c[u],p=d.name,h=d.packageDefinition;gne.set("app:"+p,h)}}}var yne=function(){return null};function bne(){return i.useContext(mne).storage}function One(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 uJ(this,void 0,void 0,(function(){var e,r,o,a;return cJ(this,(function(s){switch(s.label){case 0:return[4,i()];case 1:e=s.sent(),r=0,o=e,s.label=2;case 2:return r<o.length?(a=o[r],[4,t.remove(n+a)]):[3,5];case 3:s.sent(),s.label=4;case 4:return r++,[3,2];case 5:return[2]}}))}))}};function i(){var e;return uJ(this,void 0,void 0,(function(){var i;return cJ(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 _ne(e){var t;if(404!==(null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.statusCode))throw e}function wne(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 xne(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 kne,Sne=function(e){var n=e.pluginId,r=e.componentName,o=e.settings,a=e.bundleUrl,s=e.bundleModificationDate,l=lJ(e,["pluginId","componentName","settings","bundleUrl","bundleModificationDate"]),u=bS(),c=oB(),d=function(){var e=oB(),t=m5(),n=rB(),r=n.createApiUrl,o=n.fetchFromApi,a=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 uJ(this,void 0,void 0,(function(){return cJ(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 uJ(this,void 0,void 0,(function(){var i,r,s;return cJ(this,(function(l){switch(l.label){case 0:return(i=new FormData).append("file",n),[4,a()];case 1:return r=l.sent(),s={method:"PUT",body:i,headers:{authorization:"Bearer "+r,"subscription-id":t.subscription.id}},[2,o("/plugins/"+encodeURIComponent(e)+"/bundle",s)]}}))}))},generateApiKey:function(t,n,i){return uJ(this,void 0,void 0,(function(){return cJ(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 uJ(this,void 0,void 0,(function(){return cJ(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 uJ(this,void 0,void 0,(function(){return cJ(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,o,a,t.subscription.id])}().getPluginFileUrl,p=i.useMemo((function(){return i.lazy((function(){return function(e,t){return uJ(this,void 0,void 0,(function(){var n;return cJ(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,gne.import(e)];case 1:return[2,{default:i.sent()[t]}];case 2:return n=i.sent(),ng.error(n),[2,{default:yne}];case 3:return[2]}}))}))}(d(n,a,s),r)}))}),[r,n,d,a,s]),h=i.useMemo((function(){return{settings:o,storage:One(n,u),userStore:wne(n,c),subscriptionStore:xne(n,c)}}),[n,o,u,c]);return t.jsx(i.Suspense,sJ({fallback:t.jsx("div",{},void 0)},{children:t.jsx(mne.Provider,sJ({value:h},{children:t.jsx(p,sJ({name:r},l),void 0)}),void 0)}),void 0)},Pne=RJ,Ene=Array.isArray||function(e){return"Array"==Pne(e)},Cne=Ene,Fne=k1,Tne=c3,Dne=function(e,t,n,i,r,o,a,s){for(var l,u=r,c=0,d=!!a&&Tne(a,s,3);c<i;){if(c in n){if(l=d?d(n[c],c,t):n[c],o>0&&Cne(l))u=Dne(e,t,l,Fne(l.length),u,o-1)-1;else{if(u>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[u]=l}u++}c++}return u},Ane=Dne,Ine=GJ,Lne=Ene,$ne=V2("species"),zne=Ane,Rne=f2,jne=k1,Mne=p2,Qne=function(e,t){var n;return Lne(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!Lne(n.prototype)?Ine(n)&&null===(n=n[$ne])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)};function Nne(){var e=m5(),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));Bne.some((function(e){return e.pluginId===n.pluginId}))||(Bne.push(n),window.sessionStorage.setItem("Reach::InjectedRemotePlugins",JSON.stringify(Bne)))}return Bne}(),t=$w(n,[],[null==e?void 0:e.length])[0];return null!=qne?qne:t;function n(){return uJ(this,void 0,void 0,(function(){var t,n,i,r,o,a;return cJ(this,(function(s){switch(s.label){case 0:if(qne)return[2,qne];t=[],n=0,i=e,s.label=1;case 1:return n<i.length?(r=i[n],o="http://localhost:"+r.port,[4,fetch(o+"/definition.json?rev="+(new Date).getTime())]):[3,5];case 2:return[4,s.sent().json()];case 3:(a=s.sent()).bundleUrl=o+"/index.js?rev="+(new Date).getTime(),t.push(a),s.label=4;case 4:return n++,[3,1];case 5:return[2,qne=t]}}))}))}}();return dJ(dJ([],(e.subscription.webPluginDefinitions||[]).filter((function(e){return!t.some((function(t){return t.pluginId===e.pluginId}))}))),t)}function Une(e){return Nne().flatMap((function(e){return(e.extensions||[]).map((function(t){return sJ(sJ({},e),t)}))})).filter((function(t){return null==e||t.area===e}))}d2({target:"Array",proto:!0},{flatMap:function(e){var t,n=Rne(this),i=jne(n.length);return Mne(e),(t=Qne(n,0)).length=zne(t,n,n,i,0,1,e,arguments.length>1?arguments[1]:void 0),t}}),Vee("flatMap");var Bne=null!==(kne=JSON.parse(window.sessionStorage.getItem("Reach::InjectedRemotePlugins")))&&void 0!==kne?kne:[];var qne=null;var Gne=function(e){var n=e.area,i=lJ(e,["area"]),r=Une(n);return 0===r.length?null:t.jsx(t.Fragment,{children:r.map((function(e){return t.jsx(Sne,sJ({},e,i),e.pluginId)}))},void 0)},Wne=RJ,Xne=_1,Vne=NJ,Yne="".repeat||function(e){var t=String(Vne(this)),n="",i=Xne(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},Zne=d2,Hne=_1,Kne=function(e){if("number"!=typeof e&&"Number"!=Wne(e))throw TypeError("Incorrect invocation");return+e},Jne=Yne,eie=FJ,tie=1..toFixed,nie=Math.floor,iie=function(e,t,n){return 0===t?n:t%2==1?iie(e,t-1,n*e):iie(e*e,t/2,n)};Zne({target:"Number",proto:!0,forced:tie&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!eie((function(){tie.call({})}))},{toFixed:function(e){var t,n,i,r,o=Kne(this),a=Hne(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=nie(i/1e7)},d=function(e){for(var t=6,n=0;--t>=0;)n+=s[t],s[t]=nie(n/e),n=n%e*1e7},p=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==s[e]){var n=String(s[e]);t=""===t?n:t+Jne.call("0",7-n.length)+n}return t};if(a<0||a>20)throw RangeError("Incorrect fraction digits");if(o!=o)return"NaN";if(o<=-1e21||o>=1e21)return String(o);if(o<0&&(l="-",o=-o),o>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}(o*iie(2,69,1))-69,n=t<0?o*iie(2,-t,1):o/iie(2,t,1),n*=4503599627370496,(t=52-t)>0){for(c(0,n),i=a;i>=7;)c(1e7,0),i-=7;for(c(iie(10,i,1),0),i=t-1;i>=23;)d(1<<23),i-=23;d(1<<i),c(1,1),d(2),u=p()}else c(0,n),c(1<<-t,0),u=p()+Jne.call("0",a);return u=a>0?l+((r=u.length)<=a?"0."+Jne.call("0",a-r)+u:u.slice(0,r-a)+"."+u.slice(r-a)):l+u}});var rie={primaryColor:"#512DA8",secondaryColor:"#6AE6C6"},oie={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"}},aie=p0,sie=k1,lie=NJ,uie=y8,cie=u8;o8("match",1,(function(e,t,n){return[function(t){var n=lie(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=aie(e),o=String(this);if(!r.global)return cie(r,o);var a=r.unicode;r.lastIndex=0;for(var s,l=[],u=0;null!==(s=cie(r,o));){var c=String(s[0]);l[u]=c,""===c&&(r.lastIndex=uie(o,sie(r.lastIndex),a)),u++}return 0===u?null:l}]}));var die=N8.trim,pie=$8,hie=EJ.parseInt,fie=/^[+-]?0[Xx]/,mie=8!==hie(pie+"08")||22!==hie(pie+"0x16")?function(e,t){var n=die(String(e));return hie(n,t>>>0||(fie.test(n)?16:10))}:hie;d2({global:!0,forced:parseInt!=mie},{parseInt:mie});var gie=o8,vie=O5,yie=p0,bie=NJ,Oie=M3,_ie=y8,wie=k1,xie=u8,kie=X9,Sie=FJ,Pie=[].push,Eie=Math.min,Cie=4294967295,Fie=!Sie((function(){return!RegExp(Cie,"y")}));gie("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(bie(this)),r=void 0===n?Cie:n>>>0;if(0===r)return[];if(void 0===e)return[i];if(!vie(e))return t.call(i,e,r);for(var o,a,s,l=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),c=0,d=new RegExp(e.source,u+"g");(o=kie.call(d,i))&&!((a=d.lastIndex)>c&&(l.push(i.slice(c,o.index)),o.length>1&&o.index<i.length&&Pie.apply(l,o.slice(1)),s=o[0].length,c=a,l.length>=r));)d.lastIndex===o.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=bie(this),o=null==t?void 0:t[e];return void 0!==o?o.call(t,r,n):i.call(String(r),t,n)},function(e,r){var o=n(i,e,this,r,i!==t);if(o.done)return o.value;var a=yie(e),s=String(this),l=Oie(a,RegExp),u=a.unicode,c=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(Fie?"y":"g"),d=new l(Fie?a:"^(?:"+a.source+")",c),p=void 0===r?Cie:r>>>0;if(0===p)return[];if(0===s.length)return null===xie(d,s)?[s]:[];for(var h=0,f=0,m=[];f<s.length;){d.lastIndex=Fie?f:0;var g,v=xie(d,Fie?s:s.slice(f));if(null===v||(g=Eie(wie(d.lastIndex+(Fie?0:f)),s.length))===h)f=_ie(s,f,u);else{if(m.push(s.slice(h,f)),m.length===p)return m;for(var y=1;y<=v.length-1;y++)if(m.push(v[y]),m.length===p)return m;f=h=g}}return m.push(s.slice(h)),m}]}),!Fie);var Tie=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}(),Die=null,Aie=sJ({name:"Default"},rie),Iie=oie.palette.neutralLighter,Lie="#ffffff",$ie="#333333",zie=[Aie,{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 Rie(e,t){var n=jie(e.primaryColor),i=e.useHighlightColorOnWhiteBackground?e.secondaryColor:e.primaryColor,r=e.useHighlightColorOnWhiteBackground?Mie(i):Mie(n),o={primaryColor:e.primaryColor,secondaryColor:e.secondaryColor,textColorOnPrimary:Mie(n),textColorOnSecondary:Mie(e.secondaryColor),accentColor:i,textColorOnAccent:r},s=sJ({},oie),l=function(e){var t={palette:{},semanticColors:{},textColors:{}},n=new Tie(e.accentColor).toHex(),i=new Tie(e.accentColor).lighten(-.3).toHex(),r=new Tie(e.accentColor).lighten(.5).toHex(),o=jie(e.primaryColor),a=Mie(i);return t.palette.themeDarker=new Tie(e.primaryColor).lighten(-.4).toHex(),t.palette.themeDark=new Tie(e.primaryColor).lighten(-.3).toHex(),t.palette.themeDarkAlt=o,t.palette.themePrimary=new Tie(e.primaryColor).toHex(),t.palette.themeLight=new Tie(e.primaryColor).lighten(.2).toHex(),t.palette.themeLighter=new Tie(e.primaryColor).lighten(.65).toHex(),t.palette.themeLighterAlt=new Tie(e.primaryColor).lighten(.8).toHex(),t.palette.red=new Tie("#B90000").toHex(),t.palette.redDark=new Tie("#a80000").toHex(),t.palette.accent=n,t.semanticColors.warningText=new Tie(e.secondaryColor).lighten(.8).toHex(),t.semanticColors.inputPlaceholderText=new Tie("#666666").toHex(),t.semanticColors.primaryButtonBackground=n,t.semanticColors.primaryButtonText=e.textColorOnAccent,t.semanticColors.primaryButtonBackgroundHovered=i,t.semanticColors.primaryButtonTextHovered=a,t.semanticColors.primaryButtonBackgroundPressed=i,t.semanticColors.primaryButtonTextPressed=a,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 Tie(e.secondaryColor).toHex(),t.palette.themeTertiary=new Tie(e.secondaryColor).lighten(-.2).toHex(),t.textColors.onPrimary=new Tie(e.textColorOnPrimary).toHex(),t.textColors.onSecondary=new Tie(e.textColorOnSecondary).toHex(),t.textColors.default=new Tie($ie).toHex(),t.textColors.onAccent=new Tie(e.textColorOnAccent).toHex(),t}(o);for(var u in l)l.hasOwnProperty(u)&&Object.assign(s[u],l[u]);return t||a.loadTheme(s),function(e){var t=[],n=".lt-reach";for(var i in e)if(e.hasOwnProperty(i)){var r=e[i];for(var o in r)if(r.hasOwnProperty(o)){var a=r[o];"textColors"!==i&&(t.push(n+" .ms-bgColor-"+o+" { background-color: "+a+";}"),t.push(n+" .ms-borderColor-"+o+" { border-color: "+a+";}")),t.push(n+" .ms-fontColor-"+o+" { color: "+a+";}"),t.push(n+" .ms-fontColor-"+o+"--hover:hover {color: "+a+";}")}}Die||((Die=document.createElement("style")).type="text/css",Die.id="condense-ui-fabric-overrides",document.head.appendChild(Die));Die.innerHTML=t.join(" ")}(s),s}function jie(e){return new Tie(e).lighten(-.2).toHex()}function Mie(e){return function(e){var t=iW(e,$ie),n=iW(e,Lie);return t>n}(e)?$ie:Lie}var Qie=i.createContext(null),Nie=function(e){var n=e.disableUiFabricThemeOverwrite,r=e.children,a=i.useState((function(){return Rie(zie.find((function(e){return"Default"===e.name})),n)})),s=a[0],l=a[1];return t.jsx(Qie.Provider,sJ({value:{theme:s,setTheme:function(e){return l(Rie(e,n))}}},{children:t.jsx(o.ThemeProvider,sJ({theme:s},{children:r}),void 0)}),void 0)};var Uie,Bie,qie=function(e){var n=e.area,r=e.pluginId,o=e.componentName,a=lJ(e,["area","pluginId","componentName"]),s=Wk().formatMessage,l=Une(n).find((function(e){return e.pluginId===r&&e.componentName===o&&null!=e.area}));return l?t.jsx(HG.exports.ErrorBoundary,sJ({FallbackComponent:function(e){return t.jsx(Gie,sJ({},e,{showDetailedErrorMessage:null==a?void 0:a.showDetailedErrorMessage}),void 0)}},{children:i.createElement(Sne,sJ({},a,l,{key:r}))}),void 0):a.showDetailedErrorMessage?t.jsx(Gie,{error:new Error(s({id:"InlinePlugin.fallback.error.notFound"})),showDetailedErrorMessage:!0},void 0):null},Gie=function(e){var n=e.error,i=e.showDetailedErrorMessage;return t.jsxs(Wie,{children:[t.jsx(pS,{id:"InlinePlugin.fallback.error"},void 0),i&&(null==n?void 0:n.message)&&t.jsx(Xie,{children:t.jsx(pS,{id:"InlinePlugin.fallback.error.message",values:{errorMessage:n.message}},void 0)},void 0)]},void 0)},Wie=y.default.div.withConfig({displayName:"Plugin__Host",componentId:"sc-nofq56-0"})(Uie||(Uie=pJ(["\n padding: ","px;\n background-color: ",";\n font-size: ","px;\n"],["\n padding: ","px;\n background-color: ",";\n font-size: ","px;\n"])),I7,Iie,Z7),Xie=y.default.p.withConfig({displayName:"Plugin__ErrorMessage",componentId:"sc-nofq56-1"})(Bie||(Bie=pJ(["\n &&& {\n margin: ","px 0 0 0;\n }\n"],["\n &&& {\n margin: ","px 0 0 0;\n }\n"])),I7),Vie=i.createContext(null),Yie=i.createContext(null);function Zie(){return i.useContext(Vie)}var Hie,Kie,Jie,ere,tre,nre,ire=function(e){var n=e.children,r=i.useState(!1),o=r[0],s=r[1],l=i.useState({}),u=l[0],c=l[1],d=i.useMemo((function(){return{showErrorText:f,showInfo:h,showError:m,showWarning:g,showSuccess:v,hideNotification:y,showToast:b,showToastWarning:O,dismissToast:_}}),[c,s]),p=i.useMemo((function(){return sJ(sJ({},u),{isNotificationBarVisible:o})}),[u,o]);return t.jsx(Vie.Provider,sJ({value:d},{children:t.jsx(Yie.Provider,sJ({value:p},{children:n}),void 0)}),void 0);function h(e,t){c({messageId:e,messageValues:t,messageBarType:a.MessageBarType.info,actions:null,className:"ms-messageBar--info"}),s(!0)}function f(e){c({text:e,messageBarType:a.MessageBarType.error,actions:null}),s(!0)}function m(e,t){c({messageId:e,messageValues:t,messageBarType:a.MessageBarType.error,actions:null}),s(!0)}function g(e,t){c({messageId:e,messageValues:t,messageBarType:a.MessageBarType.warning,actions:null}),s(!0)}function v(e,t,n,i){c({messageId:e,messageValues:t,messageBarType:a.MessageBarType.success,className:n,actions:i}),s(!0)}function y(){s(!1)}function b(e,n,i,r){var o=t.jsx(pS,{id:e,values:n},void 0);return null==i?AX(o,r):AX(t.jsxs(rre,{children:[t.jsx(ore,{children:o},void 0),t.jsx(are,{children:i},void 0)]},void 0),sJ({},r))}function O(e,t,n){var i={autoClose:!1,type:"warning"};return n&&(i.onClose=n),b(e,t,null,i)}function _(e){AX.dismiss(e)}},rre=y.default.div.withConfig({displayName:"NotificationContext__Wrapper",componentId:"sc-ant4hw-0"})(Hie||(Hie=pJ(["\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"])),j7),ore=y.default.p.withConfig({displayName:"NotificationContext__Message",componentId:"sc-ant4hw-1"})(Kie||(Kie=pJ(["\n flex: 1 1 auto;\n"],["\n flex: 1 1 auto;\n"]))),are=y.default.div.withConfig({displayName:"NotificationContext__Actions",componentId:"sc-ant4hw-2"})(Jie||(Jie=pJ(["\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"])),j7),sre=function(){var e=r.useHistory(),n=i.useContext(KC).hideChrome;return i.useEffect((function(){var t=e.listen((function(){return AX.dismiss()}));return function(){return t()}}),[e]),t.jsxs(t.Fragment,{children:[t.jsx(lre,{chromeless:n},void 0),t.jsx(bX,{toastClassName:"ms-fontColor-default",bodyClassName:"ms-fontColor-default",autoClose:5e3,hideProgressBar:!0,transition:yX,closeButton:!1},void 0)]},void 0)},lre=o.createGlobalStyle(nre||(nre=pJ(["\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&&o.css(ere||(ere=pJ(["\n top: 4em;\n "],["\n top: 4em;\n "])))}),(function(e){return e.chromeless&&o.css(tre||(tre=pJ(["\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 "])),B7)}));function ure(){var e=oB();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(tq(n))return tG(n,null);if(nq(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&&tq(e[0])?e[0]:e,null).pipe(jq((function(e){return r.apply(void 0,e)})))}return tG(e,null)}(n(),t()).pipe(jq((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 uJ(this,void 0,void 0,(function(){return cJ(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 uJ(this,void 0,void 0,(function(){return cJ(this,(function(t){return[2,e.all("keyword_groups/selected").getAll().then((function(e){return e.body().map((function(e){return e.data()}))}))]}))}))}}),[e])}function cre(){var e=oB();return i.useMemo((function(){return{getChannels:function(){return uJ(this,void 0,void 0,(function(){return cJ(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 uJ(this,void 0,void 0,(function(){return cJ(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])}var dre=function(e){var n=e.loadingIndicator,r=e.children,o=i.useContext(pre);return o.channels?t.jsx(hre.Provider,sJ({value:o},{children:r}),void 0):t.jsx(t.Fragment,{children:null!=n?n:t.jsx(a.Spinner,{},void 0)},void 0)},pre=i.createContext(null),hre=i.createContext(null),fre=Array.from(Array(15),(function(){var e=null,t=new Promise((function(t){return e=t}));return{locked:!1,key:null,promise:t,resolve:e}})),mre=function(e){var n=e.children,i=function(){var e=cre().getChannels,t=YG();return{getChannels:function(n){return uJ(this,void 0,void 0,(function(){var i=this;return cJ(this,(function(r){switch(r.label){case 0:return[4,t.fetchQuery(["fetchSubscriptionChannels",n],(function(){return uJ(i,void 0,void 0,(function(){return cJ(this,(function(t){switch(t.label){case 0:return[4,e()];case 1:return[2,t.sent()]}}))}))}))];case 1:return[2,r.sent()]}}))}))}}}().getChannels,r=function(){var e=ure(),t=e.getAllKeywords,n=e.getSelectedGroups,i=YG();return{getAllKeywords:function(e,n){return uJ(this,void 0,void 0,(function(){var r=this;return cJ(this,(function(o){switch(o.label){case 0:return[4,i.fetchQuery(["fetchAllKeywords",e],(function(){return uJ(r,void 0,void 0,(function(){return cJ(this,(function(e){switch(e.label){case 0:return[4,t(n)];case 1:return[2,e.sent()]}}))}))}))];case 1:return[2,o.sent()]}}))}))},getSelectedGroups:function(e){return uJ(this,void 0,void 0,(function(){var t=this;return cJ(this,(function(r){switch(r.label){case 0:return[4,i.fetchQuery(["fetchSelectedKeywordGroups",e],(function(){return uJ(t,void 0,void 0,(function(){return cJ(this,(function(e){switch(e.label){case 0:return[4,n()];case 1:return[2,e.sent()]}}))}))}))];case 1:return[2,r.sent()]}}))}))}}}(),o=r.getAllKeywords,a=r.getSelectedGroups;return t.jsx(gre,sJ({getChannels:i,getAllKeywords:o,getSelectedGroups:a},{children:n}),void 0)},gre=function(e){var n=e.getChannels,r=e.getAllKeywords,o=e.getSelectedGroups,a=e.children,s=g5(),l=i.useContext(OS).identifier,u=i.useContext(gS).handleFatalError,c=i.useCallback((function(){return uJ(this,void 0,void 0,(function(){var e,t,i,r,o,a;return cJ(this,(function(s){switch(s.label){case 0:return s.trys.push([0,2,,4]),[4,Promise.all([n(l.id),b(),O()])];case 1:return e=s.sent(),t=e[0],i=e[1],r=e[2],o=r.reduce((function(e,t){var n;return sJ(sJ({},e),((n={})[t.id]=i.filter((function(e){return e.groupId===t.id})),n))}),{}),function(e){var t=fre.findIndex((function(e){return e.key===l.id&&e.locked}));if(t>=0){var n={locked:!1,key:null,resolve:null,promise:null};n.promise=new Promise((function(e){return n.resolve=e})),fre[t]=n}_(e)}(t),[2,{channels:t,allKeywords:i,keywordsByGroupId:o,selectedKeywordGroups:r}];case 2:return a=s.sent(),ng.error(JSON.stringify(a)),[4,L8(a)];case 3:return!0!==s.sent()&&u({error:a}),[2,{}];case 4:return[2]}}))}))}),[l.id]),d=$w(c,{},[l.id]),p=d[0],h=p.channels,f=p.allKeywords,m=p.keywordsByGroupId,g=p.selectedKeywordGroups,v=d[3],y=i.useMemo((function(){return{channels:h,getChannels:function(){return _()},allKeywords:f,keywordsByGroupId:m,selectedKeywordGroups:g,refreshSubscription:function(){return uJ(void 0,void 0,void 0,(function(){var e;return cJ(this,(function(t){switch(t.label){case 0:return[4,c()];case 1:return e=t.sent(),v(e),[2]}}))}))}}}),[h,f,m,g,v,c]);return t.jsx(pre.Provider,sJ({value:y},{children:a}),void 0);function b(){return uJ(this,void 0,void 0,(function(){var e;return cJ(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(l.id)];case 2:return[2,t.sent()];case 3:return e=t.sent(),ng.error(e),[2,[]];case 4:return[2]}}))}))}function O(){return uJ(this,void 0,void 0,(function(){var e;return cJ(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,o(l.id)];case 2:return[2,t.sent()];case 3:return e=t.sent(),ng.error(e),[2,[]];case 4:return[2]}}))}))}function _(e){var t=fre.findIndex((function(e){return e.key===l.id||!e.key})),n=fre[t];return n.key=l.id,null==e?n.promise:(n.locked=!0,n.resolve(e),null)}};var vre={};function yre(e){var t;(null==e?void 0:e.type)&&(null===(t=vre[e.type])||void 0===t||t.some((function(t){return t(e)})))}function bre(e,t,n){i.useEffect((function(){if(e)return vre[e]||(vre[e]=[]),vre[e].push(t),function(){vre[e]=vre[e].filter((function(e){return e!==t}))}}),dJ([e],n||[]))}var Ore=d2,_re=p2,wre=f2,xre=FJ,kre=w2,Sre=[],Pre=Sre.sort,Ere=xre((function(){Sre.sort(void 0)})),Cre=xre((function(){Sre.sort(null)})),Fre=kre("sort");Ore({target:"Array",proto:!0,forced:Ere||!Cre||!Fre},{sort:function(e){return void 0===e?Pre.call(wre(this)):Pre.call(wre(this),_re(e))}});var Tre=Ene,Dre=[].reverse,Are=[1,2];d2({target:"Array",proto:!0,forced:String(Are)===String(Are.reverse())},{reverse:function(){return Tre(this)&&(this.length=this.length),Dre.call(this)}});var Ire,Lre,$re,zre,Rre=[],jre=function(e,t){Rre.some((function(t){return t.handler===e}))||Rre.push({handler:e,priority:t||0})},Mre=function(e){Rre=Rre.filter((function(t){return t.handler!==e}))};function Qre(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 Bre(Array.from(new Set(r)),i)}function Nre(e,t,n,i){var r=Qre(e,t,n,i);return Object.values(r).reduce((function(e,t){return e=e.concat(t)}),[])}function Ure(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?Bre(i,n):{}}function Bre(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 qre(e,t,n,i,r){if(e){var o=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 a=Qre(o,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?Bre(i,n):{}}(o,n,r);Object.keys(e.keywords).forEach((function(t){var n,i=a[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 Gre(e,t){var n=Vre(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 Wre(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 Xre(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=Wre(i,n),o=Vre(i,n);e.channels||(e.channels=[]);var a=r.filter((function(t){return e.channels.some((function(e){return e.name===t.name}))}));e.channels=Array.from(new Set(a.concat(o)))}}function Vre(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"}(Ire||(Ire={})),function(e){e.NotDeleted="NOT_DELETED",e.RecycleBin="RECYCLE_BIN",e.Deleted="DELETED"}(Lre||(Lre={})),function(e){e.Default="DEFAULT",e.GroupNameChange="GROUP_NAME_CHANGE",e.UserLeftChat="USER_LEFT_CHAT"}($re||($re={})),function(e){e.Normal="NORMAL",e.LeftChat="LEFT_CHAT"}(zre||(zre={}));var Yre,Zre=function(){function e(){this.type=e.type}return e.create=function(){return new e},e.type="forbidden_error",e}(),Hre=function(){function e(){this.type=e.type}return e.create=function(){return new e},e.type="generic_access_denied",e}(),Kre=new class{constructor(e={}){this.queryCache=e.queryCache||new NG,this.mutationCache=e.mutationCache||new BG,this.logger=e.logger||RG,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],"production"!==process.env.NODE_ENV&&e.logger&&this.logger.error("Passing a custom logger has been deprecated and will be removed in the next major version.")}mount(){this.unsubscribeFocus=TG.subscribe((()=>{TG.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())})),this.unsubscribeOnline=DG.subscribe((()=>{DG.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())}))}unmount(){var e,t;null==(e=this.unsubscribeFocus)||e.call(this),null==(t=this.unsubscribeOnline)||t.call(this)}isFetching(e,t){const[n]=mG(e,t);return n.fetchStatus="fetching",this.queryCache.findAll(n).length}isMutating(e){return this.mutationCache.findAll({...e,fetching:!0}).length}getQueryData(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state.data}ensureQueryData(e,t,n){const i=fG(e,t,n),r=this.getQueryData(i.queryKey);return r?Promise.resolve(r):this.fetchQuery(i)}getQueriesData(e){return this.getQueryCache().findAll(e).map((({queryKey:e,state:t})=>[e,t.data]))}setQueryData(e,t,n){const i=this.queryCache.find(e),r=function(e,t){return"function"==typeof e?e(t):e}(t,null==i?void 0:i.state.data);if(void 0===r)return;const o=fG(e),a=this.defaultQueryOptions(o);return this.queryCache.build(this,a).setData(r,{...n,manual:!0})}setQueriesData(e,t,n){return jG.batch((()=>this.getQueryCache().findAll(e).map((({queryKey:e})=>[e,this.setQueryData(e,t,n)]))))}getQueryState(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state}removeQueries(e,t){const[n]=mG(e,t),i=this.queryCache;jG.batch((()=>{i.findAll(n).forEach((e=>{i.remove(e)}))}))}resetQueries(e,t,n){const[i,r]=mG(e,t,n),o=this.queryCache,a={type:"active",...i};return jG.batch((()=>(o.findAll(i).forEach((e=>{e.reset()})),this.refetchQueries(a,r))))}cancelQueries(e,t,n){const[i,r={}]=mG(e,t,n);void 0===r.revert&&(r.revert=!0);const o=jG.batch((()=>this.queryCache.findAll(i).map((e=>e.cancel(r)))));return Promise.all(o).then(hG).catch(hG)}invalidateQueries(e,t,n){const[i,r]=mG(e,t,n);return jG.batch((()=>{var e,t;if(this.queryCache.findAll(i).forEach((e=>{e.invalidate()})),"none"===i.refetchType)return Promise.resolve();const n={...i,type:null!=(e=null!=(t=i.refetchType)?t:i.type)?e:"active"};return this.refetchQueries(n,r)}))}refetchQueries(e,t,n){const[i,r]=mG(e,t,n),o=jG.batch((()=>this.queryCache.findAll(i).filter((e=>!e.isDisabled())).map((e=>{var t;return e.fetch(void 0,{...r,cancelRefetch:null==(t=null==r?void 0:r.cancelRefetch)||t,meta:{refetchPage:i.refetchPage}})}))));let a=Promise.all(o).then(hG);return null!=r&&r.throwOnError||(a=a.catch(hG)),a}fetchQuery(e,t,n){const i=fG(e,t,n),r=this.defaultQueryOptions(i);void 0===r.retry&&(r.retry=!1);const o=this.queryCache.build(this,r);return o.isStaleByTime(r.staleTime)?o.fetch(r):Promise.resolve(o.state.data)}prefetchQuery(e,t,n){return this.fetchQuery(e,t,n).then(hG).catch(hG)}fetchInfiniteQuery(e,t,n){const i=fG(e,t,n);return i.behavior=qG(),this.fetchQuery(i)}prefetchInfiniteQuery(e,t,n){return this.fetchInfiniteQuery(e,t,n).then(hG).catch(hG)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(e){this.defaultOptions=e}setQueryDefaults(e,t){const n=this.queryDefaults.find((t=>bG(e)===bG(t.queryKey)));n?n.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})}getQueryDefaults(e){if(!e)return;const t=this.queryDefaults.find((t=>OG(e,t.queryKey)));if("production"!==process.env.NODE_ENV){const t=this.queryDefaults.filter((t=>OG(e,t.queryKey)));t.length>1&&this.logger.error("[QueryClient] Several query defaults match with key '"+JSON.stringify(e)+"'. The first matching query defaults are used. Please check how query defaults are registered. Order does matter here. cf. https://react-query.tanstack.com/reference/QueryClient#queryclientsetquerydefaults.")}return null==t?void 0:t.defaultOptions}setMutationDefaults(e,t){const n=this.mutationDefaults.find((t=>bG(e)===bG(t.mutationKey)));n?n.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})}getMutationDefaults(e){if(!e)return;const t=this.mutationDefaults.find((t=>OG(e,t.mutationKey)));if("production"!==process.env.NODE_ENV){const t=this.mutationDefaults.filter((t=>OG(e,t.mutationKey)));t.length>1&&this.logger.error("[QueryClient] Several mutation defaults match with key '"+JSON.stringify(e)+"'. The first matching mutation defaults are used. Please check how mutation defaults are registered. Order does matter here. cf. https://react-query.tanstack.com/reference/QueryClient#queryclientsetmutationdefaults.")}return null==t?void 0:t.defaultOptions}defaultQueryOptions(e){if(null!=e&&e._defaulted)return e;const t={...this.defaultOptions.queries,...this.getQueryDefaults(null==e?void 0:e.queryKey),...e,_defaulted:!0};return!t.queryHash&&t.queryKey&&(t.queryHash=yG(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.useErrorBoundary&&(t.useErrorBoundary=!!t.suspense),t}defaultMutationOptions(e){return null!=e&&e._defaulted?e:{...this.defaultOptions.mutations,...this.getMutationDefaults(null==e?void 0:e.mutationKey),...e,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}}({defaultOptions:{queries:{refetchOnWindowFocus:!1,refetchOnMount:!1,refetchOnReconnect:!1,retry:!1,staleTime:5e3,cacheTime:5e3,refetchInterval:!1,refetchIntervalInBackground:!1}},queryCache:(window.__Reach_queryClientCache__=window.__Reach_queryClientCache__||new NG,window.__Reach_queryClientCache__)});y.default.a.withConfig({displayName:"SkipLinksContext__StyledLink",componentId:"sc-9l70wv-0"})(Yre||(Yre=pJ(["\n position: absolute;\n left: -999px;\n width: 1px;\n height: 1px;\n top: auto;\n\n &:focus,\n &:active {\n background-color: ",";\n left: auto;\n top: auto;\n width: auto;\n height: auto;\n display: flex;\n padding: ","px;\n text-align: center;\n font-size: ","px;\n z-index: 999;\n outline: none;\n }\n"],["\n position: absolute;\n left: -999px;\n width: 1px;\n height: 1px;\n top: auto;\n\n &:focus,\n &:active {\n background-color: ",";\n left: auto;\n top: auto;\n width: auto;\n height: auto;\n display: flex;\n padding: ","px;\n text-align: center;\n font-size: ","px;\n z-index: 999;\n outline: none;\n }\n"])),(function(e){return e.theme.palette.white}),L7,Z7);var Jre,eoe=i.createContext({});function toe(){var e=i.useContext(eoe);return(null==e?void 0:e.isNewUXEnabled)?YB(_J,"lt-reach-2"):_J}o.createGlobalStyle(Jre||(Jre=pJ(["\n.lt-reach-2 {\n --color-coral-100: #FFE4DC;\n --color-coral-200: #FFCAB9;\n --color-coral-400: #FF9573;\n --color-neutral-50: #F5F4F3;\n --color-neutral-100: #EBE9E8;\n --color-neutral-300: #C2BCB9;\n --color-neutral-800: #5C5653;\n --color-neutral-950: #0F0E0E;\n --color-primary-100: #FFE4DC;\n --color-primary-300: #FFAF96;\n --color-primary-500: #FF7A50;\n --color-primary-700: #994930;\n --color-error-500: #FF5050;\n --text-color-default: #000;\n --link-color: #000;\n --link-font-weight: 700;\n --max-content-width: 1248px;\n --detail-content-width: 100%;\n --detail-banner-width: 100%;\n --page-background-color: #F5F4F3;\n --main-content-block-margin: 32px;\n --main-content-inline-margin: 24px;\n --utility-area-visibility: none;\n --detail-actions-height: 60px;\n\n @media screen and (min-width: ","px) {\n --detail-content-width: 560px;\n --detail-banner-width: 700px;\n --main-content-inline-margin: 32px;\n }\n\n @media screen and (min-width: ","px) {\n --detail-content-width: 610px;\n --detail-banner-width: 1038px;\n --main-content-block-margin: 50px;\n }\n\n @media screen and (min-width: ","px) {\n --utility-area-visibility: initial;\n }\n\n &&:not(a) {\n color: var(--text-color-default);\n }\n\n h2,\n h3,\n div,\n span,\n input,\n textarea,\n button,\n .ms-font-m,\n div.ms-Dialog,\n .ms-Label,\n .ms-Link\n {\n font-family: Mulish, Arial, sans-serif !important;\n }\n\n h1 {\n font-family: Anybody, Arial, sans-serif !important;\n }\n\n a[data-skip-link] {\n margin: 5px;\n text-decoration: underline;\n font-weight: 700;\n\n > span {\n padding: 10px 0;\n }\n\n &:focus,\n &:active {\n border: 1px solid var(--color-neutral-950);\n box-shadow: 1px 1px 0px 2px var(--color-neutral-950);\n border-radius: 8px;\n color: var(--text-color-default);\n }\n }\n\n button {\n cursor: pointer;\n }\n\n /* Avatar overrides */\n [data-avatar] {\n .ms-Persona-primaryText {\n .ms-TooltipHost {\n font-family: Anybody, Arial, sans-serif !important;\n font-weight: 700;\n }\n }\n }\n\n /* Workspace overrides */\n [data-workspace] {\n font-family: Anybody, Arial, sans-serif !important;\n }\n\n /* Toggle overrides */\n .ms-Toggle {\n button {\n background: var(--color-primary-500);\n }\n }\n\n /* Callout overrides */\n &.lt-reach-callout {\n min-width: 300px !important;\n\n border: 1px solid var(--color-neutral-950);\n border-radius: 8px;\n box-shadow: 1px 1px 0 0.5px var(--color-neutral-950);\n overflow: hidden;\n\n transform: translate3d(0, -10px, 0);\n transition: all 0.2s ease-in-out;\n\n a {\n color: var(--link-color);\n text-decoration: underline;\n font-weight: var(--link-font-weight);\n }\n }\n\n /* Tooltip overrides */\n &.lt-reach-tooltip {\n padding: 2px 4px;\n border-radius: 8px;\n border: 1px solid var(--color-neutral-950);\n box-shadow: 1px 1px 0 0.5px var(--color-neutral-950);\n\n * {\n font-weight: 700;\n font-size: 12px;\n line-height: 14px;\n }\n }\n\n /* Ionic Modal Sheet overrides */\n &.modal-sheet {\n --backdrop-opacity: 1;\n --ion-backdrop-color: var(--color-neutral-950);\n\n &::part(content) {\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n }\n\n @media only screen and (min-width: ","px) and (min-height: ","px) {\n --width: 100%;\n }\n }\n}\n\n/* iOS fixes */\n/* required because on iOS the app overlaps the statusbar, because color changing is not supported */\n.browser-name-ios-webview {\n .lt-reach-2 {\n [data-app-canvas] {\n padding-top: env(safe-area-inset-top);\n }\n }\n}\n"],["\n.lt-reach-2 {\n --color-coral-100: #FFE4DC;\n --color-coral-200: #FFCAB9;\n --color-coral-400: #FF9573;\n --color-neutral-50: #F5F4F3;\n --color-neutral-100: #EBE9E8;\n --color-neutral-300: #C2BCB9;\n --color-neutral-800: #5C5653;\n --color-neutral-950: #0F0E0E;\n --color-primary-100: #FFE4DC;\n --color-primary-300: #FFAF96;\n --color-primary-500: #FF7A50;\n --color-primary-700: #994930;\n --color-error-500: #FF5050;\n --text-color-default: #000;\n --link-color: #000;\n --link-font-weight: 700;\n --max-content-width: 1248px;\n --detail-content-width: 100%;\n --detail-banner-width: 100%;\n --page-background-color: #F5F4F3;\n --main-content-block-margin: 32px;\n --main-content-inline-margin: 24px;\n --utility-area-visibility: none;\n --detail-actions-height: 60px;\n\n @media screen and (min-width: ","px) {\n --detail-content-width: 560px;\n --detail-banner-width: 700px;\n --main-content-inline-margin: 32px;\n }\n\n @media screen and (min-width: ","px) {\n --detail-content-width: 610px;\n --detail-banner-width: 1038px;\n --main-content-block-margin: 50px;\n }\n\n @media screen and (min-width: ","px) {\n --utility-area-visibility: initial;\n }\n\n &&:not(a) {\n color: var(--text-color-default);\n }\n\n h2,\n h3,\n div,\n span,\n input,\n textarea,\n button,\n .ms-font-m,\n div.ms-Dialog,\n .ms-Label,\n .ms-Link\n {\n font-family: Mulish, Arial, sans-serif !important;\n }\n\n h1 {\n font-family: Anybody, Arial, sans-serif !important;\n }\n\n a[data-skip-link] {\n margin: 5px;\n text-decoration: underline;\n font-weight: 700;\n\n > span {\n padding: 10px 0;\n }\n\n &:focus,\n &:active {\n border: 1px solid var(--color-neutral-950);\n box-shadow: 1px 1px 0px 2px var(--color-neutral-950);\n border-radius: 8px;\n color: var(--text-color-default);\n }\n }\n\n button {\n cursor: pointer;\n }\n\n /* Avatar overrides */\n [data-avatar] {\n .ms-Persona-primaryText {\n .ms-TooltipHost {\n font-family: Anybody, Arial, sans-serif !important;\n font-weight: 700;\n }\n }\n }\n\n /* Workspace overrides */\n [data-workspace] {\n font-family: Anybody, Arial, sans-serif !important;\n }\n\n /* Toggle overrides */\n .ms-Toggle {\n button {\n background: var(--color-primary-500);\n }\n }\n\n /* Callout overrides */\n &.lt-reach-callout {\n min-width: 300px !important;\n\n border: 1px solid var(--color-neutral-950);\n border-radius: 8px;\n box-shadow: 1px 1px 0 0.5px var(--color-neutral-950);\n overflow: hidden;\n\n transform: translate3d(0, -10px, 0);\n transition: all 0.2s ease-in-out;\n\n a {\n color: var(--link-color);\n text-decoration: underline;\n font-weight: var(--link-font-weight);\n }\n }\n\n /* Tooltip overrides */\n &.lt-reach-tooltip {\n padding: 2px 4px;\n border-radius: 8px;\n border: 1px solid var(--color-neutral-950);\n box-shadow: 1px 1px 0 0.5px var(--color-neutral-950);\n\n * {\n font-weight: 700;\n font-size: 12px;\n line-height: 14px;\n }\n }\n\n /* Ionic Modal Sheet overrides */\n &.modal-sheet {\n --backdrop-opacity: 1;\n --ion-backdrop-color: var(--color-neutral-950);\n\n &::part(content) {\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n }\n\n @media only screen and (min-width: ","px) and (min-height: ","px) {\n --width: 100%;\n }\n }\n}\n\n/* iOS fixes */\n/* required because on iOS the app overlaps the statusbar, because color changing is not supported */\n.browser-name-ios-webview {\n .lt-reach-2 {\n [data-app-canvas] {\n padding-top: env(safe-area-inset-top);\n }\n }\n}\n"])),M7,Q7,N7,M7,M7);$X("/*! 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");$X('/*! 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 noe={exports:{}};
131
+ ***************************************************************************** */var aJ=function(e,t){return aJ=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])},aJ(e,t)};var sJ=function(){return sJ=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},sJ.apply(this,arguments)};function lJ(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 uJ(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i.throw(e))}catch(e){o(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(a,s)}l((i=i.apply(e,t||[])).next())}))}function cJ(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function dJ(e,t,n){if(n||2===arguments.length)for(var i,r=0,o=t.length;r<o;r++)!i&&r in t||(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||t)}function pJ(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var hJ,fJ,mJ,gJ,vJ=o.createGlobalStyle(hJ||(hJ=pJ(["\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):not([data-skip-link]):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):not([data-skip-link]):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})),yJ=function(e){return"\n .ms-Fabric--isFocusVisible .lt-reach {\n "+e+"\n }\n"},bJ=function(e){return o.css(fJ||(fJ=pJ(["\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")},OJ=o.createGlobalStyle(mJ||(mJ=pJ(["\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}),bJ(!0),bJ()),_J=YB(["browser-version-"+sg,"browser-name-"+ag],"lt-reach");!function(e){e[e.asc=1]="asc",e[e.desc=-1]="desc"}(gJ||(gJ={}));var wJ="Language",xJ="Locale";function kJ(){var e=bS();return i.useMemo((function(){return{getLocalLanguage:function(){return uJ(this,void 0,void 0,(function(){return cJ(this,(function(t){switch(t.label){case 0:return[4,e.getString(wJ)];case 1:return[2,dw(t.sent())]}}))}))},saveLanguageToLocalStorage:function(t){return uJ(this,void 0,void 0,(function(){return cJ(this,(function(n){switch(n.label){case 0:return[4,e.setString(wJ,t)];case 1:return n.sent(),[2]}}))}))},saveLocaleToLocalStorage:function(t){return uJ(this,void 0,void 0,(function(){return cJ(this,(function(n){switch(n.label){case 0:return[4,e.setString(xJ,t)];case 1:return n.sent(),[2]}}))}))},getLocaleFromLocalStorage:function(){return uJ(this,void 0,void 0,(function(){return cJ(this,(function(t){return[2,e.getString(xJ)]}))}))}}}),[e])}var SJ="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},PJ=function(e){return e&&e.Math==Math&&e},EJ=PJ("object"==typeof globalThis&&globalThis)||PJ("object"==typeof window&&window)||PJ("object"==typeof self&&self)||PJ("object"==typeof SJ&&SJ)||Function("return this")(),CJ={},FJ=function(e){try{return!!e()}catch(e){return!0}},TJ=!FJ((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),DJ={},AJ={}.propertyIsEnumerable,IJ=Object.getOwnPropertyDescriptor,LJ=IJ&&!AJ.call({1:2},1);DJ.f=LJ?function(e){var t=IJ(this,e);return!!t&&t.enumerable}:AJ;var $J=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},zJ={}.toString,RJ=function(e){return zJ.call(e).slice(8,-1)},jJ=RJ,MJ="".split,QJ=FJ((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==jJ(e)?MJ.call(e,""):Object(e)}:Object,NJ=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},UJ=QJ,BJ=NJ,qJ=function(e){return UJ(BJ(e))},GJ=function(e){return"object"==typeof e?null!==e:"function"==typeof e},WJ=GJ,XJ=function(e,t){if(!WJ(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!WJ(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!WJ(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!WJ(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")},VJ={}.hasOwnProperty,YJ=function(e,t){return VJ.call(e,t)},ZJ=GJ,HJ=EJ.document,KJ=ZJ(HJ)&&ZJ(HJ.createElement),JJ=function(e){return KJ?HJ.createElement(e):{}},e0=JJ,t0=!TJ&&!FJ((function(){return 7!=Object.defineProperty(e0("div"),"a",{get:function(){return 7}}).a})),n0=TJ,i0=DJ,r0=$J,o0=qJ,a0=XJ,s0=YJ,l0=t0,u0=Object.getOwnPropertyDescriptor;CJ.f=n0?u0:function(e,t){if(e=o0(e),t=a0(t,!0),l0)try{return u0(e,t)}catch(e){}if(s0(e,t))return r0(!i0.f.call(e,t),e[t])};var c0={},d0=GJ,p0=function(e){if(!d0(e))throw TypeError(String(e)+" is not an object");return e},h0=TJ,f0=t0,m0=p0,g0=XJ,v0=Object.defineProperty;c0.f=h0?v0:function(e,t,n){if(m0(e),t=g0(t,!0),m0(n),f0)try{return v0(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 y0=c0,b0=$J,O0=TJ?function(e,t,n){return y0.f(e,t,b0(1,n))}:function(e,t,n){return e[t]=n,e},_0={exports:{}},w0=EJ,x0=O0,k0=function(e,t){try{x0(w0,e,t)}catch(n){w0[e]=t}return t},S0=k0,P0="__core-js_shared__",E0=EJ[P0]||S0(P0,{}),C0=E0,F0=Function.toString;"function"!=typeof C0.inspectSource&&(C0.inspectSource=function(e){return F0.call(e)});var T0=C0.inspectSource,D0=T0,A0=EJ.WeakMap,I0="function"==typeof A0&&/native code/.test(D0(A0)),L0={exports:{}},$0=E0;(L0.exports=function(e,t){return $0[e]||($0[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"});var z0,R0,j0,M0=0,Q0=Math.random(),N0=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++M0+Q0).toString(36)},U0=L0.exports,B0=N0,q0=U0("keys"),G0=function(e){return q0[e]||(q0[e]=B0(e))},W0={},X0=I0,V0=GJ,Y0=O0,Z0=YJ,H0=G0,K0=W0,J0=EJ.WeakMap;if(X0){var e1=new J0,t1=e1.get,n1=e1.has,i1=e1.set;z0=function(e,t){return i1.call(e1,e,t),t},R0=function(e){return t1.call(e1,e)||{}},j0=function(e){return n1.call(e1,e)}}else{var r1=H0("state");K0[r1]=!0,z0=function(e,t){return Y0(e,r1,t),t},R0=function(e){return Z0(e,r1)?e[r1]:{}},j0=function(e){return Z0(e,r1)}}var o1={set:z0,get:R0,has:j0,enforce:function(e){return j0(e)?R0(e):z0(e,{})},getterFor:function(e){return function(t){var n;if(!V0(t)||(n=R0(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},a1=EJ,s1=O0,l1=YJ,u1=k0,c1=T0,d1=o1.get,p1=o1.enforce,h1=String(String).split("String");(_0.exports=function(e,t,n,i){var r=!!i&&!!i.unsafe,o=!!i&&!!i.enumerable,a=!!i&&!!i.noTargetGet;"function"==typeof n&&("string"!=typeof t||l1(n,"name")||s1(n,"name",t),p1(n).source=h1.join("string"==typeof t?t:"")),e!==a1?(r?!a&&e[t]&&(o=!0):delete e[t],o?e[t]=n:s1(e,t,n)):o?e[t]=n:u1(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&d1(this).source||c1(this)}));var f1=EJ,m1=EJ,g1=function(e){return"function"==typeof e?e:void 0},v1=function(e,t){return arguments.length<2?g1(f1[e])||g1(m1[e]):f1[e]&&f1[e][t]||m1[e]&&m1[e][t]},y1={},b1=Math.ceil,O1=Math.floor,_1=function(e){return isNaN(e=+e)?0:(e>0?O1:b1)(e)},w1=_1,x1=Math.min,k1=function(e){return e>0?x1(w1(e),9007199254740991):0},S1=_1,P1=Math.max,E1=Math.min,C1=qJ,F1=k1,T1=function(e,t){var n=S1(e);return n<0?P1(n+t,0):E1(n,t)},D1=function(e){return function(t,n,i){var r,o=C1(t),a=F1(o.length),s=T1(i,a);if(e&&n!=n){for(;a>s;)if((r=o[s++])!=r)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},A1={includes:D1(!0),indexOf:D1(!1)},I1=YJ,L1=qJ,$1=A1.indexOf,z1=W0,R1=function(e,t){var n,i=L1(e),r=0,o=[];for(n in i)!I1(z1,n)&&I1(i,n)&&o.push(n);for(;t.length>r;)I1(i,n=t[r++])&&(~$1(o,n)||o.push(n));return o},j1=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],M1=R1,Q1=j1.concat("length","prototype");y1.f=Object.getOwnPropertyNames||function(e){return M1(e,Q1)};var N1={};N1.f=Object.getOwnPropertySymbols;var U1=y1,B1=N1,q1=p0,G1=v1("Reflect","ownKeys")||function(e){var t=U1.f(q1(e)),n=B1.f;return n?t.concat(n(e)):t},W1=YJ,X1=G1,V1=CJ,Y1=c0,Z1=FJ,H1=/#|\.prototype\./,K1=function(e,t){var n=e2[J1(e)];return n==n2||n!=t2&&("function"==typeof t?Z1(t):!!t)},J1=K1.normalize=function(e){return String(e).replace(H1,".").toLowerCase()},e2=K1.data={},t2=K1.NATIVE="N",n2=K1.POLYFILL="P",i2=K1,r2=EJ,o2=CJ.f,a2=O0,s2=_0.exports,l2=k0,u2=function(e,t){for(var n=X1(t),i=Y1.f,r=V1.f,o=0;o<n.length;o++){var a=n[o];W1(e,a)||i(e,a,r(t,a))}},c2=i2,d2=function(e,t){var n,i,r,o,a,s=e.target,l=e.global,u=e.stat;if(n=l?r2:u?r2[s]||l2(s,{}):(r2[s]||{}).prototype)for(i in t){if(o=t[i],r=e.noTargetGet?(a=o2(n,i))&&a.value:n[i],!c2(l?i:s+(u?".":"#")+i,e.forced)&&void 0!==r){if(typeof o==typeof r)continue;u2(o,r)}(e.sham||r&&r.sham)&&a2(o,"sham",!0),s2(n,i,o,e)}},p2=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},h2=NJ,f2=function(e){return Object(h2(e))},m2=p2,g2=f2,v2=QJ,y2=k1,b2=function(e){return function(t,n,i,r){m2(n);var o=g2(t),a=v2(o),s=y2(o.length),l=e?s-1:0,u=e?-1:1;if(i<2)for(;;){if(l in a){r=a[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 a&&(r=n(r,a[l],l,o));return r}},O2={left:b2(!1),right:b2(!0)},_2=FJ,w2=function(e,t){var n=[][e];return!!n&&_2((function(){n.call(null,t||function(){throw 1},1)}))},x2=TJ,k2=FJ,S2=YJ,P2=Object.defineProperty,E2={},C2=function(e){throw e},F2=d2,T2=O2.left,D2=function(e,t){if(S2(E2,e))return E2[e];t||(t={});var n=[][e],i=!!S2(t,"ACCESSORS")&&t.ACCESSORS,r=S2(t,0)?t[0]:C2,o=S2(t,1)?t[1]:void 0;return E2[e]=!!n&&!k2((function(){if(i&&!x2)return!0;var e={length:-1};i?P2(e,1,{enumerable:!0,get:C2}):e[1]=1,n.call(e,r,o)}))},A2=w2("reduce"),I2=D2("reduce",{1:0});F2({target:"Array",proto:!0,forced:!A2||!I2},{reduce:function(e){return T2(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}});var L2=EJ.Promise,$2=_0.exports,z2=FJ,R2=!!Object.getOwnPropertySymbols&&!z2((function(){return!String(Symbol())})),j2=R2&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,M2=EJ,Q2=L0.exports,N2=YJ,U2=N0,B2=R2,q2=j2,G2=Q2("wks"),W2=M2.Symbol,X2=q2?W2:W2&&W2.withoutSetter||U2,V2=function(e){return N2(G2,e)||(B2&&N2(W2,e)?G2[e]=W2[e]:G2[e]=X2("Symbol."+e)),G2[e]},Y2=c0.f,Z2=YJ,H2=V2("toStringTag"),K2=function(e,t,n){e&&!Z2(e=n?e:e.prototype,H2)&&Y2(e,H2,{configurable:!0,value:t})},J2=v1,e3=c0,t3=TJ,n3=V2("species"),i3=function(e){var t=J2(e),n=e3.f;t3&&t&&!t[n3]&&n(t,n3,{configurable:!0,get:function(){return this}})},r3={exports:{}},o3={},a3=o3,s3=V2("iterator"),l3=Array.prototype,u3=p2,c3=function(e,t,n){if(u3(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)}},d3={};d3[V2("toStringTag")]="z";var p3="[object z]"===String(d3),h3=RJ,f3=V2("toStringTag"),m3="Arguments"==h3(function(){return arguments}()),g3=p3?h3: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),f3))?n:m3?h3(t):"Object"==(i=h3(t))&&"function"==typeof t.callee?"Arguments":i},v3=g3,y3=o3,b3=V2("iterator"),O3=p0,_3=p0,w3=function(e){return void 0!==e&&(a3.Array===e||l3[s3]===e)},x3=k1,k3=c3,S3=function(e){if(null!=e)return e[b3]||e["@@iterator"]||y3[v3(e)]},P3=function(e,t,n,i){try{return i?t(O3(n)[0],n[1]):t(n)}catch(t){var r=e.return;throw void 0!==r&&O3(r.call(e)),t}},E3=function(e,t){this.stopped=e,this.result=t},C3=r3.exports=function(e,t,n,i,r){var o,a,s,l,u,c,d,p=k3(t,n,i?2:1);if(r)o=e;else{if("function"!=typeof(a=S3(e)))throw TypeError("Target is not iterable");if(w3(a)){for(s=0,l=x3(e.length);l>s;s++)if((u=i?p(_3(d=e[s])[0],d[1]):p(e[s]))&&u instanceof E3)return u;return new E3(!1)}o=a.call(e)}for(c=o.next;!(d=c.call(o)).done;)if("object"==typeof(u=P3(o,p,d.value,i))&&u&&u instanceof E3)return u;return new E3(!1)};C3.stop=function(e){return new E3(!0,e)};var F3=V2("iterator"),T3=!1;try{var D3=0,A3={next:function(){return{done:!!D3++}},return:function(){T3=!0}};A3[F3]=function(){return this},Array.from(A3,(function(){throw 2}))}catch(e){}var I3,L3,$3,z3=p0,R3=p2,j3=V2("species"),M3=function(e,t){var n,i=z3(e).constructor;return void 0===i||null==(n=z3(i)[j3])?t:R3(n)},Q3=v1("document","documentElement"),N3=v1("navigator","userAgent")||"",U3=/(iphone|ipod|ipad).*applewebkit/i.test(N3),B3=EJ,q3=FJ,G3=RJ,W3=c3,X3=Q3,V3=JJ,Y3=U3,Z3=B3.location,H3=B3.setImmediate,K3=B3.clearImmediate,J3=B3.process,e4=B3.MessageChannel,t4=B3.Dispatch,n4=0,i4={},r4="onreadystatechange",o4=function(e){if(i4.hasOwnProperty(e)){var t=i4[e];delete i4[e],t()}},a4=function(e){return function(){o4(e)}},s4=function(e){o4(e.data)},l4=function(e){B3.postMessage(e+"",Z3.protocol+"//"+Z3.host)};H3&&K3||(H3=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return i4[++n4]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},I3(n4),n4},K3=function(e){delete i4[e]},"process"==G3(J3)?I3=function(e){J3.nextTick(a4(e))}:t4&&t4.now?I3=function(e){t4.now(a4(e))}:e4&&!Y3?($3=(L3=new e4).port2,L3.port1.onmessage=s4,I3=W3($3.postMessage,$3,1)):!B3.addEventListener||"function"!=typeof postMessage||B3.importScripts||q3(l4)||"file:"===Z3.protocol?I3=r4 in V3("script")?function(e){X3.appendChild(V3("script")).onreadystatechange=function(){X3.removeChild(this),o4(e)}}:function(e){setTimeout(a4(e),0)}:(I3=l4,B3.addEventListener("message",s4,!1)));var u4,c4,d4,p4,h4,f4,m4,g4,v4={set:H3,clear:K3},y4=EJ,b4=CJ.f,O4=RJ,_4=v4.set,w4=U3,x4=y4.MutationObserver||y4.WebKitMutationObserver,k4=y4.process,S4=y4.Promise,P4="process"==O4(k4),E4=b4(y4,"queueMicrotask"),C4=E4&&E4.value;C4||(u4=function(){var e,t;for(P4&&(e=k4.domain)&&e.exit();c4;){t=c4.fn,c4=c4.next;try{t()}catch(e){throw c4?p4():d4=void 0,e}}d4=void 0,e&&e.enter()},P4?p4=function(){k4.nextTick(u4)}:x4&&!w4?(h4=!0,f4=document.createTextNode(""),new x4(u4).observe(f4,{characterData:!0}),p4=function(){f4.data=h4=!h4}):S4&&S4.resolve?(m4=S4.resolve(void 0),g4=m4.then,p4=function(){g4.call(m4,u4)}):p4=function(){_4.call(y4,u4)});var F4=C4||function(e){var t={fn:e,next:void 0};d4&&(d4.next=t),c4||(c4=t,p4()),d4=t},T4={},D4=p2,A4=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=D4(t),this.reject=D4(n)};T4.f=function(e){return new A4(e)};var I4,L4,$4=p0,z4=GJ,R4=T4,j4=EJ,M4=N3,Q4=EJ.process,N4=Q4&&Q4.versions,U4=N4&&N4.v8;U4?L4=(I4=U4.split("."))[0]+I4[1]:M4&&(!(I4=M4.match(/Edge\/(\d+)/))||I4[1]>=74)&&(I4=M4.match(/Chrome\/(\d+)/))&&(L4=I4[1]);var B4,q4,G4,W4,X4=L4&&+L4,V4=d2,Y4=EJ,Z4=v1,H4=L2,K4=_0.exports,J4=function(e,t,n){for(var i in t)$2(e,i,t[i],n);return e},e6=K2,t6=i3,n6=GJ,i6=p2,r6=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},o6=RJ,a6=T0,s6=r3.exports,l6=function(e,t){if(!t&&!T3)return!1;var n=!1;try{var i={};i[F3]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n},u6=M3,c6=v4.set,d6=F4,p6=function(e,t){if($4(e),z4(t)&&t.constructor===e)return t;var n=R4.f(e);return(0,n.resolve)(t),n.promise},h6=function(e,t){var n=j4.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))},f6=T4,m6=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},g6=o1,v6=i2,y6=X4,b6=V2("species"),O6="Promise",_6=g6.get,w6=g6.set,x6=g6.getterFor(O6),k6=H4,S6=Y4.TypeError,P6=Y4.document,E6=Y4.process,C6=Z4("fetch"),F6=f6.f,T6=F6,D6="process"==o6(E6),A6=!!(P6&&P6.createEvent&&Y4.dispatchEvent),I6="unhandledrejection",L6=v6(O6,(function(){if(!(a6(k6)!==String(k6))){if(66===y6)return!0;if(!D6&&"function"!=typeof PromiseRejectionEvent)return!0}if(y6>=51&&/native code/.test(k6))return!1;var e=k6.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[b6]=t,!(e.then((function(){}))instanceof t)})),$6=L6||!l6((function(e){k6.all(e).catch((function(){}))})),z6=function(e){var t;return!(!n6(e)||"function"!=typeof(t=e.then))&&t},R6=function(e,t,n){if(!t.notified){t.notified=!0;var i=t.reactions;d6((function(){for(var r=t.value,o=1==t.state,a=0;i.length>a;){var s,l,u,c=i[a++],d=o?c.ok:c.fail,p=c.resolve,h=c.reject,f=c.domain;try{d?(o||(2===t.rejection&&N6(e,t),t.rejection=1),!0===d?s=r:(f&&f.enter(),s=d(r),f&&(f.exit(),u=!0)),s===c.promise?h(S6("Promise-chain cycle")):(l=z6(s))?l.call(s,p,h):p(s)):h(r)}catch(e){f&&!u&&f.exit(),h(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&M6(e,t)}))}},j6=function(e,t,n){var i,r;A6?((i=P6.createEvent("Event")).promise=t,i.reason=n,i.initEvent(e,!1,!0),Y4.dispatchEvent(i)):i={promise:t,reason:n},(r=Y4["on"+e])?r(i):e===I6&&h6("Unhandled promise rejection",n)},M6=function(e,t){c6.call(Y4,(function(){var n,i=t.value;if(Q6(t)&&(n=m6((function(){D6?E6.emit("unhandledRejection",i,e):j6(I6,e,i)})),t.rejection=D6||Q6(t)?2:1,n.error))throw n.value}))},Q6=function(e){return 1!==e.rejection&&!e.parent},N6=function(e,t){c6.call(Y4,(function(){D6?E6.emit("rejectionHandled",e):j6("rejectionhandled",e,t.value)}))},U6=function(e,t,n,i){return function(r){e(t,n,r,i)}},B6=function(e,t,n,i){t.done||(t.done=!0,i&&(t=i),t.value=n,t.state=2,R6(e,t,!0))},q6=function(e,t,n,i){if(!t.done){t.done=!0,i&&(t=i);try{if(e===n)throw S6("Promise can't be resolved itself");var r=z6(n);r?d6((function(){var i={done:!1};try{r.call(n,U6(q6,e,i,t),U6(B6,e,i,t))}catch(n){B6(e,i,n,t)}})):(t.value=n,t.state=1,R6(e,t,!1))}catch(n){B6(e,{done:!1},n,t)}}};function G6(e){switch(null==e?void 0:e.toLowerCase()){case"ar-dz":return Promise.resolve().then((function(){return NXi}));case"ar-kw":return Promise.resolve().then((function(){return BXi}));case"ar-ly":return Promise.resolve().then((function(){return GXi}));case"ar-ma":return Promise.resolve().then((function(){return XXi}));case"ar-sa":return Promise.resolve().then((function(){return YXi}));case"ar-tn":return Promise.resolve().then((function(){return HXi}));case"ar":return Promise.resolve().then((function(){return JXi}));case"bg":return Promise.resolve().then((function(){return tVi}));case"bn":return Promise.resolve().then((function(){return iVi}));case"ca":return Promise.resolve().then((function(){return oVi}));case"cs":return Promise.resolve().then((function(){return sVi}));case"da":return Promise.resolve().then((function(){return uVi}));case"de-at":return Promise.resolve().then((function(){return dVi}));case"de-ch":return Promise.resolve().then((function(){return hVi}));case"de":return Promise.resolve().then((function(){return mVi}));case"el":return Promise.resolve().then((function(){return vVi}));case"en-au":return Promise.resolve().then((function(){return bVi}));case"en-ca":return Promise.resolve().then((function(){return _Vi}));case"en-gb":return Promise.resolve().then((function(){return xVi}));case"en-ie":return Promise.resolve().then((function(){return SVi}));case"en-il":return Promise.resolve().then((function(){return EVi}));case"en-nz":return Promise.resolve().then((function(){return FVi}));case"en-sg":return Promise.resolve().then((function(){return DVi}));case"es-do":return Promise.resolve().then((function(){return IVi}));case"es-us":return Promise.resolve().then((function(){return $Vi}));case"es":return Promise.resolve().then((function(){return RVi}));case"et":return Promise.resolve().then((function(){return MVi}));case"fa":return Promise.resolve().then((function(){return NVi}));case"fi":return Promise.resolve().then((function(){return BVi}));case"fr-ca":return Promise.resolve().then((function(){return GVi}));case"fr-ch":return Promise.resolve().then((function(){return XVi}));case"fr":return Promise.resolve().then((function(){return YVi}));case"gu":return Promise.resolve().then((function(){return HVi}));case"he":return Promise.resolve().then((function(){return JVi}));case"hi":return Promise.resolve().then((function(){return tYi}));case"hr":return Promise.resolve().then((function(){return iYi}));case"hu":return Promise.resolve().then((function(){return oYi}));case"id":return Promise.resolve().then((function(){return sYi}));case"it-ch":return Promise.resolve().then((function(){return uYi}));case"it":return Promise.resolve().then((function(){return dYi}));case"ja":return Promise.resolve().then((function(){return hYi}));case"kn":return Promise.resolve().then((function(){return mYi}));case"ko":return Promise.resolve().then((function(){return vYi}));case"lt":return Promise.resolve().then((function(){return bYi}));case"lv":return Promise.resolve().then((function(){return _Yi}));case"ml":return Promise.resolve().then((function(){return xYi}));case"mr":return Promise.resolve().then((function(){return SYi}));case"ms-my":return Promise.resolve().then((function(){return EYi}));case"ms":return Promise.resolve().then((function(){return FYi}));case"nb":return Promise.resolve().then((function(){return DYi}));case"nl-be":return Promise.resolve().then((function(){return IYi}));case"nl":return Promise.resolve().then((function(){return $Yi}));case"pl":return Promise.resolve().then((function(){return RYi}));case"pt-br":return Promise.resolve().then((function(){return MYi}));case"pt":return Promise.resolve().then((function(){return NYi}));case"ro":return Promise.resolve().then((function(){return BYi}));case"ru":return Promise.resolve().then((function(){return GYi}));case"sk":return Promise.resolve().then((function(){return XYi}));case"sl":return Promise.resolve().then((function(){return YYi}));case"sr-cyrl":return Promise.resolve().then((function(){return HYi}));case"sr":return Promise.resolve().then((function(){return JYi}));case"sv":return Promise.resolve().then((function(){return tZi}));case"sw":return Promise.resolve().then((function(){return iZi}));case"ta":return Promise.resolve().then((function(){return oZi}));case"te":return Promise.resolve().then((function(){return sZi}));case"th":return Promise.resolve().then((function(){return uZi}));case"tr":return Promise.resolve().then((function(){return dZi}));case"uk":return Promise.resolve().then((function(){return hZi}));case"vi":return Promise.resolve().then((function(){return mZi}));case"zh-cn":return Promise.resolve().then((function(){return vZi}));case"zh-hk":return Promise.resolve().then((function(){return bZi}));case"zh-tw":return Promise.resolve().then((function(){return _Zi}));default:return Promise.resolve()}}L6&&(k6=function(e){r6(this,k6,O6),i6(e),B4.call(this);var t=_6(this);try{e(U6(q6,this,t),U6(B6,this,t))}catch(e){B6(this,t,e)}},(B4=function(e){w6(this,{type:O6,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=J4(k6.prototype,{then:function(e,t){var n=x6(this),i=F6(u6(this,k6));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=D6?E6.domain:void 0,n.parent=!0,n.reactions.push(i),0!=n.state&&R6(this,n,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),q4=function(){var e=new B4,t=_6(e);this.promise=e,this.resolve=U6(q6,e,t),this.reject=U6(B6,e,t)},f6.f=F6=function(e){return e===k6||e===G4?new q4(e):T6(e)},"function"==typeof H4&&(W4=H4.prototype.then,K4(H4.prototype,"then",(function(e,t){var n=this;return new k6((function(e,t){W4.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof C6&&V4({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return p6(k6,C6.apply(Y4,arguments))}}))),V4({global:!0,wrap:!0,forced:L6},{Promise:k6}),e6(k6,O6,!1),t6(O6),G4=Z4(O6),V4({target:O6,stat:!0,forced:L6},{reject:function(e){var t=F6(this);return t.reject.call(void 0,e),t.promise}}),V4({target:O6,stat:!0,forced:L6},{resolve:function(e){return p6(this,e)}}),V4({target:O6,stat:!0,forced:$6},{all:function(e){var t=this,n=F6(t),i=n.resolve,r=n.reject,o=m6((function(){var n=i6(t.resolve),o=[],a=0,s=1;s6(e,(function(e){var l=a++,u=!1;o.push(void 0),s++,n.call(t,e).then((function(e){u||(u=!0,o[l]=e,--s||i(o))}),r)})),--s||i(o)}));return o.error&&r(o.value),n.promise},race:function(e){var t=this,n=F6(t),i=n.reject,r=m6((function(){var r=i6(t.resolve);s6(e,(function(e){r.call(t,e).then(n.resolve,i)}))}));return r.error&&i(r.value),n.promise}});var W6=function(e){var n,r=e.language,o=e.locale,a=e.importLanguageResourcesAsync,s=e.children,l=i.useState(null),u=l[0],c=l[1],d=kJ(),p=d.getLocalLanguage,h=d.getLocaleFromLocalStorage;return i.useEffect((function(){(function(){return uJ(this,void 0,void 0,(function(){var e,t,n,i;return cJ(this,(function(a){switch(a.label){case 0:return e=f,null==r?[3,1]:(t=r,[3,3]);case 1:return[4,p()];case 2:t=a.sent(),a.label=3;case 3:return n=[t],null==o?[3,4]:(i=o,[3,6]);case 4:return[4,h()];case 5:i=a.sent(),a.label=6;case 6:return[4,e.apply(void 0,n.concat([i]))];case 7:return a.sent(),[2]}}))}))})().then((function(){return null}),ng.error)}),[]),(null===(n=null==u?void 0:u.resources)||void 0===n?void 0:n[u.language])?t.jsx(SS.Provider,sJ({value:{language:u.language,changeLocale:function(e){return function(e,t){return uJ(this,void 0,void 0,(function(){return cJ(this,(function(n){switch(n.label){case 0:return[4,X6(e||t)];case 1:return n.sent(),c((function(t){return sJ(sJ({},t),{locale:e})})),[2]}}))}))}(e,u.language)},changeLanguage:function(e){return uJ(this,void 0,void 0,(function(){var t;return cJ(this,(function(n){switch(n.label){case 0:return[4,m(e=null==e?void 0:e.toLocaleLowerCase())];case 1:return t=n.sent(),u.locale?[3,3]:[4,X6(e)];case 2:n.sent(),n.label=3;case 3:return c((function(n){return sJ(sJ({},n),{language:e,resources:t})})),[2]}}))}))},changeSettings:f,addResources:function(e){c((function(t){var n=Object.keys(e).reduce((function(n,i){var r;return(r={})[i]=sJ(sJ(sJ({},n),t.resources[i]),e[i]),r}),{});return sJ(sJ({},t),{resources:sJ(sJ({},t.resources),n)})}))}}},{children:t.jsx(tS,sJ({locale:u.locale||u.language,messages:u.resources[u.language]},{children:t.jsx(kS,{children:s},void 0)}),void 0)}),void 0):null;function f(e,t){return uJ(this,void 0,void 0,(function(){var n;return cJ(this,(function(i){switch(i.label){case 0:return e=null==e?void 0:e.toLocaleLowerCase(),(null==u?void 0:u.language)===e&&(null==u?void 0:u.locale)===t?[2]:[4,m(e)];case 1:return n=i.sent(),[4,X6(t||e)];case 2:return i.sent(),c({language:e,locale:t,resources:n}),[2]}}))}))}function m(e){return uJ(this,void 0,void 0,(function(){var t;return cJ(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,g(e)];case 1:return[2,n.sent()];case 2:return t=n.sent(),ng.error(t),[2,null];case 3:return[2]}}))}))}function g(e){var t;return uJ(this,void 0,void 0,(function(){var n,i,r;return cJ(this,(function(o){switch(o.label){case 0:if(null==e)return[2,null];if(null===(t=null==u?void 0:u.resources)||void 0===t?void 0:t[e])return[2,u.resources];o.label=1;case 1:return o.trys.push([1,3,,4]),e=e.toLowerCase(),n=v,i=[e],[4,a(e)];case 2:return[2,n.apply(void 0,i.concat([o.sent().default]))];case 3:return r=o.sent(),ng.error(r),[2,{}];case 4:return[2]}}))}))}function v(e,t){var n,i,r,o=window.__localeResourcesInterceptor||{};return sJ(sJ(sJ({},null!==(r=null==u?void 0:u.resources)&&void 0!==r?r:{}),((n={})[e]=t,n)),o[e]&&((i={})[e]=o[e],i))}};function X6(e){return uJ(this,void 0,void 0,(function(){var t;return cJ(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,G6(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 V6(e){switch(null==e?void 0:e.toLowerCase()){case"da":return Promise.resolve().then((function(){return wZi}));case"de":return Promise.resolve().then((function(){return xZi}));case"fr":return Promise.resolve().then((function(){return kZi}));case"es":return Promise.resolve().then((function(){return SZi}));case"zh-tw":return Promise.resolve().then((function(){return PZi}));case"zh-cn":return Promise.resolve().then((function(){return EZi}));case"ja":return Promise.resolve().then((function(){return CZi}));case"tr":return Promise.resolve().then((function(){return FZi}));case"it":return Promise.resolve().then((function(){return TZi}));default:return Promise.resolve().then((function(){return DZi}))}}var Y6=function(e){var n=e.language,i=e.locale,r=e.children;return t.jsx(W6,sJ({language:n,locale:i,importLanguageResourcesAsync:V6},{children:r}),void 0)};function Z6(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 QZi}));case"ar-ma":return Promise.resolve().then((function(){return YZi}));case"ar-sa":return Promise.resolve().then((function(){return rHi}));case"bg":return Promise.resolve().then((function(){return yHi}));case"bn":return Promise.resolve().then((function(){return IHi}));case"ca":return Promise.resolve().then((function(){return XHi}));case"cs":return Promise.resolve().then((function(){return sKi}));case"da":return Promise.resolve().then((function(){return OKi}));case"de":case"de-ch":case"de-at":return Promise.resolve().then((function(){return IKi}));case"el":return Promise.resolve().then((function(){return BKi}));case"en-au":return Promise.resolve().then((function(){return GKi}));case"en-ca":return Promise.resolve().then((function(){return YKi}));case"en-gb":case"en-il":case"en-ie":case"en-sg":return Promise.resolve().then((function(){return HKi}));case"en-nz":return Promise.resolve().then((function(){return JKi}));case"es":case"es-us":case"es-do":return Promise.resolve().then((function(){return uJi}));case"et":return Promise.resolve().then((function(){return OJi}));case"fa":return Promise.resolve().then((function(){return FJi}));case"fi":return Promise.resolve().then((function(){return VJi}));case"fr-ca":return Promise.resolve().then((function(){return r0i}));case"fr-ch":return Promise.resolve().then((function(){return u0i}));case"fr":return Promise.resolve().then((function(){return d0i}));case"gu":return Promise.resolve().then((function(){return O0i}));case"he":return Promise.resolve().then((function(){return D0i}));case"hi":return Promise.resolve().then((function(){return U0i}));case"hr":return Promise.resolve().then((function(){return H0i}));case"hu":return Promise.resolve().then((function(){return c1i}));case"id":return Promise.resolve().then((function(){return b1i}));case"it":case"it-ch":return Promise.resolve().then((function(){return D1i}));case"ja":return Promise.resolve().then((function(){return N1i}));case"kn":return Promise.resolve().then((function(){return H1i}));case"ko":return Promise.resolve().then((function(){return s2i}));case"lt":return Promise.resolve().then((function(){return w2i}));case"lv":return Promise.resolve().then((function(){return I2i}));case"ms":case"ms-my":return Promise.resolve().then((function(){return U2i}));case"nb":return Promise.resolve().then((function(){return H2i}));case"nl-be":return Promise.resolve().then((function(){return a3i}));case"nl":return Promise.resolve().then((function(){return m3i}));case"pl":return Promise.resolve().then((function(){return T3i}));case"pt-br":return Promise.resolve().then((function(){return Q3i}));case"pt":return Promise.resolve().then((function(){return Y3i}));case"ro":return Promise.resolve().then((function(){return r4i}));case"ru":return Promise.resolve().then((function(){return y4i}));case"sk":return Promise.resolve().then((function(){return A4i}));case"sl":return Promise.resolve().then((function(){return N4i}));case"sr-cyrl":return Promise.resolve().then((function(){return Z4i}));case"sr":return Promise.resolve().then((function(){return o6i}));case"sv":return Promise.resolve().then((function(){return g6i}));case"ta":return Promise.resolve().then((function(){return S6i}));case"te":return Promise.resolve().then((function(){return L6i}));case"th":return Promise.resolve().then((function(){return B6i}));case"tr":return Promise.resolve().then((function(){return K6i}));case"uk":return Promise.resolve().then((function(){return p5i}));case"vi":return Promise.resolve().then((function(){return w5i}));case"zh-cn":case"zh-hk":return Promise.resolve().then((function(){return I5i}));case"zh-tw":return Promise.resolve().then((function(){return B5i}));default:return Promise.resolve().then((function(){return q5i}))}}var H6,K6,J6,e5,t5,n5,i5,r5,o5,a5,s5,l5,u5,c5,d5=["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"],p5=function(){},h5=i.createContext(null);function f5(){return i.useContext(h5)}function m5(){var e=i.useContext(h5);return null==e?void 0:e.user}function g5(){var e=m5();return function(e){var t,n=new p5;if(!e)return n;for(var i=0;i<d5.length;i++){var r=d5[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"}(H6||(H6={})),function(e){e[e.AnyGroupOrAnyProperty=0]="AnyGroupOrAnyProperty",e[e.AnyGroupAndAnyProperty=1]="AnyGroupAndAnyProperty"}(K6||(K6={})),function(e){e.large="large",e.small="small"}(J6||(J6={})),function(e){e[e.Success=1]="Success",e[e.InvalidHash=2]="InvalidHash",e[e.OneDirectoryLimit=3]="OneDirectoryLimit",e[e.CurrentTenantAlreadyLinked=4]="CurrentTenantAlreadyLinked"}(e5||(e5={})),function(e){e.global="Global",e.page="Page",e.eventEditorFeedbackSection="EventEditorFeedbackSection",e.eventDetailViewSection="EventDetailViewSection",e.itemEditor="ItemEditor",e.newsEditorFeedbackSection="NewsEditorFeedbackSection",e.newsOverviewCardSection="NewsOverviewCardSection"}(t5||(t5={})),function(e){e[e.Unknown=0]="Unknown",e[e.Text=1]="Text",e[e.MultilineText=2]="MultilineText"}(n5||(n5={})),function(e){e[e.Unknown=0]="Unknown",e[e.AdminOnly=1]="AdminOnly",e[e.UserEditable=2]="UserEditable",e[e.Hidden=3]="Hidden"}(i5||(i5={})),function(e){e.Admin="Admin",e.Editor="Editor",e.Author="Author",e.Reader="Reader",e.LimitedReader="LimitedReader",e.None="None"}(r5||(r5={})),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"}(o5||(o5={})),function(e){e[e.Success=1]="Success",e[e.InvalidHash=2]="InvalidHash",e[e.InvalidEmail=3]="InvalidEmail",e[e.NotPending=4]="NotPending"}(a5||(a5={})),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"}(s5||(s5={})),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"}(l5||(l5={})),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"}(u5||(u5={})),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"}(c5||(c5={}));var v5=GJ,y5=RJ,b5=V2("match"),O5=function(e){var t;return v5(e)&&(void 0!==(t=e[b5])?!!t:"RegExp"==y5(e))},_5=O5,w5=function(e){if(_5(e))throw TypeError("The method doesn't accept regular expressions");return e},x5=V2("match"),k5=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[x5]=!1,"/./"[e](t)}catch(e){}}return!1},S5=w5,P5=NJ;d2({target:"String",proto:!0,forced:!k5("includes")},{includes:function(e){return!!~String(P5(this)).indexOf(S5(e),arguments.length>1?arguments[1]:void 0)}});var E5=d2,C5=CJ.f,F5=k1,T5=w5,D5=NJ,A5=k5,I5="".endsWith,L5=Math.min,$5=A5("endsWith"),z5=!$5&&!!function(){var e=C5(String.prototype,"endsWith");return e&&!e.writable}();function R5(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 j5(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 M5(e,t,n){return n||(n=function(){return!0}),t.groups.filter((function(t){return t.role.roleValue>=e&&n(t)}))}function Q5(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 o5.None;if(e.isSubscriptionOwner)return o5.Admin;var r=e.groups.filter((function(e){return i.includes(e.id)}));return r.length!==i.length?o5.None:r.reduce((function(e,t){return t.role.roleValue<e?t.role.roleValue:e}),o5.Admin)}function N5(e){return!!e&&e.endsWith("@hidden-email.reach.livetiles.io")}E5({target:"String",proto:!0,forced:!z5&&!$5},{endsWith:function(e){var t=String(D5(this));T5(e);var n=arguments.length>1?arguments[1]:void 0,i=F5(t.length),r=void 0===n?i:L5(F5(n),i),o=String(e);return I5?I5.call(t,o,r):t.slice(r-o.length,r)===o}});var U5,B5,q5,G5,W5,X5,V5,Y5,Z5,H5,K5,J5,e9,t9,n9,i9,r9={},o9={};function a9(){var e=oB();return i.useMemo((function(){return{searchAccounts:t,searchAccountsByItemId:function(e,n,i){return t({search:i,type:H6.User,includePendingInvitationUsers:!0,includePendingRegistrationUsers:!0,localOnly:!0,excludeApiUsers:!0,itemId:n,minRole:e})},getUserInfo:function(t){o9[t]||(o9[t]=e.custom("users/"+t+"/info").get().then((function(e){return e.body().data()})).catch((function(e){if(o9[t]=null,e.response&&404===e.response.statusCode)return{userPrincipalName:t};throw e})));return o9[t]},getUserInfoById:function(t){o9[t]||(o9[t]=e.custom("users/by_id/"+t+"/info").get().then((function(e){return e.body().data()})).catch((function(e){if(o9[t]=null,e.response&&404===e.response.statusCode)return{userPrincipalName:t};throw e})));return o9[t]},getUserAvatarUrl:function(t,n){r9[t]||(r9[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 Zq(r9[t])},clearUserInfoCache:function(e){o9[e]&&delete o9[e]},clearUserAvatarCache:function(e){r9[e]&&delete r9[e]}};function t(t){var n=Wm.stringify(t);return e.all("accounts?"+n).getAll().then((function(e){return e.body(!1)}))}}),[e])}function s9(){var e=oB(),t=rB(),n=i.useContext(Nw).onRequestToken;return i.useMemo((function(){return{getCurrentUser:function(e,t){void 0===t&&(t=!0);return uJ(this,void 0,void 0,(function(){var n,o;return cJ(this,(function(a){switch(a.label){case 0:return e?[4,i(e,t)]:[3,2];case 1:return o=a.sent(),[3,4];case 2:return[4,r(t)];case 3:o=a.sent(),a.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>=o5.Admin,isEditor:n||t>=o5.Editor,isAuthor:n||t>=o5.Author,isReader:n||t>=o5.Reader}}(e),e.hasDirectory=e.subscription&&e.subscription.directories&&e.subscription.directories.length>0)}(n=o),[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 uJ(this,void 0,void 0,(function(){var r,o,a;return cJ(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 o=s.sent(),a={method:"PUT",body:r,headers:{authorization:"Bearer "+o,"subscription-id":e}},[2,t.fetchFromApi("/users/current/avatar",a)]}}))}))},deleteCurrentUserAvatar:function(){return uJ(this,void 0,void 0,(function(){return cJ(this,(function(t){return[2,e.custom("users/current/avatar").delete()]}))}))}};function i(e,n){return uJ(this,void 0,void 0,(function(){var i;return cJ(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 uJ(this,void 0,void 0,(function(){return cJ(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 l9(e){switch(e){case n9.YouTube:return t9.YouTube;case n9.Vimeo:return t9.Vimeo;case n9.MicrosoftStream:return t9.MicrosoftStream;case n9.GenericUrl:return t9.GenericUrl;case n9.Kaltura:return t9.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"}(U5||(U5={})),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"}(B5||(B5={})),function(e){e[e.Public=0]="Public",e[e.Editor=1]="Editor",e[e.Posts=2]="Posts"}(q5||(q5={})),e.ItemResourceTypes=void 0,(G5=e.ItemResourceTypes||(e.ItemResourceTypes={})).News="news",G5.Pages="pages",G5.Posts="posts",G5.Events="events",G5.Comments="comments",function(e){e[e.NotSet=0]="NotSet",e[e.Registered=1]="Registered",e[e.Declined=2]="Declined"}(W5||(W5={})),function(e){e[e.None=0]="None",e[e.FullSeries=1]="FullSeries",e[e.PerInstance=2]="PerInstance"}(X5||(X5={})),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"}(V5||(V5={})),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"}(Y5||(Y5={})),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"}(Z5||(Z5={})),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"}(H5||(H5={})),e.PageType=void 0,(K5=e.PageType||(e.PageType={}))[K5.Page=0]="Page",K5[K5.Document=1]="Document",function(e){e[e.None=0]="None",e[e.Unconfirmed=1]="Unconfirmed",e[e.Alert=2]="Alert"}(J5||(J5={})),function(e){e.draft="draft",e.ready="ready",e.rejected="rejected",e.approved="approved",e.deleted="deleted"}(e9||(e9={})),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"}(t9||(t9={})),function(e){e.YouTube="YOUTUBE",e.Vimeo="VIMEO",e.MicrosoftStream="MICROSOFTSTREAM",e.GenericUrl="GENERICURL",e.Kaltura="KALTURA"}(n9||(n9={})),function(e){e[e.unknown=0]="unknown",e[e.pending=1]="pending",e[e.complete=2]="complete",e[e.error=3]="error"}(i9||(i9={}));var u9=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}aJ(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t}(Error);function c9(e,t){if(e.size>1e6*t){var n=new u9(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,o=new FormData;return o.append("file",e),o}function d9(){var e=Gm(),t=rB(),n=t.createApiUrl,r=t.fetchFromApi,o=i.useContext(Nw).onRequestToken;return i.useMemo((function(){return{getFileUrlWithToken:function(e,t,i,r,o,a){return n("/"+a+"/"+t+"/files/"+r,{access_token:e,subscriptionId:i,originalFileName:o})},uploadFile:function(t,n,i,a,s){return uJ(this,void 0,void 0,(function(){var l,u,c;return cJ(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=c9(a,e.maxFileSizeInMb),[4,o()];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,o])}var p9=R1,h9=j1,f9=Object.keys||function(e){return p9(e,h9)},m9=TJ,g9=FJ,v9=f9,y9=N1,b9=DJ,O9=f2,_9=QJ,w9=Object.assign,x9=Object.defineProperty,k9=!w9||g9((function(){if(m9&&1!==w9({b:1},w9(x9({},"a",{enumerable:!0,get:function(){x9(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!=w9({},e)[n]||v9(w9({},t)).join("")!=i}))?function(e,t){for(var n=O9(e),i=arguments.length,r=1,o=y9.f,a=b9.f;i>r;)for(var s,l=_9(arguments[r++]),u=o?v9(l).concat(o(l)):v9(l),c=u.length,d=0;c>d;)s=u[d++],m9&&!a.call(l,s)||(n[s]=l[s]);return n}:w9,S9=k9;d2({target:"Object",stat:!0,forced:Object.assign!==S9},{assign:S9});var P9=["rm"],E9=["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 C9(e){return e.preferredContentLanguage||e.preferredUiLanguage||cw()||e.subscription&&e.subscription.defaultLanguage||"en"}function F9(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t?t.map((function(t){return sJ(sJ({},t),{localizedName:e.formatMessage({id:"Generic.languages."+t.code,defaultMessage:t.englishName})})})):[]}function T9(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 D9(e){var t={};return(e||[]).forEach((function(e){t[e.groupId]||(t[e.groupId]=[]),t[e.groupId].push(e)})),t}function A9(e,t,n,i,r,o){var a=i||r;if(null==e)return a;var s=e.find((function(e){return e.name===r}))||e.find((function(e){return e.id===n}));if(!s)return a;if(!i)return I9(t,s.translations,a,o);var l=s&&s.keywords.find((function(e){return e.name===i}));return l?I9(t,l.translations,a,o):a}function I9(e,t,n,i){return null==t&&(t={}),i||(i=C9(e)),i&&t[i]||t[e.subscription.defaultLanguage]||n}var L9=p0,$9=function(){var e=L9(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},z9={},R9=FJ;function j9(e,t){return RegExp(e,t)}z9.UNSUPPORTED_Y=R9((function(){var e=j9("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),z9.BROKEN_CARET=R9((function(){var e=j9("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));var M9=$9,Q9=z9,N9=RegExp.prototype.exec,U9=String.prototype.replace,B9=N9,q9=function(){var e=/a/,t=/b*/g;return N9.call(e,"a"),N9.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),G9=Q9.UNSUPPORTED_Y||Q9.BROKEN_CARET,W9=void 0!==/()??/.exec("")[1];(q9||W9||G9)&&(B9=function(e){var t,n,i,r,o=this,a=G9&&o.sticky,s=M9.call(o),l=o.source,u=0,c=e;return a&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),c=String(e).slice(o.lastIndex),o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==e[o.lastIndex-1])&&(l="(?: "+l+")",c=" "+c,u++),n=new RegExp("^(?:"+l+")",s)),W9&&(n=new RegExp("^"+l+"$(?!\\s)",s)),q9&&(t=o.lastIndex),i=N9.call(a?n:o,c),a?i?(i.input=i.input.slice(u),i[0]=i[0].slice(u),i.index=o.lastIndex,o.lastIndex+=i[0].length):o.lastIndex=0:q9&&i&&(o.lastIndex=o.global?i.index+i[0].length:t),W9&&i&&i.length>1&&U9.call(i[0],n,(function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(i[r]=void 0)})),i});var X9=B9;d2({target:"RegExp",proto:!0,forced:/./.exec!==X9},{exec:X9});var V9=_0.exports,Y9=FJ,Z9=V2,H9=X9,K9=O0,J9=Z9("species"),e8=!Y9((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),t8="$0"==="a".replace(/./,"$0"),n8=Z9("replace"),i8=!!/./[n8]&&""===/./[n8]("a","$0"),r8=!Y9((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]})),o8=function(e,t,n,i){var r=Z9(e),o=!Y9((function(){var t={};return t[r]=function(){return 7},7!=""[e](t)})),a=o&&!Y9((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[J9]=function(){return n},n.flags="",n[r]=/./[r]),n.exec=function(){return t=!0,null},n[r](""),!t}));if(!o||!a||"replace"===e&&(!e8||!t8||i8)||"split"===e&&!r8){var s=/./[r],l=n(r,""[e],(function(e,t,n,i,r){return t.exec===H9?o&&!r?{done:!0,value:s.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}}),{REPLACE_KEEPS_$0:t8,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:i8}),u=l[0],c=l[1];V9(String.prototype,e,u),V9(RegExp.prototype,r,2==t?function(e,t){return c.call(e,this,t)}:function(e){return c.call(e,this)})}i&&K9(RegExp.prototype[r],"sham",!0)},a8=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},s8=RJ,l8=X9,u8=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"!==s8(e))throw TypeError("RegExp#exec called on incompatible receiver");return l8.call(e,t)},c8=p0,d8=NJ,p8=a8,h8=u8;o8("search",1,(function(e,t,n){return[function(t){var n=d8(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=c8(e),o=String(this),a=r.lastIndex;p8(a,0)||(r.lastIndex=0);var s=h8(r,o);return p8(r.lastIndex,a)||(r.lastIndex=a),null===s?-1:s.index}]}));var f8=_1,m8=NJ,g8=function(e){return function(t,n){var i,r,o=String(m8(t)),a=f8(n),s=o.length;return a<0||a>=s?e?"":void 0:(i=o.charCodeAt(a))<55296||i>56319||a+1===s||(r=o.charCodeAt(a+1))<56320||r>57343?e?o.charAt(a):i:e?o.slice(a,a+2):r-56320+(i-55296<<10)+65536}},v8={codeAt:g8(!1),charAt:g8(!0)}.charAt,y8=function(e,t,n){return t+(n?v8(e,t).length:1)},b8=o8,O8=p0,_8=f2,w8=k1,x8=_1,k8=NJ,S8=y8,P8=u8,E8=Math.max,C8=Math.min,F8=Math.floor,T8=/\$([$&'`]|\d\d?|<[^>]*>)/g,D8=/\$([$&'`]|\d\d?)/g,A8=function(e){return void 0===e?e:String(e)};function I8(e){var t;return uJ(this,void 0,void 0,(function(){var n;return cJ(this,(function(i){return n="string"==typeof e?new Error(e):e,403===(null===(t=n.response)||void 0===t?void 0:t.statusCode)?(yre(Zre.create()),[2,!0]):[2,!1]}))}))}function L8(e){var t;return uJ(this,void 0,void 0,(function(){return cJ(this,(function(n){return 403===(null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.statusCode)?(yre(Hre.create()),[2,!0]):[2,!1]}))}))}b8("replace",2,(function(e,t,n,i){var r=i.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,o=i.REPLACE_KEEPS_$0,a=r?"$":"$0";return[function(n,i){var r=k8(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,r,i):t.call(String(r),n,i)},function(e,i){if(!r&&o||"string"==typeof i&&-1===i.indexOf(a)){var l=n(t,e,this,i);if(l.done)return l.value}var u=O8(e),c=String(this),d="function"==typeof i;d||(i=String(i));var p=u.global;if(p){var h=u.unicode;u.lastIndex=0}for(var f=[];;){var m=P8(u,c);if(null===m)break;if(f.push(m),!p)break;""===String(m[0])&&(u.lastIndex=S8(c,w8(u.lastIndex),h))}for(var g="",v=0,y=0;y<f.length;y++){m=f[y];for(var b=String(m[0]),O=E8(C8(x8(m.index),c.length),0),_=[],w=1;w<m.length;w++)_.push(A8(m[w]));var x=m.groups;if(d){var k=[b].concat(_,O,c);void 0!==x&&k.push(x);var S=String(i.apply(void 0,k))}else S=s(b,c,O,_,x,i);O>=v&&(g+=c.slice(v,O)+S,v=O+b.length)}return g+c.slice(v)}];function s(e,n,i,r,o,a){var s=i+e.length,l=r.length,u=D8;return void 0!==o&&(o=_8(o),u=T8),t.call(a,u,(function(t,a){var u;switch(a.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,i);case"'":return n.slice(s);case"<":u=o[a.slice(1,-1)];break;default:var c=+a;if(0===c)return t;if(c>l){var d=F8(c/10);return 0===d?t:d<=l?void 0===r[d-1]?a.charAt(1):r[d-1]+a.charAt(1):t}u=r[c-1]}return void 0===u?"":u}))}}));var $8="\t\n\v\f\r                 \u2028\u2029\ufeff",z8=NJ,R8="[\t\n\v\f\r                 \u2028\u2029\ufeff]",j8=RegExp("^"+R8+R8+"*"),M8=RegExp(R8+R8+"*$"),Q8=function(e){return function(t){var n=String(z8(t));return 1&e&&(n=n.replace(j8,"")),2&e&&(n=n.replace(M8,"")),n}},N8={start:Q8(1),end:Q8(2),trim:Q8(3)},U8=FJ,B8=$8,q8=N8.trim,G8=function(e){return U8((function(){return!!B8[e]()||"​…᠎"!="​…᠎"[e]()||B8[e].name!==e}))};d2({target:"String",proto:!0,forced:G8("trim")},{trim:function(){return q8(this)}});var W8=GJ,X8=p0,V8=function(e){if(!W8(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e},Y8=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 X8(n),V8(i),t?e.call(n,i):n.__proto__=i,n}}():void 0),Z8=GJ,H8=Y8,K8=TJ,J8=EJ,e7=i2,t7=function(e,t,n){var i,r;return H8&&"function"==typeof(i=t.constructor)&&i!==n&&Z8(r=i.prototype)&&r!==n.prototype&&H8(e,r),e},n7=c0.f,i7=y1.f,r7=O5,o7=$9,a7=z9,s7=_0.exports,l7=FJ,u7=o1.set,c7=i3,d7=V2("match"),p7=J8.RegExp,h7=p7.prototype,f7=/a/g,m7=/a/g,g7=new p7(f7)!==f7,v7=a7.UNSUPPORTED_Y;if(K8&&e7("RegExp",!g7||v7||l7((function(){return m7[d7]=!1,p7(f7)!=f7||p7(m7)==m7||"/a/i"!=p7(f7,"i")})))){for(var y7=function(e,t){var n,i=this instanceof y7,r=r7(e),o=void 0===t;if(!i&&r&&e.constructor===y7&&o)return e;g7?r&&!o&&(e=e.source):e instanceof y7&&(o&&(t=o7.call(e)),e=e.source),v7&&(n=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var a=t7(g7?new p7(e,t):p7(e,t),i?this:h7,y7);return v7&&n&&u7(a,{sticky:n}),a},b7=function(e){e in y7||n7(y7,e,{configurable:!0,get:function(){return p7[e]},set:function(t){p7[e]=t}})},O7=i7(p7),_7=0;O7.length>_7;)b7(O7[_7++]);h7.constructor=y7,y7.prototype=h7,s7(J8,"RegExp",y7)}c7("RegExp");var w7=_0.exports,x7=p0,k7=FJ,S7=$9,P7="toString",E7=RegExp.prototype,C7=E7.toString,F7=k7((function(){return"/a/b"!=C7.call({source:"a",flags:"b"})})),T7=C7.name!=P7;(F7||T7)&&w7(RegExp.prototype,P7,(function(){var e=x7(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in E7)?S7.call(e):n)}),{unsafe:!0});var D7,A7=985,I7=10,L7=20,$7=30,z7=40,R7=60,j7=550,M7=768,Q7=1024,N7=1350,U7=1640,B7=549,q7=767,G7=1023,W7=1349,X7=25,V7=18,Y7=16,Z7=14,H7=12,K7=21/9,J7="rgba(0, 0, 0, 0.2)",eee="rgb(221, 221, 221)",tee="rgb(206, 255, 188)",nee=L7,iee=R7,ree=20;!function(e){e.Internal="internal",e.External="external",e.Download="download"}(D7||(D7={}));var oee,aee,see,lee,uee="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"}(oee||(oee={})),function(e){e.click="click",e.navigate="navigate",e.view="view",e.search="search"}(aee||(aee={})),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"}(see||(see={})),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"}(lee||(lee={}));var cee=i.createContext(null),dee=function(e){var n=e.module,r=e.children,o=i.useMemo((function(){return n}),[n]);return t.jsx(cee.Provider,sJ({value:o},{children:r}),void 0)},pee=i.createContext(void 0);function hee(){var e=i.useContext(pee);if(!e)throw new Error("useAnalyticsContext must be used within the AnalyticsContextProvider");var t=i.useContext(cee);return sJ(sJ({},e),{interaction:function(n){var i,r,o;return e.interaction(sJ(sJ({},n),{module:null!=t?t:null===(i=e.contextualProperties)||void 0===i?void 0:i.module,item:null!==(r=n.item)&&void 0!==r?r:null===(o=e.contextualProperties)||void 0===o?void 0:o.item}))}})}var fee=function(e){var n,i,r=e.appName,o=e.children,a=Gm(),s=a.analytics,l=a.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(mee,sJ({appName:u,analyticsConfig:{hostName:s.hostName,regions:s.regions},shouldDisableTracking:l===is.Local||l===is.CiTestsDocker,moduleInstance:{contextualProperties:null,setContextualProperties:function(){return null}},disableScrollTracking:!0,isProduction:l===is.Production},{children:o}),void 0)},mee=function(e){var n,r,o=e.appName,a=e.analyticsConfig,s=e.shouldDisableTracking,l=e.moduleInstance,u=e.isProduction,c=e.children,d=Am(),p=m5(),h=i.useCallback((function(){return{build:d.buildId,name:o,version:d.version}}),[d.buildId,d.version,o]),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:p.subscription.id,name:null!==(e=p.subscription.subscriptionName)&&void 0!==e?e:uee,organisation:p.subscription.company||""}}),[p.subscription]),y=i.useCallback((function(){var e,t;if(s)return"";var n=null===(e=a.regions)||void 0===e?void 0:e[(null===(t=p.subscription.regionSettings)||void 0===t?void 0:t.name)||"global"];return u?n?"api-"+n+"."+a.hostName:"":"api."+a.hostName}),[u,null===(n=p.subscription.regionSettings)||void 0===n?void 0:n.name]),b=i.useMemo((function(){return((e,t)=>{const n=eK.load({writeKey:"VALUE_NOT_REQUIRED",cdnURL:t,cdnSettings:{integrations:{"Segment.io":{}}},plugins:[UK(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=>JX(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=>JX(void 0,null,(function*(){yield n.track("interaction",e)})),activity:e=>oJ(i,e)}})({getAppInfo:h,getBrowserInfo:f,getDeviceInfo:m,getOsInfo:g,getWorkspaceInfo:v},y())}),[h,f,m,g,v,y]),O=null===(r=null==l?void 0:l.contextualProperties)||void 0===r?void 0:r.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:aee.search,module:t,search:i})},onItemRead:function(r){if(n.current.length){var o=dJ([],n.current);i();var a=o[o.length-1],s=a.results.find((function(e){return e.itemId===r})),l=s?{id:s.itemId,type:s.itemType}:null;e.interaction({event:"search",action:aee.search,module:t,item:l,search:a})}}};function i(){n.current.splice(0,n.current.length)}}),[e,t])}(b,O);i.useEffect((function(){var e,t=p.userPrincipalName;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}}(p);b.identify(t,n)}}),[b,p]);var w=sJ(sJ(sJ({},b),l),_);return t.jsx(pee.Provider,sJ({value:w},{children:t.jsx(gee,{children:c},void 0)}),void 0)},gee=function(e){var n,r=e.children;return n=hee().interaction,i.useEffect((function(){var e=function(){window.setTimeout((function(){document.querySelectorAll(".video-view-container iframe").forEach((function(e){document.activeElement===e&&n({event:oee.embeddedIframe,value:e.src,action:aee.click})}))}),0)};return window.addEventListener("blur",e),function(){window.removeEventListener("blur",e)}}),[n]),function(){var e=hee().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)===D7.External&&e({event:oee.externalLink,action:aee.click,value:n.href}),"A"===(null==n?void 0:n.tagName)&&(null==i?void 0:i.value)===D7.Download&&e({event:oee.downloadFile,action:aee.click,value:n.href})};return window.addEventListener("click",t),function(){window.removeEventListener("click",t)}}),[e])}(),t.jsx(t.Fragment,{children:r},void 0)};var vee=new yq;function yee(e,t,n){var r=i.useRef({}),o=hee(),a=o.interaction,s=o.contextualProperties;i.useEffect((function(){e&&t.forEach((function(e){r.current[e.id]||(r.current[e.id]=!0,a({action:aee.view,item:{id:e.id,type:n}}))}))}),[e,t,n,a,null==s?void 0:s.module])}function bee(){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 Oee(){var e=r.useLocation(),t=os.isTeams;return function(n){if(!t)return{modalRouting:{isActive:!0,itemId:n,backgroundLocation:sJ(sJ({},e),{state:{modalRouting:{isActive:!0}}})}}}}vee.pipe(jX(100),WX()),vee.pipe(WX());var _ee=null,wee=null;function xee(e){var t=i.useContext(cee),n=hee(),o=n.contextualProperties,a=n.activity,s=bee(),l=s.isModalRoutingActive,u=s.backgroundLocation,c=r.useLocation(),d=i.useCallback((function(){return null==_ee||_ee.disable(),_ee=a({scrollElement:e,module:null!=t?t:null==o?void 0:o.module})}),[a,null==o?void 0:o.module,t,e]),p=i.useCallback((function(){null==_ee||_ee.send(null!=t?t:null==o?void 0:o.module,{path:c.pathname,referrer:document.referrer,search:c.search,title:document.title,url:""+window.location.origin+c.pathname})}),[c.pathname,c.search,null==o?void 0:o.module,t]);return i.useEffect((function(){l?(null==u?void 0:u.pathname)===wee&&(p(),wee=c.pathname):c.pathname!==wee&&(p(),wee=c.pathname)}),[c.pathname,p,l,null==u?void 0:u.pathname]),i.useEffect((function(){var e=function(){"hidden"===document.visibilityState&&p()};return document.addEventListener("visibilitychange",e),function(){return document.removeEventListener("visibilitychange",e)}}),[p]),{trackActivity:d,sendActivity:p}}function kee(){var t=hee().interaction,n=oB(),r=oB(I8),o=kJ(),a=o.saveLanguageToLocalStorage,s=o.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,o=Object.keys(e||{});r<o.length;r++){var a=o[r];i(a)}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:o,followEditorPublishableItemComments:l,followAllPublishableItemComments:function(e,t){o(e,t),l(e,t)},followPublishableItemComments:u,resolveSegment:c,getFollowCommentSegment:d,toggleBookmark:function(n,i){null==i.bookmarks&&(i.bookmarks=[]);var o=i.bookmarks.findIndex((function(e){return e===n}));if(o<0)return r.one("users","current").all("bookmarks").put(n,null).then((function(){i.bookmarks.push(n)})).then((function(){t({event:oee.bookmark,value:!0,action:aee.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(o,1)})).then((function(){t({event:oee.bookmark,value:!1,action:aee.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 uJ(this,void 0,void 0,(function(){return cJ(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 uJ(this,void 0,void 0,(function(){return cJ(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 uJ(this,void 0,void 0,(function(){return cJ(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,a(e)];case 2:return t.sent(),[2]}}))}))},setContentLanguage:function(e){return uJ(this,void 0,void 0,(function(){return cJ(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 uJ(this,void 0,void 0,(function(){return cJ(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 uJ(this,void 0,void 0,(function(){return cJ(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 uJ(this,void 0,void 0,(function(){return cJ(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 uJ(this,void 0,void 0,(function(){return cJ(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 uJ(this,void 0,void 0,(function(){return cJ(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,o){return r.custom("users/current/notification_settings/"+c(n,i)+"/"+e).put({enabled:o}).then((function(){t({event:oee.follow,action:aee.click,value:o,item:{id:e,type:n}})}))}function o(e,t){u(e,t,q5.Public)}function l(e,t){u(e,t,q5.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 q5.Editor:return"editor_comments";case q5.Public:return d(e)+"_comments";case q5.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,a,s])}var See,Pee=c0,Eee=p0,Cee=f9,Fee=TJ?Object.defineProperties:function(e,t){Eee(e);for(var n,i=Cee(t),r=i.length,o=0;r>o;)Pee.f(e,n=i[o++],t[n]);return e},Tee=p0,Dee=Fee,Aee=j1,Iee=W0,Lee=Q3,$ee=JJ,zee=G0("IE_PROTO"),Ree=function(){},jee=function(e){return"<script>"+e+"</"+"script>"},Mee=function(){try{See=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;Mee=See?function(e){e.write(jee("")),e.close();var t=e.parentWindow.Object;return e=null,t}(See):((t=$ee("iframe")).style.display="none",Lee.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(jee("document.F=Object")),e.close(),e.F);for(var n=Aee.length;n--;)delete Mee.prototype[Aee[n]];return Mee()};Iee[zee]=!0;var Qee=Object.create||function(e,t){var n;return null!==e?(Ree.prototype=Tee(e),n=new Ree,Ree.prototype=null,n[zee]=e):n=Mee(),void 0===t?n:Dee(n,t)},Nee=Qee,Uee=c0,Bee=V2("unscopables"),qee=Array.prototype;null==qee[Bee]&&Uee.f(qee,Bee,{configurable:!0,value:Nee(null)});var Gee,Wee,Xee,Vee=function(e){qee[Bee][e]=!0},Yee=!FJ((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Zee=YJ,Hee=f2,Kee=Yee,Jee=G0("IE_PROTO"),ete=Object.prototype,tte=Kee?Object.getPrototypeOf:function(e){return e=Hee(e),Zee(e,Jee)?e[Jee]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?ete:null},nte=tte,ite=O0,rte=YJ,ote=V2("iterator"),ate=!1;[].keys&&("next"in(Xee=[].keys())?(Wee=nte(nte(Xee)))!==Object.prototype&&(Gee=Wee):ate=!0),null==Gee&&(Gee={}),rte(Gee,ote)||ite(Gee,ote,(function(){return this}));var ste={IteratorPrototype:Gee,BUGGY_SAFARI_ITERATORS:ate},lte=ste.IteratorPrototype,ute=Qee,cte=$J,dte=K2,pte=o3,hte=function(){return this},fte=d2,mte=function(e,t,n){var i=t+" Iterator";return e.prototype=ute(lte,{next:cte(1,n)}),dte(e,i,!1),pte[i]=hte,e},gte=tte,vte=Y8,yte=K2,bte=O0,Ote=_0.exports,_te=o3,wte=ste.IteratorPrototype,xte=ste.BUGGY_SAFARI_ITERATORS,kte=V2("iterator"),Ste="keys",Pte="values",Ete="entries",Cte=function(){return this},Fte=qJ,Tte=Vee,Dte=o3,Ate=o1,Ite=function(e,t,n,i,r,o,a){mte(n,t,i);var s,l,u,c=function(e){if(e===r&&m)return m;if(!xte&&e in h)return h[e];switch(e){case Ste:case Pte:case Ete:return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",p=!1,h=e.prototype,f=h[kte]||h["@@iterator"]||r&&h[r],m=!xte&&f||c(r),g="Array"==t&&h.entries||f;if(g&&(s=gte(g.call(new e)),wte!==Object.prototype&&s.next&&(gte(s)!==wte&&(vte?vte(s,wte):"function"!=typeof s[kte]&&bte(s,kte,Cte)),yte(s,d,!0))),r==Pte&&f&&f.name!==Pte&&(p=!0,m=function(){return f.call(this)}),h[kte]!==m&&bte(h,kte,m),_te[t]=m,r)if(l={values:c(Pte),keys:o?m:c(Ste),entries:c(Ete)},a)for(u in l)(xte||p||!(u in h))&&Ote(h,u,l[u]);else fte({target:t,proto:!0,forced:xte||p},l);return l},Lte="Array Iterator",$te=Ate.set,zte=Ate.getterFor(Lte),Rte=Ite(Array,"Array",(function(e,t){$te(this,{type:Lte,target:Fte(e),index:0,kind:t})}),(function(){var e=zte(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");Dte.Arguments=Dte.Array,Tte("keys"),Tte("values"),Tte("entries");var jte=EJ,Mte={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},Qte=Rte,Nte=O0,Ute=V2,Bte=Ute("iterator"),qte=Ute("toStringTag"),Gte=Qte.values;for(var Wte in Mte){var Xte=jte[Wte],Vte=Xte&&Xte.prototype;if(Vte){if(Vte[Bte]!==Gte)try{Nte(Vte,Bte,Gte)}catch(e){Vte[Bte]=Gte}if(Vte[qte]||Nte(Vte,qte,Wte),Mte[Wte])for(var Yte in Qte)if(Vte[Yte]!==Qte[Yte])try{Nte(Vte,Yte,Qte[Yte])}catch(e){Vte[Yte]=Qte[Yte]}}}var Zte=i.createContext(null);function Hte(){var e=i.useContext(Zte);return null!=e?e.refresh:function(){return null}}var Kte,Jte=function(e){var n=e.children,r=f5().refreshUser,o=i$(),a=i.useCallback((function(){var e,t;return uJ(this,void 0,void 0,(function(){var n,i;return cJ(this,(function(a){switch(a.label){case 0:return[4,o.query({query:ene,fetchPolicy:"no-cache",errorPolicy:"all"})];case 1:return n=a.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 sJ(sJ({},e),function(e){var t,n,i,r,o;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!==(o=null==e?void 0:e.unreadPosts)&&void 0!==o?o:[],hasUnreadChats:null==e?void 0:e.hasUnreadChats,unreadFeedItemsCount:null==e?void 0:e.unreadFeedItemsCount,mostRecentPostGroups:null==e?void 0:e.mostRecentPostGroups}}(sJ({bookmarks:i.bookmarkIds,availableSubscriptions:i.subscriptions},i)))}))];case 2:return[2,a.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]}}))}))}),[o]),s=i.useMemo((function(){return{refresh:a}}),[a]);return i.useEffect((function(){a().then(null,ng.error)}),[a]),t.jsx(Zte.Provider,sJ({value:s},{children:n}),void 0)},ene=WL(Kte||(Kte=pJ(["\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 logoInfo {\n smallUrl\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 logoInfo {\n smallUrl\n }\n hasUnreadItems\n }\n }\n }\n"]))),tne=d2,nne=CJ.f,ine=k1,rne=w5,one=NJ,ane=k5,sne="".startsWith,lne=Math.min,une=ane("startsWith"),cne=!une&&!!function(){var e=nne(String.prototype,"startsWith");return e&&!e.writable}();function dne(){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 pne(){var e=Dm().webAppUrl,t=fne();return t?"https://"+t:e}function hne(){var e=Dm().webAppUrls,t=fne();return t?dJ(dJ([],e),["https://"+t]):e}function fne(){var e,t=m5();return(null===(e=null==t?void 0:t.subscription)||void 0===e?void 0:e.customDomain)||process.env.NX_CUSTOM_DOMAIN}tne({target:"String",proto:!0,forced:!cne&&!une},{startsWith:function(e){var t=String(one(this));rne(e);var n=ine(lne(arguments.length>1?arguments[1]:void 0,t.length)),i=String(e);return sne?sne.call(t,i,n):t.slice(n,n+i.length)===i}});var mne=i.createContext(null);var gne=window.System;function vne(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 o={imports:{}},a=0,s=t;a<s.length;a++){var l=s[a].name;o.imports[l]="app:"+l}r.textContent=JSON.stringify(o,null,2),document.head.appendChild(r);for(var u=0,c=t;u<c.length;u++){var d=c[u],p=d.name,h=d.packageDefinition;gne.set("app:"+p,h)}}}var yne=function(){return null};function bne(){return i.useContext(mne).storage}function One(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 uJ(this,void 0,void 0,(function(){var e,r,o,a;return cJ(this,(function(s){switch(s.label){case 0:return[4,i()];case 1:e=s.sent(),r=0,o=e,s.label=2;case 2:return r<o.length?(a=o[r],[4,t.remove(n+a)]):[3,5];case 3:s.sent(),s.label=4;case 4:return r++,[3,2];case 5:return[2]}}))}))}};function i(){var e;return uJ(this,void 0,void 0,(function(){var i;return cJ(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 _ne(e){var t;if(404!==(null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.statusCode))throw e}function wne(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 xne(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 kne,Sne=function(e){var n=e.pluginId,r=e.componentName,o=e.settings,a=e.bundleUrl,s=e.bundleModificationDate,l=lJ(e,["pluginId","componentName","settings","bundleUrl","bundleModificationDate"]),u=bS(),c=oB(),d=function(){var e=oB(),t=m5(),n=rB(),r=n.createApiUrl,o=n.fetchFromApi,a=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 uJ(this,void 0,void 0,(function(){return cJ(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 uJ(this,void 0,void 0,(function(){var i,r,s;return cJ(this,(function(l){switch(l.label){case 0:return(i=new FormData).append("file",n),[4,a()];case 1:return r=l.sent(),s={method:"PUT",body:i,headers:{authorization:"Bearer "+r,"subscription-id":t.subscription.id}},[2,o("/plugins/"+encodeURIComponent(e)+"/bundle",s)]}}))}))},generateApiKey:function(t,n,i){return uJ(this,void 0,void 0,(function(){return cJ(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 uJ(this,void 0,void 0,(function(){return cJ(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 uJ(this,void 0,void 0,(function(){return cJ(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,o,a,t.subscription.id])}().getPluginFileUrl,p=i.useMemo((function(){return i.lazy((function(){return function(e,t){return uJ(this,void 0,void 0,(function(){var n;return cJ(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,gne.import(e)];case 1:return[2,{default:i.sent()[t]}];case 2:return n=i.sent(),ng.error(n),[2,{default:yne}];case 3:return[2]}}))}))}(d(n,a,s),r)}))}),[r,n,d,a,s]),h=i.useMemo((function(){return{settings:o,storage:One(n,u),userStore:wne(n,c),subscriptionStore:xne(n,c)}}),[n,o,u,c]);return t.jsx(i.Suspense,sJ({fallback:t.jsx("div",{},void 0)},{children:t.jsx(mne.Provider,sJ({value:h},{children:t.jsx(p,sJ({name:r},l),void 0)}),void 0)}),void 0)},Pne=RJ,Ene=Array.isArray||function(e){return"Array"==Pne(e)},Cne=Ene,Fne=k1,Tne=c3,Dne=function(e,t,n,i,r,o,a,s){for(var l,u=r,c=0,d=!!a&&Tne(a,s,3);c<i;){if(c in n){if(l=d?d(n[c],c,t):n[c],o>0&&Cne(l))u=Dne(e,t,l,Fne(l.length),u,o-1)-1;else{if(u>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[u]=l}u++}c++}return u},Ane=Dne,Ine=GJ,Lne=Ene,$ne=V2("species"),zne=Ane,Rne=f2,jne=k1,Mne=p2,Qne=function(e,t){var n;return Lne(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!Lne(n.prototype)?Ine(n)&&null===(n=n[$ne])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)};function Nne(){var e=m5(),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));Bne.some((function(e){return e.pluginId===n.pluginId}))||(Bne.push(n),window.sessionStorage.setItem("Reach::InjectedRemotePlugins",JSON.stringify(Bne)))}return Bne}(),t=$w(n,[],[null==e?void 0:e.length])[0];return null!=qne?qne:t;function n(){return uJ(this,void 0,void 0,(function(){var t,n,i,r,o,a;return cJ(this,(function(s){switch(s.label){case 0:if(qne)return[2,qne];t=[],n=0,i=e,s.label=1;case 1:return n<i.length?(r=i[n],o="http://localhost:"+r.port,[4,fetch(o+"/definition.json?rev="+(new Date).getTime())]):[3,5];case 2:return[4,s.sent().json()];case 3:(a=s.sent()).bundleUrl=o+"/index.js?rev="+(new Date).getTime(),t.push(a),s.label=4;case 4:return n++,[3,1];case 5:return[2,qne=t]}}))}))}}();return dJ(dJ([],(e.subscription.webPluginDefinitions||[]).filter((function(e){return!t.some((function(t){return t.pluginId===e.pluginId}))}))),t)}function Une(e){return Nne().flatMap((function(e){return(e.extensions||[]).map((function(t){return sJ(sJ({},e),t)}))})).filter((function(t){return null==e||t.area===e}))}d2({target:"Array",proto:!0},{flatMap:function(e){var t,n=Rne(this),i=jne(n.length);return Mne(e),(t=Qne(n,0)).length=zne(t,n,n,i,0,1,e,arguments.length>1?arguments[1]:void 0),t}}),Vee("flatMap");var Bne=null!==(kne=JSON.parse(window.sessionStorage.getItem("Reach::InjectedRemotePlugins")))&&void 0!==kne?kne:[];var qne=null;var Gne=function(e){var n=e.area,i=lJ(e,["area"]),r=Une(n);return 0===r.length?null:t.jsx(t.Fragment,{children:r.map((function(e){return t.jsx(Sne,sJ({},e,i),e.pluginId)}))},void 0)},Wne=RJ,Xne=_1,Vne=NJ,Yne="".repeat||function(e){var t=String(Vne(this)),n="",i=Xne(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},Zne=d2,Hne=_1,Kne=function(e){if("number"!=typeof e&&"Number"!=Wne(e))throw TypeError("Incorrect invocation");return+e},Jne=Yne,eie=FJ,tie=1..toFixed,nie=Math.floor,iie=function(e,t,n){return 0===t?n:t%2==1?iie(e,t-1,n*e):iie(e*e,t/2,n)};Zne({target:"Number",proto:!0,forced:tie&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!eie((function(){tie.call({})}))},{toFixed:function(e){var t,n,i,r,o=Kne(this),a=Hne(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=nie(i/1e7)},d=function(e){for(var t=6,n=0;--t>=0;)n+=s[t],s[t]=nie(n/e),n=n%e*1e7},p=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==s[e]){var n=String(s[e]);t=""===t?n:t+Jne.call("0",7-n.length)+n}return t};if(a<0||a>20)throw RangeError("Incorrect fraction digits");if(o!=o)return"NaN";if(o<=-1e21||o>=1e21)return String(o);if(o<0&&(l="-",o=-o),o>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}(o*iie(2,69,1))-69,n=t<0?o*iie(2,-t,1):o/iie(2,t,1),n*=4503599627370496,(t=52-t)>0){for(c(0,n),i=a;i>=7;)c(1e7,0),i-=7;for(c(iie(10,i,1),0),i=t-1;i>=23;)d(1<<23),i-=23;d(1<<i),c(1,1),d(2),u=p()}else c(0,n),c(1<<-t,0),u=p()+Jne.call("0",a);return u=a>0?l+((r=u.length)<=a?"0."+Jne.call("0",a-r)+u:u.slice(0,r-a)+"."+u.slice(r-a)):l+u}});var rie={primaryColor:"#512DA8",secondaryColor:"#6AE6C6"},oie={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"}},aie=p0,sie=k1,lie=NJ,uie=y8,cie=u8;o8("match",1,(function(e,t,n){return[function(t){var n=lie(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=aie(e),o=String(this);if(!r.global)return cie(r,o);var a=r.unicode;r.lastIndex=0;for(var s,l=[],u=0;null!==(s=cie(r,o));){var c=String(s[0]);l[u]=c,""===c&&(r.lastIndex=uie(o,sie(r.lastIndex),a)),u++}return 0===u?null:l}]}));var die=N8.trim,pie=$8,hie=EJ.parseInt,fie=/^[+-]?0[Xx]/,mie=8!==hie(pie+"08")||22!==hie(pie+"0x16")?function(e,t){var n=die(String(e));return hie(n,t>>>0||(fie.test(n)?16:10))}:hie;d2({global:!0,forced:parseInt!=mie},{parseInt:mie});var gie=o8,vie=O5,yie=p0,bie=NJ,Oie=M3,_ie=y8,wie=k1,xie=u8,kie=X9,Sie=FJ,Pie=[].push,Eie=Math.min,Cie=4294967295,Fie=!Sie((function(){return!RegExp(Cie,"y")}));gie("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(bie(this)),r=void 0===n?Cie:n>>>0;if(0===r)return[];if(void 0===e)return[i];if(!vie(e))return t.call(i,e,r);for(var o,a,s,l=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),c=0,d=new RegExp(e.source,u+"g");(o=kie.call(d,i))&&!((a=d.lastIndex)>c&&(l.push(i.slice(c,o.index)),o.length>1&&o.index<i.length&&Pie.apply(l,o.slice(1)),s=o[0].length,c=a,l.length>=r));)d.lastIndex===o.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=bie(this),o=null==t?void 0:t[e];return void 0!==o?o.call(t,r,n):i.call(String(r),t,n)},function(e,r){var o=n(i,e,this,r,i!==t);if(o.done)return o.value;var a=yie(e),s=String(this),l=Oie(a,RegExp),u=a.unicode,c=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(Fie?"y":"g"),d=new l(Fie?a:"^(?:"+a.source+")",c),p=void 0===r?Cie:r>>>0;if(0===p)return[];if(0===s.length)return null===xie(d,s)?[s]:[];for(var h=0,f=0,m=[];f<s.length;){d.lastIndex=Fie?f:0;var g,v=xie(d,Fie?s:s.slice(f));if(null===v||(g=Eie(wie(d.lastIndex+(Fie?0:f)),s.length))===h)f=_ie(s,f,u);else{if(m.push(s.slice(h,f)),m.length===p)return m;for(var y=1;y<=v.length-1;y++)if(m.push(v[y]),m.length===p)return m;f=h=g}}return m.push(s.slice(h)),m}]}),!Fie);var Tie=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}(),Die=null,Aie=sJ({name:"Default"},rie),Iie=oie.palette.neutralLighter,Lie="#ffffff",$ie="#333333",zie=[Aie,{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 Rie(e,t){var n=jie(e.primaryColor),i=e.useHighlightColorOnWhiteBackground?e.secondaryColor:e.primaryColor,r=e.useHighlightColorOnWhiteBackground?Mie(i):Mie(n),o={primaryColor:e.primaryColor,secondaryColor:e.secondaryColor,textColorOnPrimary:Mie(n),textColorOnSecondary:Mie(e.secondaryColor),accentColor:i,textColorOnAccent:r},s=sJ({},oie),l=function(e){var t={palette:{},semanticColors:{},textColors:{}},n=new Tie(e.accentColor).toHex(),i=new Tie(e.accentColor).lighten(-.3).toHex(),r=new Tie(e.accentColor).lighten(.5).toHex(),o=jie(e.primaryColor),a=Mie(i);return t.palette.themeDarker=new Tie(e.primaryColor).lighten(-.4).toHex(),t.palette.themeDark=new Tie(e.primaryColor).lighten(-.3).toHex(),t.palette.themeDarkAlt=o,t.palette.themePrimary=new Tie(e.primaryColor).toHex(),t.palette.themeLight=new Tie(e.primaryColor).lighten(.2).toHex(),t.palette.themeLighter=new Tie(e.primaryColor).lighten(.65).toHex(),t.palette.themeLighterAlt=new Tie(e.primaryColor).lighten(.8).toHex(),t.palette.red=new Tie("#B90000").toHex(),t.palette.redDark=new Tie("#a80000").toHex(),t.palette.accent=n,t.semanticColors.warningText=new Tie(e.secondaryColor).lighten(.8).toHex(),t.semanticColors.inputPlaceholderText=new Tie("#666666").toHex(),t.semanticColors.primaryButtonBackground=n,t.semanticColors.primaryButtonText=e.textColorOnAccent,t.semanticColors.primaryButtonBackgroundHovered=i,t.semanticColors.primaryButtonTextHovered=a,t.semanticColors.primaryButtonBackgroundPressed=i,t.semanticColors.primaryButtonTextPressed=a,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 Tie(e.secondaryColor).toHex(),t.palette.themeTertiary=new Tie(e.secondaryColor).lighten(-.2).toHex(),t.textColors.onPrimary=new Tie(e.textColorOnPrimary).toHex(),t.textColors.onSecondary=new Tie(e.textColorOnSecondary).toHex(),t.textColors.default=new Tie($ie).toHex(),t.textColors.onAccent=new Tie(e.textColorOnAccent).toHex(),t}(o);for(var u in l)l.hasOwnProperty(u)&&Object.assign(s[u],l[u]);return t||a.loadTheme(s),function(e){var t=[],n=".lt-reach";for(var i in e)if(e.hasOwnProperty(i)){var r=e[i];for(var o in r)if(r.hasOwnProperty(o)){var a=r[o];"textColors"!==i&&(t.push(n+" .ms-bgColor-"+o+" { background-color: "+a+";}"),t.push(n+" .ms-borderColor-"+o+" { border-color: "+a+";}")),t.push(n+" .ms-fontColor-"+o+" { color: "+a+";}"),t.push(n+" .ms-fontColor-"+o+"--hover:hover {color: "+a+";}")}}Die||((Die=document.createElement("style")).type="text/css",Die.id="condense-ui-fabric-overrides",document.head.appendChild(Die));Die.innerHTML=t.join(" ")}(s),s}function jie(e){return new Tie(e).lighten(-.2).toHex()}function Mie(e){return function(e){var t=iW(e,$ie),n=iW(e,Lie);return t>n}(e)?$ie:Lie}var Qie=i.createContext(null),Nie=function(e){var n=e.disableUiFabricThemeOverwrite,r=e.children,a=i.useState((function(){return Rie(zie.find((function(e){return"Default"===e.name})),n)})),s=a[0],l=a[1];return t.jsx(Qie.Provider,sJ({value:{theme:s,setTheme:function(e){return l(Rie(e,n))}}},{children:t.jsx(o.ThemeProvider,sJ({theme:s},{children:r}),void 0)}),void 0)};var Uie,Bie,qie=function(e){var n=e.area,r=e.pluginId,o=e.componentName,a=lJ(e,["area","pluginId","componentName"]),s=Wk().formatMessage,l=Une(n).find((function(e){return e.pluginId===r&&e.componentName===o&&null!=e.area}));return l?t.jsx(HG.exports.ErrorBoundary,sJ({FallbackComponent:function(e){return t.jsx(Gie,sJ({},e,{showDetailedErrorMessage:null==a?void 0:a.showDetailedErrorMessage}),void 0)}},{children:i.createElement(Sne,sJ({},a,l,{key:r}))}),void 0):a.showDetailedErrorMessage?t.jsx(Gie,{error:new Error(s({id:"InlinePlugin.fallback.error.notFound"})),showDetailedErrorMessage:!0},void 0):null},Gie=function(e){var n=e.error,i=e.showDetailedErrorMessage;return t.jsxs(Wie,{children:[t.jsx(pS,{id:"InlinePlugin.fallback.error"},void 0),i&&(null==n?void 0:n.message)&&t.jsx(Xie,{children:t.jsx(pS,{id:"InlinePlugin.fallback.error.message",values:{errorMessage:n.message}},void 0)},void 0)]},void 0)},Wie=y.default.div.withConfig({displayName:"Plugin__Host",componentId:"sc-nofq56-0"})(Uie||(Uie=pJ(["\n padding: ","px;\n background-color: ",";\n font-size: ","px;\n"],["\n padding: ","px;\n background-color: ",";\n font-size: ","px;\n"])),I7,Iie,Z7),Xie=y.default.p.withConfig({displayName:"Plugin__ErrorMessage",componentId:"sc-nofq56-1"})(Bie||(Bie=pJ(["\n &&& {\n margin: ","px 0 0 0;\n }\n"],["\n &&& {\n margin: ","px 0 0 0;\n }\n"])),I7),Vie=i.createContext(null),Yie=i.createContext(null);function Zie(){return i.useContext(Vie)}var Hie,Kie,Jie,ere,tre,nre,ire=function(e){var n=e.children,r=i.useState(!1),o=r[0],s=r[1],l=i.useState({}),u=l[0],c=l[1],d=i.useMemo((function(){return{showErrorText:f,showInfo:h,showError:m,showWarning:g,showSuccess:v,hideNotification:y,showToast:b,showToastWarning:O,dismissToast:_}}),[c,s]),p=i.useMemo((function(){return sJ(sJ({},u),{isNotificationBarVisible:o})}),[u,o]);return t.jsx(Vie.Provider,sJ({value:d},{children:t.jsx(Yie.Provider,sJ({value:p},{children:n}),void 0)}),void 0);function h(e,t){c({messageId:e,messageValues:t,messageBarType:a.MessageBarType.info,actions:null,className:"ms-messageBar--info"}),s(!0)}function f(e){c({text:e,messageBarType:a.MessageBarType.error,actions:null}),s(!0)}function m(e,t){c({messageId:e,messageValues:t,messageBarType:a.MessageBarType.error,actions:null}),s(!0)}function g(e,t){c({messageId:e,messageValues:t,messageBarType:a.MessageBarType.warning,actions:null}),s(!0)}function v(e,t,n,i){c({messageId:e,messageValues:t,messageBarType:a.MessageBarType.success,className:n,actions:i}),s(!0)}function y(){s(!1)}function b(e,n,i,r){var o=t.jsx(pS,{id:e,values:n},void 0);return null==i?AX(o,r):AX(t.jsxs(rre,{children:[t.jsx(ore,{children:o},void 0),t.jsx(are,{children:i},void 0)]},void 0),sJ({},r))}function O(e,t,n){var i={autoClose:!1,type:"warning"};return n&&(i.onClose=n),b(e,t,null,i)}function _(e){AX.dismiss(e)}},rre=y.default.div.withConfig({displayName:"NotificationContext__Wrapper",componentId:"sc-ant4hw-0"})(Hie||(Hie=pJ(["\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"])),j7),ore=y.default.p.withConfig({displayName:"NotificationContext__Message",componentId:"sc-ant4hw-1"})(Kie||(Kie=pJ(["\n flex: 1 1 auto;\n"],["\n flex: 1 1 auto;\n"]))),are=y.default.div.withConfig({displayName:"NotificationContext__Actions",componentId:"sc-ant4hw-2"})(Jie||(Jie=pJ(["\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"])),j7),sre=function(){var e=r.useHistory(),n=i.useContext(KC).hideChrome;return i.useEffect((function(){var t=e.listen((function(){return AX.dismiss()}));return function(){return t()}}),[e]),t.jsxs(t.Fragment,{children:[t.jsx(lre,{chromeless:n},void 0),t.jsx(bX,{toastClassName:"ms-fontColor-default",bodyClassName:"ms-fontColor-default",autoClose:5e3,hideProgressBar:!0,transition:yX,closeButton:!1},void 0)]},void 0)},lre=o.createGlobalStyle(nre||(nre=pJ(["\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&&o.css(ere||(ere=pJ(["\n top: 4em;\n "],["\n top: 4em;\n "])))}),(function(e){return e.chromeless&&o.css(tre||(tre=pJ(["\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 "])),B7)}));function ure(){var e=oB();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(tq(n))return tG(n,null);if(nq(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&&tq(e[0])?e[0]:e,null).pipe(jq((function(e){return r.apply(void 0,e)})))}return tG(e,null)}(n(),t()).pipe(jq((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 uJ(this,void 0,void 0,(function(){return cJ(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 uJ(this,void 0,void 0,(function(){return cJ(this,(function(t){return[2,e.all("keyword_groups/selected").getAll().then((function(e){return e.body().map((function(e){return e.data()}))}))]}))}))}}),[e])}function cre(){var e=oB();return i.useMemo((function(){return{getChannels:function(){return uJ(this,void 0,void 0,(function(){return cJ(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 uJ(this,void 0,void 0,(function(){return cJ(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])}var dre=function(e){var n=e.loadingIndicator,r=e.children,o=i.useContext(pre);return o.channels?t.jsx(hre.Provider,sJ({value:o},{children:r}),void 0):t.jsx(t.Fragment,{children:null!=n?n:t.jsx(a.Spinner,{},void 0)},void 0)},pre=i.createContext(null),hre=i.createContext(null),fre=Array.from(Array(15),(function(){var e=null,t=new Promise((function(t){return e=t}));return{locked:!1,key:null,promise:t,resolve:e}})),mre=function(e){var n=e.children,i=function(){var e=cre().getChannels,t=YG();return{getChannels:function(n){return uJ(this,void 0,void 0,(function(){var i=this;return cJ(this,(function(r){switch(r.label){case 0:return[4,t.fetchQuery(["fetchSubscriptionChannels",n],(function(){return uJ(i,void 0,void 0,(function(){return cJ(this,(function(t){switch(t.label){case 0:return[4,e()];case 1:return[2,t.sent()]}}))}))}))];case 1:return[2,r.sent()]}}))}))}}}().getChannels,r=function(){var e=ure(),t=e.getAllKeywords,n=e.getSelectedGroups,i=YG();return{getAllKeywords:function(e,n){return uJ(this,void 0,void 0,(function(){var r=this;return cJ(this,(function(o){switch(o.label){case 0:return[4,i.fetchQuery(["fetchAllKeywords",e],(function(){return uJ(r,void 0,void 0,(function(){return cJ(this,(function(e){switch(e.label){case 0:return[4,t(n)];case 1:return[2,e.sent()]}}))}))}))];case 1:return[2,o.sent()]}}))}))},getSelectedGroups:function(e){return uJ(this,void 0,void 0,(function(){var t=this;return cJ(this,(function(r){switch(r.label){case 0:return[4,i.fetchQuery(["fetchSelectedKeywordGroups",e],(function(){return uJ(t,void 0,void 0,(function(){return cJ(this,(function(e){switch(e.label){case 0:return[4,n()];case 1:return[2,e.sent()]}}))}))}))];case 1:return[2,r.sent()]}}))}))}}}(),o=r.getAllKeywords,a=r.getSelectedGroups;return t.jsx(gre,sJ({getChannels:i,getAllKeywords:o,getSelectedGroups:a},{children:n}),void 0)},gre=function(e){var n=e.getChannels,r=e.getAllKeywords,o=e.getSelectedGroups,a=e.children,s=g5(),l=i.useContext(OS).identifier,u=i.useContext(gS).handleFatalError,c=i.useCallback((function(){return uJ(this,void 0,void 0,(function(){var e,t,i,r,o,a;return cJ(this,(function(s){switch(s.label){case 0:return s.trys.push([0,2,,4]),[4,Promise.all([n(l.id),b(),O()])];case 1:return e=s.sent(),t=e[0],i=e[1],r=e[2],o=r.reduce((function(e,t){var n;return sJ(sJ({},e),((n={})[t.id]=i.filter((function(e){return e.groupId===t.id})),n))}),{}),function(e){var t=fre.findIndex((function(e){return e.key===l.id&&e.locked}));if(t>=0){var n={locked:!1,key:null,resolve:null,promise:null};n.promise=new Promise((function(e){return n.resolve=e})),fre[t]=n}_(e)}(t),[2,{channels:t,allKeywords:i,keywordsByGroupId:o,selectedKeywordGroups:r}];case 2:return a=s.sent(),ng.error(JSON.stringify(a)),[4,L8(a)];case 3:return!0!==s.sent()&&u({error:a}),[2,{}];case 4:return[2]}}))}))}),[l.id]),d=$w(c,{},[l.id]),p=d[0],h=p.channels,f=p.allKeywords,m=p.keywordsByGroupId,g=p.selectedKeywordGroups,v=d[3],y=i.useMemo((function(){return{channels:h,getChannels:function(){return _()},allKeywords:f,keywordsByGroupId:m,selectedKeywordGroups:g,refreshSubscription:function(){return uJ(void 0,void 0,void 0,(function(){var e;return cJ(this,(function(t){switch(t.label){case 0:return[4,c()];case 1:return e=t.sent(),v(e),[2]}}))}))}}}),[h,f,m,g,v,c]);return t.jsx(pre.Provider,sJ({value:y},{children:a}),void 0);function b(){return uJ(this,void 0,void 0,(function(){var e;return cJ(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(l.id)];case 2:return[2,t.sent()];case 3:return e=t.sent(),ng.error(e),[2,[]];case 4:return[2]}}))}))}function O(){return uJ(this,void 0,void 0,(function(){var e;return cJ(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,o(l.id)];case 2:return[2,t.sent()];case 3:return e=t.sent(),ng.error(e),[2,[]];case 4:return[2]}}))}))}function _(e){var t=fre.findIndex((function(e){return e.key===l.id||!e.key})),n=fre[t];return n.key=l.id,null==e?n.promise:(n.locked=!0,n.resolve(e),null)}};var vre={};function yre(e){var t;(null==e?void 0:e.type)&&(null===(t=vre[e.type])||void 0===t||t.some((function(t){return t(e)})))}function bre(e,t,n){i.useEffect((function(){if(e)return vre[e]||(vre[e]=[]),vre[e].push(t),function(){vre[e]=vre[e].filter((function(e){return e!==t}))}}),dJ([e],n||[]))}var Ore=d2,_re=p2,wre=f2,xre=FJ,kre=w2,Sre=[],Pre=Sre.sort,Ere=xre((function(){Sre.sort(void 0)})),Cre=xre((function(){Sre.sort(null)})),Fre=kre("sort");Ore({target:"Array",proto:!0,forced:Ere||!Cre||!Fre},{sort:function(e){return void 0===e?Pre.call(wre(this)):Pre.call(wre(this),_re(e))}});var Tre=Ene,Dre=[].reverse,Are=[1,2];d2({target:"Array",proto:!0,forced:String(Are)===String(Are.reverse())},{reverse:function(){return Tre(this)&&(this.length=this.length),Dre.call(this)}});var Ire,Lre,$re,zre,Rre=[],jre=function(e,t){Rre.some((function(t){return t.handler===e}))||Rre.push({handler:e,priority:t||0})},Mre=function(e){Rre=Rre.filter((function(t){return t.handler!==e}))};function Qre(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 Bre(Array.from(new Set(r)),i)}function Nre(e,t,n,i){var r=Qre(e,t,n,i);return Object.values(r).reduce((function(e,t){return e=e.concat(t)}),[])}function Ure(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?Bre(i,n):{}}function Bre(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 qre(e,t,n,i,r){if(e){var o=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 a=Qre(o,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?Bre(i,n):{}}(o,n,r);Object.keys(e.keywords).forEach((function(t){var n,i=a[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 Gre(e,t){var n=Vre(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 Wre(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 Xre(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=Wre(i,n),o=Vre(i,n);e.channels||(e.channels=[]);var a=r.filter((function(t){return e.channels.some((function(e){return e.name===t.name}))}));e.channels=Array.from(new Set(a.concat(o)))}}function Vre(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"}(Ire||(Ire={})),function(e){e.NotDeleted="NOT_DELETED",e.RecycleBin="RECYCLE_BIN",e.Deleted="DELETED"}(Lre||(Lre={})),function(e){e.Default="DEFAULT",e.GroupNameChange="GROUP_NAME_CHANGE",e.UserLeftChat="USER_LEFT_CHAT"}($re||($re={})),function(e){e.Normal="NORMAL",e.LeftChat="LEFT_CHAT"}(zre||(zre={}));var Yre,Zre=function(){function e(){this.type=e.type}return e.create=function(){return new e},e.type="forbidden_error",e}(),Hre=function(){function e(){this.type=e.type}return e.create=function(){return new e},e.type="generic_access_denied",e}(),Kre=new class{constructor(e={}){this.queryCache=e.queryCache||new NG,this.mutationCache=e.mutationCache||new BG,this.logger=e.logger||RG,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],"production"!==process.env.NODE_ENV&&e.logger&&this.logger.error("Passing a custom logger has been deprecated and will be removed in the next major version.")}mount(){this.unsubscribeFocus=TG.subscribe((()=>{TG.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())})),this.unsubscribeOnline=DG.subscribe((()=>{DG.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())}))}unmount(){var e,t;null==(e=this.unsubscribeFocus)||e.call(this),null==(t=this.unsubscribeOnline)||t.call(this)}isFetching(e,t){const[n]=mG(e,t);return n.fetchStatus="fetching",this.queryCache.findAll(n).length}isMutating(e){return this.mutationCache.findAll({...e,fetching:!0}).length}getQueryData(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state.data}ensureQueryData(e,t,n){const i=fG(e,t,n),r=this.getQueryData(i.queryKey);return r?Promise.resolve(r):this.fetchQuery(i)}getQueriesData(e){return this.getQueryCache().findAll(e).map((({queryKey:e,state:t})=>[e,t.data]))}setQueryData(e,t,n){const i=this.queryCache.find(e),r=function(e,t){return"function"==typeof e?e(t):e}(t,null==i?void 0:i.state.data);if(void 0===r)return;const o=fG(e),a=this.defaultQueryOptions(o);return this.queryCache.build(this,a).setData(r,{...n,manual:!0})}setQueriesData(e,t,n){return jG.batch((()=>this.getQueryCache().findAll(e).map((({queryKey:e})=>[e,this.setQueryData(e,t,n)]))))}getQueryState(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state}removeQueries(e,t){const[n]=mG(e,t),i=this.queryCache;jG.batch((()=>{i.findAll(n).forEach((e=>{i.remove(e)}))}))}resetQueries(e,t,n){const[i,r]=mG(e,t,n),o=this.queryCache,a={type:"active",...i};return jG.batch((()=>(o.findAll(i).forEach((e=>{e.reset()})),this.refetchQueries(a,r))))}cancelQueries(e,t,n){const[i,r={}]=mG(e,t,n);void 0===r.revert&&(r.revert=!0);const o=jG.batch((()=>this.queryCache.findAll(i).map((e=>e.cancel(r)))));return Promise.all(o).then(hG).catch(hG)}invalidateQueries(e,t,n){const[i,r]=mG(e,t,n);return jG.batch((()=>{var e,t;if(this.queryCache.findAll(i).forEach((e=>{e.invalidate()})),"none"===i.refetchType)return Promise.resolve();const n={...i,type:null!=(e=null!=(t=i.refetchType)?t:i.type)?e:"active"};return this.refetchQueries(n,r)}))}refetchQueries(e,t,n){const[i,r]=mG(e,t,n),o=jG.batch((()=>this.queryCache.findAll(i).filter((e=>!e.isDisabled())).map((e=>{var t;return e.fetch(void 0,{...r,cancelRefetch:null==(t=null==r?void 0:r.cancelRefetch)||t,meta:{refetchPage:i.refetchPage}})}))));let a=Promise.all(o).then(hG);return null!=r&&r.throwOnError||(a=a.catch(hG)),a}fetchQuery(e,t,n){const i=fG(e,t,n),r=this.defaultQueryOptions(i);void 0===r.retry&&(r.retry=!1);const o=this.queryCache.build(this,r);return o.isStaleByTime(r.staleTime)?o.fetch(r):Promise.resolve(o.state.data)}prefetchQuery(e,t,n){return this.fetchQuery(e,t,n).then(hG).catch(hG)}fetchInfiniteQuery(e,t,n){const i=fG(e,t,n);return i.behavior=qG(),this.fetchQuery(i)}prefetchInfiniteQuery(e,t,n){return this.fetchInfiniteQuery(e,t,n).then(hG).catch(hG)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(e){this.defaultOptions=e}setQueryDefaults(e,t){const n=this.queryDefaults.find((t=>bG(e)===bG(t.queryKey)));n?n.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})}getQueryDefaults(e){if(!e)return;const t=this.queryDefaults.find((t=>OG(e,t.queryKey)));if("production"!==process.env.NODE_ENV){const t=this.queryDefaults.filter((t=>OG(e,t.queryKey)));t.length>1&&this.logger.error("[QueryClient] Several query defaults match with key '"+JSON.stringify(e)+"'. The first matching query defaults are used. Please check how query defaults are registered. Order does matter here. cf. https://react-query.tanstack.com/reference/QueryClient#queryclientsetquerydefaults.")}return null==t?void 0:t.defaultOptions}setMutationDefaults(e,t){const n=this.mutationDefaults.find((t=>bG(e)===bG(t.mutationKey)));n?n.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})}getMutationDefaults(e){if(!e)return;const t=this.mutationDefaults.find((t=>OG(e,t.mutationKey)));if("production"!==process.env.NODE_ENV){const t=this.mutationDefaults.filter((t=>OG(e,t.mutationKey)));t.length>1&&this.logger.error("[QueryClient] Several mutation defaults match with key '"+JSON.stringify(e)+"'. The first matching mutation defaults are used. Please check how mutation defaults are registered. Order does matter here. cf. https://react-query.tanstack.com/reference/QueryClient#queryclientsetmutationdefaults.")}return null==t?void 0:t.defaultOptions}defaultQueryOptions(e){if(null!=e&&e._defaulted)return e;const t={...this.defaultOptions.queries,...this.getQueryDefaults(null==e?void 0:e.queryKey),...e,_defaulted:!0};return!t.queryHash&&t.queryKey&&(t.queryHash=yG(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.useErrorBoundary&&(t.useErrorBoundary=!!t.suspense),t}defaultMutationOptions(e){return null!=e&&e._defaulted?e:{...this.defaultOptions.mutations,...this.getMutationDefaults(null==e?void 0:e.mutationKey),...e,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}}({defaultOptions:{queries:{refetchOnWindowFocus:!1,refetchOnMount:!1,refetchOnReconnect:!1,retry:!1,staleTime:5e3,cacheTime:5e3,refetchInterval:!1,refetchIntervalInBackground:!1}},queryCache:(window.__Reach_queryClientCache__=window.__Reach_queryClientCache__||new NG,window.__Reach_queryClientCache__)});y.default.a.withConfig({displayName:"SkipLinksContext__StyledLink",componentId:"sc-9l70wv-0"})(Yre||(Yre=pJ(["\n position: absolute;\n left: -999px;\n width: 1px;\n height: 1px;\n top: auto;\n\n &:focus,\n &:active {\n background-color: ",";\n left: auto;\n top: auto;\n width: auto;\n height: auto;\n display: flex;\n padding: ","px;\n text-align: center;\n font-size: ","px;\n z-index: 999;\n outline: none;\n }\n"],["\n position: absolute;\n left: -999px;\n width: 1px;\n height: 1px;\n top: auto;\n\n &:focus,\n &:active {\n background-color: ",";\n left: auto;\n top: auto;\n width: auto;\n height: auto;\n display: flex;\n padding: ","px;\n text-align: center;\n font-size: ","px;\n z-index: 999;\n outline: none;\n }\n"])),(function(e){return e.theme.palette.white}),L7,Z7);var Jre,eoe=i.createContext({});function toe(){var e=i.useContext(eoe);return(null==e?void 0:e.isNewUXEnabled)?YB(_J,"lt-reach-2"):_J}o.createGlobalStyle(Jre||(Jre=pJ(["\n.lt-reach-2 {\n --color-coral-100: #FFE4DC;\n --color-coral-200: #FFCAB9;\n --color-coral-400: #FF9573;\n --color-neutral-50: #F5F4F3;\n --color-neutral-100: #EBE9E8;\n --color-neutral-300: #C2BCB9;\n --color-neutral-800: #5C5653;\n --color-neutral-950: #0F0E0E;\n --color-primary-100: #FFE4DC;\n --color-primary-300: #FFAF96;\n --color-primary-500: #FF7A50;\n --color-primary-700: #994930;\n --color-error-500: #FF5050;\n --text-color-default: #000;\n --link-color: #000;\n --link-font-weight: 700;\n --max-content-width: 1248px;\n --detail-content-width: 100%;\n --detail-banner-width: 100%;\n --page-background-color: #F5F4F3;\n --main-content-block-margin: 32px;\n --main-content-inline-margin: 24px;\n --utility-area-visibility: none;\n --detail-actions-height: 60px;\n\n @media screen and (min-width: ","px) {\n --detail-content-width: 560px;\n --detail-banner-width: 700px;\n --main-content-inline-margin: 32px;\n }\n\n @media screen and (min-width: ","px) {\n --detail-content-width: 610px;\n --detail-banner-width: 1038px;\n --main-content-block-margin: 50px;\n }\n\n @media screen and (min-width: ","px) {\n --utility-area-visibility: initial;\n }\n\n &&:not(a) {\n color: var(--text-color-default);\n }\n\n h2,\n h3,\n div,\n span,\n input,\n textarea,\n button,\n .ms-font-m,\n div.ms-Dialog,\n .ms-Label,\n .ms-Link\n {\n font-family: Mulish, Arial, sans-serif !important;\n }\n\n h1 {\n font-family: Anybody, Arial, sans-serif !important;\n }\n\n a[data-skip-link] {\n margin: 5px;\n text-decoration: underline;\n font-weight: 700;\n\n > span {\n padding: 10px 0;\n }\n\n &:focus,\n &:active {\n border: 1px solid var(--color-neutral-950);\n box-shadow: 1px 1px 0px 2px var(--color-neutral-950);\n border-radius: 8px;\n color: var(--text-color-default);\n }\n }\n\n button {\n cursor: pointer;\n }\n\n /* Avatar overrides */\n [data-avatar] {\n .ms-Persona-primaryText {\n .ms-TooltipHost {\n font-family: Anybody, Arial, sans-serif !important;\n font-weight: 700;\n }\n }\n }\n\n /* Workspace overrides */\n [data-workspace] {\n font-family: Anybody, Arial, sans-serif !important;\n }\n\n /* Toggle overrides */\n .ms-Toggle {\n button {\n background: var(--color-primary-500);\n }\n }\n\n /* Callout overrides */\n &.lt-reach-callout {\n min-width: 300px !important;\n\n border: 1px solid var(--color-neutral-950);\n border-radius: 8px;\n box-shadow: 1px 1px 0 0.5px var(--color-neutral-950);\n overflow: hidden;\n\n transform: translate3d(0, -10px, 0);\n transition: all 0.2s ease-in-out;\n\n a {\n color: var(--link-color);\n text-decoration: underline;\n font-weight: var(--link-font-weight);\n }\n }\n\n /* Tooltip overrides */\n &.lt-reach-tooltip {\n padding: 2px 4px;\n border-radius: 8px;\n border: 1px solid var(--color-neutral-950);\n box-shadow: 1px 1px 0 0.5px var(--color-neutral-950);\n\n * {\n font-weight: 700;\n font-size: 12px;\n line-height: 14px;\n }\n }\n\n /* Ionic Modal Sheet overrides */\n &.modal-sheet {\n --backdrop-opacity: 1;\n --ion-backdrop-color: var(--color-neutral-950);\n\n &::part(content) {\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n }\n\n @media only screen and (min-width: ","px) and (min-height: ","px) {\n --width: 100%;\n }\n }\n}\n\n/* iOS fixes */\n/* required because on iOS the app overlaps the statusbar, because color changing is not supported */\n.browser-name-ios-webview {\n .lt-reach-2 {\n [data-app-canvas] {\n padding-top: env(safe-area-inset-top);\n }\n }\n}\n"],["\n.lt-reach-2 {\n --color-coral-100: #FFE4DC;\n --color-coral-200: #FFCAB9;\n --color-coral-400: #FF9573;\n --color-neutral-50: #F5F4F3;\n --color-neutral-100: #EBE9E8;\n --color-neutral-300: #C2BCB9;\n --color-neutral-800: #5C5653;\n --color-neutral-950: #0F0E0E;\n --color-primary-100: #FFE4DC;\n --color-primary-300: #FFAF96;\n --color-primary-500: #FF7A50;\n --color-primary-700: #994930;\n --color-error-500: #FF5050;\n --text-color-default: #000;\n --link-color: #000;\n --link-font-weight: 700;\n --max-content-width: 1248px;\n --detail-content-width: 100%;\n --detail-banner-width: 100%;\n --page-background-color: #F5F4F3;\n --main-content-block-margin: 32px;\n --main-content-inline-margin: 24px;\n --utility-area-visibility: none;\n --detail-actions-height: 60px;\n\n @media screen and (min-width: ","px) {\n --detail-content-width: 560px;\n --detail-banner-width: 700px;\n --main-content-inline-margin: 32px;\n }\n\n @media screen and (min-width: ","px) {\n --detail-content-width: 610px;\n --detail-banner-width: 1038px;\n --main-content-block-margin: 50px;\n }\n\n @media screen and (min-width: ","px) {\n --utility-area-visibility: initial;\n }\n\n &&:not(a) {\n color: var(--text-color-default);\n }\n\n h2,\n h3,\n div,\n span,\n input,\n textarea,\n button,\n .ms-font-m,\n div.ms-Dialog,\n .ms-Label,\n .ms-Link\n {\n font-family: Mulish, Arial, sans-serif !important;\n }\n\n h1 {\n font-family: Anybody, Arial, sans-serif !important;\n }\n\n a[data-skip-link] {\n margin: 5px;\n text-decoration: underline;\n font-weight: 700;\n\n > span {\n padding: 10px 0;\n }\n\n &:focus,\n &:active {\n border: 1px solid var(--color-neutral-950);\n box-shadow: 1px 1px 0px 2px var(--color-neutral-950);\n border-radius: 8px;\n color: var(--text-color-default);\n }\n }\n\n button {\n cursor: pointer;\n }\n\n /* Avatar overrides */\n [data-avatar] {\n .ms-Persona-primaryText {\n .ms-TooltipHost {\n font-family: Anybody, Arial, sans-serif !important;\n font-weight: 700;\n }\n }\n }\n\n /* Workspace overrides */\n [data-workspace] {\n font-family: Anybody, Arial, sans-serif !important;\n }\n\n /* Toggle overrides */\n .ms-Toggle {\n button {\n background: var(--color-primary-500);\n }\n }\n\n /* Callout overrides */\n &.lt-reach-callout {\n min-width: 300px !important;\n\n border: 1px solid var(--color-neutral-950);\n border-radius: 8px;\n box-shadow: 1px 1px 0 0.5px var(--color-neutral-950);\n overflow: hidden;\n\n transform: translate3d(0, -10px, 0);\n transition: all 0.2s ease-in-out;\n\n a {\n color: var(--link-color);\n text-decoration: underline;\n font-weight: var(--link-font-weight);\n }\n }\n\n /* Tooltip overrides */\n &.lt-reach-tooltip {\n padding: 2px 4px;\n border-radius: 8px;\n border: 1px solid var(--color-neutral-950);\n box-shadow: 1px 1px 0 0.5px var(--color-neutral-950);\n\n * {\n font-weight: 700;\n font-size: 12px;\n line-height: 14px;\n }\n }\n\n /* Ionic Modal Sheet overrides */\n &.modal-sheet {\n --backdrop-opacity: 1;\n --ion-backdrop-color: var(--color-neutral-950);\n\n &::part(content) {\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n }\n\n @media only screen and (min-width: ","px) and (min-height: ","px) {\n --width: 100%;\n }\n }\n}\n\n/* iOS fixes */\n/* required because on iOS the app overlaps the statusbar, because color changing is not supported */\n.browser-name-ios-webview {\n .lt-reach-2 {\n [data-app-canvas] {\n padding-top: env(safe-area-inset-top);\n }\n }\n}\n"])),M7,Q7,N7,M7,M7);$X("/*! 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");$X('/*! 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 noe={exports:{}};
132
132
  /*! PhotoSwipe - v4.1.3 - 2019-01-08
133
133
  * http://photoswipe.com
134
134
  * 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 o=0;o<t.length;o++)t[o]&&e[r](t[o],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 o=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);o&&o.length>0&&(o=parseInt(o[1],10))>=1&&o<8&&(n.isOldIOSPhone=!0)}var a=i.match(/Android\s([0-9\.]*)/),s=a?a[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"],p=0;p<4;p++){t=d[p];for(var h=0;h<3;h++)l=c[h],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,o=(i?"detach":"attach")+"Event",a=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]=a;e[o]("on"+r,n["oldIE"+r])}else e[o]("on"+r,n)});var o=this,a=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,p,h,f,m,g,v,y,b,O,_,w,x,k,S,P,E,C,F,T,D,A,I,L,$,z,R,j,M,Q,N,U,B,q,G,W,X,V,Y,Z,H,K,J,ee,te,ne,ie,re,oe,ae,se,le,ue,ce,de=function(){return{x:0,y:0}},pe=de(),he=de(),fe=de(),me={},ge=0,ve={},ye=de(),be=0,Oe=!0,_e=[],we={},xe=!1,ke=function(e,t){r.extend(o,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)},Ce=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(o,n)}},Fe=function(){return(new Date).getTime()},Te=function(e){le=e,o.bg.style.opacity=e*l.bgOpacity},De=function(e,t,n,i,r){(!xe||r&&r!==o.currItem)&&(i/=r?r.fitRatio:o.currItem.fitRatio),e[T]=O+t+"px, "+n+"px"+_+" scale("+i+")"},Ae=function(e){ie&&(e&&(y>o.currItem.fitRatio?xe||(dn(o.currItem,!1,!0),xe=!0):xe&&(dn(o.currItem),xe=!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"+_},$e=function(e,t){if(!l.loop&&t){var n=p+(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,h)},ze=function(e,t){var n=bt[e]-ve[e];return he[e]+pe[e]+n-n*(t/b)},Re=function(e,t){e.x=t.x,e.y=t.y,t.id&&(e.id=t.id)},je=function(e){e.x=Math.round(e.x),e.y=Math.round(e.y)},Me=null,Qe=function(){Me&&(r.unbind(document,"mousemove",Qe),r.addClass(e,"pswp--has_mouse"),l.mouseUsed=!0,Ce("mouseUsed")),Me=setTimeout((function(){Me=null}),100)},Ne=function(){r.bind(document,"keydown",o),M.transform&&r.bind(o.scrollWrap,"click",o),l.mouseUsed||r.bind(document,"mousemove",Qe),r.bind(window,"resize scroll orientationchange",o),Ce("bindEvents")},Ue=function(){r.unbind(window,"resize scroll orientationchange",o),r.unbind(window,"scroll",v.scroll),r.unbind(document,"keydown",o),r.unbind(document,"mousemove",Qe),M.transform&&r.unbind(o.scrollWrap,"click",o),X&&r.unbind(window,m,o),clearTimeout(Q),Ce("unbindEvents")},Be=function(e,t){var n=sn(o.currItem,me,e);return t&&(ne=n),n},qe=function(e){return e||(e=o.currItem),e.initialZoomLevel},Ge=function(e){return e||(e=o.currItem),e.w>0?l.maxSpreadZoom:1},We=function(e,t,n,i){return i===o.currItem.initialZoomLevel?(n[e]=o.currItem.initialPosition[e],!0):(n[e]=ze(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=M.perspective&&!A;return O="translate"+(t?"3d(":"("),void(_=M.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=o.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,o[t]()))},Ye=function(e){e&&(Z||Y||re||G)&&(e.preventDefault(),e.stopPropagation())},Ze=function(){o.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,o,a){var s,l=Fe();et(e);var u=function(){if(He[e]){if((s=Fe()-l)>=i)return Je(e),o(n),void(a&&a());o((n-t)*r(s/i)+t),He[e].raf=I(u)}};u()},it={shout:Ce,listen:Ee,viewportSize:me,options:l,isMainScrollAnimating:function(){return re},getZoomLevel:function(){return y},getCurrentIndex:function(){return p},isDragging:function(){return X},isZooming:function(){return ee},setScrollOffset:function(e,t){ve.x=e,j=ve.y=t,Ce("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;o.framework=r,o.template=e,o.bg=r.getChildByClass(e,"pswp__bg"),$=e.className,u=!0,M=r.detectFeatures(),I=M.raf,L=M.caf,T=M.transform,R=M.oldIE,o.scrollWrap=r.getChildByClass(e,"pswp__scroll-wrap"),o.container=r.getChildByClass(o.scrollWrap,"pswp__container"),h=o.container.style,o.itemHolders=k=[{el:o.container.children[0],wrap:0,index:-1},{el:o.container.children[1],wrap:0,index:-1},{el:o.container.children[2],wrap:0,index:-1}],k[0].el.style.display=k[2].el.style.display="none",Xe(),v={resize:o.updateSize,orientationchange:function(){clearTimeout(Q),Q=setTimeout((function(){me.x!==o.scrollWrap.clientWidth&&o.updateSize()}),500)},scroll:Ze,keydown:Ve,click:Ye};var i=M.isOldIOSPhone||M.isOldAndroid||M.isMobileOpera;for(M.animationName&&M.transform&&!i||(l.showAnimationDuration=l.hideAnimationDuration=0),n=0;n<_e.length;n++)o["init"+_e[n]]();t&&(o.ui=new t(o,r)).init(),Ce("firstUpdate"),p=p||l.index||0,(isNaN(p)||p<0||p>=Jt())&&(p=0),o.currItem=Kt(p),(M.isOldIOSPhone||M.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===j&&(Ce("initialLayout"),j=z=r.getScrollY());var a="pswp--open ";for(l.mainClass&&(a+=l.mainClass+" "),l.showHideOpacity&&(a+="pswp--animate_opacity "),a+=A?"pswp--touch":"pswp--notouch",a+=M.animationName?" pswp--css_animation":"",a+=M.svg?" pswp--svg":"",r.addClass(e,a),o.updateSize(),f=-1,be=null,n=0;n<s;n++)Le((n+f)*ye.x,k[n].el.style);R||r.bind(o.scrollWrap,g,o),Ee("initialZoomInEnd",(function(){o.setContent(k[0],p-1),o.setContent(k[2],p+1),k[0].el.style.display=k[2].el.style.display="block",l.focus&&e.focus(),Ne()})),o.setContent(k[1],p),o.updateCurrItem(),Ce("afterInit"),Oe||(w=setInterval((function(){Ke||X||ee||y!==o.currItem.initialZoomLevel||o.updateSize()}),1e3)),r.addClass(e,"pswp--visible")}},close:function(){u&&(u=!1,c=!0,Ce("close"),Ue(),en(o.currItem,null,!0,o.destroy))},destroy:function(){Ce("destroy"),Vt&&clearTimeout(Vt),e.setAttribute("aria-hidden","true"),e.className=$,w&&clearInterval(w),r.unbind(o.scrollWrap,g,o),r.unbind(window,"scroll",o),kt(),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))-p;be=t,p=e,o.currItem=Kt(p),ge-=t,$e(ye.x*ge),tt(),re=!1,o.updateCurrItem()},next:function(){o.goTo(p+1)},prev:function(){o.goTo(p-1)},updateCurrZoomItem:function(e){if(e&&Ce("beforeChange",0),k[1].el.children.length){var t=k[1].el.children[0];ie=r.hasClass(t,"pswp__zoom-wrap")?t.style:null}else ie=null;ne=o.currItem.bounds,b=y=o.currItem.initialZoomLevel,fe.x=ne.center.x,fe.y=ne.center.y,e&&Ce("afterChange")},invalidateCurrItems:function(){x=!0;for(var e=0;e<s;e++)k[e].item&&(k[e].item.needsUpdate=!0)},updateCurrItem:function(e){if(0!==be){var t,n=Math.abs(be);if(!(e&&n<2)){o.currItem=Kt(p),xe=!1,Ce("beforeChange",be),n>=s&&(f+=be+(be>0?-s:s),n=s);for(var i=0;i<n;i++)be>0?(t=k.shift(),k[s-1]=t,f++,Le((f+2)*ye.x,t.el.style),o.setContent(t,p-n+i+1+1)):(t=k.pop(),k.unshift(t),f--,Le(f*ye.x,t.el.style),o.setContent(t,p+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,o.updateCurrZoomItem(),S=p,Ce("afterChange")}}},updateSize:function(t){if(!Oe&&l.modal){var n=r.getScrollY();if(j!==n&&(e.style.top=n+"px",j=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=o.scrollWrap.clientWidth,me.y=o.scrollWrap.clientHeight,Ze(),ye.x=me.x+Math.round(me.x*l.spacing),ye.y=me.y,$e(ye.x*ge),Ce("beforeResize"),void 0!==f){for(var i,a,u,c=0;c<s;c++)i=k[c],Le((c+f)*ye.x,i.el.style),u=p+c-1,l.loop&&Jt()>2&&(u=Se(u)),(a=Kt(u))&&(x||a.needsUpdate||!a.bounds)?(o.cleanSlide(a),o.setContent(i,u),1===c&&(o.currItem=a,o.updateCurrZoomItem(!0)),a.needsUpdate=!1):-1===i.index&&u>=0&&o.setContent(i,u),a&&a.container&&(sn(a,me),dn(a),Ie(a));x=!1}b=y=o.currItem.initialZoomLevel,(ne=o.currItem.bounds)&&(fe.x=ne.center.x,fe.y=ne.center.y,Ae(!0)),Ce("resize")},zoomTo:function(e,t,n,i,o){t&&(b=y,bt.x=Math.abs(t.x)-fe.x,bt.y=Math.abs(t.y)-fe.y,Re(he,fe));var a=Be(e,!1),s={};We("x",a,s,e),We("y",a,s,e);var l=y,u={x:fe.x,y:fe.y};je(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),o&&o(t),Ae(1===t)};n?nt("customZoomTo",0,1,n,i||r.easing.sine.inOut,c):c(1)}},rt=30,ot=10,at={},st={},lt={},ut={},ct={},dt=[],pt={},ht=[],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)<a&&Math.abs(e.y-t.y)<a},xt=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)},kt=function(){H&&(L(H),H=null)},St=function(){X&&(H=I(St),Nt())},Pt=function(){return!("fit"===l.scaleMode&&y===o.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))},Ct={},Ft=function(e,t){return Ct.prevent=!Et(e.target,l.isClickableElement),Ce("preventDragEvent",e,t,Ct),Ct.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=ht.length>2?ht.shift():{};i.x=t,i.y=n,ht.push(i),U=e}},It=function(){var e=fe.y-o.currItem.initialPosition.y;return 1-Math.abs(e/(me.y/2))},Lt={},$t={},zt=[],Rt=function(e){for(;zt.length>0;)zt.pop();return D?(ce=0,dt.forEach((function(e){0===ce?zt[0]=e:1===ce&&(zt[1]=e),ce++}))):e.type.indexOf("touch")>-1?e.touches&&e.touches.length>0&&(zt[0]=Tt(e.touches[0],Lt),e.touches.length>1&&(zt[1]=Tt(e.touches[1],$t))):(Lt.x=e.pageX,Lt.y=e.pageY,Lt.id="",zt[0]=Lt),zt},jt=function(e,t){var n,i,r,a,s=fe[e]+t[e],u=t[e]>0,c=yt.x+t.x,d=yt.x-pt.x;if(n=s>ne.min[e]||s<ne.max[e]?l.panEndFriction:1,s=fe[e]+t[e]*n,(l.allowPanToNext||y===o.currItem.initialZoomLevel)&&(ie?"h"!==oe||"x"!==e||Y||(u?(s>ne.min[e]&&(n=l.panEndFriction,ne.min[e],i=ne.min[e]-he[e]),(i<=0||d<0)&&Jt()>1?(a=c,d<0&&c>pt.x&&(a=pt.x)):ne.min.x!==ne.max.x&&(r=s)):(s<ne.max[e]&&(n=l.panEndFriction,ne.max[e],i=he[e]-ne.max[e]),(i<=0||d>0)&&Jt()>1?(a=c,d>0&&c<pt.x&&(a=pt.x)):ne.min.x!==ne.max.x&&(r=s))):a=c,"x"===e))return void 0!==a&&($e(a,!0),K=a!==pt.x),ne.min.x!==ne.max.x&&(void 0!==r?fe.x=r:K||(fe.x+=t.x*n)),void 0!==a;re||K||y>o.currItem.fitRatio&&(fe[e]+=t[e]*n)},Mt=function(e){if(!("mousedown"===e.type&&e.button>0))if(Ht)e.preventDefault();else if(!W||"mousedown"!==e.type){if(Ft(e,!0)&&e.preventDefault(),Ce("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=ae=!0,r.bind(window,m,o),q=ue=se=G=K=Z=V=Y=!1,oe=null,Ce("firstTouchStart",n),Re(he,fe),pe.x=pe.y=0,Re(ut,n[0]),Re(ct,ut),pt.x=ye.x*ge,ht=[{x:ut.x,y:ut.y}],U=N=Fe(),Be(y,!0),kt(),St()),!ee&&i>1&&!re&&!K&&(b=y,Y=!1,ee=V=!0,pe.y=pe.x=0,Re(he,fe),Re(at,n[0]),Re(st,n[1]),Dt(at,st,Ot),bt.x=Math.abs(Ot.x)-fe.x,bt.y=Math.abs(Ot.y)-fe.y,te=xt(at,st))}},Qt=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(oe||Z||ee)J=i;else if(yt.x!==ye.x*ge)oe="h";else{var o=Math.abs(i[0].x-ut.x)-Math.abs(i[0].y-ut.y);Math.abs(o)>=ot&&(oe=o>0?"h":"v",J=i)}}},Nt=function(){if(J){var e=J.length;if(0!==e)if(Re(at,J[0]),lt.x=at.x-ut.x,lt.y=at.y-ut.y,ee&&e>1){if(ut.x=at.x,ut.y=at.y,!lt.x&&!lt.y&&_t(J[1],st))return;Re(st,J[1]),Y||(Y=!0,Ce("zoomGestureStarted"));var t=xt(at,st),n=Wt(t);n>o.currItem.initialZoomLevel+o.currItem.initialZoomLevel/15&&(ue=!0);var i=1,r=qe(),a=Ge();if(n<r)if(l.pinchToClose&&!ue&&b<=o.currItem.initialZoomLevel){var s=1-(r-n)/(r/1.2);Te(s),Ce("onPinchClose",s),se=!0}else(i=(r-n)/r)>1&&(i=1),n=r-i*(r/3);else n>a&&((i=(n-a)/(6*r))>1&&(i=1),n=a+i*r);i<0&&(i=0),Dt(at,st,gt),pe.x+=gt.x-Ot.x,pe.y+=gt.y-Ot.y,Re(Ot,gt),fe.x=ze("x",n),fe.y=ze("y",n),q=n>y,y=n,Ae()}else{if(!oe)return;if(ae&&(ae=!1,Math.abs(lt.x)>=ot&&(lt.x-=J[0].x-ct.x),Math.abs(lt.y)>=ot&&(lt.y-=J[0].y-ct.y)),ut.x=at.x,ut.y=at.y,0===lt.x&&0===lt.y)return;if("v"===oe&&l.closeOnVerticalDrag&&!Pt()){pe.y+=lt.y,fe.y+=lt.y;var u=It();return G=!0,Ce("onVerticalDrag",u),Te(u),void Ae()}At(Fe(),at.x,at.y),Z=!0,ne=o.currItem.bounds,jt("x",lt)||(jt("y",lt),je(fe),Ae())}}},Ut=function(e){if(M.isOldAndroid){if(W&&"mouseup"===e.type)return;e.type.indexOf("touch")>-1&&(clearTimeout(W),W=setTimeout((function(){W=0}),600))}var t;if(Ce("pointerUp"),Ft(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 a,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||oe||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"})),Ce("touchRelease",e,t));var c=-1;if(0===u&&(X=!1,r.unbind(window,m,o),kt(),ee?c=0:-1!==vt&&(c=Fe()-vt)),vt=1===u?Fe():-1,a=-1!==c&&c<150?"zoom":"swipe",ee&&u<2&&(ee=!1,1===u&&(a="zoomPointerUp"),Ce("zoomGestureEnded")),J=null,Z||Y||re||G)if(tt(),B||(B=Bt()),B.calculateSwipeSpeed("x"),G)if(It()<l.verticalDragRange)o.close();else{var d=fe.y,p=le;nt("verticalDrag",0,1,300,r.easing.cubic.out,(function(e){fe.y=(o.currItem.initialPosition.y-d)*e+d,Te((1-p)*e+p),Ae()})),Ce("onVerticalDrag",1)}else{if((K||re)&&0===u){if(Gt(a,B))return;a="zoomPointerUp"}re||("swipe"===a?!K&&y>o.currItem.fitRatio&&qt(B):Xt())}},Bt=function(){var e,t,n={lastFlickOffset:{},lastFlickDist:{},lastFlickSpeed:{},slowDownRatio:{},slowDownRatioReverse:{},speedDecelerationRatio:{},speedDecelerationRatioAbs:{},distanceOffset:{},backAnimDestination:{},backAnimStarted:{},calculateSwipeSpeed:function(i){ht.length>1?(e=Fe()-U+50,t=ht[ht.length-2][i]):(e=Fe()-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=Fe(),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},qt=function(e){if(e.calculateSwipeSpeed("y"),ne=o.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=Fe(),e.panAnimLoop()},Gt=function(e,t){var n,i,a;if(re||(mt=p),"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&&((p+=i)<0?(p=l.loop?Jt()-1:0,a=!0):p>=Jt()&&(p=l.loop?0:Jt()-1,a=!0),a&&!l.loop||(be+=i,ge-=i,n=!0));var c,d=ye.x*ge,h=Math.abs(d-yt.x);return n||d>yt.x==t.lastFlickSpeed.x>0?(c=Math.abs(t.lastFlickSpeed.x)>0?h/Math.abs(t.lastFlickSpeed.x):333,c=Math.min(c,400),c=Math.max(c,250)):c=333,mt===p&&(n=!1),re=!0,Ce("mainScrollAnimStart"),nt("mainScroll",yt.x,d,c,r.easing.cubic.out,$e,(function(){tt(),re=!1,mt=-1,(n||mt!==p)&&o.updateCurrItem(),Ce("mainScrollAnimComplete")})),n&&o.updateCurrItem(!0),n},Wt=function(e){return 1/te*e*b},Xt=function(){var e=y,t=qe(),n=Ge();y<t?e=t:y>n&&(e=n);var i,a=1,s=le;return se&&!q&&!ue&&y<t?(o.close(),!0):(se&&(i=function(e){Te((a-s)*e+s)}),o.zoomTo(e,0,200,r.easing.cubic.out,i),!0)};ke("Gestures",{publicMethods:{initGestures:function(){var e=function(e,t,n,i,r){P=e+t,E=e+n,C=e+i,F=r?e+r:""};(D=M.pointerEvent)&&M.touch&&(M.touch=!1),D?navigator.msPointerEnabled?e("MSPointer","Down","Move","Up","Cancel"):e("pointer","down","move","up","cancel"):M.touch?(e("touch","start","move","end","cancel"),A=!0):e("mouse","down","move","up"),m=E+" "+C+" "+F,g=P,D&&!A&&(A=navigator.maxTouchPoints>1||navigator.msMaxTouchPoints>1),o.likelyTouchDevice=A,v[P]=Mt,v[E]=Qt,v[C]=Ut,F&&(v[F]=v[C]),M.touch&&(g+=" mousedown",m+=" mousemove mouseup",v.mousedown=v[P],v.mousemove=v[E],v.mouseup=v[C]),A||(l.allowPanToNext=!1)}}});var Vt,Yt,Zt,Ht,Kt,Jt,en=function(t,n,i,a){var s;Vt&&clearTimeout(Vt),Ht=!0,Zt=!0,t.initialLayout?(s=t.initialLayout,t.initialLayout=null):s=l.getThumbBoundsFn&&l.getThumbBoundsFn(p);var u=i?l.hideAnimationDuration:l.showAnimationDuration,c=function(){Je("initialZoom"),i?(o.template.removeAttribute("style"),o.bg.removeAttribute("style")):(Te(1),n&&(n.style.display="block"),r.addClass(e,"pswp--animated-in"),Ce("initialZoom"+(i?"OutEnd":"InEnd"))),a&&a(),Ht=!1};if(!u||!s||void 0===s.x)return Ce("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 h=function(){var n=d,a=!o.currItem.src||o.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-z,o[a?"template":"bg"].style.opacity=.001,Ae()),et("initialZoom"),i&&!n&&r.removeClass(e,"pswp--animated-in"),a&&(i?r[(n?"remove":"add")+"Class"](e,"pswp--animate_opacity"):setTimeout((function(){r.addClass(e,"pswp--animate_opacity")}),30)),Vt=setTimeout((function(){if(Ce("initialZoom"+(i?"Out":"In")),i){var o=s.w/t.w,l={x:fe.x,y:fe.y},d=y,p=le,h=function(t){1===t?(y=o,fe.x=s.x,fe.y=s.y-j):(y=(o-d)*t+d,fe.x=(s.x-l.x)*t+l.x,fe.y=(s.y-j-l.y)*t+l.y),Ae(),a?e.style.opacity=1-t:Te(p-t*p)};n?nt("initialZoom",0,1,u,r.easing.cubic.out,h,c):(h(1),Vt=setTimeout(c,u+20))}else y=t.initialZoomLevel,Re(fe,t.initialPosition),Ae(),Te(1),a?e.style.opacity=1:Te(1),Vt=setTimeout(c,u+20)}),i?25:90)};h()},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}},on=function(){return{center:{x:0,y:0},max:{x:0,y:0},min:{x:0,y:0}}},an=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}),Ce("parseVerticalMargin",e)),tn.x=t.x,tn.y=t.y-e.vGap.top-e.vGap.bottom,i){var r=tn.x/e.w,o=tn.y/e.h;e.fitRatio=r<o?r:o;var a=l.scaleMode;"orig"===a?n=1:"fit"===a&&(n=e.fitRatio),n>1&&(n=1),e.initialZoomLevel=n,e.bounds||(e.bounds=on())}if(!n)return;return an(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=on(),e.initialPosition=e.bounds.center,e.bounds},ln=function(e,t,n,i,r,a){t.loadError||i&&(t.imageAppended=!0,dn(t,i,t===o.currItem&&xe),n.appendChild(i),a&&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"}},pn=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=[]}};ke("Controller",{publicMethods:{lazyLoadItem:function(e){e=Se(e);var t=Kt(e);t&&(!t.loaded&&!t.loading||x)&&(Ce("gettingData",e,t),t.src&&un(t))},initController:function(){r.extend(l,rn,!0),o.items=Yt=n,Kt=o.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()),a=Math.min(n[1],Jt());for(t=1;t<=(i?a:r);t++)o.lazyLoadItem(p+t);for(t=1;t<=(i?r:a);t++)o.lazyLoadItem(p-t)})),Ee("initialLayout",(function(){o.currItem.initialLayout=l.getThumbBoundsFn&&l.getThumbBoundsFn(p)})),Ee("mainScrollAnimComplete",pn),Ee("initialZoomInEnd",pn),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=o.getItemAt(e.index);n&&(n.container=null);var i,a=o.getItemAt(t);if(a){Ce("gettingData",t,a),e.index=t,e.item=a;var s=a.container=r.createEl("pswp__zoom-wrap");if(!a.src&&a.html&&(a.html.tagName?s.appendChild(a.html):s.innerHTML=a.html),cn(a),sn(a,me),!a.src||a.loadError||a.loaded)a.src&&!a.loadError&&((i=r.createEl("pswp__img","img")).style.opacity=1,i.src=a.src,dn(a,i),ln(t,a,s,i));else{if(a.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===p&&o.updateCurrZoomItem());n.imageAppended?!Ht&&n.placeholder&&(n.placeholder.style.display="none",n.placeholder=null):M.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,Ce("imageLoadComplete",t,n)}},r.features.transform){var c="pswp__img pswp__img--placeholder";c+=a.msrc?"":" pswp__img--placeholder--blank";var d=r.createEl(c,a.msrc?"img":"");a.msrc&&(d.src=a.msrc),dn(a,d),s.appendChild(d),a.placeholder=d}a.loading||un(a),o.allowProgressiveImg()&&(!Zt&&M.transform?nn.push({item:a,baseDiv:s,img:a.img,index:t,holder:e}):ln(t,a,s,a.img,!0,!0))}Zt||t!==p?Ie(a):(ie=s.style,en(a,i||a.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 hn,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)};ke("Tap",{publicMethods:{initTap:function(){Ee("firstTouchStart",o.onTapStart),Ee("touchRelease",o.onTapRelease),Ee("destroy",(function(){mn={},hn=null}))},onTapStart:function(e){e.length>1&&(clearTimeout(hn),hn=null)},onTapRelease:function(e,t){if(t&&!Z&&!V&&!Ke){var n=t;if(hn&&(clearTimeout(hn),hn=null,wt(n,mn)))return void Ce("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),hn=setTimeout((function(){gn(e,t),hn=null}),300)}}}}),ke("DesktopZoom",{publicMethods:{initDesktopZoom:function(){R||(A?Ee("mouseUsed",(function(){o.setupDesktopZoom()})):o.setupDesktopZoom(!0))},setupDesktopZoom:function(t){fn={};var n="wheel mousewheel DOMMouseScroll";Ee("bindEvents",(function(){r.bind(e,n,o.handleMouseWheel)})),Ee("unbindEvents",(function(){fn&&r.unbind(e,n,o.handleMouseWheel)})),o.mouseZoomedIn=!1;var i,a=function(){o.mouseZoomedIn&&(r.removeClass(e,"pswp--zoomed-in"),o.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",a),Ee("afterChange",a),Ee("pointerDown",(function(){o.mouseZoomedIn&&(i=!0,r.addClass(e,"pswp--dragging"))})),Ee("pointerUp",s),t||a()},handleMouseWheel:function(e){if(y<=o.currItem.fitRatio)return l.modal&&(!l.closeOnScroll||Ke||X?e.preventDefault():T&&Math.abs(e.deltaY)>2&&(d=!0,o.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}Be(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(),o.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,o.currItem),i=y===n;o.mouseZoomedIn=!i,o.zoomTo(i?o.currItem.initialZoomLevel:n,t,333),r[(i?"remove":"add")+"Class"](e,"pswp--zoomed-in")}}});var vn,yn,bn,On,_n,wn,xn,kn,Sn,Pn,En,Cn,Fn={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 o=t.pid;for(t.pid=0,n=0;n<Yt.length;n++)if(Yt[n].pid===o){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=p+1,t=Kt(p);t.hasOwnProperty("pid")&&(e=t.pid);var n=xn+"&gid="+l.galleryUID+"&pid="+e;kn||-1===En.hash.indexOf(n)&&(Pn=!0);var i=En.href.split("#")[0]+"#"+n;Cn?"#"+n!==window.location.hash&&history[kn?"replaceState":"pushState"]("",document.title,i):kn?En.replace(i):En.hash=n,kn=!0,yn=setTimeout((function(){On=!1}),60)}};ke("History",{publicMethods:{initHistory:function(){if(r.extend(l,Fn,!0),l.history){En=window.location,Pn=!1,Sn=!1,kn=!1,xn=Tn(),Cn="pushState"in history,xn.indexOf("gid=")>-1&&(xn=(xn=xn.split("&gid=")[0]).split("?gid=")[0]),Ee("afterChange",o.updateURL),Ee("unbindEvents",(function(){r.unbind(window,"hashchange",o.onHashChange)}));var e=function(){wn=!0,Sn||(Pn?history.back():xn?En.hash=xn:Cn?history.pushState("",document.title,En.pathname+En.search):En.hash=""),Dn()};Ee("unbindEvents",(function(){d&&e()})),Ee("destroy",(function(){wn||e()})),Ee("firstUpdate",(function(){p=An().pid}));var t=xn.indexOf("pid=");t>-1&&"&"===(xn=xn.substring(0,t)).slice(-1)&&(xn=xn.slice(0,-1)),setTimeout((function(){u&&r.bind(window,"hashchange",o.onHashChange)}),40)}},onHashChange:function(){if(Tn()===xn)return Sn=!0,void o.close();On||(_n=!0,o.goTo(An().pid),_n=!1)},updateURL:function(){Dn(),_n||(kn?vn=setTimeout(In,800):In())}}}),r.extend(o,it)};return e}()}(noe);var ioe=noe.exports,roe={exports:{}};
@@ -250,7 +250,7 @@ const fPe=async(e,t,n,i,r,o)=>{var a;if(e)return e.attachViewToDom(t,n,r,i);if(!
250
250
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
251
251
  PERFORMANCE OF THIS SOFTWARE.
252
252
  ***************************************************************************** */
253
- var rTe=function(){return rTe=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},rTe.apply(this,arguments)};function oTe(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 aTe(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i.throw(e))}catch(e){o(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(a,s)}l((i=i.apply(e,t||[])).next())}))}function sTe(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function lTe(e,t,n){if(n||2===arguments.length)for(var i,r=0,o=t.length;r<o;r++)!i&&r in t||(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||t)}function uTe(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var cTe,dTe=function(e){var n,i=e.children,r=oTe(e,["children"]),o=toe();return t.jsxs(t.Fragment,{children:[t.jsx(pTe,{},void 0),t.jsx(a.Dialog,rTe({},r,{modalProps:rTe(rTe({},r.modalProps||{}),{className:YB(o,"lt-reach-dialog",{"lt-reach-dialog-mobile":os.isAnyMobileApp},null===(n=r.modalProps)||void 0===n?void 0:n.className)})},{children:i}),void 0)]},void 0)},pTe=o.createGlobalStyle(cTe||(cTe=uTe(['\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']))),hTe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},fTe=function(e){return e&&e.Math==Math&&e},mTe=fTe("object"==typeof globalThis&&globalThis)||fTe("object"==typeof window&&window)||fTe("object"==typeof self&&self)||fTe("object"==typeof hTe&&hTe)||Function("return this")(),gTe={},vTe=function(e){try{return!!e()}catch(e){return!0}},yTe=!vTe((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),bTe={},OTe={}.propertyIsEnumerable,_Te=Object.getOwnPropertyDescriptor,wTe=_Te&&!OTe.call({1:2},1);bTe.f=wTe?function(e){var t=_Te(this,e);return!!t&&t.enumerable}:OTe;var xTe=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},kTe={}.toString,STe=function(e){return kTe.call(e).slice(8,-1)},PTe=STe,ETe="".split,CTe=vTe((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==PTe(e)?ETe.call(e,""):Object(e)}:Object,FTe=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},TTe=CTe,DTe=FTe,ATe=function(e){return TTe(DTe(e))},ITe=function(e){return"object"==typeof e?null!==e:"function"==typeof e},LTe=ITe,$Te=function(e,t){if(!LTe(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!LTe(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!LTe(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!LTe(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")},zTe={}.hasOwnProperty,RTe=function(e,t){return zTe.call(e,t)},jTe=ITe,MTe=mTe.document,QTe=jTe(MTe)&&jTe(MTe.createElement),NTe=function(e){return QTe?MTe.createElement(e):{}},UTe=NTe,BTe=!yTe&&!vTe((function(){return 7!=Object.defineProperty(UTe("div"),"a",{get:function(){return 7}}).a})),qTe=yTe,GTe=bTe,WTe=xTe,XTe=ATe,VTe=$Te,YTe=RTe,ZTe=BTe,HTe=Object.getOwnPropertyDescriptor;gTe.f=qTe?HTe:function(e,t){if(e=XTe(e),t=VTe(t,!0),ZTe)try{return HTe(e,t)}catch(e){}if(YTe(e,t))return WTe(!GTe.f.call(e,t),e[t])};var KTe={},JTe=ITe,eDe=function(e){if(!JTe(e))throw TypeError(String(e)+" is not an object");return e},tDe=yTe,nDe=BTe,iDe=eDe,rDe=$Te,oDe=Object.defineProperty;KTe.f=tDe?oDe:function(e,t,n){if(iDe(e),t=rDe(t,!0),iDe(n),nDe)try{return oDe(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 aDe=KTe,sDe=xTe,lDe=yTe?function(e,t,n){return aDe.f(e,t,sDe(1,n))}:function(e,t,n){return e[t]=n,e},uDe={exports:{}},cDe=mTe,dDe=lDe,pDe=function(e,t){try{dDe(cDe,e,t)}catch(n){cDe[e]=t}return t},hDe=pDe,fDe="__core-js_shared__",mDe=mTe[fDe]||hDe(fDe,{}),gDe=mDe,vDe=Function.toString;"function"!=typeof gDe.inspectSource&&(gDe.inspectSource=function(e){return vDe.call(e)});var yDe=gDe.inspectSource,bDe=yDe,ODe=mTe.WeakMap,_De="function"==typeof ODe&&/native code/.test(bDe(ODe)),wDe={exports:{}},xDe=mDe;(wDe.exports=function(e,t){return xDe[e]||(xDe[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"});var kDe,SDe,PDe,EDe=0,CDe=Math.random(),FDe=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++EDe+CDe).toString(36)},TDe=wDe.exports,DDe=FDe,ADe=TDe("keys"),IDe=function(e){return ADe[e]||(ADe[e]=DDe(e))},LDe={},$De=_De,zDe=ITe,RDe=lDe,jDe=RTe,MDe=IDe,QDe=LDe,NDe=mTe.WeakMap;if($De){var UDe=new NDe,BDe=UDe.get,qDe=UDe.has,GDe=UDe.set;kDe=function(e,t){return GDe.call(UDe,e,t),t},SDe=function(e){return BDe.call(UDe,e)||{}},PDe=function(e){return qDe.call(UDe,e)}}else{var WDe=MDe("state");QDe[WDe]=!0,kDe=function(e,t){return RDe(e,WDe,t),t},SDe=function(e){return jDe(e,WDe)?e[WDe]:{}},PDe=function(e){return jDe(e,WDe)}}var XDe={set:kDe,get:SDe,has:PDe,enforce:function(e){return PDe(e)?SDe(e):kDe(e,{})},getterFor:function(e){return function(t){var n;if(!zDe(t)||(n=SDe(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},VDe=mTe,YDe=lDe,ZDe=RTe,HDe=pDe,KDe=yDe,JDe=XDe.get,eAe=XDe.enforce,tAe=String(String).split("String");(uDe.exports=function(e,t,n,i){var r=!!i&&!!i.unsafe,o=!!i&&!!i.enumerable,a=!!i&&!!i.noTargetGet;"function"==typeof n&&("string"!=typeof t||ZDe(n,"name")||YDe(n,"name",t),eAe(n).source=tAe.join("string"==typeof t?t:"")),e!==VDe?(r?!a&&e[t]&&(o=!0):delete e[t],o?e[t]=n:YDe(e,t,n)):o?e[t]=n:HDe(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&JDe(this).source||KDe(this)}));var nAe=mTe,iAe=mTe,rAe=function(e){return"function"==typeof e?e:void 0},oAe=function(e,t){return arguments.length<2?rAe(nAe[e])||rAe(iAe[e]):nAe[e]&&nAe[e][t]||iAe[e]&&iAe[e][t]},aAe={},sAe=Math.ceil,lAe=Math.floor,uAe=function(e){return isNaN(e=+e)?0:(e>0?lAe:sAe)(e)},cAe=uAe,dAe=Math.min,pAe=function(e){return e>0?dAe(cAe(e),9007199254740991):0},hAe=uAe,fAe=Math.max,mAe=Math.min,gAe=ATe,vAe=pAe,yAe=function(e,t){var n=hAe(e);return n<0?fAe(n+t,0):mAe(n,t)},bAe=function(e){return function(t,n,i){var r,o=gAe(t),a=vAe(o.length),s=yAe(i,a);if(e&&n!=n){for(;a>s;)if((r=o[s++])!=r)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},OAe={includes:bAe(!0),indexOf:bAe(!1)},_Ae=RTe,wAe=ATe,xAe=OAe.indexOf,kAe=LDe,SAe=function(e,t){var n,i=wAe(e),r=0,o=[];for(n in i)!_Ae(kAe,n)&&_Ae(i,n)&&o.push(n);for(;t.length>r;)_Ae(i,n=t[r++])&&(~xAe(o,n)||o.push(n));return o},PAe=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],EAe=SAe,CAe=PAe.concat("length","prototype");aAe.f=Object.getOwnPropertyNames||function(e){return EAe(e,CAe)};var FAe={};FAe.f=Object.getOwnPropertySymbols;var TAe=aAe,DAe=FAe,AAe=eDe,IAe=oAe("Reflect","ownKeys")||function(e){var t=TAe.f(AAe(e)),n=DAe.f;return n?t.concat(n(e)):t},LAe=RTe,$Ae=IAe,zAe=gTe,RAe=KTe,jAe=vTe,MAe=/#|\.prototype\./,QAe=function(e,t){var n=UAe[NAe(e)];return n==qAe||n!=BAe&&("function"==typeof t?jAe(t):!!t)},NAe=QAe.normalize=function(e){return String(e).replace(MAe,".").toLowerCase()},UAe=QAe.data={},BAe=QAe.NATIVE="N",qAe=QAe.POLYFILL="P",GAe=QAe,WAe=mTe,XAe=gTe.f,VAe=lDe,YAe=uDe.exports,ZAe=pDe,HAe=function(e,t){for(var n=$Ae(t),i=RAe.f,r=zAe.f,o=0;o<n.length;o++){var a=n[o];LAe(e,a)||i(e,a,r(t,a))}},KAe=GAe,JAe=function(e,t){var n,i,r,o,a,s=e.target,l=e.global,u=e.stat;if(n=l?WAe:u?WAe[s]||ZAe(s,{}):(WAe[s]||{}).prototype)for(i in t){if(o=t[i],r=e.noTargetGet?(a=XAe(n,i))&&a.value:n[i],!KAe(l?i:s+(u?".":"#")+i,e.forced)&&void 0!==r){if(typeof o==typeof r)continue;HAe(o,r)}(e.sham||r&&r.sham)&&VAe(o,"sham",!0),YAe(n,i,o,e)}},eIe=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},tIe=FTe,nIe=function(e){return Object(tIe(e))},iIe=eIe,rIe=nIe,oIe=CTe,aIe=pAe,sIe=function(e){return function(t,n,i,r){iIe(n);var o=rIe(t),a=oIe(o),s=aIe(o.length),l=e?s-1:0,u=e?-1:1;if(i<2)for(;;){if(l in a){r=a[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 a&&(r=n(r,a[l],l,o));return r}},lIe={left:sIe(!1),right:sIe(!0)},uIe=vTe,cIe=function(e,t){var n=[][e];return!!n&&uIe((function(){n.call(null,t||function(){throw 1},1)}))},dIe=yTe,pIe=vTe,hIe=RTe,fIe=Object.defineProperty,mIe={},gIe=function(e){throw e},vIe=JAe,yIe=lIe.left,bIe=function(e,t){if(hIe(mIe,e))return mIe[e];t||(t={});var n=[][e],i=!!hIe(t,"ACCESSORS")&&t.ACCESSORS,r=hIe(t,0)?t[0]:gIe,o=hIe(t,1)?t[1]:void 0;return mIe[e]=!!n&&!pIe((function(){if(i&&!dIe)return!0;var e={length:-1};i?fIe(e,1,{enumerable:!0,get:gIe}):e[1]=1,n.call(e,r,o)}))},OIe=cIe("reduce"),_Ie=bIe("reduce",{1:0});vIe({target:"Array",proto:!0,forced:!OIe||!_Ie},{reduce:function(e){return yIe(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}});var wIe=SAe,xIe=PAe,kIe=Object.keys||function(e){return wIe(e,xIe)},SIe=yTe,PIe=vTe,EIe=kIe,CIe=FAe,FIe=bTe,TIe=nIe,DIe=CTe,AIe=Object.assign,IIe=Object.defineProperty,LIe=!AIe||PIe((function(){if(SIe&&1!==AIe({b:1},AIe(IIe({},"a",{enumerable:!0,get:function(){IIe(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!=AIe({},e)[n]||EIe(AIe({},t)).join("")!=i}))?function(e,t){for(var n=TIe(e),i=arguments.length,r=1,o=CIe.f,a=FIe.f;i>r;)for(var s,l=DIe(arguments[r++]),u=o?EIe(l).concat(o(l)):EIe(l),c=u.length,d=0;c>d;)s=u[d++],SIe&&!a.call(l,s)||(n[s]=l[s]);return n}:AIe,$Ie=LIe;JAe({target:"Object",stat:!0,forced:Object.assign!==$Ie},{assign:$Ie});var zIe=vTe,RIe=!!Object.getOwnPropertySymbols&&!zIe((function(){return!String(Symbol())})),jIe=RIe&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,MIe=mTe,QIe=wDe.exports,NIe=RTe,UIe=FDe,BIe=RIe,qIe=jIe,GIe=QIe("wks"),WIe=MIe.Symbol,XIe=qIe?WIe:WIe&&WIe.withoutSetter||UIe,VIe=function(e){return NIe(GIe,e)||(BIe&&NIe(WIe,e)?GIe[e]=WIe[e]:GIe[e]=XIe("Symbol."+e)),GIe[e]},YIe=ITe,ZIe=STe,HIe=VIe("match"),KIe=function(e){var t;return YIe(e)&&(void 0!==(t=e[HIe])?!!t:"RegExp"==ZIe(e))},JIe=KIe,eLe=function(e){if(JIe(e))throw TypeError("The method doesn't accept regular expressions");return e},tLe=VIe("match"),nLe=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[tLe]=!1,"/./"[e](t)}catch(e){}}return!1},iLe=eLe,rLe=FTe;function oLe(e,t){var n=e||[],i=t||[],r=n.map((function(e){return e.id})),o=i.filter((function(e){return!r.includes(e.id)}));return n.concat(o)}JAe({target:"String",proto:!0,forced:!nLe("includes")},{includes:function(e){return!!~String(rLe(this)).indexOf(iLe(e),arguments.length>1?arguments[1]:void 0)}});var aLe,sLe=KTe,lLe=eDe,uLe=kIe,cLe=yTe?Object.defineProperties:function(e,t){lLe(e);for(var n,i=uLe(t),r=i.length,o=0;r>o;)sLe.f(e,n=i[o++],t[n]);return e},dLe=oAe("document","documentElement"),pLe=eDe,hLe=cLe,fLe=PAe,mLe=LDe,gLe=dLe,vLe=NTe,yLe=IDe("IE_PROTO"),bLe=function(){},OLe=function(e){return"<script>"+e+"</"+"script>"},_Le=function(){try{aLe=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;_Le=aLe?function(e){e.write(OLe("")),e.close();var t=e.parentWindow.Object;return e=null,t}(aLe):((t=vLe("iframe")).style.display="none",gLe.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(OLe("document.F=Object")),e.close(),e.F);for(var n=fLe.length;n--;)delete _Le.prototype[fLe[n]];return _Le()};mLe[yLe]=!0;var wLe=Object.create||function(e,t){var n;return null!==e?(bLe.prototype=pLe(e),n=new bLe,bLe.prototype=null,n[yLe]=e):n=_Le(),void 0===t?n:hLe(n,t)},xLe=wLe,kLe=KTe,SLe=VIe("unscopables"),PLe=Array.prototype;null==PLe[SLe]&&kLe.f(PLe,SLe,{configurable:!0,value:xLe(null)});var ELe,CLe,FLe,TLe=function(e){PLe[SLe][e]=!0},DLe={},ALe=!vTe((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),ILe=RTe,LLe=nIe,$Le=ALe,zLe=IDe("IE_PROTO"),RLe=Object.prototype,jLe=$Le?Object.getPrototypeOf:function(e){return e=LLe(e),ILe(e,zLe)?e[zLe]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?RLe:null},MLe=jLe,QLe=lDe,NLe=RTe,ULe=VIe("iterator"),BLe=!1;[].keys&&("next"in(FLe=[].keys())?(CLe=MLe(MLe(FLe)))!==Object.prototype&&(ELe=CLe):BLe=!0),null==ELe&&(ELe={}),NLe(ELe,ULe)||QLe(ELe,ULe,(function(){return this}));var qLe={IteratorPrototype:ELe,BUGGY_SAFARI_ITERATORS:BLe},GLe=KTe.f,WLe=RTe,XLe=VIe("toStringTag"),VLe=function(e,t,n){e&&!WLe(e=n?e:e.prototype,XLe)&&GLe(e,XLe,{configurable:!0,value:t})},YLe=qLe.IteratorPrototype,ZLe=wLe,HLe=xTe,KLe=VLe,JLe=DLe,e$e=function(){return this},t$e=ITe,n$e=eDe,i$e=function(e){if(!t$e(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e},r$e=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 n$e(n),i$e(i),t?e.call(n,i):n.__proto__=i,n}}():void 0),o$e=JAe,a$e=function(e,t,n){var i=t+" Iterator";return e.prototype=ZLe(YLe,{next:HLe(1,n)}),KLe(e,i,!1),JLe[i]=e$e,e},s$e=jLe,l$e=r$e,u$e=VLe,c$e=lDe,d$e=uDe.exports,p$e=DLe,h$e=qLe.IteratorPrototype,f$e=qLe.BUGGY_SAFARI_ITERATORS,m$e=VIe("iterator"),g$e="keys",v$e="values",y$e="entries",b$e=function(){return this},O$e=ATe,_$e=TLe,w$e=DLe,x$e=XDe,k$e=function(e,t,n,i,r,o,a){a$e(n,t,i);var s,l,u,c=function(e){if(e===r&&m)return m;if(!f$e&&e in h)return h[e];switch(e){case g$e:case v$e:case y$e:return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",p=!1,h=e.prototype,f=h[m$e]||h["@@iterator"]||r&&h[r],m=!f$e&&f||c(r),g="Array"==t&&h.entries||f;if(g&&(s=s$e(g.call(new e)),h$e!==Object.prototype&&s.next&&(s$e(s)!==h$e&&(l$e?l$e(s,h$e):"function"!=typeof s[m$e]&&c$e(s,m$e,b$e)),u$e(s,d,!0))),r==v$e&&f&&f.name!==v$e&&(p=!0,m=function(){return f.call(this)}),h[m$e]!==m&&c$e(h,m$e,m),p$e[t]=m,r)if(l={values:c(v$e),keys:o?m:c(g$e),entries:c(y$e)},a)for(u in l)(f$e||p||!(u in h))&&d$e(h,u,l[u]);else o$e({target:t,proto:!0,forced:f$e||p},l);return l},S$e="Array Iterator",P$e=x$e.set,E$e=x$e.getterFor(S$e),C$e=k$e(Array,"Array",(function(e,t){P$e(this,{type:S$e,target:O$e(e),index:0,kind:t})}),(function(){var e=E$e(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");w$e.Arguments=w$e.Array,_$e("keys"),_$e("values"),_$e("entries");var F$e=mTe,T$e={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},D$e=C$e,A$e=lDe,I$e=VIe,L$e=I$e("iterator"),$$e=I$e("toStringTag"),z$e=D$e.values;for(var R$e in T$e){var j$e=F$e[R$e],M$e=j$e&&j$e.prototype;if(M$e){if(M$e[L$e]!==z$e)try{A$e(M$e,L$e,z$e)}catch(e){M$e[L$e]=z$e}if(M$e[$$e]||A$e(M$e,$$e,R$e),T$e[R$e])for(var Q$e in D$e)if(M$e[Q$e]!==D$e[Q$e])try{A$e(M$e,Q$e,D$e[Q$e])}catch(e){M$e[Q$e]=D$e[Q$e]}}}var N$e,U$e,B$e,q$e,G$e,W$e,X$e,V$e,Y$e,Z$e,H$e,K$e,J$e,eze,tze,nze,ize,rze,oze,aze=function(e){var n=Wk().formatMessage,i=toe();return t.jsx(a.TooltipHost,rTe({},e,{className:YB(i,"lt-reach-tooltip"),role:e.role,onClick:e.onClick,hostClassName:e.className,content:e.resourceKey||e.text?e.text||n({id:e.resourceKey},e.values||{}):null,calloutProps:rTe(rTe({},e.calloutProps),{calloutWidth:e.width,hidden:e.hidden})},{children:e.children}),void 0)},sze=function(e){var t,n;return o.css(G$e||(G$e=uTe(["\n ","\n\n ","\n\n box-sizing: border-box;\n padding: ","px\n ","px;\n border-radius: ","px;\n display: flex;\n "],["\n ","\n\n ","\n\n box-sizing: border-box;\n padding: ","px\n ","px;\n border-radius: ","px;\n display: flex;\n "])),(null==e?void 0:e.backgroundColor)?o.css(N$e||(N$e=uTe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),e.backgroundColor):o.css(U$e||(U$e=uTe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),Iie),(null==e?void 0:e.color)?o.css(B$e||(B$e=uTe(["\n color: ",";\n "],["\n color: ",";\n "])),e.color):o.css(q$e||(q$e=uTe(["\n color: ",";\n "],["\n color: ",";\n "])),(function(e){return e.theme.textColors.default})),null!==(t=null==e?void 0:e.blockPadding)&&void 0!==t?t:3,null!==(n=null==e?void 0:e.inlinePadding)&&void 0!==n?n:I7,L7)},lze=function(e){var n=e.tooltipResourceKey,i=e.className,r=oTe(e,["tooltipResourceKey","className"]);return t.jsx(aze,rTe({resourceKey:n,className:i},{children:t.jsx(uze,rTe({},r,{"data-highlight-bubble":!0}),void 0)}),void 0)},uze=y.default.div.withConfig({displayName:"EditorHighlight__EditorHighlightBubble",componentId:"sc-1d6ahk1-0"})(W$e||(W$e=uTe(["\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"])),sze(),6,15,Z7,(function(e){return e.readOnly?"inherit":"pointer"}),(function(e){return e.isActive?1:.4})),cze=y.default.div.withConfig({displayName:"EditorHighlight__ChannelsEditorBubbleHost",componentId:"sc-1d6ahk1-1"})(X$e||(X$e=uTe(["\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})),dze=function(e){var n=e.showDialog,i=e.onClose,r=e.onClosed,o=e.handleSave,s=e.titleResource,l=e.disableSave,u=e.saveButtonResourceId,c=e.children,d=e.className,p=Wk().formatMessage;return t.jsxs(dTe,rTe({hidden:!n,modalProps:{isBlocking:!0,onDismissed:r},dialogContentProps:{type:a.DialogType.normal,title:p({id:s})},onDismiss:i},{children:[t.jsx(pze,rTe({className:d},{children:c}),void 0),t.jsxs(a.DialogFooter,{children:[t.jsx(a.DefaultButton,rTe({onClick:i,"data-button":"cancel"},{children:t.jsx(pS,{id:"Generic.Cancel"},void 0)}),void 0),t.jsx(a.PrimaryButton,rTe({disabled:l,onClick:o,"data-button":"save"},{children:t.jsx(pS,{id:u||"Generic.Save"},void 0)}),void 0)]},void 0)]}),void 0)},pze=y.default.div.withConfig({displayName:"EditorSettingsDialog__Host",componentId:"sc-132lfuo-0"})(V$e||(V$e=uTe(["\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"])),L7),hze=y.default(dze).withConfig({displayName:"EditorSettingsDialog__EditorSettingsDialogWithFixedWidth",componentId:"sc-132lfuo-1"})(Y$e||(Y$e=uTe(["\n width: 400px;\n"],["\n width: 400px;\n"]))),fze=y.default(a.IconButton).withConfig({displayName:"IconButton",componentId:"sc-1mokw5y-0"})(Z$e||(Z$e=uTe(["\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})),mze=function(e){var n=e.checked,i=e.readOnly,r=e.onChange,o=e.className,a=e.iconName,s=e.activeIconName,l=e.tooltipResourceKey,u=e.ariaLabelResourceKey,c=Wk().formatMessage,d=n?s||a||"CheckboxComposite":a||"Checkbox";return t.jsx(gze,rTe({className:o},{children:i?t.jsx(yze,{},void 0):t.jsx(aze,rTe({resourceKey:l},{children:t.jsx(vze,{iconProps:{iconName:d},onClick:function(){return r(!n)},ariaLabel:u?c({id:u}):null},void 0)}),void 0)}),void 0)},gze=y.default.div.withConfig({displayName:"GutterToggle__Host",componentId:"sc-1aya63j-0"})(H$e||(H$e=uTe(["\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"]))),vze=y.default(fze).withConfig({displayName:"GutterToggle__ToggleIcon",componentId:"sc-1aya63j-1"})(K$e||(K$e=uTe(["\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"])),V7,20),yze=y.default.div.withConfig({displayName:"GutterToggle__Spacer",componentId:"sc-1aya63j-2"})(J$e||(J$e=uTe(["\n width: 22px;\n"],["\n width: 22px;\n"]))),bze=o.css(eze||(eze=uTe(["\n color: var(--link-color, ",");\n text-decoration: underline;\n font-weight: var(--link-font-weight, normal);\n\n &:hover,\n &:visited {\n color: var(--link-color, ",");\n }\n"],["\n color: var(--link-color, ",");\n text-decoration: underline;\n font-weight: var(--link-font-weight, normal);\n\n &:hover,\n &:visited {\n color: var(--link-color, ",");\n }\n"])),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent})),Oze=y.default.a.withConfig({displayName:"Link__ExternalLink",componentId:"sc-5x4ijx-0"})(tze||(tze=uTe(["\n && {\n ",";\n }\n"],["\n && {\n ",";\n }\n"])),bze),_ze=y.default(r.Link).withConfig({displayName:"Link",componentId:"sc-5x4ijx-1"})(nze||(nze=uTe(["\n && {\n ",";\n }\n"],["\n && {\n ",";\n }\n"])),bze),wze=o.css(ize||(ize=uTe(["\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),xze=function(){var e=Zie().hideNotification,n=i.useContext(Yie),r=n.isNotificationBarVisible,o=oTe(n,["isNotificationBarVisible"]),a=Wk().formatMessage,s=o.messageId||o.text;return r?t.jsx(kze,rTe({className:"notification-wrapper","data-notification-bar":!0},{children:t.jsx(Sze,rTe({messageBarType:o.messageBarType,className:o.className,actions:o.actions,onDismiss:function(){return e()},isMultiline:!1,dismissButtonAriaLabel:a({id:"AriaLabel.closeNotificationBarButton"})},{children:s&&t.jsx(aze,rTe({text:o.text,resourceKey:o.messageId,values:o.messageValues},{children:o.text||t.jsx(pS,{id:o.messageId,values:o.messageValues||{}},void 0)}),void 0)}),void 0)}),void 0):null},kze=y.default.div.withConfig({displayName:"NotificationBar__Host",componentId:"sc-17dep9g-0"})(rze||(rze=uTe(["\n display: block;\n position: relative;\n z-index: 101;\n"],["\n display: block;\n position: relative;\n z-index: 101;\n"]))),Sze=y.default(a.MessageBar).withConfig({displayName:"NotificationBar__StyledMessageBar",componentId:"sc-17dep9g-1"})(oze||(oze=uTe(["\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"])),wze,Y7,V7,V7,Y7,V7,Z7,$7,20),Pze=function(e){var n,r=Wk().formatMessage,o=g5(),s=m5(),l=a9(),u=l.searchAccounts,c=l.getUserAvatarUrl,d=i.useRef(),p=zw();i.useEffect((function(){e.autoFocus&&d&&d.current&&setTimeout((function(){d.current.focus()}))}),[d,e.autoFocus]);var h=(null===(n=s.subscription.directories)||void 0===n?void 0:n.length)>1,f=!e.selectionMode||e.selectionMode===a.SelectionMode.multiple,m=e.selectedItems||[],g=h,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!==H6.Group?t.userPrincipalName:null,mail:N5(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:p.width<B7?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(Cze,rTe({className:YB(e.className,"people-picker")},{children:t.jsx(a.NormalPeoplePicker,rTe({},v,{componentRef:d,itemLimit:f?void 0:1}),void 0)}),void 0);function y(e){var t=N5(e.mail)?null:e.mail,n=N5(e.userPrincipalName)?null:e.userPrincipalName,i=Pw(e.displayName||e.mail||e.userPrincipalName),r=e.type===H6.User?n:e.type===H6.Group?t:null,a={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 o.avatars&&c(e.userPrincipalName).subscribe((function(e){return a.imageUrl=e})),a}function b(t,n){return aTe(this,void 0,void 0,(function(){var i,r,o;return sTe(this,(function(a){switch(a.label){case 0:if(!t&&0===t.length)return[2,[]];i=e.allowMailItems&&fw(t)&&{mail:t,userPrincipalName:t,displayName:t,type:H6.User},a.label=1;case 1:return a.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=a.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&&(o=e.additionalSearch(t))&&(r=r.concat(o)),[2,O(r).map(y)];case 3:return a.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 Eze,Cze=y.default.div.withConfig({displayName:"PeoplePicker__Container",componentId:"sc-1if6guq-0"})(Eze||(Eze=uTe(["\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"]))),Fze=JAe,Tze=gTe.f,Dze=pAe,Aze=eLe,Ize=FTe,Lze=nLe,$ze="".startsWith,zze=Math.min,Rze=Lze("startsWith"),jze=!Rze&&!!function(){var e=Tze(String.prototype,"startsWith");return e&&!e.writable}();Fze({target:"String",proto:!0,forced:!jze&&!Rze},{startsWith:function(e){var t=String(Ize(this));Aze(e);var n=Dze(zze(arguments.length>1?arguments[1]:void 0,t.length)),i=String(e);return $ze?$ze.call(t,i,n):t.slice(n,n+i.length)===i}});var Mze=eDe,Qze=function(){var e=Mze(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},Nze=uDe.exports,Uze=eDe,Bze=vTe,qze=Qze,Gze="toString",Wze=RegExp.prototype,Xze=Wze.toString,Vze=Bze((function(){return"/a/b"!=Xze.call({source:"a",flags:"b"})})),Yze=Xze.name!=Gze;(Vze||Yze)&&Nze(RegExp.prototype,Gze,(function(){var e=Uze(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in Wze)?qze.call(e):n)}),{unsafe:!0});var Zze,Hze=function(e){var n=e.fileName,i=e.url;return t.jsx(Kze,rTe({href:i,target:"_blank",download:n,onMouseDown:function(e){return e.preventDefault()}},{children:t.jsx("span",{children:n},void 0)}),void 0)},Kze=y.default.a.withConfig({displayName:"AttachedMediaDownloadLink__Host",componentId:"sc-8hqs4q-0"})(Zze||(Zze=uTe(["\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}),I7),Jze=function(e){var n=e.fileName,i=e.url,r=e.onPlay;return i?t.jsxs(rRe,rTe({className:"lt-reach-embedded-audio"},{children:[t.jsx(Hze,{fileName:n,url:i},void 0),t.jsxs("audio",rTe({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(pS,{id:"Generic.audioReplayError",tagName:"p"},void 0)]}),void 0)]}),void 0):null};function eRe(e){var t=cG.getType(e);return t&&t.toString().startsWith("audio/")}var tRe,nRe,iRe,rRe=y.default.div.withConfig({displayName:"AudioFile__Host",componentId:"sc-wq9avv-0"})(tRe||(tRe=uTe(["\n width: 100%;\n"],["\n width: 100%;\n"])));y.default.div.withConfig({displayName:"GroupedListItemStyles__GroupedListItemHost",componentId:"sc-upeq9r-0"})(nRe||(nRe=uTe(["\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"])),$7,I7),y.default.h2.withConfig({displayName:"GroupedListItemStyles__GroupedListItemTitle",componentId:"sc-upeq9r-1"})(iRe||(iRe=uTe(["\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"])),$7,$7,20,(function(e){return e.theme.textColors.default}));var oRe,aRe,sRe,lRe,uRe,cRe,dRe=function(e){var n=e.children,i=e.deleteButton,r=e.domIdentifier,o=e.backgroundColor,a=e.className;return t.jsxs(fRe,rTe({className:a},{children:[i&&t.jsx(hRe,{children:i},void 0),t.jsx(pRe,rTe({"data-attachment":r,backgroundColor:o},{children:n}),void 0)]}),void 0)},pRe=y.default.div.withConfig({displayName:"AttachmentHost__Inner",componentId:"sc-mjwmvo-0"})(oRe||(oRe=uTe(["\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+";"})),hRe=y.default.div.withConfig({displayName:"AttachmentHost__ButtonHost",componentId:"sc-mjwmvo-1"})(aRe||(aRe=uTe(["\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),fRe=y.default.div.withConfig({displayName:"AttachmentHost__Host",componentId:"sc-mjwmvo-2"})(sRe||(sRe=uTe(["\n position: relative;\n width: 100%;\n margin-top: ","px;\n"],["\n position: relative;\n width: 100%;\n margin-top: ","px;\n"])),L7),mRe=y.default(a.ActionButton).withConfig({displayName:"ActionButton",componentId:"sc-hmhuj9-0"})(lRe||(lRe=uTe(["\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"})(uRe||(uRe=uTe(["\n display: flex;\n flex-direction: column;\n"],["\n display: flex;\n flex-direction: column;\n"]))),y.default(mRe).withConfig({displayName:"AvailableSubscriptionList__SubscriptionButton",componentId:"sc-113n7q9-1"})(cRe||(cRe=uTe(["\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 gRe,vRe,yRe,bRe,ORe=function(e){var n=e.children,i=oTe(e,["children"]),r=toe();return t.jsx(a.FocusTrapCallout,rTe({},i,{className:YB(r,"lt-reach-callout",null==i?void 0:i.className),focusTrapProps:{isClickableOutsideFocusTrap:!0}},{children:n}),void 0)},_Re=function(e){var n=Wk().formatMessage,r=i.useState(!1),o=r[0],s=r[1],l=i.useContext(Qie).theme.palette.accent;return t.jsxs(dTe,rTe({modalProps:{isBlocking:!0,allowTouchBodyScroll:!0},hidden:!1,dialogContentProps:{showCloseButton:!e.hideCloseButton,type:e.hideCloseButton?a.DialogType.normal:a.DialogType.close,title:n({id:e.titleResourceKey},e.titleResourceValues),titleProps:{style:{color:l}}},onDismiss:e.onCancel},{children:[t.jsx(wRe,{children:t.jsx(pS,{id:e.infoResourceKey,tagName:"span",values:e.infoResourceValues},void 0)},void 0),t.jsx(xRe,{"data-verify-item-input":!0,onChange:function(t,n){var i=n===e.compareValue;i!==o&&s(i)},ariaLabel:n({id:e.inputAriaLabelResourceKey})},void 0),e.children,t.jsxs(a.DialogFooter,{children:[t.jsx(a.DefaultButton,rTe({onClick:e.onCancel,disabled:e.disabled},{children:t.jsx(pS,{id:"Generic.Cancel"},void 0)}),void 0),t.jsx(kRe,rTe({onClick:e.onConfirm,"data-delete-button":!0,disabled:!o||e.disabled},{children:t.jsx(pS,{id:"Generic.Delete"},void 0)}),void 0)]},void 0)]}),void 0)},wRe=y.default.span.withConfig({displayName:"ConfirmDeleteDialog__LinePreserverSpan",componentId:"sc-1ybmivq-0"})(gRe||(gRe=uTe(["\n white-space: pre-line;\n"],["\n white-space: pre-line;\n"]))),xRe=y.default(a.TextField).withConfig({displayName:"ConfirmDeleteDialog__StyledTextField",componentId:"sc-1ybmivq-1"})(vRe||(vRe=uTe(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),L7),kRe=y.default(a.PrimaryButton).withConfig({displayName:"ConfirmDeleteDialog__DeleteButton",componentId:"sc-1ybmivq-2"})(yRe||(yRe=uTe(["\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})),SRe=function(e){var n=e.showDialog,r=e.titleResourceKey,o=e.titleResourceValues,s=e.infoResourceKey,l=e.infoResourceValues,u=e.onConfirm,c=e.onClose,d=e.width,p=e.children,h=Wk().formatMessage,f=i.useContext(Qie).theme.palette.accent;return t.jsxs(dTe,rTe({hidden:!n,modalProps:{isBlocking:!0,styles:{scrollableContent:{width:d}}},dialogContentProps:{type:a.DialogType.normal,subText:s?h({id:s},l):"",title:h({id:r},o),titleProps:{style:{color:f}}},onDismiss:c},{children:[p,t.jsxs(a.DialogFooter,{children:[t.jsx(a.DefaultButton,rTe({onClick:c,"data-cancel-button":!0},{children:t.jsx(pS,{id:"Generic.Cancel"},void 0)}),void 0),t.jsx(a.PrimaryButton,rTe({"data-ok-button":!0,onClick:function(){null==u||u(),null==c||c()}},{children:t.jsx(pS,{id:"Generic.Ok"},void 0)}),void 0)]},void 0)]}),void 0)},PRe=function(e){var n=e.onConfirm,r=e.onCancel,o=Wk().formatMessage,s=i.useContext(Qie).theme.palette.accent;return t.jsx(dTe,rTe({modalProps:{isBlocking:!0},hidden:!1,dialogContentProps:{type:a.DialogType.close,title:o({id:"Events.editor.recurrence.resetDialogTitle"}),titleProps:{style:{color:s}}},onDismiss:r},{children:t.jsxs(ERe,{children:[t.jsx(pS,{id:"Events.editor.recurrence.resetDialogDescription",tagName:"span"},void 0),t.jsxs(a.DialogFooter,{children:[t.jsx(a.PrimaryButton,rTe({onClick:n},{children:t.jsx(pS,{id:"Events.editor.recurrence.reset"},void 0)}),void 0),t.jsx(a.DefaultButton,rTe({onClick:r},{children:t.jsx(pS,{id:"Generic.Cancel"},void 0)}),void 0)]},void 0)]},void 0)}),void 0)},ERe=y.default.div.withConfig({displayName:"ConfirmResetDialog__Host",componentId:"sc-akcggz-0"})(bRe||(bRe=uTe(["\n max-width: 600px;\n"],["\n max-width: 600px;\n"]))),CRe=function(e){var n=e.value,r=i.useContext(SS).language,o=function(e,t,n){void 0===t&&(t=Date.now());void 0===n&&(n={});var i=rTe(rTe({},NRe),n||{}),r=(+e-+t)/1e3;if(Math.abs(r)<i.second)return{value:Math.round(r),unit:"second"};var o=r/60;if(Math.abs(o)<i.minute)return{value:Math.round(o),unit:"minute"};var a=r/FRe;if(Math.abs(a)<i.hour)return{value:Math.round(a),unit:"hour"};var s=r/TRe;if(Math.abs(s)<i.day)return{value:Math.round(s),unit:"day"};var l=r/DRe;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(),p=12*d+u.getMonth()-c.getMonth();if(Math.round(Math.abs(p))>0&&Math.abs(p)<i.month)return{value:Math.round(p),unit:"month"};return{value:Math.round(d),unit:"year"}}(n),a=o.value,s=o.unit;return t.jsx(tS,rTe({locale:r},{children:t.jsx(uS,{value:a,numeric:"auto",unit:s,updateIntervalInSeconds:["second","minute","hour"].some((function(e){return e===s}))?10:void 0},void 0)}),void 0)},FRe=3600,TRe=86400,DRe=604800;var ARe,IRe,LRe,$Re,zRe,RRe,jRe,MRe,QRe,NRe={second:45,minute:45,hour:22,day:6,week:4,month:12},URe=function(e){return rs(e).isSame(new Date,"day")},BRe=function(e){var n=rs(e.value),i=n.toDate(),r=!e.showAsAbsolute&&(e.showAsRelative||URe(e.value)),o={dateTime:i.toISOString(),title:n.format("LLLL")};return!e.showWeekDay&&r?t.jsx(GRe,rTe({className:YB(e.className)},o,{children:t.jsx(CRe,{value:i},void 0)}),void 0):t.jsxs(GRe,rTe({className:YB(e.className)},o,{children:[t.jsx(hS,{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)},qRe=function(e){var n=e.startDate,i=e.endDate,r=e.className;if(!n)return null;if(!i)return t.jsx("div",rTe({className:r},{children:t.jsx(BRe,{value:n,showWeekDay:!0},void 0)}),void 0);var o=rs(n),a=rs(i);return o.isSame(a,"d")?t.jsxs("div",rTe({className:r},{children:[t.jsx(BRe,{value:n,showWeekDay:!0},void 0)," - ",t.jsx(fS,{value:a.toDate()},void 0)]}),void 0):t.jsxs("div",rTe({className:r},{children:[t.jsx(BRe,{value:n,showWeekDay:!0},void 0)," - ",t.jsx(BRe,{value:i,showWeekDay:!0},void 0)]}),void 0)},GRe=y.default.time.withConfig({displayName:"DateTime__Host",componentId:"sc-ulo84j-0"})(ARe||(ARe=uTe(["\n white-space: nowrap;\n"],["\n white-space: nowrap;\n"]))),WRe=y.default.div.withConfig({displayName:"Divider",componentId:"sc-1qr9ydh-0"})(IRe||(IRe=uTe(["\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}),Iie),XRe=function(e){var n,i=e.children,r=oTe(e,["children"]);return t.jsx(a.Dropdown,rTe({},r,{calloutProps:rTe(rTe({},r.calloutProps||{}),{className:YB(_J,"lt-reach-dropdown",null===(n=r.calloutProps)||void 0===n?void 0:n.className)})},{children:i}),void 0)},VRe=function(e){var n=e.svg,i=e.icon,r=e.styleDefinition,o=e.emptyMessageResources,s=void 0===o?["EmptySearchResult.info1","EmptySearchResult.info2"]:o,l=e.additionalButton,u=e.className,c=(null==r?void 0:r.size)||"large";return t.jsx(YRe,rTe({className:u,offset:null==r?void 0:r.offset,"data-nothing-found":!0},{children:t.jsxs(ZRe,rTe({hasLargeParagraphStyle:!i,hasLargeSvgStyle:"large"===c},{children:[i&&t.jsx(a.Icon,{iconName:i},void 0),!i&&n,s.map((function(e,n){return t.jsx("p",{children:t.jsx(pS,{id:e},void 0)},n)})),l]}),void 0)}),void 0)},YRe=y.default.div.withConfig({displayName:"EmptyList__Container",componentId:"sc-11jeabk-0"})(zRe||(zRe=uTe(["\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?o.css(LRe||(LRe=uTe(["\n margin-top: ","px;\n "],["\n margin-top: ","px;\n "])),e.offset):o.css($Re||($Re=uTe(["\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 "])))})),ZRe=y.default.div.withConfig({displayName:"EmptyList__Inner",componentId:"sc-11jeabk-1"})(MRe||(MRe=uTe(["\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"])),L7,Z7,I7,(function(e){return!e.hasLargeSvgStyle&&o.css(RRe||(RRe=uTe(["\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 "])),V7,e.theme.palette.neutralSecondary,$7)}),(function(e){return e.hasLargeParagraphStyle&&e.hasLargeSvgStyle&&o.css(jRe||(jRe=uTe(["\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,L7,(function(e){return e.theme.palette.accent}),$7,$7,j7)}),(function(e){return e.theme.palette.accent}),3,q7,24,$7,$7),HRe=function(e,t){return null!=e&&(e&t)===t};y.default.p.withConfig({displayName:"ErrorSection__Host",componentId:"sc-1muscsm-0"})(QRe||(QRe=uTe(["\n max-width: 600px;\n margin: 0;\n"],["\n max-width: 600px;\n margin: 0;\n"])));var KRe=JAe,JRe=eIe,eje=nIe,tje=vTe,nje=cIe,ije=[],rje=ije.sort,oje=tje((function(){ije.sort(void 0)})),aje=tje((function(){ije.sort(null)})),sje=nje("sort");KRe({target:"Array",proto:!0,forced:oje||!aje||!sje},{sort:function(e){return void 0===e?rje.call(eje(this)):rje.call(eje(this),JRe(e))}});var lje=function(e){var n=e.languages,i=e.translations,r=e.onChange,o=e.placeholderStringResource,a=e.customPlaceholder,s=Wk(),l=s.formatMessage;return t.jsx(t.Fragment,{children:F9.apply(void 0,lTe([s],n)).sort((function(e,t){return e.localizedName<t.localizedName?-1:1})).map((function(e){return t.jsx(fje,{children:t.jsx(mje,{"data-translation-field":e.code,placeholder:null!=a?a:l({id:o},{lang:e.localizedName}),label:e.localizedName,value:i[e.code],onChange:function(t,n){var o;r(rTe(rTe({},i),((o={})[e.code]=n,o)))}},void 0)},e.code)}))},void 0)};y.default.div.withConfig({displayName:"FieldTranslationEditor__Host",componentId:"sc-1s8zb6d-0"})(uje||(uje=uTe(["\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 uje,cje,dje,pje,hje,fje=y.default.div.withConfig({displayName:"FieldTranslationEditor__TranslationField",componentId:"sc-1s8zb6d-1"})(cje||(cje=uTe(["\n display: flex;\n label {\n font-weight: bold !important;\n }\n"],["\n display: flex;\n label {\n font-weight: bold !important;\n }\n"]))),mje=y.default(a.TextField).withConfig({displayName:"FieldTranslationEditor__StyledTextField",componentId:"sc-1s8zb6d-2"})(dje||(dje=uTe(["\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"})(pje||(pje=uTe(["\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"})(hje||(hje=uTe(["\n display: flex;\n"],["\n display: flex;\n"])));var gje,vje=function(e){var n=i.useState(null==e.delay),r=n[0],o=n[1];return i.useEffect((function(){if(null!=!e.delay){var t=setTimeout((function(){return o(!0)}),e.delay);return function(){return clearTimeout(t)}}}),[e.delay]),r?t.jsx(yje,rTe({className:e.className},{children:t.jsx(a.Spinner,rTe({},e,{className:""}),void 0)}),void 0):null},yje=y.default.div.withConfig({displayName:"Spinner__Host",componentId:"sc-1wroad6-0"})(gje||(gje=uTe(["\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"]))),bje=mTe.Promise,Oje=uDe.exports,_je=oAe,wje=KTe,xje=yTe,kje=VIe("species"),Sje=function(e){var t=_je(e),n=wje.f;xje&&t&&!t[kje]&&n(t,kje,{configurable:!0,get:function(){return this}})},Pje={exports:{}},Eje=DLe,Cje=VIe("iterator"),Fje=Array.prototype,Tje=eIe,Dje=function(e,t,n){if(Tje(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)}},Aje={};Aje[VIe("toStringTag")]="z";var Ije="[object z]"===String(Aje),Lje=STe,$je=VIe("toStringTag"),zje="Arguments"==Lje(function(){return arguments}()),Rje=Ije?Lje: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),$je))?n:zje?Lje(t):"Object"==(i=Lje(t))&&"function"==typeof t.callee?"Arguments":i},jje=Rje,Mje=DLe,Qje=VIe("iterator"),Nje=eDe,Uje=eDe,Bje=function(e){return void 0!==e&&(Eje.Array===e||Fje[Cje]===e)},qje=pAe,Gje=Dje,Wje=function(e){if(null!=e)return e[Qje]||e["@@iterator"]||Mje[jje(e)]},Xje=function(e,t,n,i){try{return i?t(Nje(n)[0],n[1]):t(n)}catch(t){var r=e.return;throw void 0!==r&&Nje(r.call(e)),t}},Vje=function(e,t){this.stopped=e,this.result=t},Yje=Pje.exports=function(e,t,n,i,r){var o,a,s,l,u,c,d,p=Gje(t,n,i?2:1);if(r)o=e;else{if("function"!=typeof(a=Wje(e)))throw TypeError("Target is not iterable");if(Bje(a)){for(s=0,l=qje(e.length);l>s;s++)if((u=i?p(Uje(d=e[s])[0],d[1]):p(e[s]))&&u instanceof Vje)return u;return new Vje(!1)}o=a.call(e)}for(c=o.next;!(d=c.call(o)).done;)if("object"==typeof(u=Xje(o,p,d.value,i))&&u&&u instanceof Vje)return u;return new Vje(!1)};Yje.stop=function(e){return new Vje(!0,e)};var Zje=VIe("iterator"),Hje=!1;try{var Kje=0,Jje={next:function(){return{done:!!Kje++}},return:function(){Hje=!0}};Jje[Zje]=function(){return this},Array.from(Jje,(function(){throw 2}))}catch(e){}var eMe,tMe,nMe,iMe=eDe,rMe=eIe,oMe=VIe("species"),aMe=function(e,t){var n,i=iMe(e).constructor;return void 0===i||null==(n=iMe(i)[oMe])?t:rMe(n)},sMe=oAe("navigator","userAgent")||"",lMe=/(iphone|ipod|ipad).*applewebkit/i.test(sMe),uMe=mTe,cMe=vTe,dMe=STe,pMe=Dje,hMe=dLe,fMe=NTe,mMe=lMe,gMe=uMe.location,vMe=uMe.setImmediate,yMe=uMe.clearImmediate,bMe=uMe.process,OMe=uMe.MessageChannel,_Me=uMe.Dispatch,wMe=0,xMe={},kMe="onreadystatechange",SMe=function(e){if(xMe.hasOwnProperty(e)){var t=xMe[e];delete xMe[e],t()}},PMe=function(e){return function(){SMe(e)}},EMe=function(e){SMe(e.data)},CMe=function(e){uMe.postMessage(e+"",gMe.protocol+"//"+gMe.host)};vMe&&yMe||(vMe=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return xMe[++wMe]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},eMe(wMe),wMe},yMe=function(e){delete xMe[e]},"process"==dMe(bMe)?eMe=function(e){bMe.nextTick(PMe(e))}:_Me&&_Me.now?eMe=function(e){_Me.now(PMe(e))}:OMe&&!mMe?(nMe=(tMe=new OMe).port2,tMe.port1.onmessage=EMe,eMe=pMe(nMe.postMessage,nMe,1)):!uMe.addEventListener||"function"!=typeof postMessage||uMe.importScripts||cMe(CMe)||"file:"===gMe.protocol?eMe=kMe in fMe("script")?function(e){hMe.appendChild(fMe("script")).onreadystatechange=function(){hMe.removeChild(this),SMe(e)}}:function(e){setTimeout(PMe(e),0)}:(eMe=CMe,uMe.addEventListener("message",EMe,!1)));var FMe,TMe,DMe,AMe,IMe,LMe,$Me,zMe,RMe={set:vMe,clear:yMe},jMe=mTe,MMe=gTe.f,QMe=STe,NMe=RMe.set,UMe=lMe,BMe=jMe.MutationObserver||jMe.WebKitMutationObserver,qMe=jMe.process,GMe=jMe.Promise,WMe="process"==QMe(qMe),XMe=MMe(jMe,"queueMicrotask"),VMe=XMe&&XMe.value;VMe||(FMe=function(){var e,t;for(WMe&&(e=qMe.domain)&&e.exit();TMe;){t=TMe.fn,TMe=TMe.next;try{t()}catch(e){throw TMe?AMe():DMe=void 0,e}}DMe=void 0,e&&e.enter()},WMe?AMe=function(){qMe.nextTick(FMe)}:BMe&&!UMe?(IMe=!0,LMe=document.createTextNode(""),new BMe(FMe).observe(LMe,{characterData:!0}),AMe=function(){LMe.data=IMe=!IMe}):GMe&&GMe.resolve?($Me=GMe.resolve(void 0),zMe=$Me.then,AMe=function(){zMe.call($Me,FMe)}):AMe=function(){NMe.call(jMe,FMe)});var YMe=VMe||function(e){var t={fn:e,next:void 0};DMe&&(DMe.next=t),TMe||(TMe=t,AMe()),DMe=t},ZMe={},HMe=eIe,KMe=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=HMe(t),this.reject=HMe(n)};ZMe.f=function(e){return new KMe(e)};var JMe,eQe,tQe=eDe,nQe=ITe,iQe=ZMe,rQe=mTe,oQe=sMe,aQe=mTe.process,sQe=aQe&&aQe.versions,lQe=sQe&&sQe.v8;lQe?eQe=(JMe=lQe.split("."))[0]+JMe[1]:oQe&&(!(JMe=oQe.match(/Edge\/(\d+)/))||JMe[1]>=74)&&(JMe=oQe.match(/Chrome\/(\d+)/))&&(eQe=JMe[1]);var uQe,cQe,dQe,pQe,hQe=eQe&&+eQe,fQe=JAe,mQe=mTe,gQe=oAe,vQe=bje,yQe=uDe.exports,bQe=function(e,t,n){for(var i in t)Oje(e,i,t[i],n);return e},OQe=VLe,_Qe=Sje,wQe=ITe,xQe=eIe,kQe=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},SQe=STe,PQe=yDe,EQe=Pje.exports,CQe=function(e,t){if(!t&&!Hje)return!1;var n=!1;try{var i={};i[Zje]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n},FQe=aMe,TQe=RMe.set,DQe=YMe,AQe=function(e,t){if(tQe(e),nQe(t)&&t.constructor===e)return t;var n=iQe.f(e);return(0,n.resolve)(t),n.promise},IQe=function(e,t){var n=rQe.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))},LQe=ZMe,$Qe=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},zQe=XDe,RQe=GAe,jQe=hQe,MQe=VIe("species"),QQe="Promise",NQe=zQe.get,UQe=zQe.set,BQe=zQe.getterFor(QQe),qQe=vQe,GQe=mQe.TypeError,WQe=mQe.document,XQe=mQe.process,VQe=gQe("fetch"),YQe=LQe.f,ZQe=YQe,HQe="process"==SQe(XQe),KQe=!!(WQe&&WQe.createEvent&&mQe.dispatchEvent),JQe="unhandledrejection",eNe=RQe(QQe,(function(){if(!(PQe(qQe)!==String(qQe))){if(66===jQe)return!0;if(!HQe&&"function"!=typeof PromiseRejectionEvent)return!0}if(jQe>=51&&/native code/.test(qQe))return!1;var e=qQe.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[MQe]=t,!(e.then((function(){}))instanceof t)})),tNe=eNe||!CQe((function(e){qQe.all(e).catch((function(){}))})),nNe=function(e){var t;return!(!wQe(e)||"function"!=typeof(t=e.then))&&t},iNe=function(e,t,n){if(!t.notified){t.notified=!0;var i=t.reactions;DQe((function(){for(var r=t.value,o=1==t.state,a=0;i.length>a;){var s,l,u,c=i[a++],d=o?c.ok:c.fail,p=c.resolve,h=c.reject,f=c.domain;try{d?(o||(2===t.rejection&&sNe(e,t),t.rejection=1),!0===d?s=r:(f&&f.enter(),s=d(r),f&&(f.exit(),u=!0)),s===c.promise?h(GQe("Promise-chain cycle")):(l=nNe(s))?l.call(s,p,h):p(s)):h(r)}catch(e){f&&!u&&f.exit(),h(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&oNe(e,t)}))}},rNe=function(e,t,n){var i,r;KQe?((i=WQe.createEvent("Event")).promise=t,i.reason=n,i.initEvent(e,!1,!0),mQe.dispatchEvent(i)):i={promise:t,reason:n},(r=mQe["on"+e])?r(i):e===JQe&&IQe("Unhandled promise rejection",n)},oNe=function(e,t){TQe.call(mQe,(function(){var n,i=t.value;if(aNe(t)&&(n=$Qe((function(){HQe?XQe.emit("unhandledRejection",i,e):rNe(JQe,e,i)})),t.rejection=HQe||aNe(t)?2:1,n.error))throw n.value}))},aNe=function(e){return 1!==e.rejection&&!e.parent},sNe=function(e,t){TQe.call(mQe,(function(){HQe?XQe.emit("rejectionHandled",e):rNe("rejectionhandled",e,t.value)}))},lNe=function(e,t,n,i){return function(r){e(t,n,r,i)}},uNe=function(e,t,n,i){t.done||(t.done=!0,i&&(t=i),t.value=n,t.state=2,iNe(e,t,!0))},cNe=function(e,t,n,i){if(!t.done){t.done=!0,i&&(t=i);try{if(e===n)throw GQe("Promise can't be resolved itself");var r=nNe(n);r?DQe((function(){var i={done:!1};try{r.call(n,lNe(cNe,e,i,t),lNe(uNe,e,i,t))}catch(n){uNe(e,i,n,t)}})):(t.value=n,t.state=1,iNe(e,t,!1))}catch(n){uNe(e,{done:!1},n,t)}}};eNe&&(qQe=function(e){kQe(this,qQe,QQe),xQe(e),uQe.call(this);var t=NQe(this);try{e(lNe(cNe,this,t),lNe(uNe,this,t))}catch(e){uNe(this,t,e)}},(uQe=function(e){UQe(this,{type:QQe,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=bQe(qQe.prototype,{then:function(e,t){var n=BQe(this),i=YQe(FQe(this,qQe));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=HQe?XQe.domain:void 0,n.parent=!0,n.reactions.push(i),0!=n.state&&iNe(this,n,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),cQe=function(){var e=new uQe,t=NQe(e);this.promise=e,this.resolve=lNe(cNe,e,t),this.reject=lNe(uNe,e,t)},LQe.f=YQe=function(e){return e===qQe||e===dQe?new cQe(e):ZQe(e)},"function"==typeof vQe&&(pQe=vQe.prototype.then,yQe(vQe.prototype,"then",(function(e,t){var n=this;return new qQe((function(e,t){pQe.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof VQe&&fQe({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return AQe(qQe,VQe.apply(mQe,arguments))}}))),fQe({global:!0,wrap:!0,forced:eNe},{Promise:qQe}),OQe(qQe,QQe,!1),_Qe(QQe),dQe=gQe(QQe),fQe({target:QQe,stat:!0,forced:eNe},{reject:function(e){var t=YQe(this);return t.reject.call(void 0,e),t.promise}}),fQe({target:QQe,stat:!0,forced:eNe},{resolve:function(e){return AQe(this,e)}}),fQe({target:QQe,stat:!0,forced:tNe},{all:function(e){var t=this,n=YQe(t),i=n.resolve,r=n.reject,o=$Qe((function(){var n=xQe(t.resolve),o=[],a=0,s=1;EQe(e,(function(e){var l=a++,u=!1;o.push(void 0),s++,n.call(t,e).then((function(e){u||(u=!0,o[l]=e,--s||i(o))}),r)})),--s||i(o)}));return o.error&&r(o.value),n.promise},race:function(e){var t=this,n=YQe(t),i=n.reject,r=$Qe((function(){var r=xQe(t.resolve);EQe(e,(function(e){r.call(t,e).then(n.resolve,i)}))}));return r.error&&i(r.value),n.promise}});var dNe={},pNe=vTe;function hNe(e,t){return RegExp(e,t)}dNe.UNSUPPORTED_Y=pNe((function(){var e=hNe("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),dNe.BROKEN_CARET=pNe((function(){var e=hNe("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));var fNe=Qze,mNe=dNe,gNe=RegExp.prototype.exec,vNe=String.prototype.replace,yNe=gNe,bNe=function(){var e=/a/,t=/b*/g;return gNe.call(e,"a"),gNe.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),ONe=mNe.UNSUPPORTED_Y||mNe.BROKEN_CARET,_Ne=void 0!==/()??/.exec("")[1];(bNe||_Ne||ONe)&&(yNe=function(e){var t,n,i,r,o=this,a=ONe&&o.sticky,s=fNe.call(o),l=o.source,u=0,c=e;return a&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),c=String(e).slice(o.lastIndex),o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==e[o.lastIndex-1])&&(l="(?: "+l+")",c=" "+c,u++),n=new RegExp("^(?:"+l+")",s)),_Ne&&(n=new RegExp("^"+l+"$(?!\\s)",s)),bNe&&(t=o.lastIndex),i=gNe.call(a?n:o,c),a?i?(i.input=i.input.slice(u),i[0]=i[0].slice(u),i.index=o.lastIndex,o.lastIndex+=i[0].length):o.lastIndex=0:bNe&&i&&(o.lastIndex=o.global?i.index+i[0].length:t),_Ne&&i&&i.length>1&&vNe.call(i[0],n,(function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(i[r]=void 0)})),i});var wNe=yNe;JAe({target:"RegExp",proto:!0,forced:/./.exec!==wNe},{exec:wNe});var xNe,kNe=uDe.exports,SNe=vTe,PNe=VIe,ENe=wNe,CNe=lDe,FNe=PNe("species"),TNe=!SNe((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),DNe="$0"==="a".replace(/./,"$0"),ANe=PNe("replace"),INe=!!/./[ANe]&&""===/./[ANe]("a","$0"),LNe=!SNe((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]})),$Ne=function(e,t,n,i){var r=PNe(e),o=!SNe((function(){var t={};return t[r]=function(){return 7},7!=""[e](t)})),a=o&&!SNe((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[FNe]=function(){return n},n.flags="",n[r]=/./[r]),n.exec=function(){return t=!0,null},n[r](""),!t}));if(!o||!a||"replace"===e&&(!TNe||!DNe||INe)||"split"===e&&!LNe){var s=/./[r],l=n(r,""[e],(function(e,t,n,i,r){return t.exec===ENe?o&&!r?{done:!0,value:s.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}}),{REPLACE_KEEPS_$0:DNe,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:INe}),u=l[0],c=l[1];kNe(String.prototype,e,u),kNe(RegExp.prototype,r,2==t?function(e,t){return c.call(e,this,t)}:function(e){return c.call(e,this)})}i&&CNe(RegExp.prototype[r],"sham",!0)},zNe=uAe,RNe=FTe,jNe=function(e){return function(t,n){var i,r,o=String(RNe(t)),a=zNe(n),s=o.length;return a<0||a>=s?e?"":void 0:(i=o.charCodeAt(a))<55296||i>56319||a+1===s||(r=o.charCodeAt(a+1))<56320||r>57343?e?o.charAt(a):i:e?o.slice(a,a+2):r-56320+(i-55296<<10)+65536}},MNe={codeAt:jNe(!1),charAt:jNe(!0)}.charAt,QNe=function(e,t,n){return t+(n?MNe(e,t).length:1)},NNe=STe,UNe=wNe,BNe=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"!==NNe(e))throw TypeError("RegExp#exec called on incompatible receiver");return UNe.call(e,t)},qNe=$Ne,GNe=KIe,WNe=eDe,XNe=FTe,VNe=aMe,YNe=QNe,ZNe=pAe,HNe=BNe,KNe=wNe,JNe=vTe,eUe=[].push,tUe=Math.min,nUe=4294967295,iUe=!JNe((function(){return!RegExp(nUe,"y")}));qNe("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(XNe(this)),r=void 0===n?nUe:n>>>0;if(0===r)return[];if(void 0===e)return[i];if(!GNe(e))return t.call(i,e,r);for(var o,a,s,l=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),c=0,d=new RegExp(e.source,u+"g");(o=KNe.call(d,i))&&!((a=d.lastIndex)>c&&(l.push(i.slice(c,o.index)),o.length>1&&o.index<i.length&&eUe.apply(l,o.slice(1)),s=o[0].length,c=a,l.length>=r));)d.lastIndex===o.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=XNe(this),o=null==t?void 0:t[e];return void 0!==o?o.call(t,r,n):i.call(String(r),t,n)},function(e,r){var o=n(i,e,this,r,i!==t);if(o.done)return o.value;var a=WNe(e),s=String(this),l=VNe(a,RegExp),u=a.unicode,c=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(iUe?"y":"g"),d=new l(iUe?a:"^(?:"+a.source+")",c),p=void 0===r?nUe:r>>>0;if(0===p)return[];if(0===s.length)return null===HNe(d,s)?[s]:[];for(var h=0,f=0,m=[];f<s.length;){d.lastIndex=iUe?f:0;var g,v=HNe(d,iUe?s:s.slice(f));if(null===v||(g=tUe(ZNe(d.lastIndex+(iUe?0:f)),s.length))===h)f=YNe(s,f,u);else{if(m.push(s.slice(h,f)),m.length===p)return m;for(var y=1;y<=v.length-1;y++)if(m.push(v[y]),m.length===p)return m;f=h=g}}return m.push(s.slice(h)),m}]}),!iUe),function(e){e.mp4="video/mp4",e.webm="video/webm",e.quicktime="video/quicktime"}(xNe||(xNe={}));var rUe=function(e){var n=e.fileName,i=e.url,r=e.onPlay;if(!i)return null;var o="safari"===ag?i+"#t=0.1":i;return t.jsxs("div",rTe({className:"lt-reach-embedded-video"},{children:[t.jsx(Hze,{fileName:n,url:i},void 0),t.jsxs("video",rTe({onPlay:function(){return null==r?void 0:r(i)},preload:"metadata",controls:!0,title:n,width:"auto",height:"auto"},{children:[t.jsx("source",{src:o,type:"video/mp4"},void 0),t.jsx(pS,{id:"Generic.videoReplayError",tagName:"p"},void 0)]}),void 0)]}),void 0)};function oUe(e){var t,n="mac"===os.deviceInfo.operatingSystem,i=null===(t=cG.getType(e))||void 0===t?void 0:t.toString();return!!i&&(!!i.startsWith(xNe.mp4)||(n?i.startsWith(xNe.quicktime):i.startsWith(xNe.webm)))}var aUe,sUe,lUe=function(e,t){return"\n box-shadow: "+e/2+"px "+t/2+"px "+(Math.abs(e)+Math.abs(t))+"px grey;\n "},uUe=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 "},cUe=function(e,t,n){return o.css(sUe||(sUe=uTe(["\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 dUe(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 pUe(e){return aTe(this,void 0,void 0,(function(){return sTe(this,(function(t){switch(t.label){case 0:return null==e||0===e.length?[2,null]:[4,Promise.all(e.map(dUe))];case 1:return[2,t.sent()]}}))}))}function hUe(e){return eRe(e)?"MusicInCollectionFill":oUe(e)?"Video":gUe(null==e?void 0:e.split(".").pop().toLowerCase())}function fUe(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 mUe(e){switch(e){case"VisioDocument":case"WordDocument":case"ExcelDocument":case"PowerPointDocument":return-55;default:return-50}}function gUe(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 vUe(){var e=oB(),t=rB(),n=t.createApiUrl,r=t.fetchFromApi,o=i.useContext(OS).identifier,a=Am(),s=hee().interaction,l=null==o?void 0:o.id;return i.useMemo((function(){return{exchangeShortLivedToken:function(e){return aTe(this,void 0,void 0,(function(){var t;return sTe(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 o=this;return function(){return aTe(o,void 0,void 0,(function(){var o;return sTe(this,(function(l){switch(l.label){case 0:return[4,t()];case 1:return o=l.sent(),window.open(o,"ios"===a.deviceInfo.operatingSystem?"_self":e),s({event:oee.downloadFile,action:aee.click,value:o,item:{id:n,type:i,parentId:r}}),[2]}}))}))}}}}),[l,r,n,e,module])}var yUe,bUe,OUe,_Ue,wUe,xUe,kUe,SUe,PUe,EUe,CUe,FUe,TUe,DUe,AUe,IUe,LUe,$Ue,zUe=function(e){var n=e.files,i=e.onDeleteClick,r=e.getFileUrl,o=e.fileAccessToken,a=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 p=n.filter((function(e){return r&&eRe(e.filename)})),h=n.filter((function(e){return r&&oUe(e.filename)})),f=n.filter((function(e){return!p.includes(e)&&!h.includes(e)}));return t.jsxs(t.Fragment,{children:[h.length>0&&t.jsx(jUe,rTe({className:d,"data-preload-video":"safari"===ag},{children:h.map((function(e){return t.jsx(MUe,{children:t.jsx(rUe,{fileName:e.filename,url:r(e.id),onPlay:function(t){return a(t,e.id)}},void 0)},e.id)}))}),void 0),p.length>0&&t.jsx(RUe,rTe({className:d},{children:p.map((function(e){return t.jsx(QUe,{children:t.jsx(Jze,{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(RUe,rTe({className:d},{children:f.map((function(e){return t.jsx(QUe,{children:t.jsx(NUe,{attachment:e,disabled:l,getFileUrl:r,fileAccessToken:o,onDeleteClick:i,itemResourceType:c,parentId:u},void 0)},e.id)}))}),void 0)]},void 0)},RUe=y.default.ul.withConfig({displayName:"FileAttachmentList__FilesListHost",componentId:"sc-lwztxx-0"})(yUe||(yUe=uTe(["\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"]))),jUe=y.default.ul.withConfig({displayName:"FileAttachmentList__VideoFilesListHost",componentId:"sc-lwztxx-1"})(bUe||(bUe=uTe(["\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),MUe=y.default.li.withConfig({displayName:"FileAttachmentList__VideoFileItem",componentId:"sc-lwztxx-2"})(OUe||(OUe=uTe(["\n &:not(:first-child) {\n margin-top: ","px;\n }\n"],["\n &:not(:first-child) {\n margin-top: ","px;\n }\n"])),I7),QUe=y.default.li.withConfig({displayName:"FileAttachmentList__FileItem",componentId:"sc-lwztxx-3"})(_Ue||(_Ue=uTe(["\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"])),I7,j7,5),NUe=function(e){var n=e.attachment,i=e.onDeleteClick,r=e.getFileUrl,o=e.fileAccessToken,s=e.disabled,l=e.parentId,u=e.itemResourceType,c=Wk().formatMessage,d=!s&&i,p=vUe(),h=p.exchangeShortLivedToken,f=p.createDownloadClickHandler;return t.jsxs(UUe,{children:[n.isUploadInProgress&&t.jsx(YUe,{children:t.jsx(ZUe,{size:a.SpinnerSize.medium},void 0)},void 0),t.jsx(qUe,rTe({takeFullWidth:!d},{children:function(){var e=this;if(n.hasError)return t.jsxs(GUe,{children:[t.jsx(HUe,{iconName:"Warning"},void 0),t.jsx(VUe,rTe({title:n.filename},{children:n.filename}),void 0)]},void 0);var i=hUe(n.filename);if(r)return t.jsxs(BUe,rTe({title:n.filename,onClick:f("_blank",(function(){return aTe(e,void 0,void 0,(function(){var e;return sTe(this,(function(t){switch(t.label){case 0:return[4,h(o)];case 1:return e=t.sent(),[2,r(n.id,e)]}}))}))}),n.id,u,l)},{children:[t.jsx(WUe,{iconName:i},void 0),t.jsx(VUe,{children:n.filename},void 0)]}),void 0);return t.jsxs(GUe,{children:[t.jsx(WUe,{iconName:i},void 0),t.jsx(VUe,rTe({title:n.filename},{children:n.filename}),void 0)]},void 0)}()}),void 0),d&&t.jsx(XUe,{iconProps:{iconName:"Delete"},onClick:function(){return i(n)},disabled:n.isUploadInProgress,ariaLabel:c({id:"AriaLabel.removeAttachmentButton"})},void 0)]},void 0)},UUe=y.default.div.withConfig({displayName:"FileAttachmentList__Host",componentId:"sc-lwztxx-4"})(wUe||(wUe=uTe(["\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})),BUe=y.default(a.DefaultButton).withConfig({displayName:"FileAttachmentList__DownloadButton",componentId:"sc-lwztxx-5"})(xUe||(xUe=uTe(["\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}),I7,(function(e){return e.theme.textColors.default})),qUe=y.default.span.withConfig({displayName:"FileAttachmentList__Inner",componentId:"sc-lwztxx-6"})(PUe||(PUe=uTe(["\n display: inline-flex;\n\n ","\n"],["\n display: inline-flex;\n\n ","\n"])),(function(e){return e.takeFullWidth?o.css(kUe||(kUe=uTe(["\n width: 100%;\n "],["\n width: 100%;\n "]))):o.css(SUe||(SUe=uTe(["\n width: calc(100% - 34px); // delete button size;\n "],["\n width: calc(100% - 34px); // delete button size;\n "])))})),GUe=y.default.span.withConfig({displayName:"FileAttachmentList__FileNameContainer",componentId:"sc-lwztxx-7"})(EUe||(EUe=uTe(["\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"])),I7),WUe=y.default(a.Icon).withConfig({displayName:"FileAttachmentList__FileIcon",componentId:"sc-lwztxx-8"})(CUe||(CUe=uTe(["\n margin-right: ","px;\n font-size: 18px;\n"],["\n margin-right: ","px;\n font-size: 18px;\n"])),I7),XUe=y.default(a.IconButton).withConfig({displayName:"FileAttachmentList__DeleteButton",componentId:"sc-lwztxx-9"})(FUe||(FUe=uTe(["\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})),VUe=y.default.span.withConfig({displayName:"FileAttachmentList__FileName",componentId:"sc-lwztxx-10"})(TUe||(TUe=uTe(["\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"]))),YUe=y.default.div.withConfig({displayName:"FileAttachmentList__AttachmentOverlay",componentId:"sc-lwztxx-11"})(DUe||(DUe=uTe(["\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"]))),ZUe=y.default(vje).withConfig({displayName:"FileAttachmentList__CenteredSpinner",componentId:"sc-lwztxx-12"})(AUe||(AUe=uTe(["\n margin-top: auto;\n height: 100%;\n"],["\n margin-top: auto;\n height: 100%;\n"]))),HUe=y.default(a.Icon).withConfig({displayName:"FileAttachmentList__WarningIcon",componentId:"sc-lwztxx-13"})(IUe||(IUe=uTe(["\n font-size: 20px;\n color: ",";\n"],["\n font-size: 20px;\n color: ",";\n"])),(function(e){return e.theme.palette.redDark})),KUe=function(e){var n,i=e.children,r=oTe(e,["children"]);return t.jsxs(t.Fragment,{children:[t.jsx(JUe,{},void 0),t.jsx(dTe,rTe({},r,{modalProps:rTe(rTe({},r.modalProps||{}),{className:YB({"lt-reach-dialog-mobile-full-height":os.isAnyMobileApp},null===(n=r.modalProps)||void 0===n?void 0:n.className)})},{children:i}),void 0)]},void 0)},JUe=o.createGlobalStyle(LUe||(LUe=uTe(['\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"}($Ue||($Ue={}));var eBe=function(e){var n=e.className,i=e.offsetTop,r=void 0===i?0:i,o=e.positionBottomOnMobile,a=e.domIdentifier,s=e.offsetRight,l=void 0===s?0:s,u=e.children;return t.jsxs(iBe,rTe({offsetTop:r,offsetRight:l,className:n,positionBottomOnMobile:o,"data-fab":a},{children:[t.jsx(oBe,{},void 0),u]}),void 0)},tBe=function(e){var n=e.iconName,i=e.onClick,r=e.tooltipResourceKey,o=e.useSecondaryBgColor,a=e.domIdentifier,s=e.className,l=Wk().formatMessage;return t.jsxs(aze,rTe({className:s,resourceKey:r},{children:[t.jsx(oBe,{},void 0),t.jsx(aBe,{"data-fab":a,iconProps:{iconName:n},onClick:i,ariaLabel:l({id:r}),useSecondaryBgColor:o},void 0)]}),void 0)},nBe=function(e){var n=e.iconName,r=e.tooltipResourceKey,o=e.titleResourceKey,s=e.showCloseButton,l=e.useSecondaryBgColor,u=e.children,c=e.domIdentifier,d=e.useMobileFullHeight,p=Wk().formatMessage,h=i.useState(!1),f=h[0],m=h[1],g=i.useRef(null),v=os.isAnyMobileApp;return t.jsxs(t.Fragment,{children:[t.jsx("div",rTe({ref:g},{children:t.jsx(tBe,{"data-fab":c,tooltipResourceKey:r,iconName:n,onClick:function(){return m(!f)},useSecondaryBgColor:l},void 0)}),void 0),f&&v&&d&&t.jsxs(KUe,rTe({hidden:!f,modalProps:{isBlocking:!1,className:"dialog-mobile-full-height"},dialogContentProps:{showCloseButton:!0,type:a.DialogType.close,title:p({id:o})},onDismiss:function(){return m(!1)}},{children:[t.jsx(wBe,{},void 0),u]}),void 0),f&&v&&!d&&t.jsxs(dTe,rTe({hidden:!f},{children:[u,t.jsx(a.DialogFooter,{children:t.jsx(a.DefaultButton,{text:p({id:"Generic.close"}),onClick:function(){return m(!1)}},void 0)},void 0)]}),void 0),f&&!v&&t.jsx(ORe,rTe({target:g.current,directionalHint:a.DirectionalHint.bottomRightEdge,onDismiss:function(){return m(!1)}},{children:t.jsxs(OBe,{children:[u,s&&t.jsx(_Be,{text:p({id:"Generic.close"}),onClick:function(){return m(!1)}},void 0)]},void 0)}),void 0)]},void 0)},iBe=y.default.nav.withConfig({displayName:"FloatingActionButton__Navigation",componentId:"sc-1spkihm-0"})(uBe||(uBe=uTe(["\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?o.css(sBe||(sBe=uTe(["\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 "])),M7,e.offsetTop+20):o.css(lBe||(lBe=uTe(["\n top: ","px;\n "],["\n top: ","px;\n "])),e.offsetTop+20)})),rBe=function(e){return o.css(pBe||(pBe=uTe(["\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?o.css(cBe||(cBe=uTe(["\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})):o.css(dBe||(dBe=uTe(["\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})))},oBe=o.createGlobalStyle(hBe||(hBe=uTe(["\n ","\n"],["\n ","\n"])),(function(e){return yJ("\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 ")})),aBe=y.default(a.IconButton).withConfig({displayName:"FloatingActionButton__StyledFabIconButton",componentId:"sc-1spkihm-1"})(fBe||(fBe=uTe(["\n &&& {\n ","\n }\n"],["\n &&& {\n ","\n }\n"])),(function(e){return rBe(e.useSecondaryBgColor)}));y.default(aze).withConfig({displayName:"FloatingActionButton__StyledTooltip",componentId:"sc-1spkihm-2"})(mBe||(mBe=uTe(["\n a,\n a:visited {\n ","\n }\n"],["\n a,\n a:visited {\n ","\n }\n"])),(function(e){return rBe(e.useSecondaryBgColor)}));var sBe,lBe,uBe,cBe,dBe,pBe,hBe,fBe,mBe,gBe,vBe,yBe,bBe,OBe=y.default.div.withConfig({displayName:"FloatingActionButton__CalloutHost",componentId:"sc-1spkihm-3"})(gBe||(gBe=uTe(["\n display: flex;\n flex-direction: column;\n padding: ","px;\n"],["\n display: flex;\n flex-direction: column;\n padding: ","px;\n"])),L7),_Be=y.default(a.DefaultButton).withConfig({displayName:"FloatingActionButton__CalloutCloseButton",componentId:"sc-1spkihm-4"})(vBe||(vBe=uTe(["\n && {\n margin-left: auto;\n }\n"],["\n && {\n margin-left: auto;\n }\n"]))),wBe=o.createGlobalStyle(yBe||(yBe=uTe(["\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"])),B7),xBe=function(e){var n=e.tagName,r=void 0===n?"div":n,o=e.id,a=e.values,s=e.className;return i.createElement(r,{className:s},t.jsx(pS,{id:o,values:a},void 0))},kBe=function(e){var n=e.icon,i=e.resourceKey,r=e.className,o=e.values,s="string"==typeof n?t.jsx(a.Icon,{iconName:n},void 0):n;return t.jsxs(SBe,rTe({className:r},{children:[s,t.jsx(pS,{id:i,values:o,tagName:"span"},void 0)]}),void 0)},SBe=y.default.div(bBe||(bBe=uTe(["\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,Z7),PBe={},EBe=new yq;var CBe=new yq;function FBe(e){var t=i.useRef(!0);i.useEffect((function(){t.current||CBe.next(),t.current=!1}),e)}var TBe,DBe,ABe,IBe,LBe=function(e){var n=e.groupName,r=e.groupId,o=e.keywordName,a=e.keywordId,s=e.language,l=e.underlined,u=e.onClick,c=e.tabIndex,d=m5(),p=A9(i.useContext(pre).selectedKeywordGroups,d,r,o,n,s);return u?t.jsx(zBe,rTe({onClick:function(){return u(a)},tabIndex:c},{children:t.jsx(RBe,rTe({underlined:!0},{children:p}),void 0)}),void 0):t.jsx(RBe,rTe({underlined:l},{children:p}),void 0)},$Be=function(e){var n=e.groupId,r=e.keywordName,o=m5(),a=A9(i.useContext(pre).selectedKeywordGroups,o,n,r);return FBe([a]),t.jsx(RBe,rTe({underlined:!0},{children:a}),void 0)},zBe=y.default(mRe).withConfig({displayName:"KeywordTitle__KeywordButton",componentId:"sc-18jcqyr-0"})(TBe||(TBe=uTe(["\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})),RBe=y.default.span.withConfig({displayName:"KeywordTitle__Keyword",componentId:"sc-18jcqyr-1"})(ABe||(ABe=uTe(["\n ","\n"],["\n ","\n"])),(function(e){return e.underlined&&o.css(DBe||(DBe=uTe(["\n text-decoration: underline;\n "],["\n text-decoration: underline;\n "])))})),jBe=function(e){var n=e.modified,i=Wk();return n?t.jsxs(MBe,rTe({className:"ms-fontColor-neutralTertiary"},{children:["(",t.jsx(aze,rTe({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(pS,{id:"Generic.wasModified"},void 0)}),void 0),")"]}),void 0):null},MBe=y.default.div(IBe||(IBe=uTe(["\n font-size: ","px;\n"],["\n font-size: ","px;\n"])),H7);function QBe(){return QBe=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},QBe.apply(this,arguments)}var NBe=function(e){return m.createElement("svg",QBe({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 UBe(){return UBe=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},UBe.apply(this,arguments)}var BBe=function(e){return m.createElement("svg",UBe({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 qBe(){return qBe=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},qBe.apply(this,arguments)}var GBe=function(e){return m.createElement("svg",qBe({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 WBe(){return WBe=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},WBe.apply(this,arguments)}var XBe,VBe,YBe,ZBe,HBe,KBe,JBe,eqe,tqe,nqe,iqe,rqe=function(e){return m.createElement("svg",WBe({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}}))},oqe=function(e){var n=e.images,i=e.selectedIndex,r=e.hidden,o=e.onClose,s=e.imageUrlResolver,l=$w((function(){return aTe(this,void 0,void 0,(function(){var e;return sTe(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}):dUe(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(a.Layer,{children:t.jsx(aqe,{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:o},void 0)},void 0)},aqe=function(e){var n=e.images,r=e.hidden,o=e.selectedIndex,a=e.onClose,s=Wk().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 ioe(l.current,ooe,n.map((function(e){return{src:e.large,msrc:e.thumbnail,w:e.width,h:e.height,title:e.caption}})),{index:o});return e.listen("close",a),e.init(),e}()}),200),function(){return null==e?void 0:e.close()}}),[r,o]),t.jsxs(t.Fragment,{children:[t.jsx(sqe,{enforceArrowVisibility:!os.isNativeMobileApp},void 0),t.jsxs("div",rTe({ref:l,className:"pswp",tabIndex:-1,role:"dialog","aria-hidden":"true"},{children:[t.jsx("div",{className:"pswp__bg"},void 0),t.jsxs("div",rTe({className:"pswp__scroll-wrap"},{children:[t.jsxs("div",rTe({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",rTe({className:"pswp__ui pswp__ui--hidden"},{children:[t.jsxs("div",rTe({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",rTe({className:"pswp__preloader"},{children:t.jsx("div",rTe({className:"pswp__preloader__icn"},{children:t.jsx("div",rTe({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",rTe({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",rTe({className:"pswp__caption"},{children:t.jsx("div",{className:"pswp__caption__center"},void 0)}),void 0)]}),void 0)]}),void 0)]}),void 0)]},void 0)},sqe=o.createGlobalStyle(VBe||(VBe=uTe(["\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&&o.css(XBe||(XBe=uTe(["\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 "])))})),lqe=function(e){var n=e.images,r=e.imageUrlResolver,o=e.disableRoundedCorners,s=e.gridBackgroundColor,l=e.className,u=Wk().formatMessage,c=i.useState(null),d=c[0],p=c[1],h=i.useContext(Qie).theme.palette;if(!n||0===n.length)return null;var f=n.length>4,m=n.length>1,g=n[0];return t.jsxs(cqe,rTe({"data-multi-images":m,className:l,singleImageHeight:g.height,singleImageWidth:g.width},{children:[t.jsx("div",rTe({"data-gallery-wrapper":!0},{children:m?t.jsxs(t.Fragment,{children:[t.jsx(pqe,rTe({backgroundColor:null!=s?s:h.neutralLight,applyRoundedCorners:!o},{children:n.slice(0,4).map((function(e,n){return t.jsx(hqe,rTe({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(fqe,{src:e.previewUrl,imageFit:a.ImageFit.centerCover,alt:e.imageTitle||""},void 0)}),n)}))}),void 0),f&&t.jsxs(mqe,rTe({onClick:function(){return v(4)}},{children:["+",n.length-4]}),void 0)]},void 0):t.jsx(uqe,{image:g,onClick:function(){return v(0)},disableRoundedCorners:o},void 0)}),void 0),t.jsx(oqe,{images:n,selectedIndex:d,hidden:null==d,onClose:function(){p(null)},imageUrlResolver:r},void 0)]}),void 0);function v(e){p(e)}},uqe=function(e){var n=e.image,i=e.onClick,r=e.disableRoundedCorners,o=Wk().formatMessage;return t.jsx(dqe,rTe({href:n.previewUrl,onClick:function(e){e.stopPropagation(),e.preventDefault(),i()},applyRoundedCorners:!r,"aria-label":o({id:"AriaLabel.viewImage"}),"data-clickable-overlay":!0},{children:t.jsx("img",{src:n.previewUrl,alt:""},void 0)}),void 0)},cqe=y.default.div.withConfig({displayName:"PhotoGrid__Host",componentId:"sc-flk193-0"})(ZBe||(ZBe=uTe(["\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&&o.css(YBe||(YBe=uTe(["\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)})),dqe=y.default.a.withConfig({displayName:"PhotoGrid__SingleImageHost",componentId:"sc-flk193-1"})(KBe||(KBe=uTe(["\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&&o.css(HBe||(HBe=uTe(["\n border-radius: 10px;\n "],["\n border-radius: 10px;\n "])))})),pqe=y.default.div.withConfig({displayName:"PhotoGrid__Gallery",componentId:"sc-flk193-2"})(eqe||(eqe=uTe(["\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&&o.css(JBe||(JBe=uTe(["\n border-radius: 10px;\n "],["\n border-radius: 10px;\n "])))})),hqe=y.default.a.withConfig({displayName:"PhotoGrid__ImageItem",componentId:"sc-flk193-3"})(tqe||(tqe=uTe(["\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"]))),fqe=y.default(a.Image).withConfig({displayName:"PhotoGrid__StyledImage",componentId:"sc-flk193-4"})(nqe||(nqe=uTe(["\n height: 100%;\n"],["\n height: 100%;\n"]))),mqe=y.default(a.DefaultButton).withConfig({displayName:"PhotoGrid__MoreIndicator",componentId:"sc-flk193-5"})(iqe||(iqe=uTe(["\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"])),V7,j7,28);var gqe,vqe,yqe,bqe,Oqe,_qe,wqe=function(e){var n=e.icon,i=e.isActive,r=e.disabled,o=e.tooltipResourceKey,s=e.onClick,l=e.link,u=e.className,c=oTe(e,["icon","isActive","disabled","tooltipResourceKey","onClick","link","className"]),d=Wk().formatMessage;if(!l&&!s)return null;var p=YB("header-button",u),h=l?t.jsx(Sqe,rTe({className:p,to:l},c,{children:t.jsx(a.Icon,{iconName:n},void 0)}),void 0):t.jsx(kqe,rTe({className:p,disabled:r,onClick:function(e){return s(e.currentTarget)},iconProps:{iconName:n},ariaLabel:d({id:o}),"data-button-type":"header-btn",isActive:i},c),void 0);return t.jsx(xqe,rTe({className:"tooltip-container"},{children:t.jsx(aze,rTe({resourceKey:o},{children:h}),void 0)}),void 0)},xqe=y.default.div.withConfig({displayName:"IconHeaderButton__Host",componentId:"sc-1p61ffo-0"})(gqe||(gqe=uTe(["\n height: 100%;\n"],["\n height: 100%;\n"]))),kqe=y.default(a.IconButton).withConfig({displayName:"IconHeaderButton__Button",componentId:"sc-1p61ffo-1"})(bqe||(bqe=uTe(['\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&&o.css(vqe||(vqe=uTe(["\n color: ",";\n "],["\n color: ",";\n "])),e.theme.textColors.onPrimary)}),(function(e){return e.isActive&&o.css(yqe||(yqe=uTe(["\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)})),Sqe=y.default(r.Link).withConfig({displayName:"IconHeaderButton__StyledLink",componentId:"sc-1p61ffo-2"})(_qe||(_qe=uTe(["\n && {\n height: 100%;\n ",";\n }\n"],["\n && {\n height: 100%;\n ",";\n }\n"])),(function(e){return o.css(Oqe||(Oqe=uTe(["\n color: ",";\n "],["\n color: ",";\n "])),e.theme.textColors.onPrimary)})),Pqe="\t\n\v\f\r                 \u2028\u2029\ufeff",Eqe=FTe,Cqe="[\t\n\v\f\r                 \u2028\u2029\ufeff]",Fqe=RegExp("^"+Cqe+Cqe+"*"),Tqe=RegExp(Cqe+Cqe+"*$"),Dqe=function(e){return function(t){var n=String(Eqe(t));return 1&e&&(n=n.replace(Fqe,"")),2&e&&(n=n.replace(Tqe,"")),n}},Aqe={start:Dqe(1),end:Dqe(2),trim:Dqe(3)},Iqe=vTe,Lqe=Pqe,$qe=Aqe.trim,zqe=function(e){return Iqe((function(){return!!Lqe[e]()||"​…᠎"!="​…᠎"[e]()||Lqe[e].name!==e}))};JAe({target:"String",proto:!0,forced:zqe("trim")},{trim:function(){return $qe(this)}});var Rqe,jqe,Mqe,Qqe,Nqe,Uqe,Bqe,qqe,Gqe,Wqe,Xqe,Vqe,Yqe,Zqe,Hqe,Kqe,Jqe,eGe=function(e){var n=e.url,r=e.target,o=e.ariaLabel,a=e.children,s=e.className,l=e.style,u=oTe(e,["url","target","ariaLabel","children","className","style"]);g5();var c=hne(),d=i.useContext(vS);d.onOpenExternalLink;var p=d.tryGetInternalLink,h=!r&&p(n,c);return h?t.jsx(_ze,rTe({className:s,to:h,"data-link":D7.Internal,"aria-label":o,style:l},u,{children:a}),void 0):t.jsx(tGe,rTe({url:n,target:r,className:s,ariaLabel:o,style:l},u,{children:a}),void 0)},tGe=function(e){var n=e.url,i=e.target,r=e.ariaLabel,o=e.onClick,a=e.className,s=e.children,l=e.style,u=oTe(e,["url","target","ariaLabel","onClick","className","children","style"]);return t.jsx(Oze,rTe({href:n,onClick:function(e){return null==o?void 0:o(e)},className:a,target:void 0===i?"_blank":i,rel:"noopener noreferrer","aria-label":r,"data-link":D7.External,style:l},u,{children:s}),void 0)},nGe=o.css(Rqe||(Rqe=uTe(["\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"]))),iGe=y.default(eGe).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledLink",componentId:"sc-148nazl-0"})(jqe||(jqe=uTe(["\n ","\n"],["\n ","\n"])),nGe),rGe=y.default(tGe).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledExternalLink",componentId:"sc-148nazl-1"})(Mqe||(Mqe=uTe(["\n ","\n"],["\n ","\n"])),nGe),oGe=y.default(a.IconButton).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledIconButton",componentId:"sc-148nazl-2"})(Nqe||(Nqe=uTe(["\n border-radius: 0;\n\n ","\n"],["\n border-radius: 0;\n\n ","\n"])),(function(e){return e.active&&o.css(Qqe||(Qqe=uTe(["\n border-color: ",";\n "],["\n border-color: ",";\n "])),e.theme.palette.themePrimary)})),aGe=y.default((function(e){var n,i=e.iconName,r=e.ariaLabel,o=e.ariaLabelResourceKey,s=e.onClick,l=e.to,u=e.target,c=e.tooltipText,d=e.tooltipResourceKey,p=e.disabled,h=e.className,f=oTe(e,["iconName","ariaLabel","ariaLabelResourceKey","onClick","to","target","tooltipText","tooltipResourceKey","disabled","className"]),m=Wk().formatMessage,g=r||(null===(n=null==o?void 0:o.trim())||void 0===n?void 0:n.length)>0&&m({id:o});return t.jsxs(aze,rTe({resourceKey:d,text:c},{children:[l&&!s&&t.jsx(iGe,rTe({url:l,ariaLabel:g,target:u},f,{children:t.jsx(a.Icon,{iconName:i,className:h},void 0)}),void 0),s&&!l&&t.jsx(oGe,rTe({disabled:p,iconProps:{iconName:i},onClick:s,className:h,ariaLabel:g},f),void 0),s&&l&&t.jsx(rGe,rTe({url:l,target:u,ariaLabel:g,onClick:function(e){e.stopPropagation(),e.preventDefault(),s()}},{children:t.jsx(a.Icon,{iconName:i,className:h},void 0)}),void 0)]}),void 0)})).withConfig({displayName:"ToolbarIconButtonWithToolTip__ToolbarIconButton",componentId:"sc-148nazl-3"})(Bqe||(Bqe=uTe(["\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&&o.css(Uqe||(Uqe=uTe(["\n i {\n font-weight: bold;\n }\n "],["\n i {\n font-weight: bold;\n }\n "])))})),sGe=function(e){var n=e.shouldAutoFocus,o=void 0===n||n,a=Wk(),s=i.useState(null),l=s[0],u=s[1],c=r.useLocation(),d=i.useContext(Qie).theme.textColors,p=i.useRef();return i.useEffect((function(){return jre(f),o&&setTimeout((function(){var e;return p&&(null===(e=p.current)||void 0===e?void 0:e.focus())})),function(){Mre(f)}}),[]),i.useEffect((function(){u("")}),[c.pathname]),t.jsxs(cGe,rTe({className:YB("search-field",e.className),useLightTheme:e.useLightTheme},{children:[t.jsx(lGe,{className:"search-input",useLightTheme:e.useLightTheme,default:!0,value:l||e.searchText||"",onChange:function(e,t){return h(t)},onKeyDown:function(t){"Enter"===t.key&&e.onExecuteSearch&&e.onExecuteSearch(l);"Escape"===t.key&&h("")},autoComplete:"off",autoFocus:!1,borderless:!0,placeholder:e.placeholder||a.formatMessage({id:"TopBar.search"}),componentRef:function(e){return p.current=e},ariaLabel:a.formatMessage({id:"TopBar.search"}),"data-search-input":!0},void 0),e.searching&&t.jsx(uGe,{className:"search-spinner"},void 0),t.jsx(dGe,{"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 h(t){var n;u(t),null===(n=e.onChange)||void 0===n||n.call(e,t)}function f(){return!(!l&&!e.searchText)&&(h(""),!0)}},lGe=y.default(a.TextField).withConfig({displayName:"Search__StyledTextField",componentId:"sc-17f35gt-0"})(Wqe||(Wqe=uTe(["\n ","\n"],["\n ","\n"])),(function(e){return e.useLightTheme?o.css(qqe||(qqe=uTe(["\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}),uUe("color: "+e.theme.textColors.default)):o.css(Gqe||(Gqe=uTe(["\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}),uUe("color: "+e.theme.textColors.onPrimary))})),uGe=y.default(a.Spinner).withConfig({displayName:"Search__StyledSpinner",componentId:"sc-17f35gt-1"})(Xqe||(Xqe=uTe(["\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})),cGe=y.default.div.withConfig({displayName:"Search__Host",componentId:"sc-17f35gt-2"})(Zqe||(Zqe=uTe(["\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"])),uUe("\n font-size: inherit;\n opacity: 0.5;\n "),(function(e){return e.useLightTheme?o.css(Vqe||(Vqe=uTe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),(function(e){return e.theme.palette.neutralLighter})):o.css(Yqe||(Yqe=uTe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),(function(e){return e.theme.palette.themeDarker}))})),dGe=y.default(fze).withConfig({displayName:"Search__CancelButton",componentId:"sc-17f35gt-3"})(Hqe||(Hqe=uTe(["\n align-self: center;\n"],["\n align-self: center;\n"]))),pGe=function(e){var n=e.onSearchInputFieldVisibilityChanged,r=e.isToolbarMode,o=e.onExecuteSearch,a=e.onSearchTextChange,s=e.searchText,l=e.showSearchBoxInput,u=e.className,c=e.shouldAutoFocus,d=i.useState(!!s),p=d[0],h=d[1],f=l||p||!!s;return i.useEffect((function(){null==n||n(f)}),[f]),t.jsxs(t.Fragment,{children:[f&&t.jsx(sGe,{onChange:a,onExecuteSearch:o,searchText:s,onClear:function(){null==a||a(""),m(!1)},shouldAutoFocus:c,className:u,useLightTheme:r},void 0),!f&&(r?t.jsx(aGe,{iconName:"Search",onClick:function(){return m(!0)},tooltipResourceKey:"TopBar.search",ariaLabelResourceKey:"TopBar.search"},void 0):t.jsx(wqe,{icon:"Search",onClick:function(){return m(!0)},tooltipResourceKey:"TopBar.search"},void 0))]},void 0);function m(e){h(e),null==n||n(e)}},hGe=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},fGe=eDe,mGe=FTe,gGe=hGe,vGe=BNe;$Ne("search",1,(function(e,t,n){return[function(t){var n=mGe(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=fGe(e),o=String(this),a=r.lastIndex;gGe(a,0)||(r.lastIndex=0);var s=vGe(r,o);return gGe(r.lastIndex,a)||(r.lastIndex=a),null===s?-1:s.index}]})),y.default.div.withConfig({displayName:"EmptyUnreadListMessage__Host",componentId:"sc-1fler8t-0"})(Kqe||(Kqe=uTe(["\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"}(Jqe||(Jqe={})),y.default(a.Icon).withConfig({displayName:"SortableTable__Order",componentId:"sc-6tqdpa-0"})(yGe||(yGe=uTe(["\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"})(_Ge||(_Ge=uTe(["\n position: relative;\n padding: 0 5px;\n ","\n"],["\n position: relative;\n padding: 0 5px;\n ","\n"])),(function(e){return e.orderBy?o.css(bGe||(bGe=uTe(["\n padding-right: 18px;\n "],["\n padding-right: 18px;\n "]))):o.css(OGe||(OGe=uTe(["\n padding-left: 18px;\n "],["\n padding-left: 18px;\n "])))})),y.default.th.withConfig({displayName:"SortableTable__ColumnHeader",componentId:"sc-6tqdpa-2"})(wGe||(wGe=uTe(["\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"})(xGe||(xGe=uTe(["\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 yGe,bGe,OGe,_Ge,wGe,xGe,kGe,SGe,PGe,EGe=y.default.tr.withConfig({displayName:"SortableTable__Row",componentId:"sc-6tqdpa-4"})(kGe||(kGe=uTe(["\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"})(SGe||(SGe=uTe(["\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"}),EGe,(function(e){return e.isLoading?"0.6":"1"})),y.default(vje).withConfig({displayName:"SortableTable__Loading",componentId:"sc-6tqdpa-6"})(PGe||(PGe=uTe(["\n margin: 80px 0 100px;\n"],["\n margin: 80px 0 100px;\n"])));var CGe,FGe,TGe=function(e){return t.jsx(DGe,rTe({},e,{"data-toggle-button":!0}),void 0)},DGe=y.default(a.Toggle).withConfig({displayName:"ToggleWithLabel__StyledToggle",componentId:"sc-lcovfq-0"})(CGe||(CGe=uTe(["\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})),AGe=function(e){return o.css(FGe||(FGe=uTe(["\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 IGe(e,t,n){return e.translations[t.preferredUiLanguage]||e.translations[C9(t)]||e.name||n.formatMessage({id:"Groups.defaultName"})}var LGe=$Ne,$Ge=eDe,zGe=nIe,RGe=pAe,jGe=uAe,MGe=FTe,QGe=QNe,NGe=BNe,UGe=Math.max,BGe=Math.min,qGe=Math.floor,GGe=/\$([$&'`]|\d\d?|<[^>]*>)/g,WGe=/\$([$&'`]|\d\d?)/g,XGe=function(e){return void 0===e?e:String(e)};LGe("replace",2,(function(e,t,n,i){var r=i.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,o=i.REPLACE_KEEPS_$0,a=r?"$":"$0";return[function(n,i){var r=MGe(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,r,i):t.call(String(r),n,i)},function(e,i){if(!r&&o||"string"==typeof i&&-1===i.indexOf(a)){var l=n(t,e,this,i);if(l.done)return l.value}var u=$Ge(e),c=String(this),d="function"==typeof i;d||(i=String(i));var p=u.global;if(p){var h=u.unicode;u.lastIndex=0}for(var f=[];;){var m=NGe(u,c);if(null===m)break;if(f.push(m),!p)break;""===String(m[0])&&(u.lastIndex=QGe(c,RGe(u.lastIndex),h))}for(var g="",v=0,y=0;y<f.length;y++){m=f[y];for(var b=String(m[0]),O=UGe(BGe(jGe(m.index),c.length),0),_=[],w=1;w<m.length;w++)_.push(XGe(m[w]));var x=m.groups;if(d){var k=[b].concat(_,O,c);void 0!==x&&k.push(x);var S=String(i.apply(void 0,k))}else S=s(b,c,O,_,x,i);O>=v&&(g+=c.slice(v,O)+S,v=O+b.length)}return g+c.slice(v)}];function s(e,n,i,r,o,a){var s=i+e.length,l=r.length,u=WGe;return void 0!==o&&(o=zGe(o),u=GGe),t.call(a,u,(function(t,a){var u;switch(a.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,i);case"'":return n.slice(s);case"<":u=o[a.slice(1,-1)];break;default:var c=+a;if(0===c)return t;if(c>l){var d=qGe(c/10);return 0===d?t:d<=l?void 0===r[d-1]?a.charAt(1):r[d-1]+a.charAt(1):t}u=r[c-1]}return void 0===u?"":u}))}}));var VGe=ITe,YGe=r$e,ZGe=yTe,HGe=mTe,KGe=GAe,JGe=function(e,t,n){var i,r;return YGe&&"function"==typeof(i=t.constructor)&&i!==n&&VGe(r=i.prototype)&&r!==n.prototype&&YGe(e,r),e},eWe=KTe.f,tWe=aAe.f,nWe=KIe,iWe=Qze,rWe=dNe,oWe=uDe.exports,aWe=vTe,sWe=XDe.set,lWe=Sje,uWe=VIe("match"),cWe=HGe.RegExp,dWe=cWe.prototype,pWe=/a/g,hWe=/a/g,fWe=new cWe(pWe)!==pWe,mWe=rWe.UNSUPPORTED_Y;if(ZGe&&KGe("RegExp",!fWe||mWe||aWe((function(){return hWe[uWe]=!1,cWe(pWe)!=pWe||cWe(hWe)==hWe||"/a/i"!=cWe(pWe,"i")})))){for(var gWe=function(e,t){var n,i=this instanceof gWe,r=nWe(e),o=void 0===t;if(!i&&r&&e.constructor===gWe&&o)return e;fWe?r&&!o&&(e=e.source):e instanceof gWe&&(o&&(t=iWe.call(e)),e=e.source),mWe&&(n=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var a=JGe(fWe?new cWe(e,t):cWe(e,t),i?this:dWe,gWe);return mWe&&n&&sWe(a,{sticky:n}),a},vWe=function(e){e in gWe||eWe(gWe,e,{configurable:!0,get:function(){return cWe[e]},set:function(t){cWe[e]=t}})},yWe=tWe(cWe),bWe=0;yWe.length>bWe;)vWe(yWe[bWe++]);dWe.constructor=gWe,gWe.prototype=dWe,oWe(HGe,"RegExp",gWe)}lWe("RegExp");var OWe,_We=j7-z7,wWe=M7-z7;function xWe(e){return!!e&&DWe.test(e)}function kWe(e){return e?"https://www.google.com/maps/search/?api=1&"+Wm.stringify({query:e}):null}function SWe(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"})(OWe||(OWe=uTe(["\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"])),I7,B7,L7,10,10,j7,L7,_We,M7,wWe);var PWe,EWe,CWe,FWe,TWe,DWe=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"),AWe=y.default.div.withConfig({displayName:"Utils__LeftBannerWrapper",componentId:"sc-1qatfzk-0"})(EWe||(EWe=uTe(["\n width: 100%;\n height: calc(\n ((100vw - ","px * 2) * (1 / ","))\n );\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\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,K7,(function(e){return e.showPlaceholder&&o.css(PWe||(PWe=uTe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),e.theme.palette.accent)}),j7,_We,K7,M7,(function(e){return e.defaultWidth||250}));y.default.div.withConfig({displayName:"VerificationStatusIcon__Host",componentId:"sc-b3nb8-0"})(FWe||(FWe=uTe(["\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&&o.css(CWe||(CWe=uTe(["\n color: ",";\n "],["\n color: ",";\n "])),(function(e){return e.theme.palette.redDark}))})),y.default(a.Icon).withConfig({displayName:"VerificationStatusIcon__StatusIcon",componentId:"sc-b3nb8-1"})(TWe||(TWe=uTe(["\n margin-right: ","px;\n"],["\n margin-right: ","px;\n"])),I7);var IWe,LWe,$We,zWe,RWe,jWe,MWe,QWe,NWe,UWe=function(e){var n=e.enterDuration,i=e.leaveDuration,r=e.children,o=e.style,a=e.className,s=!!n,l=!!i,u="common-opacity-animation_"+n+"_"+i;return t.jsxs(t.Fragment,{children:[t.jsx(BWe,{name:u,enterDuration:n,leaveDuration:i},void 0),t.jsx(Noe,rTe({style:o,className:a,transitionName:u,transitionAppear:s,transitionEnter:s,transitionLeave:l,transitionLeaveTimeout:i,transitionAppearTimeout:n,transitionEnterTimeout:n},{children:r}),void 0)]},void 0)},BWe=o.createGlobalStyle(IWe||(IWe=uTe(["\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})),qWe=function(e){var n=e.contentLanguageCode,r=e.originalContent,o=e.content,a=e.onTranslate,s=e.onContentChange,l=e.itemType,u=e.itemId,c=e.tooltipResourceKey,d=e.showLabel,p=Wk().formatMessage,h=m5(),f=g5(),m=i.useState(null),g=m[0],v=m[1],y=i.useState(r===o),b=y[0],O=y[1],_=Zie().showError,w=hee().interaction,x=C9(h);if(i.useEffect((function(){return v(null)}),[r]),!f.automaticTranslation)return null;var k=p({id:"Generic.translate"});return n&&n!==x&&E9.includes(x)&&!P9.includes(x)?t.jsx(aze,rTe({resourceKey:b?"Generic.translateTo":c,values:{language:p({id:"Generic.languages."+x})}},{children:t.jsx(GWe,rTe({"aria-label":d?null:k,"data-translate-content-button":!0,className:"ms-fontColor-neutralSecondary",iconProps:{iconName:"World"},onClick:function(){return aTe(this,void 0,void 0,(function(){var e;return sTe(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:oee.translateContent,value:null,action:aee.click,item:{id:u,type:l}}),[2]);case 1:return t.trys.push([1,3,,4]),[4,a(x)];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:oee.translateContent,value:x,itemType:l,action:aee.click,itemId:u,item:{id:u,type:l}}),[2]}}))}))}},{children:d&&k}),void 0)}),void 0):null},GWe=y.default(mRe)(LWe||(LWe=uTe(["\n &&& {\n i {\n color: ",";\n }\n }\n"],["\n &&& {\n i {\n color: ",";\n }\n }\n"])),(function(e){return e.theme.textColors.default})),WWe=y.default(a.ChoiceGroup).withConfig({displayName:"ChoiceGroup",componentId:"sc-11bpj01-0"})($We||($We=uTe(["\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})),XWe=function(n){var r=n.comment,o=n.showEdit,a=n.showDelete,s=n.onDelete,l=n.isEditMode,u=n.toggleEditMode,c=n.originalContent,d=n.currentContent,p=n.setContent,h=n.handleTranslate,f=n.showAutoTranslate,m=n.onReply,g=n.disabled,v=Wk().formatMessage,y=m5(),b=i.useState(!1),O=b[0],_=b[1],w=i.useRef(null);return y.isPublicUser&&!f?null:y.isPublicUser&&f?t.jsx(qWe,{"data-auto-translate-button":r.id,originalContent:c,onContentChange:function(e){_(!1),p(e)},content:d,tooltipResourceKey:"Comment.translate.showOriginal",onTranslate:h,contentLanguageCode:r.contentLanguageCode,showLabel:!0,itemType:e.ItemResourceTypes.Comments,itemId:r.id},void 0):t.jsxs(t.Fragment,{children:[t.jsx("div",rTe({ref:w},{children:t.jsx(YWe,{"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(HWe,rTe({"data-context-menu":!0,target:w.current,onDismiss:function(){return _(!1)}},{children:t.jsxs(VWe,{children:[t.jsx(aze,rTe({resourceKey:"Comment.replyButton.tooltip",values:{name:r.sender.displayName}},{children:t.jsx(ZWe,{"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(qWe,{"data-auto-translate-button":r.id,originalContent:c,onContentChange:function(e){_(!1),p(e)},content:d,tooltipResourceKey:"Comment.translate.showOriginal",onTranslate:h,contentLanguageCode:r.contentLanguageCode,showLabel:!0,itemType:e.ItemResourceTypes.Comments,itemId:r.id},void 0),o&&t.jsx(aze,rTe({resourceKey:"Comment.edit.tooltip"},{children:t.jsx(ZWe,{"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),a&&t.jsx(aze,rTe({resourceKey:"Comment.delete.tooltip"},{children:t.jsx(ZWe,{"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)},VWe=y.default.div.withConfig({displayName:"CommentActionMenu__Buttons",componentId:"sc-qsk1nc-0"})(zWe||(zWe=uTe(["\n display: flex;\n flex-direction: column;\n"],["\n display: flex;\n flex-direction: column;\n"]))),YWe=y.default(fze).withConfig({displayName:"CommentActionMenu__MenuButton",componentId:"sc-qsk1nc-1"})(RWe||(RWe=uTe(["\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),ZWe=y.default(mRe).withConfig({displayName:"CommentActionMenu__StyledActionButton",componentId:"sc-qsk1nc-2"})(jWe||(jWe=uTe(["\n &&& {\n i {\n color: ",";\n }\n }\n"],["\n &&& {\n i {\n color: ",";\n }\n }\n"])),(function(e){return e.theme.textColors.default})),HWe=y.default(ORe).withConfig({displayName:"CommentActionMenu__StyledCallout",componentId:"sc-qsk1nc-3"})(MWe||(MWe=uTe(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),I7);y.default(a.DefaultButton).withConfig({displayName:"DefaultGoBackButton__StyledButton",componentId:"sc-q6p1lp-0"})(QWe||(QWe=uTe(["\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(a.DefaultButton).withConfig({displayName:"DefaultGoHomeButton__StyledButton",componentId:"sc-1m1ufrk-0"})(NWe||(NWe=uTe(["\n padding: 0 12px;\n"],["\n padding: 0 12px;\n"])));var KWe,JWe,eXe,tXe,nXe,iXe=y.default(a.IconButton).withConfig({displayName:"DeleteAttachmentButton",componentId:"sc-d7hswf-0"})(KWe||(KWe=uTe(["\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})),rXe=function(e){var n=e.toggleAll,r=e.className,o=i.useContext(Qie).theme.palette.accent;return t.jsxs(oXe,rTe({className:r},{children:[t.jsx(aXe,rTe({onClick:function(){return n(!0)},"data-button-toggle":"selectAll",color:o},{children:t.jsx(pS,{id:"Generic.SelectAll"},void 0)}),void 0),t.jsx(aXe,rTe({onClick:function(){return n(!1)},"data-button-toggle":"clearAll",color:o},{children:t.jsx(pS,{id:"Generic.ClearAll"},void 0)}),void 0)]}),void 0)},oXe=y.default.div.withConfig({displayName:"ToggleAllButtons__Host",componentId:"sc-kbn3b4-0"})(JWe||(JWe=uTe(["\n margin-bottom: ","px;\n"],["\n margin-bottom: ","px;\n"])),I7),aXe=y.default(mRe).withConfig({displayName:"ToggleAllButtons__StyledButton",componentId:"sc-kbn3b4-1"})(eXe||(eXe=uTe(["\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,o=oTe(e,["iconName","textKey"]);return t.jsxs(r.NavLink,rTe({},o,{children:[n&&t.jsx(a.Icon,{iconName:n},void 0),t.jsx(pS,{id:i},void 0)]}),void 0)})).withConfig({displayName:"TopActionButton",componentId:"sc-1lam7c6-0"})(tXe||(tXe=uTe(["\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"])),I7,(function(e){return e.theme.palette.accent})),y.default(fze).withConfig({displayName:"HeaderMenuButton__MenuButton",componentId:"sc-170vvq2-0"})(nXe||(nXe=uTe([""],[""])));var sXe,lXe,uXe,cXe,dXe=function(e){var n=e.language,r=e.channel,o=e.role,a=e.className,s=m5(),l=i.useContext(pre).channels,u=fXe(function(){if(!l)return r;return l.find((function(e){return e.id===r.id||e.name===r.name}))}(),s,n);return t.jsx(pXe,rTe({title:u,className:a,role:o},{children:u}),void 0)},pXe=y.default.span.withConfig({displayName:"ChannelTitle__Host",componentId:"sc-1lqd4of-0"})(sXe||(sXe=uTe(["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"],["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"]))),hXe=function(e){var n=e.channels,i=e.language;return t.jsx(t.Fragment,{children:n.map((function(e,n){return t.jsxs("span",{children:[n>0&&", ",t.jsx(dXe,{channel:e,language:i},void 0)]},e.id)}))},void 0)};function fXe(e,t,n){if(null==e)return null;n||(n=C9(t));var i=e.translations||{};return n&&i[n]||i[t.subscription.defaultLanguage]||e.name}y.default(dXe).withConfig({displayName:"ChannelItem__StyledChannelTitle",componentId:"sc-bumcwu-0"})(lXe||(lXe=uTe(["\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"}),X7),y.default.div.withConfig({displayName:"ChannelItem__Host",componentId:"sc-bumcwu-1"})(uXe||(uXe=uTe(["\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"])),I7,15,lUe(2,2),X7),y.default(fze).withConfig({displayName:"ChannelItem__StyledIconButton",componentId:"sc-bumcwu-2"})(cXe||(cXe=uTe(["\n i {\n font-size: ","px;\n }\n"],["\n i {\n font-size: ","px;\n }\n"])),X7);var mXe,gXe,vXe,yXe,bXe,OXe,_Xe,wXe,xXe,kXe=function(e){var n=e.channels,i=e.language,r=e.channelStyleDefinition,o=e.visibleChannelsCount,a=void 0===o?3:o,s=e.onChannelClick,l=e.className;if(!n||0===n.length)return null;var u=n.length>a;return t.jsxs(EXe,rTe({className:l,"data-has-more-indicator":u},{children:[t.jsx(SXe,{channels:n.slice(0,a),language:i,channelStyleDefinition:r,onChannelClick:s},void 0),u&&t.jsx(PXe,{channels:n.slice(a),language:i,styleDefinition:r,onChannelClick:s},void 0)]}),void 0)},SXe=function(e){var n=e.channels,i=e.language,r=e.channelStyleDefinition,o=e.onChannelClick;return t.jsx(CXe,rTe({"data-channels":!0},{children:n.map((function(e){var a=t.jsx(dXe,{channel:e,language:i},void 0);return o?t.jsx(FXe,rTe({bubbleCount:n.length,backgroundColor:null==r?void 0:r.backgroundColor,color:null==r?void 0:r.color,onClick:function(){return o(e)},"data-rounded-outline":!0},{children:a}),e.id):t.jsx(TXe,rTe({bubbleCount:n.length,backgroundColor:null==r?void 0:r.backgroundColor,color:null==r?void 0:r.color},{children:a}),e.id)}))}),void 0)},PXe=function(e){var n=e.channels,r=e.language,o=e.styleDefinition,a=e.onChannelClick,s=i.useRef(),l=i.useState(!1),u=l[0],c=l[1];return t.jsxs(t.Fragment,{children:[t.jsx(AXe,rTe({ref:s,backgroundColor:null==o?void 0:o.backgroundColor,color:null==o?void 0:o.color},{children:t.jsx(IXe,rTe({onClick:function(){return c(!0)},"data-channels-indicator":!0},{children:"+"+n.length}),void 0)}),void 0),u&&t.jsx(LXe,rTe({target:s.current,onDismiss:function(){return c(!1)}},{children:t.jsx($Xe,{children:n.map((function(e){return t.jsx("li",{children:a?t.jsx(mRe,rTe({onClick:function(){return a(e)}},{children:t.jsx(dXe,{channel:e,language:r},void 0)}),void 0):t.jsx(dXe,{channel:e,language:r},void 0)},e.id)}))},void 0)}),void 0)]},void 0)},EXe=y.default.div(mXe||(mXe=uTe(["\n display: flex;\n width: 100%;\n gap: ","px;\n\n &[data-has-more-indicator='true'] {\n [data-channels] {\n flex: 1;\n max-width: calc(100% - 52px);\n }\n }\n\n &[data-has-more-indicator='false'] {\n [data-channels] {\n width: 100%;\n\n > span {\n max-width: fit-content;\n }\n }\n }\n"],["\n display: flex;\n width: 100%;\n gap: ","px;\n\n &[data-has-more-indicator='true'] {\n [data-channels] {\n flex: 1;\n max-width: calc(100% - 52px);\n }\n }\n\n &[data-has-more-indicator='false'] {\n [data-channels] {\n width: 100%;\n\n > span {\n max-width: fit-content;\n }\n }\n }\n"])),6),CXe=y.default.div(gXe||(gXe=uTe(["\n display: flex;\n align-items: center;\n gap: ","px;\n"],["\n display: flex;\n align-items: center;\n gap: ","px;\n"])),6),FXe=y.default(mRe)(vXe||(vXe=uTe(["\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 DXe(e.bubbleCount,e.backgroundColor,e.color)})),TXe=y.default.span(yXe||(yXe=uTe(["\n ","\n"],["\n ","\n"])),(function(e){return DXe(e.bubbleCount,e.backgroundColor,e.color)})),DXe=function(e,t,n){return o.css(bXe||(bXe=uTe(["\n width: fit-content;\n\n ","\n\n ","\n "],["\n width: fit-content;\n\n ","\n\n ","\n "])),e&&"\n max-width: calc(\n (100% - "+6*(e-1)+"px) / "+e+"\n );",sze({backgroundColor:t,color:n}))},AXe=y.default.div(OXe||(OXe=uTe(["\n z-index: 1;\n flex: 0 0 40px;\n\n ","\n"],["\n z-index: 1;\n flex: 0 0 40px;\n\n ","\n"])),(function(e){return sze({backgroundColor:e.backgroundColor,color:e.color,inlinePadding:8})})),IXe=y.default(mRe)(_Xe||(_Xe=uTe(["\n &&& {\n height: auto;\n color: inherit;\n padding: 0;\n }\n"],["\n &&& {\n height: auto;\n color: inherit;\n padding: 0;\n }\n"]))),LXe=y.default(ORe)(wXe||(wXe=uTe(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),6),$Xe=y.default.ul(xXe||(xXe=uTe(["\n margin: 0;\n padding: 0;\n list-style: none;\n"],["\n margin: 0;\n padding: 0;\n list-style: none;\n"]))),zXe=function(e){var n=e.channels,i=e.buildChannelFilterUrl,r=e.language,o=e.channelBackgroundColor,a=e.onClick,s=e.className;return(null==n?void 0:n.length)?t.jsx(JXe,rTe({className:s,"data-channels":n.map((function(e){return e.name})).join(",")},{children:n.map((function(e){var n=t.jsx(eVe,rTe({backgroundColor:o},{children:t.jsx(dXe,{channel:e,language:r},void 0)}),void 0);return t.jsxs("li",{children:[i&&t.jsx(tVe,rTe({"data-channel":!0,to:i(RXe(e)?e.name:e),"data-rounded-outline":!0},{children:n}),void 0),a&&t.jsx(iVe,rTe({"data-rounded-outline":!0,onClick:function(){return a(RXe(e)?e.name:e)}},{children:n}),void 0),!a&&!i&&t.jsx(nVe,{children:n},void 0)]},e.id)}))}),void 0):null};function RXe(e){return null!=e.id}var jXe,MXe,QXe,NXe,UXe,BXe,qXe,GXe,WXe,XXe,VXe,YXe,ZXe,HXe,KXe,JXe=y.default.ul.withConfig({displayName:"ClickableChannelTitles__Host",componentId:"sc-1a7ny18-0"})(jXe||(jXe=uTe(["\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"])),Z7),eVe=y.default.div.withConfig({displayName:"ClickableChannelTitles__ChannelBubble",componentId:"sc-1a7ny18-1"})(MXe||(MXe=uTe(["\n ","\n"],["\n ","\n"])),(function(e){return e.backgroundColor?sze({backgroundColor:e.backgroundColor}):sze()})),tVe=y.default(r.NavLink).withConfig({displayName:"ClickableChannelTitles__ChannelLink",componentId:"sc-1a7ny18-2"})(QXe||(QXe=uTe(["\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),nVe=y.default.span.withConfig({displayName:"ClickableChannelTitles__ChannelBubbleWrapper",componentId:"sc-1a7ny18-3"})(NXe||(NXe=uTe(["\n display: block;\n margin: 2px ","px 2px 0;\n"],["\n display: block;\n margin: 2px ","px 2px 0;\n"])),6),iVe=y.default(mRe).withConfig({displayName:"ClickableChannelTitles__StyledActionButton",componentId:"sc-1a7ny18-4"})(UXe||(UXe=uTe(["\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),rVe=function(e){var n=e.searchText,i=e.onSearchTextChange,r=e.onExecuteSearch,o=e.onSearchIconClick,a=e.onSearchInputFieldVisibilityChanged;return t.jsxs(t.Fragment,{children:[t.jsx(oVe,{children:t.jsx(pGe,{searchText:n,onSearchTextChange:i,onExecuteSearch:r,onSearchInputFieldVisibilityChanged:a,isToolbarMode:!0},void 0)},void 0),t.jsx(aVe,{children:t.jsx(aGe,{iconName:"Search",onClick:o,tooltipResourceKey:"TopBar.search",ariaLabelResourceKey:"TopBar.search"},void 0)},void 0)]},void 0)},oVe=y.default.div.withConfig({displayName:"ToolbarSearch__SearchBoxLargeScreen",componentId:"sc-1f480ry-0"})(BXe||(BXe=uTe(["\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"])),q7),aVe=y.default.div.withConfig({displayName:"ToolbarSearch__SearchIconSmallScreen",componentId:"sc-1f480ry-1"})(qXe||(qXe=uTe(["\n @media (min-width: ","px) {\n display: none;\n }\n"],["\n @media (min-width: ","px) {\n display: none;\n }\n"])),M7),sVe=function(e){var n=e.leftSide,r=e.hideLeftSide,o=e.rightSide,a=e.hideRightSide,s=e.search,l=e.className,u=e.children,c=i.useState(!1),d=c[0],p=c[1];return t.jsxs(lVe,rTe({className:l,"data-content-toolbar":!0},{children:[t.jsxs(dVe,{children:[n&&!r&&t.jsx(uVe,{children:n},void 0),(o||s)&&!a&&t.jsxs(cVe,{children:[s&&t.jsx(rVe,{searchText:s.searchText,onSearchTextChange:s.onSearchTextChange,onExecuteSearch:s.onExecuteSearch,onSearchIconClick:function(){d?h():p(!0)},onSearchInputFieldVisibilityChanged:function(e){return p(e)}},void 0),o]},void 0)]},void 0),u,s&&d&&t.jsx(pVe,{children:t.jsx(sGe,{onClear:h,searchText:s.searchText,onChange:s.onSearchTextChange,onExecuteSearch:s.onExecuteSearch,useLightTheme:!0},void 0)},void 0)]}),void 0);function h(){var e;null===(e=s.onSearchTextChange)||void 0===e||e.call(s,""),p(!1)}},lVe=y.default.div.withConfig({displayName:"Toolbar__Host",componentId:"sc-16ftbxt-0"})(GXe||(GXe=uTe(["\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),uVe=y.default.div.withConfig({displayName:"Toolbar__LeftSide",componentId:"sc-16ftbxt-1"})(WXe||(WXe=uTe(["\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"]))),cVe=y.default.div.withConfig({displayName:"Toolbar__RightSide",componentId:"sc-16ftbxt-2"})(XXe||(XXe=uTe(["\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"]))),dVe=y.default.div.withConfig({displayName:"Toolbar__Row",componentId:"sc-16ftbxt-3"})(VXe||(VXe=uTe(["\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"]))),pVe=y.default.div.withConfig({displayName:"Toolbar__SearchInputRow",componentId:"sc-16ftbxt-4"})(YXe||(YXe=uTe(["\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"])),M7);y.default(sVe).withConfig({displayName:"ChromelessToolbar__StyledToolbar",componentId:"sc-1vovywb-0"})(ZXe||(ZXe=uTe(["\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"])),I7,I7,M7,L7,L7),y.default.p.withConfig({displayName:"PageDescription",componentId:"sc-xcsmz7-0"})(HXe||(HXe=uTe(["\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"})(KXe||(KXe=uTe([""],[""])));var hVe,fVe,mVe,gVe,vVe,yVe,bVe,OVe,_Ve,wVe,xVe,kVe=function(e){var n=e.onEmojiSelected,r=e.disabled,o=i.useRef(null),s=i.useState(!1),l=s[0],u=s[1],c=Wk().formatMessage;return t.jsxs(t.Fragment,{children:[t.jsx(SVe,rTe({ref:o},{children:t.jsx(fze,{"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(PVe,rTe({directionalHint:a.DirectionalHint.topCenter,target:o.current,onDismiss:function(){return u(!1)},isBeakVisible:!1,gapSpace:10,preventDismissOnScroll:!0,styles:{calloutMain:{padding:5}}},{children:t.jsx(CVe,{onSelect:function(e){u(!1),n(e.native)}},void 0)}),void 0)]},void 0)},SVe=y.default.div.withConfig({displayName:"EmojiButton__ButtonWrapper",componentId:"sc-1eq2zlz-0"})(hVe||(hVe=uTe([""],[""]))),PVe=y.default(ORe).withConfig({displayName:"EmojiButton__StyledCallout",componentId:"sc-1eq2zlz-1"})(fVe||(fVe=uTe(["\n border-radius: 10px;\n overflow: hidden;\n"],["\n border-radius: 10px;\n overflow: hidden;\n"]))),EVe=i.lazy((function(){return Promise.resolve().then((function(){return o7i}))})),CVe=function(e){var n=e.onSelect,r=zw();return t.jsx(i.Suspense,rTe({fallback:t.jsx(FVe,rTe({isSmaller:r.width<j7},{children:t.jsx(vje,{},void 0)}),void 0)},{children:t.jsx(EVe,{onSelect:n},void 0)}),void 0)},FVe=y.default.div.withConfig({displayName:"EmojiButton__EmojiPickerSuspenseHost",componentId:"sc-1eq2zlz-2"})(mVe||(mVe=uTe(["\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})),TVe=function(){var e=Dm();return t.jsx(DVe,{children:t.jsx("a",rTe({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)},DVe=y.default.div(gVe||(gVe=uTe(["\n text-align: right;\n margin-top: ","px;\n"],["\n text-align: right;\n margin-top: ","px;\n"])),6),AVe=function(e){var n,r,o=e.onGifClick,s=e.className,l=Gm(),u=Wk().formatMessage,c=new tue.GiphyFetch(l.giphy.apiKey),d=i.useState(null),p=d[0],h=d[1],f=ewe(p,500)[0],m=zw(),g=$w((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(IVe,rTe({className:s},{children:[t.jsx(a.SearchBox,{placeholder:u({id:"Gif.searchPlaceHolder"}),iconProps:{iconName:"Search"},onChange:function(e,t){return h(t)},autoFocus:!0},void 0),t.jsxs(LVe,rTe({columnWidth:b,"data-gif-grid":!0},{children:[y&&t.jsx(vje,{delay:300},void 0),0===(null===(n=null==v?void 0:v.data)||void 0===n?void 0:n.length)&&t.jsx(pS,{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($Ve,{gif:e,width:b,height:b,noLink:!0,hideAttribution:!0,onGifClick:o},e.id)}))]}),void 0)]}),void 0)},IVe=y.default.div.withConfig({displayName:"GifSelector__Host",componentId:"sc-lame6k-0"})(vVe||(vVe=uTe(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),6),LVe=y.default.div.withConfig({displayName:"GifSelector__GifContainer",componentId:"sc-lame6k-1"})(yVe||(yVe=uTe(["\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"])),I7,(function(e){return e.columnWidth}),6),$Ve=y.default(Uoe.Gif).withConfig({displayName:"GifSelector__ClickableGif",componentId:"sc-lame6k-2"})(bVe||(bVe=uTe(["\n cursor: pointer;\n"],["\n cursor: pointer;\n"]))),zVe=function(e){var n=e.target,i=e.onGifClick,r=e.onDismiss;return t.jsxs(RVe,rTe({directionalHint:a.DirectionalHint.topCenter,target:n,onDismiss:r,isBeakVisible:!1,gapSpace:10,preventDismissOnResize:!0,preventDismissOnScroll:!0,styles:{calloutMain:{padding:5}}},{children:[t.jsx(jVe,{onGifClick:i},void 0),t.jsx(TVe,{},void 0)]}),void 0)},RVe=y.default(ORe)(OVe||(OVe=uTe(["\n border-radius: 10px;\n overflow: hidden;\n width: 360px;\n"],["\n border-radius: 10px;\n overflow: hidden;\n width: 360px;\n"]))),jVe=y.default(AVe)(_Ve||(_Ve=uTe(["\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"])));o.createGlobalStyle(wVe||(wVe=uTe(["\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"])),B7),y.default(AVe).withConfig({displayName:"GifSelectorDialog__StyledDialogGifSelector",componentId:"sc-t6p48w-0"})(xVe||(xVe=uTe(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),I7);var MVe,QVe,NVe,UVe,BVe,qVe,GVe=function(e){var n=e.disabled,r=e.onGifClick,o=g5(),a=Wk().formatMessage,s=i.useRef(),l=i.useState(!1),u=l[0],c=l[1];return o.giphy?t.jsxs("div",{children:[t.jsx("div",rTe({ref:s},{children:t.jsx(fze,{iconProps:{iconName:"Gif"},onClick:function(){return c(!0)},disabled:n,"data-button-type":"gif",ariaLabel:a({id:"AriaLabel.gifButton"})},void 0)}),void 0),u&&t.jsx(t.Fragment,{children:t.jsx(zVe,{target:s.current,onGifClick:function(e){c(!1),r({id:e.id.toString(),filename:e.title,url:e.embed_url,type:U5.Giphy})},onDismiss:function(){return c(!1)}},void 0)},void 0)]},void 0):null},WVe=function(e){var n=e.gifInfo,r=e.className,o=Gm(),a=i.useState(),s=a[0],l=a[1];return i.useEffect((function(){new tue.GiphyFetch(o.giphy.apiKey).gif(n.id).then((function(e){return l(e.data)}))}),[o.giphy.apiKey,n.id]),s?t.jsx(XVe,rTe({className:r},{children:t.jsx(VVe,{gif:s,width:300,noLink:!0,hideAttribution:!0},void 0)}),void 0):null},XVe=y.default.div(MVe||(MVe=uTe([""],[""]))),VVe=y.default(Uoe.Gif)(QVe||(QVe=uTe(["\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"])),B7),YVe=function(e){var n=e.attachments,i=e.onDeleteClick,r=e.className,o=Wk().formatMessage,a=n.filter((function(e){return e.type===U5.Giphy}));return 0===a.length?null:t.jsx(ZVe,rTe({className:r,"data-gif-attachment-list":!0},{children:a.map((function(e){return t.jsx(HVe,rTe({domIdentifier:"gif",deleteButton:t.jsx(iXe,{"data-remove-attachment-button":e.id,iconProps:{iconName:"ChromeClose"},onClick:function(){return i(e)},ariaLabel:o({id:"AriaLabel.removeAttachmentButton"})},void 0)},{children:t.jsx(WVe,{gifInfo:e},void 0)}),e.id)}))}),void 0)},ZVe=y.default.div.withConfig({displayName:"GifEditList__Host",componentId:"sc-95dldh-0"})(NVe||(NVe=uTe(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"],["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"]))),HVe=y.default(dRe).withConfig({displayName:"GifEditList__StyledAttachmentHost",componentId:"sc-95dldh-1"})(UVe||(UVe=uTe(["\n width: auto;\n"],["\n width: auto;\n"]))),KVe=function(e){var n=e.attachments,i=e.className,r=n.filter((function(e){return e.type===U5.Giphy}));return 0===r.length?null:t.jsx(JVe,rTe({className:i,"data-gif-url-preview":r[0].id},{children:t.jsx(eYe,{children:t.jsx(WVe,{gifInfo:r[0]},void 0)},void 0)}),void 0)},JVe=y.default.div.withConfig({displayName:"GifList__Host",componentId:"sc-8gg7fj-0"})(BVe||(BVe=uTe(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"],["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"]))),eYe=y.default(dRe).withConfig({displayName:"GifList__StyledAttachmentHost",componentId:"sc-8gg7fj-1"})(qVe||(qVe=uTe(["\n width: auto;\n margin: ","px 0 0 0;\n"],["\n width: auto;\n margin: ","px 0 0 0;\n"])),I7);var tYe,nYe,iYe,rYe=function(e){var n,r,o=i.useRef(null),s=i.useState(!1),l=s[0],u=s[1];return t.jsxs(oYe,rTe({className:e.className},((n={})[e.dataAttribute]=!0,n),{ref:o},{children:[t.jsx(aYe,{"data-icon-with-callout":!0,iconProps:{iconName:e.icon},onClick:function(){return aTe(this,void 0,void 0,(function(){var t,n;return sTe(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(sYe,rTe({className:"icon-with-callout-content",target:o,directionalHint:null==e.directionalHint?a.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)},oYe=y.default.div.withConfig({displayName:"IconWithCallout__Host",componentId:"sc-1jmscz2-0"})(tYe||(tYe=uTe(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),aYe=y.default(fze).withConfig({displayName:"IconWithCallout__StyledIconButton",componentId:"sc-1jmscz2-1"})(nYe||(nYe=uTe(["\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"]))),sYe=y.default(ORe).withConfig({displayName:"IconWithCallout__StyledCallout",componentId:"sc-1jmscz2-2"})(iYe||(iYe=uTe(["\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"]))),lYe="video-view-container";function uYe(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 cYe=["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 dYe(e,t){return pYe(t)||pYe(null==e?void 0:e.preferredLocale)||pYe(function(){try{return Intl.DateTimeFormat().resolvedOptions().locale}catch(e){return null}}())||pYe(null==e?void 0:e.preferredUiLanguage)||pYe(navigator.language)||"en"}function pYe(e){return e?("en-us"===(e=e.toLocaleLowerCase())&&(e="en"),cYe.find((function(t){return t===e}))):null}var hYe,fYe,mYe,gYe,vYe,yYe,bYe,OYe,_Ye,wYe=function(e){var n=e.onNextClick,r=e.onPrevClick,o=e.onFirstClick,a=e.hidePrevButton,s=e.hideNextButton,l=e.isLoadingNextPage,u=e.className,c=Wk().formatMessage,d=i.useContext(Qie).theme.palette;return s&&a?null:t.jsxs(xYe,rTe({className:u},{children:[t.jsx(aze,rTe({resourceKey:"Lib.paging.goToFirstPage"},{children:t.jsx(SYe,{ariaLabel:c({id:"Generic.first.page.button.text"}),iconProps:{iconName:"ChevronLeftEnd6"},isHidden:a,onClick:o,color:d.accent,"data-horizontal-pager-first-page-button":!0},void 0)}),void 0),t.jsx(PYe,{iconProps:{iconName:"ChevronLeftSmall"},text:c({id:"Generic.previous.page.button.text"}),isHidden:a,onClick:r,color:d.accent,"data-horizontal-pager-back-button":!0},void 0),t.jsx(EYe,{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)},xYe=y.default.div.withConfig({displayName:"HorizontalPager__Host",componentId:"sc-1b5ja54-0"})(hYe||(hYe=uTe(["\n display: flex;\n justify-content: center;\n margin-top: ","px;\n"],["\n display: flex;\n justify-content: center;\n margin-top: ","px;\n"])),L7),kYe=y.default(mRe).withConfig({displayName:"HorizontalPager__StyledActionButton",componentId:"sc-1b5ja54-1"})(mYe||(mYe=uTe(["\n font-weight: bold;\n\n ","\n"],["\n font-weight: bold;\n\n ","\n"])),(function(e){return e.isHidden&&o.css(fYe||(fYe=uTe(["\n visibility: hidden;\n "],["\n visibility: hidden;\n "])))})),SYe=y.default(kYe).withConfig({displayName:"HorizontalPager__FirstPageButton",componentId:"sc-1b5ja54-2"})(gYe||(gYe=uTe([""],[""]))),PYe=y.default(kYe).withConfig({displayName:"HorizontalPager__BackButton",componentId:"sc-1b5ja54-3"})(vYe||(vYe=uTe([""],[""]))),EYe=y.default(kYe).withConfig({displayName:"HorizontalPager__MoreButton",componentId:"sc-1b5ja54-4"})(yYe||(yYe=uTe(["\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"})(bYe||(bYe=uTe(["\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"})(OYe||(OYe=uTe(["\n margin: ","px 0;\n\n > * {\n margin: 0;\n }\n"],["\n margin: ","px 0;\n\n > * {\n margin: 0;\n }\n"])),R7),y.default.div.withConfig({displayName:"PaginationStatus__LoadStatusPlaceholder",componentId:"sc-ykj2ti-2"})(_Ye||(_Ye=uTe(["\n height: ","px;\n"],["\n height: ","px;\n"])),L7);var CYe=STe,FYe=Array.isArray||function(e){return"Array"==CYe(e)},TYe=FYe,DYe=pAe,AYe=Dje,IYe=function(e,t,n,i,r,o,a,s){for(var l,u=r,c=0,d=!!a&&AYe(a,s,3);c<i;){if(c in n){if(l=d?d(n[c],c,t):n[c],o>0&&TYe(l))u=IYe(e,t,l,DYe(l.length),u,o-1)-1;else{if(u>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[u]=l}u++}c++}return u},LYe=IYe,$Ye=ITe,zYe=FYe,RYe=VIe("species"),jYe=LYe,MYe=nIe,QYe=pAe,NYe=eIe,UYe=function(e,t){var n;return zYe(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!zYe(n.prototype)?$Ye(n)&&null===(n=n[RYe])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)};function BYe(e,t,n){var r=function(e){var t=i.useState(0),n=t[0],r=t[1],o=i.useState({pages:{},paginationToken:null,hasNextPage:!0}),a=o[0],s=o[1];return{state:a,setInitialPages:function(e,t,n){s({pages:{0:lTe([],e||[])},paginationToken:t,hasNextPage:n})},updatePageItems:function(e,t,n,i){s((function(r){var o;return{pages:iwe(r.pages,(o={},o[e]={$set:t},o)),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=rTe({},n.pages),r=Object.keys(i).length,o=0;o<r;){var a=Object.keys(i)[o++],s=i[a];if(s.find((function(t){return t.id===e}))){i[a]=s.map((function(n){return n.id===e?t:n}));break}}return rTe(rTe({},n),{pages:i})}))},insertToTheFront:function(t){for(var i,o,l=lTe([t],(null===(i=a.pages)||void 0===i?void 0:i[0])||[]),u=rTe(rTe({},a.pages),{0:l}),c=Object.keys(u).length,d=0;d<c;){var p=0===d,h=Object.keys(u)[d],f=u[h].length;if(p&&f>e&&f<=2*e){n<2*e&&r(n+e);break}if(f<=e)break;var m=u[h].pop(),g=null!==(o=Object.keys(u)[d+1])&&void 0!==o?o:p?2*e:+h+e,v=u[g];if(!v){a.hasNextPage||(u[g]=[m],r(n+e));break}v.unshift(m),d++}s(rTe(rTe({},a),{pages:u}))},deleteItem:function(t){for(var i=rTe({},a.pages),o=Object.keys(i).length,l=0;l<o;){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<o;){if(!i[u=Object.keys(i)[l++]].length&&l===o){delete i[u],c=!0;break}var d=Object.keys(i)[l],p=d?i[d]:null;if(!p)break;var h=p.shift();i[u].push(h)}s(rTe(rTe({},a),{pages:i}));var f=(c||i[0].length===e)&&n>e;return f&&r(n-e),f}}}(e),o=r.state,a=r.setInitialPages,s=r.updatePageItems,l=r.lastFetchedPageIndex,u=r.updateLastFetchedPageIndex,c=r.updateItem,d=r.insertToTheFront,p=r.deleteItem,h=i.useState(0),f=h[0],m=h[1],g=i.useState(!0),v=g[0],y=g[1],b=i.useState(!1),O=b[0],_=b[1],w=i.useState(null),x=w[0],k=w[1];i.useEffect((function(){P()}),lTe([e],n||[]));var S=Object.keys(o.pages).flatMap((function(e){return o.pages[e]})).slice(f-e,f);return{items:S,isInitialLoading:v,isLoadingNextPage:O,error:x,getFirstPage:function(){return m(e)},getPrevPage:function(){return m(f-e)},getNextPage:function(){return aTe(this,void 0,void 0,(function(){return sTe(this,(function(t){switch(t.label){case 0:return m(f+e),o.hasNextPage&&f===l-e?[4,E(o.paginationToken)]:[3,2];case 1:t.sent(),u(),t.label=2;case 2:return[2]}}))}))},isFirstPage:f===e,isLastPage:f===l&&!o.hasNextPage,isEmpty:!v&&0===(null==S?void 0:S.length),insertToTheFront:d,updateItem:c,onBeforeDeleteItem:function(t){var n=p(t);!o.hasNextPage&&n&&f>=l&&f>0&&m(f-e);_(!0)},onAfterDeleteItem:function(){return aTe(this,void 0,void 0,(function(){return sTe(this,(function(t){switch(t.label){case 0:return o.hasNextPage?o.paginationToken!==2*e?[3,2]:[4,P()]:[3,4];case 1:return t.sent(),[3,4];case 2:return[4,E(+o.paginationToken-e)];case 3:t.sent(),u(),t.label=4;case 4:return _(!1),[2]}}))}))}};function P(){return aTe(this,void 0,void 0,(function(){var n,i;return sTe(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(),a(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),k(i),[3,4];case 3:return y(!1),[7];case 4:return[2]}}))}))}function E(n){return aTe(this,void 0,void 0,(function(){var i,r;return sTe(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,3,4]),_(!0),[4,t(e,n)];case 1:return i=o.sent(),s(n,i.items,i.paginationToken,i.hasNextPage),[3,4];case 2:return r=o.sent(),ng.error(r),k(x),[3,4];case 3:return _(!1),[7];case 4:return[2]}}))}))}}JAe({target:"Array",proto:!0},{flatMap:function(e){var t,n=MYe(this),i=QYe(n.length);return NYe(e),(t=UYe(n,0)).length=jYe(t,n,n,i,0,1,e,arguments.length>1?arguments[1]:void 0),t}}),TLe("flatMap");var qYe,GYe,WYe,XYe,VYe,YYe,ZYe,HYe=function(e){var n=e.onNextClick,r=e.onPrevClick,o=e.hidePagination,a=e.disablePrevButton,s=e.disableNextButton,l=e.children,u=e.className,c=i.useContext(Qie).theme.palette,d=Wk().formatMessage;return o?t.jsx(t.Fragment,{children:l},void 0):t.jsxs(KYe,rTe({className:u},{children:[t.jsx(eZe,{disabled:a,onClick:r,iconProps:{iconName:"ChevronUpSmall"},color:c.accent,ariaLabel:d({id:"Lib.paging.previous"})},void 0),t.jsx(nZe,{children:l},void 0),t.jsx(tZe,{disabled:s,onClick:n,iconProps:{iconName:"ChevronDownSmall"},color:c.accent,ariaLabel:d({id:"Lib.paging.next"})},void 0)]}),void 0)},KYe=y.default.div.withConfig({displayName:"VerticalPager__Host",componentId:"sc-76hdpk-0"})(qYe||(qYe=uTe(["\n display: flex;\n flex-direction: column;\n width: 100%;\n"],["\n display: flex;\n flex-direction: column;\n width: 100%;\n"]))),JYe=y.default(fze).withConfig({displayName:"VerticalPager__StyledIconButton",componentId:"sc-76hdpk-1"})(GYe||(GYe=uTe(["\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"])),$ie),eZe=y.default(JYe).withConfig({displayName:"VerticalPager__TopButton",componentId:"sc-76hdpk-2"})(WYe||(WYe=uTe(["\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})),tZe=y.default(JYe).withConfig({displayName:"VerticalPager__BottomButton",componentId:"sc-76hdpk-3"})(XYe||(XYe=uTe(["\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})),nZe=y.default.div.withConfig({displayName:"VerticalPager__Inner",componentId:"sc-76hdpk-4"})(VYe||(VYe=uTe(["\n margin: ","px ","px;\n"],["\n margin: ","px ","px;\n"])),L7,15),iZe=i.createContext(null);y.default.div.withConfig({displayName:"PullToRefresh__Host",componentId:"sc-1wloq17-0"})(YYe||(YYe=uTe(["\n width: 100%;\n"],["\n width: 100%;\n"]))),y.default.div.withConfig({displayName:"PullToRefresh__Inner",componentId:"sc-1wloq17-1"})(ZYe||(ZYe=uTe(["\n display: contents;\n"],["\n display: contents;\n"])));var rZe,oZe,aZe,sZe,lZe,uZe,cZe,dZe,pZe,hZe=o.css(rZe||(rZe=uTe(["\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"]))),fZe=o.css(oZe||(oZe=uTe(["\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"])),hZe,M7,L7),mZe=o.css(aZe||(aZe=uTe(["\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})),gZe=o.css(sZe||(sZe=uTe(["\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"])),q7),vZe="AllChannels",yZe=o.createGlobalStyle(lZe||(lZe=uTe(["\n ","\n"],["\n ","\n"])),gZe),bZe=y.default(XRe).withConfig({displayName:"ToolbarChannelSelector__StyledDropdown",componentId:"sc-fwvaya-0"})(uZe||(uZe=uTe(["\n ","\n display: flex;\n align-items: center;\n"],["\n ","\n display: flex;\n align-items: center;\n"])),fZe),OZe=y.default(r.NavLink).withConfig({displayName:"ToolbarChannelSelector__DropdownNavLink",componentId:"sc-fwvaya-1"})(cZe||(cZe=uTe(["\n ","\n"],["\n ","\n"])),mZe),_Ze=y.default.span.withConfig({displayName:"ToolbarChannelSelector__OptionSpan",componentId:"sc-fwvaya-2"})(dZe||(dZe=uTe(["\n ",";\n"],["\n ",";\n"])),mZe),wZe=function(e){var n=e.handler,i=e.disabled;return g5().unreadTracking?t.jsx(aGe,{tooltipResourceKey:"Generic.UnreadItems.markAllAsRead",onClick:n,iconName:"Read",disabled:i,ariaLabelResourceKey:"Generic.UnreadItems.markAllAsRead","data-clear-unread-items":!0},void 0):null},xZe=function(e){var n=e.onClick,i=e.to,r=e.disabled;return t.jsx(aGe,{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,(pZe=e.EventView||(e.EventView={})).UpcomingEvents="upcoming",pZe.MyBookedEvents="booked",pZe.PastEvents="past";var kZe,SZe,PZe,EZe,CZe=o.createGlobalStyle(kZe||(kZe=uTe(["\n ","\n"],["\n ","\n"])),gZe),FZe=y.default(XRe).withConfig({displayName:"ToolbarEventViewSelector__StyledDropdown",componentId:"sc-ft0a2d-0"})(SZe||(SZe=uTe(["\n ","\n display: flex;\n align-items: center;\n"],["\n ","\n display: flex;\n align-items: center;\n"])),fZe),TZe=y.default.span.withConfig({displayName:"ToolbarEventViewSelector__OptionSpan",componentId:"sc-ft0a2d-1"})(PZe||(PZe=uTe(["\n ",";\n"],["\n ",";\n"])),mZe);function DZe(){var e=rB(),t=e.createApiUrl,n=e.fetchFromApi,r=i.useContext(Nw).onRequestToken;return i.useMemo((function(){return{uploadImage:function(e,t,i,o,a){return aTe(this,void 0,void 0,(function(){var s,l;return sTe(this,(function(u){switch(u.label){case 0:return(s=new FormData).append("image",a,a.name||"image."+cG.getExtension(a.type)),[4,r()];case 1:return l=u.sent(),[2,n(e+"/attachments/"+o+"/images/"+i,{method:"POST",body:s,headers:{authorization:"Bearer "+l,"subscription-id":t}})]}}))}))},uploadFile:function(e,t,i,o,a){return aTe(this,void 0,void 0,(function(){var s,l;return sTe(this,(function(u){switch(u.label){case 0:return(s=new FormData).append("file",a),[4,r()];case 1:return l=u.sent(),[2,n(e+"/attachments/"+o+"/files/"+i,{method:"POST",body:s,headers:{authorization:"Bearer "+l,"subscription-id":t}})]}}))}))},getFileUrl:function(e,n,i,r,o){if(null!=o||(o=i.fileAccessToken),!o)return null;return t(e+"/attachments/"+i.attachmentContainerId+"/files/"+r,{subscriptionId:n,access_token:o})},getImageUrl:function(t,n,i,r,o,a){return e(t,n,i.fileAccessToken,i.attachmentContainerId,r,o,a)},getChatMessageImageUrl:function(t,n,i,r,o,a){return e(t,n,i.fileAccessToken,i.attachmentContainerId,r,o,a)}};function e(e,n,i,r,o,a,s){return t(null==a?e+"/attachments/"+r+"/images/"+o:"default"===a?e+"/attachments/"+r+"/images/"+o+"/default":e+"/attachments/"+r+"/images/"+o+"/"+a+"/"+(s||""),{subscriptionId:n,access_token:i})}}),[r,n,t])}function AZe(){var e=oB();return i.useMemo((function(){var t=null;return{getAllLanguages:n,getAllLanguagesLocalized:function(e){return aTe(this,void 0,void 0,(function(){var t;return sTe(this,(function(i){switch(i.label){case 0:return[4,n()];case 1:return t=i.sent(),[2,F9.apply(void 0,lTe([e],t))]}}))}))},resolveActiveLanguages:function(e){return aTe(this,void 0,void 0,(function(){return sTe(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 aTe(this,void 0,void 0,(function(){var t;return sTe(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 IZe(){var e=rB().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])}o.createGlobalStyle(EZe||(EZe=uTe(["\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 LZe,$Ze,zZe,RZe,jZe,MZe,QZe,NZe,UZe,BZe,qZe,GZe,WZe,XZe=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}(),VZe=function(e){var n=g5(),r=i.useState(null),o=r[0],a=r[1],s=a9().getUserAvatarUrl;if(bre(XZe.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(YZe,rTe({},e,{"data-avatar":!0,text:e.text,imageUrl:o,imageShouldFadeIn:!1,imageInitials:l,initialsColor:Ew(l),secondaryText:!e.forceShowSecondaryText&&N5(e.secondaryText)?null:e.secondaryText}),void 0);function u(e,t){return null==e?(a(null),null):s(e,t).subscribe((function(e){a(e)}),(function(e){return console.log(e)}))}},YZe=y.default(a.Persona).withConfig({displayName:"Avatar__StyledPersona",componentId:"sc-1r8d14y-0"})(LZe||(LZe=uTe(["\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"]))),ZZe=function(e){var n=e.className,i=e.iconName,r=e.tooltipResourceKey,o=e.tooltipText,a=e.children;return a?t.jsxs(KZe,rTe({className:n},{children:[i&&t.jsx(aze,rTe({resourceKey:r,text:o},{children:t.jsx(HZe,{iconName:i},"icon")}),void 0),a]}),void 0):null},HZe=y.default(a.Icon).withConfig({displayName:"UserPropertyWrapper__StyledIcon",componentId:"sc-yfrgje-0"})($Ze||($Ze=uTe(["\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"]))),KZe=y.default.div.withConfig({displayName:"UserPropertyWrapper__PropertyContainer",componentId:"sc-yfrgje-1"})(zZe||(zZe=uTe(["\n display: flex;\n max-width: 100%;\n"],["\n display: flex;\n max-width: 100%;\n"]))),JZe=function(e){var n=e.email;return N5(n)?null:t.jsx(ZZe,rTe({iconName:"mail",tooltipResourceKey:"Generic.mail"},{children:t.jsx(sHe,rTe({href:"mailto:"+n},{children:n}),void 0)}),void 0)},eHe=function(e){var n=e.value,i=Wk().formatMessage;return null==n?null:t.jsx(ZZe,rTe({iconName:"cellPhone",tooltipResourceKey:"Generic.mobilePhone"},{children:t.jsx(sHe,rTe({href:"tel:"+n},{children:i({id:"Generic.callMobile"},{number:n})}),void 0)}),void 0)},tHe=function(e){var n=e.value,i=Wk().formatMessage;return null==n?null:(n="string"==typeof n?[n]:n,t.jsx(t.Fragment,{children:n.map((function(e,n){return t.jsx(ZZe,rTe({iconName:"phone",tooltipResourceKey:"Generic.businessPhone"},{children:t.jsx(sHe,rTe({href:"tel:"+e},{children:i({id:"Generic.callOffice"},{number:e})}),void 0)}),e+n)}))},void 0))},nHe=function(e){var n=e.value,i=e.tooltipResourceKey,r=g5();return null==n?null:t.jsx(ZZe,rTe({iconName:"MapPin",tooltipResourceKey:i||"Generic.Location"},{children:r.userLocationLookup?t.jsx(sHe,rTe({target:"_blank",rel:"noopener noreferrer",href:kWe(n)},{children:n}),void 0):t.jsx(t.Fragment,{children:n},void 0)}),void 0)},iHe=function(e){var n=e.value;return null==n?null:t.jsx(ZZe,rTe({iconName:"workforceManagement",tooltipResourceKey:"Generic.department"},{children:n}),void 0)},rHe=function(e){var n=e.value;return null==n?null:t.jsx(ZZe,rTe({iconName:"contactCard",tooltipResourceKey:"Generic.jobTitle"},{children:n}),void 0)},oHe=function(e){var n=e.value,i=dne().buildPath,r=g5();if(!(null==n?void 0:n.userId)||!r.chat)return null;var o={id:n.userId,displayName:n.displayName,userPrincipalName:n.userPrincipalName};return t.jsx(ZZe,rTe({iconName:"Chat",tooltipResourceKey:"Generic.sendChatMessage"},{children:t.jsx(lHe,rTe({to:i("chats/new")+"?"+Wm.stringify({userId:o.id,userDisplayName:o.displayName,userPrincipalName:o.userPrincipalName})},{children:t.jsx(pS,{id:"Generic.sendChatMessage"},void 0)}),void 0)}),void 0)},aHe=o.css(RZe||(RZe=uTe(["\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})),sHe=y.default.a.withConfig({displayName:"UserProperties__StyledAnchor",componentId:"sc-1aw5jcq-0"})(jZe||(jZe=uTe(["\n ","\n"],["\n ","\n"])),aHe),lHe=y.default(r.Link).withConfig({displayName:"UserProperties__StyledLink",componentId:"sc-1aw5jcq-1"})(MZe||(MZe=uTe(["\n ","\n"],["\n ","\n"])),aHe),uHe={mobilePhone:eHe,department:iHe,address:nHe},cHe=function(e){var n=e.className,r=e.value,o=e.definition,a=function(){var e=m5(),t=Wk().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),o=i.translations||{},a=Object.keys(n);return r&&o[r]||o[e.subscription.defaultLanguage]||i.label||a.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=a.getPropertyLabel,l=a.getPropertyIcon;if(null==r)return null;var u=s(o),c=l(o),d=uHe[o.name];return d?i.createElement(d,{value:r}):t.jsx(ZZe,rTe({iconName:c,tooltipText:u,className:n},{children:r}),void 0)},dHe=function(e){var n,i,r,o,a,s=e.user,l=e.ignoredProperties,u=void 0===l?[]:l;return t.jsxs(t.Fragment,{children:[!u.includes("department")&&t.jsx(iHe,{value:null===(n=s.properties)||void 0===n?void 0:n.department},void 0),!u.includes("jobTitle")&&t.jsx(rHe,{value:null===(i=s.properties)||void 0===i?void 0:i.jobTitle},void 0),!u.includes("mobilePhone")&&t.jsx(eHe,{value:null===(r=s.properties)||void 0===r?void 0:r.mobilePhone},void 0),!u.includes("businessPhones")&&t.jsx(tHe,{value:null===(o=s.properties)||void 0===o?void 0:o.businessPhones},void 0),!u.includes("chatMessage")&&t.jsx(oHe,{value:s},void 0),!u.includes("officeLocation")&&t.jsx(nHe,{value:null===(a=s.properties)||void 0===a?void 0:a.officeLocation},void 0)]},void 0)},pHe=function(e){var n=e.user,i=e.ignoredProperties,r=void 0===i?[]:i,o=m5();return t.jsxs(t.Fragment,{children:[!r.includes("chatMessage")&&t.jsx(oHe,{value:n},void 0),o.subscription.userPropertyDefinitions.filter((function(e){return!r.includes(e.name)})).map((function(e){var i;return t.jsx(cHe,{definition:e,value:null===(i=n.properties)||void 0===i?void 0:i[e.name]},e.name)}))]},void 0)},hHe=["displayName","department","jobTitle"],fHe=function(e){var n,i=e.upn,r=e.showAvatar,o=e.id,s=a9(),l=s.getUserInfo,u=s.getUserInfoById,c=$w((function(){return i?l(i):u(o)}),null,[i,o]),d=c[0],p=c[1];if(c[2])return t.jsx(mHe,{children:i?t.jsx(pS,{id:"Profile.CannotLoadInfo",values:{upn:i}},void 0):t.jsx(pS,{id:"Profile.CannotLoadInfoByUserId"},void 0)},void 0);if(p)return t.jsx(yHe,{},void 0);var h=r?hHe:[];return t.jsxs(gHe,rTe({"data-user-details":!0},{children:[r&&t.jsx(VZe,{upn:d.userPrincipalName,size:a.PersonaSize.large,text:d.displayName||d.userPrincipalName,secondaryText:d.properties&&d.properties.department,tertiaryText:d.properties&&d.properties.jobTitle},void 0),t.jsxs(vHe,{children:[t.jsx(JZe,{email:null!==(n=d.mail)&&void 0!==n?n:d.userPrincipalName},void 0),d.isDirectoryUser?t.jsx(dHe,{user:d,ignoredProperties:h},void 0):t.jsx(pHe,{user:d,ignoredProperties:h},void 0)]},void 0)]}),void 0)},mHe=y.default.div.withConfig({displayName:"UserDetails__ErrorContainer",componentId:"sc-uqfudb-0"})(QZe||(QZe=uTe(["\n padding: 20px;\n"],["\n padding: 20px;\n"]))),gHe=y.default.div.withConfig({displayName:"UserDetails__Host",componentId:"sc-uqfudb-1"})(NZe||(NZe=uTe(["\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"])),Z7),vHe=y.default.div.withConfig({displayName:"UserDetails__ContactCard",componentId:"sc-uqfudb-2"})(UZe||(UZe=uTe(["\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"])),I7),yHe=y.default(vje).withConfig({displayName:"UserDetails__StyledSpinner",componentId:"sc-uqfudb-3"})(BZe||(BZe=uTe(["\n padding: 20px 80px;\n"],["\n padding: 20px 80px;\n"]))),bHe=function(e){var n=e.upn,r=e.className,o=e.children,s=e.readOnly,l=e.domIdentifier,u=i.useRef(null),c=m5(),d=i.useState(!1),p=d[0],h=d[1];return s?t.jsx(_He,rTe({className:r},{children:o}),void 0):t.jsxs(t.Fragment,{children:[t.jsx(_He,rTe({ref:u,className:r},{children:t.jsx(wHe,rTe({"data-persona-button":l,"data-rounded-outline":"avatar"===l&&50,className:"persona-card-children",onClick:function(e){e.preventDefault(),h(!p)},ariaLabel:n},{children:o}),"children")}),void 0),p&&!c.isPublicUser&&t.jsx(ORe,rTe({className:"persona-card-callout",directionalHint:a.DirectionalHint.bottomCenter,isBeakVisible:!0,onDismiss:function(){return h(!1)},target:u.current},{children:t.jsx(OHe,{children:t.jsx(fHe,{upn:n,showAvatar:!0},void 0)},void 0)}),"callout")]},void 0)},OHe=y.default.div.withConfig({displayName:"PersonaCard__CalloutHost",componentId:"sc-g7cgoc-0"})(qZe||(qZe=uTe(["\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,L7,M7),_He=y.default.div.withConfig({displayName:"PersonaCard__Label",componentId:"sc-g7cgoc-1"})(GZe||(GZe=uTe(["\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"]))),wHe=y.default(a.ActionButton).withConfig({displayName:"PersonaCard__StyledButton",componentId:"sc-g7cgoc-2"})(WZe||(WZe=uTe(["\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 xHe(){return xHe=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},xHe.apply(this,arguments)}var kHe=function(e){return m.createElement("svg",xHe({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 SHe(){return SHe=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},SHe.apply(this,arguments)}var PHe=function(e){return m.createElement("svg",SHe({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 EHe(){return EHe=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},EHe.apply(this,arguments)}var CHe,FHe,THe,DHe,AHe,IHe,LHe=function(e){return m.createElement("svg",EHe({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"}}))},$He=function(e){var n=e.info,i="number"==typeof n;return t.jsx(zHe,rTe({isNumber:i,"data-badge-info":n},{children:t.jsx(RHe,rTe({isNumber:i},{children:"number"==typeof n&&n}),void 0)}),void 0)},zHe=y.default.div.withConfig({displayName:"MenuItemBadge__Host",componentId:"sc-1x1dhyf-0"})(THe||(THe=uTe(["\n display: flex;\n justify-content: center;\n ","\n"],["\n display: flex;\n justify-content: center;\n ","\n"])),(function(e){return e.isNumber?o.css(CHe||(CHe=uTe(["\n min-width: 22px; /* badge min-width */\n "],["\n min-width: 22px; /* badge min-width */\n "]))):o.css(FHe||(FHe=uTe(["\n width: 22px;\n "],["\n width: 22px;\n "])))})),RHe=y.default.div.withConfig({displayName:"MenuItemBadge__Badge",componentId:"sc-1x1dhyf-1"})(AHe||(AHe=uTe(["\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 o.css(DHe||(DHe=uTe(["\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,H7)}));function jHe(){return jHe=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},jHe.apply(this,arguments)}var MHe,QHe=function(e){return m.createElement("svg",jHe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048"},e),IHe||(IHe=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 NHe(n){return t.jsx(VHe,rTe({"data-page-alert":!0},{children:t.jsxs(YHe,{children:[n.errorType&&t.jsx(ZHe,rTe({onClick:n.onClick},{children:n.errorType===e.ErrorType.LoginError?t.jsx(PHe,{},void 0):n.errorType===e.ErrorType.GenericError?t.jsx(kHe,{},void 0):n.errorType===e.ErrorType.Error403?t.jsx(LHe,{},void 0):t.jsx(rqe,{},void 0)}),void 0),t.jsx(HHe,{children:n.alertText},void 0),t.jsx(KHe,{children:n.children},void 0)]},void 0)}),void 0)}e.ErrorType=void 0,(MHe=e.ErrorType||(e.ErrorType={})).GenericError="genericError",MHe.Error404="error404",MHe.Error403="error403",MHe.LoginError="loginError";var UHe,BHe,qHe,GHe,WHe,XHe,VHe=y.default.div.withConfig({displayName:"PageAlert__Host",componentId:"sc-gj7gx6-0"})(UHe||(UHe=uTe(["\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})),YHe=y.default.div.withConfig({displayName:"PageAlert__Content",componentId:"sc-gj7gx6-1"})(BHe||(BHe=uTe(["\n padding: 30px;\n text-align: center;\n"],["\n padding: 30px;\n text-align: center;\n"]))),ZHe=y.default.div.withConfig({displayName:"PageAlert__SvgContainer",componentId:"sc-gj7gx6-2"})(qHe||(qHe=uTe(["\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}),q7),HHe=y.default.p.withConfig({displayName:"PageAlert__Text",componentId:"sc-gj7gx6-3"})(GHe||(GHe=uTe(["\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})),KHe=y.default.div.withConfig({displayName:"PageAlert__AdditionalContent",componentId:"sc-gj7gx6-4"})(WHe||(WHe=uTe(["\n margin: auto;\n max-width: 400px;\n"],["\n margin: auto;\n max-width: 400px;\n"]))),JHe=y.default.div.withConfig({displayName:"PageAlert__CenteredAlert",componentId:"sc-gj7gx6-5"})(XHe||(XHe=uTe(["\n display: flex;\n justify-content: space-around;\n"],["\n display: flex;\n justify-content: space-around;\n"]))),eKe={exports:{}},tKe=Object.getOwnPropertySymbols,nKe=Object.prototype.hasOwnProperty,iKe=Object.prototype.propertyIsEnumerable;function rKe(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var oKe=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=rKe(e),o=1;o<arguments.length;o++){for(var a in n=Object(arguments[o]))nKe.call(n,a)&&(r[a]=n[a]);if(tKe){i=tKe(n);for(var s=0;s<i.length;s++)iKe.call(n,i[s])&&(r[i[s]]=n[i[s]])}}return r},aKe="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",sKe=Function.call.bind(Object.prototype.hasOwnProperty),lKe=function(){};if("production"!==process.env.NODE_ENV){var uKe=aKe,cKe={},dKe=sKe;lKe=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function pKe(e,t,n,i,r){if("production"!==process.env.NODE_ENV)for(var o in e)if(dKe(e,o)){var a;try{if("function"!=typeof e[o]){var s=Error((i||"React class")+": "+n+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}a=e[o](t,o,i,n,null,uKe)}catch(e){a=e}if(!a||a instanceof Error||lKe((i||"React class")+": type specification of "+n+" `"+o+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof a+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),a instanceof Error&&!(a.message in cKe)){cKe[a.message]=!0;var l=r?r():"";lKe("Failed "+n+" type: "+a.message+(null!=l?l:""))}}}pKe.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(cKe={})};var hKe=pKe,fKe=_.default,mKe=oKe,gKe=aKe,vKe=sKe,yKe=hKe,bKe=function(){};function OKe(){return null}"production"!==process.env.NODE_ENV&&(bKe=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}});function _Ke(){}function wKe(){}wKe.resetWarningCache=_Ke;if("production"!==process.env.NODE_ENV){var xKe=_.default;eKe.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(OKe),arrayOf:function(e){return s((function(t,n,i,r,o){if("function"!=typeof e)return new a("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s))return new a("Invalid "+r+" `"+o+"` 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,o+"["+l+"]",gKe);if(u instanceof Error)return u}return null}))},element:s((function(t,n,i,r,o){var s=t[n];return e(s)?null:new a("Invalid "+r+" `"+o+"` of type `"+d(s)+"` supplied to `"+i+"`, expected a single ReactElement.")})),elementType:s((function(e,t,n,i,r){var o=e[t];return fKe.isValidElementType(o)?null:new a("Invalid "+i+" `"+r+"` of type `"+d(o)+"` supplied to `"+n+"`, expected a single ReactElement type.")})),instanceOf:function(e){return s((function(t,n,r,o,s){if(!(t[n]instanceof e)){var l=e.name||i;return new a("Invalid "+o+" `"+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 a("Invalid "+i+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return s((function(t,n,i,r,o){if("function"!=typeof e)return new a("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var s=t[n],l=d(s);if("object"!==l)return new a("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected an object.");for(var u in s)if(vKe(s,u)){var c=e(s,u,i,r,o+"."+u,gKe);if(c instanceof Error)return c}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&bKe(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."),OKe;function t(t,n,i,r,s){for(var l=t[n],u=0;u<e.length;u++)if(o(l,e[u]))return null;var c=JSON.stringify(e,(function(e,t){return"symbol"===p(t)?String(t):t}));return new a("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&&bKe("Invalid argument supplied to oneOfType, expected an instance of array."),OKe;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return bKe("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+h(n)+" at index "+t+"."),OKe}return s((function(t,n,i,r,o){for(var s=[],l=0;l<e.length;l++){var u=(0,e[l])(t,n,i,r,o,gKe);if(null==u)return null;u.data&&vKe(u.data,"expectedType")&&s.push(u.data.expectedType)}return new a("Invalid "+r+" `"+o+"` supplied to `"+i+"`"+(s.length>0?", expected one of type ["+s.join(", ")+"]":"")+".")}))},shape:function(e){return s((function(t,n,i,r,o){var s=t[n],l=d(s);if("object"!==l)return new a("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");for(var c in e){var h=e[c];if("function"!=typeof h)return u(i,r,o,c,p(h));var f=h(s,c,i,r,o+"."+c,gKe);if(f)return f}return null}))},exact:function(e){return s((function(t,n,i,r,o){var s=t[n],l=d(s);if("object"!==l)return new a("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");var c=mKe({},t[n],e);for(var h in c){var f=e[h];if(vKe(e,h)&&"function"!=typeof f)return u(i,r,o,h,p(f));if(!f)return new a("Invalid "+r+" `"+o+"` key `"+h+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var m=f(s,h,i,r,o+"."+h,gKe);if(m)return m}return null}))}};function o(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function a(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 o(o,s,l,u,c,d,p){if(u=u||i,d=d||l,p!==gKe){if(t){var h=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 h.name="Invariant Violation",h}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var f=u+":"+l;!n[f]&&r<3&&(bKe("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]?o?null===s[l]?new a("The "+c+" `"+d+"` is marked as required in `"+u+"`, but its value is `null`."):new a("The "+c+" `"+d+"` is marked as required in `"+u+"`, but its value is `undefined`."):null:e(s,l,u,c,d)}var s=o.bind(null,!1);return s.isRequired=o.bind(null,!0),s}function l(e){return s((function(t,n,i,r,o,s){var l=t[n];return d(l)!==e?new a("Invalid "+r+" `"+o+"` of type `"+p(l)+"` supplied to `"+i+"`, expected `"+e+"`.",{expectedType:e}):null}))}function u(e,t,n,i,r){return new a((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,o=i.call(t);if(i!==t.entries){for(;!(r=o.next()).done;)if(!c(r.value))return!1}else for(;!(r=o.next()).done;){var a=r.value;if(a&&!c(a[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 p(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 h(e){var t=p(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return a.prototype=Error.prototype,r.checkPropTypes=yKe,r.resetWarningCache=yKe.resetWarningCache,r.PropTypes=r,r}(xKe.isElement,!0)}else eKe.exports=function(){function e(e,t,n,i,r,o){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==o){var a=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 a.name="Invariant Violation",a}}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:wKe,resetWarningCache:_Ke};return n.PropTypes=n,n}();var kKe=eKe.exports,SKe=Object.freeze({__proto__:null,useCurrentUser:m5,useAccountApi:a9,useAuthenticationContext:Uw,useEnvironmentConfig:Am,useNotificationContext:Zie,usePromise:$w,LinkContext:vS,TextLink:eGe,logger:ng,createId:rg,ResourceContext:SS,usePluginSettings:function(){var e=i.useContext(mne).settings;return null!=e?e:{}},usePluginStorage:bne,usePluginDeviceStore:bne,usePluginSubscriptionStore:function(){return i.useContext(mne).subscriptionStore},usePluginSubscriptionStoreValue:function(e,t){var n=this,r=i.useContext(mne).subscriptionStore,o=$w((function(){return r.get(e).catch(_ne)}),void 0,dJ(dJ([],t||[]),[e])),a=o[0],s=o[1],l=o[2],u=o[3],c=o[4];return{data:a,set:function(t){return uJ(n,void 0,void 0,(function(){var n;return cJ(this,(function(i){switch(i.label){case 0:return n=a?JSON.parse(JSON.stringify(a)):void 0,u(t),[4,r.set(e,t).catch((function(e){return u(n),_ne(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:s,error:l,refresh:c,remove:function(){return uJ(n,void 0,void 0,(function(){var t;return cJ(this,(function(n){switch(n.label){case 0:return t=a?JSON.parse(JSON.stringify(a)):void 0,u(void 0),[4,r.delete(e).catch((function(e){return u(t),_ne(e)}))];case 1:return[2,n.sent()]}}))}))}}},usePluginUserStore:function(){return i.useContext(mne).userStore},usePluginUserStoreValue:function(e,t){var n=this,r=i.useContext(mne).userStore,o=$w((function(){return r.get(e).catch(_ne)}),void 0,dJ(dJ([],t||[]),[e])),a=o[0],s=o[1],l=o[2],u=o[3],c=o[4];return{data:a,set:function(t){return uJ(n,void 0,void 0,(function(){var n;return cJ(this,(function(i){switch(i.label){case 0:return n=a?JSON.parse(JSON.stringify(a)):void 0,u(t),[4,r.set(e,t).catch((function(e){return u(n),_ne(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:s,error:l,refresh:c,remove:function(){return uJ(n,void 0,void 0,(function(){var t;return cJ(this,(function(n){switch(n.label){case 0:return t=a?JSON.parse(JSON.stringify(a)):void 0,u(void 0),[4,r.delete(e).catch((function(e){return u(t),_ne(e)}))];case 1:return[2,n.sent()]}}))}))}}},useReachApiEndPoints:function(){return{apiEndpoint:Dm().apiEndpoint}},AccountType:H6,PeoplePicker:Pze,GutterToggle:mze,EditorSettingsDialog:hze,Spinner:a.Spinner,SelectionMode:a.SelectionMode,EditorHighlight:lze,useTheme:function(){return i.useContext(Qie).theme},useSubscriptionHandlePathBuilder:dne,useSubscriptionWebAppUrl:pne});var PKe,EKe,CKe=[{name:"@reach/core",packageDefinition:rTe({default:{}},SKe)}],FKe=[{name:"react",packageDefinition:rTe(rTe({},g.default),{default:g.default})},{name:"react-dom",packageDefinition:rTe(rTe({},O),{default:O})},{name:"react-is",packageDefinition:rTe(rTe({},_.default),{default:_.default})},{name:"prop-types",packageDefinition:rTe({default:kKe},kKe)},{name:"react-router-dom",packageDefinition:rTe({},v)},{name:"styled-components",packageDefinition:{default:y.default,createGlobalStyle:o.createGlobalStyle,css:o.css,useTheme:o.useTheme,isStyledComponent:o.isStyledComponent,keyframes:o.keyframes,withTheme:o.withTheme,ThemeProvider:o.ThemeProvider,ThemeContext:o.ThemeContext,ThemeConsumer:o.ThemeConsumer}},{name:"office-ui-fabric-react",packageDefinition:{default:{},Checkbox:a.Checkbox,Label:a.Label,PrimaryButton:a.PrimaryButton,Icon:a.Icon,Link:a.Link,TextField:a.TextField,ActionButton:a.ActionButton,IconButton:a.IconButton,DefaultButton:a.DefaultButton,Spinner:a.Spinner,Dropdown:a.Dropdown,ProgressIndicator:a.ProgressIndicator,Shimmer:a.Shimmer,ShimmerElementsGroup:a.ShimmerElementsGroup,ShimmerElementType:a.ShimmerElementType,DirectionalHint:a.DirectionalHint,PersonaSize:a.PersonaSize,TooltipHost:a.TooltipHost,DialogType:a.DialogType,Dialog:dTe,DialogFooter:a.DialogFooter,ChoiceGroup:a.ChoiceGroup}},{name:"react-intl",packageDefinition:{default:{},FormattedMessage:pS,useIntl:Wk,FormattedDate:hS,FormattedTime:fS,IntlProvider:tS}},{name:"@apollo/client",packageDefinition:{default:{},gql:WL,useQuery:function(e,t){return d$(e,t,!1)},ApolloClient:jL,ApolloProvider:n$,from:hA,ApolloLink:pA,fromPromise:aA,split:fA,HttpLink:wA,InMemoryCache:yL,useLazyQuery:function(e,t){return d$(e,t,!0)},useMutation:p$,ApolloError:OL,useApolloClient:i$,useSubscription:function(e,t){var n=i.useReducer((function(e){return e+1}),0),r=n[1],o=i.useContext(e$()),a=t?ko(ko({},t),{subscription:e}):{subscription:e},s=i.useState({loading:!a.skip,error:void 0,data:void 0}),l=s[0],u=s[1],c=i.useRef(),d=(c.current||(c.current=new s$({options:a,context:o,setResult:u})),c.current);return d.setOptions(a,!0),d.context=o,__DEV__&&c$(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:mz}},{name:"@apollo/client/link/ws",packageDefinition:{default:{},WebSocketLink:Fz}},{name:"@apollo/client/utilities",packageDefinition:{default:{},getMainDefinition:eD}},{name:"@apollo/client/link/context",packageDefinition:{default:{},setContext:h$}}],TKe=function(e){var n=e.color,r=e.onColorChange,o=e.className,s=i.useState(n),l=s[0],u=s[1];return i.useEffect((function(){u(n)}),[n]),t.jsx(DKe,rTe({className:o},{children:t.jsx(a.ColorPicker,{alphaType:"none",color:l,onChange:function(e,t){return function(e){u(e),null==r||r(e)}(t.str)}},void 0)}),void 0)},DKe=y.default.div.withConfig({displayName:"ColorEditor__Host",componentId:"sc-add00t-0"})(PKe||(PKe=uTe(["\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"])),L7);!function(e){e.Row="row",e.Column="column"}(EKe||(EKe={})),y.default(r.NavLink).withConfig({displayName:"Icon__StyledNavLink",componentId:"sc-179by8k-0"})(AKe||(AKe=uTe(["\n &,\n &:hover,\n &:visited,\n &:active {\n color: var(--text-color-default);\n }\n\n > span {\n gap: ",";\n }\n\n &:focus {\n [data-icon-state='default']:not(:only-child) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n"],["\n &,\n &:hover,\n &:visited,\n &:active {\n color: var(--text-color-default);\n }\n\n > span {\n gap: ",";\n }\n\n &:focus {\n [data-icon-state='default']:not(:only-child) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n"])),(function(e){return"row"===e.direction?"10px":"5px"}));var AKe,IKe,LKe,$Ke,zKe,RKe,jKe,MKe=function(e){var n=e.defaultSVG,i=e.onClick,r=e.hoveredSVG,o=e.selectedSVG,a=e.label,s=e.labelDirection,l=e.size,u=e.disabled,c=e.className,d=e.children;return t.jsxs(QKe,rTe({onClick:i,disabled:u,className:c,isSelected:!!o},{children:[t.jsx(NKe,{defaultSVG:n,hoveredSVG:r,selectedSVG:o,label:a,labelDirection:s,size:l},void 0),d]}),void 0)},QKe=y.default(a.ActionButton).withConfig({displayName:"Icon__StyledActionButton",componentId:"sc-179by8k-1"})($Ke||($Ke=uTe(["\n && {\n border-radius: 8px;\n padding: 8px 10px;\n }\n\n --iconTextColor: var(--color-neutral-950);\n\n &:focus-visible {\n [data-icon-state='default']:not(:only-child) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n\n ","\n"],["\n && {\n border-radius: 8px;\n padding: 8px 10px;\n }\n\n --iconTextColor: var(--color-neutral-950);\n\n &:focus-visible {\n [data-icon-state='default']:not(:only-child) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n\n ","\n"])),(function(e){return e.isSelected?o.css(IKe||(IKe=uTe(["\n background: var(--color-primary-100);\n --iconTextColor: var(--color-primary-700);\n\n [data-icon-state='selected'] {\n display: flex;\n }\n "],["\n background: var(--color-primary-100);\n --iconTextColor: var(--color-primary-700);\n\n [data-icon-state='selected'] {\n display: flex;\n }\n "]))):o.css(LKe||(LKe=uTe(["\n &:hover {\n background: transparent;\n --iconTextColor: var(--color-neutral-800);\n }\n "],["\n &:hover {\n background: transparent;\n --iconTextColor: var(--color-neutral-800);\n }\n "])))})),NKe=function(e){var n=e.defaultSVG,i=e.hoveredSVG,r=e.selectedSVG,o=e.label,a=e.labelDirection,s=void 0===a?EKe.Row:a,l=e.size,u=e.className;return t.jsxs(UKe,rTe({flexDirection:s,"data-icon-host":!0},{children:[!r&&t.jsx(BKe,rTe({size:l,"data-icon-state":"default",className:u},{children:n}),void 0),i&&!r&&t.jsx(BKe,rTe({size:l,"data-icon-state":"hovered",className:u},{children:i}),void 0),r&&t.jsx(BKe,rTe({size:l,"data-icon-state":"selected",className:u},{children:r}),void 0),o]}),void 0)},UKe=y.default.span.withConfig({displayName:"Icon__Host",componentId:"sc-179by8k-2"})(zKe||(zKe=uTe(["\n display: flex;\n flex-direction: ",";\n justify-content: center;\n align-items: center;\n gap: 10px;\n\n [data-icon-state='default'] {\n display: flex;\n }\n\n color: var(--iconTextColor);\n\n &:hover {\n [data-icon-state='default']:not(:only-child) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n"],["\n display: flex;\n flex-direction: ",";\n justify-content: center;\n align-items: center;\n gap: 10px;\n\n [data-icon-state='default'] {\n display: flex;\n }\n\n color: var(--iconTextColor);\n\n &:hover {\n [data-icon-state='default']:not(:only-child) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n"])),(function(e){return"var(--icon-label-direction,"+e.flexDirection+")"})),BKe=y.default.span.withConfig({displayName:"Icon__SVGWrapper",componentId:"sc-179by8k-3"})(RKe||(RKe=uTe(["\n width: ",";\n height: ",";\n justify-content: center;\n align-items: center;\n display: none;\n\n svg {\n max-width: 100%;\n width: auto;\n height: 100%;\n }\n"],["\n width: ",";\n height: ",";\n justify-content: center;\n align-items: center;\n display: none;\n\n svg {\n max-width: 100%;\n width: auto;\n height: 100%;\n }\n"])),(function(e){var t;return(null!==(t=e.size)&&void 0!==t?t:20)+"px"}),(function(e){var t;return(null!==(t=e.size)&&void 0!==t?t:20)+"px"}));function qKe(){return qKe=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},qKe.apply(this,arguments)}var GKe,WKe=function(e){return m.createElement("svg",qKe({width:18,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),jKe||(jKe=m.createElement("path",{d:"M14.742.992a.75.75 0 0 0-.522 1.288l1.22 1.22h-.69C8.822 3.5 4 8.322 4 14.25a.75.75 0 1 0 1.5 0A9.238 9.238 0 0 1 14.75 5h.69l-1.22 1.22a.75.75 0 1 0 1.06 1.06l2.436-2.435a.75.75 0 0 0-.004-1.194L15.28 1.22a.75.75 0 0 0-.538-.228ZM3.25 1A3.262 3.262 0 0 0 0 4.25v11.5A3.262 3.262 0 0 0 3.25 19h11.5A3.261 3.261 0 0 0 18 15.75v-4a.751.751 0 1 0-1.5 0v4a1.74 1.74 0 0 1-1.75 1.75H3.25a1.74 1.74 0 0 1-1.75-1.75V4.25c0-.975.775-1.75 1.75-1.75h4a.75.75 0 1 0 0-1.5h-4Z",fill:"#0F0E0E"})))};function XKe(){return XKe=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},XKe.apply(this,arguments)}var VKe,YKe=function(e){return m.createElement("svg",XKe({width:18,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),GKe||(GKe=m.createElement("path",{d:"M14.74.99a1 1 0 0 0-.697 1.717l.547.547C8.738 3.34 4 8.128 4 14a1 1 0 1 0 2 0 8.73 8.73 0 0 1 8.577-8.741l-.534.534a1 1 0 1 0 1.414 1.414l2.161-2.161a1 1 0 0 0-.004-1.596l-2.157-2.157a1 1 0 0 0-.718-.303ZM3.25 1A3.265 3.265 0 0 0 0 4.25v11.5A3.265 3.265 0 0 0 3.25 19h11.5A3.265 3.265 0 0 0 18 15.75V12a1 1 0 1 0-2 0v3.75c0 .702-.548 1.25-1.25 1.25H3.25C2.548 17 2 16.452 2 15.75V4.25C2 3.548 2.548 3 3.25 3H7a1 1 0 1 0 0-2H3.25Z",fill:"#0F0E0E"})))};function ZKe(){return ZKe=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},ZKe.apply(this,arguments)}var HKe,KKe=function(e){return m.createElement("svg",ZKe({width:20,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),VKe||(VKe=m.createElement("path",{d:"M15.46.964a3.57 3.57 0 0 0-2.532 1.044L10.38 4.556C9.176 5.76 9.078 7.599 9.957 8.982l-.975.976c-1.384-.88-3.223-.783-4.427.422l-2.548 2.548a3.594 3.594 0 0 0 0 5.065 3.594 3.594 0 0 0 5.065 0l2.548-2.548c1.205-1.204 1.302-3.043.422-4.426l.976-.976c1.384.88 3.222.782 4.426-.423l2.548-2.548a3.593 3.593 0 0 0 0-5.064A3.57 3.57 0 0 0 15.46.964Zm0 1.49c.531 0 1.063.205 1.472.614a2.07 2.07 0 0 1 0 2.944L14.384 8.56c-.63.63-1.544.764-2.308.424l1.64-1.638a.751.751 0 0 0-.818-1.23.75.75 0 0 0-.243.17l-1.64 1.638a2.06 2.06 0 0 1 .426-2.308l2.547-2.548c.41-.409.941-.614 1.472-.614Zm-8.372 8.373c.286 0 .568.07.835.19l-1.638 1.637a.75.75 0 1 0 1.06 1.06l1.639-1.637c.34.763.206 1.677-.424 2.307L6.01 16.933a2.07 2.07 0 0 1-2.943-.001 2.07 2.07 0 0 1 0-2.943l2.548-2.549c.41-.409.941-.613 1.472-.613Z",fill:"#0F0E0E"})))};function JKe(){return JKe=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},JKe.apply(this,arguments)}var eJe,tJe=function(e){return m.createElement("svg",JKe({width:20,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),HKe||(HKe=m.createElement("path",{d:"M15.46.715a3.82 3.82 0 0 0-2.709 1.116L10.203 4.38C8.966 5.616 8.82 7.486 9.64 8.945l-.695.695c-1.46-.821-3.33-.674-4.567.563L1.83 12.751a3.847 3.847 0 0 0 0 5.419 3.848 3.848 0 0 0 5.42 0l2.547-2.548c1.237-1.237 1.384-3.108.563-4.567l.695-.695c1.46.82 3.329.674 4.566-.563l2.548-2.548a3.846 3.846 0 0 0 0-5.418A3.82 3.82 0 0 0 15.46.715Zm0 1.988c.467 0 .933.18 1.295.542a1.817 1.817 0 0 1 0 2.59l-2.548 2.548c-.455.455-1.07.59-1.648.473l1.334-1.334a1.001 1.001 0 0 0-1.415-1.415l-1.334 1.334c-.117-.578.019-1.193.473-1.648l2.548-2.548a1.825 1.825 0 0 1 1.295-.542Zm-8.372 8.372c.12 0 .235.046.353.07l-1.333 1.332a1.002 1.002 0 0 0 1.415 1.416l1.333-1.333c.116.577-.019 1.193-.473 1.647l-2.549 2.549a1.816 1.816 0 0 1-2.59-.001 1.816 1.816 0 0 1 0-2.589l2.55-2.549a1.825 1.825 0 0 1 1.294-.542Z",fill:"#0F0E0E"})))};function nJe(){return nJe=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},nJe.apply(this,arguments)}var iJe;function rJe(){return rJe=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},rJe.apply(this,arguments)}var oJe,aJe=function(e){return m.createElement("svg",rJe({width:3,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),iJe||(iJe=m.createElement("path",{d:"M1.5 12.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Zm0-6a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Zm0-6a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Z",fill:"#0F0E0E"})))};function sJe(){return sJe=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},sJe.apply(this,arguments)}var lJe,uJe=function(e){return m.createElement("svg",sJe({width:6,height:11,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),oJe||(oJe=m.createElement("path",{d:"M1.003.992A.75.75 0 0 0 .481 2.28l3.47 3.47L.48 9.22a.75.75 0 1 0 1.06 1.06l4-4a.75.75 0 0 0 0-1.06l-4-4a.75.75 0 0 0-.538-.228Z",fill:"#0F0E0E"})))};function cJe(){return cJe=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},cJe.apply(this,arguments)}var dJe,pJe=function(e){return m.createElement("svg",cJe({width:6,height:11,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),lJe||(lJe=m.createElement("path",{d:"M4.985.993a.75.75 0 0 0-.515.227l-4 4a.75.75 0 0 0 0 1.06l4 4a.748.748 0 0 0 1.235-.236.75.75 0 0 0-.175-.824L2.06 5.75l3.47-3.47A.75.75 0 0 0 4.985.993Z",fill:"#0F0E0E"})))};function hJe(){return hJe=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},hJe.apply(this,arguments)}var fJe,mJe=function(e){return m.createElement("svg",hJe({width:18,height:18,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),dJe||(dJe=m.createElement("path",{d:"M16.743.49a.75.75 0 0 0-.523.23L9 7.94 1.78.72A.75.75 0 1 0 .72 1.78L7.94 9 .72 16.22a.75.75 0 1 0 1.06 1.06L9 10.06l7.22 7.22a.751.751 0 1 0 1.06-1.06L10.06 9l7.22-7.22a.75.75 0 0 0-.537-1.29Z",fill:"#0F0E0E"})))};function gJe(){return gJe=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},gJe.apply(this,arguments)}var vJe,yJe,bJe=function(e){return m.createElement("svg",gJe({width:19,height:17,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),fJe||(fJe=m.createElement("path",{d:"M7.735.493A.75.75 0 0 0 7.22.72l-7 7a.75.75 0 0 0 0 1.06l7 7a.748.748 0 0 0 1.235-.236.75.75 0 0 0-.175-.824L2.56 9h14.69a.75.75 0 1 0 0-1.5H2.56l5.72-5.72A.75.75 0 0 0 7.735.493Z",fill:"#0F0E0E"})))},OJe=i.createContext(null),_Je=i.forwardRef((function(e,n){return!i.useContext(OJe)||e.neverStackChildren?t.jsx(xJe,rTe({ref:n},e),void 0):t.jsx(wJe,rTe({},e),void 0)})),wJe=function(e){var t=e.isOpen,n=e.onDismiss,r=e.initialBreakpoint,o=e.children,a=i.useContext(OJe).addNewLayer;return i.useEffect((function(){t&&a(o,n,r)}),[t]),null},xJe=i.forwardRef((function(e,n){var i=e.isOpen,r=e.onDismiss,o=e.initialBreakpoint,a=e.breakpoints,s=e.className,l=e.children,u=toe();return t.jsx("div",{children:t.jsx(REe,rTe({isOpen:i,ref:n,onDidDismiss:r,initialBreakpoint:o,breakpoints:null!=a?a:[0,o,1],className:u,handleBehavior:"cycle"},{children:t.jsx(IEe,rTe({forceOverscroll:!1},{children:t.jsx(kJe,rTe({className:s},{children:l((function(){return null}))}),void 0)}),void 0)}),void 0)},void 0)})),kJe=y.default.div.withConfig({displayName:"ModalBottomSheet__Host",componentId:"sc-afg2pp-0"})(vJe||(vJe=uTe(["\n padding: 40px 24px 24px;\n\n @media screen and (min-width: ","px) {\n padding: 40px 32px 32px;\n }\n"],["\n padding: 40px 24px 24px;\n\n @media screen and (min-width: ","px) {\n padding: 40px 32px 32px;\n }\n"])),j7);!function(e){e[e.normal=0]="normal",e[e.close=1]="close"}(yJe||(yJe={}));var SJe,PJe,EJe,CJe,FJe,TJe,DJe=function(e){var n=e.isOpen,i=e.triggerButton,r=e.title,o=e.type,a=void 0===o?yJe.close:o,s=e.isBlocking,l=e.onDismiss,u=e.className,c=e.children,d=toe(),p=Wk().formatMessage;return t.jsxs(HFe,rTe({open:n,onOpenChange:function(e){return e||null==l?void 0:l()}},{children:[t.jsx(KFe,rTe({asChild:!0},{children:i}),void 0),t.jsxs(JFe,{children:[t.jsx(AJe,{},void 0),t.jsxs(IJe,rTe({className:YB(d,u),onInteractOutside:s?function(e){return e.preventDefault()}:void 0},{children:[(r||a===yJe.close)&&t.jsxs(LJe,rTe({"data-dialog-header":!0},{children:[r&&t.jsx(zJe,rTe({"data-dialog-header-title":!0},{children:r}),void 0),a===yJe.close&&t.jsx(iTe,rTe({asChild:!0},{children:t.jsx(RJe,rTe({"aria-label":p({id:"Generic.close"})},{children:t.jsx(mJe,{},void 0)}),void 0)}),void 0)]}),void 0),t.jsx($Je,rTe({"data-dialog-inner":!0},{children:c}),void 0)]}),void 0)]},void 0)]}),void 0)},AJe=y.default(eTe).withConfig({displayName:"BaseDialog__StyledOverlay",componentId:"sc-1ka4pfl-0"})(SJe||(SJe=uTe(["\n background-color: rgba(15, 14, 14, 0.4);\n position: fixed;\n z-index: 2;\n inset: 0;\n animation: overlayShow 150ms cubic-bezier(0.16, 1, 0.3, 1);\n\n @keyframes overlayShow {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n"],["\n background-color: rgba(15, 14, 14, 0.4);\n position: fixed;\n z-index: 2;\n inset: 0;\n animation: overlayShow 150ms cubic-bezier(0.16, 1, 0.3, 1);\n\n @keyframes overlayShow {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n"]))),IJe=y.default(tTe).withConfig({displayName:"BaseDialog__StyledContent",componentId:"sc-1ka4pfl-1"})(PJe||(PJe=uTe(["\n z-index: 3;\n background-color: white;\n color: var(--text-color-default);\n\n overflow: auto;\n width: auto;\n\n &:focus {\n outline: none;\n }\n"],["\n z-index: 3;\n background-color: white;\n color: var(--text-color-default);\n\n overflow: auto;\n width: auto;\n\n &:focus {\n outline: none;\n }\n"]))),LJe=y.default.div.withConfig({displayName:"BaseDialog__Header",componentId:"sc-1ka4pfl-2"})(EJe||(EJe=uTe(["\n padding: 24px 24px 6px;\n box-sizing: border-box;\n"],["\n padding: 24px 24px 6px;\n box-sizing: border-box;\n"]))),$Je=y.default.div.withConfig({displayName:"BaseDialog__Inner",componentId:"sc-1ka4pfl-3"})(CJe||(CJe=uTe(["\n max-width: 100%;\n padding: 24px;\n max-height: calc(100% - 55px);\n box-sizing: border-box;\n"],["\n max-width: 100%;\n padding: 24px;\n max-height: calc(100% - 55px);\n box-sizing: border-box;\n"]))),zJe=y.default(nTe).withConfig({displayName:"BaseDialog__StyledTitle",componentId:"sc-1ka4pfl-4"})(FJe||(FJe=uTe(["\n && {\n font-family: Anybody, Arial, sans-serif !important;\n font-weight: 700;\n font-size: 16px;\n line-height: 1.2;\n margin-block: 0 ","px;\n }\n"],["\n && {\n font-family: Anybody, Arial, sans-serif !important;\n font-weight: 700;\n font-size: 16px;\n line-height: 1.2;\n margin-block: 0 ","px;\n }\n"])),6),RJe=y.default.button.withConfig({displayName:"BaseDialog__CloseButton",componentId:"sc-1ka4pfl-5"})(TJe||(TJe=uTe(["\n position: absolute;\n top: 25px;\n right: 25px;\n height: 17px;\n width: 17px;\n padding: 0;\n cursor: pointer;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border: none;\n background-color: transparent;\n"],["\n position: absolute;\n top: 25px;\n right: 25px;\n height: 17px;\n width: 17px;\n padding: 0;\n cursor: pointer;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border: none;\n background-color: transparent;\n"])));y.default(DJe).withConfig({displayName:"Dialog__StyledBaseDialog",componentId:"sc-j8dgxo-0"})(UJe||(UJe=uTe(["\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n\n box-shadow: 1px 1px 0 2px var(--color-neutral-950);\n border-radius: 8px;\n\n @keyframes contentShow {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n animation: contentShow 150ms cubic-bezier(0.16, 1, 0.3, 1);\n\n ","\n\n ","\n\n max-height: 85vh;\n min-height: 176px;\n"],["\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n\n box-shadow: 1px 1px 0 2px var(--color-neutral-950);\n border-radius: 8px;\n\n @keyframes contentShow {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n animation: contentShow 150ms cubic-bezier(0.16, 1, 0.3, 1);\n\n ","\n\n ","\n\n max-height: 85vh;\n min-height: 176px;\n"])),(function(e){return e.maxwidth?o.css(jJe||(jJe=uTe(["\n max-width: ","px;\n "],["\n max-width: ","px;\n "])),e.maxwidth):o.css(MJe||(MJe=uTe(["\n max-width: 90vw;\n "],["\n max-width: 90vw;\n "])))}),(function(e){return e.minwidth?o.css(QJe||(QJe=uTe(["\n min-width: ","px;\n "],["\n min-width: ","px;\n "])),e.minwidth):o.css(NJe||(NJe=uTe(["\n min-width: 288px;\n "],["\n min-width: 288px;\n "])))})),y.default.div.withConfig({displayName:"Dialog__Footer",componentId:"sc-j8dgxo-1"})(BJe||(BJe=uTe(["\n display: flex;\n width: 100%;\n justify-content: flex-end;\n gap: 8px;\n margin-top: 40px;\n"],["\n display: flex;\n width: 100%;\n justify-content: flex-end;\n gap: 8px;\n margin-top: 40px;\n"])));var jJe,MJe,QJe,NJe,UJe,BJe,qJe,GJe,WJe,XJe=o.css(qJe||(qJe=uTe(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n font-size: 16px;\n line-height: 1;\n font-weight: 700;\n color: var(--color-neutral-950);\n border: 0;\n padding: 8px 24px;\n"],["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n font-size: 16px;\n line-height: 1;\n font-weight: 700;\n color: var(--color-neutral-950);\n border: 0;\n padding: 8px 24px;\n"])));function VJe(e,t,n){return void 0===t&&(t=20),void 0===n&&(n=.8),i.useMemo((function(){var i=function(e,t,n){void 0===t&&(t=20),void 0===n&&(n=.8);var i=Math.floor(100*e/(window.innerHeight-t))/100;return i>=n?1:i}(e,t,n);return{initialBreakpoint:i,breakpoints:1!==i?[0,i,1]:[0,1]}}),[])}y.default.button.withConfig({displayName:"Dialog__FooterCloseButton",componentId:"sc-j8dgxo-2"})(GJe||(GJe=uTe(["\n ","\n background-color: transparent;\n"],["\n ","\n background-color: transparent;\n"])),XJe),y.default.button.withConfig({displayName:"Dialog__FooterSaveButton",componentId:"sc-j8dgxo-3"})(WJe||(WJe=uTe(["\n ","\n\n background-color: var(--color-coral-400);\n border-radius: 23px;\n\n &[disabled] {\n opacity: 0.3;\n }\n"],["\n ","\n\n background-color: var(--color-coral-400);\n border-radius: 23px;\n\n &[disabled] {\n opacity: 0.3;\n }\n"])),XJe);var YJe,ZJe=439;y.default(DJe).withConfig({displayName:"Panel__StyledBaseDialog",componentId:"sc-kz0r8l-0"})(YJe||(YJe=uTe(["\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n\n background: var(--color-neutral-50);\n box-shadow: 0 4px 32px 4px rgba(15, 14, 14, 0.1);\n overflow: hidden;\n [data-dialog-inner] {\n overflow-y: auto;\n max-height: calc(100% - 48px);\n padding: 32px;\n }\n [data-dialog-header] {\n padding: 32px 32px 0;\n\n & > button {\n top: 32px;\n right: 32px;\n }\n }\n [data-dialog-header-title] {\n font-size: 20px;\n line-height: 24px;\n margin: 0;\n }\n\n @keyframes contentEaseIn {\n from {\n transform: translate(","px, 0);\n opacity: 0;\n }\n to {\n transform: translate(0, 0);\n }\n }\n @keyframes contentEaseOut {\n from {\n transform: translate(0, 0);\n }\n to {\n transform: translate(","px, 0);\n }\n }\n animation: "," 0.3s ease;\n transition: opacity 0.15s ease;\n opacity: ",";\n\n width: ","px;\n\n @media all and (max-width: ","px) {\n width: 100%;\n }\n"],["\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n\n background: var(--color-neutral-50);\n box-shadow: 0 4px 32px 4px rgba(15, 14, 14, 0.1);\n overflow: hidden;\n [data-dialog-inner] {\n overflow-y: auto;\n max-height: calc(100% - 48px);\n padding: 32px;\n }\n [data-dialog-header] {\n padding: 32px 32px 0;\n\n & > button {\n top: 32px;\n right: 32px;\n }\n }\n [data-dialog-header-title] {\n font-size: 20px;\n line-height: 24px;\n margin: 0;\n }\n\n @keyframes contentEaseIn {\n from {\n transform: translate(","px, 0);\n opacity: 0;\n }\n to {\n transform: translate(0, 0);\n }\n }\n @keyframes contentEaseOut {\n from {\n transform: translate(0, 0);\n }\n to {\n transform: translate(","px, 0);\n }\n }\n animation: "," 0.3s ease;\n transition: opacity 0.15s ease;\n opacity: ",";\n\n width: ","px;\n\n @media all and (max-width: ","px) {\n width: 100%;\n }\n"])),ZJe,ZJe,(function(e){return e.isOpen?"contentEaseIn":"contentEaseOut"}),(function(e){return e.isOpen?"1":"0"}),ZJe,ZJe);var HJe=function(e){var n=e.onRequestToken,r=e.children,o=e.subscriptionId,a=i.useState(null),s=a[0],l=a[1],u=i.useMemo((function(){return{onRequestToken:null!=n?n:function(){return Promise.resolve(s)},getIsAuthenticated:function(){return Po(void 0,void 0,void 0,(function(){return Eo(this,(function(e){return[2,null!=n||null!=s]}))}))},getCurrentEmail:function(){return Po(void 0,void 0,void 0,(function(){return Eo(this,(function(e){return[2,null]}))}))},setToken:l,onHandleError:function(e,t){return Po(void 0,void 0,void 0,(function(){return Eo(this,(function(n){return ng.error(e,t),[2,Promise.reject(e)]}))}))}}}),[o,s]);return t.jsx(Nw.Provider,ko({value:u},{children:r}),void 0)},KJe="0.5.0-preview.560",JJe="125747",e0e="1d98ae02418bd3486283c55c61affa24efe7e413",t0e=X,n0e=M,i0e=Pn("match"),r0e=function(e){var t;return t0e(e)&&(void 0!==(t=e[i0e])?!!t:"RegExp"==n0e(e))},o0e=Pn("match"),a0e=function(e){if(r0e(e))throw TypeError("The method doesn't accept regular expressions");return e},s0e=B,l0e=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[o0e]=!1,"/./"[e](t)}catch(e){}}return!1};dn({target:"String",proto:!0,forced:!l0e("includes")},{includes:function(e){return!!~String(s0e(this)).indexOf(a0e(e),arguments.length>1?arguments[1]:void 0)}});var u0e,c0e,d0e={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"}]}},p0e={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:[]}},h0e=require("deepmerge"),f0e=["//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"],m0e=function(e){var n=e.children,r=Dm(),o=r.apiEndpoint,a=r.additionalVideoSources,s=i.useMemo((function(){return function(e){return"number"!=typeof e.maxFileSizeInMb&&(e.maxFileSizeInMb=parseInt(e.maxFileSizeInMb)),e}(function(){var e=!f0e.some((function(e){return o.toLowerCase().includes(e)}));if(!e)return ng.info("Will use non prod client config..."),ko(ko({},d0e),{additionalVideoSources:a});var t=h0e(d0e,p0e,{arrayMerge:function(e,t){return t}});return ko(ko({},t),{additionalVideoSources:a})}())}),[o]);return t.jsx(qm.Provider,ko({value:s},{children:n}),void 0)},g0e=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 Po(this,void 0,void 0,(function(){return Eo(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 Po(this,void 0,void 0,(function(){return Eo(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}(),v0e=new g0e,y0e=function(e){var n=e.subscriptionId,i=e.children;return e.shouldUsePublicAccess?t.jsx(b0e,ko({subscriptionId:n},{children:i}),void 0):t.jsx(t.Fragment,{children:i},void 0)},b0e=function(e){var n=e.subscriptionId,r=e.children,o=i.useContext(Nw).setToken,a=bS(),s=function(){var e=rB().fetchFromApi,t=oB();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=rB().fetchFromApi,u=i.useContext(gS),c=u.handleFatalError,d=u.handleAccessDeniedError,p=$w((function(){return Po(this,void 0,void 0,(function(){var e,t,i;return Eo(this,(function(r){switch(r.label){case 0:return e="Reach::PublicAccessToken::"+n,[4,a.getString(e)];case 1:return(t=r.sent())?(o(t),[2,!0]):[4,s(n)];case 2:return r.sent().allowPublicAccess?[4,v(n)]:[3,5];case 3:return i=r.sent(),o(i),[4,a.setString(e,i)];case 4:return r.sent(),[2,!0];case 5:return[2,!1]}}))}))}),!1,[n]),h=p[0],f=p[1],m=p[2];if(m)return ng.error(m),c({error:m}),null;if(f)return null;if(!h){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)}))}},O0e=function(e){var n=e.children,r=i.useState(),o=r[0],a=r[1],s=i.useState(),l=s[0],u=s[1],c=i.useState(),d=c[0],p=c[1],h=i.useMemo((function(){return{handleFatalError:a,handleAccessDeniedError:u,handleNotFoundError:p}}),[a,u,p]);return t.jsx(gS.Provider,ko({value:h},{children:t.jsx(_0e,ko({fatalError:o,notFoundError:d,accessDeniedError:l},{children:n}),void 0)}),void 0)},_0e=function(e){var n=e.fatalError,i=e.accessDeniedError,r=e.notFoundError,o=e.children;return n?t.jsx(w0e,{messageId:n.messageId,error:n.error},void 0):i?t.jsx(w0e,{messageId:"AccessDenied.genericMessage",error:i.error},void 0):r?t.jsx(w0e,{messageId:"NotFound.message"},void 0):t.jsx(t.Fragment,{children:o},void 0)},w0e=function(n){var r=n.messageId,o=n.error,a=Wk().formatMessage,s=i.useState(!1),l=s[0],u=s[1];return t.jsx(NHe,ko({errorType:e.ErrorType.GenericError,alertText:a({id:r||"FatalError.genericMessage"}),onClick:function(){return u(!l)}},{children:l&&t.jsxs(x0e,{children:[t.jsx(pS,{id:"Generic.error.details"},void 0),t.jsx(k0e,{children:JSON.stringify(o)||"Not provided"},void 0)]},void 0)}),void 0)},x0e=y.default.div.withConfig({displayName:"ReachErrorProvider__DetailsContainer",componentId:"sc-15225g3-0"})(u0e||(u0e=$o(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),L7),k0e=y.default.p.withConfig({displayName:"ReachErrorProvider__Details",componentId:"sc-15225g3-1"})(c0e||(c0e=$o(["\n opacity: 0.4;\n font-size: small;\n"],["\n opacity: 0.4;\n font-size: small;\n"]))),S0e=function(e){var n=e.children,r=pne(),o=i.useMemo((function(){return{onShare:function(){return Po(void 0,void 0,void 0,(function(){return Eo(this,(function(e){return[2,null]}))}))},onOpenExternalLink:a,tryGetInternalLink:function(){return null},changeHistory:s}}),[]);return t.jsx(vS.Provider,ko({value:o},{children:n}),void 0);function a(e){window.open(e,"_blank")}function s(e){window.open(""+r+e)}},P0e=function(){return null},E0e=Object.freeze({__proto__:null,Page:P0e,NavLinkSidebarItem:P0e,PageMenuActionItem:P0e});var C0e=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){},contextualProperties:null,setContextualProperties:function(e){}};return t.jsx(pee.Provider,ko({value:i},{children:n}),void 0)};!function(){if(window.__is_reach_app)return;if(console.info("Reach Component Library: "+KJe+" ("+JJe+") ["+e0e+"]"),window.__did_initialize_reach_context)return;a.initializeIcons()}();var F0e=function(e){var n=e.disableAnalytics,i=e.appName,r=e.children;return n?t.jsx(C0e,{children:r},void 0):t.jsx(fee,ko({appName:i},{children:r}),void 0)},T0e=function(e){var n,r=e.subscriptionId,o=e.language,a=e.locale,s=e.children,l=i.useContext(Qie).setTheme,u=i.useContext(SS).changeSettings,c=function(){var e=s9().getCurrentUser,t=YG();return{getCurrentUser:function(n){return uJ(this,void 0,void 0,(function(){var i=this;return cJ(this,(function(r){switch(r.label){case 0:return[4,t.fetchQuery(["fetchCurrentUser",n],(function(){return uJ(i,void 0,void 0,(function(){return cJ(this,(function(t){switch(t.label){case 0:return[4,e()];case 1:return[2,t.sent()]}}))}))}))];case 1:return[2,r.sent()]}}))}))}}}().getCurrentUser,d=$w((function(){var e,t;return Po(this,void 0,void 0,(function(){var n,i,s,d;return Eo(this,(function(p){switch(p.label){case 0:return p.trys.push([0,2,,3]),[4,c(r)];case 1:return n=p.sent(),(null===(e=null==n?void 0:n.subscription)||void 0===e?void 0:e.theme)&&l(n.subscription.theme),i=dw(o,n.preferredUiLanguage,cw(),null===(t=n.subscription)||void 0===t?void 0:t.defaultLanguage),s=dYe(n,a),u(i,s).then((function(){return null}),ng.error),o&&(n.preferredContentLanguage=o),[2,n];case 2:throw d=p.sent(),ng.error(d),d;case 3:return[2]}}))}))})),p=d[0],h=d[1],f=d[2],m=d[3],g=i.useContext(gS),v=g.handleFatalError,y=g.handleNotFoundError,b=g.handleAccessDeniedError,O=i.useMemo((function(){return{user:p,refreshUser:function(e){return Promise.resolve(e&&m(e))}}}),[p]);return f?(403===(null===(n=null==f?void 0:f.response)||void 0===n?void 0:n.statusCode)?b({error:f}):v({error:f}),null):h?null:null==p?(y({}),null):t.jsx(h5.Provider,ko({value:O},{children:s}),void 0)},D0e=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(vJ,{},void 0),t.jsx(OJ,{},void 0)]},void 0)};var A0e=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,I0e=/[\0-\x1F\x7F-\x9F]/,L0e=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,$0e=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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 z0e(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 R0e(e){return Object.prototype.toString.call(e)}function j0e(e){return"[object Function]"===R0e(e)}function M0e(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var Q0e={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var N0e={"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}}},U0e="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function B0e(e){var t=e.re=function(e){var t={};return t.src_Any=A0e.source,t.src_Cc=I0e.source,t.src_Z=L0e.source,t.src_P=$0e.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 o(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]"===R0e(e)}(n))return!function(e){return"[object RegExp]"===R0e(e)}(n.validate)?j0e(n.validate)?i.validate=n.validate:o(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(j0e(n.normalize)?i.normalize=n.normalize:n.normalize?o(t,n):i.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===R0e(e)}(n)?o(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 a=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(M0e).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","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 q0e(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 G0e(e,t){var n=new q0e(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function W0e(e,t){if(!(this instanceof W0e))return new W0e(e,t);t||function(e){return Object.keys(e||{}).reduce((function(e,t){return e||Q0e.hasOwnProperty(t)}),!1)}(e)&&(t=e,e={}),this.__opts__=z0e({},Q0e,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=z0e({},N0e,e),this.__compiled__={},this.__tlds__=U0e,this.__tlds_replaced__=!1,this.re={},B0e(this)}W0e.prototype.add=function(e,t){return this.__schemas__[e]=t,B0e(this),this},W0e.prototype.set=function(e){return this.__opts__=z0e(this.__opts__,e),this},W0e.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,i,r,o,a,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))&&(o=n.index+n[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(i=e.match(this.re.email_fuzzy))&&(o=i.index+i[1].length,a=i.index+i[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=a)),this.__index__>=0},W0e.prototype.pretest=function(e){return this.re.pretest.test(e)},W0e.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},W0e.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(G0e(this,t)),t=this.__last_index__);for(var i=t?e.slice(t):e;this.test(i);)n.push(G0e(this,t)),i=i.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},W0e.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(),B0e(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,B0e(this),this)},W0e.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},W0e.prototype.onCompile=function(){};var X0e=W0e,V0e={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]||{},o=i.replacement||"-",a=n.split("").reduce((function(t,n){return t+(r[n]||e[n]||n)}),"").replace(i.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"").trim().replace(new RegExp("[\\s"+o+"]+","g"),o);return i.lower&&(a=a.toLowerCase()),i.strict&&(a=a.replace(new RegExp("[^a-zA-Z0-9"+o+"]","g"),"")),a}return n.extend=function(t){for(var n in t)e[n]=t[n]},n},e.exports=n(),e.exports.default=n()}(V0e);var Y0e=V0e.exports;function Z0e(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 H0e(){return H0e=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},H0e.apply(this,arguments)}function K0e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J0e(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 e1e(e,t,n){return t&&J0e(e.prototype,t),n&&J0e(e,n),e}function t1e(e){return t1e="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},t1e(e)}function n1e(e){return n1e="function"==typeof Symbol&&"symbol"===t1e(Symbol.iterator)?function(e){return t1e(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":t1e(e)},n1e(e)}function i1e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r1e(e,t){return!t||"object"!==n1e(t)&&"function"!=typeof t?i1e(e):t}function o1e(e){return o1e=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},o1e(e)}function a1e(e,t){return a1e=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a1e(e,t)}function s1e(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&&a1e(e,t)}function l1e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u1e(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{i||null==s.return||s.return()}finally{if(r)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function c1e(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},o=Object.keys(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function d1e(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 p1e(e){return function(e){if(Array.isArray(e))return d1e(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 d1e(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)?d1e(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 h1e=function(e){return e===Object(e)?Object.keys(e):[]},f1e=function(e){return e===Object(e)?Object.values(e):[]};function m1e(e,t){var n=Object.assign({},e);return y1e(e)&&y1e(t)&&h1e(t).forEach((function(i){y1e(t[i])&&i in e?n[i]=m1e(e[i],t[i]):Object.assign(n,Aae({},i,t[i]))})),n}var g1e=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 m1e(e,t)}),e)},v1e=function(e,t){var n=Object.assign({},e);if(t)for(var i=0;i<t.length;i++)delete n[t[i]];return n},y1e=function(e){return!(e!==Object(e)||e instanceof Date||Array.isArray(e))},b1e=function(e){return(e||[]).filter(Boolean)},O1e=function(e){return"&"===e[0]},_1e=function(e){return!O1e(e)},w1e=function(e){return e.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}))},x1e=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=h1e(e),i={},r=0,o=n.length;r<o;r+=1){var a=n[r],s="[object Object]"!==Object.prototype.toString.call(e[a])||":"===a[0]||"@"===a[0]||t.indexOf(a)>=0;s&&(i[a]=e[a])}return i},k1e=function(e,t){for(var n=t.map(w1e),i=h1e(e),r={},o=0,a=i.length;o<a;o+=1){var s=i[o];(t.indexOf(s)>=0||n.indexOf(w1e(s))>=0)&&(r[s]=e[s])}return r},S1e=function e(t,n){for(var i=g1e.apply(void 0,[{},v1e(t,n)].concat(p1e(f1e(k1e(t,n))))),r=h1e(i).filter(O1e),o=0,a=r.length;o<a;o+=1){var s=r[o],l=e(i[s],n);n.indexOf(s)>=0?(delete i[s],i=g1e({},i,l)):i[s]=l}return i};function P1e(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 E1e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P1e(Object(n),!0).forEach((function(t){Aae(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P1e(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var C1e=["animationName"],F1e=function(e){var t=e.style,n=e.className;return E1e(E1e({},t?{style:x1e(t,C1e)}:{}),n?{className:n}:{})},T1e=i.createContext(F1e);T1e.Provider;var D1e=function(e){if(!e)return[];if("string"==typeof e)return[e];if(!Array.isArray(e)){var t=e;return h1e(e).reduce((function(e,n){return e.concat(t[n]?[n]:[])}),[])}return e},A1e={},I1e=function(e){return function(t,n){var i,r=n||A1e;e.memoize=e.memoize||new WeakMap,e.memoize.has(r)?i=e.memoize.get(r):(i={},e.memoize.set(r,i));var o=D1e(t).join(" ");return o in i?i[o]:i[o]=e(t||[],n)}};function L1e(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 $1e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L1e(Object(n),!0).forEach((function(t){Aae(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L1e(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var z1e=function(e){var t=e&&h1e(e)[0];return t&&t.split("__")[0].split("--")[0]},R1e=function(e,t,n){if(e){var i=e.split(" ")[0],r=[].concat(p1e(0===t.length?n.map((function(e){return"".concat(i,"--").concat(e.substring(1))})):[]),p1e(t.map((function(e){return"".concat(i,"__").concat(e)}))));return 0===t.length?[e].concat(p1e(r)):r}};function j1e(e){var t=e.style,n=e.className,i=e.classNames,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:F1e,o=n||z1e(i)||(null==t?void 0:t.className),a="function"==typeof t?t:I1e((function(e,n){var a=D1e(e);nwe(Array.isArray(a),"First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."),nwe(!n||y1e(n),"Optional second parameter must be a plain object.");var s=a.filter(O1e),l=a.filter(_1e),u=l.length>0?function(e){return f1e(k1e(e,l))}:function(e){return[e]},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return u(S1e(e,s))},d=R1e(o,l,s);return j1e($1e($1e($1e({},(t||n)&&{style:g1e.apply(void 0,[{}].concat(p1e(c(n)),p1e(c(t))))}),d&&{className:d.join(" ")}),i&&{classNames:i}),r)})),s=$1e({},"function"==typeof t?t:{style:t}),l=p1e(new Set([].concat(p1e(s.className?s.className.split(" "):[]),p1e(o?o.split(" "):[])))),u=i?b1e(l.map((function(e){return i[e]}))):l,c=r($1e($1e({},s),u.length>0?{className:u.join(" ")}:{}));return Object.assign(a,c),a}function M1e(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 Q1e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M1e(Object(n),!0).forEach((function(t){Aae(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M1e(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var N1e=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 Q1e(Q1e(Q1e({},e),"function"==typeof t?t:{}),{},{style:Q1e(Q1e({},e.style),"function"==typeof t?t.style:t)})}),{})},U1e=function(e,t,n){var r=t.style,o=t.className,a=t.classNames,s=i.useContext(T1e);return i.useMemo((function(){return j1e({style:r,className:o,classNames:a},s)}),[r,o,a,s])(n,e)},B1e=function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},q1e="__id__",G1e="__display__",W1e=function(e,t){nwe("id"===t||"display"===t,'Second arg must be either "id" or "display", got: "'.concat(t,'"'));var n=e.indexOf(G1e),i=e.indexOf(q1e);return n<0&&(n=null),i<0&&(i=null),nwe(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},X1e=function(e){var t=/^\/(.+)\/(\w+)?$/;return new RegExp(e.map((function(e){var n=u1e(t.exec(e.toString()),3),i=n[1],r=n[2];return nwe(!r,"RegExp flags are not supported. Change /".concat(i,"/").concat(r," into /").concat(i,"/")),"(".concat(i,")")})).join("|"),"g")},V1e=function(e){var t=0;return e.indexOf("__id__")>=0&&t++,e.indexOf("__display__")>=0&&t++,t},Y1e=function(){},Z1e=function(e,t,n){for(var i,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Y1e,o=X1e(t.map((function(e){return e.regex}))),a=2,s=t.map((function(e){var t=e.markup,n=a;return a+=V1e(t)+1,n})),l=0,u=0;null!==(i=o.exec(e));){var c=s.find((function(e){return!!i[e]})),d=s.indexOf(c),p=t[d],h=p.markup,f=p.displayTransform,m=c+W1e(h,"id"),g=c+W1e(h,"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=o.lastIndex}l<e.length&&r(e.substring(l),l,u)},H1e=function(e,t){var n="";return Z1e(e,t,(function(e,t,i,r,o){n+=o}),(function(e){n+=e})),n},K1e=function(e,t,n){var i,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"START";if("number"!=typeof n)return n;var o=function(e,t,r){void 0===i&&r+e.length>=n&&(i=t+n-r)},a=function(e,t,o,a,s,l,u){void 0===i&&o+s.length>n&&(i="NULL"===r?null:t+("END"===r?e.length:0))};return Z1e(e,t,a,o),void 0===i?e.length:i},J1e=function(e,t,n,i){return e.substring(0,t)+i+e.substring(n)},e2e=function(e,t){var n=[];return Z1e(e,t,(function(e,t,i,r,o,a,s){n.push({id:r,display:o,childIndex:a,index:t,plainTextIndex:i})})),n},t2e=function(e,t){return"".concat(e,"-").concat(t)},n2e=function(e){return Object.values(e).reduce((function(e,t){return e+t.results.length}),0)},i2e=function(e){var t=B1e(e),n=e[e.indexOf(G1e)+G1e.length],i=e[e.indexOf(q1e)+q1e.length];return new RegExp(t.replace(G1e,"([^".concat(B1e(n||""),"]+?)")).replace(q1e,"([^".concat(B1e(i||""),"]+?)")))},r2e=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?o2e(i,n):i2e(n),displayTransform:r||function(e,t){return t||e}}}))},o2e=function(e,t){var n=new RegExp(e.toString()+"|").exec("").length-1,i=V1e(t);return nwe(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},a2e=[{base:"A",letters:/(&#65;|&#9398;|&#65313;|&#192;|&#193;|&#194;|&#7846;|&#7844;|&#7850;|&#7848;|&#195;|&#256;|&#258;|&#7856;|&#7854;|&#7860;|&#7858;|&#550;|&#480;|&#196;|&#478;|&#7842;|&#197;|&#506;|&#461;|&#512;|&#514;|&#7840;|&#7852;|&#7862;|&#7680;|&#260;|&#570;|&#11375;|[\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:/(&#42802;|[\uA732])/g},{base:"AE",letters:/(&#198;|&#508;|&#482;|[\u00C6\u01FC\u01E2])/g},{base:"AO",letters:/(&#42804;|[\uA734])/g},{base:"AU",letters:/(&#42806;|[\uA736])/g},{base:"AV",letters:/(&#42808;|&#42810;|[\uA738\uA73A])/g},{base:"AY",letters:/(&#42812;|[\uA73C])/g},{base:"B",letters:/(&#66;|&#9399;|&#65314;|&#7682;|&#7684;|&#7686;|&#579;|&#386;|&#385;|[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181])/g},{base:"C",letters:/(&#67;|&#9400;|&#65315;|&#262;|&#264;|&#266;|&#268;|&#199;|&#7688;|&#391;|&#571;|&#42814;|[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E])/g},{base:"D",letters:/(&#68;|&#9401;|&#65316;|&#7690;|&#270;|&#7692;|&#7696;|&#7698;|&#7694;|&#272;|&#395;|&#394;|&#393;|&#42873;|&#208;|[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779\u00D0])/g},{base:"DZ",letters:/(&#497;|&#452;|[\u01F1\u01C4])/g},{base:"Dz",letters:/(&#498;|&#453;|[\u01F2\u01C5])/g},{base:"E",letters:/(&#69;|&#9402;|&#65317;|&#200;|&#201;|&#202;|&#7872;|&#7870;|&#7876;|&#7874;|&#7868;|&#274;|&#7700;|&#7702;|&#276;|&#278;|&#203;|&#7866;|&#282;|&#516;|&#518;|&#7864;|&#7878;|&#552;|&#7708;|&#280;|&#7704;|&#7706;|&#400;|&#398;|[\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:/(&#70;|&#9403;|&#65318;|&#7710;|&#401;|&#42875;|[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B])/g},{base:"G",letters:/(&#71;|&#9404;|&#65319;|&#500;|&#284;|&#7712;|&#286;|&#288;|&#486;|&#290;|&#484;|&#403;|&#42912;|&#42877;|&#42878;|[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E])/g},{base:"H",letters:/(&#72;|&#9405;|&#65320;|&#292;|&#7714;|&#7718;|&#542;|&#7716;|&#7720;|&#7722;|&#294;|&#11367;|&#11381;|&#42893;|[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D])/g},{base:"I",letters:/(&#73;|&#9406;|&#65321;|&#204;|&#205;|&#206;|&#296;|&#298;|&#300;|&#304;|&#207;|&#7726;|&#7880;|&#463;|&#520;|&#522;|&#7882;|&#302;|&#7724;|&#407;|[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197])/g},{base:"J",letters:/(&#74;|&#9407;|&#65322;|&#308;|&#584;|[\u004A\u24BF\uFF2A\u0134\u0248])/g},{base:"K",letters:/(&#75;|&#9408;|&#65323;|&#7728;|&#488;|&#7730;|&#310;|&#7732;|&#408;|&#11369;|&#42816;|&#42818;|&#42820;|&#42914;|[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2])/g},{base:"L",letters:/(&#76;|&#9409;|&#65324;|&#319;|&#313;|&#317;|&#7734;|&#7736;|&#315;|&#7740;|&#7738;|&#321;|&#573;|&#11362;|&#11360;|&#42824;|&#42822;|&#42880;|[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780])/g},{base:"LJ",letters:/(&#455;|[\u01C7])/g},{base:"Lj",letters:/(&#456;|[\u01C8])/g},{base:"M",letters:/(&#77;|&#9410;|&#65325;|&#7742;|&#7744;|&#7746;|&#11374;|&#412;|[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C])/g},{base:"N",letters:/(&#78;|&#9411;|&#65326;|&#504;|&#323;|&#209;|&#7748;|&#327;|&#7750;|&#325;|&#7754;|&#7752;|&#544;|&#413;|&#42896;|&#42916;|&#330;|[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4\u014A])/g},{base:"NJ",letters:/(&#458;|[\u01CA])/g},{base:"Nj",letters:/(&#459;|[\u01CB])/g},{base:"O",letters:/(&#79;|&#9412;|&#65327;|&#210;|&#211;|&#212;|&#7890;|&#7888;|&#7894;|&#7892;|&#213;|&#7756;|&#556;|&#7758;|&#332;|&#7760;|&#7762;|&#334;|&#558;|&#560;|&#214;|&#554;|&#7886;|&#336;|&#465;|&#524;|&#526;|&#416;|&#7900;|&#7898;|&#7904;|&#7902;|&#7906;|&#7884;|&#7896;|&#490;|&#492;|&#216;|&#510;|&#390;|&#415;|&#42826;|&#42828;|[\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:/(&#338;|[\u0152])/g},{base:"OI",letters:/(&#418;|[\u01A2])/g},{base:"OO",letters:/(&#42830;|[\uA74E])/g},{base:"OU",letters:/(&#546;|[\u0222])/g},{base:"P",letters:/(&#80;|&#9413;|&#65328;|&#7764;|&#7766;|&#420;|&#11363;|&#42832;|&#42834;|&#42836;|[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754])/g},{base:"Q",letters:/(&#81;|&#9414;|&#65329;|&#42838;|&#42840;|&#586;|[\u0051\u24C6\uFF31\uA756\uA758\u024A])/g},{base:"R",letters:/(&#82;|&#9415;|&#65330;|&#340;|&#7768;|&#344;|&#528;|&#530;|&#7770;|&#7772;|&#342;|&#7774;|&#588;|&#11364;|&#42842;|&#42918;|&#42882;|[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782])/g},{base:"S",letters:/(&#83;|&#9416;|&#65331;|&#7838;|&#346;|&#7780;|&#348;|&#7776;|&#352;|&#7782;|&#7778;|&#7784;|&#536;|&#350;|&#11390;|&#42920;|&#42884;|[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784])/g},{base:"T",letters:/(&#84;|&#9417;|&#65332;|&#7786;|&#356;|&#7788;|&#538;|&#354;|&#7792;|&#7790;|&#358;|&#428;|&#430;|&#574;|&#42886;|[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786])/g},{base:"TH",letters:/(&#222;|[\u00DE])/g},{base:"TZ",letters:/(&#42792;|[\uA728])/g},{base:"U",letters:/(&#85;|&#9418;|&#65333;|&#217;|&#218;|&#219;|&#360;|&#7800;|&#362;|&#7802;|&#364;|&#220;|&#475;|&#471;|&#469;|&#473;|&#7910;|&#366;|&#368;|&#467;|&#532;|&#534;|&#431;|&#7914;|&#7912;|&#7918;|&#7916;|&#7920;|&#7908;|&#7794;|&#370;|&#7798;|&#7796;|&#580;|[\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:/(&#86;|&#9419;|&#65334;|&#7804;|&#7806;|&#434;|&#42846;|&#581;|[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245])/g},{base:"VY",letters:/(&#42848;|[\uA760])/g},{base:"W",letters:/(&#87;|&#9420;|&#65335;|&#7808;|&#7810;|&#372;|&#7814;|&#7812;|&#7816;|&#11378;|[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72])/g},{base:"X",letters:/(&#88;|&#9421;|&#65336;|&#7818;|&#7820;|[\u0058\u24CD\uFF38\u1E8A\u1E8C])/g},{base:"Y",letters:/(&#89;|&#9422;|&#65337;|&#7922;|&#221;|&#374;|&#7928;|&#562;|&#7822;|&#376;|&#7926;|&#7924;|&#435;|&#590;|&#7934;|[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE])/g},{base:"Z",letters:/(&#90;|&#9423;|&#65338;|&#377;|&#7824;|&#379;|&#381;|&#7826;|&#7828;|&#437;|&#548;|&#11391;|&#11371;|&#42850;|[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762])/g},{base:"a",letters:/(&#97;|&#9424;|&#65345;|&#7834;|&#224;|&#225;|&#226;|&#7847;|&#7845;|&#7851;|&#7849;|&#227;|&#257;|&#259;|&#7857;|&#7855;|&#7861;|&#7859;|&#551;|&#481;|&#228;|&#479;|&#7843;|&#229;|&#507;|&#462;|&#513;|&#515;|&#7841;|&#7853;|&#7863;|&#7681;|&#261;|&#11365;|&#592;|[\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:/(&#42803;|[\uA733])/g},{base:"ae",letters:/(&#230;|&#509;|&#483;|[\u00E6\u01FD\u01E3])/g},{base:"ao",letters:/(&#42805;|[\uA735])/g},{base:"au",letters:/(&#42807;|[\uA737])/g},{base:"av",letters:/(&#42809;|&#42811;|[\uA739\uA73B])/g},{base:"ay",letters:/(&#42813;|[\uA73D])/g},{base:"b",letters:/(&#98;|&#9425;|&#65346;|&#7683;|&#7685;|&#7687;|&#384;|&#387;|&#595;|[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253])/g},{base:"c",letters:/(&#99;|&#9426;|&#65347;|&#263;|&#265;|&#267;|&#269;|&#231;|&#7689;|&#392;|&#572;|&#42815;|&#8580;|[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184])/g},{base:"d",letters:/(&#100;|&#9427;|&#65348;|&#7691;|&#271;|&#7693;|&#7697;|&#7699;|&#7695;|&#273;|&#396;|&#598;|&#599;|&#42874;|&#240;|[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A\u00F0])/g},{base:"dz",letters:/(&#499;|&#454;|[\u01F3\u01C6])/g},{base:"e",letters:/(&#101;|&#9428;|&#65349;|&#232;|&#233;|&#234;|&#7873;|&#7871;|&#7877;|&#7875;|&#7869;|&#275;|&#7701;|&#7703;|&#277;|&#279;|&#235;|&#7867;|&#283;|&#517;|&#519;|&#7865;|&#7879;|&#553;|&#7709;|&#281;|&#7705;|&#7707;|&#583;|&#603;|&#477;|[\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:/(&#102;|&#9429;|&#65350;|&#7711;|&#402;|&#42876;|[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C])/g},{base:"g",letters:/(&#103;|&#9430;|&#65351;|&#501;|&#285;|&#7713;|&#287;|&#289;|&#487;|&#291;|&#485;|&#608;|&#42913;|&#7545;|&#42879;|[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F])/g},{base:"h",letters:/(&#104;|&#9431;|&#65352;|&#293;|&#7715;|&#7719;|&#543;|&#7717;|&#7721;|&#7723;|&#7830;|&#295;|&#11368;|&#11382;|&#613;|[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265])/g},{base:"hv",letters:/(&#405;|[\u0195])/g},{base:"i",letters:/(&#105;|&#9432;|&#65353;|&#236;|&#237;|&#238;|&#297;|&#299;|&#301;|&#239;|&#7727;|&#7881;|&#464;|&#521;|&#523;|&#7883;|&#303;|&#7725;|&#616;|&#305;|[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131])/g},{base:"ij",letters:/(&#307;|[\u0133])/g},{base:"j",letters:/(&#106;|&#9433;|&#65354;|&#309;|&#496;|&#585;|[\u006A\u24D9\uFF4A\u0135\u01F0\u0249])/g},{base:"k",letters:/(&#107;|&#9434;|&#65355;|&#7729;|&#489;|&#7731;|&#311;|&#7733;|&#409;|&#11370;|&#42817;|&#42819;|&#42821;|&#42915;|[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3])/g},{base:"l",letters:/(&#108;|&#9435;|&#65356;|&#320;|&#314;|&#318;|&#7735;|&#7737;|&#316;|&#7741;|&#7739;|&#322;|&#410;|&#619;|&#11361;|&#42825;|&#42881;|&#42823;|[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u0142\u019A\u026B\u2C61\uA749\uA781\uA747])/g},{base:"lj",letters:/(&#457;|[\u01C9])/g},{base:"m",letters:/(&#109;|&#9436;|&#65357;|&#7743;|&#7745;|&#7747;|&#625;|&#623;|[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F])/g},{base:"n",letters:/(&#110;|&#9437;|&#65358;|&#505;|&#324;|&#241;|&#7749;|&#328;|&#7751;|&#326;|&#7755;|&#7753;|&#414;|&#626;|&#329;|&#42897;|&#42917;|&#331;|[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5\u014B])/g},{base:"nj",letters:/(&#460;|[\u01CC])/g},{base:"o",letters:/(&#111;|&#9438;|&#65359;|&#242;|&#243;|&#244;|&#7891;|&#7889;|&#7895;|&#7893;|&#245;|&#7757;|&#557;|&#7759;|&#333;|&#7761;|&#7763;|&#335;|&#559;|&#561;|&#246;|&#555;|&#7887;|&#337;|&#466;|&#525;|&#527;|&#417;|&#7901;|&#7899;|&#7905;|&#7903;|&#7907;|&#7885;|&#7897;|&#491;|&#493;|&#248;|&#511;|&#596;|&#42827;|&#42829;|&#629;|[\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:/(&#339;|[\u0153])/g},{base:"oi",letters:/(&#419;|[\u01A3])/g},{base:"ou",letters:/(&#547;|[\u0223])/g},{base:"oo",letters:/(&#42831;|[\uA74F])/g},{base:"p",letters:/(&#112;|&#9439;|&#65360;|&#7765;|&#7767;|&#421;|&#7549;|&#42833;|&#42835;|&#42837;|[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755])/g},{base:"q",letters:/(&#113;|&#9440;|&#65361;|&#587;|&#42839;|&#42841;|[\u0071\u24E0\uFF51\u024B\uA757\uA759])/g},{base:"r",letters:/(&#114;|&#9441;|&#65362;|&#341;|&#7769;|&#345;|&#529;|&#531;|&#7771;|&#7773;|&#343;|&#7775;|&#589;|&#637;|&#42843;|&#42919;|&#42883;|[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783])/g},{base:"s",letters:/(&#115;|&#9442;|&#65363;|&#347;|&#7781;|&#349;|&#7777;|&#353;|&#7783;|&#7779;|&#7785;|&#537;|&#351;|&#575;|&#42921;|&#42885;|&#7835;|&#383;|[\u0073\u24E2\uFF53\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B\u017F])/g},{base:"ss",letters:/(&#223;|[\u00DF])/g},{base:"t",letters:/(&#116;|&#9443;|&#65364;|&#7787;|&#7831;|&#357;|&#7789;|&#539;|&#355;|&#7793;|&#7791;|&#359;|&#429;|&#648;|&#11366;|&#42887;|[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787])/g},{base:"th",letters:/(&#254;|[\u00FE])/g},{base:"tz",letters:/(&#42793;|[\uA729])/g},{base:"u",letters:/(&#117;|&#9444;|&#65365;|&#249;|&#250;|&#251;|&#361;|&#7801;|&#363;|&#7803;|&#365;|&#252;|&#476;|&#472;|&#470;|&#474;|&#7911;|&#367;|&#369;|&#468;|&#533;|&#535;|&#432;|&#7915;|&#7913;|&#7919;|&#7917;|&#7921;|&#7909;|&#7795;|&#371;|&#7799;|&#7797;|&#649;|[\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:/(&#118;|&#9445;|&#65366;|&#7805;|&#7807;|&#651;|&#42847;|&#652;|[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C])/g},{base:"vy",letters:/(&#42849;|[\uA761])/g},{base:"w",letters:/(&#119;|&#9446;|&#65367;|&#7809;|&#7811;|&#373;|&#7815;|&#7813;|&#7832;|&#7817;|&#11379;|[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73])/g},{base:"x",letters:/(&#120;|&#9447;|&#65368;|&#7819;|&#7821;|[\u0078\u24E7\uFF58\u1E8B\u1E8D])/g},{base:"y",letters:/(&#121;|&#9448;|&#65369;|&#7923;|&#253;|&#375;|&#7929;|&#563;|&#7823;|&#255;|&#7927;|&#7833;|&#7925;|&#436;|&#591;|&#7935;|[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF])/g},{base:"z",letters:/(&#122;|&#9449;|&#65370;|&#378;|&#7825;|&#380;|&#382;|&#7827;|&#7829;|&#438;|&#549;|&#576;|&#11372;|&#42851;|[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763])/g}],s2e=function(e){return function(e){var t=e;return a2e.forEach((function(e){t=t.replace(e.letters,e.base)})),t}(e).toLowerCase()},l2e=function(e,t,n){return n?s2e(e).indexOf(s2e(t)):e.toLowerCase().indexOf(t.toLowerCase())},u2e=function(e){return"number"==typeof e},c2e=function(e){return e===Object(e)?Object.keys(e):[]},d2e=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 o=(t=[]).concat.apply(t,i);return Object.keys(e).reduce((function(t,n){return e.hasOwnProperty(n)&&!o.includes(n)&&void 0!==e[n]&&(t[n]=e[n]),t}),{})};function p2e(e,t){return function(n){var i=function(i){var r=i.style,o=i.className,a=i.classNames,s=c1e(i,["style","className","classNames"]),l=t?t(s):void 0,u=U1e(e,{style:r,className:o,classNames:a},l);return g.default.createElement(n,H0e({},s,{style:u}))},r=n.displayName||n.name||"Component";return i.displayName="defaultStyle(".concat(r,")"),i}}var h2e=function(e){function t(){var e;return K0e(this,t),l1e(i1e(e=r1e(this,o1e(t).apply(this,arguments))),"setCaretElement",(function(t){e.caretElement=t})),e.state={left:void 0,top:void 0},e}return s1e(t,e),e1e(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,o=n.value,a=n.style,s=n.children,l=n.containerRef,u=r2e(s);i===r&&(e=K1e(o,u,i,"START"));var c=[],d={},p=c,h=0;return Z1e(o,u,(function(e,n,i,r,o,a,s){var l=function(e,t){return e.hasOwnProperty(t)?e[t]++:e[t]=0,t+"_"+e[t]}(d,r);p.push(t.getMentionComponentForMatch(r,o,a,l))}),(function(n,i,r){if(u2e(e)&&e>=i&&e<=i+n.length){var o=e-i;p.push(t.renderSubstring(n.substring(0,o),h)),p=[t.renderSubstring(n.substring(o),h)]}else p.push(t.renderSubstring(n,h));h++})),p.push(" "),p!==c&&c.push(this.renderHighlighterCaret(p)),g.default.createElement("div",H0e({},a,{ref:l}),c)}},{key:"renderSubstring",value:function(e,t){return g.default.createElement("span",H0e({},this.props.style("substring"),{key:t}),e)}},{key:"getMentionComponentForMatch",value:function(e,t,n,r){var o={id:e,display:t,key:r},a=i.Children.toArray(this.props.children)[n];return g.default.cloneElement(a,o)}},{key:"renderHighlighterCaret",value:function(e){return g.default.createElement("span",H0e({},this.props.style("caret"),{ref:this.setCaretElement,key:"caret"}),e)}}]),t}(i.Component);l1e(h2e,"propTypes",{selectionStart:AW.number,selectionEnd:AW.number,value:AW.string.isRequired,onCaretPositionChange:AW.func.isRequired,containerRef:AW.oneOfType([AW.func,AW.shape({current:"undefined"==typeof Element?AW.any:AW.instanceOf(Element)})]),children:AW.oneOfType([AW.element,AW.arrayOf(AW.element)]).isRequired}),l1e(h2e,"defaultProps",{value:""});var f2e=p2e({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}}))(h2e),m2e=function(e){function t(){return K0e(this,t),r1e(this,o1e(t).apply(this,arguments))}return s1e(t,e),e1e(t,[{key:"render",value:function(){var e=d2e(this.props,["style","classNames","className"],c2e(t.propTypes));return g.default.createElement("li",H0e({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,o=e.focused,a=this.getDisplay(),s=this.renderHighlightedDisplay(a,t);return n?n(i,t,s,r,o):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,o=l2e(e,i,n);return-1===o?g.default.createElement("span",r("display"),e):g.default.createElement("span",r("display"),e.substring(0,o),g.default.createElement("b",r("highlight"),e.substring(o,o+i.length)),e.substring(o+i.length))}}]),t}(i.Component);l1e(m2e,"propTypes",{id:AW.string.isRequired,query:AW.string.isRequired,index:AW.number.isRequired,ignoreAccents:AW.bool,suggestion:AW.oneOfType([AW.string,AW.shape({id:AW.oneOfType([AW.string,AW.number]).isRequired,display:AW.string})]).isRequired,renderSuggestion:AW.func,focused:AW.bool});var g2e=p2e({cursor:"pointer"},(function(e){return{"&focused":e.focused}}))(m2e);function v2e(){var e=U1e(),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 y2e=function(e){function t(){var e,n;K0e(this,t);for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return l1e(i1e(n=r1e(this,(e=o1e(t)).call.apply(e,[this].concat(r)))),"handleMouseEnter",(function(e,t){n.props.onMouseEnter&&n.props.onMouseEnter(e)})),l1e(i1e(n),"select",(function(e,t){n.props.onSelect(e,t)})),l1e(i1e(n),"setUlElement",(function(e){n.ulElement=e})),n}return s1e(t,e),e1e(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,o=e.onMouseDown,a=e.containerRef,s=e.position,l=e.left,u=e.top;return i?g.default.createElement("div",H0e({},N1e({position:s||"absolute",left:l,top:u},r),{onMouseDown:o,ref:a}),g.default.createElement("ul",H0e({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(Z0e(t),Z0e(i.map((function(n,i){return e.renderSuggestion(n,r,t.length+i)}))))}),[])}},{key:"renderSuggestion",value:function(e,t,n){var r=this,o=n===this.props.focusIndex,a=t.childIndex,s=t.query,l=i.Children.toArray(this.props.children)[a].props.renderSuggestion,u=this.props.ignoreAccents;return g.default.createElement(g2e,{style:this.props.style("item"),key:"".concat(a,"-").concat(b2e(e)),id:t2e(this.props.id,n),query:s,index:n,ignoreAccents:u,renderSuggestion:l,suggestion:e,focused:o,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(v2e,{style:this.props.style("loadingIndicator")})}}]),t}(i.Component);l1e(y2e,"propTypes",{id:AW.string.isRequired,suggestions:AW.object.isRequired,a11ySuggestionsListLabel:AW.string,focusIndex:AW.number,position:AW.string,left:AW.number,top:AW.number,scrollFocusedIntoView:AW.bool,isLoading:AW.bool,isOpened:AW.bool.isRequired,onSelect:AW.func,ignoreAccents:AW.bool,containerRef:AW.oneOfType([AW.func,AW.shape({current:"undefined"==typeof Element?AW.any:AW.instanceOf(Element)})]),children:AW.oneOfType([AW.element,AW.arrayOf(AW.element)]).isRequired}),l1e(y2e,"defaultProps",{suggestions:{},onSelect:function(){return null}});var b2e=function(e){return"string"==typeof e?e:e.id},O2e=p2e({zIndex:1,backgroundColor:"white",marginTop:14,minWidth:100,list:{margin:0,padding:0,listStyleType:"none"}})(y2e);function _2e(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 w2e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_2e(n,!0).forEach((function(t){l1e(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_2e(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var x2e={TAB:9,RETURN:13,ESC:27,UP:38,DOWN:40},k2e=!1,S2e={singleLine:AW.bool,allowSpaceInQuery:AW.bool,allowSuggestionsAboveCursor:AW.bool,forceSuggestionsAboveCursor:AW.bool,ignoreAccents:AW.bool,a11ySuggestionsListLabel:AW.string,value:AW.string,onKeyDown:AW.func,onSelect:AW.func,onBlur:AW.func,onChange:AW.func,suggestionsPortalHost:"undefined"==typeof Element?AW.any:AW.PropTypes.instanceOf(Element),inputRef:AW.oneOfType([AW.func,AW.shape({current:"undefined"==typeof Element?AW.any:AW.instanceOf(Element)})]),children:AW.oneOfType([AW.element,AW.arrayOf(AW.element)]).isRequired},P2e=function(e){function t(e){var n;return K0e(this,t),l1e(i1e(n=r1e(this,o1e(t).call(this,e))),"setContainerElement",(function(e){n.containerElement=e})),l1e(i1e(n),"getInputProps",(function(){var e=n.props,t=e.readOnly,i=e.disabled,r=e.style;return w2e({},d2e(n.props,["style","classNames","className"],c2e(S2e)),{},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":t2e(n.uuidSuggestionsOverlay,n.state.focusIndex)})})),l1e(i1e(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))})),l1e(i1e(n),"renderInput",(function(e){return g.default.createElement("input",H0e({type:"text",ref:n.setInputRef},e))})),l1e(i1e(n),"renderTextarea",(function(e){return g.default.createElement("textarea",H0e({ref:n.setInputRef},e))})),l1e(i1e(n),"setInputRef",(function(e){n.inputElement=e;var t=n.props.inputRef;"function"==typeof t?t(e):t&&(t.current=e)})),l1e(i1e(n),"setSuggestionsElement",(function(e){n.suggestionsElement=e})),l1e(i1e(n),"renderSuggestionsOverlay",(function(){if(!u2e(n.state.selectionStart))return null;var e=n.state.suggestionsPosition,t=e.position,i=e.left,r=e.top,o=g.default.createElement(O2e,{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(o,n.props.suggestionsPortalHost):o})),l1e(i1e(n),"renderHighlighter",(function(){var e=n.state,t=e.selectionStart,i=e.selectionEnd,r=n.props,o=r.singleLine,a=r.children,s=r.value,l=r.style;return g.default.createElement(f2e,{containerRef:n.setHighlighterElement,style:l("highlighter"),value:s,singleLine:o,selectionStart:t,selectionEnd:i,onCaretPositionChange:n.handleCaretPositionChange},a)})),l1e(i1e(n),"setHighlighterElement",(function(e){n.highlighterElement=e})),l1e(i1e(n),"handleCaretPositionChange",(function(e){n.setState({caretPosition:e})})),l1e(i1e(n),"getPlainText",(function(){return H1e(n.props.value||"",r2e(n.props.children))})),l1e(i1e(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 o,a;return n.props.onChange?(o=n.props).onChange.apply(o,[e].concat(i)):n.props.valueLink?(a=n.props.valueLink).requestChange.apply(a,[e.target.value].concat(i)):void 0})),l1e(i1e(n),"handleChange",(function(e){if(k2e=!1,(document.activeElement&&document.activeElement.contentDocument||document).activeElement===e.target){var t=n.props.value||"",i=r2e(n.props.children),r=e.target.value,o=function(e,t,n,i){var r=n.selectionStartBefore,o=n.selectionEndBefore,a=n.selectionEndAfter,s=H1e(e,i),l=s.length-t.length;"undefined"===r&&(r=a+l),"undefined"===o&&(o=r),r===o&&o===a&&s.length===t.length&&(r-=1);var u=t.slice(r,a),c=Math.min(r,a),d=o;r===a&&(d=Math.max(o,r+l));var p=K1e(e,i,c,"START"),h=K1e(e,i,d,"END"),f=K1e(e,i,c,"NULL"),m=K1e(e,i,d,"NULL"),g=null===f||null===m,v=J1e(e,p,h,u);if(!g){var y=H1e(v,i);if(y!==t){for(c=0;t[c]===y[c];)c++;u=t.slice(c,a),d=s.lastIndexOf(t.substring(a)),p=K1e(e,i,c,"START"),h=K1e(e,i,d,"END"),v=J1e(e,p,h,u)}}return v}(t,r,{selectionStartBefore:n.state.selectionStart,selectionEndBefore:n.state.selectionEnd,selectionEndAfter:e.target.selectionEnd},i);r=H1e(o,i);var a=e.target.selectionStart,s=e.target.selectionEnd,l=!1,u=function(e,t,n){var i=n,r=!1;if(Z1e(e,t,(function(e,t,o,a,s,l,u){o<=n&&o+s.length>n&&(i=o,r=!0)})),r)return i}(t,i,a);void 0!==u&&n.state.selectionEnd>u&&(s=a=u,l=!0),n.setState({selectionStart:a,selectionEnd:s,setSelectionAfterMentionChange:l});var c=e2e(o,i),d={target:{value:o}};n.executeOnChange(d,o,r,c)}})),l1e(i1e(n),"handleSelect",(function(e){if(n.setState({selectionStart:e.target.selectionStart,selectionEnd:e.target.selectionEnd}),!k2e){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)}})),l1e(i1e(n),"handleKeyDown",(function(e){if(0!==n2e(n.state.suggestions)&&n.suggestionsElement)switch(Object.values(x2e).indexOf(e.keyCode)>=0&&(e.preventDefault(),e.stopPropagation()),e.keyCode){case x2e.ESC:return void n.clearSuggestions();case x2e.DOWN:return void n.shiftFocus(1);case x2e.UP:return void n.shiftFocus(-1);case x2e.RETURN:case x2e.TAB:return void n.selectFocused();default:return}else n.props.onKeyDown(e)})),l1e(i1e(n),"shiftFocus",(function(e){var t=n2e(n.state.suggestions);n.setState({focusIndex:(t+n.state.focusIndex+e)%t,scrollFocusedIntoView:!0})})),l1e(i1e(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(Z0e(e),Z0e(n.map((function(e){return{result:e,queryInfo:i}}))))}),[])[i],o=r.result,a=r.queryInfo;n.addMention(o,a),n.setState({focusIndex:0})})),l1e(i1e(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)})),l1e(i1e(n),"handleSuggestionsMouseDown",(function(e){n._suggestionsMouseDown=!0})),l1e(i1e(n),"handleSuggestionsMouseEnter",(function(e){n.setState({focusIndex:e,scrollFocusedIntoView:!1})})),l1e(i1e(n),"updateSuggestionsPosition",(function(){var e=n.state.caretPosition,t=n.props,i=t.suggestionsPortalHost,r=t.allowSuggestionsAboveCursor,o=t.forceSuggestionsAboveCursor;if(e&&n.suggestionsElement){var a=n.suggestionsElement,s=n.highlighterElement,l=s.getBoundingClientRect(),u=E2e(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(a){var p={};if(i){p.position="fixed";var h=c.left,f=c.top;h-=E2e(a,"margin-left"),f-=E2e(a,"margin-top"),h-=s.scrollLeft,f-=s.scrollTop;var m=Math.max(document.documentElement.clientWidth,window.innerWidth||0);h+a.offsetWidth>m?p.left=Math.max(0,m-a.offsetWidth):p.left=h,r&&f+a.offsetHeight>d&&a.offsetHeight<f-u||o?p.top=Math.max(0,f-a.offsetHeight-u):p.top=f}else{var g=e.left-s.scrollLeft,v=e.top-s.scrollTop;g+a.offsetWidth>n.containerElement.offsetWidth?p.right=0:p.left=g,r&&c.top-s.scrollTop+a.offsetHeight>d&&a.offsetHeight<l.top-u-s.scrollTop?p.top=v-a.offsetHeight-u:p.top=v}p.left===n.state.suggestionsPosition.left&&p.top===n.state.suggestionsPosition.top&&p.position===n.state.suggestionsPosition.position||n.setState({suggestionsPosition:p})}}})),l1e(i1e(n),"updateHighlighterScroll",(function(){var e=n.inputElement,t=n.highlighterElement;e&&t&&(t.scrollLeft=e.scrollLeft,t.scrollTop=e.scrollTop,t.height=e.height)})),l1e(i1e(n),"handleCompositionStart",(function(){k2e=!0})),l1e(i1e(n),"handleCompositionEnd",(function(){k2e=!1})),l1e(i1e(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()}}})),l1e(i1e(n),"updateMentionsQueries",(function(e,t){n._queryId++,n.suggestions={},n.setState({suggestions:{}});var i=n.props.value||"",r=n.props.children,o=r2e(r),a=K1e(i,o,t,"NULL");if(null!==a){var s=function(e,t){var n=e2e(e,t),i=n[n.length-1];return i?i.plainTextIndex+i.display.length:0}(i.substring(0,a),o),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=B1e(e);return new RegExp("(?:^|\\s)(".concat(i,"([^").concat(n?"":"\\s").concat(i,"]*))$"))}(t.props.trigger,n.props),o=l.match(r);if(o){var a=s+l.indexOf(o[1],o.index);n.queryData(o[2],i,a,a+o[1].length,e)}}}))}})),l1e(i1e(n),"clearSuggestions",(function(){n._queryId++,n.suggestions={},n.setState({suggestions:{},focusIndex:0})})),l1e(i1e(n),"queryData",(function(e,t,r,o,a){var s=n.props,l=s.children,u=s.ignoreAccents,c=function(e,t){return e instanceof Array?function(n,i){for(var r=[],o=0,a=e.length;o<a;++o){var s=e[o].display||e[o].id;l2e(s,n,t)>=0&&r.push(e[o])}return r}:e}(i.Children.toArray(l)[t].props.data,u),d=c(e,n.updateSuggestions.bind(null,n._queryId,t,e,r,o,a));d instanceof Array&&n.updateSuggestions(n._queryId,t,e,r,o,a,d)})),l1e(i1e(n),"updateSuggestions",(function(e,t,i,r,o,a,s){if(e===n._queryId){n.suggestions=w2e({},n.suggestions,l1e({},t,{queryInfo:{childIndex:t,query:i,querySequenceStart:r,querySequenceEnd:o,plainTextValue:a},results:s}));var l=n.state.focusIndex,u=n2e(n.suggestions);n.setState({suggestions:n.suggestions,focusIndex:l>=u?Math.max(u-1,0):l})}})),l1e(i1e(n),"addMention",(function(e,t){var r=e.id,o=e.display,a=t.childIndex,s=t.querySequenceStart,l=t.querySequenceEnd,u=t.plainTextValue,c=n.props.value||"",d=r2e(n.props.children),p=i.Children.toArray(n.props.children)[a].props,h=p.markup,f=p.displayTransform,m=p.appendSpaceOnAdd,g=p.onAdd,v=K1e(c,d,s,"START"),y=v+l-s,b=function(e,t,n){return e.replace(q1e,t).replace(G1e,n)}(h,r,o);m&&(b+=" ");var O=J1e(c,v,y,b);n.inputElement.focus();var _=f(r,o);m&&(_+=" ");var w=s+_.length;n.setState({selectionStart:w,selectionEnd:w,setSelectionAfterMentionChange:!0});var x={target:{value:O}},k=e2e(O,d),S=J1e(u,s,l,_);n.executeOnChange(x,O,S,k),g&&g(r,o,v,y),n.clearSuggestions()})),l1e(i1e(n),"isLoading",(function(){var e=!1;return g.default.Children.forEach(n.props.children,(function(t){e=e||t&&t.props.isLoading})),e})),l1e(i1e(n),"isOpened",(function(){return u2e(n.state.selectionStart)&&(0!==n2e(n.state.suggestions)||n.isLoading())})),l1e(i1e(n),"_queryId",0),n.suggestions={},n.uuidSuggestionsOverlay=Math.random().toString(16).substring(2),n.handleCopy=n.handleCopy.bind(i1e(n)),n.handleCut=n.handleCut.bind(i1e(n)),n.handlePaste=n.handlePaste.bind(i1e(n)),n.state={focusIndex:0,selectionStart:null,selectionEnd:null,suggestions:{},caretPosition:null,suggestionsPosition:{}},n}return s1e(t,e),e1e(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",H0e({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,o=r.value,a=r.children,s=r2e(a),l=K1e(o,s,n,"START"),u=K1e(o,s,i,"END"),c=e.clipboardData.getData("text/react-mentions"),d=e.clipboardData.getData("text/plain"),p=J1e(o,l,u,c||d).replace(/\r/g,""),h=H1e(p,s),f={target:w2e({},e.target,{value:p})};this.executeOnChange(f,p,h,e2e(p,s))}}},{key:"saveSelectionToClipboard",value:function(e){var t=this.state,n=t.selectionStart,i=t.selectionEnd,r=this.props,o=r.children,a=r.value,s=r2e(o),l=K1e(a,s,n,"START"),u=K1e(a,s,i,"END");e.clipboardData.setData("text/plain",e.target.value.slice(n,i)),e.clipboardData.setData("text/react-mentions",a.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,o=r.children,a=r.value,s=r2e(o),l=K1e(a,s,n,"START"),u=K1e(a,s,i,"END"),c=[a.slice(0,l),a.slice(u)].join(""),d=H1e(c,s),p={target:w2e({},e.target,{value:d})};this.executeOnChange(p,c,d,e2e(a,s))}}}]),t}(g.default.Component);l1e(P2e,"propTypes",S2e),l1e(P2e,"defaultProps",{ignoreAccents:!1,singleLine:!1,allowSuggestionsAboveCursor:!1,onKeyDown:function(){return null},onSelect:function(){return null},onBlur:function(){return null}});var E2e=function(e,t){var n=parseFloat(window.getComputedStyle(e,null).getPropertyValue(t));return isFinite(n)?n:0},C2e=p2e({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:w2e({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}}))(P2e),F2e={fontWeight:"inherit"},T2e=function(e){var t=e.display,n=e.style,i=e.className,r=e.classNames,o=U1e(F2e,{style:n,className:i,classNames:r});return g.default.createElement("strong",o,t)};T2e.propTypes={onAdd:AW.func,onRemove:AW.func,renderSuggestion:AW.func,trigger:AW.oneOfType([AW.string,AW.instanceOf(RegExp)]),markup:AW.string,displayTransform:AW.func,allowSpaceInQuery:AW.bool,isLoading:AW.bool},T2e.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 D2e=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 A2e(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),i=D2e.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 I2e=[".DS_Store","Thumbs.db"];function L2e(e){return Po(this,void 0,void 0,(function(){return Eo(this,(function(t){return[2,(n=e,n.dataTransfer&&e.dataTransfer?z2e(e.dataTransfer,e.type):$2e(e))];var n}))}))}function $2e(e){return(null!==e.target&&e.target.files?j2e(e.target.files):[]).map((function(e){return A2e(e)}))}function z2e(e,t){return Po(this,void 0,void 0,(function(){var n;return Eo(this,(function(i){switch(i.label){case 0:return e.items?(n=j2e(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(M2e))]):[3,2];case 1:return[2,R2e(Q2e(i.sent()))];case 2:return[2,R2e(j2e(e.files).map((function(e){return A2e(e)})))]}}))}))}function R2e(e){return e.filter((function(e){return-1===I2e.indexOf(e.name)}))}function j2e(e){for(var t=[],n=0;n<e.length;n++){var i=e[n];t.push(i)}return t}function M2e(e){if("function"!=typeof e.webkitGetAsEntry)return N2e(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?B2e(t):N2e(e)}function Q2e(e){return e.reduce((function(e,t){return Do(e,Array.isArray(t)?Q2e(t):[t])}),[])}function N2e(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var n=A2e(t);return Promise.resolve(n)}function U2e(e){return Po(this,void 0,void 0,(function(){return Eo(this,(function(t){return[2,e.isDirectory?B2e(e):q2e(e)]}))}))}function B2e(e){var t=e.createReader();return new Promise((function(e,n){var i=[];!function r(){var o=this;t.readEntries((function(t){return Po(o,void 0,void 0,(function(){var o,a,s;return Eo(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 o=l.sent(),e(o),[3,4];case 3:return a=l.sent(),n(a),[3,4];case 4:return[3,6];case 5:s=Promise.all(t.map(U2e)),i.push(s),r(),l.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function q2e(e){return Po(this,void 0,void 0,(function(){return Eo(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var i=A2e(n,e.fullPath);t(i)}),(function(e){n(e)}))}))]}))}))}function G2e(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(),o=r.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?i.toLowerCase().endsWith(t):t.endsWith("/*")?o===t.replace(/\/.*$/,""):r===t}))}return!0}(e,t)}function W2e(e,t,n){if(X2e(e.size)){if(X2e(t)&&X2e(n))return e.size>=t&&e.size<=n;if(X2e(t))return e.size>=t;if(X2e(n))return e.size<=n}return!0}function X2e(e){return null!=e}function V2e(e,t,n,i){return e.every((function(e){return G2e(e,t)&&W2e(e,n,i)}))}function Y2e(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function Z2e(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 H2e(e){e.preventDefault()}function K2e(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function J2e(e){return-1!==e.indexOf("Edge/")}function e3e(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return K2e(e)||J2e(e)}function t3e(){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!Y2e(e)&&t&&t.apply(void 0,[e].concat(i)),Y2e(e)}))}}function n3e(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 i3e(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,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{i||null==s.return||s.return()}finally{if(r)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function r3e(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 o3e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r3e(n,!0).forEach((function(t){a3e(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r3e(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a3e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s3e(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},o=Object.keys(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var l3e=i.forwardRef((function(e,t){var n=e.children,r=d3e(s3e(e,["children"])),o=r.open,a=s3e(r,["open"]);return i.useImperativeHandle(t,(function(){return{open:o}}),[o]),g.default.createElement(i.Fragment,null,n(o3e({},a,{open:o})))}));l3e.displayName="Dropzone",l3e.propTypes={children:AW.func,accept:AW.oneOfType([AW.string,AW.arrayOf(AW.string)]),multiple:AW.bool,preventDropOnDocument:AW.bool,noClick:AW.bool,noKeyboard:AW.bool,noDrag:AW.bool,noDragEventsBubbling:AW.bool,minSize:AW.number,maxSize:AW.number,disabled:AW.bool,getFilesFromEvent:AW.func,onFileDialogCancel:AW.func,onDragEnter:AW.func,onDragLeave:AW.func,onDragOver:AW.func,onDrop:AW.func,onDropAccepted:AW.func,onDropRejected:AW.func};var u3e,c3e={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],rejectedFiles:[]};function d3e(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.accept,n=e.disabled,r=void 0!==n&&n,o=e.getFilesFromEvent,a=void 0===o?L2e:o,s=e.maxSize,l=void 0===s?1/0:s,u=e.minSize,c=void 0===u?0:u,d=e.multiple,p=void 0===d||d,h=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,x=void 0!==w&&w,k=e.noKeyboard,S=void 0!==k&&k,P=e.noDrag,E=void 0!==P&&P,C=e.noDragEventsBubbling,F=void 0!==C&&C,T=i.useRef(null),D=i.useRef(null),A=i.useReducer(p3e,c3e),I=i3e(A,2),L=I[0],$=I[1],z=L.isFocused,R=L.isFileDialogActive,j=L.draggedFiles,M=i.useCallback((function(){D.current&&($({type:"openDialog"}),D.current.value=null,D.current.click())}),[$]),Q=function(){R&&setTimeout((function(){D.current&&(D.current.files.length||($({type:"closeDialog"}),"function"==typeof b&&b()))}),300)};i.useEffect((function(){return window.addEventListener("focus",Q,!1),function(){window.removeEventListener("focus",Q,!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(),M()))}),[T,D]),U=i.useCallback((function(){$({type:"focus"})}),[]),B=i.useCallback((function(){$({type:"blur"})}),[]),q=i.useCallback((function(){x||(e3e()?setTimeout(M,0):M())}),[D,x]),G=i.useRef([]),W=function(e){T.current&&T.current.contains(e.target)||(e.preventDefault(),G.current=[])};i.useEffect((function(){return _&&(document.addEventListener("dragover",H2e,!1),document.addEventListener("drop",W,!1)),function(){_&&(document.removeEventListener("dragover",H2e),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(n3e(G.current),[e.target])),Z2e(e)&&Promise.resolve(a(e)).then((function(t){Y2e(e)&&!F||($({draggedFiles:t,isDragActive:!0,type:"setDraggedFiles"}),h&&h(e))}))}),[a,h,F]),V=i.useCallback((function(e){if(e.preventDefault(),e.persist(),ee(e),e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return Z2e(e)&&m&&m(e),!1}),[m,F]),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||($({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),Z2e(e)&&f&&f(e))}),[T,f,F]),Z=i.useCallback((function(e){e.preventDefault(),e.persist(),ee(e),G.current=[],$({type:"reset"}),Z2e(e)&&Promise.resolve(a(e)).then((function(n){if(!Y2e(e)||F){var i=[],r=[];n.forEach((function(e){G2e(e,t)&&W2e(e,c,l)?i.push(e):r.push(e)})),!p&&i.length>1&&r.push.apply(r,n3e(i.splice(0))),$({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)}}))}),[p,t,c,l,a,g,v,y,F]),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){F&&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,o=e.onFocus,a=e.onBlur,s=e.onClick,l=e.onDragEnter,u=e.onDragOver,c=e.onDragLeave,d=e.onDrop,p=s3e(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return o3e(a3e({onKeyDown:K(t3e(i,N)),onFocus:K(t3e(o,U)),onBlur:K(t3e(a,B)),onClick:H(t3e(s,q)),onDragEnter:J(t3e(l,X)),onDragOver:J(t3e(u,V)),onDragLeave:J(t3e(c,Y)),onDrop:J(t3e(d,Z))},n,T),r||S?{}:{tabIndex:0},{},p)}}),[T,N,U,B,q,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,o=e.onClick,a=s3e(e,["refKey","onChange","onClick"]),s=a3e({accept:t,multiple:p,type:"file",style:{display:"none"},onChange:H(t3e(r,Z)),onClick:H(t3e(o,ne)),autoComplete:"off",tabIndex:-1},i,D);return o3e({},s,{},a)}}),[D,t,p,Z,r]),re=j.length,oe=p||re<=1,ae=re>0&&V2e(j,t,c,l),se=re>0&&(!ae||!oe);return o3e({},L,{isDragAccept:ae,isDragReject:se,isFocused:z&&!r,getRootProps:te,getInputProps:ie,rootRef:T,inputRef:D,open:H(M)})}function p3e(e,t){switch(t.type){case"focus":return o3e({},e,{isFocused:!0});case"blur":return o3e({},e,{isFocused:!1});case"openDialog":return o3e({},e,{isFileDialogActive:!0});case"closeDialog":return o3e({},e,{isFileDialogActive:!1});case"setDraggedFiles":var n=t.isDragActive;return o3e({},e,{draggedFiles:t.draggedFiles,isDragActive:n});case"setFiles":return o3e({},e,{acceptedFiles:t.acceptedFiles,rejectedFiles:t.rejectedFiles});case"reset":return o3e({},e,{isFileDialogActive:!1,isDragActive:!1,draggedFiles:[]});default:return e}}!function(e){e.BOTH="both",e.MOUSE="mouse",e.TOUCH="touch"}(u3e||(u3e={}));var h3e={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 o=n(3),a=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,a=void 0===r?-1:r,u=e.activeStyle,c=e.autoEscape,d=e.caseSensitive,p=void 0!==d&&d,h=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,x=e.textToHighlight,k=e.unhighlightClassName,S=void 0===k?"":k,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"]),C=(0,o.findAll)({autoEscape:c,caseSensitive:p,findChunks:f,sanitize:_,searchWords:w,textToHighlight:x}),F=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:h},E,{children:C.map((function(e,t){var i=x.substr(e.start,e.end-e.start);if(e.highlight){T++;var r=void 0;r="object"==typeof g?p?g[i]:(g=I(g))[i.toLowerCase()]:g;var o=T===+a;D=r+" "+(o?n:""),A=!0===o&&null!=u?Object.assign({},y,u):y;var l={children:i,className:D,key:t,style:A};return"string"!=typeof F&&(l.highlightIndex=T),(0,s.createElement)(F,l)}return(0,s.createElement)("span",{children:i,className:S,key:t,style:P})}))}))}u.propTypes={activeClassName:a.default.string,activeIndex:a.default.number,activeStyle:a.default.object,autoEscape:a.default.bool,className:a.default.string,findChunks:a.default.func,highlightClassName:a.default.oneOfType([a.default.object,a.default.string]),highlightStyle:a.default.object,highlightTag:a.default.oneOfType([a.default.node,a.default.func,a.default.string]),sanitize:a.default.func,searchWords:a.default.arrayOf(a.default.oneOfType([a.default.string,a.default.instanceOf(RegExp)])).isRequired,textToHighlight:a.default.string.isRequired,unhighlightClassName:a.default.string,unhighlightStyle:a.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,o=e.caseSensitive,a=void 0!==o&&o,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:a,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?o:i,a=e.searchWords,s=e.textToHighlight;return s=r(s),a.filter((function(e){return e})).reduce((function(e,i){i=r(i),t&&(i=i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"));for(var o=new RegExp(i,n?"g":"gi"),a=void 0;a=o.exec(s);){var l=a.index,u=o.lastIndex;u>l&&e.push({start:l,end:u}),a.index==o.lastIndex&&o.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 o=0;t.forEach((function(e){r(o,e.start,!1),r(e.start,e.end,!0),o=e.end})),r(o,n,!1)}return i};function o(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 o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!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:o}catch(e){n=o}try{i="function"==typeof clearTimeout?clearTimeout:a}catch(e){i=a}}();var l,u=[],c=!1,d=-1;function p(){c&&l&&(c=!1,l.length?u=l.concat(u):d=-1,u.length&&h())}function h(){if(!c){var e=s(p);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===a||!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(h)},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),o=n(9),a=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,o){if("function"!=typeof e)return new h("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var a=t[n];if(!Array.isArray(a))return new h("Invalid "+r+" `"+o+"` of type `"+v(a)+"` supplied to `"+i+"`, expected an array.");for(var l=0;l<a.length;l++){var u=e(a,l,i,r,o+"["+l+"]",s);if(u instanceof Error)return u}return null}))},element:f((function(t,n,i,r,o){var a=t[n];return e(a)?null:new h("Invalid "+r+" `"+o+"` of type `"+v(a)+"` supplied to `"+i+"`, expected a single ReactElement.")})),instanceOf:function(e){return f((function(t,n,i,r,o){if(!(t[n]instanceof e)){var a=e.name||c;return new h("Invalid "+r+" `"+o+"` of type `"+(((s=t[n]).constructor&&s.constructor.name?s.constructor.name:c)+"` supplied to `")+i+"`, expected instance of `"+a+"`.")}var s;return null}))},node:f((function(e,t,n,i,r){return g(e[t])?null:new h("Invalid "+i+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return f((function(t,n,i,r,o){if("function"!=typeof e)return new h("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var a=t[n],l=v(a);if("object"!==l)return new h("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected an object.");for(var u in a)if(a.hasOwnProperty(u)){var c=e(a,u,i,r,o+"."+u,s);if(c instanceof Error)return c}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==t.env.NODE_ENV&&o(!1,"Invalid argument supplied to oneOf, expected an instance of array."),i.thatReturnsNull;return f((function(t,n,i,r,o){for(var a=t[n],s=0;s<e.length;s++)if(p(a,e[s]))return null;return new h("Invalid "+r+" `"+o+"` of value `"+a+"` supplied to `"+i+"`, expected one of "+JSON.stringify(e)+".")}))},oneOfType:function(e){if(!Array.isArray(e))return"production"!==t.env.NODE_ENV&&o(!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 o(!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,o){for(var a=0;a<e.length;a++)if(null==(0,e[a])(t,n,i,r,o,s))return null;return new h("Invalid "+r+" `"+o+"` supplied to `"+i+"`.")}))},shape:function(e){return f((function(t,n,i,r,o){var a=t[n],l=v(a);if("object"!==l)return new h("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");for(var u in e){var c=e[u];if(c){var d=c(a,u,i,r,o+"."+u,s);if(d)return d}}return null}))},exact:function(e){return f((function(t,n,i,r,o){var l=t[n],u=v(l);if("object"!==u)return new h("Invalid "+r+" `"+o+"` of type `"+u+"` supplied to `"+i+"`, expected `object`.");var c=a({},t[n],e);for(var d in c){var p=e[d];if(!p)return new h("Invalid "+r+" `"+o+"` key `"+d+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var f=p(l,d,i,r,o+"."+d,s);if(f)return f}return null}))}};function p(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function h(e){this.message=e,this.stack=""}function f(e){if("production"!==t.env.NODE_ENV)var i={},a=0;function l(l,u,d,p,f,m,g){if(p=p||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=p+":"+d;!i[v]&&a<3&&(o(!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,p),i[v]=!0,a++)}return null==u[d]?l?null===u[d]?new h("The "+f+" `"+m+"` is marked as required in `"+p+"`, but its value is `null`."):new h("The "+f+" `"+m+"` is marked as required in `"+p+"`, but its value is `undefined`."):null:e(u,d,p,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,o,a){var s=t[n];return v(s)!==e?new h("Invalid "+r+" `"+o+"` 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 o=i.value;if(o&&!g(o[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 h.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,o,a,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,o,a,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,o="Warning: "+e.replace(/%s/g,(function(){return n[r++]}));"undefined"!=typeof console&&console.error(o);try{throw new Error(o)}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),o=2;o<n;o++)i[o-2]=arguments[o];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 o(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 a,s,l=o(e),u=1;u<arguments.length;u++){for(var c in a=Object(arguments[u]))i.call(a,c)&&(l[c]=a[c]);if(n){s=n(a);for(var d=0;d<s.length;d++)r.call(a,s[d])&&(l[s[d]]=a[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),o=n(11),a={};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,o)}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 a)){a[d.message]=!0;var p=u?u():"";r(!1,"Failed %s type: %s%s",s,d.message,null!=p?p:"")}}}}).call(t,n(5))},function(e,t,n){var i=n(7),r=n(8),o=n(11);e.exports=function(){function e(e,t,n,i,a,s){s!==o&&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=[],o=void 0,a=!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 a&&i===this&&n.length===r.length&&n.every(s)?o:(a=!0,i=this,r=n,o=e.apply(this,n))};return l}}])}(h3e);var f3e=S(h3e.exports),m3e={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 a(e)?e:X(e)}function i(e){return s(e)?e:V(e)}function r(e){return l(e)?e:Y(e)}function o(e){return a(e)&&!u(e)?e:Z(e)}function a(e){return!(!e||!e[d])}function s(e){return!(!e||!e[p])}function l(e){return!(!e||!e[h])}function u(e){return s(e)||l(e)}function c(e){return!(!e||!e[f])}t(i,n),t(r,n),t(o,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=l,n.isAssociative=u,n.isOrdered=c,n.Keyed=i,n.Indexed=r,n.Set=o;var d="@@__IMMUTABLE_ITERABLE__@@",p="@@__IMMUTABLE_KEYED__@@",h="@@__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 x(e){e&&(e.value=!0)}function k(){}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(C)),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 C(){return!0}function F(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,$=2,z="function"==typeof Symbol&&Symbol.iterator,R="@@iterator",j=z||R;function M(e){this.next=e}function Q(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 B(e){return e&&"function"==typeof e.next}function q(e){var t=G(e);return t&&t.call(e)}function G(e){var t=e&&(z&&e[z]||e[R]);if("function"==typeof t)return t}function W(e){return e&&"number"==typeof e.length}function X(e){return null==e?ae():a(e)?e.toSeq():ue(e)}function V(e){return null==e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function Y(e){return null==e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function Z(e){return(null==e?ae():a(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}M.prototype.toString=function(){return"[Iterator]"},M.KEYS=I,M.VALUES=L,M.ENTRIES=$,M.prototype.inspect=M.prototype.toSource=function(){return this.toString()},M.prototype[j]=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 pe(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 pe(this,e,t,!1)},t(Z,X),Z.of=function(){return Z(arguments)},Z.prototype.toSetSeq=function(){return this},X.isSeq=oe,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 oe(e){return!(!e||!e[ee])}function ae(){return H||(H=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():B(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):B(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 o=r.length-1,a=0;a<=o;a++){var s=r[n?o-a:a];if(!1===t(s[1],i?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function pe(e,t,n,i){var r=e._cache;if(r){var o=r.length-1,a=0;return new M((function(){var e=r[n?o-a:a];return a++>o?N():Q(t,i?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function he(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(!a(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 o=e;e=t,t=o}var d=!0,p=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===p}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 xe(){}function ke(){}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 M((function(){return r>i?N():Q(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,o=0;o<=r;o++){var a=i[t?r-o:o];if(!1===e(n[a],a,this))return o+1}return o},ne.prototype.__iterator=function(e,t){var n=this._object,i=this._keys,r=i.length-1,o=0;return new M((function(){var a=i[t?r-o:o];return o++>r?N():Q(e,a,n[a])}))},ne.prototype[f]=!0,t(ie,Y),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=q(this._iterable),i=0;if(B(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=q(this._iterable);if(!B(n))return new M(N);var i=0;return new M((function(){var t=n.next();return t.done?t:Q(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,o=0;o<r.length;)if(!1===e(r[o],o++,this))return o;for(;!(n=i.next()).done;){var a=n.value;if(r[o]=a,!1===e(a,o++,this))break}return o},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 M((function(){if(r>=i.length){var t=n.next();if(t.done)return t;i[r]=t.value}return Q(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 F(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 M((function(){return i<n.size?Q(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 F(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,o=0;o<=n;o++){if(!1===e(r,o,this))return o+1;r+=t?-i:i}return o},_e.prototype.__iterator=function(e,t){var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,o=0;return new M((function(){var a=r;return r+=t?-i:i,o>n?N():Q(e,o++,a)}))},_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(xe,we),t(ke,we),t(Se,we),we.Keyed=xe,we.Indexed=ke,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 Ce(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>Me?Fe(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 Fe(e){var t=Ue[e];return void 0===t&&(t=Te(e),Ne===Qe&&(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(ze&&void 0!==(t=$e.get(e)))return t;if(void 0!==(t=e[je]))return t;if(!Ie){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[je]))return t;if(void 0!==(t=Le(e)))return t}if(t=++Re,1073741824&Re&&(Re=0),ze)$e.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,je,{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[je]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[je]=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 $e,ze="function"==typeof WeakMap;ze&&($e=new WeakMap);var Re=0,je="__immutablehash__";"function"==typeof Symbol&&(je=Symbol(je));var Me=16,Qe=255,Ne=0,Ue={};function Be(e){Oe(e!==1/0,"Cannot perform this action with an infinite size.")}function qe(e){return null==e?rt():Ge(e)&&!c(e)?e:rt().withMutations((function(t){var n=i(e);Be(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Ge(e){return!(!e||!e[Xe])}t(qe,xe),qe.prototype.toString=function(){return this.__toString("Map {","}")},qe.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},qe.prototype.set=function(e,t){return ot(this,e,t)},qe.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},qe.prototype.remove=function(e){return ot(this,e,b)},qe.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},qe.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},qe.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},qe.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()},qe.prototype.merge=function(){return pt(this,void 0,arguments)},qe.prototype.mergeWith=function(t){return pt(this,t,e.call(arguments,1))},qe.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]}))},qe.prototype.mergeDeep=function(){return pt(this,ht,arguments)},qe.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return pt(this,ft(t),n)},qe.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]}))},qe.prototype.sort=function(e){return Ut(dn(this,e))},qe.prototype.sortBy=function(e,t){return Ut(dn(this,t,e))},qe.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},qe.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new k)},qe.prototype.asImmutable=function(){return this.__ensureOwner()},qe.prototype.wasAltered=function(){return this.__altered},qe.prototype.__iterator=function(e,t){return new et(this,e,t)},qe.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},qe.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)},qe.isMap=Ge;var We,Xe="@@__IMMUTABLE_MAP__@@",Ve=qe.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 Q(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 ot(e,t,n){var i,r;if(e._root){var o=w(O),a=w(_);if(i=at(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;r=e.size+(o.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 at(e,t,n,i,r,o,a,s){return e?e.update(t,n,i,r,o,a,s):o===b?e:(x(s),x(a),new Je(t,i,[r,o]))}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 o,a=(0===n?e.keyHash:e.keyHash>>>n)&y,s=(0===n?i:i>>>n)&y;return new Ze(t,1<<a|1<<s,a===s?[lt(e,t,n+g,i,r)]:(o=new Je(t,i,r),a<s?[e,o]:[o,e]))}function ut(e,t,n,i){e||(e=new k);for(var r=new Je(e,Ce(n),[n,i]),o=0;o<t.length;o++){var a=t[o];r=r.update(e,0,void 0,a[0],a[1])}return r}function ct(e,t,n,i){for(var r=0,o=0,a=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,a[o++]=c)}return new Ze(e,r,a)}function dt(e,t,n,i,r){for(var o=0,a=new Array(v),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[i]=r,new He(e,o+1,a)}function pt(e,t,n){for(var r=[],o=0;o<n.length;o++){var s=n[o],l=i(s);a(s)||(l=l.map((function(e){return he(e)}))),r.push(l)}return mt(e,t,r)}function ht(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):ve(e,t)?e:t}function ft(e){return function(t,n,i){if(t&&t.mergeDeepWith&&a(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,o=t.next();if(o.done){var a=r?n:e,s=i(a);return s===a?e:s}Oe(r||e&&e.set,"invalid keyPath");var l=o.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 o=new Array(r),a=0,s=0;s<r;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}function Ot(e,t,n){var i=e.length-1;if(n&&t===i)return e.pop(),e;for(var r=new Array(i),o=0,a=0;a<i;a++)a===t&&(o=1),r[a]=e[a+o];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,o=0,a=r.length;o<a;o++)if(ve(n,r[o][0]))return r[o][1];return i},Ye.prototype.update=function(e,t,n,i,r,o,a){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(x(a),(s||!d)&&x(o),!s||1!==l.length){if(!d&&!s&&l.length>=_t)return ut(e,l,i,r);var p=e&&e===this.ownerID,h=p?l:S(l);return d?s?u===c-1?h.pop():h[u]=h.pop():h[u]=[i,r]:h.push([i,r]),p?(this.entries=h,this):new Ye(e,h)}},Ze.prototype.get=function(e,t,n,i){void 0===t&&(t=Ce(n));var r=1<<((0===e?t:t>>>e)&y),o=this.bitmap;return 0==(o&r)?i:this.nodes[vt(o&r-1)].get(e+g,t,n,i)},Ze.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Ce(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),p=this.nodes,h=c?p[d]:void 0,f=at(h,e,t+g,n,i,r,o,a);if(f===h)return this;if(!c&&f&&p.length>=wt)return dt(e,p,u,s,f);if(c&&!f&&2===p.length&&st(p[1^d]))return p[1^d];if(c&&f&&1===p.length&&st(f))return f;var m=e&&e===this.ownerID,v=c?f?u:u^l:u|l,O=c?f?yt(p,d,f,m):Ot(p,d,m):bt(p,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=Ce(n));var r=(0===e?t:t>>>e)&y,o=this.nodes[r];return o?o.get(e+g,t,n,i):i},He.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Ce(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=at(c,e,t+g,n,i,r,o,a);if(d===c)return this;var p=this.count;if(c){if(!d&&--p<xt)return ct(e,u,p,s)}else p++;var h=e&&e===this.ownerID,f=yt(u,s,d,h);return h?(this.count=p,this.nodes=f,this):new He(e,p,f)},Ke.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(ve(n,r[o][0]))return r[o][1];return i},Ke.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Ce(i));var s=r===b;if(n!==this.keyHash)return s?this:(x(a),x(o),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(x(a),(s||!d)&&x(o),s&&2===c)return new Je(e,this.keyHash,l[1^u]);var p=e&&e===this.ownerID,h=p?l:S(l);return d?s?u===c-1?h.pop():h[u]=h.pop():h[u]=[i,r]:h.push([i,r]),p?(this.entries=h,this):new Ke(e,this.keyHash,h)},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,o,a){var s=r===b,l=ve(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(x(a),s?void x(o):l?e&&e===this.ownerID?(this.entry[1]=r,this):new Je(e,this.keyHash,[i,r]):(x(o),lt(this,e,t,Ce(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 o=n[t?r-i:i];if(o&&!1===o.iterate(e,t))return!1}},Je.prototype.iterate=function(e,t){return e(this.entry)},t(et,M),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 o=i.nodes[this._reverse?n-r:r];if(o){if(o.entry)return tt(e,o.entry);t=this._stack=nt(o,t)}continue}t=this._stack=this._stack.__prev}return N()};var _t=v/4,wt=v/2,xt=v/4;function kt(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:(Be(i),i>0&&i<v?It(0,i,g,null,new Ct(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(kt,ke),kt.of=function(){return this(arguments)},kt.prototype.toString=function(){return this.__toString("List [","]")},kt.prototype.get=function(e,t){if((e=E(this,e))>=0&&e<this.size){var n=jt(this,e+=this._origin);return n&&n.array[e&y]}return t},kt.prototype.set=function(e,t){return $t(this,e,t)},kt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},kt.prototype.insert=function(e,t){return this.splice(e,0,t)},kt.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()},kt.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){Mt(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},kt.prototype.pop=function(){return Mt(this,0,-1)},kt.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){Mt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},kt.prototype.shift=function(){return Mt(this,1)},kt.prototype.merge=function(){return Qt(this,void 0,arguments)},kt.prototype.mergeWith=function(t){return Qt(this,t,e.call(arguments,1))},kt.prototype.mergeDeep=function(){return Qt(this,ht,arguments)},kt.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Qt(this,ft(t),n)},kt.prototype.setSize=function(e){return Mt(this,0,e)},kt.prototype.slice=function(e,t){var n=this.size;return F(e,t,n)?this:Mt(this,T(e,n),D(t,n))},kt.prototype.__iterator=function(e,t){var n=0,i=At(this,t);return new M((function(){var t=i();return t===Dt?N():Q(e,n++,t)}))},kt.prototype.__iterate=function(e,t){for(var n,i=0,r=At(this,t);(n=r())!==Dt&&!1!==e(n,i++,this););return i},kt.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)},kt.isList=St;var Pt="@@__IMMUTABLE_LIST__@@",Et=kt.prototype;function Ct(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,Ct.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 Ct([],e);var r,o=0===i;if(t>0){var a=this.array[i];if((r=a&&a.removeBefore(e,t-g,n))===a&&o)return this}if(o&&!r)return this;var s=Rt(this,e);if(!o)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},Ct.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 o=this.array[r];if((i=o&&o.removeAfter(e,t-g,n))===o&&r===this.array.length-1)return this}var a=Rt(this,e);return a.array.splice(r+1),i&&(a.array[r]=i),a};var Ft,Tt,Dt={};function At(e,t){var n=e._origin,i=e._capacity,r=Nt(i),o=e._tail;return a(e._root,e._level,0);function a(e,t,n){return 0===t?s(e,n):l(e,t,n)}function s(e,a){var s=a===r?o&&o.array:e&&e.array,l=a>n?0:n-a,u=i-a;return u>v&&(u=v),function(){if(l===u)return Dt;var e=t?--u:l++;return s&&s[e]}}function l(e,r,o){var s,l=e&&e.array,u=o>n?0:n-o>>r,c=1+(i-o>>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=a(l&&l[n],r-g,o+(n<<r))}}}}function It(e,t,n,i,r,o,a){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=o,s.__hash=a,s.__altered=!1,s}function Lt(){return Ft||(Ft=It(0,0,g))}function $t(e,t,n){if((t=E(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?Mt(e,t).set(0,n):Mt(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,o=w(_);return t>=Nt(e._capacity)?i=zt(i,e.__ownerID,0,t,n,o):r=zt(r,e.__ownerID,e._level,t,n,o),o.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 zt(e,t,n,i,r,o){var a,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=zt(u,t,n-g,i,r,o);return c===u?e:((a=Rt(e,t)).array[s]=c,a)}return l&&e.array[s]===r?e:(x(o),a=Rt(e,t),void 0===r&&s===a.array.length-1?a.array.pop():a.array[s]=r,a)}function Rt(e,t){return t&&e&&t===e.ownerID?e:new Ct(e?e.array.slice():[],t)}function jt(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 Mt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new k,r=e._origin,o=e._capacity,a=r+t,s=void 0===n?o:n<0?o+n:r+n;if(a===r&&s===o)return e;if(a>=s)return e.clear();for(var l=e._level,u=e._root,c=0;a+c<0;)u=new Ct(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=g);c&&(a+=c,r+=c,s+=c,o+=c);for(var d=Nt(o),p=Nt(s);p>=1<<l+g;)u=new Ct(u&&u.array.length?[u]:[],i),l+=g;var h=e._tail,f=p<d?jt(e,s-1):p>d?new Ct([],i):h;if(h&&p>d&&a<o&&h.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]=h}if(s<o&&(f=f&&f.removeAfter(i,0,s)),a>=p)a-=p,s-=p,l=g,u=null,f=f&&f.removeBefore(i,0,a);else if(a>r||p<d){for(c=0;u;){var O=a>>>l&y;if(O!==p>>>l&y)break;O&&(c+=(1<<l)*O),l-=g,u=u.array[O]}u&&a>r&&(u=u.removeBefore(i,l,a-c)),u&&p<d&&(u=u.removeAfter(i,l,p-c)),c&&(a-=c,s-=c)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=l,e._root=u,e._tail=f,e.__hash=void 0,e.__altered=!0,e):It(a,s,l,u,f)}function Qt(e,t,n){for(var i=[],o=0,s=0;s<n.length;s++){var l=n[s],u=r(l);u.size>o&&(o=u.size),a(l)||(u=u.map((function(e){return he(e)}))),i.push(u)}return o>e.size&&(e=e.setSize(o)),mt(e,t,i)}function Nt(e){return e<v?0:e-1>>>g<<g}function Ut(e){return null==e?Gt():Bt(e)?e:Gt().withMutations((function(t){var n=i(e);Be(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Bt(e){return Ge(e)&&c(e)}function qt(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=qt(rt(),Lt()))}function Wt(e,t,n){var i,r,o=e._map,a=e._list,s=o.get(t),l=void 0!==s;if(n===b){if(!l)return e;a.size>=v&&a.size>=2*o.size?(r=a.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=o.remove(t),r=s===a.size-1?a.pop():a.set(s,void 0))}else if(l){if(n===a.get(s)[1])return e;i=o,r=a.set(s,[t,n])}else i=o.set(t,a.size),r=a.set(a.size,[t,n]);return e.__ownerID?(e.size=i.size,e._map=i,e._list=r,e.__hash=void 0,e):qt(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===$){var i=e.__iterator(t,n);return new M((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 o=e.get(i,b);return o===b?r:t.call(n,o,i,e)},i.__iterateUncached=function(i,r){var o=this;return e.__iterate((function(e,r,a){return!1!==i(t.call(n,e,r,a),r,o)}),r)},i.__iteratorUncached=function(i,r){var o=e.__iterator($,r);return new M((function(){var r=o.next();if(r.done)return r;var a=r.value,s=a[0];return Q(i,s,t.call(n,a[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 o=e.get(i,b);return o!==b&&t.call(n,o,i,e)?o:r}),r.__iterateUncached=function(r,o){var a=this,s=0;return e.__iterate((function(e,o,l){if(t.call(n,e,o,l))return s++,r(e,i?o:s-1,a)}),o),s},r.__iteratorUncached=function(r,o){var a=e.__iterator($,o),s=0;return new M((function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return Q(r,i?u:s++,c,o)}}))},r}function tn(e,t,n){var i=qe().asMutable();return e.__iterate((function(r,o){i.update(t.call(n,r,o,e),0,(function(e){return e+1}))})),i.asImmutable()}function nn(e,t,n){var i=s(e),r=(c(e)?Ut():qe()).asMutable();e.__iterate((function(o,a){r.update(t.call(n,o,a,e),(function(e){return(e=e||[]).push(i?[a,o]:o),e}))}));var o=yn(e);return r.map((function(t){return mn(e,o(t))}))}function rn(e,t,n,i){var r=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),F(t,n,r))return e;var o=T(t,r),a=D(n,r);if(o!=o||a!=a)return rn(e.toSeq().cacheResult(),t,n,i);var s,l=a-o;l==l&&(s=l<0?0:l);var u=bn(e);return u.size=0===s?s:e.size&&s||void 0,!i&&oe(e)&&s>=0&&(u.get=function(t,n){return(t=E(this,t))>=0&&t<s?e.get(t+o,n):n}),u.__iterateUncached=function(t,n){var r=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,l=!0,u=0;return e.__iterate((function(e,n){if(!l||!(l=a++<o))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),a=0,l=0;return new M((function(){for(;a++<o;)r.next();if(++l>s)return N();var e=r.next();return i||t===L?e:Q(t,l-1,t===I?void 0:e.value[1],e)}))},u}function on(e,t,n){var i=bn(e);return i.__iterateUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterate(i,r);var a=0;return e.__iterate((function(e,r,s){return t.call(n,e,r,s)&&++a&&i(e,r,o)})),a},i.__iteratorUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterator(i,r);var a=e.__iterator($,r),s=!0;return new M((function(){if(!s)return N();var e=a.next();if(e.done)return e;var r=e.value,l=r[0],u=r[1];return t.call(n,u,l,o)?i===$?e:Q(i,l,u,e):(s=!1,N())}))},i}function an(e,t,n,i){var r=bn(e);return r.__iterateUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterate(r,o);var s=!0,l=0;return e.__iterate((function(e,o,u){if(!s||!(s=t.call(n,e,o,u)))return l++,r(e,i?o:l-1,a)})),l},r.__iteratorUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterator(r,o);var s=e.__iterator($,o),l=!0,u=0;return new M((function(){var e,o,c;do{if((e=s.next()).done)return i||r===L?e:Q(r,u++,r===I?void 0:e.value[1],e);var d=e.value;o=d[0],c=d[1],l&&(l=t.call(n,c,o,a))}while(l);return r===$?e:Q(r,o,c,e)}))},r}function sn(e,t){var n=s(e),r=[e].concat(t).map((function(e){return a(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 o=r[0];if(o===e||n&&s(o)||l(e)&&l(o))return o}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 o=0,s=!1;function l(e,u){var c=this;e.__iterate((function(e,r){return(!t||u<t)&&a(e)?l(e,u+1):!1===i(e,n?r:o++,c)&&(s=!0),!s}),r)}return l(e,0),o},i.__iteratorUncached=function(i,r){var o=e.__iterator(i,r),s=[],l=0;return new M((function(){for(;o;){var e=o.next();if(!1===e.done){var u=e.value;if(i===$&&(u=u[1]),t&&!(s.length<t)||!a(u))return n?e:Q(i,l++,u,e);s.push(o),o=u.__iterator(i,r)}else o=s.pop()}return N()}))},i}function un(e,t,n){var i=yn(e);return e.toSeq().map((function(r,o){return i(t.call(n,r,o,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,o=0;return e.__iterate((function(e,i){return(!o||!1!==n(t,o++,r))&&!1!==n(e,o++,r)}),i),o},n.__iteratorUncached=function(n,i){var r,o=e.__iterator(L,i),a=0;return new M((function(){return(!r||a%2)&&(r=o.next()).done?r:a%2?Q(n,a++,t):Q(n,a++,r.value,r)}))},n}function dn(e,t,n){t||(t=_n);var i=s(e),r=0,o=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),i?V(o):l(e)?Y(o):Z(o)}function pn(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 hn(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return hn(t,e,n)?n:e}))}function hn(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 o=i.map((function(e){return e=n(e),q(r?e.reverse():e)})),a=0,s=!1;return new M((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?N():Q(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function mn(e,t){return oe(e)?t:e.constructor(t)}function gn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function vn(e){return Be(e.size),P(e)}function yn(e){return s(e)?i:l(e)?r:o}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=q(e);if(!t){if(!W(e))throw new TypeError("Expected iterable or array-like: "+e);t=q(n(e))}return t}function xn(e,t){var n,i=function(o){if(o instanceof i)return o;if(!(this instanceof i))return new i(o);if(!n){n=!0;var a=Object.keys(e);En(r,a),r.size=a.length,r._name=t,r._keys=a,r._defaultValues=e}this._map=qe(o)},r=i.prototype=Object.create(kn);return r.constructor=i,i}t(Ut,qe),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?qt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Ut.isOrderedMap=Bt,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 M((function(){var r=n.next();return r.done?r:Q(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 M((function(){var t=n.next();return t.done?t:Q(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 M((function(){var t=n.next();return t.done?t:Q(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=a(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 M((function(){for(;;){var t=n.next();if(t.done)return t;var i=t.value;if(i){gn(i);var r=a(i);return Q(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(xn,xe),xn.prototype.toString=function(){return this.__toString(Pn(this)+" {","}")},xn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},xn.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},xn.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()))},xn.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)},xn.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)},xn.prototype.wasAltered=function(){return this._map.wasAltered()},xn.prototype.__iterator=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},xn.prototype.__iterate=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},xn.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 kn=xn.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(Cn.bind(void 0,e))}catch(e){}}function Cn(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 Fn(e){return null==e?zn():Tn(e)&&!c(e)?e:zn().withMutations((function(t){var n=o(e);Be(n.size),n.forEach((function(e){return t.add(e)}))}))}function Tn(e){return!(!e||!e[An])}kn[m]=kn.remove,kn.deleteIn=kn.removeIn=Ve.removeIn,kn.merge=Ve.merge,kn.mergeWith=Ve.mergeWith,kn.mergeIn=Ve.mergeIn,kn.mergeDeep=Ve.mergeDeep,kn.mergeDeepWith=Ve.mergeDeepWith,kn.mergeDeepIn=Ve.mergeDeepIn,kn.setIn=Ve.setIn,kn.update=Ve.update,kn.updateIn=Ve.updateIn,kn.withMutations=Ve.withMutations,kn.asMutable=Ve.asMutable,kn.asImmutable=Ve.asImmutable,t(Fn,Se),Fn.of=function(){return this(arguments)},Fn.fromKeys=function(e){return this(i(e).keySeq())},Fn.prototype.toString=function(){return this.__toString("Set {","}")},Fn.prototype.has=function(e){return this._map.has(e)},Fn.prototype.add=function(e){return Ln(this,this._map.set(e,!0))},Fn.prototype.remove=function(e){return Ln(this,this._map.remove(e))},Fn.prototype.clear=function(){return Ln(this,this._map.clear())},Fn.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++)o(t[n]).forEach((function(t){return e.add(t)}))})):this.constructor(t[0])},Fn.prototype.intersect=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return o(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.every((function(e){return e.includes(n)}))||e.remove(n)}))}))},Fn.prototype.subtract=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return o(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.some((function(e){return e.includes(n)}))&&e.remove(n)}))}))},Fn.prototype.merge=function(){return this.union.apply(this,arguments)},Fn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},Fn.prototype.sort=function(e){return Rn(dn(this,e))},Fn.prototype.sortBy=function(e,t){return Rn(dn(this,t,e))},Fn.prototype.wasAltered=function(){return this._map.wasAltered()},Fn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,i){return e(i,i,n)}),t)},Fn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Fn.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)},Fn.isSet=Tn;var Dn,An="@@__IMMUTABLE_SET__@@",In=Fn.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 $n(e,t){var n=Object.create(In);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function zn(){return Dn||(Dn=$n(rt()))}function Rn(e){return null==e?Un():jn(e)?e:Un().withMutations((function(t){var n=o(e);Be(n.size),n.forEach((function(e){return t.add(e)}))}))}function jn(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=zn,In.__make=$n,t(Rn,Fn),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=jn;var Mn,Qn=Rn.prototype;function Nn(e,t){var n=Object.create(Qn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Un(){return Mn||(Mn=Nn(Gt()))}function Bn(e){return null==e?Yn():qn(e)?e:Yn().unshiftAll(e)}function qn(e){return!(!e||!e[Wn])}Qn[f]=!0,Qn.__empty=Un,Qn.__make=Nn,t(Bn,ke),Bn.of=function(){return this(arguments)},Bn.prototype.toString=function(){return this.__toString("Stack [","]")},Bn.prototype.get=function(e,t){var n=this._head;for(e=E(this,e);n&&e--;)n=n.next;return n?n.value:t},Bn.prototype.peek=function(){return this._head&&this._head.value},Bn.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)},Bn.prototype.pushAll=function(e){if(0===(e=r(e)).size)return this;Be(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)},Bn.prototype.pop=function(){return this.slice(1)},Bn.prototype.unshift=function(){return this.push.apply(this,arguments)},Bn.prototype.unshiftAll=function(e){return this.pushAll(e)},Bn.prototype.shift=function(){return this.pop.apply(this,arguments)},Bn.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()},Bn.prototype.slice=function(e,t){if(F(e,t,this.size))return this;var n=T(e,this.size);if(D(t,this.size)!==this.size)return ke.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)},Bn.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)},Bn.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},Bn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,i=this._head;return new M((function(){if(i){var t=i.value;return i=i.next,Q(e,n++,t)}return N()}))},Bn.isStack=qn;var Gn,Wn="@@__IMMUTABLE_STACK__@@",Xn=Bn.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=M,Zn(n,{toArray:function(){Be(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 qe(this.toKeyedSeq())},toObject:function(){Be(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 Fn(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 Bn(s(this)?this.valueSeq():this)},toList:function(){return kt(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($)},every:function(e,t){Be(this.size);var n=!0;return this.__iterate((function(i,r,o){if(!e.call(t,i,r,o))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,o){if(e.call(t,i,r,o))return n=[r,i],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return Be(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Be(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 Be(this.size),arguments.length<2?r=!0:i=t,this.__iterate((function(t,o,a){r?(r=!1,i=t):i=e.call(n,i,t,o,a)})),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(C)},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 o=n.value;if((i=i&&i.get?i.get(o,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 pn(this,e)},maxBy:function(e,t){return pn(this,t,e)},min:function(e){return pn(this,e?ni(e):oi)},minBy:function(e,t){return pn(this,t?ni(t):oi,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,an(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,on(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=ai(this))}});var Hn=n.prototype;Hn[d]=!0,Hn[j]=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,o){return e.call(t,[o,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 oi(e,t){return e<t?1:e>t?-1:0}function ai(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(Ce(e),Ce(t))|0}:function(e,t){i=i+li(Ce(e),Ce(t))|0}:t?function(e){i=31*i+Ce(e)|0}:function(e){i=i+Ce(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[p]=!0,Kn[j]=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,an(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[h]=!0,r.prototype[f]=!0,Zn(o,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=Hn.includes,Zn(V,i.prototype),Zn(Y,r.prototype),Zn(Z,o.prototype),Zn(xe,i.prototype),Zn(ke,r.prototype),Zn(Se,o.prototype),{Iterable:n,Seq:X,Collection:we,Map:qe,OrderedMap:Ut,List:kt,Stack:Bn,Set:Fn,OrderedSet:Rn,Record:xn,Range:_e,Repeat:be,is:ve,fromJS:he}}()}(m3e);var g3e=m3e.exports.OrderedMap,v3e={createFromArray:function(e){return g3e(e.map((function(e){return[e.getKey(),e]})))}},y3e=v3e;var b3e=m3e.exports,O3e=b3e.Map,_3e=b3e.OrderedSet,w3e=b3e.Record,x3e=_3e(),k3e={style:x3e,entity:null},S3e=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 P3e;var t=O3e({style:x3e,entity:null}).merge(e),n=E3e.get(t);if(n)return n;var r=new i(t);return E3e=E3e.set(t,r),r},i.fromJS=function(e){var t=e.style,n=e.entity;return new i({style:Array.isArray(t)?_3e(t):t,entity:Array.isArray(n)?_3e(n):n})},i}(w3e(k3e)),P3e=new S3e,E3e=O3e([[O3e(k3e),P3e]]);S3e.EMPTY=P3e;var C3e=S3e;var F3e=function(e,t,n,i){if(e.size){var r=0;e.reduce((function(e,o,a){return t(e,o)||(n(e)&&i(r,a),r=a),o})),n(e.last())&&i(r,e.count())}};var T3e=C3e,D3e=F3e,A3e=m3e.exports,I3e=A3e.List,L3e=A3e.Map,$3e=A3e.OrderedSet,z3e=A3e.Record,R3e=A3e.Repeat,j3e=$3e(),M3e=z3e({key:"",type:"unstyled",text:"",characterList:I3e(),depth:0,data:L3e()}),Q3e=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=I3e(R3e(T3e.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():j3e},r.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},r.findStyleRanges=function(e,t){D3e(this.getCharacterList(),N3e,e,t)},r.findEntityRanges=function(e,t){D3e(this.getCharacterList(),U3e,e,t)},i}(M3e);function N3e(e,t){return e.getStyle()===t.getStyle()}function U3e(e,t){return e.getEntity()===t.getEntity()}var B3e=Q3e;var q3e=C3e,G3e=F3e,W3e=m3e.exports,X3e=W3e.List,V3e=W3e.Map,Y3e=W3e.OrderedSet,Z3e=W3e.Record,H3e=W3e.Repeat,K3e=Y3e(),J3e={parent:null,characterList:X3e(),data:V3e(),depth:0,key:"",text:"",type:"unstyled",children:X3e(),prevSibling:null,nextSibling:null},e4e=function(e,t){return e.getStyle()===t.getStyle()},t4e=function(e,t){return e.getEntity()===t.getEntity()},n4e=function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=X3e(H3e(q3e.EMPTY,n.length))),e},i4e=function(e){var t,n;function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:J3e;return e.call(this,n4e(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():K3e},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){G3e(this.getCharacterList(),e4e,e,t)},r.findEntityRanges=function(e,t){G3e(this.getCharacterList(),t4e,e,t)},i}(Z3e(J3e)),r4e=i4e,o4e=C3e,a4e=m3e.exports.Map;function s4e(e,t,n,i){var r=e.getBlockMap(),o=t.getStartKey(),a=t.getStartOffset(),s=t.getEndKey(),l=t.getEndOffset(),u=r.skipUntil((function(e,t){return t===o})).takeUntil((function(e,t){return t===s})).concat(a4e([[s,r.get(s)]])).map((function(e,t){var r,u;o===s?(r=a,u=l):(r=t===o?a:0,u=t===s?l:e.getLength());for(var c,d=e.getCharacterList();r<u;)c=d.get(r),d=d.set(r,i?o4e.applyStyle(c,n):o4e.removeStyle(c,n)),r++;return e.set("characterList",d)}));return e.merge({blockMap:r.merge(u),selectionBefore:t,selectionAfter:t})}var l4e={add:function(e,t,n){return s4e(e,t,n,!0)},remove:function(e,t,n){return s4e(e,t,n,!1)}},u4e=C3e;var c4e=function(e,t,n,i){for(var r=t,o=e.getCharacterList();r<n;)o=o.set(r,u4e.applyEntity(o.get(r),i)),r++;return e.set("characterList",o)},d4e=c4e,p4e=m3e.exports;var h4e=function(e,t,n){var i=e.getBlockMap(),r=t.getStartKey(),o=t.getStartOffset(),a=t.getEndKey(),s=t.getEndOffset(),l=i.skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===a})).toOrderedMap().merge(p4e.OrderedMap([[a,i.get(a)]])).map((function(e,t){var i=t===r?o:0,l=t===a?s:e.getLength();return d4e(e,i,l,n)}));return e.merge({blockMap:i.merge(l),selectionBefore:t,selectionAfter:t})},f4e={getRemovalRange:function(e,t,n,i,r){var o=n.split(" ");o=o.map((function(e,t){if("forward"===r){if(t>0)return" "+e}else if(t<o.length-1)return e+" ";return e}));for(var a,s=i,l=null,u=null,c=0;c<o.length;c++){if(e<(a=s+o[c].length)&&s<t)null!==l||(l=s),u=a;else if(null!==l)break;s=a}var d=i+n.length,p=l===i,h=u===d;return(!p&&h||p&&!h)&&("forward"===r?u!==d&&u++:l!==i&&l--),{start:l,end:u}}},m4e="production"!==ga.env.NODE_ENV?function(e){}:function(e){if(void 0===e)throw new Error("invariant(...): Second argument must be a string.")};var g4e=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(m4e(t),!e){var o;if(void 0===t)o=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var a=0;(o=new Error(t.replace(/%s/g,(function(){return String(i[a++])})))).name="Invariant Violation"}throw o.framesToPop=1,o}},v4e=g4e;var y4e=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"!==ga.env.NODE_ENV?v4e(!1,"Entity key not found in this range."):v4e(!1)),n},b4e=f4e,O4e=y4e,_4e=g4e;function w4e(e,t,n,i,r,o,a){var s=n.getStartOffset(),l=n.getEndOffset(),u=e.__get(r).getMutability(),c=a?s:l;if("MUTABLE"===u)return n;var d=O4e(t,r).filter((function(e){return c<=e.end&&c>=e.start}));1!=d.length&&("production"!==ga.env.NODE_ENV?_4e(!1,"There should only be one entity range within this removal range."):_4e(!1));var p=d[0];if("IMMUTABLE"===u)return n.merge({anchorOffset:p.start,focusOffset:p.end,isBackward:!1});o||(a?l=p.end:s=p.start);var h=b4e.getRemovalRange(s,l,t.getText().slice(p.start,p.end),p.start,i);return n.merge({anchorOffset:h.start,focusOffset:h.end,isBackward:!1})}var x4e=function(e,t,n,i,r){var o=i.getStartOffset(),a=i.getEndOffset(),s=t.getEntityAt(o),l=n.getEntityAt(a-1);if(!s&&!l)return i;var u=i;if(s&&s===l)u=w4e(e,t,u,r,s,!0,!0);else if(s&&l){var c=w4e(e,t,u,r,s,!1,!0),d=w4e(e,n,u,r,l,!1,!1);u=u.merge({anchorOffset:c.getAnchorOffset(),focusOffset:d.getFocusOffset(),isBackward:!1})}else if(s){var p=w4e(e,t,u,r,s,!1,!0);u=u.merge({anchorOffset:p.getStartOffset(),isBackward:!1})}else if(l){var h=w4e(e,n,u,r,l,!1,!1);u=u.merge({focusOffset:h.getEndOffset(),isBackward:!1})}return u},k4e={},S4e=Math.pow(2,24);var P4e=function(){for(var e;void 0===e||k4e.hasOwnProperty(e)||!isNaN(+e);)e=Math.floor(Math.random()*S4e).toString(32);return k4e[e]=!0,e},E4e=r4e,C4e=P4e,F4e=m3e.exports.OrderedMap,T4e=function(e){return e.first()instanceof E4e?function(e){var t,n={};return F4e(e.withMutations((function(e){e.forEach((function(i,r){var o=i.getKey(),a=i.getNextSiblingKey(),s=i.getPrevSiblingKey(),l=i.getChildKeys(),u=i.getParentKey(),c=C4e();if(n[o]=c,a&&(e.get(a)?e.setIn([a,"prevSibling"],c):e.setIn([o,"nextSibling"],null)),s&&(e.get(s)?e.setIn([s,"nextSibling"],c):e.setIn([o,"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([o,"parent"],null),t&&(e.setIn([t.getKey(),"nextSibling"],c),e.setIn([o,"prevSibling"],n[t.getKey()])),t=e.get(o);l.forEach((function(t){e.get(t)?e.setIn([t,"parent"],c):e.setIn([o,"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 F4e(e.toArray().map((function(e){var t=C4e();return[t,e.set("key",t)]})))}(e)},D4e=C3e,A4e=F3e,I4e=g4e;function L4e(e,t,n){var i=t.getCharacterList(),r=n>0?i.get(n-1):void 0,o=n<i.count()?i.get(n):void 0,a=r?r.getEntity():void 0,s=o?o.getEntity():void 0;if(s&&s===a&&"MUTABLE"!==e.__get(s).getMutability()){for(var l,u=function(e,t,n){var i;return A4e(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"!==ga.env.NODE_ENV?I4e(!1,"Removal range must exist within character list."):I4e(!1)),i}(i,s,n),c=u.start,d=u.end;c<d;)l=i.get(c),i=i.set(c,D4e.applyEntity(l,null)),c++;return t.set("characterList",i)}return t}var $4e=function(e,t){var n=e.getBlockMap(),i=e.getEntityMap(),r={},o=t.getStartKey(),a=t.getStartOffset(),s=n.get(o),l=L4e(i,s,a);l!==s&&(r[o]=l);var u=t.getEndKey(),c=t.getEndOffset(),d=n.get(u);o===u&&(d=l);var p=L4e(i,d,c);return p!==d&&(r[u]=p),Object.keys(r).length?e.merge({blockMap:n.merge(r),selectionAfter:t}):e.set("selectionAfter",t)},z4e=T4e,R4e=$4e,j4e=function(e,t){var n=t.getStartKey(),i=t.getStartOffset(),r=t.getEndKey(),o=t.getEndOffset(),a=R4e(e,t).getBlockMap(),s=a.keySeq(),l=s.indexOf(n),u=s.indexOf(r)+1;return z4e(a.slice(l,u).map((function(e,t){var a=e.getText(),s=e.getCharacterList();return n===r?e.merge({text:a.slice(i,o),characterList:s.slice(i,o)}):t===n?e.merge({text:a.slice(i),characterList:s.slice(i)}):t===r?e.merge({text:a.slice(0,o),characterList:s.slice(0,o)}):e})))};var M4e=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),o=i.slice(n);i=r.concat(t,o).toList()}return i},Q4e=y3e,N4e=r4e,U4e=M4e,B4e=g4e,q4e=T4e,G4e=m3e.exports.List,W4e=function(e,t,n,i,r,o){var a=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=o+i.getText().length,p=null;switch(a){case"MERGE_OLD_DATA_TO_NEW_DATA":p=i.getData().merge(s.getData());break;case"REPLACE_WITH_NEW_DATA":p=i.getData()}var h=s.getType();l&&"unstyled"===h&&(h=i.getType());var f=s.merge({text:l.slice(0,o)+i.getText()+l.slice(o),characterList:U4e(u,i.getCharacterList(),o),type:h,data:p});return e.merge({blockMap:n.set(r,f),selectionBefore:t,selectionAfter:t.merge({anchorKey:c,anchorOffset:d,focusKey:c,focusOffset:d,isBackward:!1})})},X4e=function(e,t,n,i,r,o){var a=n.first()instanceof N4e,s=[],l=i.size,u=n.get(r),c=i.first(),d=i.last(),p=d.getLength(),h=d.getKey(),f=a&&(!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(),o=i.slice(0,t),a=r.slice(0,t),s=n.first();return e.merge({text:o+s.getText(),characterList:a.concat(s.getCharacterList()),type:o?e.getType():s.getType(),data:s.getData()})}(e,o,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(),o=i.length,a=i.slice(t,o),s=r.slice(t,o),l=n.last();return l.merge({text:l.getText()+a,characterList:l.getCharacterList().concat(s),data:l.getData()})}(e,o,i))):s.push(e)}));var m=Q4e.createFromArray(s);return a&&(m=function(e,t,n,i){return e.withMutations((function(t){var r=n.getKey(),o=i.getKey(),a=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 o=i.getNextSiblingKey();if(!o)break;r.push(o),i=t.get(o)}return r}(i,e),u=l[l.length-1];if(t.get(o)?(t.setIn([r,"nextSibling"],o),t.setIn([o,"prevSibling"],r)):(t.setIn([r,"nextSibling"],i.getNextSiblingKey()),t.setIn([i.getNextSiblingKey(),"prevSibling"],r)),t.setIn([u,"nextSibling"],a),a&&t.setIn([a,"prevSibling"],u),l.forEach((function(e){return t.setIn([e,"parent"],s)})),s){var c=e.get(s).getChildKeys(),d=c.indexOf(r)+1,p=c.toArray();p.splice.apply(p,[d,0].concat(l)),t.setIn([s,"children"],G4e(p))}}))}(m,0,u,c)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:h,anchorOffset:p,focusKey:h,focusOffset:p,isBackward:!1})})},V4e=function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";t.isCollapsed()||("production"!==ga.env.NODE_ENV?B4e(!1,"`insertFragment` should only be called with a collapsed selection state."):B4e(!1));var r=e.getBlockMap(),o=q4e(n),a=t.getStartKey(),s=t.getStartOffset(),l=r.get(a);return l instanceof N4e&&(l.getChildKeys().isEmpty()||("production"!==ga.env.NODE_ENV?B4e(!1,"`insertFragment` should not be called when a container node is selected."):B4e(!1))),1===o.size?W4e(e,t,r,o.first(),a,s,i):X4e(e,t,r,o,a,s)},Y4e=M4e,Z4e=g4e,H4e=m3e.exports.Repeat;var K4e=function(e,t,n,i){t.isCollapsed()||("production"!==ga.env.NODE_ENV?Z4e(!1,"`insertText` should only be called with a collapsed range."):Z4e(!1));var r=null;if(null!=n&&(r=n.length),null==r||0===r)return e;var o=e.getBlockMap(),a=t.getStartKey(),s=t.getStartOffset(),l=o.get(a),u=l.getText(),c=l.merge({text:u.slice(0,s)+n+u.slice(s,l.getLength()),characterList:Y4e(l.getCharacterList(),H4e(i,r).toList(),s)}),d=s+r;return e.merge({blockMap:o.set(a,c),selectionAfter:t.merge({anchorOffset:d,focusOffset:d})})},J4e=m3e.exports.Map;var e6e=function(e,t,n){var i=t.getStartKey(),r=t.getEndKey(),o=e.getBlockMap(),a=o.toSeq().skipUntil((function(e,t){return t===i})).takeUntil((function(e,t){return t===r})).concat(J4e([[r,o.get(r)]])).map(n);return e.merge({blockMap:o.merge(a),selectionBefore:t,selectionAfter:t})},t6e=r4e,n6e=function(e,t){if(!(e instanceof t6e))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 o=r.getParentKey();r=o?t.get(o):null}return r?r.getNextSiblingKey():null},i6e=r4e,r6e=n6e,o6e=m3e.exports;o6e.List;var a6e=o6e.Map,s6e=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},l6e=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},u6e=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},c6e=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},d6e=function(e,t,n,i){return e.withMutations((function(r){if(s6e(t.getKey(),r,(function(e){return e.merge({nextSibling:u6e(e,r,i),prevSibling:c6e(e,r,i)})})),s6e(n.getKey(),r,(function(e){return e.merge({nextSibling:u6e(e,r,i),prevSibling:c6e(e,r,i)})})),l6e(t.getKey(),i).forEach((function(e){return s6e(e,r,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return r.get(e)})),nextSibling:u6e(e,r,i),prevSibling:c6e(e,r,i)})}))})),s6e(t.getNextSiblingKey(),r,(function(e){return e.merge({prevSibling:t.getPrevSiblingKey()})})),s6e(t.getPrevSiblingKey(),r,(function(e){return e.merge({nextSibling:u6e(e,r,i)})})),s6e(n.getNextSiblingKey(),r,(function(e){return e.merge({prevSibling:c6e(e,r,i)})})),s6e(n.getPrevSiblingKey(),r,(function(e){return e.merge({nextSibling:n.getNextSiblingKey()})})),l6e(n.getKey(),i).forEach((function(e){s6e(e,r,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return r.get(e)})),nextSibling:u6e(e,r,i),prevSibling:c6e(e,r,i)})}))})),function(e,t){var n=[];if(!e)return n;for(var i=r6e(e,t);i&&t.get(i);){var r=t.get(i);n.push(i),i=r.getParentKey()?r6e(r,t):null}return n}(n,i).forEach((function(e){return s6e(e,r,(function(e){return e.merge({nextSibling:u6e(e,r,i),prevSibling:c6e(e,r,i)})}))})),null==e.get(t.getKey())&&null!=e.get(n.getKey())&&n.getParentKey()===t.getKey()&&null==n.getPrevSiblingKey()){var o=t.getPrevSiblingKey();s6e(n.getKey(),r,(function(e){return e.merge({prevSibling:o})})),s6e(o,r,(function(e){return e.merge({nextSibling:n.getKey()})}));var a=o?e.get(o):null,s=a?a.getParentKey():null;if(t.getChildKeys().forEach((function(e){s6e(e,r,(function(e){return e.merge({parent:s})}))})),null!=s){var l=e.get(s);s6e(s,r,(function(e){return e.merge({children:l.getChildKeys().concat(t.getChildKeys())})}))}s6e(t.getChildKeys().find((function(t){return null===e.get(t).getNextSiblingKey()})),r,(function(e){return e.merge({nextSibling:t.getNextSiblingKey()})}))}}))},p6e=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},h6e=function(e,t){if(t.isCollapsed())return e;var n,i=e.getBlockMap(),r=t.getStartKey(),o=t.getStartOffset(),a=t.getEndKey(),s=t.getEndOffset(),l=i.get(r),u=i.get(a),c=l instanceof i6e,d=[];if(c){var p=u.getChildKeys(),h=l6e(a,i);u.getNextSiblingKey()&&(d=d.concat(h)),p.isEmpty()||(d=d.concat(h.concat([a]))),d=d.concat(l6e(r6e(u,i),i))}n=l===u?p6e(l.getCharacterList(),o,s):l.getCharacterList().slice(0,o).concat(u.getCharacterList().slice(s));var f=l.merge({text:l.getText().slice(0,o)+u.getText().slice(s),characterList:n}),m=c&&0===o&&0===s&&u.getParentKey()===r&&null==u.getPrevSiblingKey()?a6e([[r,null]]):i.toSeq().skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===a})).filter((function(e,t){return-1===d.indexOf(t)})).concat(a6e([[a,null]])).map((function(e,t){return t===r?f:null})),g=i.merge(m).filter((function(e){return!!e}));return c&&l!==u&&(g=d6e(g,l,u,i)),e.merge({blockMap:g,selectionBefore:t,selectionAfter:t.merge({anchorKey:r,anchorOffset:o,focusKey:r,focusOffset:o,isBackward:!1})})},f6e=r4e,m6e=P4e,g6e=m3e.exports,v6e=g4e,y6e=e6e,b6e=g6e.List,O6e=g6e.Map,_6e=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},w6e=function(e,t){t.isCollapsed()||("production"!==ga.env.NODE_ENV?v6e(!1,"Selection range must be collapsed."):v6e(!1));var n=t.getAnchorKey(),i=e.getBlockMap(),r=i.get(n),o=r.getText();if(!o){var a=r.getType();if("unordered-list-item"===a||"ordered-list-item"===a)return y6e(e,t,(function(e){return e.merge({type:"unstyled",depth:0})}))}var s=t.getAnchorOffset(),l=r.getCharacterList(),u=m6e(),c=r instanceof f6e,d=r.merge({text:o.slice(0,s),characterList:l.slice(0,s)}),p=d.merge({key:u,text:o.slice(s),characterList:l.slice(s),data:O6e()}),h=i.toSeq().takeUntil((function(e){return e===r})),f=i.toSeq().skipUntil((function(e){return e===r})).rest(),m=h.concat([[n,d],[u,p]],f).toOrderedMap();return c&&(r.getChildKeys().isEmpty()||("production"!==ga.env.NODE_ENV?v6e(!1,"ContentBlockNode must not have children"):v6e(!1)),m=function(e,t,n){return e.withMutations((function(e){var i=t.getKey(),r=n.getKey();_6e(t.getParentKey(),e,(function(e){var t=e.getChildKeys(),n=t.indexOf(i)+1,o=t.toArray();return o.splice(n,0,r),e.merge({children:b6e(o)})})),_6e(t.getNextSiblingKey(),e,(function(e){return e.merge({prevSibling:r})})),_6e(i,e,(function(e){return e.merge({nextSibling:r})})),_6e(r,e,(function(e){return e.merge({prevSibling:i})}))}))}(m,d,p)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:u,anchorOffset:0,focusKey:u,focusOffset:0,isBackward:!1})})},x6e=C3e,k6e=l4e,S6e=h4e,P6e=x4e,E6e=j4e,C6e=V4e,F6e=K4e,T6e=g4e,D6e=e6e,A6e=$4e,I6e=h6e,L6e=w6e,$6e=m3e.exports.OrderedSet,z6e={replaceText:function(e,t,n,i,r){var o=A6e(e,t),a=I6e(o,t),s=x6e.create({style:i||$6e(),entity:r||null});return F6e(a,a.getSelectionAfter(),n,s)},insertText:function(e,t,n,i,r){return t.isCollapsed()||("production"!==ga.env.NODE_ENV?T6e(!1,"Target range must be collapsed for `insertText`."):T6e(!1)),z6e.replaceText(e,t,n,i,r)},moveText:function(e,t,n){var i=E6e(e,t),r=z6e.removeRange(e,t,"backward");return z6e.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=A6e(e,t),o=I6e(r,t);return C6e(o,o.getSelectionAfter(),n,i)},removeRange:function(e,t,n){var i,r,o,a;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(),o=e.getBlockForKey(i),a=e.getBlockForKey(r);var s=t.getStartOffset(),l=t.getEndOffset(),u=o.getEntityAt(s),c=a.getEntityAt(l-1);if(i===r&&u&&u===c){var d=P6e(e.getEntityMap(),o,a,t,n);return I6e(e,d)}var p=A6e(e,t);return I6e(p,t)},splitBlock:function(e,t){var n=A6e(e,t),i=I6e(n,t);return L6e(i,i.getSelectionAfter())},applyInlineStyle:function(e,t,n){return k6e.add(e,t,n)},removeInlineStyle:function(e,t,n){return k6e.remove(e,t,n)},setBlockType:function(e,t,n){return D6e(e,t,(function(e){return e.merge({type:n,depth:0})}))},setBlockData:function(e,t,n){return D6e(e,t,(function(e){return e.merge({data:n})}))},mergeBlockData:function(e,t,n){return D6e(e,t,(function(e){return e.merge({data:e.getData().merge(n)})}))},applyEntity:function(e,t,n){var i=A6e(e,t);return S6e(i,t,n)}},R6e=z6e;var j6e=function(e){return Object.keys(e).map((function(t){return e[t]}))};function M6e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Q6e=F3e,N6e=j6e,U6e=m3e.exports,B6e=U6e.List,q6e=U6e.Repeat,G6e=U6e.Record,W6e=function(){return!0},X6e=G6e({start:null,end:null}),V6e=G6e({start:null,end:null,decoratorKey:null,leaves:null}),Y6e={generate:function(e,t,n){var i=t.getLength();if(!i)return B6e.of(new V6e({start:0,end:0,decoratorKey:null,leaves:B6e.of(new X6e({start:0,end:0}))}));var r=[],o=n?n.getDecorations(t,e):B6e(q6e(null,i)),a=t.getCharacterList();return Q6e(o,H6e,W6e,(function(e,t){r.push(new V6e({start:e,end:t,decoratorKey:o.get(e),leaves:Z6e(a.slice(e,t).toList(),e)}))})),B6e(r)},fromJS:function(e){var t=e.leaves,n=function(e,t){if(null==e)return{};var n,i,r={},o=Object.keys(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,["leaves"]);return new V6e(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){M6e(e,t,n[t])}))}return e}({},n,{leaves:null!=t?B6e(Array.isArray(t)?t:N6e(t)).map((function(e){return X6e(e)})):null}))}};function Z6e(e,t){var n=[],i=e.map((function(e){return e.getStyle()})).toList();return Q6e(i,H6e,W6e,(function(e,i){n.push(new X6e({start:e+t,end:i+t}))})),B6e(n)}function H6e(e,t){return e===t}var K6e=Y6e;var J6e=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,m3e.exports.Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object})),e5e=J6e;var t5e=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 n5e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i5e=e5e,r5e=g4e,o5e=t5e,a5e=(0,m3e.exports.Map)(),s5e=o5e();function l5e(e,t){console.warn("WARNING: "+e+' will be deprecated soon!\nPlease use "'+t+'" instead.')}var u5e={getLastCreatedEntityKey:function(){return l5e("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),u5e.__getLastCreatedEntityKey()},create:function(e,t,n){return l5e("DraftEntity.create","contentState.createEntity"),u5e.__create(e,t,n)},add:function(e){return l5e("DraftEntity.add","contentState.addEntity"),u5e.__add(e)},get:function(e){return l5e("DraftEntity.get","contentState.getEntity"),u5e.__get(e)},__getAll:function(){return a5e},__loadWithEntities:function(e){a5e=e,s5e=o5e()},mergeData:function(e,t){return l5e("DraftEntity.mergeData","contentState.mergeEntityData"),u5e.__mergeData(e,t)},replaceData:function(e,t){return l5e("DraftEntity.replaceData","contentState.replaceEntityData"),u5e.__replaceData(e,t)},__getLastCreatedEntityKey:function(){return s5e},__create:function(e,t,n){return u5e.__add(new i5e({type:e,mutability:t,data:n||{}}))},__add:function(e){return s5e=o5e(),a5e=a5e.set(s5e,e),s5e},__get:function(e){var t=a5e.get(e);return t||("production"!==ga.env.NODE_ENV?r5e(!1,"Unknown DraftEntity key: %s.",e):r5e(!1)),t},__mergeData:function(e,t){var n=u5e.__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){n5e(e,t,n[t])}))}return e}({},n.getData(),t),r=n.set("data",i);return a5e=a5e.set(e,r),r},__replaceData:function(e,t){var n=u5e.__get(e).set("data",t);return a5e=a5e.set(e,n),n}},c5e=u5e;var d5e=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 o=this.getStartOffset(),a=this.getEndOffset();return t<=o&&o<=n||t<=a&&a<=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,m3e.exports.Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1})),p5e=d5e,h5e=function(e){return!("undefined"==typeof window||!window.__DRAFT_GKX)&&!!window.__DRAFT_GKX[e]},f5e=new RegExp("\r","g");var m5e=function(e){return e.replace(f5e,"")};function g5e(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){v5e(e,t,n[t])}))}return e}function v5e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y5e=y3e,b5e=C3e,O5e=B3e,_5e=r4e,w5e=c5e,x5e=p5e,k5e=P4e,S5e=j6e,P5e=h5e,E5e=m3e.exports,C5e=m5e,F5e=E5e.List,T5e=E5e.Record,D5e=E5e.Repeat,A5e=E5e.Map,I5e=E5e.OrderedMap,L5e=T5e({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),$5e=P5e("draft_tree_data_support")?_5e:O5e,z5e=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 w5e},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 w5e.__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 w5e.__create(e,t,n),this},r.mergeEntityData=function(e,t){return w5e.__mergeData(e,t),this},r.replaceEntityData=function(e,t){return w5e.__replaceData(e,t),this},r.addEntity=function(e){return w5e.__add(e),this},r.getEntity=function(e){return w5e.__get(e)},r.getAllEntities=function(){return w5e.__getAll()},r.loadWithEntities=function(e){return w5e.__loadWithEntities(e)},i.createFromBlockArray=function(e,t){var n=Array.isArray(e)?e:e.contentBlocks,r=y5e.createFromArray(n),o=r.isEmpty()?new x5e:x5e.createEmpty(r.first().getKey());return new i({blockMap:r,entityMap:t||w5e,selectionBefore:o,selectionAfter:o})},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=C5e(e),new $5e({key:k5e(),text:e,type:"unstyled",characterList:F5e(D5e(b5e.EMPTY,e.length))})}));return i.createFromBlockArray(r)},i.fromJS=function(e){return new i(g5e({},e,{blockMap:I5e(e.blockMap).map(i.createContentBlockFromJS),selectionBefore:new x5e(e.selectionBefore),selectionAfter:new x5e(e.selectionAfter)}))},i.createContentBlockFromJS=function(e){var t=e.characterList;return new $5e(g5e({},e,{data:A5e(e.data),characterList:null!=t?F5e((Array.isArray(t)?t:S5e(t)).map((function(e){return b5e.fromJS(e)}))):void 0}))},i}(L5e),R5e=z5e,j5e=g4e,M5e="LTR",Q5e=null;function N5e(e){return e===M5e||"RTL"===e}function U5e(e){return N5e(e)||("production"!==ga.env.NODE_ENV?j5e(!1,"`dir` must be a strong direction to be converted to HTML Direction"):j5e(!1)),e===M5e?"ltr":"rtl"}function B5e(e){Q5e=e}var q5e={NEUTRAL:"NEUTRAL",LTR:M5e,RTL:"RTL",isStrong:N5e,getHTMLDir:U5e,getHTMLDirIfDifferent:function(e,t){return N5e(e)||("production"!==ga.env.NODE_ENV?j5e(!1,"`dir` must be a strong direction to be converted to HTML Direction"):j5e(!1)),N5e(t)||("production"!==ga.env.NODE_ENV?j5e(!1,"`otherDir` must be a strong direction to be converted to HTML Direction"):j5e(!1)),e===t?null:U5e(e)},setGlobalDir:B5e,initGlobalDir:function(){B5e(M5e)},getGlobalDir:function(){return Q5e||this.initGlobalDir(),Q5e||("production"!==ga.env.NODE_ENV?j5e(!1,"Global direction not set."):j5e(!1)),Q5e}},G5e=q5e,W5e=g4e,X5e="֐־׀׃׆׈-׏א-ת׫-ׯװ-ײ׳-״׵-׿߀-߉ߊ-ߪߴ-ߵߺ߻-߿ࠀ-ࠕࠚࠤࠨ࠮-࠯࠰-࠾࠿ࡀ-ࡘ࡜-࡝࡞࡟-࢟‏יִײַ-ﬨשׁ-זּ﬷טּ-לּ﬽מּ﬿נּ-סּ﭂ףּ-פּ﭅צּ-ﭏ",V5e="؈؋؍؛؜؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍܎܏ܐܒ-ܯ݋-݌ݍ-ޥޱ޲-޿ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-﯒ﯓ-ﴽ﵀-﵏ﵐ-ﶏ﶐-﶑ﶒ-ﷇ﷈-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴ﹵ﹶ-ﻼ﻽-﻾",Y5e=new RegExp("["+"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‎ⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+X5e+V5e+"]"),Z5e=new RegExp("["+X5e+V5e+"]");function H5e(e){var t=Y5e.exec(e);return null==t?null:t[0]}function K5e(e){var t=H5e(e);return null==t?G5e.NEUTRAL:Z5e.exec(t)?G5e.RTL:G5e.LTR}function J5e(e,t){if(t=t||G5e.NEUTRAL,!e.length)return t;var n=K5e(e);return n===G5e.NEUTRAL?t:n}function e9e(e,t){return t||(t=G5e.getGlobalDir()),G5e.isStrong(t)||("production"!==ga.env.NODE_ENV?W5e(!1,"Fallback direction must be a strong direction"):W5e(!1)),J5e(e,t)}var t9e={firstStrongChar:H5e,firstStrongCharDir:K5e,resolveBlockDir:J5e,getDirection:e9e,isDirectionLTR:function(e,t){return e9e(e,t)===G5e.LTR},isDirectionRTL:function(e,t){return e9e(e,t)===G5e.RTL}},n9e=t9e;function i9e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var r9e,o9e=n9e,a9e=q5e,s9e=g4e,l9e=function(){function e(e){i9e(this,"_defaultDir",void 0),i9e(this,"_lastDir",void 0),e?a9e.isStrong(e)||("production"!==ga.env.NODE_ENV?s9e(!1,"Default direction must be a strong direction (LTR or RTL)"):s9e(!1)):e=a9e.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=o9e.getDirection(e,this._lastDir),this._lastDir},e}(),u9e=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")},c9e=l9e,d9e=m3e.exports,p9e=u9e,h9e=d9e.OrderedMap,f9e={getDirectionMap:function(e,t){r9e?r9e.reset():r9e=new c9e;var n=e.getBlockMap(),i=n.valueSeq().map((function(e){return p9e(r9e).getDirection(e.getText())})),r=h9e(n.keySeq().zip(i));return null!=t&&d9e.is(t,r)?t:r}};function m9e(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){g9e(e,t,n[t])}))}return e}function g9e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v9e=K6e,y9e=R5e,b9e=f9e,O9e=p5e,_9e=m3e.exports,w9e=_9e.OrderedSet,x9e=_9e.Record,k9e=_9e.Stack,S9e=_9e.OrderedMap,P9e=_9e.List,E9e=x9e({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:k9e(),selection:null,treeMap:null,undoStack:k9e()}),C9e=function(){t.createEmpty=function(e){return t.createWithContent(y9e.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:k9e(),redoStack:k9e(),decorator:n||null,selection:O9e.createEmpty(i)})},t.create=function(e){var n=e.currentContent,i=m9e({},e,{treeMap:T9e(n,e.decorator),directionMap:b9e.getDirectionMap(n)});return new t(new E9e(i))},t.fromJS=function(e){return new t(new E9e(m9e({},e,{directionMap:null!=e.directionMap?S9e(e.directionMap):e.directionMap,inlineStyleOverride:null!=e.inlineStyleOverride?w9e(e.inlineStyleOverride):e.inlineStyleOverride,nativelyRenderedContent:null!=e.nativelyRenderedContent?y9e.fromJS(e.nativelyRenderedContent):e.nativelyRenderedContent,redoStack:null!=e.redoStack?k9e(e.redoStack.map((function(e){return y9e.fromJS(e)}))):e.redoStack,selection:null!=e.selection?new O9e(e.selection):e.selection,treeMap:null!=e.treeMap?S9e(e.treeMap).map((function(e){return P9e(e).map((function(e){return v9e.fromJS(e)}))})):e.treeMap,undoStack:null!=e.undoStack?k9e(e.undoStack.map((function(e){return y9e.fromJS(e)}))):e.undoStack,currentContent:y9e.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 o=n.currentContent||e.getCurrentContent();if(r!==i){var a,s=t.get("treeMap");return a=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 v9e.generate(e,t,i)})))}(o,o.getBlockMap(),s,r,i):T9e(o,r),void t.merge({decorator:r,treeMap:a,nativelyRenderedContent:null})}o!==e.getCurrentContent()&&t.set("treeMap",function(e,t,n,i){var r=e.getCurrentContent().set("entityMap",n),o=r.getBlockMap();return e.getImmutable().get("treeMap").merge(t.toSeq().filter((function(e,t){return e!==o.get(t)})).map((function(e){return v9e.generate(r,e,i)})))}(e,o.getBlockMap(),o.getEntityMap(),r)),t.merge(n)}));return new t(i)};var e=t.prototype;function t(e){g9e(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 A9e(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 A9e(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 F9e(e,t,!1)},t.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),F9e(e,t,!0)},t.moveSelectionToEnd=function(e){var n=e.getCurrentContent().getLastBlock(),i=n.getKey(),r=n.getLength();return t.acceptSelection(e,new O9e({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 o=b9e.getDirectionMap(n,e.getDirectionMap());if(!e.getAllowUndo())return t.set(e,{currentContent:n,directionMap:o,lastChangeType:i,selection:n.getSelectionAfter(),forceSelection:r,inlineStyleOverride:null});var a=e.getSelection(),s=e.getCurrentContent(),l=e.getUndoStack(),u=n;a!==s.getSelectionAfter()||D9e(e,i)?(l=l.push(s),u=u.set("selectionBefore",a)):"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 p={currentContent:u,directionMap:o,undoStack:l,redoStack:k9e(),lastChangeType:i,selection:n.getSelectionAfter(),forceSelection:r,inlineStyleOverride:c};return t.set(e,p)},t.undo=function(e){if(!e.getAllowUndo())return e;var n=e.getUndoStack(),i=n.peek();if(!i)return e;var r=e.getCurrentContent(),o=b9e.getDirectionMap(i,e.getDirectionMap());return t.set(e,{currentContent:i,directionMap:o,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(),o=b9e.getDirectionMap(i,e.getDirectionMap());return t.set(e,{currentContent:i,directionMap:o,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 F9e(e,t,n){return C9e.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function T9e(e,t){return e.getBlockMap().map((function(n){return v9e.generate(e,n,t)})).toOrderedMap()}function D9e(e,t){return t!==e.getLastChangeType()||"insert-characters"!==t&&"backspace-character"!==t&&"delete-character"!==t}function A9e(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):w9e()}var I9e=C9e,L9e=r4e,$9e=n6e,z9e=m3e.exports,R9e=g4e,j9e=z9e.OrderedMap,M9e=z9e.List,Q9e=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},N9e=function(e,t,n,i,r){if(!r)return e;var o="after"===i,a=t.getKey(),s=n.getKey(),l=t.getParentKey(),u=t.getNextSiblingKey(),c=t.getPrevSiblingKey(),d=n.getParentKey(),p=o?n.getNextSiblingKey():s,h=o?s:n.getPrevSiblingKey();return e.withMutations((function(e){Q9e(l,e,(function(e){var t=e.getChildKeys();return e.merge({children:t.delete(t.indexOf(a))})})),Q9e(c,e,(function(e){return e.merge({nextSibling:u})})),Q9e(u,e,(function(e){return e.merge({prevSibling:c})})),Q9e(p,e,(function(e){return e.merge({prevSibling:a})})),Q9e(h,e,(function(e){return e.merge({nextSibling:a})})),Q9e(d,e,(function(e){var t=e.getChildKeys(),n=t.indexOf(s),i=o?n+1:0!==n?n-1:0,r=t.toArray();return r.splice(i,0,a),e.merge({children:M9e(r)})})),Q9e(a,e,(function(e){return e.merge({nextSibling:p,prevSibling:h,parent:d})}))}))},U9e=function(e,t,n,i){"replace"===i&&("production"!==ga.env.NODE_ENV?R9e(!1,"Replacing blocks is not supported."):R9e(!1));var r=n.getKey(),o=t.getKey();o===r&&("production"!==ga.env.NODE_ENV?R9e(!1,"Block cannot be moved next to itself."):R9e(!1));var a=e.getBlockMap(),s=t instanceof L9e,l=[t],u=a.delete(o);s&&(l=[],u=a.withMutations((function(e){var n=t.getNextSiblingKey(),i=$9e(t,e);e.toSeq().skipUntil((function(e){return e.getKey()===o})).takeWhile((function(e){var t=e.getKey(),r=t===o,a=n&&t!==n,s=!n&&e.getParentKey()&&(!i||t!==i);return!!(r||a||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),p=l.map((function(e){return[e.getKey(),e]})),h=j9e();if("before"===i){var f=e.getBlockBefore(r);f&&f.getKey()===t.getKey()&&("production"!==ga.env.NODE_ENV?R9e(!1,"Block cannot be moved next to itself."):R9e(!1)),h=c.concat([].concat(p,[[r,n]]),d).toOrderedMap()}else if("after"===i){var m=e.getBlockAfter(r);m&&m.getKey()===o&&("production"!==ga.env.NODE_ENV?R9e(!1,"Block cannot be moved next to itself."):R9e(!1)),h=c.concat([[r,n]].concat(p),d).toOrderedMap()}return e.merge({blockMap:N9e(h,t,n,i,s),selectionBefore:e.getSelectionAfter(),selectionAfter:e.getSelectionAfter().merge({anchorKey:o,focusKey:o})})};function B9e(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){q9e(e,t,n[t])}))}return e}function q9e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var G9e=y3e,W9e=C3e,X9e=B3e,V9e=r4e,Y9e=R6e,Z9e=I9e,H9e=P4e,K9e=m3e.exports,J9e=U9e,e8e=h5e("draft_tree_data_support"),t8e=e8e?V9e:X9e,n8e=K9e.List,i8e=K9e.Repeat,r8e={insertAtomicBlock:function(e,t,n){var i=e.getCurrentContent(),r=e.getSelection(),o=Y9e.removeRange(i,r,"backward"),a=o.getSelectionAfter(),s=Y9e.splitBlock(o,a),l=s.getSelectionAfter(),u=Y9e.setBlockType(s,l,"atomic"),c=W9e.create({entity:t}),d={key:H9e(),type:"atomic",text:n,characterList:n8e(i8e(c,n.length))},p={key:H9e(),type:"unstyled"};e8e&&(d=B9e({},d,{nextSibling:p.key}),p=B9e({},p,{prevSibling:d.key}));var h=[new t8e(d),new t8e(p)],f=G9e.createFromArray(h),m=Y9e.replaceWithFragment(u,l,f),g=m.merge({selectionBefore:r,selectionAfter:m.getSelectionAfter().set("hasFocus",!0)});return Z9e.push(e,g,"insert-fragment")},moveAtomicBlock:function(e,t,n,i){var r,o=e.getCurrentContent(),a=e.getSelection();if("before"===i||"after"===i){var s=o.getBlockForKey("before"===i?n.getStartKey():n.getEndKey());r=J9e(o,t,s,i)}else{var l=Y9e.removeRange(o,n,"backward"),u=l.getSelectionAfter(),c=l.getBlockForKey(u.getFocusKey());if(0===u.getStartOffset())r=J9e(l,t,c,"before");else if(u.getEndOffset()===c.getLength())r=J9e(l,t,c,"after");else{var d=Y9e.splitBlock(l,u),p=d.getSelectionAfter(),h=d.getBlockForKey(p.getFocusKey());r=J9e(d,t,h,"before")}}var f=r.merge({selectionBefore:a,selectionAfter:r.getSelectionAfter().set("hasFocus",!0)});return Z9e.push(e,f,"move-block")}};var o8e=m3e.exports.List,a8e=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 o=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+"."+o),o++)}),t)})),o8e(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 s8e=a8e;function l8e(e){return e.replace(/\//g,"-")}var u8e=function(e){return"object"==typeof e?Object.keys(e).filter((function(t){return e[t]})).map(l8e).join(" "):Array.prototype.map.call(arguments,l8e).join(" ")},c8e=g.default,d8e=u8e,p8e=(0,m3e.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:c8e.createElement("ul",{className:d8e("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:c8e.createElement("ol",{className:d8e("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:c8e.createElement("pre",{className:d8e("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}}),h8e={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}},f8e={exports:{}};!function(e,t){!function(n,i){var r="function",o="undefined",a="object",s="string",l="model",u="name",c="type",d="vendor",p="version",h="architecture",f="console",m="mobile",g="tablet",v="smarttv",y="wearable",b="embedded",O="Amazon",_="Apple",w="ASUS",x="BlackBerry",k="Firefox",S="Google",P="Huawei",E="LG",C="Microsoft",F="Motorola",T="Opera",D="Samsung",A="Sony",I="Xiaomi",L="Zebra",$="Facebook",z=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!==j(t).indexOf(j(e))},j=function(e){return e.toLowerCase()},M=function(e,t){if(typeof e===s)return e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,""),typeof t===o?e:e.substring(0,255)},Q=function(e,t){for(var n,o,s,l,u,c,d=0;d<t.length&&!u;){var p=t[d],h=t[d+1];for(n=o=0;n<p.length&&!u;)if(u=p[n++].exec(e))for(s=0;s<h.length;s++)c=u[++o],typeof(l=h[s])===a&&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]===a&&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"},B={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[p,[u,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[p,[u,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[u,p],[/opios[\/ ]+([\w\.]+)/i],[p,[u,"Opera Mini"]],[/\bopr\/([\w\.]+)/i],[p,[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,p],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[p,[u,"UCBrowser"]],[/\bqbcore\/([\w\.]+)/i],[p,[u,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[p,[u,"WeChat"]],[/konqueror\/([\w\.]+)/i],[p,[u,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[p,[u,"IE"]],[/yabrowser\/([\w\.]+)/i],[p,[u,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[u,/(.+)/,"$1 Secure Browser"],p],[/\bfocus\/([\w\.]+)/i],[p,[u,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[p,[u,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[p,[u,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[p,[u,"Dolphin"]],[/coast\/([\w\.]+)/i],[p,[u,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[p,[u,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[p,[u,k]],[/\bqihu|(qi?ho?o?|360)browser/i],[[u,"360 Browser"]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[u,/(.+)/,"$1 Browser"],p],[/(comodo_dragon)\/([\w\.]+)/i],[[u,/_/g," "],p],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[u,p],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i],[u],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[u,$],p],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[u,p],[/\bgsa\/([\w\.]+) .*safari\//i],[p,[u,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[p,[u,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[u,"Chrome WebView"],p],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[p,[u,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[u,p],[/version\/([\w\.]+) .*mobile\/\w+ (safari)/i],[p,[u,"Mobile Safari"]],[/version\/([\w\.]+) .*(mobile ?safari|safari)/i],[p,u],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[u,[p,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,p],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[u,"Netscape"],p],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[p,[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,p]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[h,"amd64"]],[/(ia32(?=;))/i],[[h,j]],[/((?:i[346]|x)86)[;\)]/i],[[h,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[h,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[h,"armhf"]],[/windows (ce|mobile); ppc;/i],[[h,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[h,/ower/,"",j]],[/(sun4\w)[;\)]/i],[[h,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[h,j]]],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,F],[c,m]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[l,[d,F],[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,x],[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,C],[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,C],[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,C],[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,M],[l,M],[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,$],[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],[p,[u,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[p,[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,p],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[p,u]],os:[[/microsoft (windows) (vista|xp)/i],[u,p],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[u,[p,N,U]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[u,"Windows"],[p,N,U]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[p,/_/g,"."],[u,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[u,"Mac OS"],[p,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[p,u],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[u,p],[/\(bb(10);/i],[p,[u,x]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[p,[u,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[p,[u,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[p,[u,"webOS"]],[/crkey\/([\d\.]+)/i],[p,[u,"Chromecast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[u,"Chromium OS"],p],[/(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,p],[/(sunos) ?([\w\.\d]*)/i],[[u,"Solaris"],p],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[u,p]]},q=function(e,t){if(typeof e===a&&(t=e,e=i),!(this instanceof q))return new q(e,t).getResult();var r=e||(typeof n!==o&&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}(B,t):B;return this.getBrowser=function(){var e={};return e.name=i,e.version=i,Q.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,Q.call(e,r,l.cpu),e},this.getDevice=function(){var e={};return e.vendor=i,e.model=i,e.type=i,Q.call(e,r,l.device),e},this.getEngine=function(){var e={};return e.name=i,e.version=i,Q.call(e,r,l.engine),e},this.getOS=function(){var e={};return e.name=i,e.version=i,Q.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?M(e,255):e,this},this.setUA(r),this};q.VERSION="0.7.31",q.BROWSER=z([u,p,"major"]),q.CPU=z([h]),q.DEVICE=z([l,d,c,f,m,v,g,y,b]),q.ENGINE=q.OS=z([u,p]),e.exports&&(t=e.exports=q),t.UAParser=q;var G=typeof n!==o&&(n.jQuery||n.Zepto);if(G&&!G.ua){var W=new q;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:k)}(f8e,f8e.exports);var m8e="Unknown",g8e={"Mac OS":"Mac OS X"};var v8e=(new(0,f8e.exports)).getResult(),y8e=function(e){if(!e)return{major:"",minor:""};var t=e.split(".");return{major:t[0],minor:t[1]}}(v8e.browser.version),b8e={browserArchitecture:v8e.cpu.architecture||m8e,browserFullVersion:v8e.browser.version||m8e,browserMinorVersion:y8e.minor||m8e,browserName:v8e.browser.name||m8e,browserVersion:v8e.browser.major||m8e,deviceName:v8e.device.model||m8e,engineName:v8e.engine.name||m8e,engineVersion:v8e.engine.version||m8e,platformArchitecture:v8e.cpu.architecture||m8e,platformName:function(e){return g8e[e]||e}(v8e.os.name)||m8e,platformVersion:v8e.os.version||m8e,platformFullVersion:v8e.os.version||m8e},O8e=b8e,_8e=g4e,w8e=/\./,x8e=/\|\|/,k8e=/\s+\-\s+/,S8e=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,P8e=/^(\d*)(.*)/;function E8e(e,t){var n=e.split(x8e);return n.length>1?n.some((function(e){return j8e.contains(e,t)})):function(e,t){var n=e.split(k8e);if(n.length>0&&n.length<=2||("production"!==ga.env.NODE_ENV?_8e(!1,'the "-" operator expects exactly 2 operands'):_8e(!1)),1===n.length)return C8e(n[0],t);var i=n[0],r=n[1];return I8e(i)&&I8e(r)||("production"!==ga.env.NODE_ENV?_8e(!1,'operands to the "-" operator must be simple (no modifiers)'):_8e(!1)),C8e(">="+i,t)&&C8e("<="+r,t)}(e=n[0].trim(),t)}function C8e(e,t){if(""===(e=e.trim()))return!0;var n=t.split(w8e),i=D8e(e),r=i.modifier,o=i.rangeComponents;switch(r){case"<":return F8e(n,o);case"<=":return function(e,t){var n=R8e(e,t);return-1===n||0===n}(n,o);case">=":return T8e(n,o);case">":return function(e,t){return 1===R8e(e,t)}(n,o);case"~":case"~>":return function(e,t){var n=t.slice(),i=t.slice();i.length>1&&i.pop();var r=i.length-1,o=parseInt(i[r],10);A8e(o)&&(i[r]=o+1+"");return T8e(e,n)&&F8e(e,i)}(n,o);default:return function(e,t){return 0===R8e(e,t)}(n,o)}}function F8e(e,t){return-1===R8e(e,t)}function T8e(e,t){var n=R8e(e,t);return 1===n||0===n}function D8e(e){var t=e.split(w8e),n=t[0].match(S8e);return n||("production"!==ga.env.NODE_ENV?_8e(!1,"expected regex to match but it did not"):_8e(!1)),{modifier:n[1],rangeComponents:[n[2]].concat(t.slice(1))}}function A8e(e){return!isNaN(e)&&isFinite(e)}function I8e(e){return!D8e(e).modifier}function L8e(e,t){for(var n=e.length;n<t;n++)e[n]="0"}function $8e(e,t){var n=e.match(P8e)[1],i=t.match(P8e)[1],r=parseInt(n,10),o=parseInt(i,10);return A8e(r)&&A8e(o)&&r!==o?z8e(r,o):z8e(e,t)}function z8e(e,t){return typeof e!=typeof t&&("production"!==ga.env.NODE_ENV?_8e(!1,'"a" and "b" must be of the same type'):_8e(!1)),e>t?1:e<t?-1:0}function R8e(e,t){for(var n=function(e,t){L8e(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 L8e(t,e.length),[e,t]}(e,t),i=n[0],r=n[1],o=0;o<r.length;o++){var a=$8e(i[o],r[o]);if(a)return a}return 0}var j8e={contains:function(e,t){return E8e(e.trim(),t.trim())}},M8e=j8e,Q8e=Object.prototype.hasOwnProperty;var N8e=function(e,t,n){if(!e)return null;var i={};for(var r in e)Q8e.call(e,r)&&(i[r]=t.call(n,e[r],r,e));return i};var U8e=function(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}},B8e=O8e,q8e=M8e;function G8e(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,q8e.contains(r,t))}function W8e(e){return"Windows"===B8e.platformName?e.replace(/^\s*NT/,""):e}var X8e=N8e({isBrowser:function(e){return G8e(B8e.browserName,B8e.browserFullVersion,e)},isBrowserArchitecture:function(e){return G8e(B8e.browserArchitecture,null,e)},isDevice:function(e){return G8e(B8e.deviceName,null,e)},isEngine:function(e){return G8e(B8e.engineName,B8e.engineVersion,e)},isPlatform:function(e){return G8e(B8e.platformName,B8e.platformFullVersion,e,W8e)},isPlatformArchitecture:function(e){return G8e(B8e.platformArchitecture,null,e)}},U8e);var V8e=function(e){return e&&e.ownerDocument?e.ownerDocument:document};var Y8e=function(e){return!(!e||!e.ownerDocument)&&e.nodeType===Node.ELEMENT_NODE},Z8e=Y8e;var H8e=function e(t){if(Z8e(t)){var n=t,i=n.getAttribute("data-offset-key");if(i)return i;for(var r=0;r<n.childNodes.length;r++){var o=e(n.childNodes[r]);if(o)return o}}return null},K8e=V8e,J8e=H8e;var e7e=function(e){for(var t=e;t&&t!==K8e(e).documentElement;){var n=J8e(t);if(null!=n)return n;t=t.parentNode}return null};var t7e=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window};function n7e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i7e=X8e,r7e=e7e,o7e=t7e,a7e=g4e,s7e=u9e,l7e=m3e.exports.Map,u7e={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},c7e=i7e.isBrowser("IE <= 11"),d7e=function(){function e(e){var t=this;n7e(this,"observer",void 0),n7e(this,"container",void 0),n7e(this,"mutations",void 0),n7e(this,"onCharData",void 0),this.container=e,this.mutations=l7e();var n=o7e(e);n.MutationObserver&&!c7e?this.observer=new n.MutationObserver((function(e){return t.registerMutations(e)})):this.onCharData=function(e){e.target instanceof Node||("production"!==ga.env.NODE_ENV?a7e(!1,"Expected target to be an instance of Node"):a7e(!1)),t.registerMutation({type:"characterData",target:e.target})}}var t=e.prototype;return t.start=function(){this.observer?this.observer.observe(this.container,u7e):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=l7e(),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 c7e?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=s7e(r7e(e.target));this.mutations=this.mutations.set(n,t)}},e}(),p7e="-",h7e={encode:function(e,t,n){return e+p7e+t+p7e+n},decode:function(e){var t=e.split(p7e).reverse(),n=t[0],i=t[1];return{blockKey:t.slice(2).reverse().join(p7e),decoratorKey:parseInt(i,10),leafKey:parseInt(n,10)}}},f7e={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},m7e={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}};var g7e=function(e){return!(!e||!e.ownerDocument)&&(e.ownerDocument.defaultView?e instanceof e.ownerDocument.defaultView.HTMLElement:e instanceof HTMLElement)},v7e=g4e,y7e=g7e;var b7e=function(e){var t=e.editorContainer;return t||("production"!==ga.env.NODE_ENV?v7e(!1,"Missing editorNode"):v7e(!1)),y7e(t.firstChild)||("production"!==ga.env.NODE_ENV?v7e(!1,"editorNode.firstChild is not an HTMLElement"):v7e(!1)),t.firstChild},O7e=h7e,_7e=u9e;var w7e=function(e,t,n,i,r){var o=_7e(e.getSelection());if(!t||!i)return"production"!==ga.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var a=O7e.decode(t),s=a.blockKey,l=e.getBlockTree(s),u=l&&l.getIn([a.decoratorKey,"leaves",a.leafKey]),c=O7e.decode(i),d=c.blockKey,p=e.getBlockTree(d),h=p&&p.getIn([c.decoratorKey,"leaves",c.leafKey]);if(!u||!h)return"production"!==ga.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var f=u.get("start"),m=h.get("start"),g=u?f+n:null,v=h?m+r:null,y=o.getAnchorKey()===s&&o.getAnchorOffset()===g&&o.getFocusKey()===d&&o.getFocusOffset()===v;if(y)return o;var b=!1;if(s===d){var O=u.get("end"),_=h.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 o.merge({anchorKey:s,anchorOffset:g,focusKey:d,focusOffset:v,isBackward:b})},x7e=e7e,k7e=H8e,S7e=w7e,P7e=g4e,E7e=Y8e,C7e=u9e;function F7e(e,t,n){var i=t,r=x7e(i);(null!=r||e&&(e===i||e.firstChild===i)||("production"!==ga.env.NODE_ENV?P7e(!1,"Unknown node in selection range."):P7e(!1)),e===i)&&(i=i.firstChild,E7e(i)||("production"!==ga.env.NODE_ENV?P7e(!1,"Invalid DraftEditorContents node."):P7e(!1)),"true"!==(i=i).getAttribute("data-contents")&&("production"!==ga.env.NODE_ENV?P7e(!1,"Invalid DraftEditorContents structure."):P7e(!1)),n>0&&(n=i.childNodes.length));if(0===n){var o=null;if(null!=r)o=r;else{var a=function(e){for(;e.firstChild&&(E7e(e.firstChild)&&"true"===e.firstChild.getAttribute("data-blocks")||k7e(e.firstChild));)e=e.firstChild;return e}(i);o=C7e(k7e(a))}return{key:o,offset:0}}var s=i.childNodes[n-1],l=null,u=null;if(k7e(s)){var c=function(e){for(;e.lastChild&&(E7e(e.lastChild)&&"true"===e.lastChild.getAttribute("data-blocks")||k7e(e.lastChild));)e=e.lastChild;return e}(s);l=C7e(k7e(c)),u=T7e(c)}else l=C7e(r),u=T7e(s);return{key:l,offset:u}}function T7e(e){var t=e.textContent;return"\n"===t?0:t.length}var D7e=function(e,t,n,i,r,o){var a=n.nodeType===Node.TEXT_NODE,s=r.nodeType===Node.TEXT_NODE;if(a&&s)return{selectionState:S7e(e,C7e(x7e(n)),i,C7e(x7e(r)),o),needsRecovery:!1};var l=null,u=null,c=!0;return a?(l={key:C7e(x7e(n)),offset:i},u=F7e(t,r,o)):s?(u={key:C7e(x7e(r)),offset:o},l=F7e(t,n,i)):(l=F7e(t,n,i),u=F7e(t,r,o),n===r&&i===o&&(c=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:S7e(e,l.key,l.offset,u.key,u.offset),needsRecovery:c}},A7e=D7e;var I7e=function(e,t){var n=t.ownerDocument.defaultView.getSelection(),i=n.anchorNode,r=n.anchorOffset,o=n.focusNode,a=n.focusOffset;return 0===n.rangeCount||null==i||null==o?{selectionState:e.getSelection().set("hasFocus",!1),needsRecovery:!1}:A7e(e,t,i,r,o,a)},L7e=m7e,$7e=I9e,z7e=b7e,R7e=I7e;var j7e=function(e){if(e._blockSelectEvents||e._latestEditorState!==e.props.editorState){if(e._blockSelectEvents){var t=e.props.editorState.getSelection();L7e.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(t.toJS())})}}else{var n=e.props.editorState,i=R7e(n,z7e(e)),r=i.selectionState;r!==n.getSelection()&&(n=i.needsRecovery?$7e.forceSelection(n,r):$7e.acceptSelection(n,r),e.update(n))}};var M7e={notEmptyKey:function(e){return null!=e&&""!=e}},Q7e=M7e.notEmptyKey;function N7e(e,t){return Q7e(t)&&"MUTABLE"===e.__get(t).getMutability()?t:null}var U7e=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:N7e(e.getEntityMap(),n):null}var o=t.getStartKey(),a=t.getStartOffset(),s=e.getBlockForKey(o);return n=a===s.getLength()?null:s.getEntityAt(a),N7e(e.getEntityMap(),n)},B7e=d7e,q7e=R6e,G7e=h7e,W7e=I9e,X7e=f7e,V7e=b7e,Y7e=I7e,Z7e=U7e,H7e=u9e,K7e=!1,J7e=!1,eet=null;var tet={onCompositionStart:function(e){J7e=!0,function(e){eet||(eet=new B7e(V7e(e))).start()}(e)},onCompositionEnd:function(e){K7e=!1,J7e=!1,setTimeout((function(){K7e||tet.resolveComposition(e)}),20)},onSelect:j7e,onKeyDown:function(e,t){if(!J7e)return tet.resolveComposition(e),void e._onKeyDown(t);t.which!==X7e.RIGHT&&t.which!==X7e.LEFT||t.preventDefault()},onKeyPress:function(e,t){t.which===X7e.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!J7e){var t=H7e(eet).stopAndFlushMutations();eet=null,K7e=!0;var n=W7e.set(e._latestEditorState,{inCompositionMode:!1});if(e.exitCurrentMode(),t.size){var i=n.getCurrentContent();t.forEach((function(e,t){var r=G7e.decode(t),o=r.blockKey,a=r.decoratorKey,s=r.leafKey,l=n.getBlockTree(o).getIn([a,"leaves",s]),u=l.start,c=l.end,d=n.getSelection().merge({anchorKey:o,focusKey:o,anchorOffset:u,focusOffset:c,isBackward:!1}),p=Z7e(i,d),h=i.getBlockForKey(o).getInlineStyleAt(u);i=q7e.replaceText(i,d,e,h,p),n=W7e.set(n,{currentContent:i})}));var r=Y7e(n,V7e(e)).selectionState;e.restoreEditorDOM();var o=W7e.acceptSelection(n,r);e.update(W7e.push(o,i,"insert-characters"))}else e.update(n)}}},net=tet,iet=hW;function ret(){return ret=iet||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},ret.apply(this,arguments)}var oet=h7e,aet=g.default,set=n9e,uet=q5e,cet=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,o=e.decoratorKey,a=e.direction,s=e.leafSet,l=e.text,u=t.getKey(),c=s.get("leaves"),d=r.getComponentForKey(o),p=r.getPropsForKey(o),h=oet.encode(u,parseInt(o,10),0),f=l.slice(c.first().get("start"),c.last().get("end")),m=uet.getHTMLDirIfDifferent(set.getDirection(f),a);return aet.createElement(d,ret({},p,{contentState:i,decoratedText:f,dir:m,key:h,entityKey:t.getEntityAt(s.get("start")),offsetKey:h}),n)},i}(aet.Component),det=cet;function pet(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function het(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var fet=g.default,met=g4e,get=Y8e,vet=X8e.isBrowser("IE <= 11");var yet=function(e){var t,n;function i(t){var n;return het(pet(n=e.call(this,t)||this),"_forceFlag",void 0),het(pet(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;get(t)||("production"!==ga.env.NODE_ENV?met(!1,"node is not an Element"):met(!1));var i=t;return n?!function(e){return vet?"\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},vet?fet.createElement("span",{key:"A","data-text":"true",ref:e},"\n"):fet.createElement("br",{key:"A","data-text":"true",ref:e})):function(e){return vet?fet.createElement("span",{key:"B","data-text":"true",ref:e},"\n"):fet.createElement("br",{key:"B","data-text":"true",ref:e})}((function(e){return t._node=e})):fet.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(e){return t._node=e}},this.props.children)},i}(fet.Component),bet=yet,Oet=Y8e;var _et=function(e){return!(!e||!e.ownerDocument)&&(Oet(e)&&"BR"===e.nodeName)};var wet=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 xet=function(e){return wet(e)&&3==e.nodeType};var ket=function e(t,n){return!(!t||!n)&&(t===n||!xet(t)&&(xet(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))};var Pet=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}},Eet=m7e,Cet=ket,Fet=Pet,Tet=V8e,Det=g4e,Aet=Y8e,Iet=X8e.isBrowser("IE");function Let(e,t){if(!e)return"[empty]";var n=$et(e,t);return n.nodeType===Node.TEXT_NODE?n.textContent:(Aet(n)||("production"!==ga.env.NODE_ENV?Det(!1,"Node must be an Element if it is not a text node."):Det(!1)),n.outerHTML)}function $et(e,t){var n=void 0!==t?t(e):[];if(e.nodeType===Node.TEXT_NODE){var i=e.textContent.length;return Tet(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 o=e.childNodes,a=0;a<o.length;a++)r.appendChild($et(o[a],t));return r}function zet(e,t){for(var n=e,i=n;n;){if(Aet(n)&&i.hasAttribute("contenteditable"))return Let(n,t);i=n=n.parentNode}return"Could not find contentEditable parent of node"}function Ret(e){return null===e.nodeValue?e.childNodes.length:e.nodeValue.length}function jet(e,t,n,i){var r=Fet();if(e.extend&&null!=t&&Cet(r,t)){n>Ret(t)&&Eet.logSelectionStateFailure({anonymizedDom:zet(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(i.toJS())});var o=t===e.focusNode;try{e.rangeCount>0&&e.extend&&e.extend(t,n)}catch(a){throw Eet.logSelectionStateFailure({anonymizedDom:zet(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:o,selectionRangeCount:e.rangeCount,selectionAnchorNodeName:e.anchorNode?e.anchorNode.nodeName:null,selectionAnchorOffset:e.anchorOffset,selectionFocusNodeName:e.focusNode?e.focusNode.nodeName:null,selectionFocusOffset:e.focusOffset,message:a?""+a:null,offset:n},null,2),selectionState:JSON.stringify(i.toJS(),null,2)}),a}}else if(t&&e.rangeCount>0){var a=e.getRangeAt(0);a.setEnd(t,n),e.addRange(a.cloneRange())}}function Met(e,t,n,i){var r=Tet(t).createRange();if(n>Ret(t)&&Eet.logSelectionStateFailure({anonymizedDom:zet(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(i.toJS())}),r.setStart(t,n),Iet)try{e.addRange(r)}catch(e){"production"!==ga.env.NODE_ENV&&console.warn("Call to selection.addRange() threw exception: ",e)}else e.addRange(r)}var Qet=function(e,t,n,i,r){var o=Tet(t);if(Cet(o.documentElement,t)){var a=o.defaultView.getSelection(),s=e.getAnchorKey(),l=e.getAnchorOffset(),u=e.getFocusKey(),c=e.getFocusOffset(),d=e.getIsBackward();if(!a.extend&&d){var p=s,h=l;s=u,l=c,u=p,c=h,d=!1}var f=s===n&&i<=l&&r>=l,m=u===n&&i<=c&&r>=c;if(f&&m)return a.removeAllRanges(),Met(a,t,l-i,e),void jet(a,t,c-i,e);if(d){if(m&&(a.removeAllRanges(),Met(a,t,c-i,e)),f){var g=a.focusNode,v=a.focusOffset;a.removeAllRanges(),Met(a,t,l-i,e),jet(a,g,v,e)}}else f&&(a.removeAllRanges(),Met(a,t,l-i,e)),m&&jet(a,t,c-i,e)}},Net=hW;function Uet(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bet(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var qet=bet,Get=g.default,Wet=g4e,Xet=_et,Vet=Qet,Yet=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 Bet(Uet(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,o=n.getKey(),a=i+r.length;if(e.hasEdgeWithin(o,i,a)){var s=this.leaf;s||("production"!==ga.env.NODE_ENV?Wet(!1,"Missing node"):Wet(!1));var l,u=s.firstChild;u||("production"!==ga.env.NODE_ENV?Wet(!1,"Missing child"):Wet(!1)),u.nodeType===Node.TEXT_NODE?l=u:Xet(u)?l=s:(l=u.firstChild)||("production"!==ga.env.NODE_ENV?Wet(!1,"Missing targetNode"):Wet(!1)),Vet(e,l,o,i,a)}}},r.shouldComponentUpdate=function(e){var t=this.leaf;return t||("production"!==ga.env.NODE_ENV?Wet(!1,"Missing leafNode"):Wet(!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,o=i.customStyleFn,a=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()),Net(e,i,n)}),{});if(o){var u=o(s,t);l=Net(l,u)}return Get.createElement("span",{"data-offset-key":a,ref:function(t){return e.leaf=t},style:l},Get.createElement(qet,null,n))},i}(Get.Component),Zet=Yet;var Het=det,Ket=Zet,Jet=h7e,ett=m3e.exports,ttt=g.default,ntt=u8e;ett.List;var itt=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,o=e.decorator,a=e.direction,s=e.forceSelection,l=e.hasSelection,u=e.selection,c=e.tree,d=t.getKey(),p=t.getText(),h=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 o=Jet.encode(d,c,n),a=e.get("start"),m=e.get("end");return ttt.createElement(Ket,{key:o,offsetKey:o,block:t,start:a,selection:l?u:null,forceSelection:s,text:p.slice(a,m),styleSet:t.getInlineStyleAt(a),customStyleMap:r,customStyleFn:i,isLast:f===h&&n===g})})).toArray();return f&&o?ttt.createElement(Het,{block:t,children:v,contentState:n,decorator:o,decoratorKey:f,direction:a,leafSet:e,text:p,key:c}):v})).toArray();return ttt.createElement("div",{"data-offset-key":Jet.encode(d,0,0),className:ntt({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===a,"public/DraftStyleDefault/rtl":"RTL"===a})},f)},i}(ttt.Component),rtt=itt;function ott(e,t){return!!t&&(e===t.documentElement||e===t.body)}var att={getTop:function(e){var t=e.ownerDocument;return ott(e,t)?t.body.scrollTop||t.documentElement.scrollTop:e.scrollTop},setTop:function(e,t){var n=e.ownerDocument;ott(e,n)?n.body.scrollTop=n.documentElement.scrollTop=t:e.scrollTop=t},getLeft:function(e){var t=e.ownerDocument;return ott(e,t)?t.body.scrollLeft||t.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,t){var n=e.ownerDocument;ott(e,n)?n.body.scrollLeft=n.documentElement.scrollLeft=t:e.scrollLeft=t}},stt=att,ltt=/-(.)/g;var utt=function(e){return e.replace(ltt,(function(e,t){return t.toUpperCase()}))},ctt=/([A-Z])/g;var dtt=function(e){return e.replace(ctt,"-$1").toLowerCase()},ptt=utt,htt=dtt;function ftt(e){return null==e?e:String(e)}var mtt=function(e,t){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(e,null)))return ftt(n.getPropertyValue(htt(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(e,null))return ftt(n.getPropertyValue(htt(t)));if("display"===t)return"none"}return e.currentStyle?ftt("float"===t?e.currentStyle.cssFloat||e.currentStyle.styleFloat:e.currentStyle[ptt(t)]):ftt(e.style&&e.style[ptt(t)])};function gtt(e,t){var n=vtt.get(e,t);return"auto"===n||"scroll"===n}var vtt={get:mtt,getScrollParent:function(e){if(!e)return null;for(var t=e.ownerDocument;e&&e!==t.body;){if(gtt(e,"overflow")||gtt(e,"overflowY")||gtt(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}},ytt=vtt,btt=ket;var Ott=function(e){var t=e.ownerDocument.documentElement;if(!("getBoundingClientRect"in e)||!btt(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 _tt=function(e){var t=Ott(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}},wtt="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;var xtt=function(e){return(e=e||document).scrollingElement?e.scrollingElement:wtt||"CSS1Compat"!==e.compatMode?e.body:e.documentElement};var ktt=xtt,Stt=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 Ptt=function(e){var t=ktt(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var n=Stt(e),i=e===t?e.ownerDocument.documentElement:e,r=e.scrollWidth-i.clientWidth,o=e.scrollHeight-i.clientHeight;return n.x=Math.max(0,Math.min(n.x,r)),n.y=Math.max(0,Math.min(n.y,o)),n};function Ett(){var e;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function Ctt(){var e;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function Ftt(){return{width:window.innerWidth||Ett(),height:window.innerHeight||Ctt()}}Ftt.withoutScrollbars=function(){return{width:Ett(),height:Ctt()}};var Ttt=Ftt,Dtt=hW;function Att(){return Att=Dtt||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},Att.apply(this,arguments)}function Itt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ltt(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){$tt(e,t,n[t])}))}return e}function $tt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ztt=rtt,Rtt=h7e,jtt=g.default,Mtt=stt,Qtt=ytt,Ntt=_tt,Utt=Ptt,Btt=Ttt,qtt=g4e,Gtt=g7e;m3e.exports.List;var Wtt=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},Xtt=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}},Vtt=function(e,t){var n=t(e);return n?{CustomComponent:n.component,customProps:n.props,customEditable:n.editable}:{}},Ytt=function(e,t,n,i,r,o){var a={"data-block":!0,"data-editor":t,"data-offset-key":n,key:e.getKey(),ref:o},s=i(e);return s&&(a.className=s),void 0!==r.customEditable&&(a=Ltt({},a,{contentEditable:r.customEditable,suppressContentEditableWarning:!0})),a},Ztt=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 $tt(Itt(t=e.call.apply(e,[this].concat(i))||this),"wrapperRef",jtt.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,o=!n.getChildKeys().isEmpty(),a=n!==e.block||r!==e.tree||i!==e.direction||Wtt(e.selection,e.block.getKey())&&e.forceSelection;return o||a},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=Qtt.getScrollParent(n),o=Utt(r);if(r===window){var a=Ntt(n);(i=a.y+a.height-Btt().height)>0&&window.scrollTo(o.x,o.y+i+10)}else{Gtt(n)||("production"!==ga.env.NODE_ENV?qtt(!1,"blockNode is not an HTMLElement"):qtt(!1));var s=n;(i=s.offsetHeight+s.offsetTop-(r.offsetHeight+o.y))>0&&Mtt.setTop(r,Mtt.getTop(r)+i+10)}}}},r.render=function(){var e=this,t=this.props,n=t.block,r=t.blockRenderMap,o=t.blockRendererFn,a=t.blockStyleFn,s=t.contentState,l=t.decorator,u=t.editorKey,c=t.editorState,d=t.customStyleFn,p=t.customStyleMap,h=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=Rtt.encode(n,0,0),d=s.getBlockForKey(n),p=Vtt(d,o),h=p.CustomComponent||i,f=Xtt(d,r),m=f.Element,g=f.wrapperTemplate,v=Ytt(d,u,l,a,p,null),y=Ltt({},e.props,{tree:c.getBlockTree(n),blockProps:p.customProps,offsetKey:l,block:d});return t.push(jtt.createElement(m,v,jtt.createElement(h,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,o=!1,a=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){o=!0,a=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw a}}n.splice(n.indexOf(i[0]),i.length+1);var c=i.reverse(),d=c[0].key;n.push(jtt.cloneElement(e,{key:"".concat(d,"-wrap"),"data-offset-key":Rtt.encode(d,0,0)},c))}(g,m,t),t}),[]));var y=n.getKey(),b=Rtt.encode(y,0,0),O=Vtt(n,o),_=O.CustomComponent,w=null!=_?jtt.createElement(_,Att({},this.props,{tree:c.getBlockTree(y),blockProps:O.customProps,offsetKey:b,block:n})):jtt.createElement(ztt,{block:n,children:v,contentState:s,customStyleFn:d,customStyleMap:p,decorator:l,direction:h,forceSelection:f,hasSelection:Wtt(m,y),selection:m,tree:g});if(n.getParentKey())return w;var x=Xtt(n,r).Element,k=Ytt(n,u,b,a,O,this.wrapperRef);return jtt.createElement(x,k,w)},i}(jtt.Component),Htt=hW;function Ktt(){return Ktt=Htt||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},Ktt.apply(this,arguments)}var Jtt=Ztt,ent=h7e,tnt=g.default,nnt=u9e,int=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(),o=n.isInCompositionMode();if(t===n||null!==i&&n.getCurrentContent()===i||r&&o)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),l=t.getDecorator(),u=n.getDecorator();return r!==o||a!==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,o=e.customStyleFn,a=e.editorState,s=e.editorKey,l=e.textDirectionality,u=a.getCurrentContent(),c=a.getSelection(),d=a.mustForceSelection(),p=a.getDecorator(),h=nnt(a.getDirectionMap()),f=[],m=u.getBlocksAsArray()[0];m;){var g=m.getKey(),v={blockRenderMap:t,blockRendererFn:n,blockStyleFn:i,contentState:u,customStyleFn:o,customStyleMap:r,decorator:p,editorKey:s,editorState:a,forceSelection:d,selection:c,block:m,direction:l||h.get(g),tree:a.getBlockTree(g)},y=(t.get(m.getType())||t.get("unstyled")).wrapper;f.push({block:tnt.createElement(Jtt,Ktt({key:g},v)),wrapperTemplate:y,key:g,offsetKey:ent.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 x=[];do{x.push(f[_].block),_++}while(_<f.length&&f[_].wrapperTemplate===w.wrapperTemplate);var k=tnt.cloneElement(w.wrapperTemplate,{key:w.key+"-wrap","data-offset-key":w.offsetKey},x);O.push(k)}else O.push(w.block),_++}return tnt.createElement("div",{"data-contents":"true"},O)},i}(tnt.Component),rnt=int,ont=hW;function ant(){return ant=ont||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},ant.apply(this,arguments)}function snt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lnt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var unt=Zet,cnt=h7e,dnt=g.default,pnt=stt,hnt=ytt,fnt=n9e,mnt=q5e,gnt=u8e,vnt=_tt,ynt=Ptt,bnt=Ttt,Ont=g4e,_nt=g7e,wnt=u9e,xnt=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},knt=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 lnt(snt(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||xnt(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=hnt.getScrollParent(n),o=ynt(r);if(r===window){var a=vnt(n);(i=a.y+a.height-bnt().height)>0&&window.scrollTo(o.x,o.y+i+10)}else{_nt(n)||("production"!==ga.env.NODE_ENV?Ont(!1,"blockNode is not an HTMLElement"):Ont(!1)),(i=n.offsetHeight+n.offsetTop-(r.offsetTop+r.offsetHeight+o.y))>0&&pnt.setTop(r,pnt.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,o=xnt(this.props.selection,n);return this.props.tree.map((function(a,s){var l=a.get("leaves");if(0===l.size)return null;var u=l.size-1,c=l.map((function(a,l){var c=cnt.encode(n,s,l),d=a.get("start"),p=a.get("end");return dnt.createElement(unt,{key:c,offsetKey:c,block:t,start:d,selection:o?e.props.selection:null,forceSelection:e.props.forceSelection,text:i.slice(d,p),styleSet:t.getInlineStyleAt(d),customStyleMap:e.props.customStyleMap,customStyleFn:e.props.customStyleFn,isLast:s===r&&l===u})})).toArray(),d=a.get("decoratorKey");if(null==d)return c;if(!e.props.decorator)return c;var p=wnt(e.props.decorator),h=p.getComponentForKey(d);if(!h)return c;var f=p.getPropsForKey(d),m=cnt.encode(n,s,0),g=l.first().get("start"),v=l.last().get("end"),y=i.slice(g,v),b=t.getEntityAt(a.get("start")),O=mnt.getHTMLDirIfDifferent(fnt.getDirection(y),e.props.direction),_={contentState:e.props.contentState,decoratedText:y,dir:O,start:g,end:v,blockKey:n,entityKey:b,offsetKey:m};return dnt.createElement(h,ant({},f,_,{key:m}),c)})).toArray()},r.render=function(){var e=this,t=this.props,n=t.direction,i=t.offsetKey,r=gnt({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return dnt.createElement("div",{"data-offset-key":i,className:r,ref:function(t){return e._node=t}},this._renderChildren())},i}(dnt.Component),Snt=knt;var Pnt=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},Ent=hW;function Cnt(){return Cnt=Ent||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},Cnt.apply(this,arguments)}function Fnt(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){Tnt(e,t,n[t])}))}return e}function Tnt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Dnt=Snt,Ant=h7e,Int=g.default,Lnt=u8e,$nt=Pnt,znt=u9e,Rnt=function(e,t,n,i){return Lnt({"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})},jnt=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(),o=n.isInCompositionMode();if(t===n||null!==i&&n.getCurrentContent()===i||r&&o)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),l=t.getDecorator(),u=n.getDecorator();return r!==o||a!==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,o=e.customStyleFn,a=e.editorState,s=e.editorKey,l=e.preventScroll,u=e.textDirectionality,c=a.getCurrentContent(),d=a.getSelection(),p=a.mustForceSelection(),h=a.getDecorator(),f=znt(a.getDirectionMap()),m=c.getBlocksAsArray(),g=[],v=null,y=null,b=0;b<m.length;b++){var O=m[b],_=O.getKey(),w=O.getType(),x=n(O),k=void 0,S=void 0,P=void 0;x&&(k=x.component,S=x.props,P=x.editable);var E=u||f.get(_),C=Ant.encode(_,0,0),F={contentState:c,block:O,blockProps:S,blockStyleFn:i,customStyleMap:r,customStyleFn:o,decorator:h,direction:E,forceSelection:p,offsetKey:C,preventScroll:l,selection:d,tree:a.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=$nt(L,Rnt(w,I,y!==D||null===v||I>v,E));var $=k||Dnt,z={className:L,"data-block":!0,"data-editor":s,"data-offset-key":C,key:_};void 0!==P&&(z=Fnt({},z,{contentEditable:P,suppressContentEditableWarning:!0}));var R=Int.createElement(A,z,Int.createElement($,Cnt({},F,{key:_})));g.push({block:R,wrapperTemplate:D,key:_,offsetKey:C}),v=D?O.getDepth():null,y=D}for(var j=[],M=0;M<g.length;){var Q=g[M];if(Q.wrapperTemplate){var N=[];do{N.push(g[M].block),M++}while(M<g.length&&g[M].wrapperTemplate===Q.wrapperTemplate);var U=Int.cloneElement(Q.wrapperTemplate,{key:Q.key+"-wrap","data-offset-key":Q.offsetKey},N);j.push(U)}else j.push(Q.block),M++}return Int.createElement("div",{"data-contents":"true"},j)},i}(Int.Component),Mnt=jnt,Qnt=h5e("draft_tree_data_support")?rnt:Mnt,Nnt={isImage:function(e){return"image"===Unt(e)[0]},isJpeg:function(e){var t=Unt(e);return Nnt.isImage(e)&&("jpeg"===t[1]||"pjpeg"===t[1])}};function Unt(e){return e.split("/")}var Bnt=Nnt,qnt=g4e;var Gnt=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"!==ga.env.NODE_ENV?qnt(!1,"toArray: Array-like object expected"):qnt(!1)),"number"!=typeof t&&("production"!==ga.env.NODE_ENV?qnt(!1,"toArray: Object needs a length property"):qnt(!1)),0===t||t-1 in e||("production"!==ga.env.NODE_ENV?qnt(!1,"toArray: Object should have keys for indices"):qnt(!1)),"function"==typeof e.callee&&("production"!==ga.env.NODE_ENV?qnt(!1,"toArray: Object can't be `arguments`. Use rest params (function(...args) {}) or Array.from() instead."):qnt(!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 Wnt(e){return function(){return e}}var Xnt=function(){};Xnt.thatReturns=Wnt,Xnt.thatReturnsFalse=Wnt(!1),Xnt.thatReturnsTrue=Wnt(!0),Xnt.thatReturnsNull=Wnt(null),Xnt.thatReturnsThis=function(){return this},Xnt.thatReturnsArgument=function(e){return e};var Vnt=Xnt,Ynt=Bnt,Znt=Gnt,Hnt=Vnt,Knt=new RegExp("\r\n","g"),Jnt={"text/rtf":1,"text/html":1};function eit(e){if("file"==e.kind)return e.getAsFile()}var tit=function(){function e(e){this.data=e,this.types=e.types?Znt(e.types):[]}var t=e.prototype;return t.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(e){return Jnt[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(Knt,"\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(!Ynt.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(eit).filter(Hnt.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},t.hasFiles=function(){return this.getFiles().length>0},e}(),nit=tit,iit=g4e,rit=/\.textClipping$/,oit={"text/plain":!0,"text/html":!0,"text/rtf":!0};var ait=function(e,t){var n=0,i=[];e.forEach((function(r){!function(e,t){if(!k.FileReader||e.type&&!(e.type in oit))return void t("");if(""===e.type){var n="";return rit.test(e.name)&&(n=e.name.replace(rit,"")),void t(n)}var i=new FileReader;i.onload=function(){var e=i.result;"string"!=typeof e&&("production"!==ga.env.NODE_ENV?iit(!1,'We should be calling "FileReader.readAsText" which returns a string'):iit(!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 sit=function(e){return"handled"===e||!0===e},lit=nit,uit=R6e,cit=I9e,dit=e7e,pit=V8e,hit=ait,fit=w7e,mit=t7e,git=sit,vit=u9e;var yit={onDragEnd:function(e){e.exitCurrentMode(),bit(e)},onDrop:function(e,t){var n=new lit(t.nativeEvent.dataTransfer),i=e._latestEditorState,r=function(e,t){var n=null,i=null,r=pit(e.currentTarget);if("function"==typeof r.caretRangeFromPoint){var o=r.caretRangeFromPoint(e.x,e.y);n=o.startContainer,i=o.startOffset}else{if(!e.rangeParent)return null;n=e.rangeParent,i=e.rangeOffset}n=vit(n),i=vit(i);var a=vit(dit(n));return fit(t,a,i,a,i)}(t.nativeEvent,i);if(t.preventDefault(),e._dragCount=0,e.exitCurrentMode(),null!=r){var o=n.getFiles();if(o.length>0){if(e.props.handleDroppedFiles&&git(e.props.handleDroppedFiles(r,o)))return;hit(o,(function(t){t&&e.update(Oit(i,r,t))}))}else{var a=e._internalDrag?"internal":"external";e.props.handleDrop&&git(e.props.handleDrop(r,n,a))||(e._internalDrag?e.update(function(e,t){var n=uit.moveText(e.getCurrentContent(),e.getSelection(),t);return cit.push(e,n,"insert-fragment")}(i,r)):e.update(Oit(i,r,n.getText()))),bit(e)}}}};function bit(e){e._internalDrag=!1;var t=e.editorContainer;if(t){var n=new MouseEvent("mouseup",{view:mit(t),bubbles:!0,cancelable:!0});t.dispatchEvent(n)}}function Oit(e,t,n){var i=uit.insertText(e.getCurrentContent(),t,n,e.getCurrentInlineStyle());return cit.push(e,i,"insert-fragment")}var _it=yit;var wit=function(e){var t=e.getSelection(),n=t.getAnchorKey(),i=e.getBlockTree(n),r=t.getStartOffset(),o=!1;return i.some((function(e){return r===e.get("start")?(o=!0,!0):r<e.get("end")&&e.get("leaves").some((function(e){var t=e.get("start");return r===t&&(o=!0,!0)}))})),o};!function(e,t){if(!e.setImmediate){var n,i,r,o=1,a={},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){ga.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 a[o]=r,n(o),o++},u.clearImmediate=c}function c(e){delete a[e]}function d(e){if(s)setTimeout(d,0,e);else{var t=a[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?k:self);var xit=k.setImmediate,kit=R6e,Sit=I9e,Pit=U7e,Eit=sit,Cit=wit,Fit=u9e,Tit=xit,Dit=X8e.isBrowser("Firefox");function Ait(e,t,n,i,r){var o=kit.replaceText(e.getCurrentContent(),e.getSelection(),t,n,i);return Sit.push(e,o,"insert-characters",r)}var Iit=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&&Eit(e.props.handleBeforeInput(i,n,t.timeStamp)))t.preventDefault();else{var r=n.getSelection(),o=r.getStartOffset(),a=r.getAnchorKey();if(!r.isCollapsed())return t.preventDefault(),void e.update(Ait(n,i,n.getCurrentInlineStyle(),Pit(n.getCurrentContent(),n.getSelection()),!0));var s,l=Ait(n,i,n.getCurrentInlineStyle(),Pit(n.getCurrentContent(),n.getSelection()),!1),u=!1;if(u||(u=Cit(e._latestCommittedEditorState)),!u){var c=n.getBlockTree(a),d=l.getBlockTree(a);u=c.size!==d.size||c.zip(d).some((function(e){var t=e[0],n=e[1],r=t.get("start"),a=r+(r>=o?i.length:0),s=t.get("end"),l=s+(s>=o?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||a!==u||l!==c||null!=d&&c-u!=s-r}))}if(u||(s=i,u=Dit&&("'"==s||"/"==s)),u||(u=Fit(l.getDirectionMap()).get(a)!==Fit(n.getDirectionMap()).get(a)),u)return t.preventDefault(),l=Sit.set(l,{forceSelection:!0}),void e.update(l);l=Sit.set(l,{nativelyRenderedContent:l.getCurrentContent()}),e._pendingStateFromBeforeInput=l,Tit((function(){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)}))}},Lit=I9e,$it=ket,zit=Pet;var Rit=function(e,t){var n=t.currentTarget.ownerDocument;if(!Boolean(e.props.preserveSelectionOnBlur)&&zit(n)===n.body){var i=n.defaultView.getSelection(),r=e.editor;1===i.rangeCount&&$it(r,i.anchorNode)&&$it(r,i.focusNode)&&i.removeAllRanges()}var o=e._latestEditorState,a=o.getSelection();if(a.getHasFocus()){var s=a.set("hasFocus",!1);e.props.onBlur&&e.props.onBlur(t),e.update(Lit.acceptSelection(o,s))}},jit=I9e;var Mit=function(e,t){e.setMode("composite"),e.update(jit.set(e._latestEditorState,{inCompositionMode:!0})),e._onCompositionStart(t)},Qit=j4e;var Nit=function(e){var t=e.getSelection();return t.isCollapsed()?null:Qit(e.getCurrentContent(),t)},Uit=Nit;var Bit=function(e,t){e._latestEditorState.getSelection().isCollapsed()?t.preventDefault():e.setClipboard(Uit(e._latestEditorState))};var qit=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},Git=R6e,Wit=I9e,Xit=ytt,Vit=Nit,Yit=Ptt,Zit=qit;var Hit=function(e,t){var n,i=e._latestEditorState,r=i.getSelection(),o=t.target;if(r.isCollapsed())t.preventDefault();else{if(Zit(o)){var a=o;n=Yit(Xit.getScrollParent(a))}var s=Vit(i);e.setClipboard(s),e.setMode("cut"),setTimeout((function(){e.restoreEditorDOM(n),e.exitCurrentMode(),e.update(function(e){var t=Git.removeRange(e.getCurrentContent(),e.getSelection(),"forward");return Wit.push(e,t,"remove-range")}(i))}),0)}};var Kit=function(e,t){e.setMode("drag"),t.preventDefault()};var Jit=function(e){e._internalDrag=!0,e.setMode("drag")},ert=I9e,trt=X8e;var nrt=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),trt.isBrowser("Chrome < 60.0.3081.0")?e.update(ert.forceSelection(n,r)):e.update(ert.acceptSelection(n,r))}},irt=g4e,rrt=/[\uD800-\uDFFF]/;function ort(e){return 55296<=e&&e<=57343}function art(e){return rrt.test(e)}function srt(e,t){return 1+ort(e.charCodeAt(t))}function lrt(e,t,n){if(t=t||0,n=void 0===n?1/0:n||0,!art(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+=srt(e,r);if(r>=i)return""}else if(t<0){for(r=i;t<0&&0<r;t++)r-=srt(e,r-1);r<0&&(r=0)}var o=i;if(n<i)for(o=r;n>0&&o<i;n--)o+=srt(e,o);return e.substring(r,o)}var urt={getCodePoints:function(e){for(var t=[],n=0;n<e.length;n+=srt(e,n))t.push(e.codePointAt(n));return t},getUTF16Length:srt,hasSurrogateUnit:art,isCodeUnitInSurrogateRange:ort,isSurrogatePair:function(e,t){if(0<=t&&t<e.length||("production"!==ga.env.NODE_ENV?irt(!1,"isSurrogatePair: Invalid index %s for string length %s.",t,e.length):irt(!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(!art(e))return e.length;for(var t=0,n=0;n<e.length;n+=srt(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 lrt(e,t=t<n?t:n,i)},substr:lrt},crt=urt,drt=Vnt;function prt(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,o="Warning: "+e.replace(/%s/g,(function(){return n[r++]}));"undefined"!=typeof console&&console.error(o);try{throw new Error(o)}catch(e){}}var hrt="production"!==ga.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];prt.apply(void 0,[t].concat(i))}}:drt,frt=hrt,mrt=frt;var grt=function(e,t){var n=e.getSelection();"production"!==ga.env.NODE_ENV&&mrt(n.isCollapsed(),"moveSelectionBackward should only be called with a collapsed SelectionState");var i=e.getCurrentContent(),r=n.getStartKey(),o=n.getStartOffset(),a=r,s=0;if(t>o){var l=i.getKeyBefore(r);if(null==l)a=r;else a=l,s=i.getBlockForKey(l).getText().length}else s=o-t;return n.merge({focusKey:a,focusOffset:s,isBackward:!0})},vrt=R6e,yrt=h5e("draft_tree_data_support");var brt=function(e,t,n){var i=e.getSelection(),r=e.getCurrentContent(),o=i,a=i.getAnchorKey(),s=i.getFocusKey(),l=r.getBlockForKey(a);if(yrt&&"forward"===n&&a!==s)return r;if(i.isCollapsed()){if("forward"===n){if(e.isSelectionAtEndOfContent())return r;if(yrt)if(i.getAnchorOffset()===r.getBlockForKey(a).getLength()){var u=r.getBlockForKey(l.nextSibling);if(!u||0===u.getLength())return r}}else if(e.isSelectionAtStartOfContent())return r;if((o=t(e))===i)return r}return vrt.removeRange(r,o,n)},Ort=I9e,_rt=crt,wrt=grt,xrt=brt;var krt=function(e){var t=xrt(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),i=t.getAnchorKey(),r=t.getAnchorOffset(),o=n.getBlockForKey(i).getText()[r-1];return wrt(e,o?_rt.getUTF16Length(o,0):1)}),"backward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return Ort.push(e,t.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")},Srt=R6e,Prt=h7e,Ert=I9e,Crt=M7e.notEmptyKey,Frt=e7e,Trt=krt,Drt=u9e,Art=X8e.isEngine("Gecko");var Irt=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,o=(null==i?void 0:i.nodeType)!==Node.TEXT_NODE&&(null==i?void 0:i.nodeType)!==Node.ELEMENT_NODE;if(null!=i&&!o){if(i.nodeType===Node.TEXT_NODE&&(null!==i.previousSibling||null!==i.nextSibling)){var a=i.parentNode;if(null==a)return;i.nodeValue=a.textContent;for(var s=a.firstChild;null!=s;s=s.nextSibling)s!==i&&a.removeChild(s)}var l=i.textContent,u=e._latestEditorState,c=Drt(Frt(i)),d=Prt.decode(c),p=d.blockKey,h=d.decoratorKey,f=d.leafKey,m=u.getBlockTree(p).getIn([h,"leaves",f]),g=m.start,v=m.end,y=u.getCurrentContent(),b=y.getBlockForKey(p),O=b.getText().slice(g,v);if(l.endsWith("\n\n")&&(l=l.slice(0,-1)),l!==O){var _,w,x,k,S=u.getSelection(),P=S.merge({anchorOffset:g,focusOffset:v,isBackward:!1}),E=b.getEntityAt(g),C=Crt(E)?y.getEntity(E):null,F="MUTABLE"===(null!=C?C.getMutability():null),T=F?"spellcheck-change":"apply-entity",D=Srt.replaceText(y,P,l,b.getInlineStyleAt(g),F?b.getEntityAt(g):null);if(Art)_=n.anchorOffset,w=n.focusOffset,k=(x=g+Math.min(_,w))+Math.abs(_-w),_=x,w=k;else{var A=l.length-O.length;x=S.getStartOffset(),k=S.getEndOffset(),_=r?k+A:x,w=k+A}var I=D.merge({selectionBefore:y.getSelectionAfter(),selectionAfter:S.merge({anchorOffset:_,focusOffset:w})});e.update(Ert.push(u,I,T))}else{var L=t.nativeEvent.inputType;if(L){var $=function(e,t){return"deleteContentBackward"===e?Trt(t):t}(L,u);if($!==u)return e.restoreEditorDOM(),void e.update($)}}}},Lrt=f7e;var $rt=function(e){return e.which===Lrt.RETURN&&(e.getModifierState("Shift")||e.getModifierState("Alt")||e.getModifierState("Control"))},zrt=$rt,Rrt=X8e.isPlatform("Mac OS X"),jrt={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return Rrt&&e.altKey},usesMacOSHeuristics:function(){return Rrt},hasCommandModifier:function(e){return Rrt?!!e.metaKey&&!e.altKey:jrt.isCtrlKeyCommand(e)},isSoftNewlineEvent:zrt},Mrt=jrt,Qrt=R6e,Nrt=I9e,Urt=j4e,Brt=u9e,qrt=null,Grt={cut:function(e){var t=e.getCurrentContent(),n=e.getSelection(),i=null;if(n.isCollapsed()){var r=n.getAnchorKey(),o=t.getBlockForKey(r).getLength();if(o===n.getAnchorOffset()){var a=t.getKeyAfter(r);if(null==a)return e;i=n.set("focusKey",a).set("focusOffset",0)}else i=n.set("focusOffset",o)}else i=n;i=Brt(i),qrt=Urt(t,i);var s=Qrt.removeRange(t,i,"forward");return s===t?e:Nrt.push(e,s,"remove-range")},paste:function(e){if(!qrt)return e;var t=Qrt.replaceWithFragment(e.getCurrentContent(),e.getSelection(),qrt);return Nrt.push(e,t,"insert-fragment")}},Wrt=Grt,Xrt=g4e;var Vrt=X8e.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 o,a=Array.from(t.getClientRects());if(n.push(a),r)return n.reverse(),(o=[]).concat.apply(o,n);t.setEndBefore(i)}"production"!==ga.env.NODE_ENV?Xrt(!1,"Found an unexpected detached subtree when getting range client rects."):Xrt(!1)}:function(e){return Array.from(e.getClientRects())},Yrt=crt,Zrt=V8e,Hrt=Vrt,Krt=g4e;function Jrt(e,t){for(var n=1/0,i=1/0,r=-1/0,o=-1/0,a=0;a<e.length;a++){var s=e[a];0!==s.width&&1!==s.width&&(n=Math.min(n,s.top),i=Math.min(i,s.bottom),r=Math.max(r,s.top),o=Math.max(o,s.bottom))}return r<=i&&r-n<t&&o-i<t}function eot(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 tot=function(e){e.collapsed||("production"!==ga.env.NODE_ENV?Krt(!1,"expandRangeToStartOfLine: Provided range is not collapsed."):Krt(!1));var t=(e=e.cloneRange()).startContainer;1!==t.nodeType&&(t=t.parentNode);var n=function(e){var t=getComputedStyle(e),n=Zrt(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"!==ga.env.NODE_ENV?Krt(!1,"Missing document.body"):Krt(!1)),r.appendChild(i);var o=i.getBoundingClientRect();return r.removeChild(i),o.height}(t),i=e.endContainer,r=e.endOffset;for(e.setStart(e.startContainer,0);Jrt(Hrt(e),n)&&(i=e.startContainer,r=e.startOffset,i.parentNode||("production"!==ga.env.NODE_ENV?Krt(!1,"Found unexpected detached subtree when traversing."):Krt(!1)),e.setStartBefore(i),1!==i.nodeType||"inline"===getComputedStyle(i).display););for(var o=i,a=r-1;;){for(var s=o.nodeValue,l=a;l>=0;l--)if(!(null!=s&&l>0&&Yrt.isSurrogatePair(s,l-1))){if(e.setStart(o,l),!Jrt(Hrt(e),n))break;i=o,r=l}if(-1===l||0===o.childNodes.length)break;a=eot(o=o.childNodes[l])}return e.setStart(i,r),e},not=I9e,iot=tot,rot=D7e,oot=grt,aot=brt;var sot=function(e,t){var n=aot(e,(function(e){var n=e.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return oot(e,1);var i=t.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return i=iot(i),rot(e,null,i.endContainer,i.endOffset,i.startContainer,i.startOffset).selectionState}),"backward");return n===e.getCurrentContent()?e:not.push(e,n,"remove-range")},lot="\\s|(?![_])"+{getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}.getPunctuation(),uot=new RegExp("^(?:"+lot+")*(?:"+"['‘’]|(?!"+lot+").)*(?:(?!"+lot+").)"),cot=new RegExp("(?:(?!"+lot+").)(?:"+"['‘’]|(?!"+lot+").)*(?:"+lot+")*$");function dot(e,t){var n=t?cot.exec(e):uot.exec(e);return n?n[0]:e}var pot={getBackward:function(e){return dot(e,!0)},getForward:function(e){return dot(e,!1)}},hot=pot,fot=I9e,mot=grt,got=brt;var vot=function(e){var t=got(e,(function(e){var t=e.getSelection(),n=t.getStartOffset();if(0===n)return mot(e,1);var i=t.getStartKey(),r=e.getCurrentContent().getBlockForKey(i).getText().slice(0,n),o=hot.getBackward(r);return mot(e,o.length||1)}),"backward");return t===e.getCurrentContent()?e:fot.push(e,t,"remove-range")},yot=frt;var bot=function(e,t){var n=e.getSelection();"production"!==ga.env.NODE_ENV&&yot(n.isCollapsed(),"moveSelectionForward should only be called with a collapsed SelectionState");var i,r=n.getStartKey(),o=n.getStartOffset(),a=e.getCurrentContent(),s=r;return t>a.getBlockForKey(r).getText().length-o?(s=a.getKeyAfter(r),i=0):i=o+t,n.merge({focusKey:s,focusOffset:i})},Oot=pot,_ot=I9e,wot=bot,xot=brt;var kot=function(e){var t=xot(e,(function(e){var t=e.getSelection(),n=t.getStartOffset(),i=t.getStartKey(),r=e.getCurrentContent().getBlockForKey(i).getText().slice(n),o=Oot.getForward(r);return wot(e,o.length||1)}),"forward");return t===e.getCurrentContent()?e:_ot.push(e,t,"remove-range")},Sot=R6e,Pot=I9e;var Eot=I9e;var Cot=function(e){var t=e.getSelection(),n=t.getEndKey(),i=e.getCurrentContent().getBlockForKey(n).getLength();return Eot.set(e,{selection:t.merge({anchorKey:n,anchorOffset:i,focusKey:n,focusOffset:i,isBackward:!1}),forceSelection:!0})},Fot=I9e;var Tot=function(e){var t=e.getSelection(),n=t.getStartKey();return Fot.set(e,{selection:t.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})},Dot=I9e,Aot=crt,Iot=bot,Lot=brt;var $ot=function(e){var t=Lot(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),i=t.getAnchorKey(),r=t.getAnchorOffset(),o=n.getBlockForKey(i).getText()[r];return Iot(e,o?Aot.getUTF16Length(o,0):1)}),"forward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return Dot.push(e,t.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")},zot=R6e,Rot=I9e,jot=j4e;var Mot=function(e){var t=e.getSelection();if(!t.isCollapsed())return e;var n=t.getAnchorOffset();if(0===n)return e;var i,r,o=t.getAnchorKey(),a=e.getCurrentContent(),s=a.getBlockForKey(o).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=jot(a,i),u=zot.removeRange(a,i,"backward"),c=u.getSelectionAfter(),d=c.getAnchorOffset()-1,p=c.merge({anchorOffset:d,focusOffset:d}),h=zot.replaceWithFragment(u,p,l),f=Rot.push(e,h,"insert-fragment");return Rot.acceptSelection(f,r)},Qot=I9e;var Not=function(e,t,n){var i=Qot.undo(t);if("spellcheck-change"!==t.getLastChangeType())e.preventDefault(),t.getNativelyRenderedContent()?(n(Qot.set(t,{nativelyRenderedContent:null})),setTimeout((function(){n(i)}),0)):n(i);else{var r=i.getCurrentContent();n(Qot.set(i,{nativelyRenderedContent:r}))}},Uot=R6e,Bot=I9e,qot=f7e,Got=Wrt,Wot=X8e,Xot=sit,Vot=sot,Yot=vot,Zot=kot,Hot=function(e){var t=Sot.splitBlock(e.getCurrentContent(),e.getSelection());return Pot.push(e,t,"split-block")},Kot=Cot,Jot=Tot,eat=krt,tat=$ot,nat=Mot,iat=Not,rat=Mrt.isOptionKeyCommand,oat=Wot.isBrowser("Chrome");var aat=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 qot.RETURN:if(t.preventDefault(),e.props.handleReturn&&Xot(e.props.handleReturn(t,i)))return;break;case qot.ESC:if(t.preventDefault(),r("onEscape"))return;break;case qot.TAB:if(r("onTab"))return;break;case qot.UP:if(r("onUpArrow"))return;break;case qot.RIGHT:if(r("onRightArrow"))return;break;case qot.DOWN:if(r("onDownArrow"))return;break;case qot.LEFT:if(r("onLeftArrow"))return;break;case qot.SPACE:oat&&rat(t)&&t.preventDefault()}var o=e.props.keyBindingFn(t);if(null!=o&&""!==o)if("undo"!==o){if(t.preventDefault(),!e.props.handleKeyCommand||!Xot(e.props.handleKeyCommand(o,i,t.timeStamp))){var a=function(e,t,n){switch(e){case"redo":return Bot.redo(t);case"delete":return tat(t);case"delete-word":return Zot(t);case"backspace":return eat(t);case"backspace-word":return Yot(t);case"backspace-to-start-of-line":return Vot(t,n);case"split-block":return Hot(t);case"transpose-characters":return nat(t);case"move-selection-to-start-of-block":return Jot(t);case"move-selection-to-end-of-block":return Kot(t);case"secondary-cut":return Got.cut(t);case"secondary-paste":return Got.paste(t);default:return t}}(o,i,t);a!==i&&e.update(a)}}else iat(t,i,e.update);else if(n===qot.SPACE&&oat&&rat(t)){var s=Uot.replaceText(i.getCurrentContent(),i.getSelection()," ");e.update(Bot.push(i,s,"insert-characters"))}};var sat=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}(),lat=sat,uat=g4e,cat=X8e.isBrowser("IE <= 9");var dat=function(e){var t,n=null;return!cat&&document.implementation&&document.implementation.createHTMLDocument&&((t=document.implementation.createHTMLDocument("foo")).documentElement||("production"!==ga.env.NODE_ENV?uat(!1,"Missing doc.documentElement"):uat(!1)),t.documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n},pat=Y8e;var hat=function(e){return!(!e||!e.ownerDocument)&&(pat(e)&&"A"===e.nodeName)},fat=Y8e;var mat,gat=function(e){return!(!e||!e.ownerDocument)&&(fat(e)&&"IMG"===e.nodeName)};function vat(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){yat(e,t,n[t])}))}return e}function yat(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var bat=C3e,Oat=B3e,_at=r4e,wat=p8e,xat=c5e,kat=lat,Sat=u8e,Pat=P4e,Eat=dat,Cat=h5e,Fat=m3e.exports,Tat=Fat.List,Dat=Fat.Map,Aat=Fat.OrderedSet,Iat=hat,Lat=_et,$at=g7e,zat=gat,Rat=Cat("draft_tree_data_support"),jat=new RegExp("\r","g"),Mat=new RegExp("\n","g"),Qat=new RegExp("^\n","g"),Nat=new RegExp("&nbsp;","g"),Uat=new RegExp("&#13;?","g"),Bat=new RegExp("&#8203;?","g"),qat=["bold","bolder","500","600","700","800","900"],Gat=["light","lighter","normal","100","200","300","400"],Wat=["className","href","rel","target","title"],Xat=["alt","className","height","src","width"],Vat=(yat(mat={},Sat("public/DraftStyleDefault/depth0"),0),yat(mat,Sat("public/DraftStyleDefault/depth1"),1),yat(mat,Sat("public/DraftStyleDefault/depth2"),2),yat(mat,Sat("public/DraftStyleDefault/depth3"),3),yat(mat,Sat("public/DraftStyleDefault/depth4"),4),mat),Yat=Dat({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),Zat=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)}))})),Dat(t)},Hat=function(e){if($at(e)&&e.style.fontFamily.includes("monospace"))return"CODE";return null},Kat=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(Vat).some((function(n){e.classList.contains(n)&&(t=Vat[n])})),t},Jat=function(e){if(!Iat(e))return!1;var t=e;return!(!t.href||"http:"!==t.protocol&&"https:"!==t.protocol&&"mailto:"!==t.protocol&&"tel:"!==t.protocol)},est=function(e){if(!zat(e))return!1;var t=e;return!(!t.attributes.getNamedItem("src")||!t.attributes.getNamedItem("src").value)},tst=function(e,t){if(!$at(e))return t;var n=e,i=n.style.fontWeight,r=n.style.fontStyle,o=n.style.textDecoration;return t.withMutations((function(e){qat.indexOf(i)>=0?e.add("BOLD"):Gat.indexOf(i)>=0&&e.remove("BOLD"),"italic"===r?e.add("ITALIC"):"normal"===r&&e.remove("ITALIC"),"underline"===o&&e.add("UNDERLINE"),"line-through"===o&&e.add("STRIKETHROUGH"),"none"===o&&(e.remove("UNDERLINE"),e.remove("STRIKETHROUGH"))}))},nst=function(e){return"ul"===e||"ol"===e},ist=function(){function e(e,t){yat(this,"characterList",Tat()),yat(this,"currentBlockType","unstyled"),yat(this,"currentDepth",0),yat(this,"currentEntity",null),yat(this,"currentText",""),yat(this,"wrapper",null),yat(this,"blockConfigs",[]),yat(this,"contentBlocks",[]),yat(this,"entityMap",xat),yat(this,"blockTypeMap",void 0),yat(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=e,this.disambiguate=t}var t=e.prototype;return t.clear=function(){this.characterList=Tat(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=xat,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],Aat())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},t.getContentBlocks=function(){return 0===this.contentBlocks.length&&(Rat?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||Pat(),n=vat({key:t,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:Tat(),prevSibling:null,nextSibling:null,childConfigs:[]},e);return this.characterList=Tat(),this.currentBlockType="unstyled",this.currentText="",n},t._toBlockConfigs=function(e,t){for(var n=[],i=0;i<e.length;i++){var r=e[i],o=r.nodeName.toLowerCase();if("body"===o||nst(o)){this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var a=this.currentDepth,s=this.wrapper;nst(o)&&(this.wrapper=o,nst(s)&&this.currentDepth++),n.push.apply(n,this._toBlockConfigs(Array.from(r.childNodes),t)),this.currentDepth=a,this.wrapper=s}else{var l=this.blockTypeMap.get(o);if(void 0===l)if("#text"!==o)if("br"!==o)if(est(r))this._addImgNode(r,t);else if(Jat(r))this._addAnchorNode(r,n,t);else{var u=t;Yat.has(o)&&(u=u.add(Yat.get(o))),u=tst(r,u);var c=Hat(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,p=this.wrapper;if(this.wrapper="pre"===o?"pre":this.wrapper,"string"!=typeof l&&(l=this.disambiguate(o,this.wrapper)||l[0]||"unstyled"),!Rat&&$at(r)&&("unordered-list-item"===l||"ordered-list-item"===l)){var h=r;this.currentDepth=Kat(h,this.currentDepth)}var f=Pat(),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=p}}}return n},t._appendText=function(e,t){var n;this.currentText+=e;var i=bat.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=Tat()):(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(Qat,"")).replace(Mat," ")),this._appendText(n,t)},t._addBreakNode=function(e,t){Lat(e)&&this._appendText("\n",t)},t._addImgNode=function(e,t){if(zat(e)){var n=e,i={};Xat.forEach((function(e){var t=n.getAttribute(e);t&&(i[e]=t)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",i),Cat("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(Iat(e)){var i=e,r={};Wat.forEach((function(e){var t=i.getAttribute(e);t&&(r[e]=t)})),r.url=new kat(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=Tat(r.childConfigs.map((function(e){return e.key}))),this.contentBlocks.push(new _at(vat({},r))),this._toContentBlocks(r.childConfigs,r.key)}},t._hoistContainersInBlockConfigs=function(e){var t=this;return Tat(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 Oat(vat({},e,{text:e.text+i,characterList:e.characterList.concat(r)})))}))},t._extractTextFromBlockConfigs=function(e){for(var t=e.length-1,n="",i=Tat(),r=0;r<=t;r++){var o=e[r];n+=o.text,i=i.concat(o.characterList),""!==n&&"unstyled"!==o.type&&(n+="\n",i=i.push(i.last()));var a=this._extractTextFromBlockConfigs(o.childConfigs);n+=a.text,i=i.concat(a.characterList)}return{text:n,characterList:i}},e}(),rst=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Eat,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:wat,i=t(e=e.trim().replace(jat,"").replace(Nat," ").replace(Uat,"").replace(Bat,""));if(!i)return null;var r=Zat(n),o=function(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null};return new ist(r,o).addDOMNode(i).getContentBlocks()};function ost(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ast=B3e,sst=r4e,lst=rst,ust=P4e,cst=dat,dst=h5e,pst=m3e.exports,hst=m5e,fst=pst.List,mst=pst.Repeat,gst=dst("draft_tree_data_support"),vst=gst?sst:ast,yst={processHTML:function(e,t){return lst(e,cst,t)},processText:function(e,t,n){return e.reduce((function(e,i,r){i=hst(i);var o=ust(),a={key:o,type:n,text:i,characterList:fst(mst(t,i.length))};if(gst&&0!==r){var s=r-1;a=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){ost(e,t,n[t])}))}return e}({},a,{prevSibling:(e[s]=e[s].merge({nextSibling:o})).getKey()})}return e.push(new vst(a)),e}),[])}};var bst=function(e,t,n,i){var r=t.getStartKey(),o=t.getEndKey(),a=e.getBlockMap(),s=a.toSeq().skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===o})).concat([[o,a.get(o)]]).map((function(e){var t=e.getDepth()+n;return t=Math.max(0,Math.min(t,i)),e.set("depth",t)}));return a=a.merge(s),e.merge({blockMap:a,selectionBefore:t,selectionAfter:t})},Ost=R6e,_st=I9e,wst=bst,xst=u9e,kst={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 kst.toggleInlineStyle(e,"BOLD");case"italic":return kst.toggleInlineStyle(e,"ITALIC");case"underline":return kst.toggleInlineStyle(e,"UNDERLINE");case"code":return kst.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return kst.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return kst.onDelete(e);default:return null}},insertSoftNewline:function(e){var t=Ost.insertText(e.getCurrentContent(),e.getSelection(),"\n",e.getCurrentInlineStyle(),null),n=_st.push(e,t,"insert-characters");return _st.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 o=n.getBlockMap().delete(r.getKey()),a=n.merge({blockMap:o,selectionAfter:t});if(a!==n)return _st.push(e,a,"remove-range")}var s=kst.tryToRemoveBlockStyle(e);return s?_st.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 o=n.getBlockAfter(i);if(!o||"atomic"!==o.getType())return null;var a=t.merge({focusKey:o.getKey(),focusOffset:o.getLength()}),s=Ost.removeRange(n,a,"forward");return s!==n?_st.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 o=t.getCurrentContent(),a=o.getBlockForKey(r),s=a.getType();if("unordered-list-item"!==s&&"ordered-list-item"!==s)return t;e.preventDefault();var l=a.getDepth();if(!e.shiftKey&&l===n)return t;var u=wst(o,i,e.shiftKey?-1:1,n);return _st.push(t,u,"adjust-depth")},toggleBlockType:function(e,t){var n=e.getSelection(),i=n.getStartKey(),r=n.getEndKey(),o=e.getCurrentContent(),a=n;if(i!==r&&0===n.getEndOffset()){var s=xst(o.getBlockBefore(r));r=s.getKey(),a=a.merge({anchorKey:i,anchorOffset:n.getStartOffset(),focusKey:r,focusOffset:s.getLength(),isBackward:!1})}var l=o.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=o.getBlockForKey(i).getType()===t?"unstyled":t;return _st.push(e,Ost.setBlockType(o,a,u),"change-block-type")},toggleCode:function(e){var t=e.getSelection(),n=t.getAnchorKey(),i=t.getFocusKey();return t.isCollapsed()||n!==i?kst.toggleBlockType(e,"code-block"):kst.toggleInlineStyle(e,"CODE")},toggleInlineStyle:function(e,t){var n=e.getSelection(),i=e.getCurrentInlineStyle();if(n.isCollapsed())return _st.setInlineStyleOverride(e,i.has(t)?i.remove(t):i.add(t));var r,o=e.getCurrentContent();return r=i.has(t)?Ost.removeInlineStyle(o,n,t):Ost.applyInlineStyle(o,n,t),_st.push(e,r,"change-inline-style")},toggleLink:function(e,t,n){var i=Ost.applyEntity(e.getCurrentContent(),t,n);return _st.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(),o=r.getBlockForKey(i).getType(),a=r.getBlockBefore(i);if("code-block"===o&&a&&"code-block"===a.getType()&&0!==a.getLength())return null;if("unstyled"!==o)return Ost.setBlockType(r,t,"unstyled")}return null}},Sst=kst,Pst=/\r\n?|\n/g;var Est=function(e){return e.split(Pst)},Cst=y3e,Fst=C3e,Tst=nit,Dst=R6e,Ast=yst,Ist=I9e,Lst=Sst,$st=U7e,zst=ait,Rst=sit,jst=Est;function Mst(e,t,n){var i=Dst.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return Ist.push(e,i.set("entityMap",n),"insert-fragment")}var Qst=function(e,t){t.preventDefault();var n=new Tst(t.clipboardData);if(!n.isRichText()){var i=n.getFiles(),r=n.getText();if(i.length>0){if(e.props.handlePastedFiles&&Rst(e.props.handlePastedFiles(i)))return;return void zst(i,(function(t){if(t=t||r){var n=e._latestEditorState,i=jst(t),o=Fst.create({style:n.getCurrentInlineStyle(),entity:$st(n.getCurrentContent(),n.getSelection())}),a=Lst.getCurrentBlockType(n),s=Ast.processText(i,o,a),l=Cst.createFromArray(s),u=Dst.replaceWithFragment(n.getCurrentContent(),n.getSelection(),l);e.update(Ist.push(n,u,"insert-fragment"))}}))}}var o=[],a=n.getText(),s=n.getHTML(),l=e._latestEditorState;if(!e.props.handlePastedText||!Rst(e.props.handlePastedText(a,s,l))){if(a&&(o=jst(a)),!e.props.stripPastedStyles){var u=e.getClipboard();if(n.isRichText()&&u){if(-1!==s.indexOf(e.getEditorKey())||1===o.length&&1===u.size&&u.first().getText()===a)return void e.update(Mst(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]}))}(o,u))return void e.update(Mst(e._latestEditorState,u));if(s){var c=Ast.processHTML(s,e.props.blockRenderMap);if(c){var d=c.contentBlocks,p=c.entityMap;if(d){var h=Cst.createFromArray(d);return void e.update(Mst(e._latestEditorState,h,p))}}}e.setClipboard(null)}if(o.length){var f=Fst.create({style:l.getCurrentInlineStyle(),entity:$st(l.getCurrentContent(),l.getSelection())}),m=Lst.getCurrentBlockType(l),g=Ast.processText(o,f,m),v=Cst.createFromArray(g);e.update(Mst(e._latestEditorState,v))}}},Nst=X8e,Ust=Iit,Bst=Rit,qst=Mit,Gst=Bit,Wst=Hit,Xst=Kit,Vst=Jit,Yst=nrt,Zst=Irt,Hst=aat,Kst=Qst,Jst=j7e,elt=Nst.isBrowser("Chrome"),tlt=Nst.isBrowser("Firefox"),nlt=elt||tlt?Jst:function(e){},ilt={onBeforeInput:Ust,onBlur:Bst,onCompositionStart:qst,onCopy:Gst,onCut:Wst,onDragOver:Xst,onDragStart:Vst,onFocus:Yst,onInput:Zst,onKeyDown:Hst,onPaste:Kst,onSelect:Jst,onMouseUp:nlt,onKeyUp:nlt},rlt=b.default.unstable_flushControlled;var olt=g.default,alt=u8e,slt=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=alt({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":e});return olt.createElement("div",{className:t},olt.createElement("div",{className:alt("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},i}(olt.Component),llt=slt,ult=Mrt,clt=f7e,dlt=X8e,plt=dlt.isPlatform("Mac OS X"),hlt=plt&&dlt.isBrowser("Firefox < 29"),flt=ult.hasCommandModifier,mlt=ult.isCtrlKeyCommand;function glt(e){return plt&&e.altKey||mlt(e)}var vlt=function(e){switch(e.keyCode){case 66:return flt(e)?"bold":null;case 68:return mlt(e)?"delete":null;case 72:return mlt(e)?"backspace":null;case 73:return flt(e)?"italic":null;case 74:return flt(e)?"code":null;case 75:return plt&&mlt(e)?"secondary-cut":null;case 77:case 79:return mlt(e)?"split-block":null;case 84:return plt&&mlt(e)?"transpose-characters":null;case 85:return flt(e)?"underline":null;case 87:return plt&&mlt(e)?"backspace-word":null;case 89:return mlt(e)?plt?"secondary-paste":"redo":null;case 90:return function(e){return flt(e)?e.shiftKey?"redo":"undo":null}(e)||null;case clt.RETURN:return"split-block";case clt.DELETE:return function(e){return!plt&&e.shiftKey?null:glt(e)?"delete-word":"delete"}(e);case clt.BACKSPACE:return function(e){return flt(e)&&plt?"backspace-to-start-of-line":glt(e)?"backspace-word":"backspace"}(e);case clt.LEFT:return hlt&&flt(e)?"move-selection-to-start-of-block":null;case clt.RIGHT:return hlt&&flt(e)?"move-selection-to-end-of-block":null;default:return null}},ylt=hW;function blt(){return blt=ylt||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},blt.apply(this,arguments)}function Olt(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){wlt(e,t,n[t])}))}return e}function _lt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wlt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xlt(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var klt=p8e,Slt=h8e,Plt=net,Elt=Qnt,Clt=_it,Flt=ilt,Tlt=rlt,Dlt=llt,Alt=I9e,Ilt=g.default,Llt=stt,$lt=ytt,zlt=u8e,Rlt=P4e,jlt=vlt,Mlt=Ptt,Qlt=h5e,Nlt=g4e,Ult=g7e,Blt=u9e,qlt=X8e.isBrowser("IE"),Glt=!qlt,Wlt={edit:Flt,composite:Plt,drag:Clt,cut:null,render:null},Xlt=!1,Vlt=function(e){function t(){return e.apply(this,arguments)||this}xlt(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}(Ilt.Component),Ylt=function(e){function t(t){var n;return wlt(_lt(n=e.call(this,t)||this),"_blockSelectEvents",void 0),wlt(_lt(n),"_clipboard",void 0),wlt(_lt(n),"_handler",void 0),wlt(_lt(n),"_dragCount",void 0),wlt(_lt(n),"_internalDrag",void 0),wlt(_lt(n),"_editorKey",void 0),wlt(_lt(n),"_placeholderAccessibilityID",void 0),wlt(_lt(n),"_latestEditorState",void 0),wlt(_lt(n),"_latestCommittedEditorState",void 0),wlt(_lt(n),"_pendingStateFromBeforeInput",void 0),wlt(_lt(n),"_onBeforeInput",void 0),wlt(_lt(n),"_onBlur",void 0),wlt(_lt(n),"_onCharacterData",void 0),wlt(_lt(n),"_onCompositionEnd",void 0),wlt(_lt(n),"_onCompositionStart",void 0),wlt(_lt(n),"_onCopy",void 0),wlt(_lt(n),"_onCut",void 0),wlt(_lt(n),"_onDragEnd",void 0),wlt(_lt(n),"_onDragOver",void 0),wlt(_lt(n),"_onDragStart",void 0),wlt(_lt(n),"_onDrop",void 0),wlt(_lt(n),"_onInput",void 0),wlt(_lt(n),"_onFocus",void 0),wlt(_lt(n),"_onKeyDown",void 0),wlt(_lt(n),"_onKeyPress",void 0),wlt(_lt(n),"_onKeyUp",void 0),wlt(_lt(n),"_onMouseDown",void 0),wlt(_lt(n),"_onMouseUp",void 0),wlt(_lt(n),"_onPaste",void 0),wlt(_lt(n),"_onSelect",void 0),wlt(_lt(n),"editor",void 0),wlt(_lt(n),"editorContainer",void 0),wlt(_lt(n),"focus",void 0),wlt(_lt(n),"blur",void 0),wlt(_lt(n),"setMode",void 0),wlt(_lt(n),"exitCurrentMode",void 0),wlt(_lt(n),"restoreEditorDOM",void 0),wlt(_lt(n),"setClipboard",void 0),wlt(_lt(n),"getClipboard",void 0),wlt(_lt(n),"getEditorKey",void 0),wlt(_lt(n),"update",void 0),wlt(_lt(n),"onDragEnter",void 0),wlt(_lt(n),"onDragLeave",void 0),wlt(_lt(n),"_handleEditorContainerRef",(function(e){n.editorContainer=e,n.editor=null!==e?e.firstChild:null})),wlt(_lt(n),"focus",(function(e){var t=n.props.editorState,i=t.getSelection().getHasFocus(),r=n.editor;if(r){var o=$lt.getScrollParent(r),a=e||Mlt(o),s=a.x,l=a.y;Ult(r)||("production"!==ga.env.NODE_ENV?Nlt(!1,"editorNode is not an HTMLElement"):Nlt(!1)),r.focus(),o===window?window.scrollTo(s,l):Llt.setTop(o,l),i||n.update(Alt.forceSelection(t,t.getSelection()))}})),wlt(_lt(n),"blur",(function(){var e=n.editor;e&&(Ult(e)||("production"!==ga.env.NODE_ENV?Nlt(!1,"editorNode is not an HTMLElement"):Nlt(!1)),e.blur())})),wlt(_lt(n),"setMode",(function(e){var t=n.props,i=t.onPaste,r=t.onCut,o=t.onCopy,a=Olt({},Wlt.edit);i&&(a.onPaste=i),r&&(a.onCut=r),o&&(a.onCopy=o);var s=Olt({},Wlt,{edit:a});n._handler=s[e]})),wlt(_lt(n),"exitCurrentMode",(function(){n.setMode("edit")})),wlt(_lt(n),"restoreEditorDOM",(function(e){n.setState({contentsKey:n.state.contentsKey+1},(function(){n.focus(e)}))})),wlt(_lt(n),"setClipboard",(function(e){n._clipboard=e})),wlt(_lt(n),"getClipboard",(function(){return n._clipboard})),wlt(_lt(n),"update",(function(e){n._latestEditorState=e,n.props.onChange(e)})),wlt(_lt(n),"onDragEnter",(function(){n._dragCount++})),wlt(_lt(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||Rlt(),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"!==ga.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}xlt(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&&(Tlt?Tlt((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:Blt(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return Ilt.createElement(Dlt,e)}return null},n.render=function(){var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,i=e.blockStyleFn,r=e.customStyleFn,o=e.customStyleMap,a=e.editorState,s=e.preventScroll,l=e.readOnly,u=e.textAlignment,c=e.textDirectionality,d=zlt({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===u,"DraftEditor/alignRight":"right"===u,"DraftEditor/alignCenter":"center"===u}),p=this.props.role||"textbox",h="combobox"===p?!!this.props.ariaExpanded:null,f={blockRenderMap:t,blockRendererFn:n,blockStyleFn:i,customStyleMap:Olt({},Slt,o),customStyleFn:r,editorKey:this._editorKey,editorState:a,preventScroll:s,textDirectionality:c};return Ilt.createElement("div",{className:d},this._renderPlaceholder(),Ilt.createElement("div",{className:zlt("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},Ilt.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:h,"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:zlt({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:p,spellCheck:Glt&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},Ilt.createElement(Vlt,{editor:this,editorState:a}),Ilt.createElement(Elt,blt({},f,{key:"contents"+this.state.contentsKey})))))},n.componentDidMount=function(){this._blockSelectEvents=!1,!Xlt&&Qlt("draft_ods_enabled")&&(Xlt=!0),this.setMode("edit"),qlt&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):k.execCommand("AutoUrlDetect",!1,!1))},n.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},t}(Ilt.Component);wlt(Ylt,"defaultProps",{blockRenderMap:klt,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:jlt,readOnly:!1,spellCheck:!1,stripPastedStyles:!1});var Zlt=Ylt,Hlt=P(Object.freeze({__proto__:null})),Klt={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}},Jlt=Klt,eut=crt.strlen;var tut=function(e,t){var n=[];return e.findEntityRanges((function(e){return!!e.getEntity()}),(function(i,r){var o=e.getText(),a=e.getEntityAt(i);n.push({offset:eut(o.slice(0,i)),length:eut(o.slice(i,r)),key:Number(t[Jlt.stringify(a)])})})),n},nut=crt,iut=F3e,rut=function(e,t){return e===t},out=function(e){return!!e},aut=[];var sut=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 iut(r,rut,out,(function(t,r){var o=e.getText();i.push({offset:nut.strlen(o.slice(0,t)),length:nut.strlen(o.slice(t,r)),style:n})})),i}(e,t,n)}));return Array.prototype.concat.apply(aut,n.toJS())};function lut(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var uut=B3e,cut=r4e,dut=Klt,put=tut,hut=sut,fut=g4e,mut=function(e,t){return{key:e.getKey(),text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:hut(e),entityRanges:put(e,t),data:e.getData().toObject()}},gut=function(e,t,n,i){if(e instanceof uut)n.push(mut(e,t));else{e instanceof cut||("production"!==ga.env.NODE_ENV?fut(!1,"block is not a BlockNode"):fut(!1));var r=e.getParentKey(),o=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){lut(e,t,n[t])}))}return e}({},mut(e,t),{children:[]});r?i[r].children.push(o):n.push(o)}},vut=function(e){var t={entityMap:{},blocks:[]};return t=function(e,t){var n=t.entityMap,i=[],r={},o={},a=0;return e.getBlockMap().forEach((function(e){e.findEntityRanges((function(e){return null!==e.getEntity()}),(function(t){var i=e.getEntityAt(t),r=dut.stringify(i);o[r]||(o[r]=i,n[r]="".concat(a),a++)})),gut(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(dut.unstringify(t));r[n]={type:i.getType(),mutability:i.getMutability(),data:i.getData()}})),{blocks:n,entityMap:r}}(e,t),t};function yut(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){but(e,t,n[t])}))}return e}function but(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Out=P4e,_ut=g4e,wut=function(e){if(!e||!e.type)return!1;var t=e.type;return"unordered-list-item"===t||"ordered-list-item"===t},xut={fromRawTreeStateToRawState:function(e){var t=e.blocks,n=[];return Array.isArray(t)||("production"!==ga.env.NODE_ENV?_ut(!1,"Invalid raw state"):_ut(!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"!==ga.env.NODE_ENV?_ut(!1,"Invalid tree raw block"):_ut(!1)),n=n.concat([].concat(r.reverse()))}}(t,(function(e){var t=yut({},e);wut(e)&&(t.depth=t.depth||0,function(e){Array.isArray(e.children)&&(e.children=e.children.map((function(t){return t.type===e.type?yut({},t,{depth:(e.depth||0)+1}):t})))}(e),null!=e.children&&e.children.length>0)||(delete t.children,n.push(t))})),e.blocks=n,yut({},e,{blocks:n})):e},fromRawStateToRawTreeState:function(e){var t=[],n=[];return e.blocks.forEach((function(e){var i=wut(e),r=e.depth||0,o=yut({},e,{children:[]});if(i){var a=n[0];if(null==a&&0===r)t.push(o);else if(null==a||a.depth<r-1){var s={key:Out(),text:"",depth:r-1,type:e.type,children:[],entityRanges:[],inlineStyleRanges:[]};n.unshift(s),1===r?t.push(s):null!=a&&a.children.push(s),s.children.push(o)}else if(a.depth===r-1)a.children.push(o);else{for(;null!=a&&a.depth>=r;)n.shift(),a=n[0];r>0?a.children.push(o):t.push(o)}}else t.push(o)})),yut({},e,{blocks:t})}},kut=xut,Sut=frt,Put={isValidBlock:function(e,t){var n=e.getKey(),i=e.getParentKey();if(null!=i&&!t.get(i).getChildKeys().includes(n))return"production"!==ga.env.NODE_ENV&&Sut(!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"!==ga.env.NODE_ENV&&Sut(!0,"Tree is missing child -> parent pointer on %s",n),!1;var o=e.getPrevSiblingKey();if(null!=o&&t.get(o).getNextSiblingKey()!==n)return"production"!==ga.env.NODE_ENV&&Sut(!0,"Tree is missing nextSibling pointer on %s's prevSibling",n),!1;var a=e.getNextSiblingKey();if(null!=a&&t.get(a).getPrevSiblingKey()!==n)return"production"!==ga.env.NODE_ENV&&Sut(!0,"Tree is missing prevSibling pointer on %s's nextSibling",n),!1;return null!==a&&null!==o&&o===a?("production"!==ga.env.NODE_ENV&&Sut(!0,"Tree has a two-node cycle at %s",n),!1):!(""!=e.text&&e.getChildKeys().size>0)||("production"!==ga.env.NODE_ENV&&Sut(!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"!==ga.env.NODE_ENV&&Sut(!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 o=e.get(i),a=o.getChildKeys(),s=o.getNextSiblingKey();if(a.size>0){null!=s&&r.unshift(s);var l=a.map((function(t){return e.get(t)})),u=l.find((function(e){return null==e.getPrevSiblingKey()}));if(null==u)return"production"!==ga.env.NODE_ENV&&Sut(!0,"%s has no first child",i),!1;i=u.getKey()}else i=null!=o.getNextSiblingKey()?o.getNextSiblingKey():r.shift();n++}return n===e.size||("production"!==ga.env.NODE_ENV&&Sut(!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)}},Eut=Put,Cut=C3e,Fut=m3e.exports.List;var Tut=function(e,t){var n=e.map((function(e,n){var i=t[n];return Cut.create({style:e,entity:i})}));return Fut(n)},Dut=crt.substr;var Aut=function(e,t){var n=Array(e.length).fill(null);return t&&t.forEach((function(t){for(var i=Dut(e,0,t.offset).length,r=i+Dut(e,t.offset,t.length).length,o=i;o<r;o++)n[o]=t.key})),n},Iut=crt,Lut=m3e.exports.OrderedSet,$ut=Iut.substr,zut=Lut();var Rut=function(e,t){var n=Array(e.length).fill(zut);return t&&t.forEach((function(t){for(var i=$ut(e,0,t.offset).length,r=i+$ut(e,t.offset,t.length).length;i<r;)n[i]=n[i].add(t.style),i++})),n};function jut(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){Mut(e,t,n[t])}))}return e}function Mut(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Qut=B3e,Nut=r4e,Uut=R5e,But=c5e,qut=kut,Gut=Eut,Wut=p5e,Xut=Tut,Vut=Aut,Yut=Rut,Zut=P4e,Hut=m3e.exports,Kut=g4e,Jut=h5e("draft_tree_data_support"),ect=Hut.List,tct=Hut.Map,nct=Hut.OrderedMap,ict=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||Zut(),data:tct(r),characterList:rct(e,t)}},rct=function(e,t){var n=e.text,i=e.entityRanges,r=e.inlineStyleRanges,o=i||[];return Xut(Yut(n,r||[]),Vut(n,o.filter((function(e){return t.hasOwnProperty(e.key)})).map((function(e){return jut({},e,{key:t[e.key]})}))))},oct=function(e){return jut({},e,{key:e.key||Zut()})},act=function(e,t,n){var i=t.map((function(e){return jut({},e,{parentRef:n})}));return e.concat(i.reverse())},sct=function(e,t){var n=e.blocks.find((function(e){return Array.isArray(e.children)&&e.children.length>0})),i=Jut&&!n?qut.fromRawStateToRawTreeState(e).blocks:e.blocks;if(!Jut)return function(e,t){return nct(e.map((function(e){var n=new Qut(ict(e,t));return[n.getKey(),n]})))}(n?qut.fromRawTreeStateToRawState(e).blocks:i,t);var r=function(e,t){return e.map(oct).reduce((function(n,i,r){Array.isArray(i.children)||("production"!==ga.env.NODE_ENV?Kut(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):Kut(!1));var o=i.children.map(oct),a=new Nut(jut({},ict(i,t),{prevSibling:0===r?null:e[r-1].key,nextSibling:r===e.length-1?null:e[r+1].key,children:ect(o.map((function(e){return e.key})))}));n=n.set(a.getKey(),a);for(var s=act([],o,a);s.length>0;){var l=s.pop(),u=l.parentRef,c=u.getChildKeys(),d=c.indexOf(l.key),p=Array.isArray(l.children);if(!p){p||("production"!==ga.env.NODE_ENV?Kut(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):Kut(!1));break}var h=l.children.map(oct),f=new Nut(jut({},ict(l,t),{parent:u.getKey(),children:ect(h.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=act(s,h,f)}return n}),nct())}(i,t);return"production"!==ga.env.NODE_ENV&&(Gut.isValidTree(r)||("production"!==ga.env.NODE_ENV?Kut(!1,"Should be a valid tree"):Kut(!1))),r},lct=function(e){Array.isArray(e.blocks)||("production"!==ga.env.NODE_ENV?Kut(!1,"invalid RawDraftContentState"):Kut(!1));var t=function(e){var t=e.entityMap,n={};return Object.keys(t).forEach((function(e){var i=t[e],r=i.type,o=i.mutability,a=i.data;n[e]=But.__create(r,o,a||{})})),n}(e),n=sct(e,t),i=n.isEmpty()?new Wut:Wut.createEmpty(n.first().getKey());return new Uut({blockMap:n,entityMap:t,selectionBefore:i,selectionAfter:i})},uct=Vrt;var cct=function(e){var t=uct(e),n=0,i=0,r=0,o=0;if(t.length){if(t.length>1&&0===t[0].width){var a=t[1];n=a.top,i=a.right,r=a.bottom,o=a.left}else{var s=t[0];n=s.top,i=s.right,r=s.bottom,o=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),o=Math.min(o,u.left))}}return{top:n,right:i,bottom:r,left:o,width:i-o,height:r-n}},dct=cct;var pct=function(e){var t=e.getSelection();if(!t.rangeCount)return null;var n=t.getRangeAt(0),i=dct(n),r=i.top,o=i.right,a=i.bottom,s=i.left;return 0===r&&0===o&&0===a&&0===s?null:i},hct={Editor:Zlt,EditorBlock:Snt,EditorState:I9e,CompositeDecorator:s8e,Entity:c5e,EntityInstance:e5e,BlockMapBuilder:y3e,CharacterMetadata:C3e,ContentBlock:B3e,ContentState:R5e,RawDraftContentState:Hlt,SelectionState:p5e,AtomicBlockUtils:r8e,KeyBindingUtil:Mrt,Modifier:R6e,RichUtils:Sst,DefaultDraftBlockRenderMap:p8e,DefaultDraftInlineStyle:h8e,convertFromHTML:rst,convertFromRaw:lct,convertToRaw:vut,genKey:P4e,getDefaultKeyBinding:vlt,getVisibleSelectionRect:pct};function fct(e,t,n,i,r,o){var a=i-n;return t+n<=e.offset?Object.assign({},e,{offset:e.offset+a}):t>=e.offset&&t+n<=e.offset+e.length?Object.assign({},e,{length:e.length+a}):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&&o>0?[Object.assign({},e,{offset:e.offset+r,length:t+n-e.offset}),Object.assign({},e,{offset:t+n+r+o,length:e.offset+e.length-(t+n)})]:e}var mct=function(e,t){return e.offset===t.offset?t.length-e.length:e.offset-t.offset},gct={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","\n":"<br/>"};function vct(e){return vct="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},vct(e)}var yct=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function bct(e){if(-1!==yct.indexOf(e.type))return w.default.renderToStaticMarkup(e);var t=w.default.renderToStaticMarkup(g.default.cloneElement(e,{},"\r")).split("\r");return nwe(t.length>1,"convertToHTML: Element of type ".concat(e.type," must render children")),nwe(t.length<3,"convertToHTML: Element of type ".concat(e.type," cannot use carriage return character")),{start:t[0],end:t[1]}}function Oct(e){return g.default.isValidElement(e)&&g.default.Children.count(e.props.children)>0}function _ct(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(Oct(e))return w.default.renderToStaticMarkup(e);var n=bct(e);if(null!==t&&"object"===vct(n)){var i=n.start,r=n.end;return i+t+r}return n}if(nwe(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 o=e.start,a=e.end;return o+t+a}return e}var wct=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"start";if(g.default.isValidElement(t)){var i=bct(t);if("string"==typeof i)return 0;var r=i[n].length,o=g.default.Children.toArray(t.props.children)[0];return r+(o&&g.default.isValidElement(o)?e(o,n):0)}return"object"===vct(t)&&t[n]?t[n].length:0},xct=function(){var e=arguments.length>1?arguments[1]:void 0;return e},kct=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:xct,i=p1e(e.text),r=n;if(n.__isMiddleware&&(r=n(xct)),Object.prototype.hasOwnProperty.call(e,"entityRanges")&&e.entityRanges.length>0){for(var o=e.entityRanges.sort(mct),a=e.inlineStyleRanges,s=function(e){var n=o[e],s=t[n.key],l=i.slice(n.offset,n.offset+n.length).join(""),u=r(s,l),c=p1e(_ct(u,l)||l),d=wct(u,"start"),p=wct(u,"end"),h=function(t){return t.reduce((function(t,i,r){var o=function(t,i){return i>e||Object.prototype.hasOwnProperty.call(t,"style")?fct(t,n.offset,n.length,c.length,d,p):t}(i,r);return Array.isArray(o)?t.concat(o):t.concat([o])}),[])};o=h(o),a=h(a),i=[].concat(p1e(i.slice(0,n.offset)),p1e(c),p1e(i.slice(n.offset+n.length)))},l=0;l<o.length;l++)s(l);return Object.assign({},e,{text:i.join(""),inlineStyleRanges:a,entityRanges:o})}return e},Sct=function(e){return function(t){return"function"==typeof e?e(t):e[t]}},Pct=function(e,t){return function(){var n=e.apply(void 0,arguments);return null!=n?n:t.apply(void 0,arguments)}};function Ect(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 Cct=function(e,t){return e.filter((function(e){return!t.some((function(t){return t.style===e.style}))}))},Fct=function(e,t){return t.reduceRight((function(e,t){var n=e[e.length-1];return nwe(n.style===t.style,"Style ".concat(n.style," to be removed doesn't match expected ").concat(t.style)),e.slice(0,-1)}),e)},Tct=function(e,t){return t.filter((function(t){return e>=t.offset&&e<t.offset+t.length}))},Dct=function(e,t){var n=e.offset<=t.offset,i=e.offset+e.length>=t.offset+t.length;return n&&i},Act=function(e,t){return t.offset+t.length-(e.offset+e.length)},Ict=function(e,t){for(var n=0;n<e.length;){if(!t.every(Dct.bind(null,e[n])))return e.slice(n);n++}return[]},Lct=function(e,t,n){return t+_ct(e(n.style)).start},$ct=function(e,t,n){return _ct(e(n.style)).end+t},zct=function(e){return function(t){return e(t)}};zct.__isMiddleware=!0;var Rct=function(e){return function(t){return"function"==typeof e?e(t):e[t.type]}};function jct(e){return nwe(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):bct(e):Object.prototype.hasOwnProperty.call(e,"element")&&g.default.isValidElement(e.element)?Object.assign({},e,bct(e.element)):(nwe(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 Mct(e,t){if(nwe(null!=e,"Expected block HTML value to be non-null"),"function"==typeof e.nest){var n=bct(e.nest(t)),i=n.start,r=n.end;return Object.assign({},e,{nestStart:i,nestEnd:r})}if(g.default.isValidElement(e.nest)){var o=bct(e.nest),a=o.start,s=o.end;return Object.assign({},e,{nestStart:a,nestEnd:s})}return nwe(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 Qct=["1","a","i"],Nct={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=Qct[e%3];return g.default.createElement("ol",{type:t})}},media:g.default.createElement("figure",null),atomic:g.default.createElement("figure",null)},Uct=function(e,t){return t},Bct=function(e){var t=e.styleToHTML,n=void 0===t?{}:t,i=e.blockToHTML,r=void 0===i?{}:i,o=e.entityToHTML,a=void 0===o?Uct:o;return function(e){var t;nwe(null!=e,"Expected contentState to be non-null"),t=!0===r.__isMiddleware?r(Rct(Nct)):Pct(Rct(r),Rct(Nct));var i=hct.convertToRaw(e),o=[],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!==o.length||r!==o[s].type;)if(s+1===o.length){var d=o[s];l+=Mct(t(d),s).nestEnd,u+=Mct(t(e),s).nestStart,o[s]=e}else if(s+1<o.length){var p=o[o.length-1];l+=Mct(t(p),s).nestEnd,o=o.slice(0,-1)}else u+=Mct(t(e),s).nestStart,o.push(e);else l=o.reduceRight((function(e,n){return e+Mct(t(n),s).nestEnd}),""),o=[];var h,f=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:zct;nwe(null!=e,"Expected raw block to be non-null"),t=!0===n.__isMiddleware?n(Ect):Pct(Sct(n),Sct(Ect));for(var i="",r=[],o=e.inlineStyleRanges.sort(mct),a=p1e(e.text),s=0;s<a.length;s++){var l=Tct(s,o),u=Cct(r,l),c=Cct(l,r),d=Cct(r,u),p=Ict(d,c),h=p.concat(c).sort(Act),f=h.reduce(Lct.bind(null,t),"");i+=u.concat(p).reduce($ct.bind(null,t),"")+f+a[s],r=(r=Fct(r,p.concat(u))).concat(h),nwe(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+_ct(t(n.style)).end}),i)}(kct(function(e){for(var t=p1e(e.text),n=e.entityRanges.sort(mct),i=e.inlineStyleRanges.sort(mct),r="",o=function(e){var o=t[e];if(void 0!==gct[o]){var a=gct[o],s=p1e(r).length;r+=a;var l=function(e){return fct(e,s,o.length,a.length,0,0)};n=n.map(l),i=i.map(l)}else r+=o},a=0;a<t.length;a++)o(a);return Object.assign({},e,{text:r,inlineStyleRanges:i,entityRanges:n})}(e),i.entityMap,a),n),m=jct(t(e));return h="string"==typeof m?m:m.start+f+m.end,0===f.length&&Object.prototype.hasOwnProperty.call(m,"empty")&&(h=g.default.isValidElement(m.empty)?w.default.renderToStaticMarkup(m.empty):m.empty),l+u+h})).join("");return s=o.reduce((function(e,n){return e+Mct(t(n),n.depth).nestEnd}),s)}},qct={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 a(e)?e:X(e)}function i(e){return s(e)?e:V(e)}function r(e){return l(e)?e:Y(e)}function o(e){return a(e)&&!u(e)?e:Z(e)}function a(e){return!(!e||!e[d])}function s(e){return!(!e||!e[p])}function l(e){return!(!e||!e[h])}function u(e){return s(e)||l(e)}function c(e){return!(!e||!e[f])}t(i,n),t(r,n),t(o,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=l,n.isAssociative=u,n.isOrdered=c,n.Keyed=i,n.Indexed=r,n.Set=o;var d="@@__IMMUTABLE_ITERABLE__@@",p="@@__IMMUTABLE_KEYED__@@",h="@@__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 x(e){e&&(e.value=!0)}function k(){}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(C)),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 C(){return!0}function F(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,$=2,z="function"==typeof Symbol&&Symbol.iterator,R="@@iterator",j=z||R;function M(e){this.next=e}function Q(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 B(e){return e&&"function"==typeof e.next}function q(e){var t=G(e);return t&&t.call(e)}function G(e){var t=e&&(z&&e[z]||e[R]);if("function"==typeof t)return t}function W(e){return e&&"number"==typeof e.length}function X(e){return null==e?ae():a(e)?e.toSeq():ue(e)}function V(e){return null==e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function Y(e){return null==e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function Z(e){return(null==e?ae():a(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}M.prototype.toString=function(){return"[Iterator]"},M.KEYS=I,M.VALUES=L,M.ENTRIES=$,M.prototype.inspect=M.prototype.toSource=function(){return this.toString()},M.prototype[j]=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 pe(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 pe(this,e,t,!1)},t(Z,X),Z.of=function(){return Z(arguments)},Z.prototype.toSetSeq=function(){return this},X.isSeq=oe,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 oe(e){return!(!e||!e[ee])}function ae(){return H||(H=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():B(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):B(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 o=r.length-1,a=0;a<=o;a++){var s=r[n?o-a:a];if(!1===t(s[1],i?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function pe(e,t,n,i){var r=e._cache;if(r){var o=r.length-1,a=0;return new M((function(){var e=r[n?o-a:a];return a++>o?N():Q(t,i?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function he(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(!a(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 o=e;e=t,t=o}var d=!0,p=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===p}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 xe(){}function ke(){}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 M((function(){return r>i?N():Q(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,o=0;o<=r;o++){var a=i[t?r-o:o];if(!1===e(n[a],a,this))return o+1}return o},ne.prototype.__iterator=function(e,t){var n=this._object,i=this._keys,r=i.length-1,o=0;return new M((function(){var a=i[t?r-o:o];return o++>r?N():Q(e,a,n[a])}))},ne.prototype[f]=!0,t(ie,Y),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=q(this._iterable),i=0;if(B(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=q(this._iterable);if(!B(n))return new M(N);var i=0;return new M((function(){var t=n.next();return t.done?t:Q(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,o=0;o<r.length;)if(!1===e(r[o],o++,this))return o;for(;!(n=i.next()).done;){var a=n.value;if(r[o]=a,!1===e(a,o++,this))break}return o},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 M((function(){if(r>=i.length){var t=n.next();if(t.done)return t;i[r]=t.value}return Q(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 F(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 M((function(){return i<n.size?Q(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 F(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,o=0;o<=n;o++){if(!1===e(r,o,this))return o+1;r+=t?-i:i}return o},_e.prototype.__iterator=function(e,t){var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,o=0;return new M((function(){var a=r;return r+=t?-i:i,o>n?N():Q(e,o++,a)}))},_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(xe,we),t(ke,we),t(Se,we),we.Keyed=xe,we.Indexed=ke,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 Ce(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>Me?Fe(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 Fe(e){var t=Ue[e];return void 0===t&&(t=Te(e),Ne===Qe&&(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(ze&&void 0!==(t=$e.get(e)))return t;if(void 0!==(t=e[je]))return t;if(!Ie){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[je]))return t;if(void 0!==(t=Le(e)))return t}if(t=++Re,1073741824&Re&&(Re=0),ze)$e.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,je,{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[je]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[je]=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 $e,ze="function"==typeof WeakMap;ze&&($e=new WeakMap);var Re=0,je="__immutablehash__";"function"==typeof Symbol&&(je=Symbol(je));var Me=16,Qe=255,Ne=0,Ue={};function Be(e){Oe(e!==1/0,"Cannot perform this action with an infinite size.")}function qe(e){return null==e?rt():Ge(e)&&!c(e)?e:rt().withMutations((function(t){var n=i(e);Be(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Ge(e){return!(!e||!e[Xe])}t(qe,xe),qe.prototype.toString=function(){return this.__toString("Map {","}")},qe.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},qe.prototype.set=function(e,t){return ot(this,e,t)},qe.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},qe.prototype.remove=function(e){return ot(this,e,b)},qe.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},qe.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},qe.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},qe.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()},qe.prototype.merge=function(){return pt(this,void 0,arguments)},qe.prototype.mergeWith=function(t){return pt(this,t,e.call(arguments,1))},qe.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]}))},qe.prototype.mergeDeep=function(){return pt(this,ht,arguments)},qe.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return pt(this,ft(t),n)},qe.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]}))},qe.prototype.sort=function(e){return Ut(dn(this,e))},qe.prototype.sortBy=function(e,t){return Ut(dn(this,t,e))},qe.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},qe.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new k)},qe.prototype.asImmutable=function(){return this.__ensureOwner()},qe.prototype.wasAltered=function(){return this.__altered},qe.prototype.__iterator=function(e,t){return new et(this,e,t)},qe.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},qe.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)},qe.isMap=Ge;var We,Xe="@@__IMMUTABLE_MAP__@@",Ve=qe.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 Q(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 ot(e,t,n){var i,r;if(e._root){var o=w(O),a=w(_);if(i=at(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;r=e.size+(o.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 at(e,t,n,i,r,o,a,s){return e?e.update(t,n,i,r,o,a,s):o===b?e:(x(s),x(a),new Je(t,i,[r,o]))}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 o,a=(0===n?e.keyHash:e.keyHash>>>n)&y,s=(0===n?i:i>>>n)&y;return new Ze(t,1<<a|1<<s,a===s?[lt(e,t,n+g,i,r)]:(o=new Je(t,i,r),a<s?[e,o]:[o,e]))}function ut(e,t,n,i){e||(e=new k);for(var r=new Je(e,Ce(n),[n,i]),o=0;o<t.length;o++){var a=t[o];r=r.update(e,0,void 0,a[0],a[1])}return r}function ct(e,t,n,i){for(var r=0,o=0,a=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,a[o++]=c)}return new Ze(e,r,a)}function dt(e,t,n,i,r){for(var o=0,a=new Array(v),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[i]=r,new He(e,o+1,a)}function pt(e,t,n){for(var r=[],o=0;o<n.length;o++){var s=n[o],l=i(s);a(s)||(l=l.map((function(e){return he(e)}))),r.push(l)}return mt(e,t,r)}function ht(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):ve(e,t)?e:t}function ft(e){return function(t,n,i){if(t&&t.mergeDeepWith&&a(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,o=t.next();if(o.done){var a=r?n:e,s=i(a);return s===a?e:s}Oe(r||e&&e.set,"invalid keyPath");var l=o.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 o=new Array(r),a=0,s=0;s<r;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}function Ot(e,t,n){var i=e.length-1;if(n&&t===i)return e.pop(),e;for(var r=new Array(i),o=0,a=0;a<i;a++)a===t&&(o=1),r[a]=e[a+o];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,o=0,a=r.length;o<a;o++)if(ve(n,r[o][0]))return r[o][1];return i},Ye.prototype.update=function(e,t,n,i,r,o,a){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(x(a),(s||!d)&&x(o),!s||1!==l.length){if(!d&&!s&&l.length>=_t)return ut(e,l,i,r);var p=e&&e===this.ownerID,h=p?l:S(l);return d?s?u===c-1?h.pop():h[u]=h.pop():h[u]=[i,r]:h.push([i,r]),p?(this.entries=h,this):new Ye(e,h)}},Ze.prototype.get=function(e,t,n,i){void 0===t&&(t=Ce(n));var r=1<<((0===e?t:t>>>e)&y),o=this.bitmap;return 0==(o&r)?i:this.nodes[vt(o&r-1)].get(e+g,t,n,i)},Ze.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Ce(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),p=this.nodes,h=c?p[d]:void 0,f=at(h,e,t+g,n,i,r,o,a);if(f===h)return this;if(!c&&f&&p.length>=wt)return dt(e,p,u,s,f);if(c&&!f&&2===p.length&&st(p[1^d]))return p[1^d];if(c&&f&&1===p.length&&st(f))return f;var m=e&&e===this.ownerID,v=c?f?u:u^l:u|l,O=c?f?yt(p,d,f,m):Ot(p,d,m):bt(p,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=Ce(n));var r=(0===e?t:t>>>e)&y,o=this.nodes[r];return o?o.get(e+g,t,n,i):i},He.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Ce(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=at(c,e,t+g,n,i,r,o,a);if(d===c)return this;var p=this.count;if(c){if(!d&&--p<xt)return ct(e,u,p,s)}else p++;var h=e&&e===this.ownerID,f=yt(u,s,d,h);return h?(this.count=p,this.nodes=f,this):new He(e,p,f)},Ke.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(ve(n,r[o][0]))return r[o][1];return i},Ke.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Ce(i));var s=r===b;if(n!==this.keyHash)return s?this:(x(a),x(o),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(x(a),(s||!d)&&x(o),s&&2===c)return new Je(e,this.keyHash,l[1^u]);var p=e&&e===this.ownerID,h=p?l:S(l);return d?s?u===c-1?h.pop():h[u]=h.pop():h[u]=[i,r]:h.push([i,r]),p?(this.entries=h,this):new Ke(e,this.keyHash,h)},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,o,a){var s=r===b,l=ve(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(x(a),s?void x(o):l?e&&e===this.ownerID?(this.entry[1]=r,this):new Je(e,this.keyHash,[i,r]):(x(o),lt(this,e,t,Ce(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 o=n[t?r-i:i];if(o&&!1===o.iterate(e,t))return!1}},Je.prototype.iterate=function(e,t){return e(this.entry)},t(et,M),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 o=i.nodes[this._reverse?n-r:r];if(o){if(o.entry)return tt(e,o.entry);t=this._stack=nt(o,t)}continue}t=this._stack=this._stack.__prev}return N()};var _t=v/4,wt=v/2,xt=v/4;function kt(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:(Be(i),i>0&&i<v?It(0,i,g,null,new Ct(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(kt,ke),kt.of=function(){return this(arguments)},kt.prototype.toString=function(){return this.__toString("List [","]")},kt.prototype.get=function(e,t){if((e=E(this,e))>=0&&e<this.size){var n=jt(this,e+=this._origin);return n&&n.array[e&y]}return t},kt.prototype.set=function(e,t){return $t(this,e,t)},kt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},kt.prototype.insert=function(e,t){return this.splice(e,0,t)},kt.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()},kt.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){Mt(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},kt.prototype.pop=function(){return Mt(this,0,-1)},kt.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){Mt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},kt.prototype.shift=function(){return Mt(this,1)},kt.prototype.merge=function(){return Qt(this,void 0,arguments)},kt.prototype.mergeWith=function(t){return Qt(this,t,e.call(arguments,1))},kt.prototype.mergeDeep=function(){return Qt(this,ht,arguments)},kt.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Qt(this,ft(t),n)},kt.prototype.setSize=function(e){return Mt(this,0,e)},kt.prototype.slice=function(e,t){var n=this.size;return F(e,t,n)?this:Mt(this,T(e,n),D(t,n))},kt.prototype.__iterator=function(e,t){var n=0,i=At(this,t);return new M((function(){var t=i();return t===Dt?N():Q(e,n++,t)}))},kt.prototype.__iterate=function(e,t){for(var n,i=0,r=At(this,t);(n=r())!==Dt&&!1!==e(n,i++,this););return i},kt.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)},kt.isList=St;var Pt="@@__IMMUTABLE_LIST__@@",Et=kt.prototype;function Ct(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,Ct.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 Ct([],e);var r,o=0===i;if(t>0){var a=this.array[i];if((r=a&&a.removeBefore(e,t-g,n))===a&&o)return this}if(o&&!r)return this;var s=Rt(this,e);if(!o)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},Ct.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 o=this.array[r];if((i=o&&o.removeAfter(e,t-g,n))===o&&r===this.array.length-1)return this}var a=Rt(this,e);return a.array.splice(r+1),i&&(a.array[r]=i),a};var Ft,Tt,Dt={};function At(e,t){var n=e._origin,i=e._capacity,r=Nt(i),o=e._tail;return a(e._root,e._level,0);function a(e,t,n){return 0===t?s(e,n):l(e,t,n)}function s(e,a){var s=a===r?o&&o.array:e&&e.array,l=a>n?0:n-a,u=i-a;return u>v&&(u=v),function(){if(l===u)return Dt;var e=t?--u:l++;return s&&s[e]}}function l(e,r,o){var s,l=e&&e.array,u=o>n?0:n-o>>r,c=1+(i-o>>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=a(l&&l[n],r-g,o+(n<<r))}}}}function It(e,t,n,i,r,o,a){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=o,s.__hash=a,s.__altered=!1,s}function Lt(){return Ft||(Ft=It(0,0,g))}function $t(e,t,n){if((t=E(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?Mt(e,t).set(0,n):Mt(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,o=w(_);return t>=Nt(e._capacity)?i=zt(i,e.__ownerID,0,t,n,o):r=zt(r,e.__ownerID,e._level,t,n,o),o.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 zt(e,t,n,i,r,o){var a,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=zt(u,t,n-g,i,r,o);return c===u?e:((a=Rt(e,t)).array[s]=c,a)}return l&&e.array[s]===r?e:(x(o),a=Rt(e,t),void 0===r&&s===a.array.length-1?a.array.pop():a.array[s]=r,a)}function Rt(e,t){return t&&e&&t===e.ownerID?e:new Ct(e?e.array.slice():[],t)}function jt(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 Mt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new k,r=e._origin,o=e._capacity,a=r+t,s=void 0===n?o:n<0?o+n:r+n;if(a===r&&s===o)return e;if(a>=s)return e.clear();for(var l=e._level,u=e._root,c=0;a+c<0;)u=new Ct(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=g);c&&(a+=c,r+=c,s+=c,o+=c);for(var d=Nt(o),p=Nt(s);p>=1<<l+g;)u=new Ct(u&&u.array.length?[u]:[],i),l+=g;var h=e._tail,f=p<d?jt(e,s-1):p>d?new Ct([],i):h;if(h&&p>d&&a<o&&h.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]=h}if(s<o&&(f=f&&f.removeAfter(i,0,s)),a>=p)a-=p,s-=p,l=g,u=null,f=f&&f.removeBefore(i,0,a);else if(a>r||p<d){for(c=0;u;){var O=a>>>l&y;if(O!==p>>>l&y)break;O&&(c+=(1<<l)*O),l-=g,u=u.array[O]}u&&a>r&&(u=u.removeBefore(i,l,a-c)),u&&p<d&&(u=u.removeAfter(i,l,p-c)),c&&(a-=c,s-=c)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=l,e._root=u,e._tail=f,e.__hash=void 0,e.__altered=!0,e):It(a,s,l,u,f)}function Qt(e,t,n){for(var i=[],o=0,s=0;s<n.length;s++){var l=n[s],u=r(l);u.size>o&&(o=u.size),a(l)||(u=u.map((function(e){return he(e)}))),i.push(u)}return o>e.size&&(e=e.setSize(o)),mt(e,t,i)}function Nt(e){return e<v?0:e-1>>>g<<g}function Ut(e){return null==e?Gt():Bt(e)?e:Gt().withMutations((function(t){var n=i(e);Be(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Bt(e){return Ge(e)&&c(e)}function qt(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=qt(rt(),Lt()))}function Wt(e,t,n){var i,r,o=e._map,a=e._list,s=o.get(t),l=void 0!==s;if(n===b){if(!l)return e;a.size>=v&&a.size>=2*o.size?(r=a.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=o.remove(t),r=s===a.size-1?a.pop():a.set(s,void 0))}else if(l){if(n===a.get(s)[1])return e;i=o,r=a.set(s,[t,n])}else i=o.set(t,a.size),r=a.set(a.size,[t,n]);return e.__ownerID?(e.size=i.size,e._map=i,e._list=r,e.__hash=void 0,e):qt(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===$){var i=e.__iterator(t,n);return new M((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 o=e.get(i,b);return o===b?r:t.call(n,o,i,e)},i.__iterateUncached=function(i,r){var o=this;return e.__iterate((function(e,r,a){return!1!==i(t.call(n,e,r,a),r,o)}),r)},i.__iteratorUncached=function(i,r){var o=e.__iterator($,r);return new M((function(){var r=o.next();if(r.done)return r;var a=r.value,s=a[0];return Q(i,s,t.call(n,a[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 o=e.get(i,b);return o!==b&&t.call(n,o,i,e)?o:r}),r.__iterateUncached=function(r,o){var a=this,s=0;return e.__iterate((function(e,o,l){if(t.call(n,e,o,l))return s++,r(e,i?o:s-1,a)}),o),s},r.__iteratorUncached=function(r,o){var a=e.__iterator($,o),s=0;return new M((function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return Q(r,i?u:s++,c,o)}}))},r}function tn(e,t,n){var i=qe().asMutable();return e.__iterate((function(r,o){i.update(t.call(n,r,o,e),0,(function(e){return e+1}))})),i.asImmutable()}function nn(e,t,n){var i=s(e),r=(c(e)?Ut():qe()).asMutable();e.__iterate((function(o,a){r.update(t.call(n,o,a,e),(function(e){return(e=e||[]).push(i?[a,o]:o),e}))}));var o=yn(e);return r.map((function(t){return mn(e,o(t))}))}function rn(e,t,n,i){var r=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),F(t,n,r))return e;var o=T(t,r),a=D(n,r);if(o!=o||a!=a)return rn(e.toSeq().cacheResult(),t,n,i);var s,l=a-o;l==l&&(s=l<0?0:l);var u=bn(e);return u.size=0===s?s:e.size&&s||void 0,!i&&oe(e)&&s>=0&&(u.get=function(t,n){return(t=E(this,t))>=0&&t<s?e.get(t+o,n):n}),u.__iterateUncached=function(t,n){var r=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,l=!0,u=0;return e.__iterate((function(e,n){if(!l||!(l=a++<o))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),a=0,l=0;return new M((function(){for(;a++<o;)r.next();if(++l>s)return N();var e=r.next();return i||t===L?e:Q(t,l-1,t===I?void 0:e.value[1],e)}))},u}function on(e,t,n){var i=bn(e);return i.__iterateUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterate(i,r);var a=0;return e.__iterate((function(e,r,s){return t.call(n,e,r,s)&&++a&&i(e,r,o)})),a},i.__iteratorUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterator(i,r);var a=e.__iterator($,r),s=!0;return new M((function(){if(!s)return N();var e=a.next();if(e.done)return e;var r=e.value,l=r[0],u=r[1];return t.call(n,u,l,o)?i===$?e:Q(i,l,u,e):(s=!1,N())}))},i}function an(e,t,n,i){var r=bn(e);return r.__iterateUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterate(r,o);var s=!0,l=0;return e.__iterate((function(e,o,u){if(!s||!(s=t.call(n,e,o,u)))return l++,r(e,i?o:l-1,a)})),l},r.__iteratorUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterator(r,o);var s=e.__iterator($,o),l=!0,u=0;return new M((function(){var e,o,c;do{if((e=s.next()).done)return i||r===L?e:Q(r,u++,r===I?void 0:e.value[1],e);var d=e.value;o=d[0],c=d[1],l&&(l=t.call(n,c,o,a))}while(l);return r===$?e:Q(r,o,c,e)}))},r}function sn(e,t){var n=s(e),r=[e].concat(t).map((function(e){return a(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 o=r[0];if(o===e||n&&s(o)||l(e)&&l(o))return o}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 o=0,s=!1;function l(e,u){var c=this;e.__iterate((function(e,r){return(!t||u<t)&&a(e)?l(e,u+1):!1===i(e,n?r:o++,c)&&(s=!0),!s}),r)}return l(e,0),o},i.__iteratorUncached=function(i,r){var o=e.__iterator(i,r),s=[],l=0;return new M((function(){for(;o;){var e=o.next();if(!1===e.done){var u=e.value;if(i===$&&(u=u[1]),t&&!(s.length<t)||!a(u))return n?e:Q(i,l++,u,e);s.push(o),o=u.__iterator(i,r)}else o=s.pop()}return N()}))},i}function un(e,t,n){var i=yn(e);return e.toSeq().map((function(r,o){return i(t.call(n,r,o,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,o=0;return e.__iterate((function(e,i){return(!o||!1!==n(t,o++,r))&&!1!==n(e,o++,r)}),i),o},n.__iteratorUncached=function(n,i){var r,o=e.__iterator(L,i),a=0;return new M((function(){return(!r||a%2)&&(r=o.next()).done?r:a%2?Q(n,a++,t):Q(n,a++,r.value,r)}))},n}function dn(e,t,n){t||(t=_n);var i=s(e),r=0,o=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),i?V(o):l(e)?Y(o):Z(o)}function pn(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 hn(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return hn(t,e,n)?n:e}))}function hn(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 o=i.map((function(e){return e=n(e),q(r?e.reverse():e)})),a=0,s=!1;return new M((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?N():Q(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function mn(e,t){return oe(e)?t:e.constructor(t)}function gn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function vn(e){return Be(e.size),P(e)}function yn(e){return s(e)?i:l(e)?r:o}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=q(e);if(!t){if(!W(e))throw new TypeError("Expected iterable or array-like: "+e);t=q(n(e))}return t}function xn(e,t){var n,i=function(o){if(o instanceof i)return o;if(!(this instanceof i))return new i(o);if(!n){n=!0;var a=Object.keys(e);En(r,a),r.size=a.length,r._name=t,r._keys=a,r._defaultValues=e}this._map=qe(o)},r=i.prototype=Object.create(kn);return r.constructor=i,i}t(Ut,qe),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?qt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Ut.isOrderedMap=Bt,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 M((function(){var r=n.next();return r.done?r:Q(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 M((function(){var t=n.next();return t.done?t:Q(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 M((function(){var t=n.next();return t.done?t:Q(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=a(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 M((function(){for(;;){var t=n.next();if(t.done)return t;var i=t.value;if(i){gn(i);var r=a(i);return Q(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(xn,xe),xn.prototype.toString=function(){return this.__toString(Pn(this)+" {","}")},xn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},xn.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},xn.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()))},xn.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)},xn.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)},xn.prototype.wasAltered=function(){return this._map.wasAltered()},xn.prototype.__iterator=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},xn.prototype.__iterate=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},xn.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 kn=xn.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(Cn.bind(void 0,e))}catch(e){}}function Cn(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 Fn(e){return null==e?zn():Tn(e)&&!c(e)?e:zn().withMutations((function(t){var n=o(e);Be(n.size),n.forEach((function(e){return t.add(e)}))}))}function Tn(e){return!(!e||!e[An])}kn[m]=kn.remove,kn.deleteIn=kn.removeIn=Ve.removeIn,kn.merge=Ve.merge,kn.mergeWith=Ve.mergeWith,kn.mergeIn=Ve.mergeIn,kn.mergeDeep=Ve.mergeDeep,kn.mergeDeepWith=Ve.mergeDeepWith,kn.mergeDeepIn=Ve.mergeDeepIn,kn.setIn=Ve.setIn,kn.update=Ve.update,kn.updateIn=Ve.updateIn,kn.withMutations=Ve.withMutations,kn.asMutable=Ve.asMutable,kn.asImmutable=Ve.asImmutable,t(Fn,Se),Fn.of=function(){return this(arguments)},Fn.fromKeys=function(e){return this(i(e).keySeq())},Fn.prototype.toString=function(){return this.__toString("Set {","}")},Fn.prototype.has=function(e){return this._map.has(e)},Fn.prototype.add=function(e){return Ln(this,this._map.set(e,!0))},Fn.prototype.remove=function(e){return Ln(this,this._map.remove(e))},Fn.prototype.clear=function(){return Ln(this,this._map.clear())},Fn.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++)o(t[n]).forEach((function(t){return e.add(t)}))})):this.constructor(t[0])},Fn.prototype.intersect=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return o(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.every((function(e){return e.includes(n)}))||e.remove(n)}))}))},Fn.prototype.subtract=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return o(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.some((function(e){return e.includes(n)}))&&e.remove(n)}))}))},Fn.prototype.merge=function(){return this.union.apply(this,arguments)},Fn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},Fn.prototype.sort=function(e){return Rn(dn(this,e))},Fn.prototype.sortBy=function(e,t){return Rn(dn(this,t,e))},Fn.prototype.wasAltered=function(){return this._map.wasAltered()},Fn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,i){return e(i,i,n)}),t)},Fn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Fn.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)},Fn.isSet=Tn;var Dn,An="@@__IMMUTABLE_SET__@@",In=Fn.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 $n(e,t){var n=Object.create(In);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function zn(){return Dn||(Dn=$n(rt()))}function Rn(e){return null==e?Un():jn(e)?e:Un().withMutations((function(t){var n=o(e);Be(n.size),n.forEach((function(e){return t.add(e)}))}))}function jn(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=zn,In.__make=$n,t(Rn,Fn),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=jn;var Mn,Qn=Rn.prototype;function Nn(e,t){var n=Object.create(Qn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Un(){return Mn||(Mn=Nn(Gt()))}function Bn(e){return null==e?Yn():qn(e)?e:Yn().unshiftAll(e)}function qn(e){return!(!e||!e[Wn])}Qn[f]=!0,Qn.__empty=Un,Qn.__make=Nn,t(Bn,ke),Bn.of=function(){return this(arguments)},Bn.prototype.toString=function(){return this.__toString("Stack [","]")},Bn.prototype.get=function(e,t){var n=this._head;for(e=E(this,e);n&&e--;)n=n.next;return n?n.value:t},Bn.prototype.peek=function(){return this._head&&this._head.value},Bn.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)},Bn.prototype.pushAll=function(e){if(0===(e=r(e)).size)return this;Be(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)},Bn.prototype.pop=function(){return this.slice(1)},Bn.prototype.unshift=function(){return this.push.apply(this,arguments)},Bn.prototype.unshiftAll=function(e){return this.pushAll(e)},Bn.prototype.shift=function(){return this.pop.apply(this,arguments)},Bn.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()},Bn.prototype.slice=function(e,t){if(F(e,t,this.size))return this;var n=T(e,this.size);if(D(t,this.size)!==this.size)return ke.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)},Bn.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)},Bn.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},Bn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,i=this._head;return new M((function(){if(i){var t=i.value;return i=i.next,Q(e,n++,t)}return N()}))},Bn.isStack=qn;var Gn,Wn="@@__IMMUTABLE_STACK__@@",Xn=Bn.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=M,Zn(n,{toArray:function(){Be(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 qe(this.toKeyedSeq())},toObject:function(){Be(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 Fn(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 Bn(s(this)?this.valueSeq():this)},toList:function(){return kt(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($)},every:function(e,t){Be(this.size);var n=!0;return this.__iterate((function(i,r,o){if(!e.call(t,i,r,o))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,o){if(e.call(t,i,r,o))return n=[r,i],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return Be(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Be(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 Be(this.size),arguments.length<2?r=!0:i=t,this.__iterate((function(t,o,a){r?(r=!1,i=t):i=e.call(n,i,t,o,a)})),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(C)},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 o=n.value;if((i=i&&i.get?i.get(o,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 pn(this,e)},maxBy:function(e,t){return pn(this,t,e)},min:function(e){return pn(this,e?ni(e):oi)},minBy:function(e,t){return pn(this,t?ni(t):oi,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,an(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,on(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=ai(this))}});var Hn=n.prototype;Hn[d]=!0,Hn[j]=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,o){return e.call(t,[o,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 oi(e,t){return e<t?1:e>t?-1:0}function ai(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(Ce(e),Ce(t))|0}:function(e,t){i=i+li(Ce(e),Ce(t))|0}:t?function(e){i=31*i+Ce(e)|0}:function(e){i=i+Ce(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[p]=!0,Kn[j]=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,an(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[h]=!0,r.prototype[f]=!0,Zn(o,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=Hn.includes,Zn(V,i.prototype),Zn(Y,r.prototype),Zn(Z,o.prototype),Zn(xe,i.prototype),Zn(ke,r.prototype),Zn(Se,o.prototype),{Iterable:n,Seq:X,Collection:we,Map:qe,OrderedMap:Ut,List:kt,Stack:Bn,Set:Fn,OrderedSet:Rn,Record:xn,Range:_e,Repeat:be,is:ve,fromJS:he}}()}(qct);var Gct=function(e){var t=document.implementation.createHTMLDocument("");return t.documentElement.innerHTML=e,t};function Wct(e){var t;"undefined"!=typeof DOMParser?null!==(t=(new DOMParser).parseFromString(e,"text/html"))&&null!==t.body||(t=Gct(e)):t=Gct(e);return t.body}var Xct=" ",Vct=new RegExp("\r","g"),Yct=new RegExp("\n","g"),Zct=new RegExp("&nbsp;","g"),Hct=new RegExp("\r","g"),Kct=["p","h1","h2","h3","h4","h5","h6","li","blockquote","pre"],Jct={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},edt=function(e,t){return e&&!0===e.__isMiddleware?e(t):e},tdt=function(e,t,n){},ndt=function(e,t,n){return n},idt=function(e,t){},rdt=function(e){return[]},odt=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")};function adt(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:qct.exports.Map();return!0===n?{text:"\r",inlines:[qct.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:i,depth:Math.max(0,Math.min(4,t))}],isNewline:!0}:{text:"\n",inlines:[qct.exports.OrderedSet()],entities:new Array(1),blocks:[]}}function sdt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:qct.exports.Map();return{text:"\r",inlines:[qct.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:n,depth:Math.max(0,Math.min(4,t))}]}}function ldt(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 udt(e,t,n){return ldt(e,n)}function cdt(e,t,n){var i=Jct[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 ddt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:qct.exports.OrderedSet();return cdt(e,t,n)}function pdt(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=t.text.slice(0,1),r=e.text.slice(-1),o="\r"===r&&"\r"===i,a="\r"!==e.text&&"\r"!==t.text,s="\r"===e.text&&!e.isNewline&&t.isNewline;if(o&&(a||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===Xct||"\n"===t.text)return e;i!==Xct&&"\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 hdt(e,t,n,i,r,o,a,s,l,u,c,d,p,h,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:Xct,inlines:[qct.exports.OrderedSet()],entities:t,blocks:[]}}(m);"code-block"!==i&&(b=b.replace(Yct,Xct));var O=Array(b.length).fill(m),_=0;return l(b,c,d,p,h).sort(mct).forEach((function(e){var t=e.entity,n=e.offset,i=e.length,r=e.result,o=n+_;null==r&&(r=b.substr(o,i));var a=b.split("");a.splice.bind(a,o,i).apply(a,r.split("")),b=a.join(""),O.splice.bind(O,o,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?adt("unstyled",o,!0):adt(w||"unstyled",o,f.flat)}var x={text:"",inlines:[],entities:[],blocks:[]};t=a(g,e,t=cdt(g,e,t)),"ul"!==g&&"ol"!==g||(n&&(o+=1),n=g,i=null);var k,S,P=u(g,e,n,i);if(!1===P)return{text:"",inlines:[],entities:[],blocks:[]};if("string"==typeof(P=P||{})?(k=P,S=qct.exports.Map()):(k="string"==typeof P?P:P.type,S=P.data?qct.exports.Map(P.data):qct.exports.Map()),i||-1===r.indexOf(g)&&!k)if(!n||"ordered-list-item"!==i&&"unordered-list-item"!==i||"li"!==g)i&&"atomic"!==i&&"atomic"===k&&(i=k,v=!0,x=adt(k,o,!0,S));else{var E=ldt(g,n);x=sdt(E,o),i=E,v=!0,y="ul"===n?"unordered-list-item":"ordered-list-item"}else x=sdt(k||ldt(g,n),o,S),i=k||ldt(g,n),v=!0;var C=e.firstChild;null!=C||!m||"atomic"!==k&&"atomic"!==i||(C=document.createTextNode("a")),null!=C&&(g=C.nodeName.toLowerCase());for(var F=null;C;){F=s(g,C,c,d,p,h),x=pdt(x,hdt(C,t,n,i,r,o,a,s,l,u,c,d,p,h,f,F||m),f.flat);var T=C.nextSibling;if(T&&r.indexOf(g)>=0&&i){var D=u(g,C,n,i),A=void 0,I=void 0;!1!==D&&("string"==typeof(D=D||{})?(A=D,I=qct.exports.Map()):(A=D.type||ldt(g,n),I=D.data?qct.exports.Map(D.data):qct.exports.Map()),x=pdt(x,adt(A,o,f.flat,I),f.flat))}T&&(g=T.nodeName.toLowerCase()),C=T}return v&&(x=pdt(x,sdt(y,o,qct.exports.Map()),f.flat)),x}function fdt(e,t,n,i,r,o,a,s,l,u,c){var d=c(e=e.trim().replace(Vct,"").replace(Zct,Xct));if(!d)return null;var p=function(e){return Kct.some((function(t){return-1!==e.indexOf("<".concat(t))}))}(e)?Kct.concat(["div"]):["div"],h=hdt(d,qct.exports.OrderedSet(),"ul",null,p,-1,t,n,i,r,o,a,s,l,u);return 0===h.text.indexOf("\r")&&(h={text:h.text.slice(1),inlines:h.inlines.slice(1),entities:h.entities.slice(1),blocks:h.blocks}),"\r"===h.text.slice(-1)&&(h.text=h.text.slice(0,-1),h.inlines=h.inlines.slice(0,-1),h.entities=h.entities.slice(0,-1),h.blocks.pop()),0===h.blocks.length&&h.blocks.push({type:"unstyled",data:qct.exports.Map(),depth:0}),h.text.split("\r").length===h.blocks.length+1&&h.blocks.unshift({type:"unstyled",data:qct.exports.Map(),depth:0}),h}function mdt(e,t,n,i,r,o,a,s,l,u,c,d){var p=fdt(e,t,n,i,r,o,a,s,l,u,c);if(null==p)return[];var h=0;return p.text.split("\r").map((function(e,t){e=e.replace(Hct,"");var n=h+e.length,i=odt(p).inlines.slice(h,n),r=odt(p).entities.slice(h,n),o=qct.exports.List(i.map((function(e,t){var n={style:e,entity:null};return r[t]&&(n.entity=r[t]),hct.CharacterMetadata.create(n)})));return h=n+1,new hct.ContentBlock({key:d(),type:odt(p).blocks[t].type,data:odt(p).blocks[t].data,depth:odt(p).blocks[t].depth,text:e,characterList:o})}))}var gdt=function(e){var t=e.htmlToStyle,n=void 0===t?ndt:t,i=e.htmlToEntity,r=void 0===i?idt:i,o=e.textToEntity,a=void 0===o?rdt:o,s=e.htmlToBlock,l=void 0===s?tdt: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]:Wct,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:hct.genKey,s=hct.ContentState.createFromText(""),u=function(){var e;return s.createEntity?(s=(e=s).createEntity.apply(e,arguments)).getLastCreatedEntityKey():hct.Entity.create.apply(hct.Entity,arguments)},c=function(){var e;return s.getEntity?(e=s).getEntity.apply(e,arguments):hct.Entity.get.apply(hct.Entity,arguments)},d=function(){var e;s.mergeEntityData?s=(e=s).mergeEntityData.apply(e,arguments):hct.Entity.mergeData.apply(hct.Entity,arguments)},p=function(){var e;s.replaceEntityData?s=(e=s).replaceEntityData.apply(e,arguments):hct.Entity.replaceData.apply(hct.Entity,arguments)},h=mdt(e,edt(n,ddt),edt(r,idt),edt(a,rdt),edt(l,udt),u,c,d,p,t,i,o),f=hct.BlockMapBuilder.createFromArray(h),m=h[0].getKey();return s.merge({blockMap:f,selectionBefore:hct.SelectionState.createEmpty(m),selectionAfter:hct.SelectionState.createEmpty(m)})}},vdt=function(){return arguments.length>=1&&"string"==typeof(arguments.length<=0?void 0:arguments[0])?gdt({}).apply(void 0,arguments):gdt.apply(void 0,arguments)};$X('/**\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 ydt=32,bdt=31,Odt={};function _dt(e){e&&(e.value=!0)}function wdt(){}function xdt(e){return void 0===e.size&&(e.size=e.__iterate(Sdt)),e.size}function kdt(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?xdt(e)+t:t}function Sdt(){return!0}function Pdt(e,t,n){return(0===e&&!Tdt(e)||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function Edt(e,t){return Fdt(e,t,0)}function Cdt(e,t){return Fdt(e,t,t)}function Fdt(e,t,n){return void 0===e?n:Tdt(e)?t===1/0?t:0|Math.max(0,t+e):void 0===t||t===e?e:0|Math.min(t,e)}function Tdt(e){return e<0||0===e&&1/e==-1/0}var Ddt="@@__IMMUTABLE_ITERABLE__@@";function Adt(e){return Boolean(e&&e[Ddt])}var Idt="@@__IMMUTABLE_KEYED__@@";function Ldt(e){return Boolean(e&&e[Idt])}var $dt="@@__IMMUTABLE_INDEXED__@@";function zdt(e){return Boolean(e&&e[$dt])}function Rdt(e){return Ldt(e)||zdt(e)}var jdt=function(e){return Adt(e)?e:apt(e)},Mdt=function(e){function t(e){return Ldt(e)?e:spt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(jdt),Qdt=function(e){function t(e){return zdt(e)?e:lpt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(jdt),Ndt=function(e){function t(e){return Adt(e)&&!Rdt(e)?e:upt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(jdt);jdt.Keyed=Mdt,jdt.Indexed=Qdt,jdt.Set=Ndt;var Udt="@@__IMMUTABLE_SEQ__@@";function Bdt(e){return Boolean(e&&e[Udt])}function qdt(e){return Boolean(e&&e["@@__IMMUTABLE_RECORD__@@"])}function Gdt(e){return Adt(e)||qdt(e)}var Wdt="@@__IMMUTABLE_ORDERED__@@";function Xdt(e){return Boolean(e&&e[Wdt])}var Vdt="function"==typeof Symbol&&Symbol.iterator,Ydt="@@iterator",Zdt=Vdt||Ydt,Hdt=function(e){this.next=e};function Kdt(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 Jdt(){return{value:void 0,done:!0}}function ept(e){return!!ipt(e)}function tpt(e){return e&&"function"==typeof e.next}function npt(e){var t=ipt(e);return t&&t.call(e)}function ipt(e){var t=e&&(Vdt&&e[Vdt]||e["@@iterator"]);if("function"==typeof t)return t}Hdt.prototype.toString=function(){return"[Iterator]"},Hdt.KEYS=0,Hdt.VALUES=1,Hdt.ENTRIES=2,Hdt.prototype.inspect=Hdt.prototype.toSource=function(){return this.toString()},Hdt.prototype[Zdt]=function(){return this};var rpt=Object.prototype.hasOwnProperty;function opt(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 apt=function(e){function t(e){return null==e?fpt():Gdt(e)?e.toSeq():function(e){var t=vpt(e);if(t)return t;if("object"==typeof e)return new dpt(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 o=n[t?i-++r:r++];if(!1===e(o[1],o[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 Hdt((function(){if(r===i)return{value:void 0,done:!0};var o=n[t?i-++r:r++];return Kdt(e,o[0],o[1])}))}return this.__iteratorUncached(e,t)},t}(jdt),spt=function(e){function t(e){return null==e?fpt().toKeyedSeq():Adt(e)?Ldt(e)?e.toSeq():e.fromEntrySeq():qdt(e)?e.toSeq():mpt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toKeyedSeq=function(){return this},t}(apt),lpt=function(e){function t(e){return null==e?fpt():Adt(e)?Ldt(e)?e.entrySeq():e.toIndexedSeq():qdt(e)?e.toSeq().entrySeq():gpt(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}(apt),upt=function(e){function t(e){return(Adt(e)&&!Rdt(e)?e:lpt(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}(apt);apt.isSeq=Bdt,apt.Keyed=spt,apt.Set=upt,apt.Indexed=lpt,apt.prototype[Udt]=!0;var cpt=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[kdt(this,e)]:t},t.prototype.__iterate=function(e,t){for(var n=this._array,i=n.length,r=0;r!==i;){var o=t?i-++r:r++;if(!1===e(n[o],o,this))break}return r},t.prototype.__iterator=function(e,t){var n=this._array,i=n.length,r=0;return new Hdt((function(){if(r===i)return{value:void 0,done:!0};var o=t?i-++r:r++;return Kdt(e,o,n[o])}))},t}(lpt),dpt=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 rpt.call(this._object,e)},t.prototype.__iterate=function(e,t){for(var n=this._object,i=this._keys,r=i.length,o=0;o!==r;){var a=i[t?r-++o:o++];if(!1===e(n[a],a,this))break}return o},t.prototype.__iterator=function(e,t){var n=this._object,i=this._keys,r=i.length,o=0;return new Hdt((function(){if(o===r)return{value:void 0,done:!0};var a=i[t?r-++o:o++];return Kdt(e,a,n[a])}))},t}(spt);dpt.prototype[Wdt]=!0;var ppt,hpt=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=npt(this._collection),i=0;if(tpt(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=npt(this._collection);if(!tpt(n))return new Hdt(Jdt);var i=0;return new Hdt((function(){var t=n.next();return t.done?t:Kdt(e,i++,t.value)}))},t}(lpt);function fpt(){return ppt||(ppt=new cpt([]))}function mpt(e){var t=Array.isArray(e)?new cpt(e):ept(e)?new hpt(e):void 0;if(t)return t.fromEntrySeq();if("object"==typeof e)return new dpt(e);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+e)}function gpt(e){var t=vpt(e);if(t)return t;throw new TypeError("Expected Array or collection object of values: "+e)}function vpt(e){return opt(e)?new cpt(e):ept(e)?new hpt(e):void 0}var ypt="@@__IMMUTABLE_MAP__@@";function bpt(e){return Boolean(e&&e[ypt])}function Opt(e){return bpt(e)&&Xdt(e)}function _pt(e){return Boolean(e&&"function"==typeof e.equals&&"function"==typeof e.hashCode)}function wpt(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!!(_pt(e)&&_pt(t)&&e.equals(t))}var xpt="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 kpt(e){return e>>>1&1073741824|3221225471&e}var Spt=Object.prototype.valueOf;function Ppt(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 kpt(t)}(e);case"string":return e.length>Lpt?function(e){var t=Rpt[e];void 0===t&&(t=Ept(e),zpt===$pt&&(zpt=0,Rpt={}),zpt++,Rpt[e]=t);return t}(e):Ept(e);case"object":case"function":return null===e?1108378658:"function"==typeof e.hashCode?kpt(e.hashCode(e)):(e.valueOf!==Spt&&"function"==typeof e.valueOf&&(e=e.valueOf(e)),function(e){var t;if(Dpt&&void 0!==(t=Tpt.get(e)))return t;if(void 0!==(t=e[Ipt]))return t;if(!Fpt){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Ipt]))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=++Apt,1073741824&Apt&&(Apt=0);if(Dpt)Tpt.set(e,t);else{if(void 0!==Cpt&&!1===Cpt(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Fpt)Object.defineProperty(e,Ipt,{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[Ipt]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Ipt]=t}}return t}(e));case"undefined":return 1108378659;default:if("function"==typeof e.toString)return Ept(e.toString());throw new Error("Value type "+typeof e+" cannot be hashed.")}}function Ept(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return kpt(t)}var Cpt=Object.isExtensible,Fpt=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();var Tpt,Dpt="function"==typeof WeakMap;Dpt&&(Tpt=new WeakMap);var Apt=0,Ipt="__immutablehash__";"function"==typeof Symbol&&(Ipt=Symbol(Ipt));var Lpt=16,$pt=255,zpt=0,Rpt={},jpt=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=qpt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},t.prototype.map=function(e,t){var n=this,i=Bpt(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}(spt);jpt.prototype[Wdt]=!0;var Mpt=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&&xdt(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&&xdt(this),new Hdt((function(){var o=i.next();return o.done?o:Kdt(e,t?n.size-++r:r++,o.value,o)}))},t}(lpt),Qpt=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 Hdt((function(){var t=n.next();return t.done?t:Kdt(e,t.value,t.value,t)}))},t}(upt),Npt=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){tht(t);var i=Adt(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 Hdt((function(){for(;;){var t=n.next();if(t.done)return t;var i=t.value;if(i){tht(i);var r=Adt(i);return Kdt(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},t}(spt);function Upt(e){var t=iht(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=rht,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 Hdt((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 Bpt(e,t,n){var i=iht(e);return i.size=e.size,i.has=function(t){return e.has(t)},i.get=function(i,r){var o=e.get(i,Odt);return o===Odt?r:t.call(n,o,i,e)},i.__iterateUncached=function(i,r){var o=this;return e.__iterate((function(e,r,a){return!1!==i(t.call(n,e,r,a),r,o)}),r)},i.__iteratorUncached=function(i,r){var o=e.__iterator(2,r);return new Hdt((function(){var r=o.next();if(r.done)return r;var a=r.value,s=a[0];return Kdt(i,s,t.call(n,a[1],s,e),r)}))},i}function qpt(e,t){var n=this,i=iht(e);return i._iter=e,i.size=e.size,i.reverse=function(){return e},e.flip&&(i.flip=function(){var t=Upt(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=rht,i.__iterate=function(n,i){var r=this,o=0;return i&&xdt(e),e.__iterate((function(e,a){return n(e,t?a:i?r.size-++o:o++,r)}),!i)},i.__iterator=function(i,r){var o=0;r&&xdt(e);var a=e.__iterator(2,!r);return new Hdt((function(){var e=a.next();if(e.done)return e;var s=e.value;return Kdt(i,t?s[0]:r?n.size-++o:o++,s[1],e)}))},i}function Gpt(e,t,n,i){var r=iht(e);return i&&(r.has=function(i){var r=e.get(i,Odt);return r!==Odt&&!!t.call(n,r,i,e)},r.get=function(i,r){var o=e.get(i,Odt);return o!==Odt&&t.call(n,o,i,e)?o:r}),r.__iterateUncached=function(r,o){var a=this,s=0;return e.__iterate((function(e,o,l){if(t.call(n,e,o,l))return s++,r(e,i?o:s-1,a)}),o),s},r.__iteratorUncached=function(r,o){var a=e.__iterator(2,o),s=0;return new Hdt((function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return Kdt(r,i?u:s++,c,o)}}))},r}function Wpt(e,t,n,i){var r=e.size;if(Pdt(t,n,r))return e;var o=Edt(t,r),a=Cdt(n,r);if(o!=o||a!=a)return Wpt(e.toSeq().cacheResult(),t,n,i);var s,l=a-o;l==l&&(s=l<0?0:l);var u=iht(e);return u.size=0===s?s:e.size&&s||void 0,!i&&Bdt(e)&&s>=0&&(u.get=function(t,n){return(t=kdt(this,t))>=0&&t<s?e.get(t+o,n):n}),u.__iterateUncached=function(t,n){var r=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,l=!0,u=0;return e.__iterate((function(e,n){if(!l||!(l=a++<o))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 Hdt(Jdt);var r=e.__iterator(t,n),a=0,l=0;return new Hdt((function(){for(;a++<o;)r.next();if(++l>s)return{value:void 0,done:!0};var e=r.next();return i||1===t||e.done?e:Kdt(t,l-1,0===t?void 0:e.value[1],e)}))},u}function Xpt(e,t,n,i){var r=iht(e);return r.__iterateUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterate(r,o);var s=!0,l=0;return e.__iterate((function(e,o,u){if(!s||!(s=t.call(n,e,o,u)))return l++,r(e,i?o:l-1,a)})),l},r.__iteratorUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterator(r,o);var s=e.__iterator(2,o),l=!0,u=0;return new Hdt((function(){var e,o,c;do{if((e=s.next()).done)return i||1===r?e:Kdt(r,u++,0===r?void 0:e.value[1],e);var d=e.value;o=d[0],c=d[1],l&&(l=t.call(n,c,o,a))}while(l);return 2===r?e:Kdt(r,o,c,e)}))},r}function Vpt(e,t){var n=Ldt(e),i=[e].concat(t).map((function(e){return Adt(e)?n&&(e=Mdt(e)):e=n?mpt(e):gpt(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&&Ldt(r)||zdt(e)&&zdt(r))return r}var o=new cpt(i);return n?o=o.toKeyedSeq():zdt(e)||(o=o.toSetSeq()),(o=o.flatten(!0)).size=i.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),o}function Ypt(e,t,n){var i=iht(e);return i.__iterateUncached=function(r,o){if(o)return this.cacheResult().__iterate(r,o);var a=0,s=!1;return function e(l,u){l.__iterate((function(o,l){return(!t||u<t)&&Adt(o)?e(o,u+1):(a++,!1===r(o,n?l:a-1,i)&&(s=!0)),!s}),o)}(e,0),a},i.__iteratorUncached=function(i,r){if(r)return this.cacheResult().__iterator(i,r);var o=e.__iterator(i,r),a=[],s=0;return new Hdt((function(){for(;o;){var e=o.next();if(!1===e.done){var l=e.value;if(2===i&&(l=l[1]),t&&!(a.length<t)||!Adt(l))return n?e:Kdt(i,s++,l,e);a.push(o),o=l.__iterator(i,r)}else o=a.pop()}return{value:void 0,done:!0}}))},i}function Zpt(e,t,n){t||(t=oht);var i=Ldt(e),r=0,o=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).valueSeq().toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),i?spt(o):zdt(e)?lpt(o):upt(o)}function Hpt(e,t,n){if(t||(t=oht),n){var i=e.toSeq().map((function(t,i){return[t,n(t,i,e)]})).reduce((function(e,n){return Kpt(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return Kpt(t,e,n)?n:e}))}function Kpt(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function Jpt(e,t,n,i){var r=iht(e),o=new cpt(n).map((function(e){return e.size}));return r.size=i?o.max():o.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 o=n.map((function(e){return e=jdt(e),npt(r?e.reverse():e)})),a=0,s=!1;return new Hdt((function(){var n;return s||(n=o.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}:Kdt(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function eht(e,t){return e===t?e:Bdt(e)?t:e.constructor(t)}function tht(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function nht(e){return Ldt(e)?Mdt:zdt(e)?Qdt:Ndt}function iht(e){return Object.create((Ldt(e)?spt:zdt(e)?lpt:upt).prototype)}function rht(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):apt.prototype.cacheResult.call(this)}function oht(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 aht(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 sht(e,t){if(!e)throw new Error(t)}function lht(e){sht(e!==1/0,"Cannot perform this action with an infinite size.")}function uht(e){if(opt(e)&&"string"!=typeof e)return e;if(Xdt(e))return e.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+e)}function cht(e){return"object"==typeof e&&(Gdt(e)||Array.isArray(e)||function(e){return e&&("function"!=typeof e.constructor||"Object"===e.constructor.name)}(e))}function dht(e){try{return"string"==typeof e?JSON.stringify(e):String(e)}catch(t){return JSON.stringify(e)}}function pht(e,t,n){return Gdt(e)?e.get(t,n):function(e,t){return Gdt(e)?e.has(t):cht(e)&&rpt.call(e,t)}(e,t)?"function"==typeof e.get?e.get(t):e[t]:n}function hht(e){if(Array.isArray(e))return aht(e);var t={};for(var n in e)rpt.call(e,n)&&(t[n]=e[n]);return t}function fht(e,t,n,i){i||(i=n,n=void 0);var r=mht(Gdt(e),e,uht(t),0,n,i);return r===Odt?n:r}function mht(e,t,n,i,r,o){var a=t===Odt;if(i===n.length){var s=a?r:t,l=o(s);return l===s?t:l}if(!a&&!cht(t))throw new TypeError("Cannot update within non-data-structure value in path ["+n.slice(0,i).map(dht)+"]: "+t);var u=n[i],c=a?Odt:pht(t,u,Odt),d=mht(c===Odt?e:Gdt(c),c,n,i+1,r,o);return d===c?t:d===Odt?function(e,t){if(!cht(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(Gdt(e)){if(!e.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+e);return e.remove(t)}if(!rpt.call(e,t))return e;var n=hht(e);return Array.isArray(n)?n.splice(t,1):delete n[t],n}(t,u):function(e,t,n){if(!cht(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(Gdt(e)){if(!e.set)throw new TypeError("Cannot update immutable value without .set() method: "+e);return e.set(t,n)}if(rpt.call(e,t)&&n===e[t])return e;var i=hht(e);return i[t]=n,i}(a?e?Uht():{}:t,u,d)}function ght(e,t){return function(e,t,n){return fht(e,t,Odt,(function(){return n}))}(this,e,t)}function vht(e){return function(e,t){return fht(e,t,(function(){return Odt}))}(this,e)}function yht(e,t,n,i){return fht(e,[t],n,i)}function bht(e,t,n){return 1===arguments.length?e(this):yht(this,e,t,n)}function Oht(e,t,n){return fht(this,e,t,n)}function _ht(e,t,n){for(var i=[],r=0;r<t.length;r++){var o=Mdt(t[r]);0!==o.size&&i.push(o)}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){yht(e,i,Odt,(function(e){return e===Odt?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 wht(e,t,n){return xht(e,t,function(e){function t(n,i,r){return cht(n)&&cht(i)?xht(n,[i],t):e?e(n,i,r):i}return t}(n))}function xht(e,t,n){if(!cht(e))throw new TypeError("Cannot merge into non-data-structure value: "+e);if(Gdt(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,o=i?Qdt:Mdt,a=i?function(t){r===e&&(r=hht(r)),r.push(t)}:function(t,i){var o=rpt.call(r,i),a=o&&n?n(r[i],t,i):t;o&&a===r[i]||(r===e&&(r=hht(r)),r[i]=a)},s=0;s<t.length;s++)o(t[s]).forEach(a);return r}function kht(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return fht(this,e,Uht(),(function(e){return xht(e,t)}))}function Sht(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return fht(this,e,Uht(),(function(e){return wht(e,t)}))}function Pht(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this}function Eht(){return this.__ownerID?this:this.__ensureOwner(new wdt)}function Cht(){return this.__ensureOwner()}function Fht(){return this.__altered}Mpt.prototype.cacheResult=jpt.prototype.cacheResult=Qpt.prototype.cacheResult=Npt.prototype.cacheResult=rht;var Tht=function(e){function t(t){return null==t?Uht():bpt(t)&&!Xdt(t)?t:Uht().withMutations((function(n){var i=e(t);lht(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 Uht().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 Bht(this,e,t)},t.prototype.remove=function(e){return Bht(this,e,Odt)},t.prototype.deleteAll=function(e){var t=jdt(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):Uht()},t.prototype.sort=function(e){return fft(Zpt(this,e))},t.prototype.sortBy=function(e,t){return fft(Zpt(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 jht(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?Nht(this.size,this._root,e,this.__hash):0===this.size?Uht():(this.__ownerID=e,this.__altered=!1,this)},t}(Mdt);Tht.isMap=bpt;var Dht=Tht.prototype;Dht[ypt]=!0,Dht.delete=Dht.remove,Dht.removeAll=Dht.deleteAll,Dht.setIn=ght,Dht.removeIn=Dht.deleteIn=vht,Dht.update=bht,Dht.updateIn=Oht,Dht.merge=Dht.concat=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return _ht(this,e)},Dht.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 _ht(this,t,e)},Dht.mergeDeep=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return wht(this,e)},Dht.mergeDeepWith=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return wht(this,t,e)},Dht.mergeIn=kht,Dht.mergeDeepIn=Sht,Dht.withMutations=Pht,Dht.wasAltered=Fht,Dht.asImmutable=Cht,Dht["@@transducer/init"]=Dht.asMutable=Eht,Dht["@@transducer/step"]=function(e,t){return e.set(t[0],t[1])},Dht["@@transducer/result"]=function(e){return e.asImmutable()};var Aht=function(e,t){this.ownerID=e,this.entries=t};Aht.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(wpt(n,r[o][0]))return r[o][1];return i},Aht.prototype.update=function(e,t,n,i,r,o,a){for(var s=r===Odt,l=this.entries,u=0,c=l.length;u<c&&!wpt(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(_dt(a),(s||!d)&&_dt(o),!s||1!==l.length){if(!d&&!s&&l.length>=Yht)return function(e,t,n,i){e||(e=new wdt);for(var r=new zht(e,Ppt(n),[n,i]),o=0;o<t.length;o++){var a=t[o];r=r.update(e,0,void 0,a[0],a[1])}return r}(e,l,i,r);var p=e&&e===this.ownerID,h=p?l:aht(l);return d?s?u===c-1?h.pop():h[u]=h.pop():h[u]=[i,r]:h.push([i,r]),p?(this.entries=h,this):new Aht(e,h)}};var Iht=function(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n};Iht.prototype.get=function(e,t,n,i){void 0===t&&(t=Ppt(n));var r=1<<((0===e?t:t>>>e)&bdt),o=this.bitmap;return 0==(o&r)?i:this.nodes[Xht(o&r-1)].get(e+5,t,n,i)},Iht.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Ppt(i));var s=(0===t?n:n>>>t)&bdt,l=1<<s,u=this.bitmap,c=0!=(u&l);if(!c&&r===Odt)return this;var d=Xht(u&l-1),p=this.nodes,h=c?p[d]:void 0,f=qht(h,e,t+5,n,i,r,o,a);if(f===h)return this;if(!c&&f&&p.length>=Zht)return function(e,t,n,i,r){for(var o=0,a=new Array(ydt),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[i]=r,new Lht(e,o+1,a)}(e,p,u,s,f);if(c&&!f&&2===p.length&&Ght(p[1^d]))return p[1^d];if(c&&f&&1===p.length&&Ght(f))return f;var m=e&&e===this.ownerID,g=c?f?u:u^l:u|l,v=c?f?Vht(p,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),o=0,a=0;a<i;a++)a===t&&(o=1),r[a]=e[a+o];return r}(p,d,m):function(e,t,n,i){var r=e.length+1;if(i&&t+1===r)return e[t]=n,e;for(var o=new Array(r),a=0,s=0;s<r;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}(p,d,f,m);return m?(this.bitmap=g,this.nodes=v,this):new Iht(e,g,v)};var Lht=function(e,t,n){this.ownerID=e,this.count=t,this.nodes=n};Lht.prototype.get=function(e,t,n,i){void 0===t&&(t=Ppt(n));var r=(0===e?t:t>>>e)&bdt,o=this.nodes[r];return o?o.get(e+5,t,n,i):i},Lht.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Ppt(i));var s=(0===t?n:n>>>t)&bdt,l=r===Odt,u=this.nodes,c=u[s];if(l&&!c)return this;var d=qht(c,e,t+5,n,i,r,o,a);if(d===c)return this;var p=this.count;if(c){if(!d&&--p<Hht)return function(e,t,n,i){for(var r=0,o=0,a=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,a[o++]=c)}return new Iht(e,r,a)}(e,u,p,s)}else p++;var h=e&&e===this.ownerID,f=Vht(u,s,d,h);return h?(this.count=p,this.nodes=f,this):new Lht(e,p,f)};var $ht=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n};$ht.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(wpt(n,r[o][0]))return r[o][1];return i},$ht.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Ppt(i));var s=r===Odt;if(n!==this.keyHash)return s?this:(_dt(a),_dt(o),Wht(this,e,t,n,[i,r]));for(var l=this.entries,u=0,c=l.length;u<c&&!wpt(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(_dt(a),(s||!d)&&_dt(o),s&&2===c)return new zht(e,this.keyHash,l[1^u]);var p=e&&e===this.ownerID,h=p?l:aht(l);return d?s?u===c-1?h.pop():h[u]=h.pop():h[u]=[i,r]:h.push([i,r]),p?(this.entries=h,this):new $ht(e,this.keyHash,h)};var zht=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n};zht.prototype.get=function(e,t,n,i){return wpt(n,this.entry[0])?this.entry[1]:i},zht.prototype.update=function(e,t,n,i,r,o,a){var s=r===Odt,l=wpt(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(_dt(a),s?void _dt(o):l?e&&e===this.ownerID?(this.entry[1]=r,this):new zht(e,this.keyHash,[i,r]):(_dt(o),Wht(this,e,t,Ppt(i),[i,r])))},Aht.prototype.iterate=$ht.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},Iht.prototype.iterate=Lht.prototype.iterate=function(e,t){for(var n=this.nodes,i=0,r=n.length-1;i<=r;i++){var o=n[t?r-i:i];if(o&&!1===o.iterate(e,t))return!1}},zht.prototype.iterate=function(e,t){return e(this.entry)};var Rht,jht=function(e){function t(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&Qht(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 Mht(e,n.entry)}else if(n.entries){if(i<=(r=n.entries.length-1))return Mht(e,n.entries[this._reverse?r-i:i])}else if(i<=(r=n.nodes.length-1)){var o=n.nodes[this._reverse?r-i:i];if(o){if(o.entry)return Mht(e,o.entry);t=this._stack=Qht(o,t)}continue}t=this._stack=this._stack.__prev}return{value:void 0,done:!0}},t}(Hdt);function Mht(e,t){return Kdt(e,t[0],t[1])}function Qht(e,t){return{node:e,index:0,__prev:t}}function Nht(e,t,n,i){var r=Object.create(Dht);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function Uht(){return Rht||(Rht=Nht(0))}function Bht(e,t,n){var i,r;if(e._root){var o={value:!1},a={value:!1};if(i=qht(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;r=e.size+(o.value?n===Odt?-1:1:0)}else{if(n===Odt)return e;r=1,i=new Aht(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=r,e._root=i,e.__hash=void 0,e.__altered=!0,e):i?Nht(r,i):Uht()}function qht(e,t,n,i,r,o,a,s){return e?e.update(t,n,i,r,o,a,s):o===Odt?e:(_dt(s),_dt(a),new zht(t,i,[r,o]))}function Ght(e){return e.constructor===zht||e.constructor===$ht}function Wht(e,t,n,i,r){if(e.keyHash===i)return new $ht(t,i,[e.entry,r]);var o,a=(0===n?e.keyHash:e.keyHash>>>n)&bdt,s=(0===n?i:i>>>n)&bdt,l=a===s?[Wht(e,t,n+5,i,r)]:(o=new zht(t,i,r),a<s?[e,o]:[o,e]);return new Iht(t,1<<a|1<<s,l)}function Xht(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function Vht(e,t,n,i){var r=i?e:aht(e);return r[t]=n,r}var Yht=8,Zht=16,Hht=8,Kht="@@__IMMUTABLE_LIST__@@";function Jht(e){return Boolean(e&&e[Kht])}var eft=function(e){function t(t){var n=sft();if(null==t)return n;if(Jht(t))return t;var i=e(t),r=i.size;return 0===r?n:(lht(r),r>0&&r<ydt?aft(0,r,5,null,new nft(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=kdt(this,e))>=0&&e<this.size){var n=cft(this,e+=this._origin);return n&&n.array[e&bdt]}return t},t.prototype.set=function(e,t){return function(e,t,n){if((t=kdt(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?dft(e,t).set(0,n):dft(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,o={value:!1};t>=pft(e._capacity)?i=lft(i,e.__ownerID,0,t,n,o):r=lft(r,e.__ownerID,e._level,t,n,o);if(!o.value)return e;if(e.__ownerID)return e._root=r,e._tail=i,e.__hash=void 0,e.__altered=!0,e;return aft(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):sft()},t.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){dft(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},t.prototype.pop=function(){return dft(this,0,-1)},t.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){dft(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},t.prototype.shift=function(){return dft(this,1)},t.prototype.concat=function(){for(var t=arguments,n=[],i=0;i<arguments.length;i++){var r=t[i],o=e("string"!=typeof r&&ept(r)?r:[r]);0!==o.size&&n.push(o)}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 dft(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 Pdt(e,t,n)?this:dft(this,Edt(e,n),Cdt(t,n))},t.prototype.__iterator=function(e,t){var n=t?this.size:0,i=oft(this,t);return new Hdt((function(){var r=i();return r===rft?{value:void 0,done:!0}:Kdt(e,t?--n:n++,r)}))},t.prototype.__iterate=function(e,t){for(var n,i=t?this.size:0,r=oft(this,t);(n=r())!==rft&&!1!==e(n,t?--i:i++,this););return i},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?aft(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):0===this.size?sft():(this.__ownerID=e,this.__altered=!1,this)},t}(Qdt);eft.isList=Jht;var tft=eft.prototype;tft[Kht]=!0,tft.delete=tft.remove,tft.merge=tft.concat,tft.setIn=ght,tft.deleteIn=tft.removeIn=vht,tft.update=bht,tft.updateIn=Oht,tft.mergeIn=kht,tft.mergeDeepIn=Sht,tft.withMutations=Pht,tft.wasAltered=Fht,tft.asImmutable=Cht,tft["@@transducer/init"]=tft.asMutable=Eht,tft["@@transducer/step"]=function(e,t){return e.push(t)},tft["@@transducer/result"]=function(e){return e.asImmutable()};var nft=function(e,t){this.array=e,this.ownerID=t};nft.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var i=n>>>t&bdt;if(i>=this.array.length)return new nft([],e);var r,o=0===i;if(t>0){var a=this.array[i];if((r=a&&a.removeBefore(e,t-5,n))===a&&o)return this}if(o&&!r)return this;var s=uft(this,e);if(!o)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},nft.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var i,r=n-1>>>t&bdt;if(r>=this.array.length)return this;if(t>0){var o=this.array[r];if((i=o&&o.removeAfter(e,t-5,n))===o&&r===this.array.length-1)return this}var a=uft(this,e);return a.array.splice(r+1),i&&(a.array[r]=i),a};var ift,rft={};function oft(e,t){var n=e._origin,i=e._capacity,r=pft(i),o=e._tail;return a(e._root,e._level,0);function a(e,s,l){return 0===s?function(e,a){var s=a===r?o&&o.array:e&&e.array,l=a>n?0:n-a,u=i-a;u>ydt&&(u=ydt);return function(){if(l===u)return rft;var e=t?--u:l++;return s&&s[e]}}(e,l):function(e,r,o){var s,l=e&&e.array,u=o>n?0:n-o>>r,c=1+(i-o>>r);c>ydt&&(c=ydt);return function(){for(;;){if(s){var e=s();if(e!==rft)return e;s=null}if(u===c)return rft;var n=t?--c:u++;s=a(l&&l[n],r-5,o+(n<<r))}}}(e,s,l)}}function aft(e,t,n,i,r,o,a){var s=Object.create(tft);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=i,s._tail=r,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function sft(){return ift||(ift=aft(0,0,5))}function lft(e,t,n,i,r,o){var a,s=i>>>n&bdt,l=e&&s<e.array.length;if(!l&&void 0===r)return e;if(n>0){var u=e&&e.array[s],c=lft(u,t,n-5,i,r,o);return c===u?e:((a=uft(e,t)).array[s]=c,a)}return l&&e.array[s]===r?e:(o&&_dt(o),a=uft(e,t),void 0===r&&s===a.array.length-1?a.array.pop():a.array[s]=r,a)}function uft(e,t){return t&&e&&t===e.ownerID?e:new nft(e?e.array.slice():[],t)}function cft(e,t){if(t>=pft(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&bdt],i-=5;return n}}function dft(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new wdt,r=e._origin,o=e._capacity,a=r+t,s=void 0===n?o:n<0?o+n:r+n;if(a===r&&s===o)return e;if(a>=s)return e.clear();for(var l=e._level,u=e._root,c=0;a+c<0;)u=new nft(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=5);c&&(a+=c,r+=c,s+=c,o+=c);for(var d=pft(o),p=pft(s);p>=1<<l+5;)u=new nft(u&&u.array.length?[u]:[],i),l+=5;var h=e._tail,f=p<d?cft(e,s-1):p>d?new nft([],i):h;if(h&&p>d&&a<o&&h.array.length){for(var m=u=uft(u,i),g=l;g>5;g-=5){var v=d>>>g&bdt;m=m.array[v]=uft(m.array[v],i)}m.array[d>>>5&bdt]=h}if(s<o&&(f=f&&f.removeAfter(i,0,s)),a>=p)a-=p,s-=p,l=5,u=null,f=f&&f.removeBefore(i,0,a);else if(a>r||p<d){for(c=0;u;){var y=a>>>l&bdt;if(y!==p>>>l&bdt)break;y&&(c+=(1<<l)*y),l-=5,u=u.array[y]}u&&a>r&&(u=u.removeBefore(i,l,a-c)),u&&p<d&&(u=u.removeAfter(i,l,p-c)),c&&(a-=c,s-=c)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=l,e._root=u,e._tail=f,e.__hash=void 0,e.__altered=!0,e):aft(a,s,l,u,f)}function pft(e){return e<ydt?0:e-1>>>5<<5}var hft,fft=function(e){function t(e){return null==e?gft():Opt(e)?e:gft().withMutations((function(t){var n=Mdt(e);lht(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):gft()},t.prototype.set=function(e,t){return vft(this,e,t)},t.prototype.remove=function(e){return vft(this,e,Odt)},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?mft(t,n,e,this.__hash):0===this.size?gft():(this.__ownerID=e,this._map=t,this._list=n,this)},t}(Tht);function mft(e,t,n,i){var r=Object.create(fft.prototype);return r.size=e?e.size:0,r._map=e,r._list=t,r.__ownerID=n,r.__hash=i,r}function gft(){return hft||(hft=mft(Uht(),sft()))}function vft(e,t,n){var i,r,o=e._map,a=e._list,s=o.get(t),l=void 0!==s;if(n===Odt){if(!l)return e;a.size>=ydt&&a.size>=2*o.size?(r=a.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=o.remove(t),r=s===a.size-1?a.pop():a.set(s,void 0))}else if(l){if(n===a.get(s)[1])return e;i=o,r=a.set(s,[t,n])}else i=o.set(t,a.size),r=a.set(a.size,[t,n]);return e.__ownerID?(e.size=i.size,e._map=i,e._list=r,e.__hash=void 0,e):mft(i,r)}fft.isOrderedMap=Opt,fft.prototype[Wdt]=!0,fft.prototype.delete=fft.prototype.remove;var yft="@@__IMMUTABLE_STACK__@@";function bft(e){return Boolean(e&&e[yft])}var Oft=function(e){function t(e){return null==e?kft():bft(e)?e:kft().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=kdt(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):xft(t,n)},t.prototype.pushAll=function(t){if(0===(t=e(t)).size)return this;if(0===this.size&&bft(t))return t;lht(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):xft(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):kft()},t.prototype.slice=function(t,n){if(Pdt(t,n,this.size))return this;var i=Edt(t,this.size);if(Cdt(n,this.size)!==this.size)return e.prototype.slice.call(this,t,n);for(var r=this.size-i,o=this._head;i--;)o=o.next;return this.__ownerID?(this.size=r,this._head=o,this.__hash=void 0,this.__altered=!0,this):xft(r,o)},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?xft(this.size,this._head,e,this.__hash):0===this.size?kft():(this.__ownerID=e,this.__altered=!1,this)},t.prototype.__iterate=function(e,t){var n=this;if(t)return new cpt(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 cpt(this.toArray()).__iterator(e,t);var n=0,i=this._head;return new Hdt((function(){if(i){var t=i.value;return i=i.next,Kdt(e,n++,t)}return{value:void 0,done:!0}}))},t}(Qdt);Oft.isStack=bft;var _ft,wft=Oft.prototype;function xft(e,t,n,i){var r=Object.create(wft);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function kft(){return _ft||(_ft=xft(0))}wft[yft]=!0,wft.shift=wft.pop,wft.unshift=wft.push,wft.unshiftAll=wft.pushAll,wft.withMutations=Pht,wft.wasAltered=Fht,wft.asImmutable=Cht,wft["@@transducer/init"]=wft.asMutable=Eht,wft["@@transducer/step"]=function(e,t){return e.unshift(t)},wft["@@transducer/result"]=function(e){return e.asImmutable()};var Sft="@@__IMMUTABLE_SET__@@";function Pft(e){return Boolean(e&&e[Sft])}function Eft(e){return Pft(e)&&Xdt(e)}function Cft(e,t){if(e===t)return!0;if(!Adt(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||Ldt(e)!==Ldt(t)||zdt(e)!==zdt(t)||Xdt(e)!==Xdt(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!Rdt(e);if(Xdt(e)){var i=e.entries();return t.every((function(e,t){var r=i.next().value;return r&&wpt(r[1],e)&&(n||wpt(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 o=e;e=t,t=o}var a=!0,s=t.__iterate((function(t,i){if(n?!e.has(t):r?!wpt(t,e.get(i,Odt)):!wpt(e.get(i,Odt),t))return a=!1,!1}));return a&&e.size===s}function Fft(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 Tft(e){if(!e||"object"!=typeof e)return e;if(!Adt(e)){if(!cht(e))return e;e=apt(e)}if(Ldt(e)){var t={};return e.__iterate((function(e,n){t[n]=Tft(e)})),t}var n=[];return e.__iterate((function(e){n.push(Tft(e))})),n}var Dft=function(e){function t(t){return null==t?zft():Pft(t)&&!Xdt(t)?t:zft().withMutations((function(n){var i=e(t);lht(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(Mdt(e).keySeq())},t.intersect=function(e){return(e=jdt(e).toArray()).length?Ift.intersect.apply(t(e.pop()),e):zft()},t.union=function(e){return(e=jdt(e).toArray()).length?Ift.union.apply(t(e.pop()),e):zft()},t.prototype.toString=function(){return this.__toString("Set {","}")},t.prototype.has=function(e){return this._map.has(e)},t.prototype.add=function(e){return Lft(this,this._map.set(e,e))},t.prototype.remove=function(e){return Lft(this,this._map.remove(e))},t.prototype.clear=function(){return Lft(this,this._map.clear())},t.prototype.map=function(e,t){var n=this,i=[],r=[];return this.forEach((function(o){var a=e.call(t,o,o,n);a!==o&&(i.push(o),r.push(a))})),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 Kft(Zpt(this,e))},t.prototype.sortBy=function(e,t){return Kft(Zpt(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}(Ndt);Dft.isSet=Pft;var Aft,Ift=Dft.prototype;function Lft(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 $ft(e,t){var n=Object.create(Ift);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function zft(){return Aft||(Aft=$ft(Uht()))}Ift[Sft]=!0,Ift.delete=Ift.remove,Ift.merge=Ift.concat=Ift.union,Ift.withMutations=Pht,Ift.asImmutable=Cht,Ift["@@transducer/init"]=Ift.asMutable=Eht,Ift["@@transducer/step"]=function(e,t){return e.add(t)},Ift["@@transducer/result"]=function(e){return e.asImmutable()},Ift.__empty=zft,Ift.__make=$ft;var Rft,jft=function(e){function t(e,n,i){if(!(this instanceof t))return new t(e,n,i);if(sht(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(Rft)return Rft;Rft=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+kdt(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 Pdt(e,n,this.size)?this:(e=Edt(e,this.size),(n=Cdt(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,o=0;o!==n&&!1!==e(r,t?n-++o:o++,this);)r+=t?-i:i;return o},t.prototype.__iterator=function(e,t){var n=this.size,i=this._step,r=t?this._start+(n-1)*i:this._start,o=0;return new Hdt((function(){if(o===n)return{value:void 0,done:!0};var a=r;return r+=t?-i:i,Kdt(e,t?n-++o:o++,a)}))},t.prototype.equals=function(e){return e instanceof t?this._start===e._start&&this._end===e._end&&this._step===e._step:Cft(this,e)},t}(lpt);function Mft(e,t,n){for(var i=uht(t),r=0;r!==i.length;)if((e=pht(e,i[r++],Odt))===Odt)return n;return e}function Qft(){lht(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e}jdt.isIterable=Adt,jdt.isKeyed=Ldt,jdt.isIndexed=zdt,jdt.isAssociative=Rdt,jdt.isOrdered=Xdt,jdt.Iterator=Hdt,Fft(jdt,{toArray:function(){lht(this.size);var e=new Array(this.size||0),t=Ldt(this),n=0;return this.__iterate((function(i,r){e[n++]=t?[r,i]:i})),e},toIndexedSeq:function(){return new Mpt(this)},toJS:function(){return Tft(this)},toKeyedSeq:function(){return new jpt(this,!0)},toMap:function(){return Tht(this.toKeyedSeq())},toObject:Qft,toOrderedMap:function(){return fft(this.toKeyedSeq())},toOrderedSet:function(){return Kft(Ldt(this)?this.valueSeq():this)},toSet:function(){return Dft(Ldt(this)?this.valueSeq():this)},toSetSeq:function(){return new Qpt(this)},toSeq:function(){return zdt(this)?this.toIndexedSeq():Ldt(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Oft(Ldt(this)?this.valueSeq():this)},toList:function(){return eft(Ldt(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 eht(this,Vpt(this,e))},includes:function(e){return this.some((function(t){return wpt(t,e)}))},entries:function(){return this.__iterator(2)},every:function(e,t){lht(this.size);var n=!0;return this.__iterate((function(i,r,o){if(!e.call(t,i,r,o))return n=!1,!1})),n},filter:function(e,t){return eht(this,Gpt(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 lht(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){lht(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 eht(this,Bpt(this,e,t))},reduce:function(e,t,n){return qft(this,e,t,n,arguments.length<2,!1)},reduceRight:function(e,t,n){return qft(this,e,t,n,arguments.length<2,!0)},reverse:function(){return eht(this,qpt(this,!0))},slice:function(e,t){return eht(this,Wpt(this,e,t,!0))},some:function(e,t){return!this.every(Xft(e),t)},sort:function(e){return eht(this,Zpt(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 xdt(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return function(e,t,n){var i=Tht().asMutable();return e.__iterate((function(r,o){i.update(t.call(n,r,o,e),0,(function(e){return e+1}))})),i.asImmutable()}(this,e,t)},equals:function(e){return Cft(this,e)},entrySeq:function(){var e=this;if(e._cache)return new cpt(e._cache);var t=e.toSeq().map(Wft).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(Xft(e),t)},findEntry:function(e,t,n){var i=n;return this.__iterate((function(n,r,o){if(e.call(t,n,r,o))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(Sdt,null,e)},flatMap:function(e,t){return eht(this,function(e,t,n){var i=nht(e);return e.toSeq().map((function(r,o){return i(t.call(n,r,o,e))})).flatten(!0)}(this,e,t))},flatten:function(e){return eht(this,Ypt(this,e,!0))},fromEntrySeq:function(){return new Npt(this)},get:function(e,t){return this.find((function(t,n){return wpt(n,e)}),void 0,t)},getIn:function(e,t){return Mft(this,e,t)},groupBy:function(e,t){return function(e,t,n){var i=Ldt(e),r=(Xdt(e)?fft():Tht()).asMutable();e.__iterate((function(o,a){r.update(t.call(n,o,a,e),(function(e){return(e=e||[]).push(i?[a,o]:o),e}))}));var o=nht(e);return r.map((function(t){return eht(e,o(t))})).asImmutable()}(this,e,t)},has:function(e){return this.get(e,Odt)!==Odt},hasIn:function(e){return function(e,t){return Mft(e,t,Odt)!==Odt}(this,e)},isSubset:function(e){return e="function"==typeof e.includes?e:jdt(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:jdt(e)).isSubset(this)},keyOf:function(e){return this.findKey((function(t){return wpt(t,e)}))},keySeq:function(){return this.toSeq().map(Gft).toIndexedSeq()},last:function(e){return this.toSeq().reverse().first(e)},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return Hpt(this,e)},maxBy:function(e,t){return Hpt(this,t,e)},min:function(e){return Hpt(this,e?Vft(e):Zft)},minBy:function(e,t){return Hpt(this,t?Vft(t):Zft,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 eht(this,Xpt(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(Xft(e),t)},sortBy:function(e,t){return eht(this,Zpt(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 eht(this,function(e,t,n){var i=iht(e);return i.__iterateUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterate(i,r);var a=0;return e.__iterate((function(e,r,s){return t.call(n,e,r,s)&&++a&&i(e,r,o)})),a},i.__iteratorUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterator(i,r);var a=e.__iterator(2,r),s=!0;return new Hdt((function(){if(!s)return{value:void 0,done:!0};var e=a.next();if(e.done)return e;var r=e.value,l=r[0],u=r[1];return t.call(n,u,l,o)?2===i?e:Kdt(i,l,u,e):(s=!1,{value:void 0,done:!0})}))},i}(this,e,t))},takeUntil:function(e,t){return this.takeWhile(Xft(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=Xdt(e),n=Ldt(e),i=t?1:0,r=e.__iterate(n?t?function(e,t){i=31*i+Hft(Ppt(e),Ppt(t))|0}:function(e,t){i=i+Hft(Ppt(e),Ppt(t))|0}:t?function(e){i=31*i+Ppt(e)|0}:function(e){i=i+Ppt(e)|0});return function(e,t){return t=xpt(t,3432918353),t=xpt(t<<15|t>>>-15,461845907),t=xpt(t<<13|t>>>-13,5),t=xpt((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=kpt((t=xpt(t^t>>>13,3266489909))^t>>>16)}(r,i)}(this))}});var Nft=jdt.prototype;Nft[Ddt]=!0,Nft[Zdt]=Nft.values,Nft.toJSON=Nft.toArray,Nft.__toStringMapper=dht,Nft.inspect=Nft.toSource=function(){return this.toString()},Nft.chain=Nft.flatMap,Nft.contains=Nft.includes,Fft(Mdt,{flip:function(){return eht(this,Upt(this))},mapEntries:function(e,t){var n=this,i=0;return eht(this,this.toSeq().map((function(r,o){return e.call(t,[o,r],i++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return eht(this,this.toSeq().flip().map((function(i,r){return e.call(t,i,r,n)})).flip())}});var Uft=Mdt.prototype;Uft[Idt]=!0,Uft[Zdt]=Nft.entries,Uft.toJSON=Qft,Uft.__toStringMapper=function(e,t){return dht(t)+": "+dht(e)},Fft(Qdt,{toKeyedSeq:function(){return new jpt(this,!1)},filter:function(e,t){return eht(this,Gpt(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 eht(this,qpt(this,!1))},slice:function(e,t){return eht(this,Wpt(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=Edt(e,e<0?this.count():this.size);var i=this.slice(0,e);return eht(this,1===n?i:i.concat(aht(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 eht(this,Ypt(this,e,!1))},get:function(e,t){return(e=kdt(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=kdt(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return eht(this,function(e,t){var n=iht(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,i){var r=this,o=0;return e.__iterate((function(e){return(!o||!1!==n(t,o++,r))&&!1!==n(e,o++,r)}),i),o},n.__iteratorUncached=function(n,i){var r,o=e.__iterator(1,i),a=0;return new Hdt((function(){return(!r||a%2)&&(r=o.next()).done?r:a%2?Kdt(n,a++,t):Kdt(n,a++,r.value,r)}))},n}(this,e))},interleave:function(){var e=[this].concat(aht(arguments)),t=Jpt(this.toSeq(),lpt.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),eht(this,n)},keySeq:function(){return jft(0,this.size)},last:function(e){return this.get(-1,e)},skipWhile:function(e,t){return eht(this,Xpt(this,e,t,!1))},zip:function(){var e=[this].concat(aht(arguments));return eht(this,Jpt(this,Yft,e))},zipAll:function(){var e=[this].concat(aht(arguments));return eht(this,Jpt(this,Yft,e,!0))},zipWith:function(e){var t=aht(arguments);return t[0]=this,eht(this,Jpt(this,e,t))}});var Bft=Qdt.prototype;function qft(e,t,n,i,r,o){return lht(e.size),e.__iterate((function(e,o,a){r?(r=!1,n=e):n=t.call(i,n,e,o,a)}),o),n}function Gft(e,t){return t}function Wft(e,t){return[t,e]}function Xft(e){return function(){return!e.apply(this,arguments)}}function Vft(e){return function(){return-e.apply(this,arguments)}}function Yft(){return aht(arguments)}function Zft(e,t){return e<t?1:e>t?-1:0}function Hft(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}Bft[$dt]=!0,Bft[Wdt]=!0,Fft(Ndt,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),Ndt.prototype.has=Nft.includes,Ndt.prototype.contains=Ndt.prototype.includes,Fft(spt,Mdt.prototype),Fft(lpt,Qdt.prototype),Fft(upt,Ndt.prototype);var Kft=function(e){function t(e){return null==e?nmt():Eft(e)?e:nmt().withMutations((function(t){var n=Ndt(e);lht(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(Mdt(e).keySeq())},t.prototype.toString=function(){return this.__toString("OrderedSet {","}")},t}(Dft);Kft.isOrderedSet=Eft;var Jft,emt=Kft.prototype;function tmt(e,t){var n=Object.create(emt);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function nmt(){return Jft||(Jft=tmt(gft()))}emt[Wdt]=!0,emt.zip=Bft.zip,emt.zipWith=Bft.zipWith,emt.__empty=nmt,emt.__make=tmt;var imt={exports:{}};
253
+ var rTe=function(){return rTe=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},rTe.apply(this,arguments)};function oTe(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 aTe(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i.throw(e))}catch(e){o(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(a,s)}l((i=i.apply(e,t||[])).next())}))}function sTe(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function lTe(e,t,n){if(n||2===arguments.length)for(var i,r=0,o=t.length;r<o;r++)!i&&r in t||(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||t)}function uTe(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var cTe,dTe=function(e){var n,i=e.children,r=oTe(e,["children"]),o=toe();return t.jsxs(t.Fragment,{children:[t.jsx(pTe,{},void 0),t.jsx(a.Dialog,rTe({},r,{modalProps:rTe(rTe({},r.modalProps||{}),{className:YB(o,"lt-reach-dialog",{"lt-reach-dialog-mobile":os.isAnyMobileApp},null===(n=r.modalProps)||void 0===n?void 0:n.className)})},{children:i}),void 0)]},void 0)},pTe=o.createGlobalStyle(cTe||(cTe=uTe(['\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']))),hTe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},fTe=function(e){return e&&e.Math==Math&&e},mTe=fTe("object"==typeof globalThis&&globalThis)||fTe("object"==typeof window&&window)||fTe("object"==typeof self&&self)||fTe("object"==typeof hTe&&hTe)||Function("return this")(),gTe={},vTe=function(e){try{return!!e()}catch(e){return!0}},yTe=!vTe((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),bTe={},OTe={}.propertyIsEnumerable,_Te=Object.getOwnPropertyDescriptor,wTe=_Te&&!OTe.call({1:2},1);bTe.f=wTe?function(e){var t=_Te(this,e);return!!t&&t.enumerable}:OTe;var xTe=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},kTe={}.toString,STe=function(e){return kTe.call(e).slice(8,-1)},PTe=STe,ETe="".split,CTe=vTe((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==PTe(e)?ETe.call(e,""):Object(e)}:Object,FTe=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},TTe=CTe,DTe=FTe,ATe=function(e){return TTe(DTe(e))},ITe=function(e){return"object"==typeof e?null!==e:"function"==typeof e},LTe=ITe,$Te=function(e,t){if(!LTe(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!LTe(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!LTe(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!LTe(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")},zTe={}.hasOwnProperty,RTe=function(e,t){return zTe.call(e,t)},jTe=ITe,MTe=mTe.document,QTe=jTe(MTe)&&jTe(MTe.createElement),NTe=function(e){return QTe?MTe.createElement(e):{}},UTe=NTe,BTe=!yTe&&!vTe((function(){return 7!=Object.defineProperty(UTe("div"),"a",{get:function(){return 7}}).a})),qTe=yTe,GTe=bTe,WTe=xTe,XTe=ATe,VTe=$Te,YTe=RTe,ZTe=BTe,HTe=Object.getOwnPropertyDescriptor;gTe.f=qTe?HTe:function(e,t){if(e=XTe(e),t=VTe(t,!0),ZTe)try{return HTe(e,t)}catch(e){}if(YTe(e,t))return WTe(!GTe.f.call(e,t),e[t])};var KTe={},JTe=ITe,eDe=function(e){if(!JTe(e))throw TypeError(String(e)+" is not an object");return e},tDe=yTe,nDe=BTe,iDe=eDe,rDe=$Te,oDe=Object.defineProperty;KTe.f=tDe?oDe:function(e,t,n){if(iDe(e),t=rDe(t,!0),iDe(n),nDe)try{return oDe(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 aDe=KTe,sDe=xTe,lDe=yTe?function(e,t,n){return aDe.f(e,t,sDe(1,n))}:function(e,t,n){return e[t]=n,e},uDe={exports:{}},cDe=mTe,dDe=lDe,pDe=function(e,t){try{dDe(cDe,e,t)}catch(n){cDe[e]=t}return t},hDe=pDe,fDe="__core-js_shared__",mDe=mTe[fDe]||hDe(fDe,{}),gDe=mDe,vDe=Function.toString;"function"!=typeof gDe.inspectSource&&(gDe.inspectSource=function(e){return vDe.call(e)});var yDe=gDe.inspectSource,bDe=yDe,ODe=mTe.WeakMap,_De="function"==typeof ODe&&/native code/.test(bDe(ODe)),wDe={exports:{}},xDe=mDe;(wDe.exports=function(e,t){return xDe[e]||(xDe[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"});var kDe,SDe,PDe,EDe=0,CDe=Math.random(),FDe=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++EDe+CDe).toString(36)},TDe=wDe.exports,DDe=FDe,ADe=TDe("keys"),IDe=function(e){return ADe[e]||(ADe[e]=DDe(e))},LDe={},$De=_De,zDe=ITe,RDe=lDe,jDe=RTe,MDe=IDe,QDe=LDe,NDe=mTe.WeakMap;if($De){var UDe=new NDe,BDe=UDe.get,qDe=UDe.has,GDe=UDe.set;kDe=function(e,t){return GDe.call(UDe,e,t),t},SDe=function(e){return BDe.call(UDe,e)||{}},PDe=function(e){return qDe.call(UDe,e)}}else{var WDe=MDe("state");QDe[WDe]=!0,kDe=function(e,t){return RDe(e,WDe,t),t},SDe=function(e){return jDe(e,WDe)?e[WDe]:{}},PDe=function(e){return jDe(e,WDe)}}var XDe={set:kDe,get:SDe,has:PDe,enforce:function(e){return PDe(e)?SDe(e):kDe(e,{})},getterFor:function(e){return function(t){var n;if(!zDe(t)||(n=SDe(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},VDe=mTe,YDe=lDe,ZDe=RTe,HDe=pDe,KDe=yDe,JDe=XDe.get,eAe=XDe.enforce,tAe=String(String).split("String");(uDe.exports=function(e,t,n,i){var r=!!i&&!!i.unsafe,o=!!i&&!!i.enumerable,a=!!i&&!!i.noTargetGet;"function"==typeof n&&("string"!=typeof t||ZDe(n,"name")||YDe(n,"name",t),eAe(n).source=tAe.join("string"==typeof t?t:"")),e!==VDe?(r?!a&&e[t]&&(o=!0):delete e[t],o?e[t]=n:YDe(e,t,n)):o?e[t]=n:HDe(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&JDe(this).source||KDe(this)}));var nAe=mTe,iAe=mTe,rAe=function(e){return"function"==typeof e?e:void 0},oAe=function(e,t){return arguments.length<2?rAe(nAe[e])||rAe(iAe[e]):nAe[e]&&nAe[e][t]||iAe[e]&&iAe[e][t]},aAe={},sAe=Math.ceil,lAe=Math.floor,uAe=function(e){return isNaN(e=+e)?0:(e>0?lAe:sAe)(e)},cAe=uAe,dAe=Math.min,pAe=function(e){return e>0?dAe(cAe(e),9007199254740991):0},hAe=uAe,fAe=Math.max,mAe=Math.min,gAe=ATe,vAe=pAe,yAe=function(e,t){var n=hAe(e);return n<0?fAe(n+t,0):mAe(n,t)},bAe=function(e){return function(t,n,i){var r,o=gAe(t),a=vAe(o.length),s=yAe(i,a);if(e&&n!=n){for(;a>s;)if((r=o[s++])!=r)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},OAe={includes:bAe(!0),indexOf:bAe(!1)},_Ae=RTe,wAe=ATe,xAe=OAe.indexOf,kAe=LDe,SAe=function(e,t){var n,i=wAe(e),r=0,o=[];for(n in i)!_Ae(kAe,n)&&_Ae(i,n)&&o.push(n);for(;t.length>r;)_Ae(i,n=t[r++])&&(~xAe(o,n)||o.push(n));return o},PAe=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],EAe=SAe,CAe=PAe.concat("length","prototype");aAe.f=Object.getOwnPropertyNames||function(e){return EAe(e,CAe)};var FAe={};FAe.f=Object.getOwnPropertySymbols;var TAe=aAe,DAe=FAe,AAe=eDe,IAe=oAe("Reflect","ownKeys")||function(e){var t=TAe.f(AAe(e)),n=DAe.f;return n?t.concat(n(e)):t},LAe=RTe,$Ae=IAe,zAe=gTe,RAe=KTe,jAe=vTe,MAe=/#|\.prototype\./,QAe=function(e,t){var n=UAe[NAe(e)];return n==qAe||n!=BAe&&("function"==typeof t?jAe(t):!!t)},NAe=QAe.normalize=function(e){return String(e).replace(MAe,".").toLowerCase()},UAe=QAe.data={},BAe=QAe.NATIVE="N",qAe=QAe.POLYFILL="P",GAe=QAe,WAe=mTe,XAe=gTe.f,VAe=lDe,YAe=uDe.exports,ZAe=pDe,HAe=function(e,t){for(var n=$Ae(t),i=RAe.f,r=zAe.f,o=0;o<n.length;o++){var a=n[o];LAe(e,a)||i(e,a,r(t,a))}},KAe=GAe,JAe=function(e,t){var n,i,r,o,a,s=e.target,l=e.global,u=e.stat;if(n=l?WAe:u?WAe[s]||ZAe(s,{}):(WAe[s]||{}).prototype)for(i in t){if(o=t[i],r=e.noTargetGet?(a=XAe(n,i))&&a.value:n[i],!KAe(l?i:s+(u?".":"#")+i,e.forced)&&void 0!==r){if(typeof o==typeof r)continue;HAe(o,r)}(e.sham||r&&r.sham)&&VAe(o,"sham",!0),YAe(n,i,o,e)}},eIe=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},tIe=FTe,nIe=function(e){return Object(tIe(e))},iIe=eIe,rIe=nIe,oIe=CTe,aIe=pAe,sIe=function(e){return function(t,n,i,r){iIe(n);var o=rIe(t),a=oIe(o),s=aIe(o.length),l=e?s-1:0,u=e?-1:1;if(i<2)for(;;){if(l in a){r=a[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 a&&(r=n(r,a[l],l,o));return r}},lIe={left:sIe(!1),right:sIe(!0)},uIe=vTe,cIe=function(e,t){var n=[][e];return!!n&&uIe((function(){n.call(null,t||function(){throw 1},1)}))},dIe=yTe,pIe=vTe,hIe=RTe,fIe=Object.defineProperty,mIe={},gIe=function(e){throw e},vIe=JAe,yIe=lIe.left,bIe=function(e,t){if(hIe(mIe,e))return mIe[e];t||(t={});var n=[][e],i=!!hIe(t,"ACCESSORS")&&t.ACCESSORS,r=hIe(t,0)?t[0]:gIe,o=hIe(t,1)?t[1]:void 0;return mIe[e]=!!n&&!pIe((function(){if(i&&!dIe)return!0;var e={length:-1};i?fIe(e,1,{enumerable:!0,get:gIe}):e[1]=1,n.call(e,r,o)}))},OIe=cIe("reduce"),_Ie=bIe("reduce",{1:0});vIe({target:"Array",proto:!0,forced:!OIe||!_Ie},{reduce:function(e){return yIe(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}});var wIe=SAe,xIe=PAe,kIe=Object.keys||function(e){return wIe(e,xIe)},SIe=yTe,PIe=vTe,EIe=kIe,CIe=FAe,FIe=bTe,TIe=nIe,DIe=CTe,AIe=Object.assign,IIe=Object.defineProperty,LIe=!AIe||PIe((function(){if(SIe&&1!==AIe({b:1},AIe(IIe({},"a",{enumerable:!0,get:function(){IIe(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!=AIe({},e)[n]||EIe(AIe({},t)).join("")!=i}))?function(e,t){for(var n=TIe(e),i=arguments.length,r=1,o=CIe.f,a=FIe.f;i>r;)for(var s,l=DIe(arguments[r++]),u=o?EIe(l).concat(o(l)):EIe(l),c=u.length,d=0;c>d;)s=u[d++],SIe&&!a.call(l,s)||(n[s]=l[s]);return n}:AIe,$Ie=LIe;JAe({target:"Object",stat:!0,forced:Object.assign!==$Ie},{assign:$Ie});var zIe=vTe,RIe=!!Object.getOwnPropertySymbols&&!zIe((function(){return!String(Symbol())})),jIe=RIe&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,MIe=mTe,QIe=wDe.exports,NIe=RTe,UIe=FDe,BIe=RIe,qIe=jIe,GIe=QIe("wks"),WIe=MIe.Symbol,XIe=qIe?WIe:WIe&&WIe.withoutSetter||UIe,VIe=function(e){return NIe(GIe,e)||(BIe&&NIe(WIe,e)?GIe[e]=WIe[e]:GIe[e]=XIe("Symbol."+e)),GIe[e]},YIe=ITe,ZIe=STe,HIe=VIe("match"),KIe=function(e){var t;return YIe(e)&&(void 0!==(t=e[HIe])?!!t:"RegExp"==ZIe(e))},JIe=KIe,eLe=function(e){if(JIe(e))throw TypeError("The method doesn't accept regular expressions");return e},tLe=VIe("match"),nLe=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[tLe]=!1,"/./"[e](t)}catch(e){}}return!1},iLe=eLe,rLe=FTe;function oLe(e,t){var n=e||[],i=t||[],r=n.map((function(e){return e.id})),o=i.filter((function(e){return!r.includes(e.id)}));return n.concat(o)}JAe({target:"String",proto:!0,forced:!nLe("includes")},{includes:function(e){return!!~String(rLe(this)).indexOf(iLe(e),arguments.length>1?arguments[1]:void 0)}});var aLe,sLe=KTe,lLe=eDe,uLe=kIe,cLe=yTe?Object.defineProperties:function(e,t){lLe(e);for(var n,i=uLe(t),r=i.length,o=0;r>o;)sLe.f(e,n=i[o++],t[n]);return e},dLe=oAe("document","documentElement"),pLe=eDe,hLe=cLe,fLe=PAe,mLe=LDe,gLe=dLe,vLe=NTe,yLe=IDe("IE_PROTO"),bLe=function(){},OLe=function(e){return"<script>"+e+"</"+"script>"},_Le=function(){try{aLe=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;_Le=aLe?function(e){e.write(OLe("")),e.close();var t=e.parentWindow.Object;return e=null,t}(aLe):((t=vLe("iframe")).style.display="none",gLe.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(OLe("document.F=Object")),e.close(),e.F);for(var n=fLe.length;n--;)delete _Le.prototype[fLe[n]];return _Le()};mLe[yLe]=!0;var wLe=Object.create||function(e,t){var n;return null!==e?(bLe.prototype=pLe(e),n=new bLe,bLe.prototype=null,n[yLe]=e):n=_Le(),void 0===t?n:hLe(n,t)},xLe=wLe,kLe=KTe,SLe=VIe("unscopables"),PLe=Array.prototype;null==PLe[SLe]&&kLe.f(PLe,SLe,{configurable:!0,value:xLe(null)});var ELe,CLe,FLe,TLe=function(e){PLe[SLe][e]=!0},DLe={},ALe=!vTe((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),ILe=RTe,LLe=nIe,$Le=ALe,zLe=IDe("IE_PROTO"),RLe=Object.prototype,jLe=$Le?Object.getPrototypeOf:function(e){return e=LLe(e),ILe(e,zLe)?e[zLe]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?RLe:null},MLe=jLe,QLe=lDe,NLe=RTe,ULe=VIe("iterator"),BLe=!1;[].keys&&("next"in(FLe=[].keys())?(CLe=MLe(MLe(FLe)))!==Object.prototype&&(ELe=CLe):BLe=!0),null==ELe&&(ELe={}),NLe(ELe,ULe)||QLe(ELe,ULe,(function(){return this}));var qLe={IteratorPrototype:ELe,BUGGY_SAFARI_ITERATORS:BLe},GLe=KTe.f,WLe=RTe,XLe=VIe("toStringTag"),VLe=function(e,t,n){e&&!WLe(e=n?e:e.prototype,XLe)&&GLe(e,XLe,{configurable:!0,value:t})},YLe=qLe.IteratorPrototype,ZLe=wLe,HLe=xTe,KLe=VLe,JLe=DLe,e$e=function(){return this},t$e=ITe,n$e=eDe,i$e=function(e){if(!t$e(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e},r$e=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 n$e(n),i$e(i),t?e.call(n,i):n.__proto__=i,n}}():void 0),o$e=JAe,a$e=function(e,t,n){var i=t+" Iterator";return e.prototype=ZLe(YLe,{next:HLe(1,n)}),KLe(e,i,!1),JLe[i]=e$e,e},s$e=jLe,l$e=r$e,u$e=VLe,c$e=lDe,d$e=uDe.exports,p$e=DLe,h$e=qLe.IteratorPrototype,f$e=qLe.BUGGY_SAFARI_ITERATORS,m$e=VIe("iterator"),g$e="keys",v$e="values",y$e="entries",b$e=function(){return this},O$e=ATe,_$e=TLe,w$e=DLe,x$e=XDe,k$e=function(e,t,n,i,r,o,a){a$e(n,t,i);var s,l,u,c=function(e){if(e===r&&m)return m;if(!f$e&&e in h)return h[e];switch(e){case g$e:case v$e:case y$e:return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",p=!1,h=e.prototype,f=h[m$e]||h["@@iterator"]||r&&h[r],m=!f$e&&f||c(r),g="Array"==t&&h.entries||f;if(g&&(s=s$e(g.call(new e)),h$e!==Object.prototype&&s.next&&(s$e(s)!==h$e&&(l$e?l$e(s,h$e):"function"!=typeof s[m$e]&&c$e(s,m$e,b$e)),u$e(s,d,!0))),r==v$e&&f&&f.name!==v$e&&(p=!0,m=function(){return f.call(this)}),h[m$e]!==m&&c$e(h,m$e,m),p$e[t]=m,r)if(l={values:c(v$e),keys:o?m:c(g$e),entries:c(y$e)},a)for(u in l)(f$e||p||!(u in h))&&d$e(h,u,l[u]);else o$e({target:t,proto:!0,forced:f$e||p},l);return l},S$e="Array Iterator",P$e=x$e.set,E$e=x$e.getterFor(S$e),C$e=k$e(Array,"Array",(function(e,t){P$e(this,{type:S$e,target:O$e(e),index:0,kind:t})}),(function(){var e=E$e(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");w$e.Arguments=w$e.Array,_$e("keys"),_$e("values"),_$e("entries");var F$e=mTe,T$e={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},D$e=C$e,A$e=lDe,I$e=VIe,L$e=I$e("iterator"),$$e=I$e("toStringTag"),z$e=D$e.values;for(var R$e in T$e){var j$e=F$e[R$e],M$e=j$e&&j$e.prototype;if(M$e){if(M$e[L$e]!==z$e)try{A$e(M$e,L$e,z$e)}catch(e){M$e[L$e]=z$e}if(M$e[$$e]||A$e(M$e,$$e,R$e),T$e[R$e])for(var Q$e in D$e)if(M$e[Q$e]!==D$e[Q$e])try{A$e(M$e,Q$e,D$e[Q$e])}catch(e){M$e[Q$e]=D$e[Q$e]}}}var N$e,U$e,B$e,q$e,G$e,W$e,X$e,V$e,Y$e,Z$e,H$e,K$e,J$e,eze,tze,nze,ize,rze,oze,aze=function(e){var n=Wk().formatMessage,i=toe();return t.jsx(a.TooltipHost,rTe({},e,{className:YB(i,"lt-reach-tooltip"),role:e.role,onClick:e.onClick,hostClassName:e.className,content:e.resourceKey||e.text?e.text||n({id:e.resourceKey},e.values||{}):null,calloutProps:rTe(rTe({},e.calloutProps),{calloutWidth:e.width,hidden:e.hidden})},{children:e.children}),void 0)},sze=function(e){var t,n;return o.css(G$e||(G$e=uTe(["\n ","\n\n ","\n\n box-sizing: border-box;\n padding: ","px\n ","px;\n border-radius: ","px;\n display: flex;\n "],["\n ","\n\n ","\n\n box-sizing: border-box;\n padding: ","px\n ","px;\n border-radius: ","px;\n display: flex;\n "])),(null==e?void 0:e.backgroundColor)?o.css(N$e||(N$e=uTe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),e.backgroundColor):o.css(U$e||(U$e=uTe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),Iie),(null==e?void 0:e.color)?o.css(B$e||(B$e=uTe(["\n color: ",";\n "],["\n color: ",";\n "])),e.color):o.css(q$e||(q$e=uTe(["\n color: ",";\n "],["\n color: ",";\n "])),(function(e){return e.theme.textColors.default})),null!==(t=null==e?void 0:e.blockPadding)&&void 0!==t?t:3,null!==(n=null==e?void 0:e.inlinePadding)&&void 0!==n?n:I7,L7)},lze=function(e){var n=e.tooltipResourceKey,i=e.className,r=oTe(e,["tooltipResourceKey","className"]);return t.jsx(aze,rTe({resourceKey:n,className:i},{children:t.jsx(uze,rTe({},r,{"data-highlight-bubble":!0}),void 0)}),void 0)},uze=y.default.div.withConfig({displayName:"EditorHighlight__EditorHighlightBubble",componentId:"sc-1d6ahk1-0"})(W$e||(W$e=uTe(["\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"])),sze(),6,15,Z7,(function(e){return e.readOnly?"inherit":"pointer"}),(function(e){return e.isActive?1:.4})),cze=y.default.div.withConfig({displayName:"EditorHighlight__ChannelsEditorBubbleHost",componentId:"sc-1d6ahk1-1"})(X$e||(X$e=uTe(["\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})),dze=function(e){var n=e.showDialog,i=e.onClose,r=e.onClosed,o=e.handleSave,s=e.titleResource,l=e.disableSave,u=e.saveButtonResourceId,c=e.children,d=e.className,p=Wk().formatMessage;return t.jsxs(dTe,rTe({hidden:!n,modalProps:{isBlocking:!0,onDismissed:r},dialogContentProps:{type:a.DialogType.normal,title:p({id:s})},onDismiss:i},{children:[t.jsx(pze,rTe({className:d},{children:c}),void 0),t.jsxs(a.DialogFooter,{children:[t.jsx(a.DefaultButton,rTe({onClick:i,"data-button":"cancel"},{children:t.jsx(pS,{id:"Generic.Cancel"},void 0)}),void 0),t.jsx(a.PrimaryButton,rTe({disabled:l,onClick:o,"data-button":"save"},{children:t.jsx(pS,{id:u||"Generic.Save"},void 0)}),void 0)]},void 0)]}),void 0)},pze=y.default.div.withConfig({displayName:"EditorSettingsDialog__Host",componentId:"sc-132lfuo-0"})(V$e||(V$e=uTe(["\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"])),L7),hze=y.default(dze).withConfig({displayName:"EditorSettingsDialog__EditorSettingsDialogWithFixedWidth",componentId:"sc-132lfuo-1"})(Y$e||(Y$e=uTe(["\n width: 400px;\n"],["\n width: 400px;\n"]))),fze=y.default(a.IconButton).withConfig({displayName:"IconButton",componentId:"sc-1mokw5y-0"})(Z$e||(Z$e=uTe(["\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})),mze=function(e){var n=e.checked,i=e.readOnly,r=e.onChange,o=e.className,a=e.iconName,s=e.activeIconName,l=e.tooltipResourceKey,u=e.ariaLabelResourceKey,c=Wk().formatMessage,d=n?s||a||"CheckboxComposite":a||"Checkbox";return t.jsx(gze,rTe({className:o},{children:i?t.jsx(yze,{},void 0):t.jsx(aze,rTe({resourceKey:l},{children:t.jsx(vze,{iconProps:{iconName:d},onClick:function(){return r(!n)},ariaLabel:u?c({id:u}):null},void 0)}),void 0)}),void 0)},gze=y.default.div.withConfig({displayName:"GutterToggle__Host",componentId:"sc-1aya63j-0"})(H$e||(H$e=uTe(["\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"]))),vze=y.default(fze).withConfig({displayName:"GutterToggle__ToggleIcon",componentId:"sc-1aya63j-1"})(K$e||(K$e=uTe(["\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"])),V7,20),yze=y.default.div.withConfig({displayName:"GutterToggle__Spacer",componentId:"sc-1aya63j-2"})(J$e||(J$e=uTe(["\n width: 22px;\n"],["\n width: 22px;\n"]))),bze=o.css(eze||(eze=uTe(["\n color: var(--link-color, ",");\n text-decoration: underline;\n font-weight: var(--link-font-weight, normal);\n\n &:hover,\n &:visited {\n color: var(--link-color, ",");\n }\n"],["\n color: var(--link-color, ",");\n text-decoration: underline;\n font-weight: var(--link-font-weight, normal);\n\n &:hover,\n &:visited {\n color: var(--link-color, ",");\n }\n"])),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent})),Oze=y.default.a.withConfig({displayName:"Link__ExternalLink",componentId:"sc-5x4ijx-0"})(tze||(tze=uTe(["\n && {\n ",";\n }\n"],["\n && {\n ",";\n }\n"])),bze),_ze=y.default(r.Link).withConfig({displayName:"Link",componentId:"sc-5x4ijx-1"})(nze||(nze=uTe(["\n && {\n ",";\n }\n"],["\n && {\n ",";\n }\n"])),bze),wze=o.css(ize||(ize=uTe(["\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),xze=function(){var e=Zie().hideNotification,n=i.useContext(Yie),r=n.isNotificationBarVisible,o=oTe(n,["isNotificationBarVisible"]),a=Wk().formatMessage,s=o.messageId||o.text;return r?t.jsx(kze,rTe({className:"notification-wrapper","data-notification-bar":!0},{children:t.jsx(Sze,rTe({messageBarType:o.messageBarType,className:o.className,actions:o.actions,onDismiss:function(){return e()},isMultiline:!1,dismissButtonAriaLabel:a({id:"AriaLabel.closeNotificationBarButton"})},{children:s&&t.jsx(aze,rTe({text:o.text,resourceKey:o.messageId,values:o.messageValues},{children:o.text||t.jsx(pS,{id:o.messageId,values:o.messageValues||{}},void 0)}),void 0)}),void 0)}),void 0):null},kze=y.default.div.withConfig({displayName:"NotificationBar__Host",componentId:"sc-17dep9g-0"})(rze||(rze=uTe(["\n display: block;\n position: relative;\n z-index: 101;\n"],["\n display: block;\n position: relative;\n z-index: 101;\n"]))),Sze=y.default(a.MessageBar).withConfig({displayName:"NotificationBar__StyledMessageBar",componentId:"sc-17dep9g-1"})(oze||(oze=uTe(["\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"])),wze,Y7,V7,V7,Y7,V7,Z7,$7,20),Pze=function(e){var n,r=Wk().formatMessage,o=g5(),s=m5(),l=a9(),u=l.searchAccounts,c=l.getUserAvatarUrl,d=i.useRef(),p=zw();i.useEffect((function(){e.autoFocus&&d&&d.current&&setTimeout((function(){d.current.focus()}))}),[d,e.autoFocus]);var h=(null===(n=s.subscription.directories)||void 0===n?void 0:n.length)>1,f=!e.selectionMode||e.selectionMode===a.SelectionMode.multiple,m=e.selectedItems||[],g=h,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!==H6.Group?t.userPrincipalName:null,mail:N5(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:p.width<B7?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(Cze,rTe({className:YB(e.className,"people-picker")},{children:t.jsx(a.NormalPeoplePicker,rTe({},v,{componentRef:d,itemLimit:f?void 0:1}),void 0)}),void 0);function y(e){var t=N5(e.mail)?null:e.mail,n=N5(e.userPrincipalName)?null:e.userPrincipalName,i=Pw(e.displayName||e.mail||e.userPrincipalName),r=e.type===H6.User?n:e.type===H6.Group?t:null,a={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 o.avatars&&c(e.userPrincipalName).subscribe((function(e){return a.imageUrl=e})),a}function b(t,n){return aTe(this,void 0,void 0,(function(){var i,r,o;return sTe(this,(function(a){switch(a.label){case 0:if(!t&&0===t.length)return[2,[]];i=e.allowMailItems&&fw(t)&&{mail:t,userPrincipalName:t,displayName:t,type:H6.User},a.label=1;case 1:return a.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=a.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&&(o=e.additionalSearch(t))&&(r=r.concat(o)),[2,O(r).map(y)];case 3:return a.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 Eze,Cze=y.default.div.withConfig({displayName:"PeoplePicker__Container",componentId:"sc-1if6guq-0"})(Eze||(Eze=uTe(["\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"]))),Fze=JAe,Tze=gTe.f,Dze=pAe,Aze=eLe,Ize=FTe,Lze=nLe,$ze="".startsWith,zze=Math.min,Rze=Lze("startsWith"),jze=!Rze&&!!function(){var e=Tze(String.prototype,"startsWith");return e&&!e.writable}();Fze({target:"String",proto:!0,forced:!jze&&!Rze},{startsWith:function(e){var t=String(Ize(this));Aze(e);var n=Dze(zze(arguments.length>1?arguments[1]:void 0,t.length)),i=String(e);return $ze?$ze.call(t,i,n):t.slice(n,n+i.length)===i}});var Mze=eDe,Qze=function(){var e=Mze(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},Nze=uDe.exports,Uze=eDe,Bze=vTe,qze=Qze,Gze="toString",Wze=RegExp.prototype,Xze=Wze.toString,Vze=Bze((function(){return"/a/b"!=Xze.call({source:"a",flags:"b"})})),Yze=Xze.name!=Gze;(Vze||Yze)&&Nze(RegExp.prototype,Gze,(function(){var e=Uze(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in Wze)?qze.call(e):n)}),{unsafe:!0});var Zze,Hze=function(e){var n=e.fileName,i=e.url;return t.jsx(Kze,rTe({href:i,target:"_blank",download:n,onMouseDown:function(e){return e.preventDefault()}},{children:t.jsx("span",{children:n},void 0)}),void 0)},Kze=y.default.a.withConfig({displayName:"AttachedMediaDownloadLink__Host",componentId:"sc-8hqs4q-0"})(Zze||(Zze=uTe(["\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}),I7),Jze=function(e){var n=e.fileName,i=e.url,r=e.onPlay;return i?t.jsxs(rRe,rTe({className:"lt-reach-embedded-audio"},{children:[t.jsx(Hze,{fileName:n,url:i},void 0),t.jsxs("audio",rTe({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(pS,{id:"Generic.audioReplayError",tagName:"p"},void 0)]}),void 0)]}),void 0):null};function eRe(e){var t=cG.getType(e);return t&&t.toString().startsWith("audio/")}var tRe,nRe,iRe,rRe=y.default.div.withConfig({displayName:"AudioFile__Host",componentId:"sc-wq9avv-0"})(tRe||(tRe=uTe(["\n width: 100%;\n"],["\n width: 100%;\n"])));y.default.div.withConfig({displayName:"GroupedListItemStyles__GroupedListItemHost",componentId:"sc-upeq9r-0"})(nRe||(nRe=uTe(["\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"])),$7,I7),y.default.h2.withConfig({displayName:"GroupedListItemStyles__GroupedListItemTitle",componentId:"sc-upeq9r-1"})(iRe||(iRe=uTe(["\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"])),$7,$7,20,(function(e){return e.theme.textColors.default}));var oRe,aRe,sRe,lRe,uRe,cRe,dRe=function(e){var n=e.children,i=e.deleteButton,r=e.domIdentifier,o=e.backgroundColor,a=e.className;return t.jsxs(fRe,rTe({className:a},{children:[i&&t.jsx(hRe,{children:i},void 0),t.jsx(pRe,rTe({"data-attachment":r,backgroundColor:o},{children:n}),void 0)]}),void 0)},pRe=y.default.div.withConfig({displayName:"AttachmentHost__Inner",componentId:"sc-mjwmvo-0"})(oRe||(oRe=uTe(["\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+";"})),hRe=y.default.div.withConfig({displayName:"AttachmentHost__ButtonHost",componentId:"sc-mjwmvo-1"})(aRe||(aRe=uTe(["\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),fRe=y.default.div.withConfig({displayName:"AttachmentHost__Host",componentId:"sc-mjwmvo-2"})(sRe||(sRe=uTe(["\n position: relative;\n width: 100%;\n margin-top: ","px;\n"],["\n position: relative;\n width: 100%;\n margin-top: ","px;\n"])),L7),mRe=y.default(a.ActionButton).withConfig({displayName:"ActionButton",componentId:"sc-hmhuj9-0"})(lRe||(lRe=uTe(["\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"})(uRe||(uRe=uTe(["\n display: flex;\n flex-direction: column;\n"],["\n display: flex;\n flex-direction: column;\n"]))),y.default(mRe).withConfig({displayName:"AvailableSubscriptionList__SubscriptionButton",componentId:"sc-113n7q9-1"})(cRe||(cRe=uTe(["\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 gRe,vRe,yRe,bRe,ORe=function(e){var n=e.children,i=oTe(e,["children"]),r=toe();return t.jsx(a.FocusTrapCallout,rTe({},i,{className:YB(r,"lt-reach-callout",null==i?void 0:i.className),focusTrapProps:{isClickableOutsideFocusTrap:!0}},{children:n}),void 0)},_Re=function(e){var n=Wk().formatMessage,r=i.useState(!1),o=r[0],s=r[1],l=i.useContext(Qie).theme.palette.accent;return t.jsxs(dTe,rTe({modalProps:{isBlocking:!0,allowTouchBodyScroll:!0},hidden:!1,dialogContentProps:{showCloseButton:!e.hideCloseButton,type:e.hideCloseButton?a.DialogType.normal:a.DialogType.close,title:n({id:e.titleResourceKey},e.titleResourceValues),titleProps:{style:{color:l}}},onDismiss:e.onCancel},{children:[t.jsx(wRe,{children:t.jsx(pS,{id:e.infoResourceKey,tagName:"span",values:e.infoResourceValues},void 0)},void 0),t.jsx(xRe,{"data-verify-item-input":!0,onChange:function(t,n){var i=n===e.compareValue;i!==o&&s(i)},ariaLabel:n({id:e.inputAriaLabelResourceKey})},void 0),e.children,t.jsxs(a.DialogFooter,{children:[t.jsx(a.DefaultButton,rTe({onClick:e.onCancel,disabled:e.disabled},{children:t.jsx(pS,{id:"Generic.Cancel"},void 0)}),void 0),t.jsx(kRe,rTe({onClick:e.onConfirm,"data-delete-button":!0,disabled:!o||e.disabled},{children:t.jsx(pS,{id:"Generic.Delete"},void 0)}),void 0)]},void 0)]}),void 0)},wRe=y.default.span.withConfig({displayName:"ConfirmDeleteDialog__LinePreserverSpan",componentId:"sc-1ybmivq-0"})(gRe||(gRe=uTe(["\n white-space: pre-line;\n"],["\n white-space: pre-line;\n"]))),xRe=y.default(a.TextField).withConfig({displayName:"ConfirmDeleteDialog__StyledTextField",componentId:"sc-1ybmivq-1"})(vRe||(vRe=uTe(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),L7),kRe=y.default(a.PrimaryButton).withConfig({displayName:"ConfirmDeleteDialog__DeleteButton",componentId:"sc-1ybmivq-2"})(yRe||(yRe=uTe(["\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})),SRe=function(e){var n=e.showDialog,r=e.titleResourceKey,o=e.titleResourceValues,s=e.infoResourceKey,l=e.infoResourceValues,u=e.onConfirm,c=e.onClose,d=e.width,p=e.children,h=Wk().formatMessage,f=i.useContext(Qie).theme.palette.accent;return t.jsxs(dTe,rTe({hidden:!n,modalProps:{isBlocking:!0,styles:{scrollableContent:{width:d}}},dialogContentProps:{type:a.DialogType.normal,subText:s?h({id:s},l):"",title:h({id:r},o),titleProps:{style:{color:f}}},onDismiss:c},{children:[p,t.jsxs(a.DialogFooter,{children:[t.jsx(a.DefaultButton,rTe({onClick:c,"data-cancel-button":!0},{children:t.jsx(pS,{id:"Generic.Cancel"},void 0)}),void 0),t.jsx(a.PrimaryButton,rTe({"data-ok-button":!0,onClick:function(){null==u||u(),null==c||c()}},{children:t.jsx(pS,{id:"Generic.Ok"},void 0)}),void 0)]},void 0)]}),void 0)},PRe=function(e){var n=e.onConfirm,r=e.onCancel,o=Wk().formatMessage,s=i.useContext(Qie).theme.palette.accent;return t.jsx(dTe,rTe({modalProps:{isBlocking:!0},hidden:!1,dialogContentProps:{type:a.DialogType.close,title:o({id:"Events.editor.recurrence.resetDialogTitle"}),titleProps:{style:{color:s}}},onDismiss:r},{children:t.jsxs(ERe,{children:[t.jsx(pS,{id:"Events.editor.recurrence.resetDialogDescription",tagName:"span"},void 0),t.jsxs(a.DialogFooter,{children:[t.jsx(a.PrimaryButton,rTe({onClick:n},{children:t.jsx(pS,{id:"Events.editor.recurrence.reset"},void 0)}),void 0),t.jsx(a.DefaultButton,rTe({onClick:r},{children:t.jsx(pS,{id:"Generic.Cancel"},void 0)}),void 0)]},void 0)]},void 0)}),void 0)},ERe=y.default.div.withConfig({displayName:"ConfirmResetDialog__Host",componentId:"sc-akcggz-0"})(bRe||(bRe=uTe(["\n max-width: 600px;\n"],["\n max-width: 600px;\n"]))),CRe=function(e){var n=e.value,r=i.useContext(SS).language,o=function(e,t,n){void 0===t&&(t=Date.now());void 0===n&&(n={});var i=rTe(rTe({},NRe),n||{}),r=(+e-+t)/1e3;if(Math.abs(r)<i.second)return{value:Math.round(r),unit:"second"};var o=r/60;if(Math.abs(o)<i.minute)return{value:Math.round(o),unit:"minute"};var a=r/FRe;if(Math.abs(a)<i.hour)return{value:Math.round(a),unit:"hour"};var s=r/TRe;if(Math.abs(s)<i.day)return{value:Math.round(s),unit:"day"};var l=r/DRe;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(),p=12*d+u.getMonth()-c.getMonth();if(Math.round(Math.abs(p))>0&&Math.abs(p)<i.month)return{value:Math.round(p),unit:"month"};return{value:Math.round(d),unit:"year"}}(n),a=o.value,s=o.unit;return t.jsx(tS,rTe({locale:r},{children:t.jsx(uS,{value:a,numeric:"auto",unit:s,updateIntervalInSeconds:["second","minute","hour"].some((function(e){return e===s}))?10:void 0},void 0)}),void 0)},FRe=3600,TRe=86400,DRe=604800;var ARe,IRe,LRe,$Re,zRe,RRe,jRe,MRe,QRe,NRe={second:45,minute:45,hour:22,day:6,week:4,month:12},URe=function(e){return rs(e).isSame(new Date,"day")},BRe=function(e){var n=rs(e.value),i=n.toDate(),r=!e.showAsAbsolute&&(e.showAsRelative||URe(e.value)),o={dateTime:i.toISOString(),title:n.format("LLLL")};return!e.showWeekDay&&r?t.jsx(GRe,rTe({className:YB(e.className)},o,{children:t.jsx(CRe,{value:i},void 0)}),void 0):t.jsxs(GRe,rTe({className:YB(e.className)},o,{children:[t.jsx(hS,{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)},qRe=function(e){var n=e.startDate,i=e.endDate,r=e.className;if(!n)return null;if(!i)return t.jsx("div",rTe({className:r},{children:t.jsx(BRe,{value:n,showWeekDay:!0},void 0)}),void 0);var o=rs(n),a=rs(i);return o.isSame(a,"d")?t.jsxs("div",rTe({className:r},{children:[t.jsx(BRe,{value:n,showWeekDay:!0},void 0)," - ",t.jsx(fS,{value:a.toDate()},void 0)]}),void 0):t.jsxs("div",rTe({className:r},{children:[t.jsx(BRe,{value:n,showWeekDay:!0},void 0)," - ",t.jsx(BRe,{value:i,showWeekDay:!0},void 0)]}),void 0)},GRe=y.default.time.withConfig({displayName:"DateTime__Host",componentId:"sc-ulo84j-0"})(ARe||(ARe=uTe(["\n white-space: nowrap;\n"],["\n white-space: nowrap;\n"]))),WRe=y.default.div.withConfig({displayName:"Divider",componentId:"sc-1qr9ydh-0"})(IRe||(IRe=uTe(["\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}),Iie),XRe=function(e){var n,i=e.children,r=oTe(e,["children"]);return t.jsx(a.Dropdown,rTe({},r,{calloutProps:rTe(rTe({},r.calloutProps||{}),{className:YB(_J,"lt-reach-dropdown",null===(n=r.calloutProps)||void 0===n?void 0:n.className)})},{children:i}),void 0)},VRe=function(e){var n=e.svg,i=e.icon,r=e.styleDefinition,o=e.emptyMessageResources,s=void 0===o?["EmptySearchResult.info1","EmptySearchResult.info2"]:o,l=e.additionalButton,u=e.className,c=(null==r?void 0:r.size)||"large";return t.jsx(YRe,rTe({className:u,offset:null==r?void 0:r.offset,"data-nothing-found":!0},{children:t.jsxs(ZRe,rTe({hasLargeParagraphStyle:!i,hasLargeSvgStyle:"large"===c},{children:[i&&t.jsx(a.Icon,{iconName:i},void 0),!i&&n,s.map((function(e,n){return t.jsx("p",{children:t.jsx(pS,{id:e},void 0)},n)})),l]}),void 0)}),void 0)},YRe=y.default.div.withConfig({displayName:"EmptyList__Container",componentId:"sc-11jeabk-0"})(zRe||(zRe=uTe(["\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?o.css(LRe||(LRe=uTe(["\n margin-top: ","px;\n "],["\n margin-top: ","px;\n "])),e.offset):o.css($Re||($Re=uTe(["\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 "])))})),ZRe=y.default.div.withConfig({displayName:"EmptyList__Inner",componentId:"sc-11jeabk-1"})(MRe||(MRe=uTe(["\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"])),L7,Z7,I7,(function(e){return!e.hasLargeSvgStyle&&o.css(RRe||(RRe=uTe(["\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 "])),V7,e.theme.palette.neutralSecondary,$7)}),(function(e){return e.hasLargeParagraphStyle&&e.hasLargeSvgStyle&&o.css(jRe||(jRe=uTe(["\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,L7,(function(e){return e.theme.palette.accent}),$7,$7,j7)}),(function(e){return e.theme.palette.accent}),3,q7,24,$7,$7),HRe=function(e,t){return null!=e&&(e&t)===t};y.default.p.withConfig({displayName:"ErrorSection__Host",componentId:"sc-1muscsm-0"})(QRe||(QRe=uTe(["\n max-width: 600px;\n margin: 0;\n"],["\n max-width: 600px;\n margin: 0;\n"])));var KRe=JAe,JRe=eIe,eje=nIe,tje=vTe,nje=cIe,ije=[],rje=ije.sort,oje=tje((function(){ije.sort(void 0)})),aje=tje((function(){ije.sort(null)})),sje=nje("sort");KRe({target:"Array",proto:!0,forced:oje||!aje||!sje},{sort:function(e){return void 0===e?rje.call(eje(this)):rje.call(eje(this),JRe(e))}});var lje=function(e){var n=e.languages,i=e.translations,r=e.onChange,o=e.placeholderStringResource,a=e.customPlaceholder,s=Wk(),l=s.formatMessage;return t.jsx(t.Fragment,{children:F9.apply(void 0,lTe([s],n)).sort((function(e,t){return e.localizedName<t.localizedName?-1:1})).map((function(e){return t.jsx(fje,{children:t.jsx(mje,{"data-translation-field":e.code,placeholder:null!=a?a:l({id:o},{lang:e.localizedName}),label:e.localizedName,value:i[e.code],onChange:function(t,n){var o;r(rTe(rTe({},i),((o={})[e.code]=n,o)))}},void 0)},e.code)}))},void 0)};y.default.div.withConfig({displayName:"FieldTranslationEditor__Host",componentId:"sc-1s8zb6d-0"})(uje||(uje=uTe(["\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 uje,cje,dje,pje,hje,fje=y.default.div.withConfig({displayName:"FieldTranslationEditor__TranslationField",componentId:"sc-1s8zb6d-1"})(cje||(cje=uTe(["\n display: flex;\n label {\n font-weight: bold !important;\n }\n"],["\n display: flex;\n label {\n font-weight: bold !important;\n }\n"]))),mje=y.default(a.TextField).withConfig({displayName:"FieldTranslationEditor__StyledTextField",componentId:"sc-1s8zb6d-2"})(dje||(dje=uTe(["\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"})(pje||(pje=uTe(["\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"})(hje||(hje=uTe(["\n display: flex;\n"],["\n display: flex;\n"])));var gje,vje=function(e){var n=i.useState(null==e.delay),r=n[0],o=n[1];return i.useEffect((function(){if(null!=!e.delay){var t=setTimeout((function(){return o(!0)}),e.delay);return function(){return clearTimeout(t)}}}),[e.delay]),r?t.jsx(yje,rTe({className:e.className},{children:t.jsx(a.Spinner,rTe({},e,{className:""}),void 0)}),void 0):null},yje=y.default.div.withConfig({displayName:"Spinner__Host",componentId:"sc-1wroad6-0"})(gje||(gje=uTe(["\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"]))),bje=mTe.Promise,Oje=uDe.exports,_je=oAe,wje=KTe,xje=yTe,kje=VIe("species"),Sje=function(e){var t=_je(e),n=wje.f;xje&&t&&!t[kje]&&n(t,kje,{configurable:!0,get:function(){return this}})},Pje={exports:{}},Eje=DLe,Cje=VIe("iterator"),Fje=Array.prototype,Tje=eIe,Dje=function(e,t,n){if(Tje(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)}},Aje={};Aje[VIe("toStringTag")]="z";var Ije="[object z]"===String(Aje),Lje=STe,$je=VIe("toStringTag"),zje="Arguments"==Lje(function(){return arguments}()),Rje=Ije?Lje: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),$je))?n:zje?Lje(t):"Object"==(i=Lje(t))&&"function"==typeof t.callee?"Arguments":i},jje=Rje,Mje=DLe,Qje=VIe("iterator"),Nje=eDe,Uje=eDe,Bje=function(e){return void 0!==e&&(Eje.Array===e||Fje[Cje]===e)},qje=pAe,Gje=Dje,Wje=function(e){if(null!=e)return e[Qje]||e["@@iterator"]||Mje[jje(e)]},Xje=function(e,t,n,i){try{return i?t(Nje(n)[0],n[1]):t(n)}catch(t){var r=e.return;throw void 0!==r&&Nje(r.call(e)),t}},Vje=function(e,t){this.stopped=e,this.result=t},Yje=Pje.exports=function(e,t,n,i,r){var o,a,s,l,u,c,d,p=Gje(t,n,i?2:1);if(r)o=e;else{if("function"!=typeof(a=Wje(e)))throw TypeError("Target is not iterable");if(Bje(a)){for(s=0,l=qje(e.length);l>s;s++)if((u=i?p(Uje(d=e[s])[0],d[1]):p(e[s]))&&u instanceof Vje)return u;return new Vje(!1)}o=a.call(e)}for(c=o.next;!(d=c.call(o)).done;)if("object"==typeof(u=Xje(o,p,d.value,i))&&u&&u instanceof Vje)return u;return new Vje(!1)};Yje.stop=function(e){return new Vje(!0,e)};var Zje=VIe("iterator"),Hje=!1;try{var Kje=0,Jje={next:function(){return{done:!!Kje++}},return:function(){Hje=!0}};Jje[Zje]=function(){return this},Array.from(Jje,(function(){throw 2}))}catch(e){}var eMe,tMe,nMe,iMe=eDe,rMe=eIe,oMe=VIe("species"),aMe=function(e,t){var n,i=iMe(e).constructor;return void 0===i||null==(n=iMe(i)[oMe])?t:rMe(n)},sMe=oAe("navigator","userAgent")||"",lMe=/(iphone|ipod|ipad).*applewebkit/i.test(sMe),uMe=mTe,cMe=vTe,dMe=STe,pMe=Dje,hMe=dLe,fMe=NTe,mMe=lMe,gMe=uMe.location,vMe=uMe.setImmediate,yMe=uMe.clearImmediate,bMe=uMe.process,OMe=uMe.MessageChannel,_Me=uMe.Dispatch,wMe=0,xMe={},kMe="onreadystatechange",SMe=function(e){if(xMe.hasOwnProperty(e)){var t=xMe[e];delete xMe[e],t()}},PMe=function(e){return function(){SMe(e)}},EMe=function(e){SMe(e.data)},CMe=function(e){uMe.postMessage(e+"",gMe.protocol+"//"+gMe.host)};vMe&&yMe||(vMe=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return xMe[++wMe]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},eMe(wMe),wMe},yMe=function(e){delete xMe[e]},"process"==dMe(bMe)?eMe=function(e){bMe.nextTick(PMe(e))}:_Me&&_Me.now?eMe=function(e){_Me.now(PMe(e))}:OMe&&!mMe?(nMe=(tMe=new OMe).port2,tMe.port1.onmessage=EMe,eMe=pMe(nMe.postMessage,nMe,1)):!uMe.addEventListener||"function"!=typeof postMessage||uMe.importScripts||cMe(CMe)||"file:"===gMe.protocol?eMe=kMe in fMe("script")?function(e){hMe.appendChild(fMe("script")).onreadystatechange=function(){hMe.removeChild(this),SMe(e)}}:function(e){setTimeout(PMe(e),0)}:(eMe=CMe,uMe.addEventListener("message",EMe,!1)));var FMe,TMe,DMe,AMe,IMe,LMe,$Me,zMe,RMe={set:vMe,clear:yMe},jMe=mTe,MMe=gTe.f,QMe=STe,NMe=RMe.set,UMe=lMe,BMe=jMe.MutationObserver||jMe.WebKitMutationObserver,qMe=jMe.process,GMe=jMe.Promise,WMe="process"==QMe(qMe),XMe=MMe(jMe,"queueMicrotask"),VMe=XMe&&XMe.value;VMe||(FMe=function(){var e,t;for(WMe&&(e=qMe.domain)&&e.exit();TMe;){t=TMe.fn,TMe=TMe.next;try{t()}catch(e){throw TMe?AMe():DMe=void 0,e}}DMe=void 0,e&&e.enter()},WMe?AMe=function(){qMe.nextTick(FMe)}:BMe&&!UMe?(IMe=!0,LMe=document.createTextNode(""),new BMe(FMe).observe(LMe,{characterData:!0}),AMe=function(){LMe.data=IMe=!IMe}):GMe&&GMe.resolve?($Me=GMe.resolve(void 0),zMe=$Me.then,AMe=function(){zMe.call($Me,FMe)}):AMe=function(){NMe.call(jMe,FMe)});var YMe=VMe||function(e){var t={fn:e,next:void 0};DMe&&(DMe.next=t),TMe||(TMe=t,AMe()),DMe=t},ZMe={},HMe=eIe,KMe=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=HMe(t),this.reject=HMe(n)};ZMe.f=function(e){return new KMe(e)};var JMe,eQe,tQe=eDe,nQe=ITe,iQe=ZMe,rQe=mTe,oQe=sMe,aQe=mTe.process,sQe=aQe&&aQe.versions,lQe=sQe&&sQe.v8;lQe?eQe=(JMe=lQe.split("."))[0]+JMe[1]:oQe&&(!(JMe=oQe.match(/Edge\/(\d+)/))||JMe[1]>=74)&&(JMe=oQe.match(/Chrome\/(\d+)/))&&(eQe=JMe[1]);var uQe,cQe,dQe,pQe,hQe=eQe&&+eQe,fQe=JAe,mQe=mTe,gQe=oAe,vQe=bje,yQe=uDe.exports,bQe=function(e,t,n){for(var i in t)Oje(e,i,t[i],n);return e},OQe=VLe,_Qe=Sje,wQe=ITe,xQe=eIe,kQe=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},SQe=STe,PQe=yDe,EQe=Pje.exports,CQe=function(e,t){if(!t&&!Hje)return!1;var n=!1;try{var i={};i[Zje]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n},FQe=aMe,TQe=RMe.set,DQe=YMe,AQe=function(e,t){if(tQe(e),nQe(t)&&t.constructor===e)return t;var n=iQe.f(e);return(0,n.resolve)(t),n.promise},IQe=function(e,t){var n=rQe.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))},LQe=ZMe,$Qe=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},zQe=XDe,RQe=GAe,jQe=hQe,MQe=VIe("species"),QQe="Promise",NQe=zQe.get,UQe=zQe.set,BQe=zQe.getterFor(QQe),qQe=vQe,GQe=mQe.TypeError,WQe=mQe.document,XQe=mQe.process,VQe=gQe("fetch"),YQe=LQe.f,ZQe=YQe,HQe="process"==SQe(XQe),KQe=!!(WQe&&WQe.createEvent&&mQe.dispatchEvent),JQe="unhandledrejection",eNe=RQe(QQe,(function(){if(!(PQe(qQe)!==String(qQe))){if(66===jQe)return!0;if(!HQe&&"function"!=typeof PromiseRejectionEvent)return!0}if(jQe>=51&&/native code/.test(qQe))return!1;var e=qQe.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[MQe]=t,!(e.then((function(){}))instanceof t)})),tNe=eNe||!CQe((function(e){qQe.all(e).catch((function(){}))})),nNe=function(e){var t;return!(!wQe(e)||"function"!=typeof(t=e.then))&&t},iNe=function(e,t,n){if(!t.notified){t.notified=!0;var i=t.reactions;DQe((function(){for(var r=t.value,o=1==t.state,a=0;i.length>a;){var s,l,u,c=i[a++],d=o?c.ok:c.fail,p=c.resolve,h=c.reject,f=c.domain;try{d?(o||(2===t.rejection&&sNe(e,t),t.rejection=1),!0===d?s=r:(f&&f.enter(),s=d(r),f&&(f.exit(),u=!0)),s===c.promise?h(GQe("Promise-chain cycle")):(l=nNe(s))?l.call(s,p,h):p(s)):h(r)}catch(e){f&&!u&&f.exit(),h(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&oNe(e,t)}))}},rNe=function(e,t,n){var i,r;KQe?((i=WQe.createEvent("Event")).promise=t,i.reason=n,i.initEvent(e,!1,!0),mQe.dispatchEvent(i)):i={promise:t,reason:n},(r=mQe["on"+e])?r(i):e===JQe&&IQe("Unhandled promise rejection",n)},oNe=function(e,t){TQe.call(mQe,(function(){var n,i=t.value;if(aNe(t)&&(n=$Qe((function(){HQe?XQe.emit("unhandledRejection",i,e):rNe(JQe,e,i)})),t.rejection=HQe||aNe(t)?2:1,n.error))throw n.value}))},aNe=function(e){return 1!==e.rejection&&!e.parent},sNe=function(e,t){TQe.call(mQe,(function(){HQe?XQe.emit("rejectionHandled",e):rNe("rejectionhandled",e,t.value)}))},lNe=function(e,t,n,i){return function(r){e(t,n,r,i)}},uNe=function(e,t,n,i){t.done||(t.done=!0,i&&(t=i),t.value=n,t.state=2,iNe(e,t,!0))},cNe=function(e,t,n,i){if(!t.done){t.done=!0,i&&(t=i);try{if(e===n)throw GQe("Promise can't be resolved itself");var r=nNe(n);r?DQe((function(){var i={done:!1};try{r.call(n,lNe(cNe,e,i,t),lNe(uNe,e,i,t))}catch(n){uNe(e,i,n,t)}})):(t.value=n,t.state=1,iNe(e,t,!1))}catch(n){uNe(e,{done:!1},n,t)}}};eNe&&(qQe=function(e){kQe(this,qQe,QQe),xQe(e),uQe.call(this);var t=NQe(this);try{e(lNe(cNe,this,t),lNe(uNe,this,t))}catch(e){uNe(this,t,e)}},(uQe=function(e){UQe(this,{type:QQe,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=bQe(qQe.prototype,{then:function(e,t){var n=BQe(this),i=YQe(FQe(this,qQe));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=HQe?XQe.domain:void 0,n.parent=!0,n.reactions.push(i),0!=n.state&&iNe(this,n,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),cQe=function(){var e=new uQe,t=NQe(e);this.promise=e,this.resolve=lNe(cNe,e,t),this.reject=lNe(uNe,e,t)},LQe.f=YQe=function(e){return e===qQe||e===dQe?new cQe(e):ZQe(e)},"function"==typeof vQe&&(pQe=vQe.prototype.then,yQe(vQe.prototype,"then",(function(e,t){var n=this;return new qQe((function(e,t){pQe.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof VQe&&fQe({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return AQe(qQe,VQe.apply(mQe,arguments))}}))),fQe({global:!0,wrap:!0,forced:eNe},{Promise:qQe}),OQe(qQe,QQe,!1),_Qe(QQe),dQe=gQe(QQe),fQe({target:QQe,stat:!0,forced:eNe},{reject:function(e){var t=YQe(this);return t.reject.call(void 0,e),t.promise}}),fQe({target:QQe,stat:!0,forced:eNe},{resolve:function(e){return AQe(this,e)}}),fQe({target:QQe,stat:!0,forced:tNe},{all:function(e){var t=this,n=YQe(t),i=n.resolve,r=n.reject,o=$Qe((function(){var n=xQe(t.resolve),o=[],a=0,s=1;EQe(e,(function(e){var l=a++,u=!1;o.push(void 0),s++,n.call(t,e).then((function(e){u||(u=!0,o[l]=e,--s||i(o))}),r)})),--s||i(o)}));return o.error&&r(o.value),n.promise},race:function(e){var t=this,n=YQe(t),i=n.reject,r=$Qe((function(){var r=xQe(t.resolve);EQe(e,(function(e){r.call(t,e).then(n.resolve,i)}))}));return r.error&&i(r.value),n.promise}});var dNe={},pNe=vTe;function hNe(e,t){return RegExp(e,t)}dNe.UNSUPPORTED_Y=pNe((function(){var e=hNe("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),dNe.BROKEN_CARET=pNe((function(){var e=hNe("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));var fNe=Qze,mNe=dNe,gNe=RegExp.prototype.exec,vNe=String.prototype.replace,yNe=gNe,bNe=function(){var e=/a/,t=/b*/g;return gNe.call(e,"a"),gNe.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),ONe=mNe.UNSUPPORTED_Y||mNe.BROKEN_CARET,_Ne=void 0!==/()??/.exec("")[1];(bNe||_Ne||ONe)&&(yNe=function(e){var t,n,i,r,o=this,a=ONe&&o.sticky,s=fNe.call(o),l=o.source,u=0,c=e;return a&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),c=String(e).slice(o.lastIndex),o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==e[o.lastIndex-1])&&(l="(?: "+l+")",c=" "+c,u++),n=new RegExp("^(?:"+l+")",s)),_Ne&&(n=new RegExp("^"+l+"$(?!\\s)",s)),bNe&&(t=o.lastIndex),i=gNe.call(a?n:o,c),a?i?(i.input=i.input.slice(u),i[0]=i[0].slice(u),i.index=o.lastIndex,o.lastIndex+=i[0].length):o.lastIndex=0:bNe&&i&&(o.lastIndex=o.global?i.index+i[0].length:t),_Ne&&i&&i.length>1&&vNe.call(i[0],n,(function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(i[r]=void 0)})),i});var wNe=yNe;JAe({target:"RegExp",proto:!0,forced:/./.exec!==wNe},{exec:wNe});var xNe,kNe=uDe.exports,SNe=vTe,PNe=VIe,ENe=wNe,CNe=lDe,FNe=PNe("species"),TNe=!SNe((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),DNe="$0"==="a".replace(/./,"$0"),ANe=PNe("replace"),INe=!!/./[ANe]&&""===/./[ANe]("a","$0"),LNe=!SNe((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]})),$Ne=function(e,t,n,i){var r=PNe(e),o=!SNe((function(){var t={};return t[r]=function(){return 7},7!=""[e](t)})),a=o&&!SNe((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[FNe]=function(){return n},n.flags="",n[r]=/./[r]),n.exec=function(){return t=!0,null},n[r](""),!t}));if(!o||!a||"replace"===e&&(!TNe||!DNe||INe)||"split"===e&&!LNe){var s=/./[r],l=n(r,""[e],(function(e,t,n,i,r){return t.exec===ENe?o&&!r?{done:!0,value:s.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}}),{REPLACE_KEEPS_$0:DNe,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:INe}),u=l[0],c=l[1];kNe(String.prototype,e,u),kNe(RegExp.prototype,r,2==t?function(e,t){return c.call(e,this,t)}:function(e){return c.call(e,this)})}i&&CNe(RegExp.prototype[r],"sham",!0)},zNe=uAe,RNe=FTe,jNe=function(e){return function(t,n){var i,r,o=String(RNe(t)),a=zNe(n),s=o.length;return a<0||a>=s?e?"":void 0:(i=o.charCodeAt(a))<55296||i>56319||a+1===s||(r=o.charCodeAt(a+1))<56320||r>57343?e?o.charAt(a):i:e?o.slice(a,a+2):r-56320+(i-55296<<10)+65536}},MNe={codeAt:jNe(!1),charAt:jNe(!0)}.charAt,QNe=function(e,t,n){return t+(n?MNe(e,t).length:1)},NNe=STe,UNe=wNe,BNe=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"!==NNe(e))throw TypeError("RegExp#exec called on incompatible receiver");return UNe.call(e,t)},qNe=$Ne,GNe=KIe,WNe=eDe,XNe=FTe,VNe=aMe,YNe=QNe,ZNe=pAe,HNe=BNe,KNe=wNe,JNe=vTe,eUe=[].push,tUe=Math.min,nUe=4294967295,iUe=!JNe((function(){return!RegExp(nUe,"y")}));qNe("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(XNe(this)),r=void 0===n?nUe:n>>>0;if(0===r)return[];if(void 0===e)return[i];if(!GNe(e))return t.call(i,e,r);for(var o,a,s,l=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),c=0,d=new RegExp(e.source,u+"g");(o=KNe.call(d,i))&&!((a=d.lastIndex)>c&&(l.push(i.slice(c,o.index)),o.length>1&&o.index<i.length&&eUe.apply(l,o.slice(1)),s=o[0].length,c=a,l.length>=r));)d.lastIndex===o.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=XNe(this),o=null==t?void 0:t[e];return void 0!==o?o.call(t,r,n):i.call(String(r),t,n)},function(e,r){var o=n(i,e,this,r,i!==t);if(o.done)return o.value;var a=WNe(e),s=String(this),l=VNe(a,RegExp),u=a.unicode,c=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(iUe?"y":"g"),d=new l(iUe?a:"^(?:"+a.source+")",c),p=void 0===r?nUe:r>>>0;if(0===p)return[];if(0===s.length)return null===HNe(d,s)?[s]:[];for(var h=0,f=0,m=[];f<s.length;){d.lastIndex=iUe?f:0;var g,v=HNe(d,iUe?s:s.slice(f));if(null===v||(g=tUe(ZNe(d.lastIndex+(iUe?0:f)),s.length))===h)f=YNe(s,f,u);else{if(m.push(s.slice(h,f)),m.length===p)return m;for(var y=1;y<=v.length-1;y++)if(m.push(v[y]),m.length===p)return m;f=h=g}}return m.push(s.slice(h)),m}]}),!iUe),function(e){e.mp4="video/mp4",e.webm="video/webm",e.quicktime="video/quicktime"}(xNe||(xNe={}));var rUe=function(e){var n=e.fileName,i=e.url,r=e.onPlay;if(!i)return null;var o="safari"===ag?i+"#t=0.1":i;return t.jsxs("div",rTe({className:"lt-reach-embedded-video"},{children:[t.jsx(Hze,{fileName:n,url:i},void 0),t.jsxs("video",rTe({onPlay:function(){return null==r?void 0:r(i)},preload:"metadata",controls:!0,title:n,width:"auto",height:"auto"},{children:[t.jsx("source",{src:o,type:"video/mp4"},void 0),t.jsx(pS,{id:"Generic.videoReplayError",tagName:"p"},void 0)]}),void 0)]}),void 0)};function oUe(e){var t,n="mac"===os.deviceInfo.operatingSystem,i=null===(t=cG.getType(e))||void 0===t?void 0:t.toString();return!!i&&(!!i.startsWith(xNe.mp4)||(n?i.startsWith(xNe.quicktime):i.startsWith(xNe.webm)))}var aUe,sUe,lUe=function(e,t){return"\n box-shadow: "+e/2+"px "+t/2+"px "+(Math.abs(e)+Math.abs(t))+"px grey;\n "},uUe=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 "},cUe=function(e,t,n){return o.css(sUe||(sUe=uTe(["\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 dUe(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 pUe(e){return aTe(this,void 0,void 0,(function(){return sTe(this,(function(t){switch(t.label){case 0:return null==e||0===e.length?[2,null]:[4,Promise.all(e.map(dUe))];case 1:return[2,t.sent()]}}))}))}function hUe(e){return eRe(e)?"MusicInCollectionFill":oUe(e)?"Video":gUe(null==e?void 0:e.split(".").pop().toLowerCase())}function fUe(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 mUe(e){switch(e){case"VisioDocument":case"WordDocument":case"ExcelDocument":case"PowerPointDocument":return-55;default:return-50}}function gUe(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 vUe(){var e=oB(),t=rB(),n=t.createApiUrl,r=t.fetchFromApi,o=i.useContext(OS).identifier,a=Am(),s=hee().interaction,l=null==o?void 0:o.id;return i.useMemo((function(){return{exchangeShortLivedToken:function(e){return aTe(this,void 0,void 0,(function(){var t;return sTe(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 o=this;return function(){return aTe(o,void 0,void 0,(function(){var o;return sTe(this,(function(l){switch(l.label){case 0:return[4,t()];case 1:return o=l.sent(),window.open(o,"ios"===a.deviceInfo.operatingSystem?"_self":e),s({event:oee.downloadFile,action:aee.click,value:o,item:{id:n,type:i,parentId:r}}),[2]}}))}))}}}}),[l,r,n,e,module])}var yUe,bUe,OUe,_Ue,wUe,xUe,kUe,SUe,PUe,EUe,CUe,FUe,TUe,DUe,AUe,IUe,LUe,$Ue,zUe=function(e){var n=e.files,i=e.onDeleteClick,r=e.getFileUrl,o=e.fileAccessToken,a=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 p=n.filter((function(e){return r&&eRe(e.filename)})),h=n.filter((function(e){return r&&oUe(e.filename)})),f=n.filter((function(e){return!p.includes(e)&&!h.includes(e)}));return t.jsxs(t.Fragment,{children:[h.length>0&&t.jsx(jUe,rTe({className:d,"data-preload-video":"safari"===ag},{children:h.map((function(e){return t.jsx(MUe,{children:t.jsx(rUe,{fileName:e.filename,url:r(e.id),onPlay:function(t){return a(t,e.id)}},void 0)},e.id)}))}),void 0),p.length>0&&t.jsx(RUe,rTe({className:d},{children:p.map((function(e){return t.jsx(QUe,{children:t.jsx(Jze,{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(RUe,rTe({className:d},{children:f.map((function(e){return t.jsx(QUe,{children:t.jsx(NUe,{attachment:e,disabled:l,getFileUrl:r,fileAccessToken:o,onDeleteClick:i,itemResourceType:c,parentId:u},void 0)},e.id)}))}),void 0)]},void 0)},RUe=y.default.ul.withConfig({displayName:"FileAttachmentList__FilesListHost",componentId:"sc-lwztxx-0"})(yUe||(yUe=uTe(["\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"]))),jUe=y.default.ul.withConfig({displayName:"FileAttachmentList__VideoFilesListHost",componentId:"sc-lwztxx-1"})(bUe||(bUe=uTe(["\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),MUe=y.default.li.withConfig({displayName:"FileAttachmentList__VideoFileItem",componentId:"sc-lwztxx-2"})(OUe||(OUe=uTe(["\n &:not(:first-child) {\n margin-top: ","px;\n }\n"],["\n &:not(:first-child) {\n margin-top: ","px;\n }\n"])),I7),QUe=y.default.li.withConfig({displayName:"FileAttachmentList__FileItem",componentId:"sc-lwztxx-3"})(_Ue||(_Ue=uTe(["\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"])),I7,j7,5),NUe=function(e){var n=e.attachment,i=e.onDeleteClick,r=e.getFileUrl,o=e.fileAccessToken,s=e.disabled,l=e.parentId,u=e.itemResourceType,c=Wk().formatMessage,d=!s&&i,p=vUe(),h=p.exchangeShortLivedToken,f=p.createDownloadClickHandler;return t.jsxs(UUe,{children:[n.isUploadInProgress&&t.jsx(YUe,{children:t.jsx(ZUe,{size:a.SpinnerSize.medium},void 0)},void 0),t.jsx(qUe,rTe({takeFullWidth:!d},{children:function(){var e=this;if(n.hasError)return t.jsxs(GUe,{children:[t.jsx(HUe,{iconName:"Warning"},void 0),t.jsx(VUe,rTe({title:n.filename},{children:n.filename}),void 0)]},void 0);var i=hUe(n.filename);if(r)return t.jsxs(BUe,rTe({title:n.filename,onClick:f("_blank",(function(){return aTe(e,void 0,void 0,(function(){var e;return sTe(this,(function(t){switch(t.label){case 0:return[4,h(o)];case 1:return e=t.sent(),[2,r(n.id,e)]}}))}))}),n.id,u,l)},{children:[t.jsx(WUe,{iconName:i},void 0),t.jsx(VUe,{children:n.filename},void 0)]}),void 0);return t.jsxs(GUe,{children:[t.jsx(WUe,{iconName:i},void 0),t.jsx(VUe,rTe({title:n.filename},{children:n.filename}),void 0)]},void 0)}()}),void 0),d&&t.jsx(XUe,{iconProps:{iconName:"Delete"},onClick:function(){return i(n)},disabled:n.isUploadInProgress,ariaLabel:c({id:"AriaLabel.removeAttachmentButton"})},void 0)]},void 0)},UUe=y.default.div.withConfig({displayName:"FileAttachmentList__Host",componentId:"sc-lwztxx-4"})(wUe||(wUe=uTe(["\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})),BUe=y.default(a.DefaultButton).withConfig({displayName:"FileAttachmentList__DownloadButton",componentId:"sc-lwztxx-5"})(xUe||(xUe=uTe(["\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}),I7,(function(e){return e.theme.textColors.default})),qUe=y.default.span.withConfig({displayName:"FileAttachmentList__Inner",componentId:"sc-lwztxx-6"})(PUe||(PUe=uTe(["\n display: inline-flex;\n\n ","\n"],["\n display: inline-flex;\n\n ","\n"])),(function(e){return e.takeFullWidth?o.css(kUe||(kUe=uTe(["\n width: 100%;\n "],["\n width: 100%;\n "]))):o.css(SUe||(SUe=uTe(["\n width: calc(100% - 34px); // delete button size;\n "],["\n width: calc(100% - 34px); // delete button size;\n "])))})),GUe=y.default.span.withConfig({displayName:"FileAttachmentList__FileNameContainer",componentId:"sc-lwztxx-7"})(EUe||(EUe=uTe(["\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"])),I7),WUe=y.default(a.Icon).withConfig({displayName:"FileAttachmentList__FileIcon",componentId:"sc-lwztxx-8"})(CUe||(CUe=uTe(["\n margin-right: ","px;\n font-size: 18px;\n"],["\n margin-right: ","px;\n font-size: 18px;\n"])),I7),XUe=y.default(a.IconButton).withConfig({displayName:"FileAttachmentList__DeleteButton",componentId:"sc-lwztxx-9"})(FUe||(FUe=uTe(["\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})),VUe=y.default.span.withConfig({displayName:"FileAttachmentList__FileName",componentId:"sc-lwztxx-10"})(TUe||(TUe=uTe(["\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"]))),YUe=y.default.div.withConfig({displayName:"FileAttachmentList__AttachmentOverlay",componentId:"sc-lwztxx-11"})(DUe||(DUe=uTe(["\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"]))),ZUe=y.default(vje).withConfig({displayName:"FileAttachmentList__CenteredSpinner",componentId:"sc-lwztxx-12"})(AUe||(AUe=uTe(["\n margin-top: auto;\n height: 100%;\n"],["\n margin-top: auto;\n height: 100%;\n"]))),HUe=y.default(a.Icon).withConfig({displayName:"FileAttachmentList__WarningIcon",componentId:"sc-lwztxx-13"})(IUe||(IUe=uTe(["\n font-size: 20px;\n color: ",";\n"],["\n font-size: 20px;\n color: ",";\n"])),(function(e){return e.theme.palette.redDark})),KUe=function(e){var n,i=e.children,r=oTe(e,["children"]);return t.jsxs(t.Fragment,{children:[t.jsx(JUe,{},void 0),t.jsx(dTe,rTe({},r,{modalProps:rTe(rTe({},r.modalProps||{}),{className:YB({"lt-reach-dialog-mobile-full-height":os.isAnyMobileApp},null===(n=r.modalProps)||void 0===n?void 0:n.className)})},{children:i}),void 0)]},void 0)},JUe=o.createGlobalStyle(LUe||(LUe=uTe(['\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"}($Ue||($Ue={}));var eBe=function(e){var n=e.className,i=e.offsetTop,r=void 0===i?0:i,o=e.positionBottomOnMobile,a=e.domIdentifier,s=e.offsetRight,l=void 0===s?0:s,u=e.children;return t.jsxs(iBe,rTe({offsetTop:r,offsetRight:l,className:n,positionBottomOnMobile:o,"data-fab":a},{children:[t.jsx(oBe,{},void 0),u]}),void 0)},tBe=function(e){var n=e.iconName,i=e.onClick,r=e.tooltipResourceKey,o=e.useSecondaryBgColor,a=e.domIdentifier,s=e.className,l=Wk().formatMessage;return t.jsxs(aze,rTe({className:s,resourceKey:r},{children:[t.jsx(oBe,{},void 0),t.jsx(aBe,{"data-fab":a,iconProps:{iconName:n},onClick:i,ariaLabel:l({id:r}),useSecondaryBgColor:o},void 0)]}),void 0)},nBe=function(e){var n=e.iconName,r=e.tooltipResourceKey,o=e.titleResourceKey,s=e.showCloseButton,l=e.useSecondaryBgColor,u=e.children,c=e.domIdentifier,d=e.useMobileFullHeight,p=Wk().formatMessage,h=i.useState(!1),f=h[0],m=h[1],g=i.useRef(null),v=os.isAnyMobileApp;return t.jsxs(t.Fragment,{children:[t.jsx("div",rTe({ref:g},{children:t.jsx(tBe,{"data-fab":c,tooltipResourceKey:r,iconName:n,onClick:function(){return m(!f)},useSecondaryBgColor:l},void 0)}),void 0),f&&v&&d&&t.jsxs(KUe,rTe({hidden:!f,modalProps:{isBlocking:!1,className:"dialog-mobile-full-height"},dialogContentProps:{showCloseButton:!0,type:a.DialogType.close,title:p({id:o})},onDismiss:function(){return m(!1)}},{children:[t.jsx(wBe,{},void 0),u]}),void 0),f&&v&&!d&&t.jsxs(dTe,rTe({hidden:!f},{children:[u,t.jsx(a.DialogFooter,{children:t.jsx(a.DefaultButton,{text:p({id:"Generic.close"}),onClick:function(){return m(!1)}},void 0)},void 0)]}),void 0),f&&!v&&t.jsx(ORe,rTe({target:g.current,directionalHint:a.DirectionalHint.bottomRightEdge,onDismiss:function(){return m(!1)}},{children:t.jsxs(OBe,{children:[u,s&&t.jsx(_Be,{text:p({id:"Generic.close"}),onClick:function(){return m(!1)}},void 0)]},void 0)}),void 0)]},void 0)},iBe=y.default.nav.withConfig({displayName:"FloatingActionButton__Navigation",componentId:"sc-1spkihm-0"})(uBe||(uBe=uTe(["\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?o.css(sBe||(sBe=uTe(["\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 "])),M7,e.offsetTop+20):o.css(lBe||(lBe=uTe(["\n top: ","px;\n "],["\n top: ","px;\n "])),e.offsetTop+20)})),rBe=function(e){return o.css(pBe||(pBe=uTe(["\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?o.css(cBe||(cBe=uTe(["\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})):o.css(dBe||(dBe=uTe(["\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})))},oBe=o.createGlobalStyle(hBe||(hBe=uTe(["\n ","\n"],["\n ","\n"])),(function(e){return yJ("\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 ")})),aBe=y.default(a.IconButton).withConfig({displayName:"FloatingActionButton__StyledFabIconButton",componentId:"sc-1spkihm-1"})(fBe||(fBe=uTe(["\n &&& {\n ","\n }\n"],["\n &&& {\n ","\n }\n"])),(function(e){return rBe(e.useSecondaryBgColor)}));y.default(aze).withConfig({displayName:"FloatingActionButton__StyledTooltip",componentId:"sc-1spkihm-2"})(mBe||(mBe=uTe(["\n a,\n a:visited {\n ","\n }\n"],["\n a,\n a:visited {\n ","\n }\n"])),(function(e){return rBe(e.useSecondaryBgColor)}));var sBe,lBe,uBe,cBe,dBe,pBe,hBe,fBe,mBe,gBe,vBe,yBe,bBe,OBe=y.default.div.withConfig({displayName:"FloatingActionButton__CalloutHost",componentId:"sc-1spkihm-3"})(gBe||(gBe=uTe(["\n display: flex;\n flex-direction: column;\n padding: ","px;\n"],["\n display: flex;\n flex-direction: column;\n padding: ","px;\n"])),L7),_Be=y.default(a.DefaultButton).withConfig({displayName:"FloatingActionButton__CalloutCloseButton",componentId:"sc-1spkihm-4"})(vBe||(vBe=uTe(["\n && {\n margin-left: auto;\n }\n"],["\n && {\n margin-left: auto;\n }\n"]))),wBe=o.createGlobalStyle(yBe||(yBe=uTe(["\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"])),B7),xBe=function(e){var n=e.tagName,r=void 0===n?"div":n,o=e.id,a=e.values,s=e.className;return i.createElement(r,{className:s},t.jsx(pS,{id:o,values:a},void 0))},kBe=function(e){var n=e.icon,i=e.resourceKey,r=e.className,o=e.values,s="string"==typeof n?t.jsx(a.Icon,{iconName:n},void 0):n;return t.jsxs(SBe,rTe({className:r},{children:[s,t.jsx(pS,{id:i,values:o,tagName:"span"},void 0)]}),void 0)},SBe=y.default.div(bBe||(bBe=uTe(["\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,Z7),PBe={},EBe=new yq;var CBe=new yq;function FBe(e){var t=i.useRef(!0);i.useEffect((function(){t.current||CBe.next(),t.current=!1}),e)}var TBe,DBe,ABe,IBe,LBe=function(e){var n=e.groupName,r=e.groupId,o=e.keywordName,a=e.keywordId,s=e.language,l=e.underlined,u=e.onClick,c=e.tabIndex,d=m5(),p=A9(i.useContext(pre).selectedKeywordGroups,d,r,o,n,s);return u?t.jsx(zBe,rTe({onClick:function(){return u(a)},tabIndex:c},{children:t.jsx(RBe,rTe({underlined:!0},{children:p}),void 0)}),void 0):t.jsx(RBe,rTe({underlined:l},{children:p}),void 0)},$Be=function(e){var n=e.groupId,r=e.keywordName,o=m5(),a=A9(i.useContext(pre).selectedKeywordGroups,o,n,r);return FBe([a]),t.jsx(RBe,rTe({underlined:!0},{children:a}),void 0)},zBe=y.default(mRe).withConfig({displayName:"KeywordTitle__KeywordButton",componentId:"sc-18jcqyr-0"})(TBe||(TBe=uTe(["\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})),RBe=y.default.span.withConfig({displayName:"KeywordTitle__Keyword",componentId:"sc-18jcqyr-1"})(ABe||(ABe=uTe(["\n ","\n"],["\n ","\n"])),(function(e){return e.underlined&&o.css(DBe||(DBe=uTe(["\n text-decoration: underline;\n "],["\n text-decoration: underline;\n "])))})),jBe=function(e){var n=e.modified,i=Wk();return n?t.jsxs(MBe,rTe({className:"ms-fontColor-neutralTertiary"},{children:["(",t.jsx(aze,rTe({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(pS,{id:"Generic.wasModified"},void 0)}),void 0),")"]}),void 0):null},MBe=y.default.div(IBe||(IBe=uTe(["\n font-size: ","px;\n"],["\n font-size: ","px;\n"])),H7);function QBe(){return QBe=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},QBe.apply(this,arguments)}var NBe=function(e){return m.createElement("svg",QBe({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 UBe(){return UBe=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},UBe.apply(this,arguments)}var BBe=function(e){return m.createElement("svg",UBe({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 qBe(){return qBe=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},qBe.apply(this,arguments)}var GBe=function(e){return m.createElement("svg",qBe({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 WBe(){return WBe=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},WBe.apply(this,arguments)}var XBe,VBe,YBe,ZBe,HBe,KBe,JBe,eqe,tqe,nqe,iqe,rqe=function(e){return m.createElement("svg",WBe({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}}))},oqe=function(e){var n=e.images,i=e.selectedIndex,r=e.hidden,o=e.onClose,s=e.imageUrlResolver,l=$w((function(){return aTe(this,void 0,void 0,(function(){var e;return sTe(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}):dUe(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(a.Layer,{children:t.jsx(aqe,{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:o},void 0)},void 0)},aqe=function(e){var n=e.images,r=e.hidden,o=e.selectedIndex,a=e.onClose,s=Wk().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 ioe(l.current,ooe,n.map((function(e){return{src:e.large,msrc:e.thumbnail,w:e.width,h:e.height,title:e.caption}})),{index:o});return e.listen("close",a),e.init(),e}()}),200),function(){return null==e?void 0:e.close()}}),[r,o]),t.jsxs(t.Fragment,{children:[t.jsx(sqe,{enforceArrowVisibility:!os.isNativeMobileApp},void 0),t.jsxs("div",rTe({ref:l,className:"pswp",tabIndex:-1,role:"dialog","aria-hidden":"true"},{children:[t.jsx("div",{className:"pswp__bg"},void 0),t.jsxs("div",rTe({className:"pswp__scroll-wrap"},{children:[t.jsxs("div",rTe({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",rTe({className:"pswp__ui pswp__ui--hidden"},{children:[t.jsxs("div",rTe({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",rTe({className:"pswp__preloader"},{children:t.jsx("div",rTe({className:"pswp__preloader__icn"},{children:t.jsx("div",rTe({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",rTe({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",rTe({className:"pswp__caption"},{children:t.jsx("div",{className:"pswp__caption__center"},void 0)}),void 0)]}),void 0)]}),void 0)]}),void 0)]},void 0)},sqe=o.createGlobalStyle(VBe||(VBe=uTe(["\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&&o.css(XBe||(XBe=uTe(["\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 "])))})),lqe=function(e){var n=e.images,r=e.imageUrlResolver,o=e.disableRoundedCorners,s=e.gridBackgroundColor,l=e.className,u=Wk().formatMessage,c=i.useState(null),d=c[0],p=c[1],h=i.useContext(Qie).theme.palette;if(!n||0===n.length)return null;var f=n.length>4,m=n.length>1,g=n[0];return t.jsxs(cqe,rTe({"data-multi-images":m,className:l,singleImageHeight:g.height,singleImageWidth:g.width},{children:[t.jsx("div",rTe({"data-gallery-wrapper":!0},{children:m?t.jsxs(t.Fragment,{children:[t.jsx(pqe,rTe({backgroundColor:null!=s?s:h.neutralLight,applyRoundedCorners:!o},{children:n.slice(0,4).map((function(e,n){return t.jsx(hqe,rTe({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(fqe,{src:e.previewUrl,imageFit:a.ImageFit.centerCover,alt:e.imageTitle||""},void 0)}),n)}))}),void 0),f&&t.jsxs(mqe,rTe({onClick:function(){return v(4)}},{children:["+",n.length-4]}),void 0)]},void 0):t.jsx(uqe,{image:g,onClick:function(){return v(0)},disableRoundedCorners:o},void 0)}),void 0),t.jsx(oqe,{images:n,selectedIndex:d,hidden:null==d,onClose:function(){p(null)},imageUrlResolver:r},void 0)]}),void 0);function v(e){p(e)}},uqe=function(e){var n=e.image,i=e.onClick,r=e.disableRoundedCorners,o=Wk().formatMessage;return t.jsx(dqe,rTe({href:n.previewUrl,onClick:function(e){e.stopPropagation(),e.preventDefault(),i()},applyRoundedCorners:!r,"aria-label":o({id:"AriaLabel.viewImage"}),"data-clickable-overlay":!0},{children:t.jsx("img",{src:n.previewUrl,alt:""},void 0)}),void 0)},cqe=y.default.div.withConfig({displayName:"PhotoGrid__Host",componentId:"sc-flk193-0"})(ZBe||(ZBe=uTe(["\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&&o.css(YBe||(YBe=uTe(["\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)})),dqe=y.default.a.withConfig({displayName:"PhotoGrid__SingleImageHost",componentId:"sc-flk193-1"})(KBe||(KBe=uTe(["\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&&o.css(HBe||(HBe=uTe(["\n border-radius: 10px;\n "],["\n border-radius: 10px;\n "])))})),pqe=y.default.div.withConfig({displayName:"PhotoGrid__Gallery",componentId:"sc-flk193-2"})(eqe||(eqe=uTe(["\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&&o.css(JBe||(JBe=uTe(["\n border-radius: 10px;\n "],["\n border-radius: 10px;\n "])))})),hqe=y.default.a.withConfig({displayName:"PhotoGrid__ImageItem",componentId:"sc-flk193-3"})(tqe||(tqe=uTe(["\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"]))),fqe=y.default(a.Image).withConfig({displayName:"PhotoGrid__StyledImage",componentId:"sc-flk193-4"})(nqe||(nqe=uTe(["\n height: 100%;\n"],["\n height: 100%;\n"]))),mqe=y.default(a.DefaultButton).withConfig({displayName:"PhotoGrid__MoreIndicator",componentId:"sc-flk193-5"})(iqe||(iqe=uTe(["\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"])),V7,j7,28);var gqe,vqe,yqe,bqe,Oqe,_qe,wqe=function(e){var n=e.icon,i=e.isActive,r=e.disabled,o=e.tooltipResourceKey,s=e.onClick,l=e.link,u=e.className,c=oTe(e,["icon","isActive","disabled","tooltipResourceKey","onClick","link","className"]),d=Wk().formatMessage;if(!l&&!s)return null;var p=YB("header-button",u),h=l?t.jsx(Sqe,rTe({className:p,to:l},c,{children:t.jsx(a.Icon,{iconName:n},void 0)}),void 0):t.jsx(kqe,rTe({className:p,disabled:r,onClick:function(e){return s(e.currentTarget)},iconProps:{iconName:n},ariaLabel:d({id:o}),"data-button-type":"header-btn",isActive:i},c),void 0);return t.jsx(xqe,rTe({className:"tooltip-container"},{children:t.jsx(aze,rTe({resourceKey:o},{children:h}),void 0)}),void 0)},xqe=y.default.div.withConfig({displayName:"IconHeaderButton__Host",componentId:"sc-1p61ffo-0"})(gqe||(gqe=uTe(["\n height: 100%;\n"],["\n height: 100%;\n"]))),kqe=y.default(a.IconButton).withConfig({displayName:"IconHeaderButton__Button",componentId:"sc-1p61ffo-1"})(bqe||(bqe=uTe(['\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&&o.css(vqe||(vqe=uTe(["\n color: ",";\n "],["\n color: ",";\n "])),e.theme.textColors.onPrimary)}),(function(e){return e.isActive&&o.css(yqe||(yqe=uTe(["\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)})),Sqe=y.default(r.Link).withConfig({displayName:"IconHeaderButton__StyledLink",componentId:"sc-1p61ffo-2"})(_qe||(_qe=uTe(["\n && {\n height: 100%;\n ",";\n }\n"],["\n && {\n height: 100%;\n ",";\n }\n"])),(function(e){return o.css(Oqe||(Oqe=uTe(["\n color: ",";\n "],["\n color: ",";\n "])),e.theme.textColors.onPrimary)})),Pqe="\t\n\v\f\r                 \u2028\u2029\ufeff",Eqe=FTe,Cqe="[\t\n\v\f\r                 \u2028\u2029\ufeff]",Fqe=RegExp("^"+Cqe+Cqe+"*"),Tqe=RegExp(Cqe+Cqe+"*$"),Dqe=function(e){return function(t){var n=String(Eqe(t));return 1&e&&(n=n.replace(Fqe,"")),2&e&&(n=n.replace(Tqe,"")),n}},Aqe={start:Dqe(1),end:Dqe(2),trim:Dqe(3)},Iqe=vTe,Lqe=Pqe,$qe=Aqe.trim,zqe=function(e){return Iqe((function(){return!!Lqe[e]()||"​…᠎"!="​…᠎"[e]()||Lqe[e].name!==e}))};JAe({target:"String",proto:!0,forced:zqe("trim")},{trim:function(){return $qe(this)}});var Rqe,jqe,Mqe,Qqe,Nqe,Uqe,Bqe,qqe,Gqe,Wqe,Xqe,Vqe,Yqe,Zqe,Hqe,Kqe,Jqe,eGe=function(e){var n=e.url,r=e.target,o=e.ariaLabel,a=e.children,s=e.className,l=e.style,u=oTe(e,["url","target","ariaLabel","children","className","style"]);g5();var c=hne(),d=i.useContext(vS);d.onOpenExternalLink;var p=d.tryGetInternalLink,h=!r&&p(n,c);return h?t.jsx(_ze,rTe({className:s,to:h,"data-link":D7.Internal,"aria-label":o,style:l},u,{children:a}),void 0):t.jsx(tGe,rTe({url:n,target:r,className:s,ariaLabel:o,style:l},u,{children:a}),void 0)},tGe=function(e){var n=e.url,i=e.target,r=e.ariaLabel,o=e.onClick,a=e.className,s=e.children,l=e.style,u=oTe(e,["url","target","ariaLabel","onClick","className","children","style"]);return t.jsx(Oze,rTe({href:n,onClick:function(e){return null==o?void 0:o(e)},className:a,target:void 0===i?"_blank":i,rel:"noopener noreferrer","aria-label":r,"data-link":D7.External,style:l},u,{children:s}),void 0)},nGe=o.css(Rqe||(Rqe=uTe(["\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"]))),iGe=y.default(eGe).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledLink",componentId:"sc-148nazl-0"})(jqe||(jqe=uTe(["\n ","\n"],["\n ","\n"])),nGe),rGe=y.default(tGe).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledExternalLink",componentId:"sc-148nazl-1"})(Mqe||(Mqe=uTe(["\n ","\n"],["\n ","\n"])),nGe),oGe=y.default(a.IconButton).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledIconButton",componentId:"sc-148nazl-2"})(Nqe||(Nqe=uTe(["\n border-radius: 0;\n\n ","\n"],["\n border-radius: 0;\n\n ","\n"])),(function(e){return e.active&&o.css(Qqe||(Qqe=uTe(["\n border-color: ",";\n "],["\n border-color: ",";\n "])),e.theme.palette.themePrimary)})),aGe=y.default((function(e){var n,i=e.iconName,r=e.ariaLabel,o=e.ariaLabelResourceKey,s=e.onClick,l=e.to,u=e.target,c=e.tooltipText,d=e.tooltipResourceKey,p=e.disabled,h=e.className,f=oTe(e,["iconName","ariaLabel","ariaLabelResourceKey","onClick","to","target","tooltipText","tooltipResourceKey","disabled","className"]),m=Wk().formatMessage,g=r||(null===(n=null==o?void 0:o.trim())||void 0===n?void 0:n.length)>0&&m({id:o});return t.jsxs(aze,rTe({resourceKey:d,text:c},{children:[l&&!s&&t.jsx(iGe,rTe({url:l,ariaLabel:g,target:u},f,{children:t.jsx(a.Icon,{iconName:i,className:h},void 0)}),void 0),s&&!l&&t.jsx(oGe,rTe({disabled:p,iconProps:{iconName:i},onClick:s,className:h,ariaLabel:g},f),void 0),s&&l&&t.jsx(rGe,rTe({url:l,target:u,ariaLabel:g,onClick:function(e){e.stopPropagation(),e.preventDefault(),s()}},{children:t.jsx(a.Icon,{iconName:i,className:h},void 0)}),void 0)]}),void 0)})).withConfig({displayName:"ToolbarIconButtonWithToolTip__ToolbarIconButton",componentId:"sc-148nazl-3"})(Bqe||(Bqe=uTe(["\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&&o.css(Uqe||(Uqe=uTe(["\n i {\n font-weight: bold;\n }\n "],["\n i {\n font-weight: bold;\n }\n "])))})),sGe=function(e){var n=e.shouldAutoFocus,o=void 0===n||n,a=Wk(),s=i.useState(null),l=s[0],u=s[1],c=r.useLocation(),d=i.useContext(Qie).theme.textColors,p=i.useRef();return i.useEffect((function(){return jre(f),o&&setTimeout((function(){var e;return p&&(null===(e=p.current)||void 0===e?void 0:e.focus())})),function(){Mre(f)}}),[]),i.useEffect((function(){u("")}),[c.pathname]),t.jsxs(cGe,rTe({className:YB("search-field",e.className),useLightTheme:e.useLightTheme},{children:[t.jsx(lGe,{className:"search-input",useLightTheme:e.useLightTheme,default:!0,value:l||e.searchText||"",onChange:function(e,t){return h(t)},onKeyDown:function(t){"Enter"===t.key&&e.onExecuteSearch&&e.onExecuteSearch(l);"Escape"===t.key&&h("")},autoComplete:"off",autoFocus:!1,borderless:!0,placeholder:e.placeholder||a.formatMessage({id:"TopBar.search"}),componentRef:function(e){return p.current=e},ariaLabel:a.formatMessage({id:"TopBar.search"}),"data-search-input":!0},void 0),e.searching&&t.jsx(uGe,{className:"search-spinner"},void 0),t.jsx(dGe,{"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 h(t){var n;u(t),null===(n=e.onChange)||void 0===n||n.call(e,t)}function f(){return!(!l&&!e.searchText)&&(h(""),!0)}},lGe=y.default(a.TextField).withConfig({displayName:"Search__StyledTextField",componentId:"sc-17f35gt-0"})(Wqe||(Wqe=uTe(["\n ","\n"],["\n ","\n"])),(function(e){return e.useLightTheme?o.css(qqe||(qqe=uTe(["\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}),uUe("color: "+e.theme.textColors.default)):o.css(Gqe||(Gqe=uTe(["\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}),uUe("color: "+e.theme.textColors.onPrimary))})),uGe=y.default(a.Spinner).withConfig({displayName:"Search__StyledSpinner",componentId:"sc-17f35gt-1"})(Xqe||(Xqe=uTe(["\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})),cGe=y.default.div.withConfig({displayName:"Search__Host",componentId:"sc-17f35gt-2"})(Zqe||(Zqe=uTe(["\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"])),uUe("\n font-size: inherit;\n opacity: 0.5;\n "),(function(e){return e.useLightTheme?o.css(Vqe||(Vqe=uTe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),(function(e){return e.theme.palette.neutralLighter})):o.css(Yqe||(Yqe=uTe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),(function(e){return e.theme.palette.themeDarker}))})),dGe=y.default(fze).withConfig({displayName:"Search__CancelButton",componentId:"sc-17f35gt-3"})(Hqe||(Hqe=uTe(["\n align-self: center;\n"],["\n align-self: center;\n"]))),pGe=function(e){var n=e.onSearchInputFieldVisibilityChanged,r=e.isToolbarMode,o=e.onExecuteSearch,a=e.onSearchTextChange,s=e.searchText,l=e.showSearchBoxInput,u=e.className,c=e.shouldAutoFocus,d=i.useState(!!s),p=d[0],h=d[1],f=l||p||!!s;return i.useEffect((function(){null==n||n(f)}),[f]),t.jsxs(t.Fragment,{children:[f&&t.jsx(sGe,{onChange:a,onExecuteSearch:o,searchText:s,onClear:function(){null==a||a(""),m(!1)},shouldAutoFocus:c,className:u,useLightTheme:r},void 0),!f&&(r?t.jsx(aGe,{iconName:"Search",onClick:function(){return m(!0)},tooltipResourceKey:"TopBar.search",ariaLabelResourceKey:"TopBar.search"},void 0):t.jsx(wqe,{icon:"Search",onClick:function(){return m(!0)},tooltipResourceKey:"TopBar.search"},void 0))]},void 0);function m(e){h(e),null==n||n(e)}},hGe=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},fGe=eDe,mGe=FTe,gGe=hGe,vGe=BNe;$Ne("search",1,(function(e,t,n){return[function(t){var n=mGe(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=fGe(e),o=String(this),a=r.lastIndex;gGe(a,0)||(r.lastIndex=0);var s=vGe(r,o);return gGe(r.lastIndex,a)||(r.lastIndex=a),null===s?-1:s.index}]})),y.default.div.withConfig({displayName:"EmptyUnreadListMessage__Host",componentId:"sc-1fler8t-0"})(Kqe||(Kqe=uTe(["\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"}(Jqe||(Jqe={})),y.default(a.Icon).withConfig({displayName:"SortableTable__Order",componentId:"sc-6tqdpa-0"})(yGe||(yGe=uTe(["\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"})(_Ge||(_Ge=uTe(["\n position: relative;\n padding: 0 5px;\n ","\n"],["\n position: relative;\n padding: 0 5px;\n ","\n"])),(function(e){return e.orderBy?o.css(bGe||(bGe=uTe(["\n padding-right: 18px;\n "],["\n padding-right: 18px;\n "]))):o.css(OGe||(OGe=uTe(["\n padding-left: 18px;\n "],["\n padding-left: 18px;\n "])))})),y.default.th.withConfig({displayName:"SortableTable__ColumnHeader",componentId:"sc-6tqdpa-2"})(wGe||(wGe=uTe(["\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"})(xGe||(xGe=uTe(["\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 yGe,bGe,OGe,_Ge,wGe,xGe,kGe,SGe,PGe,EGe=y.default.tr.withConfig({displayName:"SortableTable__Row",componentId:"sc-6tqdpa-4"})(kGe||(kGe=uTe(["\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"})(SGe||(SGe=uTe(["\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"}),EGe,(function(e){return e.isLoading?"0.6":"1"})),y.default(vje).withConfig({displayName:"SortableTable__Loading",componentId:"sc-6tqdpa-6"})(PGe||(PGe=uTe(["\n margin: 80px 0 100px;\n"],["\n margin: 80px 0 100px;\n"])));var CGe,FGe,TGe=function(e){return t.jsx(DGe,rTe({},e,{"data-toggle-button":!0}),void 0)},DGe=y.default(a.Toggle).withConfig({displayName:"ToggleWithLabel__StyledToggle",componentId:"sc-lcovfq-0"})(CGe||(CGe=uTe(["\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})),AGe=function(e){return o.css(FGe||(FGe=uTe(["\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 IGe(e,t,n){return e.translations[t.preferredUiLanguage]||e.translations[C9(t)]||e.name||n.formatMessage({id:"Groups.defaultName"})}var LGe=$Ne,$Ge=eDe,zGe=nIe,RGe=pAe,jGe=uAe,MGe=FTe,QGe=QNe,NGe=BNe,UGe=Math.max,BGe=Math.min,qGe=Math.floor,GGe=/\$([$&'`]|\d\d?|<[^>]*>)/g,WGe=/\$([$&'`]|\d\d?)/g,XGe=function(e){return void 0===e?e:String(e)};LGe("replace",2,(function(e,t,n,i){var r=i.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,o=i.REPLACE_KEEPS_$0,a=r?"$":"$0";return[function(n,i){var r=MGe(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,r,i):t.call(String(r),n,i)},function(e,i){if(!r&&o||"string"==typeof i&&-1===i.indexOf(a)){var l=n(t,e,this,i);if(l.done)return l.value}var u=$Ge(e),c=String(this),d="function"==typeof i;d||(i=String(i));var p=u.global;if(p){var h=u.unicode;u.lastIndex=0}for(var f=[];;){var m=NGe(u,c);if(null===m)break;if(f.push(m),!p)break;""===String(m[0])&&(u.lastIndex=QGe(c,RGe(u.lastIndex),h))}for(var g="",v=0,y=0;y<f.length;y++){m=f[y];for(var b=String(m[0]),O=UGe(BGe(jGe(m.index),c.length),0),_=[],w=1;w<m.length;w++)_.push(XGe(m[w]));var x=m.groups;if(d){var k=[b].concat(_,O,c);void 0!==x&&k.push(x);var S=String(i.apply(void 0,k))}else S=s(b,c,O,_,x,i);O>=v&&(g+=c.slice(v,O)+S,v=O+b.length)}return g+c.slice(v)}];function s(e,n,i,r,o,a){var s=i+e.length,l=r.length,u=WGe;return void 0!==o&&(o=zGe(o),u=GGe),t.call(a,u,(function(t,a){var u;switch(a.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,i);case"'":return n.slice(s);case"<":u=o[a.slice(1,-1)];break;default:var c=+a;if(0===c)return t;if(c>l){var d=qGe(c/10);return 0===d?t:d<=l?void 0===r[d-1]?a.charAt(1):r[d-1]+a.charAt(1):t}u=r[c-1]}return void 0===u?"":u}))}}));var VGe=ITe,YGe=r$e,ZGe=yTe,HGe=mTe,KGe=GAe,JGe=function(e,t,n){var i,r;return YGe&&"function"==typeof(i=t.constructor)&&i!==n&&VGe(r=i.prototype)&&r!==n.prototype&&YGe(e,r),e},eWe=KTe.f,tWe=aAe.f,nWe=KIe,iWe=Qze,rWe=dNe,oWe=uDe.exports,aWe=vTe,sWe=XDe.set,lWe=Sje,uWe=VIe("match"),cWe=HGe.RegExp,dWe=cWe.prototype,pWe=/a/g,hWe=/a/g,fWe=new cWe(pWe)!==pWe,mWe=rWe.UNSUPPORTED_Y;if(ZGe&&KGe("RegExp",!fWe||mWe||aWe((function(){return hWe[uWe]=!1,cWe(pWe)!=pWe||cWe(hWe)==hWe||"/a/i"!=cWe(pWe,"i")})))){for(var gWe=function(e,t){var n,i=this instanceof gWe,r=nWe(e),o=void 0===t;if(!i&&r&&e.constructor===gWe&&o)return e;fWe?r&&!o&&(e=e.source):e instanceof gWe&&(o&&(t=iWe.call(e)),e=e.source),mWe&&(n=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var a=JGe(fWe?new cWe(e,t):cWe(e,t),i?this:dWe,gWe);return mWe&&n&&sWe(a,{sticky:n}),a},vWe=function(e){e in gWe||eWe(gWe,e,{configurable:!0,get:function(){return cWe[e]},set:function(t){cWe[e]=t}})},yWe=tWe(cWe),bWe=0;yWe.length>bWe;)vWe(yWe[bWe++]);dWe.constructor=gWe,gWe.prototype=dWe,oWe(HGe,"RegExp",gWe)}lWe("RegExp");var OWe,_We=j7-z7,wWe=M7-z7;function xWe(e){return!!e&&DWe.test(e)}function kWe(e){return e?"https://www.google.com/maps/search/?api=1&"+Wm.stringify({query:e}):null}function SWe(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"})(OWe||(OWe=uTe(["\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"])),I7,B7,L7,10,10,j7,L7,_We,M7,wWe);var PWe,EWe,CWe,FWe,TWe,DWe=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"),AWe=y.default.div.withConfig({displayName:"Utils__LeftBannerWrapper",componentId:"sc-1qatfzk-0"})(EWe||(EWe=uTe(["\n width: 100%;\n height: calc(\n ((100vw - ","px * 2) * (1 / ","))\n );\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\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,K7,(function(e){return e.showPlaceholder&&o.css(PWe||(PWe=uTe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),e.theme.palette.accent)}),j7,_We,K7,M7,(function(e){return e.defaultWidth||250}));y.default.div.withConfig({displayName:"VerificationStatusIcon__Host",componentId:"sc-b3nb8-0"})(FWe||(FWe=uTe(["\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&&o.css(CWe||(CWe=uTe(["\n color: ",";\n "],["\n color: ",";\n "])),(function(e){return e.theme.palette.redDark}))})),y.default(a.Icon).withConfig({displayName:"VerificationStatusIcon__StatusIcon",componentId:"sc-b3nb8-1"})(TWe||(TWe=uTe(["\n margin-right: ","px;\n"],["\n margin-right: ","px;\n"])),I7);var IWe,LWe,$We,zWe,RWe,jWe,MWe,QWe,NWe,UWe=function(e){var n=e.enterDuration,i=e.leaveDuration,r=e.children,o=e.style,a=e.className,s=!!n,l=!!i,u="common-opacity-animation_"+n+"_"+i;return t.jsxs(t.Fragment,{children:[t.jsx(BWe,{name:u,enterDuration:n,leaveDuration:i},void 0),t.jsx(Noe,rTe({style:o,className:a,transitionName:u,transitionAppear:s,transitionEnter:s,transitionLeave:l,transitionLeaveTimeout:i,transitionAppearTimeout:n,transitionEnterTimeout:n},{children:r}),void 0)]},void 0)},BWe=o.createGlobalStyle(IWe||(IWe=uTe(["\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})),qWe=function(e){var n=e.contentLanguageCode,r=e.originalContent,o=e.content,a=e.onTranslate,s=e.onContentChange,l=e.itemType,u=e.itemId,c=e.tooltipResourceKey,d=e.showLabel,p=Wk().formatMessage,h=m5(),f=g5(),m=i.useState(null),g=m[0],v=m[1],y=i.useState(r===o),b=y[0],O=y[1],_=Zie().showError,w=hee().interaction,x=C9(h);if(i.useEffect((function(){return v(null)}),[r]),!f.automaticTranslation)return null;var k=p({id:"Generic.translate"});return n&&n!==x&&E9.includes(x)&&!P9.includes(x)?t.jsx(aze,rTe({resourceKey:b?"Generic.translateTo":c,values:{language:p({id:"Generic.languages."+x})}},{children:t.jsx(GWe,rTe({"aria-label":d?null:k,"data-translate-content-button":!0,className:"ms-fontColor-neutralSecondary",iconProps:{iconName:"World"},onClick:function(){return aTe(this,void 0,void 0,(function(){var e;return sTe(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:oee.translateContent,value:null,action:aee.click,item:{id:u,type:l}}),[2]);case 1:return t.trys.push([1,3,,4]),[4,a(x)];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:oee.translateContent,value:x,itemType:l,action:aee.click,itemId:u,item:{id:u,type:l}}),[2]}}))}))}},{children:d&&k}),void 0)}),void 0):null},GWe=y.default(mRe)(LWe||(LWe=uTe(["\n &&& {\n i {\n color: ",";\n }\n }\n"],["\n &&& {\n i {\n color: ",";\n }\n }\n"])),(function(e){return e.theme.textColors.default})),WWe=y.default(a.ChoiceGroup).withConfig({displayName:"ChoiceGroup",componentId:"sc-11bpj01-0"})($We||($We=uTe(["\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})),XWe=function(n){var r=n.comment,o=n.showEdit,a=n.showDelete,s=n.onDelete,l=n.isEditMode,u=n.toggleEditMode,c=n.originalContent,d=n.currentContent,p=n.setContent,h=n.handleTranslate,f=n.showAutoTranslate,m=n.onReply,g=n.disabled,v=Wk().formatMessage,y=m5(),b=i.useState(!1),O=b[0],_=b[1],w=i.useRef(null);return y.isPublicUser&&!f?null:y.isPublicUser&&f?t.jsx(qWe,{"data-auto-translate-button":r.id,originalContent:c,onContentChange:function(e){_(!1),p(e)},content:d,tooltipResourceKey:"Comment.translate.showOriginal",onTranslate:h,contentLanguageCode:r.contentLanguageCode,showLabel:!0,itemType:e.ItemResourceTypes.Comments,itemId:r.id},void 0):t.jsxs(t.Fragment,{children:[t.jsx("div",rTe({ref:w},{children:t.jsx(YWe,{"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(HWe,rTe({"data-context-menu":!0,target:w.current,onDismiss:function(){return _(!1)}},{children:t.jsxs(VWe,{children:[t.jsx(aze,rTe({resourceKey:"Comment.replyButton.tooltip",values:{name:r.sender.displayName}},{children:t.jsx(ZWe,{"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(qWe,{"data-auto-translate-button":r.id,originalContent:c,onContentChange:function(e){_(!1),p(e)},content:d,tooltipResourceKey:"Comment.translate.showOriginal",onTranslate:h,contentLanguageCode:r.contentLanguageCode,showLabel:!0,itemType:e.ItemResourceTypes.Comments,itemId:r.id},void 0),o&&t.jsx(aze,rTe({resourceKey:"Comment.edit.tooltip"},{children:t.jsx(ZWe,{"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),a&&t.jsx(aze,rTe({resourceKey:"Comment.delete.tooltip"},{children:t.jsx(ZWe,{"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)},VWe=y.default.div.withConfig({displayName:"CommentActionMenu__Buttons",componentId:"sc-qsk1nc-0"})(zWe||(zWe=uTe(["\n display: flex;\n flex-direction: column;\n"],["\n display: flex;\n flex-direction: column;\n"]))),YWe=y.default(fze).withConfig({displayName:"CommentActionMenu__MenuButton",componentId:"sc-qsk1nc-1"})(RWe||(RWe=uTe(["\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),ZWe=y.default(mRe).withConfig({displayName:"CommentActionMenu__StyledActionButton",componentId:"sc-qsk1nc-2"})(jWe||(jWe=uTe(["\n &&& {\n i {\n color: ",";\n }\n }\n"],["\n &&& {\n i {\n color: ",";\n }\n }\n"])),(function(e){return e.theme.textColors.default})),HWe=y.default(ORe).withConfig({displayName:"CommentActionMenu__StyledCallout",componentId:"sc-qsk1nc-3"})(MWe||(MWe=uTe(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),I7);y.default(a.DefaultButton).withConfig({displayName:"DefaultGoBackButton__StyledButton",componentId:"sc-q6p1lp-0"})(QWe||(QWe=uTe(["\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(a.DefaultButton).withConfig({displayName:"DefaultGoHomeButton__StyledButton",componentId:"sc-1m1ufrk-0"})(NWe||(NWe=uTe(["\n padding: 0 12px;\n"],["\n padding: 0 12px;\n"])));var KWe,JWe,eXe,tXe,nXe,iXe=y.default(a.IconButton).withConfig({displayName:"DeleteAttachmentButton",componentId:"sc-d7hswf-0"})(KWe||(KWe=uTe(["\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})),rXe=function(e){var n=e.toggleAll,r=e.className,o=i.useContext(Qie).theme.palette.accent;return t.jsxs(oXe,rTe({className:r},{children:[t.jsx(aXe,rTe({onClick:function(){return n(!0)},"data-button-toggle":"selectAll",color:o},{children:t.jsx(pS,{id:"Generic.SelectAll"},void 0)}),void 0),t.jsx(aXe,rTe({onClick:function(){return n(!1)},"data-button-toggle":"clearAll",color:o},{children:t.jsx(pS,{id:"Generic.ClearAll"},void 0)}),void 0)]}),void 0)},oXe=y.default.div.withConfig({displayName:"ToggleAllButtons__Host",componentId:"sc-kbn3b4-0"})(JWe||(JWe=uTe(["\n margin-bottom: ","px;\n"],["\n margin-bottom: ","px;\n"])),I7),aXe=y.default(mRe).withConfig({displayName:"ToggleAllButtons__StyledButton",componentId:"sc-kbn3b4-1"})(eXe||(eXe=uTe(["\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,o=oTe(e,["iconName","textKey"]);return t.jsxs(r.NavLink,rTe({},o,{children:[n&&t.jsx(a.Icon,{iconName:n},void 0),t.jsx(pS,{id:i},void 0)]}),void 0)})).withConfig({displayName:"TopActionButton",componentId:"sc-1lam7c6-0"})(tXe||(tXe=uTe(["\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"])),I7,(function(e){return e.theme.palette.accent})),y.default(fze).withConfig({displayName:"HeaderMenuButton__MenuButton",componentId:"sc-170vvq2-0"})(nXe||(nXe=uTe([""],[""])));var sXe,lXe,uXe,cXe,dXe=function(e){var n=e.language,r=e.channel,o=e.role,a=e.className,s=m5(),l=i.useContext(pre).channels,u=fXe(function(){if(!l)return r;return l.find((function(e){return e.id===r.id||e.name===r.name}))}(),s,n);return t.jsx(pXe,rTe({title:u,className:a,role:o},{children:u}),void 0)},pXe=y.default.span.withConfig({displayName:"ChannelTitle__Host",componentId:"sc-1lqd4of-0"})(sXe||(sXe=uTe(["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"],["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"]))),hXe=function(e){var n=e.channels,i=e.language;return t.jsx(t.Fragment,{children:n.map((function(e,n){return t.jsxs("span",{children:[n>0&&", ",t.jsx(dXe,{channel:e,language:i},void 0)]},e.id)}))},void 0)};function fXe(e,t,n){if(null==e)return null;n||(n=C9(t));var i=e.translations||{};return n&&i[n]||i[t.subscription.defaultLanguage]||e.name}y.default(dXe).withConfig({displayName:"ChannelItem__StyledChannelTitle",componentId:"sc-bumcwu-0"})(lXe||(lXe=uTe(["\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"}),X7),y.default.div.withConfig({displayName:"ChannelItem__Host",componentId:"sc-bumcwu-1"})(uXe||(uXe=uTe(["\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"])),I7,15,lUe(2,2),X7),y.default(fze).withConfig({displayName:"ChannelItem__StyledIconButton",componentId:"sc-bumcwu-2"})(cXe||(cXe=uTe(["\n i {\n font-size: ","px;\n }\n"],["\n i {\n font-size: ","px;\n }\n"])),X7);var mXe,gXe,vXe,yXe,bXe,OXe,_Xe,wXe,xXe,kXe=function(e){var n=e.channels,i=e.language,r=e.channelStyleDefinition,o=e.visibleChannelsCount,a=void 0===o?3:o,s=e.onChannelClick,l=e.className;if(!n||0===n.length)return null;var u=n.length>a;return t.jsxs(EXe,rTe({className:l,"data-has-more-indicator":u},{children:[t.jsx(SXe,{channels:n.slice(0,a),language:i,channelStyleDefinition:r,onChannelClick:s},void 0),u&&t.jsx(PXe,{channels:n.slice(a),language:i,styleDefinition:r,onChannelClick:s},void 0)]}),void 0)},SXe=function(e){var n=e.channels,i=e.language,r=e.channelStyleDefinition,o=e.onChannelClick;return t.jsx(CXe,rTe({"data-channels":!0},{children:n.map((function(e){var a=t.jsx(dXe,{channel:e,language:i},void 0);return o?t.jsx(FXe,rTe({bubbleCount:n.length,backgroundColor:null==r?void 0:r.backgroundColor,color:null==r?void 0:r.color,onClick:function(){return o(e)},"data-rounded-outline":!0},{children:a}),e.id):t.jsx(TXe,rTe({bubbleCount:n.length,backgroundColor:null==r?void 0:r.backgroundColor,color:null==r?void 0:r.color},{children:a}),e.id)}))}),void 0)},PXe=function(e){var n=e.channels,r=e.language,o=e.styleDefinition,a=e.onChannelClick,s=i.useRef(),l=i.useState(!1),u=l[0],c=l[1];return t.jsxs(t.Fragment,{children:[t.jsx(AXe,rTe({ref:s,backgroundColor:null==o?void 0:o.backgroundColor,color:null==o?void 0:o.color},{children:t.jsx(IXe,rTe({onClick:function(){return c(!0)},"data-channels-indicator":!0},{children:"+"+n.length}),void 0)}),void 0),u&&t.jsx(LXe,rTe({target:s.current,onDismiss:function(){return c(!1)}},{children:t.jsx($Xe,{children:n.map((function(e){return t.jsx("li",{children:a?t.jsx(mRe,rTe({onClick:function(){return a(e)}},{children:t.jsx(dXe,{channel:e,language:r},void 0)}),void 0):t.jsx(dXe,{channel:e,language:r},void 0)},e.id)}))},void 0)}),void 0)]},void 0)},EXe=y.default.div(mXe||(mXe=uTe(["\n display: flex;\n width: 100%;\n gap: ","px;\n\n &[data-has-more-indicator='true'] {\n [data-channels] {\n flex: 1;\n max-width: calc(100% - 52px);\n }\n }\n\n &[data-has-more-indicator='false'] {\n [data-channels] {\n width: 100%;\n\n > span {\n max-width: fit-content;\n }\n }\n }\n"],["\n display: flex;\n width: 100%;\n gap: ","px;\n\n &[data-has-more-indicator='true'] {\n [data-channels] {\n flex: 1;\n max-width: calc(100% - 52px);\n }\n }\n\n &[data-has-more-indicator='false'] {\n [data-channels] {\n width: 100%;\n\n > span {\n max-width: fit-content;\n }\n }\n }\n"])),6),CXe=y.default.div(gXe||(gXe=uTe(["\n display: flex;\n align-items: center;\n gap: ","px;\n"],["\n display: flex;\n align-items: center;\n gap: ","px;\n"])),6),FXe=y.default(mRe)(vXe||(vXe=uTe(["\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 DXe(e.bubbleCount,e.backgroundColor,e.color)})),TXe=y.default.span(yXe||(yXe=uTe(["\n ","\n"],["\n ","\n"])),(function(e){return DXe(e.bubbleCount,e.backgroundColor,e.color)})),DXe=function(e,t,n){return o.css(bXe||(bXe=uTe(["\n width: fit-content;\n\n ","\n\n ","\n "],["\n width: fit-content;\n\n ","\n\n ","\n "])),e&&"\n max-width: calc(\n (100% - "+6*(e-1)+"px) / "+e+"\n );",sze({backgroundColor:t,color:n}))},AXe=y.default.div(OXe||(OXe=uTe(["\n z-index: 1;\n flex: 0 0 40px;\n\n ","\n"],["\n z-index: 1;\n flex: 0 0 40px;\n\n ","\n"])),(function(e){return sze({backgroundColor:e.backgroundColor,color:e.color,inlinePadding:8})})),IXe=y.default(mRe)(_Xe||(_Xe=uTe(["\n &&& {\n height: auto;\n color: inherit;\n padding: 0;\n }\n"],["\n &&& {\n height: auto;\n color: inherit;\n padding: 0;\n }\n"]))),LXe=y.default(ORe)(wXe||(wXe=uTe(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),6),$Xe=y.default.ul(xXe||(xXe=uTe(["\n margin: 0;\n padding: 0;\n list-style: none;\n"],["\n margin: 0;\n padding: 0;\n list-style: none;\n"]))),zXe=function(e){var n=e.channels,i=e.buildChannelFilterUrl,r=e.language,o=e.channelBackgroundColor,a=e.onClick,s=e.className;return(null==n?void 0:n.length)?t.jsx(JXe,rTe({className:s,"data-channels":n.map((function(e){return e.name})).join(",")},{children:n.map((function(e){var n=t.jsx(eVe,rTe({backgroundColor:o},{children:t.jsx(dXe,{channel:e,language:r},void 0)}),void 0);return t.jsxs("li",{children:[i&&t.jsx(tVe,rTe({"data-channel":!0,to:i(RXe(e)?e.name:e),"data-rounded-outline":!0},{children:n}),void 0),a&&t.jsx(iVe,rTe({"data-rounded-outline":!0,onClick:function(){return a(RXe(e)?e.name:e)}},{children:n}),void 0),!a&&!i&&t.jsx(nVe,{children:n},void 0)]},e.id)}))}),void 0):null};function RXe(e){return null!=e.id}var jXe,MXe,QXe,NXe,UXe,BXe,qXe,GXe,WXe,XXe,VXe,YXe,ZXe,HXe,KXe,JXe=y.default.ul.withConfig({displayName:"ClickableChannelTitles__Host",componentId:"sc-1a7ny18-0"})(jXe||(jXe=uTe(["\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"])),Z7),eVe=y.default.div.withConfig({displayName:"ClickableChannelTitles__ChannelBubble",componentId:"sc-1a7ny18-1"})(MXe||(MXe=uTe(["\n ","\n"],["\n ","\n"])),(function(e){return e.backgroundColor?sze({backgroundColor:e.backgroundColor}):sze()})),tVe=y.default(r.NavLink).withConfig({displayName:"ClickableChannelTitles__ChannelLink",componentId:"sc-1a7ny18-2"})(QXe||(QXe=uTe(["\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),nVe=y.default.span.withConfig({displayName:"ClickableChannelTitles__ChannelBubbleWrapper",componentId:"sc-1a7ny18-3"})(NXe||(NXe=uTe(["\n display: block;\n margin: 2px ","px 2px 0;\n"],["\n display: block;\n margin: 2px ","px 2px 0;\n"])),6),iVe=y.default(mRe).withConfig({displayName:"ClickableChannelTitles__StyledActionButton",componentId:"sc-1a7ny18-4"})(UXe||(UXe=uTe(["\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),rVe=function(e){var n=e.searchText,i=e.onSearchTextChange,r=e.onExecuteSearch,o=e.onSearchIconClick,a=e.onSearchInputFieldVisibilityChanged;return t.jsxs(t.Fragment,{children:[t.jsx(oVe,{children:t.jsx(pGe,{searchText:n,onSearchTextChange:i,onExecuteSearch:r,onSearchInputFieldVisibilityChanged:a,isToolbarMode:!0},void 0)},void 0),t.jsx(aVe,{children:t.jsx(aGe,{iconName:"Search",onClick:o,tooltipResourceKey:"TopBar.search",ariaLabelResourceKey:"TopBar.search"},void 0)},void 0)]},void 0)},oVe=y.default.div.withConfig({displayName:"ToolbarSearch__SearchBoxLargeScreen",componentId:"sc-1f480ry-0"})(BXe||(BXe=uTe(["\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"])),q7),aVe=y.default.div.withConfig({displayName:"ToolbarSearch__SearchIconSmallScreen",componentId:"sc-1f480ry-1"})(qXe||(qXe=uTe(["\n @media (min-width: ","px) {\n display: none;\n }\n"],["\n @media (min-width: ","px) {\n display: none;\n }\n"])),M7),sVe=function(e){var n=e.leftSide,r=e.hideLeftSide,o=e.rightSide,a=e.hideRightSide,s=e.search,l=e.className,u=e.children,c=i.useState(!1),d=c[0],p=c[1];return t.jsxs(lVe,rTe({className:l,"data-content-toolbar":!0},{children:[t.jsxs(dVe,{children:[n&&!r&&t.jsx(uVe,{children:n},void 0),(o||s)&&!a&&t.jsxs(cVe,{children:[s&&t.jsx(rVe,{searchText:s.searchText,onSearchTextChange:s.onSearchTextChange,onExecuteSearch:s.onExecuteSearch,onSearchIconClick:function(){d?h():p(!0)},onSearchInputFieldVisibilityChanged:function(e){return p(e)}},void 0),o]},void 0)]},void 0),u,s&&d&&t.jsx(pVe,{children:t.jsx(sGe,{onClear:h,searchText:s.searchText,onChange:s.onSearchTextChange,onExecuteSearch:s.onExecuteSearch,useLightTheme:!0},void 0)},void 0)]}),void 0);function h(){var e;null===(e=s.onSearchTextChange)||void 0===e||e.call(s,""),p(!1)}},lVe=y.default.div.withConfig({displayName:"Toolbar__Host",componentId:"sc-16ftbxt-0"})(GXe||(GXe=uTe(["\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),uVe=y.default.div.withConfig({displayName:"Toolbar__LeftSide",componentId:"sc-16ftbxt-1"})(WXe||(WXe=uTe(["\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"]))),cVe=y.default.div.withConfig({displayName:"Toolbar__RightSide",componentId:"sc-16ftbxt-2"})(XXe||(XXe=uTe(["\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"]))),dVe=y.default.div.withConfig({displayName:"Toolbar__Row",componentId:"sc-16ftbxt-3"})(VXe||(VXe=uTe(["\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"]))),pVe=y.default.div.withConfig({displayName:"Toolbar__SearchInputRow",componentId:"sc-16ftbxt-4"})(YXe||(YXe=uTe(["\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"])),M7);y.default(sVe).withConfig({displayName:"ChromelessToolbar__StyledToolbar",componentId:"sc-1vovywb-0"})(ZXe||(ZXe=uTe(["\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"])),I7,I7,M7,L7,L7),y.default.p.withConfig({displayName:"PageDescription",componentId:"sc-xcsmz7-0"})(HXe||(HXe=uTe(["\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"})(KXe||(KXe=uTe([""],[""])));var hVe,fVe,mVe,gVe,vVe,yVe,bVe,OVe,_Ve,wVe,xVe,kVe=function(e){var n=e.onEmojiSelected,r=e.disabled,o=i.useRef(null),s=i.useState(!1),l=s[0],u=s[1],c=Wk().formatMessage;return t.jsxs(t.Fragment,{children:[t.jsx(SVe,rTe({ref:o},{children:t.jsx(fze,{"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(PVe,rTe({directionalHint:a.DirectionalHint.topCenter,target:o.current,onDismiss:function(){return u(!1)},isBeakVisible:!1,gapSpace:10,preventDismissOnScroll:!0,styles:{calloutMain:{padding:5}}},{children:t.jsx(CVe,{onSelect:function(e){u(!1),n(e.native)}},void 0)}),void 0)]},void 0)},SVe=y.default.div.withConfig({displayName:"EmojiButton__ButtonWrapper",componentId:"sc-1eq2zlz-0"})(hVe||(hVe=uTe([""],[""]))),PVe=y.default(ORe).withConfig({displayName:"EmojiButton__StyledCallout",componentId:"sc-1eq2zlz-1"})(fVe||(fVe=uTe(["\n border-radius: 10px;\n overflow: hidden;\n"],["\n border-radius: 10px;\n overflow: hidden;\n"]))),EVe=i.lazy((function(){return Promise.resolve().then((function(){return o7i}))})),CVe=function(e){var n=e.onSelect,r=zw();return t.jsx(i.Suspense,rTe({fallback:t.jsx(FVe,rTe({isSmaller:r.width<j7},{children:t.jsx(vje,{},void 0)}),void 0)},{children:t.jsx(EVe,{onSelect:n},void 0)}),void 0)},FVe=y.default.div.withConfig({displayName:"EmojiButton__EmojiPickerSuspenseHost",componentId:"sc-1eq2zlz-2"})(mVe||(mVe=uTe(["\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})),TVe=function(){var e=Dm();return t.jsx(DVe,{children:t.jsx("a",rTe({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)},DVe=y.default.div(gVe||(gVe=uTe(["\n text-align: right;\n margin-top: ","px;\n"],["\n text-align: right;\n margin-top: ","px;\n"])),6),AVe=function(e){var n,r,o=e.onGifClick,s=e.className,l=Gm(),u=Wk().formatMessage,c=new tue.GiphyFetch(l.giphy.apiKey),d=i.useState(null),p=d[0],h=d[1],f=ewe(p,500)[0],m=zw(),g=$w((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(IVe,rTe({className:s},{children:[t.jsx(a.SearchBox,{placeholder:u({id:"Gif.searchPlaceHolder"}),iconProps:{iconName:"Search"},onChange:function(e,t){return h(t)},autoFocus:!0},void 0),t.jsxs(LVe,rTe({columnWidth:b,"data-gif-grid":!0},{children:[y&&t.jsx(vje,{delay:300},void 0),0===(null===(n=null==v?void 0:v.data)||void 0===n?void 0:n.length)&&t.jsx(pS,{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($Ve,{gif:e,width:b,height:b,noLink:!0,hideAttribution:!0,onGifClick:o},e.id)}))]}),void 0)]}),void 0)},IVe=y.default.div.withConfig({displayName:"GifSelector__Host",componentId:"sc-lame6k-0"})(vVe||(vVe=uTe(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),6),LVe=y.default.div.withConfig({displayName:"GifSelector__GifContainer",componentId:"sc-lame6k-1"})(yVe||(yVe=uTe(["\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"])),I7,(function(e){return e.columnWidth}),6),$Ve=y.default(Uoe.Gif).withConfig({displayName:"GifSelector__ClickableGif",componentId:"sc-lame6k-2"})(bVe||(bVe=uTe(["\n cursor: pointer;\n"],["\n cursor: pointer;\n"]))),zVe=function(e){var n=e.target,i=e.onGifClick,r=e.onDismiss;return t.jsxs(RVe,rTe({directionalHint:a.DirectionalHint.topCenter,target:n,onDismiss:r,isBeakVisible:!1,gapSpace:10,preventDismissOnResize:!0,preventDismissOnScroll:!0,styles:{calloutMain:{padding:5}}},{children:[t.jsx(jVe,{onGifClick:i},void 0),t.jsx(TVe,{},void 0)]}),void 0)},RVe=y.default(ORe)(OVe||(OVe=uTe(["\n border-radius: 10px;\n overflow: hidden;\n width: 360px;\n"],["\n border-radius: 10px;\n overflow: hidden;\n width: 360px;\n"]))),jVe=y.default(AVe)(_Ve||(_Ve=uTe(["\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"])));o.createGlobalStyle(wVe||(wVe=uTe(["\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"])),B7),y.default(AVe).withConfig({displayName:"GifSelectorDialog__StyledDialogGifSelector",componentId:"sc-t6p48w-0"})(xVe||(xVe=uTe(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),I7);var MVe,QVe,NVe,UVe,BVe,qVe,GVe=function(e){var n=e.disabled,r=e.onGifClick,o=g5(),a=Wk().formatMessage,s=i.useRef(),l=i.useState(!1),u=l[0],c=l[1];return o.giphy?t.jsxs("div",{children:[t.jsx("div",rTe({ref:s},{children:t.jsx(fze,{iconProps:{iconName:"Gif"},onClick:function(){return c(!0)},disabled:n,"data-button-type":"gif",ariaLabel:a({id:"AriaLabel.gifButton"})},void 0)}),void 0),u&&t.jsx(t.Fragment,{children:t.jsx(zVe,{target:s.current,onGifClick:function(e){c(!1),r({id:e.id.toString(),filename:e.title,url:e.embed_url,type:U5.Giphy})},onDismiss:function(){return c(!1)}},void 0)},void 0)]},void 0):null},WVe=function(e){var n=e.gifInfo,r=e.className,o=Gm(),a=i.useState(),s=a[0],l=a[1];return i.useEffect((function(){new tue.GiphyFetch(o.giphy.apiKey).gif(n.id).then((function(e){return l(e.data)}))}),[o.giphy.apiKey,n.id]),s?t.jsx(XVe,rTe({className:r},{children:t.jsx(VVe,{gif:s,width:300,noLink:!0,hideAttribution:!0},void 0)}),void 0):null},XVe=y.default.div(MVe||(MVe=uTe([""],[""]))),VVe=y.default(Uoe.Gif)(QVe||(QVe=uTe(["\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"])),B7),YVe=function(e){var n=e.attachments,i=e.onDeleteClick,r=e.className,o=Wk().formatMessage,a=n.filter((function(e){return e.type===U5.Giphy}));return 0===a.length?null:t.jsx(ZVe,rTe({className:r,"data-gif-attachment-list":!0},{children:a.map((function(e){return t.jsx(HVe,rTe({domIdentifier:"gif",deleteButton:t.jsx(iXe,{"data-remove-attachment-button":e.id,iconProps:{iconName:"ChromeClose"},onClick:function(){return i(e)},ariaLabel:o({id:"AriaLabel.removeAttachmentButton"})},void 0)},{children:t.jsx(WVe,{gifInfo:e},void 0)}),e.id)}))}),void 0)},ZVe=y.default.div.withConfig({displayName:"GifEditList__Host",componentId:"sc-95dldh-0"})(NVe||(NVe=uTe(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"],["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"]))),HVe=y.default(dRe).withConfig({displayName:"GifEditList__StyledAttachmentHost",componentId:"sc-95dldh-1"})(UVe||(UVe=uTe(["\n width: auto;\n"],["\n width: auto;\n"]))),KVe=function(e){var n=e.attachments,i=e.className,r=n.filter((function(e){return e.type===U5.Giphy}));return 0===r.length?null:t.jsx(JVe,rTe({className:i,"data-gif-url-preview":r[0].id},{children:t.jsx(eYe,{children:t.jsx(WVe,{gifInfo:r[0]},void 0)},void 0)}),void 0)},JVe=y.default.div.withConfig({displayName:"GifList__Host",componentId:"sc-8gg7fj-0"})(BVe||(BVe=uTe(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"],["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"]))),eYe=y.default(dRe).withConfig({displayName:"GifList__StyledAttachmentHost",componentId:"sc-8gg7fj-1"})(qVe||(qVe=uTe(["\n width: auto;\n margin: ","px 0 0 0;\n"],["\n width: auto;\n margin: ","px 0 0 0;\n"])),I7);var tYe,nYe,iYe,rYe=function(e){var n,r,o=i.useRef(null),s=i.useState(!1),l=s[0],u=s[1];return t.jsxs(oYe,rTe({className:e.className},((n={})[e.dataAttribute]=!0,n),{ref:o},{children:[t.jsx(aYe,{"data-icon-with-callout":!0,iconProps:{iconName:e.icon},onClick:function(){return aTe(this,void 0,void 0,(function(){var t,n;return sTe(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(sYe,rTe({className:"icon-with-callout-content",target:o,directionalHint:null==e.directionalHint?a.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)},oYe=y.default.div.withConfig({displayName:"IconWithCallout__Host",componentId:"sc-1jmscz2-0"})(tYe||(tYe=uTe(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),aYe=y.default(fze).withConfig({displayName:"IconWithCallout__StyledIconButton",componentId:"sc-1jmscz2-1"})(nYe||(nYe=uTe(["\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"]))),sYe=y.default(ORe).withConfig({displayName:"IconWithCallout__StyledCallout",componentId:"sc-1jmscz2-2"})(iYe||(iYe=uTe(["\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"]))),lYe="video-view-container";function uYe(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 cYe=["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 dYe(e,t){return pYe(t)||pYe(null==e?void 0:e.preferredLocale)||pYe(function(){try{return Intl.DateTimeFormat().resolvedOptions().locale}catch(e){return null}}())||pYe(null==e?void 0:e.preferredUiLanguage)||pYe(navigator.language)||"en"}function pYe(e){return e?("en-us"===(e=e.toLocaleLowerCase())&&(e="en"),cYe.find((function(t){return t===e}))):null}var hYe,fYe,mYe,gYe,vYe,yYe,bYe,OYe,_Ye,wYe=function(e){var n=e.onNextClick,r=e.onPrevClick,o=e.onFirstClick,a=e.hidePrevButton,s=e.hideNextButton,l=e.isLoadingNextPage,u=e.className,c=Wk().formatMessage,d=i.useContext(Qie).theme.palette;return s&&a?null:t.jsxs(xYe,rTe({className:u},{children:[t.jsx(aze,rTe({resourceKey:"Lib.paging.goToFirstPage"},{children:t.jsx(SYe,{ariaLabel:c({id:"Generic.first.page.button.text"}),iconProps:{iconName:"ChevronLeftEnd6"},isHidden:a,onClick:o,color:d.accent,"data-horizontal-pager-first-page-button":!0},void 0)}),void 0),t.jsx(PYe,{iconProps:{iconName:"ChevronLeftSmall"},text:c({id:"Generic.previous.page.button.text"}),isHidden:a,onClick:r,color:d.accent,"data-horizontal-pager-back-button":!0},void 0),t.jsx(EYe,{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)},xYe=y.default.div.withConfig({displayName:"HorizontalPager__Host",componentId:"sc-1b5ja54-0"})(hYe||(hYe=uTe(["\n display: flex;\n justify-content: center;\n margin-top: ","px;\n"],["\n display: flex;\n justify-content: center;\n margin-top: ","px;\n"])),L7),kYe=y.default(mRe).withConfig({displayName:"HorizontalPager__StyledActionButton",componentId:"sc-1b5ja54-1"})(mYe||(mYe=uTe(["\n font-weight: bold;\n\n ","\n"],["\n font-weight: bold;\n\n ","\n"])),(function(e){return e.isHidden&&o.css(fYe||(fYe=uTe(["\n visibility: hidden;\n "],["\n visibility: hidden;\n "])))})),SYe=y.default(kYe).withConfig({displayName:"HorizontalPager__FirstPageButton",componentId:"sc-1b5ja54-2"})(gYe||(gYe=uTe([""],[""]))),PYe=y.default(kYe).withConfig({displayName:"HorizontalPager__BackButton",componentId:"sc-1b5ja54-3"})(vYe||(vYe=uTe([""],[""]))),EYe=y.default(kYe).withConfig({displayName:"HorizontalPager__MoreButton",componentId:"sc-1b5ja54-4"})(yYe||(yYe=uTe(["\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"})(bYe||(bYe=uTe(["\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"})(OYe||(OYe=uTe(["\n margin: ","px 0;\n\n > * {\n margin: 0;\n }\n"],["\n margin: ","px 0;\n\n > * {\n margin: 0;\n }\n"])),R7),y.default.div.withConfig({displayName:"PaginationStatus__LoadStatusPlaceholder",componentId:"sc-ykj2ti-2"})(_Ye||(_Ye=uTe(["\n height: ","px;\n"],["\n height: ","px;\n"])),L7);var CYe=STe,FYe=Array.isArray||function(e){return"Array"==CYe(e)},TYe=FYe,DYe=pAe,AYe=Dje,IYe=function(e,t,n,i,r,o,a,s){for(var l,u=r,c=0,d=!!a&&AYe(a,s,3);c<i;){if(c in n){if(l=d?d(n[c],c,t):n[c],o>0&&TYe(l))u=IYe(e,t,l,DYe(l.length),u,o-1)-1;else{if(u>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[u]=l}u++}c++}return u},LYe=IYe,$Ye=ITe,zYe=FYe,RYe=VIe("species"),jYe=LYe,MYe=nIe,QYe=pAe,NYe=eIe,UYe=function(e,t){var n;return zYe(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!zYe(n.prototype)?$Ye(n)&&null===(n=n[RYe])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)};function BYe(e,t,n){var r=function(e){var t=i.useState(0),n=t[0],r=t[1],o=i.useState({pages:{},paginationToken:null,hasNextPage:!0}),a=o[0],s=o[1];return{state:a,setInitialPages:function(e,t,n){s({pages:{0:lTe([],e||[])},paginationToken:t,hasNextPage:n})},updatePageItems:function(e,t,n,i){s((function(r){var o;return{pages:iwe(r.pages,(o={},o[e]={$set:t},o)),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=rTe({},n.pages),r=Object.keys(i).length,o=0;o<r;){var a=Object.keys(i)[o++],s=i[a];if(s.find((function(t){return t.id===e}))){i[a]=s.map((function(n){return n.id===e?t:n}));break}}return rTe(rTe({},n),{pages:i})}))},insertToTheFront:function(t){for(var i,o,l=lTe([t],(null===(i=a.pages)||void 0===i?void 0:i[0])||[]),u=rTe(rTe({},a.pages),{0:l}),c=Object.keys(u).length,d=0;d<c;){var p=0===d,h=Object.keys(u)[d],f=u[h].length;if(p&&f>e&&f<=2*e){n<2*e&&r(n+e);break}if(f<=e)break;var m=u[h].pop(),g=null!==(o=Object.keys(u)[d+1])&&void 0!==o?o:p?2*e:+h+e,v=u[g];if(!v){a.hasNextPage||(u[g]=[m],r(n+e));break}v.unshift(m),d++}s(rTe(rTe({},a),{pages:u}))},deleteItem:function(t){for(var i=rTe({},a.pages),o=Object.keys(i).length,l=0;l<o;){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<o;){if(!i[u=Object.keys(i)[l++]].length&&l===o){delete i[u],c=!0;break}var d=Object.keys(i)[l],p=d?i[d]:null;if(!p)break;var h=p.shift();i[u].push(h)}s(rTe(rTe({},a),{pages:i}));var f=(c||i[0].length===e)&&n>e;return f&&r(n-e),f}}}(e),o=r.state,a=r.setInitialPages,s=r.updatePageItems,l=r.lastFetchedPageIndex,u=r.updateLastFetchedPageIndex,c=r.updateItem,d=r.insertToTheFront,p=r.deleteItem,h=i.useState(0),f=h[0],m=h[1],g=i.useState(!0),v=g[0],y=g[1],b=i.useState(!1),O=b[0],_=b[1],w=i.useState(null),x=w[0],k=w[1];i.useEffect((function(){P()}),lTe([e],n||[]));var S=Object.keys(o.pages).flatMap((function(e){return o.pages[e]})).slice(f-e,f);return{items:S,isInitialLoading:v,isLoadingNextPage:O,error:x,getFirstPage:function(){return m(e)},getPrevPage:function(){return m(f-e)},getNextPage:function(){return aTe(this,void 0,void 0,(function(){return sTe(this,(function(t){switch(t.label){case 0:return m(f+e),o.hasNextPage&&f===l-e?[4,E(o.paginationToken)]:[3,2];case 1:t.sent(),u(),t.label=2;case 2:return[2]}}))}))},isFirstPage:f===e,isLastPage:f===l&&!o.hasNextPage,isEmpty:!v&&0===(null==S?void 0:S.length),insertToTheFront:d,updateItem:c,onBeforeDeleteItem:function(t){var n=p(t);!o.hasNextPage&&n&&f>=l&&f>0&&m(f-e);_(!0)},onAfterDeleteItem:function(){return aTe(this,void 0,void 0,(function(){return sTe(this,(function(t){switch(t.label){case 0:return o.hasNextPage?o.paginationToken!==2*e?[3,2]:[4,P()]:[3,4];case 1:return t.sent(),[3,4];case 2:return[4,E(+o.paginationToken-e)];case 3:t.sent(),u(),t.label=4;case 4:return _(!1),[2]}}))}))}};function P(){return aTe(this,void 0,void 0,(function(){var n,i;return sTe(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(),a(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),k(i),[3,4];case 3:return y(!1),[7];case 4:return[2]}}))}))}function E(n){return aTe(this,void 0,void 0,(function(){var i,r;return sTe(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,3,4]),_(!0),[4,t(e,n)];case 1:return i=o.sent(),s(n,i.items,i.paginationToken,i.hasNextPage),[3,4];case 2:return r=o.sent(),ng.error(r),k(x),[3,4];case 3:return _(!1),[7];case 4:return[2]}}))}))}}JAe({target:"Array",proto:!0},{flatMap:function(e){var t,n=MYe(this),i=QYe(n.length);return NYe(e),(t=UYe(n,0)).length=jYe(t,n,n,i,0,1,e,arguments.length>1?arguments[1]:void 0),t}}),TLe("flatMap");var qYe,GYe,WYe,XYe,VYe,YYe,ZYe,HYe=function(e){var n=e.onNextClick,r=e.onPrevClick,o=e.hidePagination,a=e.disablePrevButton,s=e.disableNextButton,l=e.children,u=e.className,c=i.useContext(Qie).theme.palette,d=Wk().formatMessage;return o?t.jsx(t.Fragment,{children:l},void 0):t.jsxs(KYe,rTe({className:u},{children:[t.jsx(eZe,{disabled:a,onClick:r,iconProps:{iconName:"ChevronUpSmall"},color:c.accent,ariaLabel:d({id:"Lib.paging.previous"})},void 0),t.jsx(nZe,{children:l},void 0),t.jsx(tZe,{disabled:s,onClick:n,iconProps:{iconName:"ChevronDownSmall"},color:c.accent,ariaLabel:d({id:"Lib.paging.next"})},void 0)]}),void 0)},KYe=y.default.div.withConfig({displayName:"VerticalPager__Host",componentId:"sc-76hdpk-0"})(qYe||(qYe=uTe(["\n display: flex;\n flex-direction: column;\n width: 100%;\n"],["\n display: flex;\n flex-direction: column;\n width: 100%;\n"]))),JYe=y.default(fze).withConfig({displayName:"VerticalPager__StyledIconButton",componentId:"sc-76hdpk-1"})(GYe||(GYe=uTe(["\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"])),$ie),eZe=y.default(JYe).withConfig({displayName:"VerticalPager__TopButton",componentId:"sc-76hdpk-2"})(WYe||(WYe=uTe(["\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})),tZe=y.default(JYe).withConfig({displayName:"VerticalPager__BottomButton",componentId:"sc-76hdpk-3"})(XYe||(XYe=uTe(["\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})),nZe=y.default.div.withConfig({displayName:"VerticalPager__Inner",componentId:"sc-76hdpk-4"})(VYe||(VYe=uTe(["\n margin: ","px ","px;\n"],["\n margin: ","px ","px;\n"])),L7,15),iZe=i.createContext(null);y.default.div.withConfig({displayName:"PullToRefresh__Host",componentId:"sc-1wloq17-0"})(YYe||(YYe=uTe(["\n width: 100%;\n"],["\n width: 100%;\n"]))),y.default.div.withConfig({displayName:"PullToRefresh__Inner",componentId:"sc-1wloq17-1"})(ZYe||(ZYe=uTe(["\n display: contents;\n"],["\n display: contents;\n"])));var rZe,oZe,aZe,sZe,lZe,uZe,cZe,dZe,pZe,hZe=o.css(rZe||(rZe=uTe(["\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"]))),fZe=o.css(oZe||(oZe=uTe(["\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"])),hZe,M7,L7),mZe=o.css(aZe||(aZe=uTe(["\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})),gZe=o.css(sZe||(sZe=uTe(["\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"])),q7),vZe="AllChannels",yZe=o.createGlobalStyle(lZe||(lZe=uTe(["\n ","\n"],["\n ","\n"])),gZe),bZe=y.default(XRe).withConfig({displayName:"ToolbarChannelSelector__StyledDropdown",componentId:"sc-fwvaya-0"})(uZe||(uZe=uTe(["\n ","\n display: flex;\n align-items: center;\n"],["\n ","\n display: flex;\n align-items: center;\n"])),fZe),OZe=y.default(r.NavLink).withConfig({displayName:"ToolbarChannelSelector__DropdownNavLink",componentId:"sc-fwvaya-1"})(cZe||(cZe=uTe(["\n ","\n"],["\n ","\n"])),mZe),_Ze=y.default.span.withConfig({displayName:"ToolbarChannelSelector__OptionSpan",componentId:"sc-fwvaya-2"})(dZe||(dZe=uTe(["\n ",";\n"],["\n ",";\n"])),mZe),wZe=function(e){var n=e.handler,i=e.disabled;return g5().unreadTracking?t.jsx(aGe,{tooltipResourceKey:"Generic.UnreadItems.markAllAsRead",onClick:n,iconName:"Read",disabled:i,ariaLabelResourceKey:"Generic.UnreadItems.markAllAsRead","data-clear-unread-items":!0},void 0):null},xZe=function(e){var n=e.onClick,i=e.to,r=e.disabled;return t.jsx(aGe,{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,(pZe=e.EventView||(e.EventView={})).UpcomingEvents="upcoming",pZe.MyBookedEvents="booked",pZe.PastEvents="past";var kZe,SZe,PZe,EZe,CZe=o.createGlobalStyle(kZe||(kZe=uTe(["\n ","\n"],["\n ","\n"])),gZe),FZe=y.default(XRe).withConfig({displayName:"ToolbarEventViewSelector__StyledDropdown",componentId:"sc-ft0a2d-0"})(SZe||(SZe=uTe(["\n ","\n display: flex;\n align-items: center;\n"],["\n ","\n display: flex;\n align-items: center;\n"])),fZe),TZe=y.default.span.withConfig({displayName:"ToolbarEventViewSelector__OptionSpan",componentId:"sc-ft0a2d-1"})(PZe||(PZe=uTe(["\n ",";\n"],["\n ",";\n"])),mZe);function DZe(){var e=rB(),t=e.createApiUrl,n=e.fetchFromApi,r=i.useContext(Nw).onRequestToken;return i.useMemo((function(){return{uploadImage:function(e,t,i,o,a){return aTe(this,void 0,void 0,(function(){var s,l;return sTe(this,(function(u){switch(u.label){case 0:return(s=new FormData).append("image",a,a.name||"image."+cG.getExtension(a.type)),[4,r()];case 1:return l=u.sent(),[2,n(e+"/attachments/"+o+"/images/"+i,{method:"POST",body:s,headers:{authorization:"Bearer "+l,"subscription-id":t}})]}}))}))},uploadFile:function(e,t,i,o,a){return aTe(this,void 0,void 0,(function(){var s,l;return sTe(this,(function(u){switch(u.label){case 0:return(s=new FormData).append("file",a),[4,r()];case 1:return l=u.sent(),[2,n(e+"/attachments/"+o+"/files/"+i,{method:"POST",body:s,headers:{authorization:"Bearer "+l,"subscription-id":t}})]}}))}))},getFileUrl:function(e,n,i,r,o){if(null!=o||(o=i.fileAccessToken),!o)return null;return t(e+"/attachments/"+i.attachmentContainerId+"/files/"+r,{subscriptionId:n,access_token:o})},getImageUrl:function(t,n,i,r,o,a){return e(t,n,i.fileAccessToken,i.attachmentContainerId,r,o,a)},getChatMessageImageUrl:function(t,n,i,r,o,a){return e(t,n,i.fileAccessToken,i.attachmentContainerId,r,o,a)}};function e(e,n,i,r,o,a,s){return t(null==a?e+"/attachments/"+r+"/images/"+o:"default"===a?e+"/attachments/"+r+"/images/"+o+"/default":e+"/attachments/"+r+"/images/"+o+"/"+a+"/"+(s||""),{subscriptionId:n,access_token:i})}}),[r,n,t])}function AZe(){var e=oB();return i.useMemo((function(){var t=null;return{getAllLanguages:n,getAllLanguagesLocalized:function(e){return aTe(this,void 0,void 0,(function(){var t;return sTe(this,(function(i){switch(i.label){case 0:return[4,n()];case 1:return t=i.sent(),[2,F9.apply(void 0,lTe([e],t))]}}))}))},resolveActiveLanguages:function(e){return aTe(this,void 0,void 0,(function(){return sTe(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 aTe(this,void 0,void 0,(function(){var t;return sTe(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 IZe(){var e=rB().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])}o.createGlobalStyle(EZe||(EZe=uTe(["\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 LZe,$Ze,zZe,RZe,jZe,MZe,QZe,NZe,UZe,BZe,qZe,GZe,WZe,XZe=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}(),VZe=function(e){var n=g5(),r=i.useState(null),o=r[0],a=r[1],s=a9().getUserAvatarUrl;if(bre(XZe.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(YZe,rTe({},e,{"data-avatar":!0,text:e.text,imageUrl:o,imageShouldFadeIn:!1,imageInitials:l,initialsColor:Ew(l),secondaryText:!e.forceShowSecondaryText&&N5(e.secondaryText)?null:e.secondaryText}),void 0);function u(e,t){return null==e?(a(null),null):s(e,t).subscribe((function(e){a(e)}),(function(e){return console.log(e)}))}},YZe=y.default(a.Persona).withConfig({displayName:"Avatar__StyledPersona",componentId:"sc-1r8d14y-0"})(LZe||(LZe=uTe(["\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"]))),ZZe=function(e){var n=e.className,i=e.iconName,r=e.tooltipResourceKey,o=e.tooltipText,a=e.children;return a?t.jsxs(KZe,rTe({className:n},{children:[i&&t.jsx(aze,rTe({resourceKey:r,text:o},{children:t.jsx(HZe,{iconName:i},"icon")}),void 0),a]}),void 0):null},HZe=y.default(a.Icon).withConfig({displayName:"UserPropertyWrapper__StyledIcon",componentId:"sc-yfrgje-0"})($Ze||($Ze=uTe(["\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"]))),KZe=y.default.div.withConfig({displayName:"UserPropertyWrapper__PropertyContainer",componentId:"sc-yfrgje-1"})(zZe||(zZe=uTe(["\n display: flex;\n max-width: 100%;\n"],["\n display: flex;\n max-width: 100%;\n"]))),JZe=function(e){var n=e.email;return N5(n)?null:t.jsx(ZZe,rTe({iconName:"mail",tooltipResourceKey:"Generic.mail"},{children:t.jsx(sHe,rTe({href:"mailto:"+n},{children:n}),void 0)}),void 0)},eHe=function(e){var n=e.value,i=Wk().formatMessage;return null==n?null:t.jsx(ZZe,rTe({iconName:"cellPhone",tooltipResourceKey:"Generic.mobilePhone"},{children:t.jsx(sHe,rTe({href:"tel:"+n},{children:i({id:"Generic.callMobile"},{number:n})}),void 0)}),void 0)},tHe=function(e){var n=e.value,i=Wk().formatMessage;return null==n?null:(n="string"==typeof n?[n]:n,t.jsx(t.Fragment,{children:n.map((function(e,n){return t.jsx(ZZe,rTe({iconName:"phone",tooltipResourceKey:"Generic.businessPhone"},{children:t.jsx(sHe,rTe({href:"tel:"+e},{children:i({id:"Generic.callOffice"},{number:e})}),void 0)}),e+n)}))},void 0))},nHe=function(e){var n=e.value,i=e.tooltipResourceKey,r=g5();return null==n?null:t.jsx(ZZe,rTe({iconName:"MapPin",tooltipResourceKey:i||"Generic.Location"},{children:r.userLocationLookup?t.jsx(sHe,rTe({target:"_blank",rel:"noopener noreferrer",href:kWe(n)},{children:n}),void 0):t.jsx(t.Fragment,{children:n},void 0)}),void 0)},iHe=function(e){var n=e.value;return null==n?null:t.jsx(ZZe,rTe({iconName:"workforceManagement",tooltipResourceKey:"Generic.department"},{children:n}),void 0)},rHe=function(e){var n=e.value;return null==n?null:t.jsx(ZZe,rTe({iconName:"contactCard",tooltipResourceKey:"Generic.jobTitle"},{children:n}),void 0)},oHe=function(e){var n=e.value,i=dne().buildPath,r=g5();if(!(null==n?void 0:n.userId)||!r.chat)return null;var o={id:n.userId,displayName:n.displayName,userPrincipalName:n.userPrincipalName};return t.jsx(ZZe,rTe({iconName:"Chat",tooltipResourceKey:"Generic.sendChatMessage"},{children:t.jsx(lHe,rTe({to:i("chats/new")+"?"+Wm.stringify({userId:o.id,userDisplayName:o.displayName,userPrincipalName:o.userPrincipalName})},{children:t.jsx(pS,{id:"Generic.sendChatMessage"},void 0)}),void 0)}),void 0)},aHe=o.css(RZe||(RZe=uTe(["\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})),sHe=y.default.a.withConfig({displayName:"UserProperties__StyledAnchor",componentId:"sc-1aw5jcq-0"})(jZe||(jZe=uTe(["\n ","\n"],["\n ","\n"])),aHe),lHe=y.default(r.Link).withConfig({displayName:"UserProperties__StyledLink",componentId:"sc-1aw5jcq-1"})(MZe||(MZe=uTe(["\n ","\n"],["\n ","\n"])),aHe),uHe={mobilePhone:eHe,department:iHe,address:nHe},cHe=function(e){var n=e.className,r=e.value,o=e.definition,a=function(){var e=m5(),t=Wk().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),o=i.translations||{},a=Object.keys(n);return r&&o[r]||o[e.subscription.defaultLanguage]||i.label||a.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=a.getPropertyLabel,l=a.getPropertyIcon;if(null==r)return null;var u=s(o),c=l(o),d=uHe[o.name];return d?i.createElement(d,{value:r}):t.jsx(ZZe,rTe({iconName:c,tooltipText:u,className:n},{children:r}),void 0)},dHe=function(e){var n,i,r,o,a,s=e.user,l=e.ignoredProperties,u=void 0===l?[]:l;return t.jsxs(t.Fragment,{children:[!u.includes("department")&&t.jsx(iHe,{value:null===(n=s.properties)||void 0===n?void 0:n.department},void 0),!u.includes("jobTitle")&&t.jsx(rHe,{value:null===(i=s.properties)||void 0===i?void 0:i.jobTitle},void 0),!u.includes("mobilePhone")&&t.jsx(eHe,{value:null===(r=s.properties)||void 0===r?void 0:r.mobilePhone},void 0),!u.includes("businessPhones")&&t.jsx(tHe,{value:null===(o=s.properties)||void 0===o?void 0:o.businessPhones},void 0),!u.includes("chatMessage")&&t.jsx(oHe,{value:s},void 0),!u.includes("officeLocation")&&t.jsx(nHe,{value:null===(a=s.properties)||void 0===a?void 0:a.officeLocation},void 0)]},void 0)},pHe=function(e){var n=e.user,i=e.ignoredProperties,r=void 0===i?[]:i,o=m5();return t.jsxs(t.Fragment,{children:[!r.includes("chatMessage")&&t.jsx(oHe,{value:n},void 0),o.subscription.userPropertyDefinitions.filter((function(e){return!r.includes(e.name)})).map((function(e){var i;return t.jsx(cHe,{definition:e,value:null===(i=n.properties)||void 0===i?void 0:i[e.name]},e.name)}))]},void 0)},hHe=["displayName","department","jobTitle"],fHe=function(e){var n,i=e.upn,r=e.showAvatar,o=e.id,s=a9(),l=s.getUserInfo,u=s.getUserInfoById,c=$w((function(){return i?l(i):u(o)}),null,[i,o]),d=c[0],p=c[1];if(c[2])return t.jsx(mHe,{children:i?t.jsx(pS,{id:"Profile.CannotLoadInfo",values:{upn:i}},void 0):t.jsx(pS,{id:"Profile.CannotLoadInfoByUserId"},void 0)},void 0);if(p)return t.jsx(yHe,{},void 0);var h=r?hHe:[];return t.jsxs(gHe,rTe({"data-user-details":!0},{children:[r&&t.jsx(VZe,{upn:d.userPrincipalName,size:a.PersonaSize.large,text:d.displayName||d.userPrincipalName,secondaryText:d.properties&&d.properties.department,tertiaryText:d.properties&&d.properties.jobTitle},void 0),t.jsxs(vHe,{children:[t.jsx(JZe,{email:null!==(n=d.mail)&&void 0!==n?n:d.userPrincipalName},void 0),d.isDirectoryUser?t.jsx(dHe,{user:d,ignoredProperties:h},void 0):t.jsx(pHe,{user:d,ignoredProperties:h},void 0)]},void 0)]}),void 0)},mHe=y.default.div.withConfig({displayName:"UserDetails__ErrorContainer",componentId:"sc-uqfudb-0"})(QZe||(QZe=uTe(["\n padding: 20px;\n"],["\n padding: 20px;\n"]))),gHe=y.default.div.withConfig({displayName:"UserDetails__Host",componentId:"sc-uqfudb-1"})(NZe||(NZe=uTe(["\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"])),Z7),vHe=y.default.div.withConfig({displayName:"UserDetails__ContactCard",componentId:"sc-uqfudb-2"})(UZe||(UZe=uTe(["\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"])),I7),yHe=y.default(vje).withConfig({displayName:"UserDetails__StyledSpinner",componentId:"sc-uqfudb-3"})(BZe||(BZe=uTe(["\n padding: 20px 80px;\n"],["\n padding: 20px 80px;\n"]))),bHe=function(e){var n=e.upn,r=e.className,o=e.children,s=e.readOnly,l=e.domIdentifier,u=i.useRef(null),c=m5(),d=i.useState(!1),p=d[0],h=d[1];return s?t.jsx(_He,rTe({className:r},{children:o}),void 0):t.jsxs(t.Fragment,{children:[t.jsx(_He,rTe({ref:u,className:r},{children:t.jsx(wHe,rTe({"data-persona-button":l,"data-rounded-outline":"avatar"===l&&50,className:"persona-card-children",onClick:function(e){e.preventDefault(),h(!p)},ariaLabel:n},{children:o}),"children")}),void 0),p&&!c.isPublicUser&&t.jsx(ORe,rTe({className:"persona-card-callout",directionalHint:a.DirectionalHint.bottomCenter,isBeakVisible:!0,onDismiss:function(){return h(!1)},target:u.current},{children:t.jsx(OHe,{children:t.jsx(fHe,{upn:n,showAvatar:!0},void 0)},void 0)}),"callout")]},void 0)},OHe=y.default.div.withConfig({displayName:"PersonaCard__CalloutHost",componentId:"sc-g7cgoc-0"})(qZe||(qZe=uTe(["\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,L7,M7),_He=y.default.div.withConfig({displayName:"PersonaCard__Label",componentId:"sc-g7cgoc-1"})(GZe||(GZe=uTe(["\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"]))),wHe=y.default(a.ActionButton).withConfig({displayName:"PersonaCard__StyledButton",componentId:"sc-g7cgoc-2"})(WZe||(WZe=uTe(["\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 xHe(){return xHe=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},xHe.apply(this,arguments)}var kHe=function(e){return m.createElement("svg",xHe({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 SHe(){return SHe=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},SHe.apply(this,arguments)}var PHe=function(e){return m.createElement("svg",SHe({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 EHe(){return EHe=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},EHe.apply(this,arguments)}var CHe,FHe,THe,DHe,AHe,IHe,LHe=function(e){return m.createElement("svg",EHe({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"}}))},$He=function(e){var n=e.info,i="number"==typeof n;return t.jsx(zHe,rTe({isNumber:i,"data-badge-info":n},{children:t.jsx(RHe,rTe({isNumber:i},{children:"number"==typeof n&&n}),void 0)}),void 0)},zHe=y.default.div.withConfig({displayName:"MenuItemBadge__Host",componentId:"sc-1x1dhyf-0"})(THe||(THe=uTe(["\n display: flex;\n justify-content: center;\n ","\n"],["\n display: flex;\n justify-content: center;\n ","\n"])),(function(e){return e.isNumber?o.css(CHe||(CHe=uTe(["\n min-width: 22px; /* badge min-width */\n "],["\n min-width: 22px; /* badge min-width */\n "]))):o.css(FHe||(FHe=uTe(["\n width: 22px;\n "],["\n width: 22px;\n "])))})),RHe=y.default.div.withConfig({displayName:"MenuItemBadge__Badge",componentId:"sc-1x1dhyf-1"})(AHe||(AHe=uTe(["\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 o.css(DHe||(DHe=uTe(["\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,H7)}));function jHe(){return jHe=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},jHe.apply(this,arguments)}var MHe,QHe=function(e){return m.createElement("svg",jHe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048"},e),IHe||(IHe=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 NHe(n){return t.jsx(VHe,rTe({"data-page-alert":!0},{children:t.jsxs(YHe,{children:[n.errorType&&t.jsx(ZHe,rTe({onClick:n.onClick},{children:n.errorType===e.ErrorType.LoginError?t.jsx(PHe,{},void 0):n.errorType===e.ErrorType.GenericError?t.jsx(kHe,{},void 0):n.errorType===e.ErrorType.Error403?t.jsx(LHe,{},void 0):t.jsx(rqe,{},void 0)}),void 0),t.jsx(HHe,{children:n.alertText},void 0),t.jsx(KHe,{children:n.children},void 0)]},void 0)}),void 0)}e.ErrorType=void 0,(MHe=e.ErrorType||(e.ErrorType={})).GenericError="genericError",MHe.Error404="error404",MHe.Error403="error403",MHe.LoginError="loginError";var UHe,BHe,qHe,GHe,WHe,XHe,VHe=y.default.div.withConfig({displayName:"PageAlert__Host",componentId:"sc-gj7gx6-0"})(UHe||(UHe=uTe(["\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})),YHe=y.default.div.withConfig({displayName:"PageAlert__Content",componentId:"sc-gj7gx6-1"})(BHe||(BHe=uTe(["\n padding: 30px;\n text-align: center;\n"],["\n padding: 30px;\n text-align: center;\n"]))),ZHe=y.default.div.withConfig({displayName:"PageAlert__SvgContainer",componentId:"sc-gj7gx6-2"})(qHe||(qHe=uTe(["\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}),q7),HHe=y.default.p.withConfig({displayName:"PageAlert__Text",componentId:"sc-gj7gx6-3"})(GHe||(GHe=uTe(["\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})),KHe=y.default.div.withConfig({displayName:"PageAlert__AdditionalContent",componentId:"sc-gj7gx6-4"})(WHe||(WHe=uTe(["\n margin: auto;\n max-width: 400px;\n"],["\n margin: auto;\n max-width: 400px;\n"]))),JHe=y.default.div.withConfig({displayName:"PageAlert__CenteredAlert",componentId:"sc-gj7gx6-5"})(XHe||(XHe=uTe(["\n display: flex;\n justify-content: space-around;\n"],["\n display: flex;\n justify-content: space-around;\n"]))),eKe={exports:{}},tKe=Object.getOwnPropertySymbols,nKe=Object.prototype.hasOwnProperty,iKe=Object.prototype.propertyIsEnumerable;function rKe(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var oKe=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=rKe(e),o=1;o<arguments.length;o++){for(var a in n=Object(arguments[o]))nKe.call(n,a)&&(r[a]=n[a]);if(tKe){i=tKe(n);for(var s=0;s<i.length;s++)iKe.call(n,i[s])&&(r[i[s]]=n[i[s]])}}return r},aKe="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",sKe=Function.call.bind(Object.prototype.hasOwnProperty),lKe=function(){};if("production"!==process.env.NODE_ENV){var uKe=aKe,cKe={},dKe=sKe;lKe=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function pKe(e,t,n,i,r){if("production"!==process.env.NODE_ENV)for(var o in e)if(dKe(e,o)){var a;try{if("function"!=typeof e[o]){var s=Error((i||"React class")+": "+n+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}a=e[o](t,o,i,n,null,uKe)}catch(e){a=e}if(!a||a instanceof Error||lKe((i||"React class")+": type specification of "+n+" `"+o+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof a+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),a instanceof Error&&!(a.message in cKe)){cKe[a.message]=!0;var l=r?r():"";lKe("Failed "+n+" type: "+a.message+(null!=l?l:""))}}}pKe.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(cKe={})};var hKe=pKe,fKe=_.default,mKe=oKe,gKe=aKe,vKe=sKe,yKe=hKe,bKe=function(){};function OKe(){return null}"production"!==process.env.NODE_ENV&&(bKe=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}});function _Ke(){}function wKe(){}wKe.resetWarningCache=_Ke;if("production"!==process.env.NODE_ENV){var xKe=_.default;eKe.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(OKe),arrayOf:function(e){return s((function(t,n,i,r,o){if("function"!=typeof e)return new a("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s))return new a("Invalid "+r+" `"+o+"` 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,o+"["+l+"]",gKe);if(u instanceof Error)return u}return null}))},element:s((function(t,n,i,r,o){var s=t[n];return e(s)?null:new a("Invalid "+r+" `"+o+"` of type `"+d(s)+"` supplied to `"+i+"`, expected a single ReactElement.")})),elementType:s((function(e,t,n,i,r){var o=e[t];return fKe.isValidElementType(o)?null:new a("Invalid "+i+" `"+r+"` of type `"+d(o)+"` supplied to `"+n+"`, expected a single ReactElement type.")})),instanceOf:function(e){return s((function(t,n,r,o,s){if(!(t[n]instanceof e)){var l=e.name||i;return new a("Invalid "+o+" `"+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 a("Invalid "+i+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return s((function(t,n,i,r,o){if("function"!=typeof e)return new a("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var s=t[n],l=d(s);if("object"!==l)return new a("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected an object.");for(var u in s)if(vKe(s,u)){var c=e(s,u,i,r,o+"."+u,gKe);if(c instanceof Error)return c}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&bKe(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."),OKe;function t(t,n,i,r,s){for(var l=t[n],u=0;u<e.length;u++)if(o(l,e[u]))return null;var c=JSON.stringify(e,(function(e,t){return"symbol"===p(t)?String(t):t}));return new a("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&&bKe("Invalid argument supplied to oneOfType, expected an instance of array."),OKe;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return bKe("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+h(n)+" at index "+t+"."),OKe}return s((function(t,n,i,r,o){for(var s=[],l=0;l<e.length;l++){var u=(0,e[l])(t,n,i,r,o,gKe);if(null==u)return null;u.data&&vKe(u.data,"expectedType")&&s.push(u.data.expectedType)}return new a("Invalid "+r+" `"+o+"` supplied to `"+i+"`"+(s.length>0?", expected one of type ["+s.join(", ")+"]":"")+".")}))},shape:function(e){return s((function(t,n,i,r,o){var s=t[n],l=d(s);if("object"!==l)return new a("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");for(var c in e){var h=e[c];if("function"!=typeof h)return u(i,r,o,c,p(h));var f=h(s,c,i,r,o+"."+c,gKe);if(f)return f}return null}))},exact:function(e){return s((function(t,n,i,r,o){var s=t[n],l=d(s);if("object"!==l)return new a("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");var c=mKe({},t[n],e);for(var h in c){var f=e[h];if(vKe(e,h)&&"function"!=typeof f)return u(i,r,o,h,p(f));if(!f)return new a("Invalid "+r+" `"+o+"` key `"+h+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var m=f(s,h,i,r,o+"."+h,gKe);if(m)return m}return null}))}};function o(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function a(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 o(o,s,l,u,c,d,p){if(u=u||i,d=d||l,p!==gKe){if(t){var h=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 h.name="Invariant Violation",h}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var f=u+":"+l;!n[f]&&r<3&&(bKe("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]?o?null===s[l]?new a("The "+c+" `"+d+"` is marked as required in `"+u+"`, but its value is `null`."):new a("The "+c+" `"+d+"` is marked as required in `"+u+"`, but its value is `undefined`."):null:e(s,l,u,c,d)}var s=o.bind(null,!1);return s.isRequired=o.bind(null,!0),s}function l(e){return s((function(t,n,i,r,o,s){var l=t[n];return d(l)!==e?new a("Invalid "+r+" `"+o+"` of type `"+p(l)+"` supplied to `"+i+"`, expected `"+e+"`.",{expectedType:e}):null}))}function u(e,t,n,i,r){return new a((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,o=i.call(t);if(i!==t.entries){for(;!(r=o.next()).done;)if(!c(r.value))return!1}else for(;!(r=o.next()).done;){var a=r.value;if(a&&!c(a[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 p(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 h(e){var t=p(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return a.prototype=Error.prototype,r.checkPropTypes=yKe,r.resetWarningCache=yKe.resetWarningCache,r.PropTypes=r,r}(xKe.isElement,!0)}else eKe.exports=function(){function e(e,t,n,i,r,o){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==o){var a=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 a.name="Invariant Violation",a}}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:wKe,resetWarningCache:_Ke};return n.PropTypes=n,n}();var kKe=eKe.exports,SKe=Object.freeze({__proto__:null,useCurrentUser:m5,useAccountApi:a9,useAuthenticationContext:Uw,useEnvironmentConfig:Am,useNotificationContext:Zie,usePromise:$w,LinkContext:vS,TextLink:eGe,logger:ng,createId:rg,ResourceContext:SS,usePluginSettings:function(){var e=i.useContext(mne).settings;return null!=e?e:{}},usePluginStorage:bne,usePluginDeviceStore:bne,usePluginSubscriptionStore:function(){return i.useContext(mne).subscriptionStore},usePluginSubscriptionStoreValue:function(e,t){var n=this,r=i.useContext(mne).subscriptionStore,o=$w((function(){return r.get(e).catch(_ne)}),void 0,dJ(dJ([],t||[]),[e])),a=o[0],s=o[1],l=o[2],u=o[3],c=o[4];return{data:a,set:function(t){return uJ(n,void 0,void 0,(function(){var n;return cJ(this,(function(i){switch(i.label){case 0:return n=a?JSON.parse(JSON.stringify(a)):void 0,u(t),[4,r.set(e,t).catch((function(e){return u(n),_ne(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:s,error:l,refresh:c,remove:function(){return uJ(n,void 0,void 0,(function(){var t;return cJ(this,(function(n){switch(n.label){case 0:return t=a?JSON.parse(JSON.stringify(a)):void 0,u(void 0),[4,r.delete(e).catch((function(e){return u(t),_ne(e)}))];case 1:return[2,n.sent()]}}))}))}}},usePluginUserStore:function(){return i.useContext(mne).userStore},usePluginUserStoreValue:function(e,t){var n=this,r=i.useContext(mne).userStore,o=$w((function(){return r.get(e).catch(_ne)}),void 0,dJ(dJ([],t||[]),[e])),a=o[0],s=o[1],l=o[2],u=o[3],c=o[4];return{data:a,set:function(t){return uJ(n,void 0,void 0,(function(){var n;return cJ(this,(function(i){switch(i.label){case 0:return n=a?JSON.parse(JSON.stringify(a)):void 0,u(t),[4,r.set(e,t).catch((function(e){return u(n),_ne(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:s,error:l,refresh:c,remove:function(){return uJ(n,void 0,void 0,(function(){var t;return cJ(this,(function(n){switch(n.label){case 0:return t=a?JSON.parse(JSON.stringify(a)):void 0,u(void 0),[4,r.delete(e).catch((function(e){return u(t),_ne(e)}))];case 1:return[2,n.sent()]}}))}))}}},useReachApiEndPoints:function(){return{apiEndpoint:Dm().apiEndpoint}},AccountType:H6,PeoplePicker:Pze,GutterToggle:mze,EditorSettingsDialog:hze,Spinner:a.Spinner,SelectionMode:a.SelectionMode,EditorHighlight:lze,useTheme:function(){return i.useContext(Qie).theme},useSubscriptionHandlePathBuilder:dne,useSubscriptionWebAppUrl:pne});var PKe,EKe,CKe=[{name:"@reach/core",packageDefinition:rTe({default:{}},SKe)}],FKe=[{name:"react",packageDefinition:rTe(rTe({},g.default),{default:g.default})},{name:"react-dom",packageDefinition:rTe(rTe({},O),{default:O})},{name:"react-is",packageDefinition:rTe(rTe({},_.default),{default:_.default})},{name:"prop-types",packageDefinition:rTe({default:kKe},kKe)},{name:"react-router-dom",packageDefinition:rTe({},v)},{name:"styled-components",packageDefinition:{default:y.default,createGlobalStyle:o.createGlobalStyle,css:o.css,useTheme:o.useTheme,isStyledComponent:o.isStyledComponent,keyframes:o.keyframes,withTheme:o.withTheme,ThemeProvider:o.ThemeProvider,ThemeContext:o.ThemeContext,ThemeConsumer:o.ThemeConsumer}},{name:"office-ui-fabric-react",packageDefinition:{default:{},Checkbox:a.Checkbox,Label:a.Label,PrimaryButton:a.PrimaryButton,Icon:a.Icon,Link:a.Link,TextField:a.TextField,ActionButton:a.ActionButton,IconButton:a.IconButton,DefaultButton:a.DefaultButton,Spinner:a.Spinner,Dropdown:a.Dropdown,ProgressIndicator:a.ProgressIndicator,Shimmer:a.Shimmer,ShimmerElementsGroup:a.ShimmerElementsGroup,ShimmerElementType:a.ShimmerElementType,DirectionalHint:a.DirectionalHint,PersonaSize:a.PersonaSize,TooltipHost:a.TooltipHost,DialogType:a.DialogType,Dialog:dTe,DialogFooter:a.DialogFooter,ChoiceGroup:a.ChoiceGroup}},{name:"react-intl",packageDefinition:{default:{},FormattedMessage:pS,useIntl:Wk,FormattedDate:hS,FormattedTime:fS,IntlProvider:tS}},{name:"@apollo/client",packageDefinition:{default:{},gql:WL,useQuery:function(e,t){return d$(e,t,!1)},ApolloClient:jL,ApolloProvider:n$,from:hA,ApolloLink:pA,fromPromise:aA,split:fA,HttpLink:wA,InMemoryCache:yL,useLazyQuery:function(e,t){return d$(e,t,!0)},useMutation:p$,ApolloError:OL,useApolloClient:i$,useSubscription:function(e,t){var n=i.useReducer((function(e){return e+1}),0),r=n[1],o=i.useContext(e$()),a=t?ko(ko({},t),{subscription:e}):{subscription:e},s=i.useState({loading:!a.skip,error:void 0,data:void 0}),l=s[0],u=s[1],c=i.useRef(),d=(c.current||(c.current=new s$({options:a,context:o,setResult:u})),c.current);return d.setOptions(a,!0),d.context=o,__DEV__&&c$(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:mz}},{name:"@apollo/client/link/ws",packageDefinition:{default:{},WebSocketLink:Fz}},{name:"@apollo/client/utilities",packageDefinition:{default:{},getMainDefinition:eD}},{name:"@apollo/client/link/context",packageDefinition:{default:{},setContext:h$}}],TKe=function(e){var n=e.color,r=e.onColorChange,o=e.className,s=i.useState(n),l=s[0],u=s[1];return i.useEffect((function(){u(n)}),[n]),t.jsx(DKe,rTe({className:o},{children:t.jsx(a.ColorPicker,{alphaType:"none",color:l,onChange:function(e,t){return function(e){u(e),null==r||r(e)}(t.str)}},void 0)}),void 0)},DKe=y.default.div.withConfig({displayName:"ColorEditor__Host",componentId:"sc-add00t-0"})(PKe||(PKe=uTe(["\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"])),L7);!function(e){e.Row="row",e.Column="column"}(EKe||(EKe={})),y.default(r.NavLink).withConfig({displayName:"Icon__StyledNavLink",componentId:"sc-179by8k-0"})(AKe||(AKe=uTe(["\n &,\n &:hover,\n &:visited,\n &:active {\n color: var(--text-color-default);\n }\n\n > span {\n gap: ",";\n }\n\n &:focus {\n [data-icon-state='default']:not(:only-child) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n"],["\n &,\n &:hover,\n &:visited,\n &:active {\n color: var(--text-color-default);\n }\n\n > span {\n gap: ",";\n }\n\n &:focus {\n [data-icon-state='default']:not(:only-child) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n"])),(function(e){return"row"===e.direction?"10px":"5px"}));var AKe,IKe,LKe,$Ke,zKe,RKe,jKe,MKe=function(e){var n=e.defaultSVG,i=e.onClick,r=e.hoveredSVG,o=e.selectedSVG,a=e.label,s=e.labelDirection,l=e.size,u=e.disabled,c=e.className,d=e.children;return t.jsxs(QKe,rTe({onClick:i,disabled:u,className:c,isSelected:!!o},{children:[t.jsx(NKe,{defaultSVG:n,hoveredSVG:r,selectedSVG:o,label:a,labelDirection:s,size:l},void 0),d]}),void 0)},QKe=y.default(a.ActionButton).withConfig({displayName:"Icon__StyledActionButton",componentId:"sc-179by8k-1"})($Ke||($Ke=uTe(["\n && {\n border-radius: 8px;\n padding: 8px 10px;\n }\n\n --iconTextColor: var(--color-neutral-950);\n\n &:focus-visible {\n [data-icon-state='default']:not(:only-child) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n\n ","\n"],["\n && {\n border-radius: 8px;\n padding: 8px 10px;\n }\n\n --iconTextColor: var(--color-neutral-950);\n\n &:focus-visible {\n [data-icon-state='default']:not(:only-child) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n\n ","\n"])),(function(e){return e.isSelected?o.css(IKe||(IKe=uTe(["\n background: var(--color-primary-100);\n --iconTextColor: var(--color-primary-700);\n\n [data-icon-state='selected'] {\n display: flex;\n }\n "],["\n background: var(--color-primary-100);\n --iconTextColor: var(--color-primary-700);\n\n [data-icon-state='selected'] {\n display: flex;\n }\n "]))):o.css(LKe||(LKe=uTe(["\n &:hover {\n background: transparent;\n --iconTextColor: var(--color-neutral-800);\n }\n "],["\n &:hover {\n background: transparent;\n --iconTextColor: var(--color-neutral-800);\n }\n "])))})),NKe=function(e){var n=e.defaultSVG,i=e.hoveredSVG,r=e.selectedSVG,o=e.label,a=e.labelDirection,s=void 0===a?EKe.Row:a,l=e.size,u=e.className;return t.jsxs(UKe,rTe({flexDirection:s,"data-icon-host":!0},{children:[!r&&t.jsx(BKe,rTe({size:l,"data-icon-state":"default",className:u},{children:n}),void 0),i&&!r&&t.jsx(BKe,rTe({size:l,"data-icon-state":"hovered",className:u},{children:i}),void 0),r&&t.jsx(BKe,rTe({size:l,"data-icon-state":"selected",className:u},{children:r}),void 0),o]}),void 0)},UKe=y.default.span.withConfig({displayName:"Icon__Host",componentId:"sc-179by8k-2"})(zKe||(zKe=uTe(["\n display: flex;\n flex-direction: ",";\n justify-content: center;\n align-items: center;\n gap: 10px;\n\n [data-icon-state='default'] {\n display: flex;\n }\n\n color: var(--iconTextColor);\n\n &:hover {\n [data-icon-state='default']:not(:only-child) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n"],["\n display: flex;\n flex-direction: ",";\n justify-content: center;\n align-items: center;\n gap: 10px;\n\n [data-icon-state='default'] {\n display: flex;\n }\n\n color: var(--iconTextColor);\n\n &:hover {\n [data-icon-state='default']:not(:only-child) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n"])),(function(e){return"var(--icon-label-direction,"+e.flexDirection+")"})),BKe=y.default.span.withConfig({displayName:"Icon__SVGWrapper",componentId:"sc-179by8k-3"})(RKe||(RKe=uTe(["\n width: ",";\n height: ",";\n justify-content: center;\n align-items: center;\n display: none;\n\n svg {\n max-width: 100%;\n width: auto;\n height: 100%;\n }\n"],["\n width: ",";\n height: ",";\n justify-content: center;\n align-items: center;\n display: none;\n\n svg {\n max-width: 100%;\n width: auto;\n height: 100%;\n }\n"])),(function(e){var t;return(null!==(t=e.size)&&void 0!==t?t:20)+"px"}),(function(e){var t;return(null!==(t=e.size)&&void 0!==t?t:20)+"px"}));function qKe(){return qKe=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},qKe.apply(this,arguments)}var GKe,WKe=function(e){return m.createElement("svg",qKe({width:18,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),jKe||(jKe=m.createElement("path",{d:"M14.742.992a.75.75 0 0 0-.522 1.288l1.22 1.22h-.69C8.822 3.5 4 8.322 4 14.25a.75.75 0 1 0 1.5 0A9.238 9.238 0 0 1 14.75 5h.69l-1.22 1.22a.75.75 0 1 0 1.06 1.06l2.436-2.435a.75.75 0 0 0-.004-1.194L15.28 1.22a.75.75 0 0 0-.538-.228ZM3.25 1A3.262 3.262 0 0 0 0 4.25v11.5A3.262 3.262 0 0 0 3.25 19h11.5A3.261 3.261 0 0 0 18 15.75v-4a.751.751 0 1 0-1.5 0v4a1.74 1.74 0 0 1-1.75 1.75H3.25a1.74 1.74 0 0 1-1.75-1.75V4.25c0-.975.775-1.75 1.75-1.75h4a.75.75 0 1 0 0-1.5h-4Z",fill:"#0F0E0E"})))};function XKe(){return XKe=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},XKe.apply(this,arguments)}var VKe,YKe=function(e){return m.createElement("svg",XKe({width:18,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),GKe||(GKe=m.createElement("path",{d:"M14.74.99a1 1 0 0 0-.697 1.717l.547.547C8.738 3.34 4 8.128 4 14a1 1 0 1 0 2 0 8.73 8.73 0 0 1 8.577-8.741l-.534.534a1 1 0 1 0 1.414 1.414l2.161-2.161a1 1 0 0 0-.004-1.596l-2.157-2.157a1 1 0 0 0-.718-.303ZM3.25 1A3.265 3.265 0 0 0 0 4.25v11.5A3.265 3.265 0 0 0 3.25 19h11.5A3.265 3.265 0 0 0 18 15.75V12a1 1 0 1 0-2 0v3.75c0 .702-.548 1.25-1.25 1.25H3.25C2.548 17 2 16.452 2 15.75V4.25C2 3.548 2.548 3 3.25 3H7a1 1 0 1 0 0-2H3.25Z",fill:"#0F0E0E"})))};function ZKe(){return ZKe=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},ZKe.apply(this,arguments)}var HKe,KKe=function(e){return m.createElement("svg",ZKe({width:20,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),VKe||(VKe=m.createElement("path",{d:"M15.46.964a3.57 3.57 0 0 0-2.532 1.044L10.38 4.556C9.176 5.76 9.078 7.599 9.957 8.982l-.975.976c-1.384-.88-3.223-.783-4.427.422l-2.548 2.548a3.594 3.594 0 0 0 0 5.065 3.594 3.594 0 0 0 5.065 0l2.548-2.548c1.205-1.204 1.302-3.043.422-4.426l.976-.976c1.384.88 3.222.782 4.426-.423l2.548-2.548a3.593 3.593 0 0 0 0-5.064A3.57 3.57 0 0 0 15.46.964Zm0 1.49c.531 0 1.063.205 1.472.614a2.07 2.07 0 0 1 0 2.944L14.384 8.56c-.63.63-1.544.764-2.308.424l1.64-1.638a.751.751 0 0 0-.818-1.23.75.75 0 0 0-.243.17l-1.64 1.638a2.06 2.06 0 0 1 .426-2.308l2.547-2.548c.41-.409.941-.614 1.472-.614Zm-8.372 8.373c.286 0 .568.07.835.19l-1.638 1.637a.75.75 0 1 0 1.06 1.06l1.639-1.637c.34.763.206 1.677-.424 2.307L6.01 16.933a2.07 2.07 0 0 1-2.943-.001 2.07 2.07 0 0 1 0-2.943l2.548-2.549c.41-.409.941-.613 1.472-.613Z",fill:"#0F0E0E"})))};function JKe(){return JKe=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},JKe.apply(this,arguments)}var eJe,tJe=function(e){return m.createElement("svg",JKe({width:20,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),HKe||(HKe=m.createElement("path",{d:"M15.46.715a3.82 3.82 0 0 0-2.709 1.116L10.203 4.38C8.966 5.616 8.82 7.486 9.64 8.945l-.695.695c-1.46-.821-3.33-.674-4.567.563L1.83 12.751a3.847 3.847 0 0 0 0 5.419 3.848 3.848 0 0 0 5.42 0l2.547-2.548c1.237-1.237 1.384-3.108.563-4.567l.695-.695c1.46.82 3.329.674 4.566-.563l2.548-2.548a3.846 3.846 0 0 0 0-5.418A3.82 3.82 0 0 0 15.46.715Zm0 1.988c.467 0 .933.18 1.295.542a1.817 1.817 0 0 1 0 2.59l-2.548 2.548c-.455.455-1.07.59-1.648.473l1.334-1.334a1.001 1.001 0 0 0-1.415-1.415l-1.334 1.334c-.117-.578.019-1.193.473-1.648l2.548-2.548a1.825 1.825 0 0 1 1.295-.542Zm-8.372 8.372c.12 0 .235.046.353.07l-1.333 1.332a1.002 1.002 0 0 0 1.415 1.416l1.333-1.333c.116.577-.019 1.193-.473 1.647l-2.549 2.549a1.816 1.816 0 0 1-2.59-.001 1.816 1.816 0 0 1 0-2.589l2.55-2.549a1.825 1.825 0 0 1 1.294-.542Z",fill:"#0F0E0E"})))};function nJe(){return nJe=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},nJe.apply(this,arguments)}var iJe;function rJe(){return rJe=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},rJe.apply(this,arguments)}var oJe,aJe=function(e){return m.createElement("svg",rJe({width:3,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),iJe||(iJe=m.createElement("path",{d:"M1.5 12.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Zm0-6a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Zm0-6a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Z",fill:"#0F0E0E"})))};function sJe(){return sJe=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},sJe.apply(this,arguments)}var lJe,uJe=function(e){return m.createElement("svg",sJe({width:6,height:11,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),oJe||(oJe=m.createElement("path",{d:"M1.003.992A.75.75 0 0 0 .481 2.28l3.47 3.47L.48 9.22a.75.75 0 1 0 1.06 1.06l4-4a.75.75 0 0 0 0-1.06l-4-4a.75.75 0 0 0-.538-.228Z",fill:"#0F0E0E"})))};function cJe(){return cJe=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},cJe.apply(this,arguments)}var dJe,pJe=function(e){return m.createElement("svg",cJe({width:6,height:11,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),lJe||(lJe=m.createElement("path",{d:"M4.985.993a.75.75 0 0 0-.515.227l-4 4a.75.75 0 0 0 0 1.06l4 4a.748.748 0 0 0 1.235-.236.75.75 0 0 0-.175-.824L2.06 5.75l3.47-3.47A.75.75 0 0 0 4.985.993Z",fill:"#0F0E0E"})))};function hJe(){return hJe=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},hJe.apply(this,arguments)}var fJe,mJe=function(e){return m.createElement("svg",hJe({width:18,height:18,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),dJe||(dJe=m.createElement("path",{d:"M16.743.49a.75.75 0 0 0-.523.23L9 7.94 1.78.72A.75.75 0 1 0 .72 1.78L7.94 9 .72 16.22a.75.75 0 1 0 1.06 1.06L9 10.06l7.22 7.22a.751.751 0 1 0 1.06-1.06L10.06 9l7.22-7.22a.75.75 0 0 0-.537-1.29Z",fill:"#0F0E0E"})))};function gJe(){return gJe=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},gJe.apply(this,arguments)}var vJe,yJe,bJe=function(e){return m.createElement("svg",gJe({width:19,height:17,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),fJe||(fJe=m.createElement("path",{d:"M7.735.493A.75.75 0 0 0 7.22.72l-7 7a.75.75 0 0 0 0 1.06l7 7a.748.748 0 0 0 1.235-.236.75.75 0 0 0-.175-.824L2.56 9h14.69a.75.75 0 1 0 0-1.5H2.56l5.72-5.72A.75.75 0 0 0 7.735.493Z",fill:"#0F0E0E"})))},OJe=i.createContext(null),_Je=i.forwardRef((function(e,n){return!i.useContext(OJe)||e.neverStackChildren?t.jsx(xJe,rTe({ref:n},e),void 0):t.jsx(wJe,rTe({},e),void 0)})),wJe=function(e){var t=e.isOpen,n=e.onDismiss,r=e.initialBreakpoint,o=e.children,a=i.useContext(OJe).addNewLayer;return i.useEffect((function(){t&&a(o,n,r)}),[t]),null},xJe=i.forwardRef((function(e,n){var i=e.isOpen,r=e.onDismiss,o=e.initialBreakpoint,a=e.breakpoints,s=e.className,l=e.children,u=toe();return t.jsx("div",{children:t.jsx(REe,rTe({isOpen:i,ref:n,onDidDismiss:r,initialBreakpoint:o,breakpoints:null!=a?a:[0,o,1],className:u,handleBehavior:"cycle"},{children:t.jsx(IEe,rTe({forceOverscroll:!1},{children:t.jsx(kJe,rTe({className:s},{children:l((function(){return null}))}),void 0)}),void 0)}),void 0)},void 0)})),kJe=y.default.div.withConfig({displayName:"ModalBottomSheet__Host",componentId:"sc-afg2pp-0"})(vJe||(vJe=uTe(["\n padding: 40px 24px 24px;\n\n @media screen and (min-width: ","px) {\n padding: 40px 32px 32px;\n }\n"],["\n padding: 40px 24px 24px;\n\n @media screen and (min-width: ","px) {\n padding: 40px 32px 32px;\n }\n"])),j7);!function(e){e[e.normal=0]="normal",e[e.close=1]="close"}(yJe||(yJe={}));var SJe,PJe,EJe,CJe,FJe,TJe,DJe=function(e){var n=e.isOpen,i=e.triggerButton,r=e.title,o=e.type,a=void 0===o?yJe.close:o,s=e.isBlocking,l=e.onDismiss,u=e.className,c=e.children,d=toe(),p=Wk().formatMessage;return t.jsxs(HFe,rTe({open:n,onOpenChange:function(e){return e||null==l?void 0:l()}},{children:[t.jsx(KFe,rTe({asChild:!0},{children:i}),void 0),t.jsxs(JFe,{children:[t.jsx(AJe,{},void 0),t.jsxs(IJe,rTe({className:YB(d,u),onInteractOutside:s?function(e){return e.preventDefault()}:void 0},{children:[(r||a===yJe.close)&&t.jsxs(LJe,rTe({"data-dialog-header":!0},{children:[r&&t.jsx(zJe,rTe({"data-dialog-header-title":!0},{children:r}),void 0),a===yJe.close&&t.jsx(iTe,rTe({asChild:!0},{children:t.jsx(RJe,rTe({"aria-label":p({id:"Generic.close"})},{children:t.jsx(mJe,{},void 0)}),void 0)}),void 0)]}),void 0),t.jsx($Je,rTe({"data-dialog-inner":!0},{children:c}),void 0)]}),void 0)]},void 0)]}),void 0)},AJe=y.default(eTe).withConfig({displayName:"BaseDialog__StyledOverlay",componentId:"sc-1ka4pfl-0"})(SJe||(SJe=uTe(["\n background-color: rgba(15, 14, 14, 0.4);\n position: fixed;\n z-index: 2;\n inset: 0;\n animation: overlayShow 150ms cubic-bezier(0.16, 1, 0.3, 1);\n\n @keyframes overlayShow {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n"],["\n background-color: rgba(15, 14, 14, 0.4);\n position: fixed;\n z-index: 2;\n inset: 0;\n animation: overlayShow 150ms cubic-bezier(0.16, 1, 0.3, 1);\n\n @keyframes overlayShow {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n"]))),IJe=y.default(tTe).withConfig({displayName:"BaseDialog__StyledContent",componentId:"sc-1ka4pfl-1"})(PJe||(PJe=uTe(["\n z-index: 3;\n background-color: white;\n color: var(--text-color-default);\n\n overflow: auto;\n width: auto;\n\n &:focus {\n outline: none;\n }\n"],["\n z-index: 3;\n background-color: white;\n color: var(--text-color-default);\n\n overflow: auto;\n width: auto;\n\n &:focus {\n outline: none;\n }\n"]))),LJe=y.default.div.withConfig({displayName:"BaseDialog__Header",componentId:"sc-1ka4pfl-2"})(EJe||(EJe=uTe(["\n padding: 24px 24px 6px;\n box-sizing: border-box;\n"],["\n padding: 24px 24px 6px;\n box-sizing: border-box;\n"]))),$Je=y.default.div.withConfig({displayName:"BaseDialog__Inner",componentId:"sc-1ka4pfl-3"})(CJe||(CJe=uTe(["\n max-width: 100%;\n padding: 24px;\n max-height: calc(100% - 55px);\n box-sizing: border-box;\n"],["\n max-width: 100%;\n padding: 24px;\n max-height: calc(100% - 55px);\n box-sizing: border-box;\n"]))),zJe=y.default(nTe).withConfig({displayName:"BaseDialog__StyledTitle",componentId:"sc-1ka4pfl-4"})(FJe||(FJe=uTe(["\n && {\n font-family: Anybody, Arial, sans-serif !important;\n font-weight: 700;\n font-size: 16px;\n line-height: 1.2;\n margin-block: 0 ","px;\n }\n"],["\n && {\n font-family: Anybody, Arial, sans-serif !important;\n font-weight: 700;\n font-size: 16px;\n line-height: 1.2;\n margin-block: 0 ","px;\n }\n"])),6),RJe=y.default.button.withConfig({displayName:"BaseDialog__CloseButton",componentId:"sc-1ka4pfl-5"})(TJe||(TJe=uTe(["\n position: absolute;\n top: 25px;\n right: 25px;\n height: 17px;\n width: 17px;\n padding: 0;\n cursor: pointer;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border: none;\n background-color: transparent;\n"],["\n position: absolute;\n top: 25px;\n right: 25px;\n height: 17px;\n width: 17px;\n padding: 0;\n cursor: pointer;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border: none;\n background-color: transparent;\n"])));y.default(DJe).withConfig({displayName:"Dialog__StyledBaseDialog",componentId:"sc-j8dgxo-0"})(UJe||(UJe=uTe(["\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n\n box-shadow: 1px 1px 0 2px var(--color-neutral-950);\n border-radius: 8px;\n\n @keyframes contentShow {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n animation: contentShow 150ms cubic-bezier(0.16, 1, 0.3, 1);\n\n ","\n\n ","\n\n max-height: 85vh;\n min-height: 176px;\n"],["\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n\n box-shadow: 1px 1px 0 2px var(--color-neutral-950);\n border-radius: 8px;\n\n @keyframes contentShow {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n animation: contentShow 150ms cubic-bezier(0.16, 1, 0.3, 1);\n\n ","\n\n ","\n\n max-height: 85vh;\n min-height: 176px;\n"])),(function(e){return e.maxwidth?o.css(jJe||(jJe=uTe(["\n max-width: ","px;\n "],["\n max-width: ","px;\n "])),e.maxwidth):o.css(MJe||(MJe=uTe(["\n max-width: 90vw;\n "],["\n max-width: 90vw;\n "])))}),(function(e){return e.minwidth?o.css(QJe||(QJe=uTe(["\n min-width: ","px;\n "],["\n min-width: ","px;\n "])),e.minwidth):o.css(NJe||(NJe=uTe(["\n min-width: 288px;\n "],["\n min-width: 288px;\n "])))})),y.default.div.withConfig({displayName:"Dialog__Footer",componentId:"sc-j8dgxo-1"})(BJe||(BJe=uTe(["\n display: flex;\n width: 100%;\n justify-content: flex-end;\n gap: 8px;\n margin-top: 40px;\n"],["\n display: flex;\n width: 100%;\n justify-content: flex-end;\n gap: 8px;\n margin-top: 40px;\n"])));var jJe,MJe,QJe,NJe,UJe,BJe,qJe,GJe,WJe,XJe=o.css(qJe||(qJe=uTe(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n font-size: 16px;\n line-height: 1;\n font-weight: 700;\n color: var(--color-neutral-950);\n border: 0;\n padding: 8px 24px;\n"],["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n font-size: 16px;\n line-height: 1;\n font-weight: 700;\n color: var(--color-neutral-950);\n border: 0;\n padding: 8px 24px;\n"])));function VJe(e,t,n){return void 0===t&&(t=20),void 0===n&&(n=.8),i.useMemo((function(){var i=function(e,t,n){void 0===t&&(t=20),void 0===n&&(n=.8);var i=Math.floor(100*e/(window.innerHeight-t))/100;return i>=n?1:i}(e,t,n);return{initialBreakpoint:i,breakpoints:1!==i?[0,i,1]:[0,1]}}),[])}y.default.button.withConfig({displayName:"Dialog__FooterCloseButton",componentId:"sc-j8dgxo-2"})(GJe||(GJe=uTe(["\n ","\n background-color: transparent;\n"],["\n ","\n background-color: transparent;\n"])),XJe),y.default.button.withConfig({displayName:"Dialog__FooterSaveButton",componentId:"sc-j8dgxo-3"})(WJe||(WJe=uTe(["\n ","\n\n background-color: var(--color-coral-400);\n border-radius: 23px;\n\n &[disabled] {\n opacity: 0.3;\n }\n"],["\n ","\n\n background-color: var(--color-coral-400);\n border-radius: 23px;\n\n &[disabled] {\n opacity: 0.3;\n }\n"])),XJe);var YJe,ZJe=439;y.default(DJe).withConfig({displayName:"Panel__StyledBaseDialog",componentId:"sc-kz0r8l-0"})(YJe||(YJe=uTe(["\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n\n background: var(--color-neutral-50);\n box-shadow: 0 4px 32px 4px rgba(15, 14, 14, 0.1);\n overflow: hidden;\n [data-dialog-inner] {\n overflow-y: auto;\n max-height: calc(100% - 48px);\n padding: 32px;\n }\n [data-dialog-header] {\n padding: 32px 32px 0;\n\n & > button {\n top: 32px;\n right: 32px;\n }\n }\n [data-dialog-header-title] {\n font-size: 20px;\n line-height: 24px;\n margin: 0;\n }\n\n @keyframes contentEaseIn {\n from {\n transform: translate(","px, 0);\n opacity: 0;\n }\n to {\n transform: translate(0, 0);\n }\n }\n @keyframes contentEaseOut {\n from {\n transform: translate(0, 0);\n }\n to {\n transform: translate(","px, 0);\n }\n }\n animation: "," 0.3s ease;\n transition: opacity 0.15s ease;\n opacity: ",";\n\n width: ","px;\n\n @media all and (max-width: ","px) {\n width: 100%;\n }\n"],["\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n\n background: var(--color-neutral-50);\n box-shadow: 0 4px 32px 4px rgba(15, 14, 14, 0.1);\n overflow: hidden;\n [data-dialog-inner] {\n overflow-y: auto;\n max-height: calc(100% - 48px);\n padding: 32px;\n }\n [data-dialog-header] {\n padding: 32px 32px 0;\n\n & > button {\n top: 32px;\n right: 32px;\n }\n }\n [data-dialog-header-title] {\n font-size: 20px;\n line-height: 24px;\n margin: 0;\n }\n\n @keyframes contentEaseIn {\n from {\n transform: translate(","px, 0);\n opacity: 0;\n }\n to {\n transform: translate(0, 0);\n }\n }\n @keyframes contentEaseOut {\n from {\n transform: translate(0, 0);\n }\n to {\n transform: translate(","px, 0);\n }\n }\n animation: "," 0.3s ease;\n transition: opacity 0.15s ease;\n opacity: ",";\n\n width: ","px;\n\n @media all and (max-width: ","px) {\n width: 100%;\n }\n"])),ZJe,ZJe,(function(e){return e.isOpen?"contentEaseIn":"contentEaseOut"}),(function(e){return e.isOpen?"1":"0"}),ZJe,ZJe);var HJe=function(e){var n=e.onRequestToken,r=e.children,o=e.subscriptionId,a=i.useState(null),s=a[0],l=a[1],u=i.useMemo((function(){return{onRequestToken:null!=n?n:function(){return Promise.resolve(s)},getIsAuthenticated:function(){return Po(void 0,void 0,void 0,(function(){return Eo(this,(function(e){return[2,null!=n||null!=s]}))}))},getCurrentEmail:function(){return Po(void 0,void 0,void 0,(function(){return Eo(this,(function(e){return[2,null]}))}))},setToken:l,onHandleError:function(e,t){return Po(void 0,void 0,void 0,(function(){return Eo(this,(function(n){return ng.error(e,t),[2,Promise.reject(e)]}))}))}}}),[o,s]);return t.jsx(Nw.Provider,ko({value:u},{children:r}),void 0)},KJe="0.5.0-preview.561",JJe="125767",e0e="e062aaa8a3891b63de1035da60a40939ee940158",t0e=X,n0e=M,i0e=Pn("match"),r0e=function(e){var t;return t0e(e)&&(void 0!==(t=e[i0e])?!!t:"RegExp"==n0e(e))},o0e=Pn("match"),a0e=function(e){if(r0e(e))throw TypeError("The method doesn't accept regular expressions");return e},s0e=B,l0e=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[o0e]=!1,"/./"[e](t)}catch(e){}}return!1};dn({target:"String",proto:!0,forced:!l0e("includes")},{includes:function(e){return!!~String(s0e(this)).indexOf(a0e(e),arguments.length>1?arguments[1]:void 0)}});var u0e,c0e,d0e={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"}]}},p0e={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:[]}},h0e=require("deepmerge"),f0e=["//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"],m0e=function(e){var n=e.children,r=Dm(),o=r.apiEndpoint,a=r.additionalVideoSources,s=i.useMemo((function(){return function(e){return"number"!=typeof e.maxFileSizeInMb&&(e.maxFileSizeInMb=parseInt(e.maxFileSizeInMb)),e}(function(){var e=!f0e.some((function(e){return o.toLowerCase().includes(e)}));if(!e)return ng.info("Will use non prod client config..."),ko(ko({},d0e),{additionalVideoSources:a});var t=h0e(d0e,p0e,{arrayMerge:function(e,t){return t}});return ko(ko({},t),{additionalVideoSources:a})}())}),[o]);return t.jsx(qm.Provider,ko({value:s},{children:n}),void 0)},g0e=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 Po(this,void 0,void 0,(function(){return Eo(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 Po(this,void 0,void 0,(function(){return Eo(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}(),v0e=new g0e,y0e=function(e){var n=e.subscriptionId,i=e.children;return e.shouldUsePublicAccess?t.jsx(b0e,ko({subscriptionId:n},{children:i}),void 0):t.jsx(t.Fragment,{children:i},void 0)},b0e=function(e){var n=e.subscriptionId,r=e.children,o=i.useContext(Nw).setToken,a=bS(),s=function(){var e=rB().fetchFromApi,t=oB();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=rB().fetchFromApi,u=i.useContext(gS),c=u.handleFatalError,d=u.handleAccessDeniedError,p=$w((function(){return Po(this,void 0,void 0,(function(){var e,t,i;return Eo(this,(function(r){switch(r.label){case 0:return e="Reach::PublicAccessToken::"+n,[4,a.getString(e)];case 1:return(t=r.sent())?(o(t),[2,!0]):[4,s(n)];case 2:return r.sent().allowPublicAccess?[4,v(n)]:[3,5];case 3:return i=r.sent(),o(i),[4,a.setString(e,i)];case 4:return r.sent(),[2,!0];case 5:return[2,!1]}}))}))}),!1,[n]),h=p[0],f=p[1],m=p[2];if(m)return ng.error(m),c({error:m}),null;if(f)return null;if(!h){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)}))}},O0e=function(e){var n=e.children,r=i.useState(),o=r[0],a=r[1],s=i.useState(),l=s[0],u=s[1],c=i.useState(),d=c[0],p=c[1],h=i.useMemo((function(){return{handleFatalError:a,handleAccessDeniedError:u,handleNotFoundError:p}}),[a,u,p]);return t.jsx(gS.Provider,ko({value:h},{children:t.jsx(_0e,ko({fatalError:o,notFoundError:d,accessDeniedError:l},{children:n}),void 0)}),void 0)},_0e=function(e){var n=e.fatalError,i=e.accessDeniedError,r=e.notFoundError,o=e.children;return n?t.jsx(w0e,{messageId:n.messageId,error:n.error},void 0):i?t.jsx(w0e,{messageId:"AccessDenied.genericMessage",error:i.error},void 0):r?t.jsx(w0e,{messageId:"NotFound.message"},void 0):t.jsx(t.Fragment,{children:o},void 0)},w0e=function(n){var r=n.messageId,o=n.error,a=Wk().formatMessage,s=i.useState(!1),l=s[0],u=s[1];return t.jsx(NHe,ko({errorType:e.ErrorType.GenericError,alertText:a({id:r||"FatalError.genericMessage"}),onClick:function(){return u(!l)}},{children:l&&t.jsxs(x0e,{children:[t.jsx(pS,{id:"Generic.error.details"},void 0),t.jsx(k0e,{children:JSON.stringify(o)||"Not provided"},void 0)]},void 0)}),void 0)},x0e=y.default.div.withConfig({displayName:"ReachErrorProvider__DetailsContainer",componentId:"sc-15225g3-0"})(u0e||(u0e=$o(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),L7),k0e=y.default.p.withConfig({displayName:"ReachErrorProvider__Details",componentId:"sc-15225g3-1"})(c0e||(c0e=$o(["\n opacity: 0.4;\n font-size: small;\n"],["\n opacity: 0.4;\n font-size: small;\n"]))),S0e=function(e){var n=e.children,r=pne(),o=i.useMemo((function(){return{onShare:function(){return Po(void 0,void 0,void 0,(function(){return Eo(this,(function(e){return[2,null]}))}))},onOpenExternalLink:a,tryGetInternalLink:function(){return null},changeHistory:s}}),[]);return t.jsx(vS.Provider,ko({value:o},{children:n}),void 0);function a(e){window.open(e,"_blank")}function s(e){window.open(""+r+e)}},P0e=function(){return null},E0e=Object.freeze({__proto__:null,Page:P0e,NavLinkSidebarItem:P0e,PageMenuActionItem:P0e});var C0e=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){},contextualProperties:null,setContextualProperties:function(e){}};return t.jsx(pee.Provider,ko({value:i},{children:n}),void 0)};!function(){if(window.__is_reach_app)return;if(console.info("Reach Component Library: "+KJe+" ("+JJe+") ["+e0e+"]"),window.__did_initialize_reach_context)return;a.initializeIcons()}();var F0e=function(e){var n=e.disableAnalytics,i=e.appName,r=e.children;return n?t.jsx(C0e,{children:r},void 0):t.jsx(fee,ko({appName:i},{children:r}),void 0)},T0e=function(e){var n,r=e.subscriptionId,o=e.language,a=e.locale,s=e.children,l=i.useContext(Qie).setTheme,u=i.useContext(SS).changeSettings,c=function(){var e=s9().getCurrentUser,t=YG();return{getCurrentUser:function(n){return uJ(this,void 0,void 0,(function(){var i=this;return cJ(this,(function(r){switch(r.label){case 0:return[4,t.fetchQuery(["fetchCurrentUser",n],(function(){return uJ(i,void 0,void 0,(function(){return cJ(this,(function(t){switch(t.label){case 0:return[4,e()];case 1:return[2,t.sent()]}}))}))}))];case 1:return[2,r.sent()]}}))}))}}}().getCurrentUser,d=$w((function(){var e,t;return Po(this,void 0,void 0,(function(){var n,i,s,d;return Eo(this,(function(p){switch(p.label){case 0:return p.trys.push([0,2,,3]),[4,c(r)];case 1:return n=p.sent(),(null===(e=null==n?void 0:n.subscription)||void 0===e?void 0:e.theme)&&l(n.subscription.theme),i=dw(o,n.preferredUiLanguage,cw(),null===(t=n.subscription)||void 0===t?void 0:t.defaultLanguage),s=dYe(n,a),u(i,s).then((function(){return null}),ng.error),o&&(n.preferredContentLanguage=o),[2,n];case 2:throw d=p.sent(),ng.error(d),d;case 3:return[2]}}))}))})),p=d[0],h=d[1],f=d[2],m=d[3],g=i.useContext(gS),v=g.handleFatalError,y=g.handleNotFoundError,b=g.handleAccessDeniedError,O=i.useMemo((function(){return{user:p,refreshUser:function(e){return Promise.resolve(e&&m(e))}}}),[p]);return f?(403===(null===(n=null==f?void 0:f.response)||void 0===n?void 0:n.statusCode)?b({error:f}):v({error:f}),null):h?null:null==p?(y({}),null):t.jsx(h5.Provider,ko({value:O},{children:s}),void 0)},D0e=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(vJ,{},void 0),t.jsx(OJ,{},void 0)]},void 0)};var A0e=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,I0e=/[\0-\x1F\x7F-\x9F]/,L0e=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,$0e=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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 z0e(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 R0e(e){return Object.prototype.toString.call(e)}function j0e(e){return"[object Function]"===R0e(e)}function M0e(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var Q0e={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var N0e={"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}}},U0e="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function B0e(e){var t=e.re=function(e){var t={};return t.src_Any=A0e.source,t.src_Cc=I0e.source,t.src_Z=L0e.source,t.src_P=$0e.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 o(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]"===R0e(e)}(n))return!function(e){return"[object RegExp]"===R0e(e)}(n.validate)?j0e(n.validate)?i.validate=n.validate:o(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(j0e(n.normalize)?i.normalize=n.normalize:n.normalize?o(t,n):i.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===R0e(e)}(n)?o(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 a=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(M0e).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","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 q0e(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 G0e(e,t){var n=new q0e(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function W0e(e,t){if(!(this instanceof W0e))return new W0e(e,t);t||function(e){return Object.keys(e||{}).reduce((function(e,t){return e||Q0e.hasOwnProperty(t)}),!1)}(e)&&(t=e,e={}),this.__opts__=z0e({},Q0e,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=z0e({},N0e,e),this.__compiled__={},this.__tlds__=U0e,this.__tlds_replaced__=!1,this.re={},B0e(this)}W0e.prototype.add=function(e,t){return this.__schemas__[e]=t,B0e(this),this},W0e.prototype.set=function(e){return this.__opts__=z0e(this.__opts__,e),this},W0e.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,i,r,o,a,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))&&(o=n.index+n[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(i=e.match(this.re.email_fuzzy))&&(o=i.index+i[1].length,a=i.index+i[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=a)),this.__index__>=0},W0e.prototype.pretest=function(e){return this.re.pretest.test(e)},W0e.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},W0e.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(G0e(this,t)),t=this.__last_index__);for(var i=t?e.slice(t):e;this.test(i);)n.push(G0e(this,t)),i=i.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},W0e.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(),B0e(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,B0e(this),this)},W0e.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},W0e.prototype.onCompile=function(){};var X0e=W0e,V0e={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]||{},o=i.replacement||"-",a=n.split("").reduce((function(t,n){return t+(r[n]||e[n]||n)}),"").replace(i.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"").trim().replace(new RegExp("[\\s"+o+"]+","g"),o);return i.lower&&(a=a.toLowerCase()),i.strict&&(a=a.replace(new RegExp("[^a-zA-Z0-9"+o+"]","g"),"")),a}return n.extend=function(t){for(var n in t)e[n]=t[n]},n},e.exports=n(),e.exports.default=n()}(V0e);var Y0e=V0e.exports;function Z0e(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 H0e(){return H0e=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},H0e.apply(this,arguments)}function K0e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J0e(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 e1e(e,t,n){return t&&J0e(e.prototype,t),n&&J0e(e,n),e}function t1e(e){return t1e="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},t1e(e)}function n1e(e){return n1e="function"==typeof Symbol&&"symbol"===t1e(Symbol.iterator)?function(e){return t1e(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":t1e(e)},n1e(e)}function i1e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r1e(e,t){return!t||"object"!==n1e(t)&&"function"!=typeof t?i1e(e):t}function o1e(e){return o1e=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},o1e(e)}function a1e(e,t){return a1e=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a1e(e,t)}function s1e(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&&a1e(e,t)}function l1e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u1e(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{i||null==s.return||s.return()}finally{if(r)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function c1e(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},o=Object.keys(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function d1e(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 p1e(e){return function(e){if(Array.isArray(e))return d1e(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 d1e(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)?d1e(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 h1e=function(e){return e===Object(e)?Object.keys(e):[]},f1e=function(e){return e===Object(e)?Object.values(e):[]};function m1e(e,t){var n=Object.assign({},e);return y1e(e)&&y1e(t)&&h1e(t).forEach((function(i){y1e(t[i])&&i in e?n[i]=m1e(e[i],t[i]):Object.assign(n,Aae({},i,t[i]))})),n}var g1e=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 m1e(e,t)}),e)},v1e=function(e,t){var n=Object.assign({},e);if(t)for(var i=0;i<t.length;i++)delete n[t[i]];return n},y1e=function(e){return!(e!==Object(e)||e instanceof Date||Array.isArray(e))},b1e=function(e){return(e||[]).filter(Boolean)},O1e=function(e){return"&"===e[0]},_1e=function(e){return!O1e(e)},w1e=function(e){return e.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}))},x1e=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=h1e(e),i={},r=0,o=n.length;r<o;r+=1){var a=n[r],s="[object Object]"!==Object.prototype.toString.call(e[a])||":"===a[0]||"@"===a[0]||t.indexOf(a)>=0;s&&(i[a]=e[a])}return i},k1e=function(e,t){for(var n=t.map(w1e),i=h1e(e),r={},o=0,a=i.length;o<a;o+=1){var s=i[o];(t.indexOf(s)>=0||n.indexOf(w1e(s))>=0)&&(r[s]=e[s])}return r},S1e=function e(t,n){for(var i=g1e.apply(void 0,[{},v1e(t,n)].concat(p1e(f1e(k1e(t,n))))),r=h1e(i).filter(O1e),o=0,a=r.length;o<a;o+=1){var s=r[o],l=e(i[s],n);n.indexOf(s)>=0?(delete i[s],i=g1e({},i,l)):i[s]=l}return i};function P1e(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 E1e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P1e(Object(n),!0).forEach((function(t){Aae(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P1e(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var C1e=["animationName"],F1e=function(e){var t=e.style,n=e.className;return E1e(E1e({},t?{style:x1e(t,C1e)}:{}),n?{className:n}:{})},T1e=i.createContext(F1e);T1e.Provider;var D1e=function(e){if(!e)return[];if("string"==typeof e)return[e];if(!Array.isArray(e)){var t=e;return h1e(e).reduce((function(e,n){return e.concat(t[n]?[n]:[])}),[])}return e},A1e={},I1e=function(e){return function(t,n){var i,r=n||A1e;e.memoize=e.memoize||new WeakMap,e.memoize.has(r)?i=e.memoize.get(r):(i={},e.memoize.set(r,i));var o=D1e(t).join(" ");return o in i?i[o]:i[o]=e(t||[],n)}};function L1e(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 $1e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L1e(Object(n),!0).forEach((function(t){Aae(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L1e(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var z1e=function(e){var t=e&&h1e(e)[0];return t&&t.split("__")[0].split("--")[0]},R1e=function(e,t,n){if(e){var i=e.split(" ")[0],r=[].concat(p1e(0===t.length?n.map((function(e){return"".concat(i,"--").concat(e.substring(1))})):[]),p1e(t.map((function(e){return"".concat(i,"__").concat(e)}))));return 0===t.length?[e].concat(p1e(r)):r}};function j1e(e){var t=e.style,n=e.className,i=e.classNames,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:F1e,o=n||z1e(i)||(null==t?void 0:t.className),a="function"==typeof t?t:I1e((function(e,n){var a=D1e(e);nwe(Array.isArray(a),"First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."),nwe(!n||y1e(n),"Optional second parameter must be a plain object.");var s=a.filter(O1e),l=a.filter(_1e),u=l.length>0?function(e){return f1e(k1e(e,l))}:function(e){return[e]},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return u(S1e(e,s))},d=R1e(o,l,s);return j1e($1e($1e($1e({},(t||n)&&{style:g1e.apply(void 0,[{}].concat(p1e(c(n)),p1e(c(t))))}),d&&{className:d.join(" ")}),i&&{classNames:i}),r)})),s=$1e({},"function"==typeof t?t:{style:t}),l=p1e(new Set([].concat(p1e(s.className?s.className.split(" "):[]),p1e(o?o.split(" "):[])))),u=i?b1e(l.map((function(e){return i[e]}))):l,c=r($1e($1e({},s),u.length>0?{className:u.join(" ")}:{}));return Object.assign(a,c),a}function M1e(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 Q1e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M1e(Object(n),!0).forEach((function(t){Aae(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M1e(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var N1e=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 Q1e(Q1e(Q1e({},e),"function"==typeof t?t:{}),{},{style:Q1e(Q1e({},e.style),"function"==typeof t?t.style:t)})}),{})},U1e=function(e,t,n){var r=t.style,o=t.className,a=t.classNames,s=i.useContext(T1e);return i.useMemo((function(){return j1e({style:r,className:o,classNames:a},s)}),[r,o,a,s])(n,e)},B1e=function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},q1e="__id__",G1e="__display__",W1e=function(e,t){nwe("id"===t||"display"===t,'Second arg must be either "id" or "display", got: "'.concat(t,'"'));var n=e.indexOf(G1e),i=e.indexOf(q1e);return n<0&&(n=null),i<0&&(i=null),nwe(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},X1e=function(e){var t=/^\/(.+)\/(\w+)?$/;return new RegExp(e.map((function(e){var n=u1e(t.exec(e.toString()),3),i=n[1],r=n[2];return nwe(!r,"RegExp flags are not supported. Change /".concat(i,"/").concat(r," into /").concat(i,"/")),"(".concat(i,")")})).join("|"),"g")},V1e=function(e){var t=0;return e.indexOf("__id__")>=0&&t++,e.indexOf("__display__")>=0&&t++,t},Y1e=function(){},Z1e=function(e,t,n){for(var i,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Y1e,o=X1e(t.map((function(e){return e.regex}))),a=2,s=t.map((function(e){var t=e.markup,n=a;return a+=V1e(t)+1,n})),l=0,u=0;null!==(i=o.exec(e));){var c=s.find((function(e){return!!i[e]})),d=s.indexOf(c),p=t[d],h=p.markup,f=p.displayTransform,m=c+W1e(h,"id"),g=c+W1e(h,"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=o.lastIndex}l<e.length&&r(e.substring(l),l,u)},H1e=function(e,t){var n="";return Z1e(e,t,(function(e,t,i,r,o){n+=o}),(function(e){n+=e})),n},K1e=function(e,t,n){var i,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"START";if("number"!=typeof n)return n;var o=function(e,t,r){void 0===i&&r+e.length>=n&&(i=t+n-r)},a=function(e,t,o,a,s,l,u){void 0===i&&o+s.length>n&&(i="NULL"===r?null:t+("END"===r?e.length:0))};return Z1e(e,t,a,o),void 0===i?e.length:i},J1e=function(e,t,n,i){return e.substring(0,t)+i+e.substring(n)},e2e=function(e,t){var n=[];return Z1e(e,t,(function(e,t,i,r,o,a,s){n.push({id:r,display:o,childIndex:a,index:t,plainTextIndex:i})})),n},t2e=function(e,t){return"".concat(e,"-").concat(t)},n2e=function(e){return Object.values(e).reduce((function(e,t){return e+t.results.length}),0)},i2e=function(e){var t=B1e(e),n=e[e.indexOf(G1e)+G1e.length],i=e[e.indexOf(q1e)+q1e.length];return new RegExp(t.replace(G1e,"([^".concat(B1e(n||""),"]+?)")).replace(q1e,"([^".concat(B1e(i||""),"]+?)")))},r2e=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?o2e(i,n):i2e(n),displayTransform:r||function(e,t){return t||e}}}))},o2e=function(e,t){var n=new RegExp(e.toString()+"|").exec("").length-1,i=V1e(t);return nwe(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},a2e=[{base:"A",letters:/(&#65;|&#9398;|&#65313;|&#192;|&#193;|&#194;|&#7846;|&#7844;|&#7850;|&#7848;|&#195;|&#256;|&#258;|&#7856;|&#7854;|&#7860;|&#7858;|&#550;|&#480;|&#196;|&#478;|&#7842;|&#197;|&#506;|&#461;|&#512;|&#514;|&#7840;|&#7852;|&#7862;|&#7680;|&#260;|&#570;|&#11375;|[\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:/(&#42802;|[\uA732])/g},{base:"AE",letters:/(&#198;|&#508;|&#482;|[\u00C6\u01FC\u01E2])/g},{base:"AO",letters:/(&#42804;|[\uA734])/g},{base:"AU",letters:/(&#42806;|[\uA736])/g},{base:"AV",letters:/(&#42808;|&#42810;|[\uA738\uA73A])/g},{base:"AY",letters:/(&#42812;|[\uA73C])/g},{base:"B",letters:/(&#66;|&#9399;|&#65314;|&#7682;|&#7684;|&#7686;|&#579;|&#386;|&#385;|[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181])/g},{base:"C",letters:/(&#67;|&#9400;|&#65315;|&#262;|&#264;|&#266;|&#268;|&#199;|&#7688;|&#391;|&#571;|&#42814;|[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E])/g},{base:"D",letters:/(&#68;|&#9401;|&#65316;|&#7690;|&#270;|&#7692;|&#7696;|&#7698;|&#7694;|&#272;|&#395;|&#394;|&#393;|&#42873;|&#208;|[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779\u00D0])/g},{base:"DZ",letters:/(&#497;|&#452;|[\u01F1\u01C4])/g},{base:"Dz",letters:/(&#498;|&#453;|[\u01F2\u01C5])/g},{base:"E",letters:/(&#69;|&#9402;|&#65317;|&#200;|&#201;|&#202;|&#7872;|&#7870;|&#7876;|&#7874;|&#7868;|&#274;|&#7700;|&#7702;|&#276;|&#278;|&#203;|&#7866;|&#282;|&#516;|&#518;|&#7864;|&#7878;|&#552;|&#7708;|&#280;|&#7704;|&#7706;|&#400;|&#398;|[\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:/(&#70;|&#9403;|&#65318;|&#7710;|&#401;|&#42875;|[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B])/g},{base:"G",letters:/(&#71;|&#9404;|&#65319;|&#500;|&#284;|&#7712;|&#286;|&#288;|&#486;|&#290;|&#484;|&#403;|&#42912;|&#42877;|&#42878;|[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E])/g},{base:"H",letters:/(&#72;|&#9405;|&#65320;|&#292;|&#7714;|&#7718;|&#542;|&#7716;|&#7720;|&#7722;|&#294;|&#11367;|&#11381;|&#42893;|[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D])/g},{base:"I",letters:/(&#73;|&#9406;|&#65321;|&#204;|&#205;|&#206;|&#296;|&#298;|&#300;|&#304;|&#207;|&#7726;|&#7880;|&#463;|&#520;|&#522;|&#7882;|&#302;|&#7724;|&#407;|[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197])/g},{base:"J",letters:/(&#74;|&#9407;|&#65322;|&#308;|&#584;|[\u004A\u24BF\uFF2A\u0134\u0248])/g},{base:"K",letters:/(&#75;|&#9408;|&#65323;|&#7728;|&#488;|&#7730;|&#310;|&#7732;|&#408;|&#11369;|&#42816;|&#42818;|&#42820;|&#42914;|[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2])/g},{base:"L",letters:/(&#76;|&#9409;|&#65324;|&#319;|&#313;|&#317;|&#7734;|&#7736;|&#315;|&#7740;|&#7738;|&#321;|&#573;|&#11362;|&#11360;|&#42824;|&#42822;|&#42880;|[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780])/g},{base:"LJ",letters:/(&#455;|[\u01C7])/g},{base:"Lj",letters:/(&#456;|[\u01C8])/g},{base:"M",letters:/(&#77;|&#9410;|&#65325;|&#7742;|&#7744;|&#7746;|&#11374;|&#412;|[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C])/g},{base:"N",letters:/(&#78;|&#9411;|&#65326;|&#504;|&#323;|&#209;|&#7748;|&#327;|&#7750;|&#325;|&#7754;|&#7752;|&#544;|&#413;|&#42896;|&#42916;|&#330;|[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4\u014A])/g},{base:"NJ",letters:/(&#458;|[\u01CA])/g},{base:"Nj",letters:/(&#459;|[\u01CB])/g},{base:"O",letters:/(&#79;|&#9412;|&#65327;|&#210;|&#211;|&#212;|&#7890;|&#7888;|&#7894;|&#7892;|&#213;|&#7756;|&#556;|&#7758;|&#332;|&#7760;|&#7762;|&#334;|&#558;|&#560;|&#214;|&#554;|&#7886;|&#336;|&#465;|&#524;|&#526;|&#416;|&#7900;|&#7898;|&#7904;|&#7902;|&#7906;|&#7884;|&#7896;|&#490;|&#492;|&#216;|&#510;|&#390;|&#415;|&#42826;|&#42828;|[\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:/(&#338;|[\u0152])/g},{base:"OI",letters:/(&#418;|[\u01A2])/g},{base:"OO",letters:/(&#42830;|[\uA74E])/g},{base:"OU",letters:/(&#546;|[\u0222])/g},{base:"P",letters:/(&#80;|&#9413;|&#65328;|&#7764;|&#7766;|&#420;|&#11363;|&#42832;|&#42834;|&#42836;|[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754])/g},{base:"Q",letters:/(&#81;|&#9414;|&#65329;|&#42838;|&#42840;|&#586;|[\u0051\u24C6\uFF31\uA756\uA758\u024A])/g},{base:"R",letters:/(&#82;|&#9415;|&#65330;|&#340;|&#7768;|&#344;|&#528;|&#530;|&#7770;|&#7772;|&#342;|&#7774;|&#588;|&#11364;|&#42842;|&#42918;|&#42882;|[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782])/g},{base:"S",letters:/(&#83;|&#9416;|&#65331;|&#7838;|&#346;|&#7780;|&#348;|&#7776;|&#352;|&#7782;|&#7778;|&#7784;|&#536;|&#350;|&#11390;|&#42920;|&#42884;|[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784])/g},{base:"T",letters:/(&#84;|&#9417;|&#65332;|&#7786;|&#356;|&#7788;|&#538;|&#354;|&#7792;|&#7790;|&#358;|&#428;|&#430;|&#574;|&#42886;|[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786])/g},{base:"TH",letters:/(&#222;|[\u00DE])/g},{base:"TZ",letters:/(&#42792;|[\uA728])/g},{base:"U",letters:/(&#85;|&#9418;|&#65333;|&#217;|&#218;|&#219;|&#360;|&#7800;|&#362;|&#7802;|&#364;|&#220;|&#475;|&#471;|&#469;|&#473;|&#7910;|&#366;|&#368;|&#467;|&#532;|&#534;|&#431;|&#7914;|&#7912;|&#7918;|&#7916;|&#7920;|&#7908;|&#7794;|&#370;|&#7798;|&#7796;|&#580;|[\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:/(&#86;|&#9419;|&#65334;|&#7804;|&#7806;|&#434;|&#42846;|&#581;|[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245])/g},{base:"VY",letters:/(&#42848;|[\uA760])/g},{base:"W",letters:/(&#87;|&#9420;|&#65335;|&#7808;|&#7810;|&#372;|&#7814;|&#7812;|&#7816;|&#11378;|[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72])/g},{base:"X",letters:/(&#88;|&#9421;|&#65336;|&#7818;|&#7820;|[\u0058\u24CD\uFF38\u1E8A\u1E8C])/g},{base:"Y",letters:/(&#89;|&#9422;|&#65337;|&#7922;|&#221;|&#374;|&#7928;|&#562;|&#7822;|&#376;|&#7926;|&#7924;|&#435;|&#590;|&#7934;|[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE])/g},{base:"Z",letters:/(&#90;|&#9423;|&#65338;|&#377;|&#7824;|&#379;|&#381;|&#7826;|&#7828;|&#437;|&#548;|&#11391;|&#11371;|&#42850;|[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762])/g},{base:"a",letters:/(&#97;|&#9424;|&#65345;|&#7834;|&#224;|&#225;|&#226;|&#7847;|&#7845;|&#7851;|&#7849;|&#227;|&#257;|&#259;|&#7857;|&#7855;|&#7861;|&#7859;|&#551;|&#481;|&#228;|&#479;|&#7843;|&#229;|&#507;|&#462;|&#513;|&#515;|&#7841;|&#7853;|&#7863;|&#7681;|&#261;|&#11365;|&#592;|[\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:/(&#42803;|[\uA733])/g},{base:"ae",letters:/(&#230;|&#509;|&#483;|[\u00E6\u01FD\u01E3])/g},{base:"ao",letters:/(&#42805;|[\uA735])/g},{base:"au",letters:/(&#42807;|[\uA737])/g},{base:"av",letters:/(&#42809;|&#42811;|[\uA739\uA73B])/g},{base:"ay",letters:/(&#42813;|[\uA73D])/g},{base:"b",letters:/(&#98;|&#9425;|&#65346;|&#7683;|&#7685;|&#7687;|&#384;|&#387;|&#595;|[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253])/g},{base:"c",letters:/(&#99;|&#9426;|&#65347;|&#263;|&#265;|&#267;|&#269;|&#231;|&#7689;|&#392;|&#572;|&#42815;|&#8580;|[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184])/g},{base:"d",letters:/(&#100;|&#9427;|&#65348;|&#7691;|&#271;|&#7693;|&#7697;|&#7699;|&#7695;|&#273;|&#396;|&#598;|&#599;|&#42874;|&#240;|[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A\u00F0])/g},{base:"dz",letters:/(&#499;|&#454;|[\u01F3\u01C6])/g},{base:"e",letters:/(&#101;|&#9428;|&#65349;|&#232;|&#233;|&#234;|&#7873;|&#7871;|&#7877;|&#7875;|&#7869;|&#275;|&#7701;|&#7703;|&#277;|&#279;|&#235;|&#7867;|&#283;|&#517;|&#519;|&#7865;|&#7879;|&#553;|&#7709;|&#281;|&#7705;|&#7707;|&#583;|&#603;|&#477;|[\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:/(&#102;|&#9429;|&#65350;|&#7711;|&#402;|&#42876;|[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C])/g},{base:"g",letters:/(&#103;|&#9430;|&#65351;|&#501;|&#285;|&#7713;|&#287;|&#289;|&#487;|&#291;|&#485;|&#608;|&#42913;|&#7545;|&#42879;|[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F])/g},{base:"h",letters:/(&#104;|&#9431;|&#65352;|&#293;|&#7715;|&#7719;|&#543;|&#7717;|&#7721;|&#7723;|&#7830;|&#295;|&#11368;|&#11382;|&#613;|[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265])/g},{base:"hv",letters:/(&#405;|[\u0195])/g},{base:"i",letters:/(&#105;|&#9432;|&#65353;|&#236;|&#237;|&#238;|&#297;|&#299;|&#301;|&#239;|&#7727;|&#7881;|&#464;|&#521;|&#523;|&#7883;|&#303;|&#7725;|&#616;|&#305;|[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131])/g},{base:"ij",letters:/(&#307;|[\u0133])/g},{base:"j",letters:/(&#106;|&#9433;|&#65354;|&#309;|&#496;|&#585;|[\u006A\u24D9\uFF4A\u0135\u01F0\u0249])/g},{base:"k",letters:/(&#107;|&#9434;|&#65355;|&#7729;|&#489;|&#7731;|&#311;|&#7733;|&#409;|&#11370;|&#42817;|&#42819;|&#42821;|&#42915;|[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3])/g},{base:"l",letters:/(&#108;|&#9435;|&#65356;|&#320;|&#314;|&#318;|&#7735;|&#7737;|&#316;|&#7741;|&#7739;|&#322;|&#410;|&#619;|&#11361;|&#42825;|&#42881;|&#42823;|[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u0142\u019A\u026B\u2C61\uA749\uA781\uA747])/g},{base:"lj",letters:/(&#457;|[\u01C9])/g},{base:"m",letters:/(&#109;|&#9436;|&#65357;|&#7743;|&#7745;|&#7747;|&#625;|&#623;|[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F])/g},{base:"n",letters:/(&#110;|&#9437;|&#65358;|&#505;|&#324;|&#241;|&#7749;|&#328;|&#7751;|&#326;|&#7755;|&#7753;|&#414;|&#626;|&#329;|&#42897;|&#42917;|&#331;|[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5\u014B])/g},{base:"nj",letters:/(&#460;|[\u01CC])/g},{base:"o",letters:/(&#111;|&#9438;|&#65359;|&#242;|&#243;|&#244;|&#7891;|&#7889;|&#7895;|&#7893;|&#245;|&#7757;|&#557;|&#7759;|&#333;|&#7761;|&#7763;|&#335;|&#559;|&#561;|&#246;|&#555;|&#7887;|&#337;|&#466;|&#525;|&#527;|&#417;|&#7901;|&#7899;|&#7905;|&#7903;|&#7907;|&#7885;|&#7897;|&#491;|&#493;|&#248;|&#511;|&#596;|&#42827;|&#42829;|&#629;|[\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:/(&#339;|[\u0153])/g},{base:"oi",letters:/(&#419;|[\u01A3])/g},{base:"ou",letters:/(&#547;|[\u0223])/g},{base:"oo",letters:/(&#42831;|[\uA74F])/g},{base:"p",letters:/(&#112;|&#9439;|&#65360;|&#7765;|&#7767;|&#421;|&#7549;|&#42833;|&#42835;|&#42837;|[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755])/g},{base:"q",letters:/(&#113;|&#9440;|&#65361;|&#587;|&#42839;|&#42841;|[\u0071\u24E0\uFF51\u024B\uA757\uA759])/g},{base:"r",letters:/(&#114;|&#9441;|&#65362;|&#341;|&#7769;|&#345;|&#529;|&#531;|&#7771;|&#7773;|&#343;|&#7775;|&#589;|&#637;|&#42843;|&#42919;|&#42883;|[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783])/g},{base:"s",letters:/(&#115;|&#9442;|&#65363;|&#347;|&#7781;|&#349;|&#7777;|&#353;|&#7783;|&#7779;|&#7785;|&#537;|&#351;|&#575;|&#42921;|&#42885;|&#7835;|&#383;|[\u0073\u24E2\uFF53\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B\u017F])/g},{base:"ss",letters:/(&#223;|[\u00DF])/g},{base:"t",letters:/(&#116;|&#9443;|&#65364;|&#7787;|&#7831;|&#357;|&#7789;|&#539;|&#355;|&#7793;|&#7791;|&#359;|&#429;|&#648;|&#11366;|&#42887;|[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787])/g},{base:"th",letters:/(&#254;|[\u00FE])/g},{base:"tz",letters:/(&#42793;|[\uA729])/g},{base:"u",letters:/(&#117;|&#9444;|&#65365;|&#249;|&#250;|&#251;|&#361;|&#7801;|&#363;|&#7803;|&#365;|&#252;|&#476;|&#472;|&#470;|&#474;|&#7911;|&#367;|&#369;|&#468;|&#533;|&#535;|&#432;|&#7915;|&#7913;|&#7919;|&#7917;|&#7921;|&#7909;|&#7795;|&#371;|&#7799;|&#7797;|&#649;|[\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:/(&#118;|&#9445;|&#65366;|&#7805;|&#7807;|&#651;|&#42847;|&#652;|[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C])/g},{base:"vy",letters:/(&#42849;|[\uA761])/g},{base:"w",letters:/(&#119;|&#9446;|&#65367;|&#7809;|&#7811;|&#373;|&#7815;|&#7813;|&#7832;|&#7817;|&#11379;|[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73])/g},{base:"x",letters:/(&#120;|&#9447;|&#65368;|&#7819;|&#7821;|[\u0078\u24E7\uFF58\u1E8B\u1E8D])/g},{base:"y",letters:/(&#121;|&#9448;|&#65369;|&#7923;|&#253;|&#375;|&#7929;|&#563;|&#7823;|&#255;|&#7927;|&#7833;|&#7925;|&#436;|&#591;|&#7935;|[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF])/g},{base:"z",letters:/(&#122;|&#9449;|&#65370;|&#378;|&#7825;|&#380;|&#382;|&#7827;|&#7829;|&#438;|&#549;|&#576;|&#11372;|&#42851;|[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763])/g}],s2e=function(e){return function(e){var t=e;return a2e.forEach((function(e){t=t.replace(e.letters,e.base)})),t}(e).toLowerCase()},l2e=function(e,t,n){return n?s2e(e).indexOf(s2e(t)):e.toLowerCase().indexOf(t.toLowerCase())},u2e=function(e){return"number"==typeof e},c2e=function(e){return e===Object(e)?Object.keys(e):[]},d2e=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 o=(t=[]).concat.apply(t,i);return Object.keys(e).reduce((function(t,n){return e.hasOwnProperty(n)&&!o.includes(n)&&void 0!==e[n]&&(t[n]=e[n]),t}),{})};function p2e(e,t){return function(n){var i=function(i){var r=i.style,o=i.className,a=i.classNames,s=c1e(i,["style","className","classNames"]),l=t?t(s):void 0,u=U1e(e,{style:r,className:o,classNames:a},l);return g.default.createElement(n,H0e({},s,{style:u}))},r=n.displayName||n.name||"Component";return i.displayName="defaultStyle(".concat(r,")"),i}}var h2e=function(e){function t(){var e;return K0e(this,t),l1e(i1e(e=r1e(this,o1e(t).apply(this,arguments))),"setCaretElement",(function(t){e.caretElement=t})),e.state={left:void 0,top:void 0},e}return s1e(t,e),e1e(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,o=n.value,a=n.style,s=n.children,l=n.containerRef,u=r2e(s);i===r&&(e=K1e(o,u,i,"START"));var c=[],d={},p=c,h=0;return Z1e(o,u,(function(e,n,i,r,o,a,s){var l=function(e,t){return e.hasOwnProperty(t)?e[t]++:e[t]=0,t+"_"+e[t]}(d,r);p.push(t.getMentionComponentForMatch(r,o,a,l))}),(function(n,i,r){if(u2e(e)&&e>=i&&e<=i+n.length){var o=e-i;p.push(t.renderSubstring(n.substring(0,o),h)),p=[t.renderSubstring(n.substring(o),h)]}else p.push(t.renderSubstring(n,h));h++})),p.push(" "),p!==c&&c.push(this.renderHighlighterCaret(p)),g.default.createElement("div",H0e({},a,{ref:l}),c)}},{key:"renderSubstring",value:function(e,t){return g.default.createElement("span",H0e({},this.props.style("substring"),{key:t}),e)}},{key:"getMentionComponentForMatch",value:function(e,t,n,r){var o={id:e,display:t,key:r},a=i.Children.toArray(this.props.children)[n];return g.default.cloneElement(a,o)}},{key:"renderHighlighterCaret",value:function(e){return g.default.createElement("span",H0e({},this.props.style("caret"),{ref:this.setCaretElement,key:"caret"}),e)}}]),t}(i.Component);l1e(h2e,"propTypes",{selectionStart:AW.number,selectionEnd:AW.number,value:AW.string.isRequired,onCaretPositionChange:AW.func.isRequired,containerRef:AW.oneOfType([AW.func,AW.shape({current:"undefined"==typeof Element?AW.any:AW.instanceOf(Element)})]),children:AW.oneOfType([AW.element,AW.arrayOf(AW.element)]).isRequired}),l1e(h2e,"defaultProps",{value:""});var f2e=p2e({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}}))(h2e),m2e=function(e){function t(){return K0e(this,t),r1e(this,o1e(t).apply(this,arguments))}return s1e(t,e),e1e(t,[{key:"render",value:function(){var e=d2e(this.props,["style","classNames","className"],c2e(t.propTypes));return g.default.createElement("li",H0e({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,o=e.focused,a=this.getDisplay(),s=this.renderHighlightedDisplay(a,t);return n?n(i,t,s,r,o):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,o=l2e(e,i,n);return-1===o?g.default.createElement("span",r("display"),e):g.default.createElement("span",r("display"),e.substring(0,o),g.default.createElement("b",r("highlight"),e.substring(o,o+i.length)),e.substring(o+i.length))}}]),t}(i.Component);l1e(m2e,"propTypes",{id:AW.string.isRequired,query:AW.string.isRequired,index:AW.number.isRequired,ignoreAccents:AW.bool,suggestion:AW.oneOfType([AW.string,AW.shape({id:AW.oneOfType([AW.string,AW.number]).isRequired,display:AW.string})]).isRequired,renderSuggestion:AW.func,focused:AW.bool});var g2e=p2e({cursor:"pointer"},(function(e){return{"&focused":e.focused}}))(m2e);function v2e(){var e=U1e(),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 y2e=function(e){function t(){var e,n;K0e(this,t);for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return l1e(i1e(n=r1e(this,(e=o1e(t)).call.apply(e,[this].concat(r)))),"handleMouseEnter",(function(e,t){n.props.onMouseEnter&&n.props.onMouseEnter(e)})),l1e(i1e(n),"select",(function(e,t){n.props.onSelect(e,t)})),l1e(i1e(n),"setUlElement",(function(e){n.ulElement=e})),n}return s1e(t,e),e1e(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,o=e.onMouseDown,a=e.containerRef,s=e.position,l=e.left,u=e.top;return i?g.default.createElement("div",H0e({},N1e({position:s||"absolute",left:l,top:u},r),{onMouseDown:o,ref:a}),g.default.createElement("ul",H0e({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(Z0e(t),Z0e(i.map((function(n,i){return e.renderSuggestion(n,r,t.length+i)}))))}),[])}},{key:"renderSuggestion",value:function(e,t,n){var r=this,o=n===this.props.focusIndex,a=t.childIndex,s=t.query,l=i.Children.toArray(this.props.children)[a].props.renderSuggestion,u=this.props.ignoreAccents;return g.default.createElement(g2e,{style:this.props.style("item"),key:"".concat(a,"-").concat(b2e(e)),id:t2e(this.props.id,n),query:s,index:n,ignoreAccents:u,renderSuggestion:l,suggestion:e,focused:o,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(v2e,{style:this.props.style("loadingIndicator")})}}]),t}(i.Component);l1e(y2e,"propTypes",{id:AW.string.isRequired,suggestions:AW.object.isRequired,a11ySuggestionsListLabel:AW.string,focusIndex:AW.number,position:AW.string,left:AW.number,top:AW.number,scrollFocusedIntoView:AW.bool,isLoading:AW.bool,isOpened:AW.bool.isRequired,onSelect:AW.func,ignoreAccents:AW.bool,containerRef:AW.oneOfType([AW.func,AW.shape({current:"undefined"==typeof Element?AW.any:AW.instanceOf(Element)})]),children:AW.oneOfType([AW.element,AW.arrayOf(AW.element)]).isRequired}),l1e(y2e,"defaultProps",{suggestions:{},onSelect:function(){return null}});var b2e=function(e){return"string"==typeof e?e:e.id},O2e=p2e({zIndex:1,backgroundColor:"white",marginTop:14,minWidth:100,list:{margin:0,padding:0,listStyleType:"none"}})(y2e);function _2e(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 w2e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_2e(n,!0).forEach((function(t){l1e(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_2e(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var x2e={TAB:9,RETURN:13,ESC:27,UP:38,DOWN:40},k2e=!1,S2e={singleLine:AW.bool,allowSpaceInQuery:AW.bool,allowSuggestionsAboveCursor:AW.bool,forceSuggestionsAboveCursor:AW.bool,ignoreAccents:AW.bool,a11ySuggestionsListLabel:AW.string,value:AW.string,onKeyDown:AW.func,onSelect:AW.func,onBlur:AW.func,onChange:AW.func,suggestionsPortalHost:"undefined"==typeof Element?AW.any:AW.PropTypes.instanceOf(Element),inputRef:AW.oneOfType([AW.func,AW.shape({current:"undefined"==typeof Element?AW.any:AW.instanceOf(Element)})]),children:AW.oneOfType([AW.element,AW.arrayOf(AW.element)]).isRequired},P2e=function(e){function t(e){var n;return K0e(this,t),l1e(i1e(n=r1e(this,o1e(t).call(this,e))),"setContainerElement",(function(e){n.containerElement=e})),l1e(i1e(n),"getInputProps",(function(){var e=n.props,t=e.readOnly,i=e.disabled,r=e.style;return w2e({},d2e(n.props,["style","classNames","className"],c2e(S2e)),{},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":t2e(n.uuidSuggestionsOverlay,n.state.focusIndex)})})),l1e(i1e(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))})),l1e(i1e(n),"renderInput",(function(e){return g.default.createElement("input",H0e({type:"text",ref:n.setInputRef},e))})),l1e(i1e(n),"renderTextarea",(function(e){return g.default.createElement("textarea",H0e({ref:n.setInputRef},e))})),l1e(i1e(n),"setInputRef",(function(e){n.inputElement=e;var t=n.props.inputRef;"function"==typeof t?t(e):t&&(t.current=e)})),l1e(i1e(n),"setSuggestionsElement",(function(e){n.suggestionsElement=e})),l1e(i1e(n),"renderSuggestionsOverlay",(function(){if(!u2e(n.state.selectionStart))return null;var e=n.state.suggestionsPosition,t=e.position,i=e.left,r=e.top,o=g.default.createElement(O2e,{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(o,n.props.suggestionsPortalHost):o})),l1e(i1e(n),"renderHighlighter",(function(){var e=n.state,t=e.selectionStart,i=e.selectionEnd,r=n.props,o=r.singleLine,a=r.children,s=r.value,l=r.style;return g.default.createElement(f2e,{containerRef:n.setHighlighterElement,style:l("highlighter"),value:s,singleLine:o,selectionStart:t,selectionEnd:i,onCaretPositionChange:n.handleCaretPositionChange},a)})),l1e(i1e(n),"setHighlighterElement",(function(e){n.highlighterElement=e})),l1e(i1e(n),"handleCaretPositionChange",(function(e){n.setState({caretPosition:e})})),l1e(i1e(n),"getPlainText",(function(){return H1e(n.props.value||"",r2e(n.props.children))})),l1e(i1e(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 o,a;return n.props.onChange?(o=n.props).onChange.apply(o,[e].concat(i)):n.props.valueLink?(a=n.props.valueLink).requestChange.apply(a,[e.target.value].concat(i)):void 0})),l1e(i1e(n),"handleChange",(function(e){if(k2e=!1,(document.activeElement&&document.activeElement.contentDocument||document).activeElement===e.target){var t=n.props.value||"",i=r2e(n.props.children),r=e.target.value,o=function(e,t,n,i){var r=n.selectionStartBefore,o=n.selectionEndBefore,a=n.selectionEndAfter,s=H1e(e,i),l=s.length-t.length;"undefined"===r&&(r=a+l),"undefined"===o&&(o=r),r===o&&o===a&&s.length===t.length&&(r-=1);var u=t.slice(r,a),c=Math.min(r,a),d=o;r===a&&(d=Math.max(o,r+l));var p=K1e(e,i,c,"START"),h=K1e(e,i,d,"END"),f=K1e(e,i,c,"NULL"),m=K1e(e,i,d,"NULL"),g=null===f||null===m,v=J1e(e,p,h,u);if(!g){var y=H1e(v,i);if(y!==t){for(c=0;t[c]===y[c];)c++;u=t.slice(c,a),d=s.lastIndexOf(t.substring(a)),p=K1e(e,i,c,"START"),h=K1e(e,i,d,"END"),v=J1e(e,p,h,u)}}return v}(t,r,{selectionStartBefore:n.state.selectionStart,selectionEndBefore:n.state.selectionEnd,selectionEndAfter:e.target.selectionEnd},i);r=H1e(o,i);var a=e.target.selectionStart,s=e.target.selectionEnd,l=!1,u=function(e,t,n){var i=n,r=!1;if(Z1e(e,t,(function(e,t,o,a,s,l,u){o<=n&&o+s.length>n&&(i=o,r=!0)})),r)return i}(t,i,a);void 0!==u&&n.state.selectionEnd>u&&(s=a=u,l=!0),n.setState({selectionStart:a,selectionEnd:s,setSelectionAfterMentionChange:l});var c=e2e(o,i),d={target:{value:o}};n.executeOnChange(d,o,r,c)}})),l1e(i1e(n),"handleSelect",(function(e){if(n.setState({selectionStart:e.target.selectionStart,selectionEnd:e.target.selectionEnd}),!k2e){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)}})),l1e(i1e(n),"handleKeyDown",(function(e){if(0!==n2e(n.state.suggestions)&&n.suggestionsElement)switch(Object.values(x2e).indexOf(e.keyCode)>=0&&(e.preventDefault(),e.stopPropagation()),e.keyCode){case x2e.ESC:return void n.clearSuggestions();case x2e.DOWN:return void n.shiftFocus(1);case x2e.UP:return void n.shiftFocus(-1);case x2e.RETURN:case x2e.TAB:return void n.selectFocused();default:return}else n.props.onKeyDown(e)})),l1e(i1e(n),"shiftFocus",(function(e){var t=n2e(n.state.suggestions);n.setState({focusIndex:(t+n.state.focusIndex+e)%t,scrollFocusedIntoView:!0})})),l1e(i1e(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(Z0e(e),Z0e(n.map((function(e){return{result:e,queryInfo:i}}))))}),[])[i],o=r.result,a=r.queryInfo;n.addMention(o,a),n.setState({focusIndex:0})})),l1e(i1e(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)})),l1e(i1e(n),"handleSuggestionsMouseDown",(function(e){n._suggestionsMouseDown=!0})),l1e(i1e(n),"handleSuggestionsMouseEnter",(function(e){n.setState({focusIndex:e,scrollFocusedIntoView:!1})})),l1e(i1e(n),"updateSuggestionsPosition",(function(){var e=n.state.caretPosition,t=n.props,i=t.suggestionsPortalHost,r=t.allowSuggestionsAboveCursor,o=t.forceSuggestionsAboveCursor;if(e&&n.suggestionsElement){var a=n.suggestionsElement,s=n.highlighterElement,l=s.getBoundingClientRect(),u=E2e(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(a){var p={};if(i){p.position="fixed";var h=c.left,f=c.top;h-=E2e(a,"margin-left"),f-=E2e(a,"margin-top"),h-=s.scrollLeft,f-=s.scrollTop;var m=Math.max(document.documentElement.clientWidth,window.innerWidth||0);h+a.offsetWidth>m?p.left=Math.max(0,m-a.offsetWidth):p.left=h,r&&f+a.offsetHeight>d&&a.offsetHeight<f-u||o?p.top=Math.max(0,f-a.offsetHeight-u):p.top=f}else{var g=e.left-s.scrollLeft,v=e.top-s.scrollTop;g+a.offsetWidth>n.containerElement.offsetWidth?p.right=0:p.left=g,r&&c.top-s.scrollTop+a.offsetHeight>d&&a.offsetHeight<l.top-u-s.scrollTop?p.top=v-a.offsetHeight-u:p.top=v}p.left===n.state.suggestionsPosition.left&&p.top===n.state.suggestionsPosition.top&&p.position===n.state.suggestionsPosition.position||n.setState({suggestionsPosition:p})}}})),l1e(i1e(n),"updateHighlighterScroll",(function(){var e=n.inputElement,t=n.highlighterElement;e&&t&&(t.scrollLeft=e.scrollLeft,t.scrollTop=e.scrollTop,t.height=e.height)})),l1e(i1e(n),"handleCompositionStart",(function(){k2e=!0})),l1e(i1e(n),"handleCompositionEnd",(function(){k2e=!1})),l1e(i1e(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()}}})),l1e(i1e(n),"updateMentionsQueries",(function(e,t){n._queryId++,n.suggestions={},n.setState({suggestions:{}});var i=n.props.value||"",r=n.props.children,o=r2e(r),a=K1e(i,o,t,"NULL");if(null!==a){var s=function(e,t){var n=e2e(e,t),i=n[n.length-1];return i?i.plainTextIndex+i.display.length:0}(i.substring(0,a),o),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=B1e(e);return new RegExp("(?:^|\\s)(".concat(i,"([^").concat(n?"":"\\s").concat(i,"]*))$"))}(t.props.trigger,n.props),o=l.match(r);if(o){var a=s+l.indexOf(o[1],o.index);n.queryData(o[2],i,a,a+o[1].length,e)}}}))}})),l1e(i1e(n),"clearSuggestions",(function(){n._queryId++,n.suggestions={},n.setState({suggestions:{},focusIndex:0})})),l1e(i1e(n),"queryData",(function(e,t,r,o,a){var s=n.props,l=s.children,u=s.ignoreAccents,c=function(e,t){return e instanceof Array?function(n,i){for(var r=[],o=0,a=e.length;o<a;++o){var s=e[o].display||e[o].id;l2e(s,n,t)>=0&&r.push(e[o])}return r}:e}(i.Children.toArray(l)[t].props.data,u),d=c(e,n.updateSuggestions.bind(null,n._queryId,t,e,r,o,a));d instanceof Array&&n.updateSuggestions(n._queryId,t,e,r,o,a,d)})),l1e(i1e(n),"updateSuggestions",(function(e,t,i,r,o,a,s){if(e===n._queryId){n.suggestions=w2e({},n.suggestions,l1e({},t,{queryInfo:{childIndex:t,query:i,querySequenceStart:r,querySequenceEnd:o,plainTextValue:a},results:s}));var l=n.state.focusIndex,u=n2e(n.suggestions);n.setState({suggestions:n.suggestions,focusIndex:l>=u?Math.max(u-1,0):l})}})),l1e(i1e(n),"addMention",(function(e,t){var r=e.id,o=e.display,a=t.childIndex,s=t.querySequenceStart,l=t.querySequenceEnd,u=t.plainTextValue,c=n.props.value||"",d=r2e(n.props.children),p=i.Children.toArray(n.props.children)[a].props,h=p.markup,f=p.displayTransform,m=p.appendSpaceOnAdd,g=p.onAdd,v=K1e(c,d,s,"START"),y=v+l-s,b=function(e,t,n){return e.replace(q1e,t).replace(G1e,n)}(h,r,o);m&&(b+=" ");var O=J1e(c,v,y,b);n.inputElement.focus();var _=f(r,o);m&&(_+=" ");var w=s+_.length;n.setState({selectionStart:w,selectionEnd:w,setSelectionAfterMentionChange:!0});var x={target:{value:O}},k=e2e(O,d),S=J1e(u,s,l,_);n.executeOnChange(x,O,S,k),g&&g(r,o,v,y),n.clearSuggestions()})),l1e(i1e(n),"isLoading",(function(){var e=!1;return g.default.Children.forEach(n.props.children,(function(t){e=e||t&&t.props.isLoading})),e})),l1e(i1e(n),"isOpened",(function(){return u2e(n.state.selectionStart)&&(0!==n2e(n.state.suggestions)||n.isLoading())})),l1e(i1e(n),"_queryId",0),n.suggestions={},n.uuidSuggestionsOverlay=Math.random().toString(16).substring(2),n.handleCopy=n.handleCopy.bind(i1e(n)),n.handleCut=n.handleCut.bind(i1e(n)),n.handlePaste=n.handlePaste.bind(i1e(n)),n.state={focusIndex:0,selectionStart:null,selectionEnd:null,suggestions:{},caretPosition:null,suggestionsPosition:{}},n}return s1e(t,e),e1e(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",H0e({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,o=r.value,a=r.children,s=r2e(a),l=K1e(o,s,n,"START"),u=K1e(o,s,i,"END"),c=e.clipboardData.getData("text/react-mentions"),d=e.clipboardData.getData("text/plain"),p=J1e(o,l,u,c||d).replace(/\r/g,""),h=H1e(p,s),f={target:w2e({},e.target,{value:p})};this.executeOnChange(f,p,h,e2e(p,s))}}},{key:"saveSelectionToClipboard",value:function(e){var t=this.state,n=t.selectionStart,i=t.selectionEnd,r=this.props,o=r.children,a=r.value,s=r2e(o),l=K1e(a,s,n,"START"),u=K1e(a,s,i,"END");e.clipboardData.setData("text/plain",e.target.value.slice(n,i)),e.clipboardData.setData("text/react-mentions",a.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,o=r.children,a=r.value,s=r2e(o),l=K1e(a,s,n,"START"),u=K1e(a,s,i,"END"),c=[a.slice(0,l),a.slice(u)].join(""),d=H1e(c,s),p={target:w2e({},e.target,{value:d})};this.executeOnChange(p,c,d,e2e(a,s))}}}]),t}(g.default.Component);l1e(P2e,"propTypes",S2e),l1e(P2e,"defaultProps",{ignoreAccents:!1,singleLine:!1,allowSuggestionsAboveCursor:!1,onKeyDown:function(){return null},onSelect:function(){return null},onBlur:function(){return null}});var E2e=function(e,t){var n=parseFloat(window.getComputedStyle(e,null).getPropertyValue(t));return isFinite(n)?n:0},C2e=p2e({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:w2e({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}}))(P2e),F2e={fontWeight:"inherit"},T2e=function(e){var t=e.display,n=e.style,i=e.className,r=e.classNames,o=U1e(F2e,{style:n,className:i,classNames:r});return g.default.createElement("strong",o,t)};T2e.propTypes={onAdd:AW.func,onRemove:AW.func,renderSuggestion:AW.func,trigger:AW.oneOfType([AW.string,AW.instanceOf(RegExp)]),markup:AW.string,displayTransform:AW.func,allowSpaceInQuery:AW.bool,isLoading:AW.bool},T2e.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 D2e=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 A2e(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),i=D2e.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 I2e=[".DS_Store","Thumbs.db"];function L2e(e){return Po(this,void 0,void 0,(function(){return Eo(this,(function(t){return[2,(n=e,n.dataTransfer&&e.dataTransfer?z2e(e.dataTransfer,e.type):$2e(e))];var n}))}))}function $2e(e){return(null!==e.target&&e.target.files?j2e(e.target.files):[]).map((function(e){return A2e(e)}))}function z2e(e,t){return Po(this,void 0,void 0,(function(){var n;return Eo(this,(function(i){switch(i.label){case 0:return e.items?(n=j2e(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(M2e))]):[3,2];case 1:return[2,R2e(Q2e(i.sent()))];case 2:return[2,R2e(j2e(e.files).map((function(e){return A2e(e)})))]}}))}))}function R2e(e){return e.filter((function(e){return-1===I2e.indexOf(e.name)}))}function j2e(e){for(var t=[],n=0;n<e.length;n++){var i=e[n];t.push(i)}return t}function M2e(e){if("function"!=typeof e.webkitGetAsEntry)return N2e(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?B2e(t):N2e(e)}function Q2e(e){return e.reduce((function(e,t){return Do(e,Array.isArray(t)?Q2e(t):[t])}),[])}function N2e(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var n=A2e(t);return Promise.resolve(n)}function U2e(e){return Po(this,void 0,void 0,(function(){return Eo(this,(function(t){return[2,e.isDirectory?B2e(e):q2e(e)]}))}))}function B2e(e){var t=e.createReader();return new Promise((function(e,n){var i=[];!function r(){var o=this;t.readEntries((function(t){return Po(o,void 0,void 0,(function(){var o,a,s;return Eo(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 o=l.sent(),e(o),[3,4];case 3:return a=l.sent(),n(a),[3,4];case 4:return[3,6];case 5:s=Promise.all(t.map(U2e)),i.push(s),r(),l.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function q2e(e){return Po(this,void 0,void 0,(function(){return Eo(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var i=A2e(n,e.fullPath);t(i)}),(function(e){n(e)}))}))]}))}))}function G2e(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(),o=r.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?i.toLowerCase().endsWith(t):t.endsWith("/*")?o===t.replace(/\/.*$/,""):r===t}))}return!0}(e,t)}function W2e(e,t,n){if(X2e(e.size)){if(X2e(t)&&X2e(n))return e.size>=t&&e.size<=n;if(X2e(t))return e.size>=t;if(X2e(n))return e.size<=n}return!0}function X2e(e){return null!=e}function V2e(e,t,n,i){return e.every((function(e){return G2e(e,t)&&W2e(e,n,i)}))}function Y2e(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function Z2e(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 H2e(e){e.preventDefault()}function K2e(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function J2e(e){return-1!==e.indexOf("Edge/")}function e3e(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return K2e(e)||J2e(e)}function t3e(){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!Y2e(e)&&t&&t.apply(void 0,[e].concat(i)),Y2e(e)}))}}function n3e(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 i3e(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,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{i||null==s.return||s.return()}finally{if(r)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function r3e(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 o3e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r3e(n,!0).forEach((function(t){a3e(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r3e(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a3e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s3e(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},o=Object.keys(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var l3e=i.forwardRef((function(e,t){var n=e.children,r=d3e(s3e(e,["children"])),o=r.open,a=s3e(r,["open"]);return i.useImperativeHandle(t,(function(){return{open:o}}),[o]),g.default.createElement(i.Fragment,null,n(o3e({},a,{open:o})))}));l3e.displayName="Dropzone",l3e.propTypes={children:AW.func,accept:AW.oneOfType([AW.string,AW.arrayOf(AW.string)]),multiple:AW.bool,preventDropOnDocument:AW.bool,noClick:AW.bool,noKeyboard:AW.bool,noDrag:AW.bool,noDragEventsBubbling:AW.bool,minSize:AW.number,maxSize:AW.number,disabled:AW.bool,getFilesFromEvent:AW.func,onFileDialogCancel:AW.func,onDragEnter:AW.func,onDragLeave:AW.func,onDragOver:AW.func,onDrop:AW.func,onDropAccepted:AW.func,onDropRejected:AW.func};var u3e,c3e={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],rejectedFiles:[]};function d3e(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.accept,n=e.disabled,r=void 0!==n&&n,o=e.getFilesFromEvent,a=void 0===o?L2e:o,s=e.maxSize,l=void 0===s?1/0:s,u=e.minSize,c=void 0===u?0:u,d=e.multiple,p=void 0===d||d,h=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,x=void 0!==w&&w,k=e.noKeyboard,S=void 0!==k&&k,P=e.noDrag,E=void 0!==P&&P,C=e.noDragEventsBubbling,F=void 0!==C&&C,T=i.useRef(null),D=i.useRef(null),A=i.useReducer(p3e,c3e),I=i3e(A,2),L=I[0],$=I[1],z=L.isFocused,R=L.isFileDialogActive,j=L.draggedFiles,M=i.useCallback((function(){D.current&&($({type:"openDialog"}),D.current.value=null,D.current.click())}),[$]),Q=function(){R&&setTimeout((function(){D.current&&(D.current.files.length||($({type:"closeDialog"}),"function"==typeof b&&b()))}),300)};i.useEffect((function(){return window.addEventListener("focus",Q,!1),function(){window.removeEventListener("focus",Q,!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(),M()))}),[T,D]),U=i.useCallback((function(){$({type:"focus"})}),[]),B=i.useCallback((function(){$({type:"blur"})}),[]),q=i.useCallback((function(){x||(e3e()?setTimeout(M,0):M())}),[D,x]),G=i.useRef([]),W=function(e){T.current&&T.current.contains(e.target)||(e.preventDefault(),G.current=[])};i.useEffect((function(){return _&&(document.addEventListener("dragover",H2e,!1),document.addEventListener("drop",W,!1)),function(){_&&(document.removeEventListener("dragover",H2e),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(n3e(G.current),[e.target])),Z2e(e)&&Promise.resolve(a(e)).then((function(t){Y2e(e)&&!F||($({draggedFiles:t,isDragActive:!0,type:"setDraggedFiles"}),h&&h(e))}))}),[a,h,F]),V=i.useCallback((function(e){if(e.preventDefault(),e.persist(),ee(e),e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return Z2e(e)&&m&&m(e),!1}),[m,F]),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||($({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),Z2e(e)&&f&&f(e))}),[T,f,F]),Z=i.useCallback((function(e){e.preventDefault(),e.persist(),ee(e),G.current=[],$({type:"reset"}),Z2e(e)&&Promise.resolve(a(e)).then((function(n){if(!Y2e(e)||F){var i=[],r=[];n.forEach((function(e){G2e(e,t)&&W2e(e,c,l)?i.push(e):r.push(e)})),!p&&i.length>1&&r.push.apply(r,n3e(i.splice(0))),$({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)}}))}),[p,t,c,l,a,g,v,y,F]),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){F&&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,o=e.onFocus,a=e.onBlur,s=e.onClick,l=e.onDragEnter,u=e.onDragOver,c=e.onDragLeave,d=e.onDrop,p=s3e(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return o3e(a3e({onKeyDown:K(t3e(i,N)),onFocus:K(t3e(o,U)),onBlur:K(t3e(a,B)),onClick:H(t3e(s,q)),onDragEnter:J(t3e(l,X)),onDragOver:J(t3e(u,V)),onDragLeave:J(t3e(c,Y)),onDrop:J(t3e(d,Z))},n,T),r||S?{}:{tabIndex:0},{},p)}}),[T,N,U,B,q,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,o=e.onClick,a=s3e(e,["refKey","onChange","onClick"]),s=a3e({accept:t,multiple:p,type:"file",style:{display:"none"},onChange:H(t3e(r,Z)),onClick:H(t3e(o,ne)),autoComplete:"off",tabIndex:-1},i,D);return o3e({},s,{},a)}}),[D,t,p,Z,r]),re=j.length,oe=p||re<=1,ae=re>0&&V2e(j,t,c,l),se=re>0&&(!ae||!oe);return o3e({},L,{isDragAccept:ae,isDragReject:se,isFocused:z&&!r,getRootProps:te,getInputProps:ie,rootRef:T,inputRef:D,open:H(M)})}function p3e(e,t){switch(t.type){case"focus":return o3e({},e,{isFocused:!0});case"blur":return o3e({},e,{isFocused:!1});case"openDialog":return o3e({},e,{isFileDialogActive:!0});case"closeDialog":return o3e({},e,{isFileDialogActive:!1});case"setDraggedFiles":var n=t.isDragActive;return o3e({},e,{draggedFiles:t.draggedFiles,isDragActive:n});case"setFiles":return o3e({},e,{acceptedFiles:t.acceptedFiles,rejectedFiles:t.rejectedFiles});case"reset":return o3e({},e,{isFileDialogActive:!1,isDragActive:!1,draggedFiles:[]});default:return e}}!function(e){e.BOTH="both",e.MOUSE="mouse",e.TOUCH="touch"}(u3e||(u3e={}));var h3e={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 o=n(3),a=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,a=void 0===r?-1:r,u=e.activeStyle,c=e.autoEscape,d=e.caseSensitive,p=void 0!==d&&d,h=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,x=e.textToHighlight,k=e.unhighlightClassName,S=void 0===k?"":k,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"]),C=(0,o.findAll)({autoEscape:c,caseSensitive:p,findChunks:f,sanitize:_,searchWords:w,textToHighlight:x}),F=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:h},E,{children:C.map((function(e,t){var i=x.substr(e.start,e.end-e.start);if(e.highlight){T++;var r=void 0;r="object"==typeof g?p?g[i]:(g=I(g))[i.toLowerCase()]:g;var o=T===+a;D=r+" "+(o?n:""),A=!0===o&&null!=u?Object.assign({},y,u):y;var l={children:i,className:D,key:t,style:A};return"string"!=typeof F&&(l.highlightIndex=T),(0,s.createElement)(F,l)}return(0,s.createElement)("span",{children:i,className:S,key:t,style:P})}))}))}u.propTypes={activeClassName:a.default.string,activeIndex:a.default.number,activeStyle:a.default.object,autoEscape:a.default.bool,className:a.default.string,findChunks:a.default.func,highlightClassName:a.default.oneOfType([a.default.object,a.default.string]),highlightStyle:a.default.object,highlightTag:a.default.oneOfType([a.default.node,a.default.func,a.default.string]),sanitize:a.default.func,searchWords:a.default.arrayOf(a.default.oneOfType([a.default.string,a.default.instanceOf(RegExp)])).isRequired,textToHighlight:a.default.string.isRequired,unhighlightClassName:a.default.string,unhighlightStyle:a.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,o=e.caseSensitive,a=void 0!==o&&o,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:a,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?o:i,a=e.searchWords,s=e.textToHighlight;return s=r(s),a.filter((function(e){return e})).reduce((function(e,i){i=r(i),t&&(i=i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"));for(var o=new RegExp(i,n?"g":"gi"),a=void 0;a=o.exec(s);){var l=a.index,u=o.lastIndex;u>l&&e.push({start:l,end:u}),a.index==o.lastIndex&&o.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 o=0;t.forEach((function(e){r(o,e.start,!1),r(e.start,e.end,!0),o=e.end})),r(o,n,!1)}return i};function o(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 o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!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:o}catch(e){n=o}try{i="function"==typeof clearTimeout?clearTimeout:a}catch(e){i=a}}();var l,u=[],c=!1,d=-1;function p(){c&&l&&(c=!1,l.length?u=l.concat(u):d=-1,u.length&&h())}function h(){if(!c){var e=s(p);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===a||!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(h)},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),o=n(9),a=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,o){if("function"!=typeof e)return new h("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var a=t[n];if(!Array.isArray(a))return new h("Invalid "+r+" `"+o+"` of type `"+v(a)+"` supplied to `"+i+"`, expected an array.");for(var l=0;l<a.length;l++){var u=e(a,l,i,r,o+"["+l+"]",s);if(u instanceof Error)return u}return null}))},element:f((function(t,n,i,r,o){var a=t[n];return e(a)?null:new h("Invalid "+r+" `"+o+"` of type `"+v(a)+"` supplied to `"+i+"`, expected a single ReactElement.")})),instanceOf:function(e){return f((function(t,n,i,r,o){if(!(t[n]instanceof e)){var a=e.name||c;return new h("Invalid "+r+" `"+o+"` of type `"+(((s=t[n]).constructor&&s.constructor.name?s.constructor.name:c)+"` supplied to `")+i+"`, expected instance of `"+a+"`.")}var s;return null}))},node:f((function(e,t,n,i,r){return g(e[t])?null:new h("Invalid "+i+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return f((function(t,n,i,r,o){if("function"!=typeof e)return new h("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var a=t[n],l=v(a);if("object"!==l)return new h("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected an object.");for(var u in a)if(a.hasOwnProperty(u)){var c=e(a,u,i,r,o+"."+u,s);if(c instanceof Error)return c}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==t.env.NODE_ENV&&o(!1,"Invalid argument supplied to oneOf, expected an instance of array."),i.thatReturnsNull;return f((function(t,n,i,r,o){for(var a=t[n],s=0;s<e.length;s++)if(p(a,e[s]))return null;return new h("Invalid "+r+" `"+o+"` of value `"+a+"` supplied to `"+i+"`, expected one of "+JSON.stringify(e)+".")}))},oneOfType:function(e){if(!Array.isArray(e))return"production"!==t.env.NODE_ENV&&o(!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 o(!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,o){for(var a=0;a<e.length;a++)if(null==(0,e[a])(t,n,i,r,o,s))return null;return new h("Invalid "+r+" `"+o+"` supplied to `"+i+"`.")}))},shape:function(e){return f((function(t,n,i,r,o){var a=t[n],l=v(a);if("object"!==l)return new h("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");for(var u in e){var c=e[u];if(c){var d=c(a,u,i,r,o+"."+u,s);if(d)return d}}return null}))},exact:function(e){return f((function(t,n,i,r,o){var l=t[n],u=v(l);if("object"!==u)return new h("Invalid "+r+" `"+o+"` of type `"+u+"` supplied to `"+i+"`, expected `object`.");var c=a({},t[n],e);for(var d in c){var p=e[d];if(!p)return new h("Invalid "+r+" `"+o+"` key `"+d+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var f=p(l,d,i,r,o+"."+d,s);if(f)return f}return null}))}};function p(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function h(e){this.message=e,this.stack=""}function f(e){if("production"!==t.env.NODE_ENV)var i={},a=0;function l(l,u,d,p,f,m,g){if(p=p||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=p+":"+d;!i[v]&&a<3&&(o(!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,p),i[v]=!0,a++)}return null==u[d]?l?null===u[d]?new h("The "+f+" `"+m+"` is marked as required in `"+p+"`, but its value is `null`."):new h("The "+f+" `"+m+"` is marked as required in `"+p+"`, but its value is `undefined`."):null:e(u,d,p,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,o,a){var s=t[n];return v(s)!==e?new h("Invalid "+r+" `"+o+"` 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 o=i.value;if(o&&!g(o[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 h.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,o,a,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,o,a,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,o="Warning: "+e.replace(/%s/g,(function(){return n[r++]}));"undefined"!=typeof console&&console.error(o);try{throw new Error(o)}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),o=2;o<n;o++)i[o-2]=arguments[o];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 o(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 a,s,l=o(e),u=1;u<arguments.length;u++){for(var c in a=Object(arguments[u]))i.call(a,c)&&(l[c]=a[c]);if(n){s=n(a);for(var d=0;d<s.length;d++)r.call(a,s[d])&&(l[s[d]]=a[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),o=n(11),a={};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,o)}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 a)){a[d.message]=!0;var p=u?u():"";r(!1,"Failed %s type: %s%s",s,d.message,null!=p?p:"")}}}}).call(t,n(5))},function(e,t,n){var i=n(7),r=n(8),o=n(11);e.exports=function(){function e(e,t,n,i,a,s){s!==o&&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=[],o=void 0,a=!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 a&&i===this&&n.length===r.length&&n.every(s)?o:(a=!0,i=this,r=n,o=e.apply(this,n))};return l}}])}(h3e);var f3e=S(h3e.exports),m3e={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 a(e)?e:X(e)}function i(e){return s(e)?e:V(e)}function r(e){return l(e)?e:Y(e)}function o(e){return a(e)&&!u(e)?e:Z(e)}function a(e){return!(!e||!e[d])}function s(e){return!(!e||!e[p])}function l(e){return!(!e||!e[h])}function u(e){return s(e)||l(e)}function c(e){return!(!e||!e[f])}t(i,n),t(r,n),t(o,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=l,n.isAssociative=u,n.isOrdered=c,n.Keyed=i,n.Indexed=r,n.Set=o;var d="@@__IMMUTABLE_ITERABLE__@@",p="@@__IMMUTABLE_KEYED__@@",h="@@__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 x(e){e&&(e.value=!0)}function k(){}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(C)),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 C(){return!0}function F(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,$=2,z="function"==typeof Symbol&&Symbol.iterator,R="@@iterator",j=z||R;function M(e){this.next=e}function Q(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 B(e){return e&&"function"==typeof e.next}function q(e){var t=G(e);return t&&t.call(e)}function G(e){var t=e&&(z&&e[z]||e[R]);if("function"==typeof t)return t}function W(e){return e&&"number"==typeof e.length}function X(e){return null==e?ae():a(e)?e.toSeq():ue(e)}function V(e){return null==e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function Y(e){return null==e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function Z(e){return(null==e?ae():a(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}M.prototype.toString=function(){return"[Iterator]"},M.KEYS=I,M.VALUES=L,M.ENTRIES=$,M.prototype.inspect=M.prototype.toSource=function(){return this.toString()},M.prototype[j]=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 pe(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 pe(this,e,t,!1)},t(Z,X),Z.of=function(){return Z(arguments)},Z.prototype.toSetSeq=function(){return this},X.isSeq=oe,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 oe(e){return!(!e||!e[ee])}function ae(){return H||(H=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():B(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):B(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 o=r.length-1,a=0;a<=o;a++){var s=r[n?o-a:a];if(!1===t(s[1],i?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function pe(e,t,n,i){var r=e._cache;if(r){var o=r.length-1,a=0;return new M((function(){var e=r[n?o-a:a];return a++>o?N():Q(t,i?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function he(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(!a(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 o=e;e=t,t=o}var d=!0,p=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===p}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 xe(){}function ke(){}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 M((function(){return r>i?N():Q(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,o=0;o<=r;o++){var a=i[t?r-o:o];if(!1===e(n[a],a,this))return o+1}return o},ne.prototype.__iterator=function(e,t){var n=this._object,i=this._keys,r=i.length-1,o=0;return new M((function(){var a=i[t?r-o:o];return o++>r?N():Q(e,a,n[a])}))},ne.prototype[f]=!0,t(ie,Y),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=q(this._iterable),i=0;if(B(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=q(this._iterable);if(!B(n))return new M(N);var i=0;return new M((function(){var t=n.next();return t.done?t:Q(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,o=0;o<r.length;)if(!1===e(r[o],o++,this))return o;for(;!(n=i.next()).done;){var a=n.value;if(r[o]=a,!1===e(a,o++,this))break}return o},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 M((function(){if(r>=i.length){var t=n.next();if(t.done)return t;i[r]=t.value}return Q(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 F(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 M((function(){return i<n.size?Q(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 F(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,o=0;o<=n;o++){if(!1===e(r,o,this))return o+1;r+=t?-i:i}return o},_e.prototype.__iterator=function(e,t){var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,o=0;return new M((function(){var a=r;return r+=t?-i:i,o>n?N():Q(e,o++,a)}))},_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(xe,we),t(ke,we),t(Se,we),we.Keyed=xe,we.Indexed=ke,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 Ce(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>Me?Fe(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 Fe(e){var t=Ue[e];return void 0===t&&(t=Te(e),Ne===Qe&&(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(ze&&void 0!==(t=$e.get(e)))return t;if(void 0!==(t=e[je]))return t;if(!Ie){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[je]))return t;if(void 0!==(t=Le(e)))return t}if(t=++Re,1073741824&Re&&(Re=0),ze)$e.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,je,{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[je]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[je]=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 $e,ze="function"==typeof WeakMap;ze&&($e=new WeakMap);var Re=0,je="__immutablehash__";"function"==typeof Symbol&&(je=Symbol(je));var Me=16,Qe=255,Ne=0,Ue={};function Be(e){Oe(e!==1/0,"Cannot perform this action with an infinite size.")}function qe(e){return null==e?rt():Ge(e)&&!c(e)?e:rt().withMutations((function(t){var n=i(e);Be(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Ge(e){return!(!e||!e[Xe])}t(qe,xe),qe.prototype.toString=function(){return this.__toString("Map {","}")},qe.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},qe.prototype.set=function(e,t){return ot(this,e,t)},qe.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},qe.prototype.remove=function(e){return ot(this,e,b)},qe.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},qe.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},qe.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},qe.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()},qe.prototype.merge=function(){return pt(this,void 0,arguments)},qe.prototype.mergeWith=function(t){return pt(this,t,e.call(arguments,1))},qe.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]}))},qe.prototype.mergeDeep=function(){return pt(this,ht,arguments)},qe.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return pt(this,ft(t),n)},qe.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]}))},qe.prototype.sort=function(e){return Ut(dn(this,e))},qe.prototype.sortBy=function(e,t){return Ut(dn(this,t,e))},qe.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},qe.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new k)},qe.prototype.asImmutable=function(){return this.__ensureOwner()},qe.prototype.wasAltered=function(){return this.__altered},qe.prototype.__iterator=function(e,t){return new et(this,e,t)},qe.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},qe.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)},qe.isMap=Ge;var We,Xe="@@__IMMUTABLE_MAP__@@",Ve=qe.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 Q(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 ot(e,t,n){var i,r;if(e._root){var o=w(O),a=w(_);if(i=at(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;r=e.size+(o.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 at(e,t,n,i,r,o,a,s){return e?e.update(t,n,i,r,o,a,s):o===b?e:(x(s),x(a),new Je(t,i,[r,o]))}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 o,a=(0===n?e.keyHash:e.keyHash>>>n)&y,s=(0===n?i:i>>>n)&y;return new Ze(t,1<<a|1<<s,a===s?[lt(e,t,n+g,i,r)]:(o=new Je(t,i,r),a<s?[e,o]:[o,e]))}function ut(e,t,n,i){e||(e=new k);for(var r=new Je(e,Ce(n),[n,i]),o=0;o<t.length;o++){var a=t[o];r=r.update(e,0,void 0,a[0],a[1])}return r}function ct(e,t,n,i){for(var r=0,o=0,a=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,a[o++]=c)}return new Ze(e,r,a)}function dt(e,t,n,i,r){for(var o=0,a=new Array(v),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[i]=r,new He(e,o+1,a)}function pt(e,t,n){for(var r=[],o=0;o<n.length;o++){var s=n[o],l=i(s);a(s)||(l=l.map((function(e){return he(e)}))),r.push(l)}return mt(e,t,r)}function ht(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):ve(e,t)?e:t}function ft(e){return function(t,n,i){if(t&&t.mergeDeepWith&&a(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,o=t.next();if(o.done){var a=r?n:e,s=i(a);return s===a?e:s}Oe(r||e&&e.set,"invalid keyPath");var l=o.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 o=new Array(r),a=0,s=0;s<r;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}function Ot(e,t,n){var i=e.length-1;if(n&&t===i)return e.pop(),e;for(var r=new Array(i),o=0,a=0;a<i;a++)a===t&&(o=1),r[a]=e[a+o];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,o=0,a=r.length;o<a;o++)if(ve(n,r[o][0]))return r[o][1];return i},Ye.prototype.update=function(e,t,n,i,r,o,a){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(x(a),(s||!d)&&x(o),!s||1!==l.length){if(!d&&!s&&l.length>=_t)return ut(e,l,i,r);var p=e&&e===this.ownerID,h=p?l:S(l);return d?s?u===c-1?h.pop():h[u]=h.pop():h[u]=[i,r]:h.push([i,r]),p?(this.entries=h,this):new Ye(e,h)}},Ze.prototype.get=function(e,t,n,i){void 0===t&&(t=Ce(n));var r=1<<((0===e?t:t>>>e)&y),o=this.bitmap;return 0==(o&r)?i:this.nodes[vt(o&r-1)].get(e+g,t,n,i)},Ze.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Ce(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),p=this.nodes,h=c?p[d]:void 0,f=at(h,e,t+g,n,i,r,o,a);if(f===h)return this;if(!c&&f&&p.length>=wt)return dt(e,p,u,s,f);if(c&&!f&&2===p.length&&st(p[1^d]))return p[1^d];if(c&&f&&1===p.length&&st(f))return f;var m=e&&e===this.ownerID,v=c?f?u:u^l:u|l,O=c?f?yt(p,d,f,m):Ot(p,d,m):bt(p,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=Ce(n));var r=(0===e?t:t>>>e)&y,o=this.nodes[r];return o?o.get(e+g,t,n,i):i},He.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Ce(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=at(c,e,t+g,n,i,r,o,a);if(d===c)return this;var p=this.count;if(c){if(!d&&--p<xt)return ct(e,u,p,s)}else p++;var h=e&&e===this.ownerID,f=yt(u,s,d,h);return h?(this.count=p,this.nodes=f,this):new He(e,p,f)},Ke.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(ve(n,r[o][0]))return r[o][1];return i},Ke.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Ce(i));var s=r===b;if(n!==this.keyHash)return s?this:(x(a),x(o),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(x(a),(s||!d)&&x(o),s&&2===c)return new Je(e,this.keyHash,l[1^u]);var p=e&&e===this.ownerID,h=p?l:S(l);return d?s?u===c-1?h.pop():h[u]=h.pop():h[u]=[i,r]:h.push([i,r]),p?(this.entries=h,this):new Ke(e,this.keyHash,h)},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,o,a){var s=r===b,l=ve(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(x(a),s?void x(o):l?e&&e===this.ownerID?(this.entry[1]=r,this):new Je(e,this.keyHash,[i,r]):(x(o),lt(this,e,t,Ce(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 o=n[t?r-i:i];if(o&&!1===o.iterate(e,t))return!1}},Je.prototype.iterate=function(e,t){return e(this.entry)},t(et,M),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 o=i.nodes[this._reverse?n-r:r];if(o){if(o.entry)return tt(e,o.entry);t=this._stack=nt(o,t)}continue}t=this._stack=this._stack.__prev}return N()};var _t=v/4,wt=v/2,xt=v/4;function kt(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:(Be(i),i>0&&i<v?It(0,i,g,null,new Ct(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(kt,ke),kt.of=function(){return this(arguments)},kt.prototype.toString=function(){return this.__toString("List [","]")},kt.prototype.get=function(e,t){if((e=E(this,e))>=0&&e<this.size){var n=jt(this,e+=this._origin);return n&&n.array[e&y]}return t},kt.prototype.set=function(e,t){return $t(this,e,t)},kt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},kt.prototype.insert=function(e,t){return this.splice(e,0,t)},kt.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()},kt.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){Mt(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},kt.prototype.pop=function(){return Mt(this,0,-1)},kt.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){Mt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},kt.prototype.shift=function(){return Mt(this,1)},kt.prototype.merge=function(){return Qt(this,void 0,arguments)},kt.prototype.mergeWith=function(t){return Qt(this,t,e.call(arguments,1))},kt.prototype.mergeDeep=function(){return Qt(this,ht,arguments)},kt.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Qt(this,ft(t),n)},kt.prototype.setSize=function(e){return Mt(this,0,e)},kt.prototype.slice=function(e,t){var n=this.size;return F(e,t,n)?this:Mt(this,T(e,n),D(t,n))},kt.prototype.__iterator=function(e,t){var n=0,i=At(this,t);return new M((function(){var t=i();return t===Dt?N():Q(e,n++,t)}))},kt.prototype.__iterate=function(e,t){for(var n,i=0,r=At(this,t);(n=r())!==Dt&&!1!==e(n,i++,this););return i},kt.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)},kt.isList=St;var Pt="@@__IMMUTABLE_LIST__@@",Et=kt.prototype;function Ct(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,Ct.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 Ct([],e);var r,o=0===i;if(t>0){var a=this.array[i];if((r=a&&a.removeBefore(e,t-g,n))===a&&o)return this}if(o&&!r)return this;var s=Rt(this,e);if(!o)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},Ct.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 o=this.array[r];if((i=o&&o.removeAfter(e,t-g,n))===o&&r===this.array.length-1)return this}var a=Rt(this,e);return a.array.splice(r+1),i&&(a.array[r]=i),a};var Ft,Tt,Dt={};function At(e,t){var n=e._origin,i=e._capacity,r=Nt(i),o=e._tail;return a(e._root,e._level,0);function a(e,t,n){return 0===t?s(e,n):l(e,t,n)}function s(e,a){var s=a===r?o&&o.array:e&&e.array,l=a>n?0:n-a,u=i-a;return u>v&&(u=v),function(){if(l===u)return Dt;var e=t?--u:l++;return s&&s[e]}}function l(e,r,o){var s,l=e&&e.array,u=o>n?0:n-o>>r,c=1+(i-o>>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=a(l&&l[n],r-g,o+(n<<r))}}}}function It(e,t,n,i,r,o,a){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=o,s.__hash=a,s.__altered=!1,s}function Lt(){return Ft||(Ft=It(0,0,g))}function $t(e,t,n){if((t=E(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?Mt(e,t).set(0,n):Mt(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,o=w(_);return t>=Nt(e._capacity)?i=zt(i,e.__ownerID,0,t,n,o):r=zt(r,e.__ownerID,e._level,t,n,o),o.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 zt(e,t,n,i,r,o){var a,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=zt(u,t,n-g,i,r,o);return c===u?e:((a=Rt(e,t)).array[s]=c,a)}return l&&e.array[s]===r?e:(x(o),a=Rt(e,t),void 0===r&&s===a.array.length-1?a.array.pop():a.array[s]=r,a)}function Rt(e,t){return t&&e&&t===e.ownerID?e:new Ct(e?e.array.slice():[],t)}function jt(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 Mt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new k,r=e._origin,o=e._capacity,a=r+t,s=void 0===n?o:n<0?o+n:r+n;if(a===r&&s===o)return e;if(a>=s)return e.clear();for(var l=e._level,u=e._root,c=0;a+c<0;)u=new Ct(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=g);c&&(a+=c,r+=c,s+=c,o+=c);for(var d=Nt(o),p=Nt(s);p>=1<<l+g;)u=new Ct(u&&u.array.length?[u]:[],i),l+=g;var h=e._tail,f=p<d?jt(e,s-1):p>d?new Ct([],i):h;if(h&&p>d&&a<o&&h.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]=h}if(s<o&&(f=f&&f.removeAfter(i,0,s)),a>=p)a-=p,s-=p,l=g,u=null,f=f&&f.removeBefore(i,0,a);else if(a>r||p<d){for(c=0;u;){var O=a>>>l&y;if(O!==p>>>l&y)break;O&&(c+=(1<<l)*O),l-=g,u=u.array[O]}u&&a>r&&(u=u.removeBefore(i,l,a-c)),u&&p<d&&(u=u.removeAfter(i,l,p-c)),c&&(a-=c,s-=c)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=l,e._root=u,e._tail=f,e.__hash=void 0,e.__altered=!0,e):It(a,s,l,u,f)}function Qt(e,t,n){for(var i=[],o=0,s=0;s<n.length;s++){var l=n[s],u=r(l);u.size>o&&(o=u.size),a(l)||(u=u.map((function(e){return he(e)}))),i.push(u)}return o>e.size&&(e=e.setSize(o)),mt(e,t,i)}function Nt(e){return e<v?0:e-1>>>g<<g}function Ut(e){return null==e?Gt():Bt(e)?e:Gt().withMutations((function(t){var n=i(e);Be(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Bt(e){return Ge(e)&&c(e)}function qt(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=qt(rt(),Lt()))}function Wt(e,t,n){var i,r,o=e._map,a=e._list,s=o.get(t),l=void 0!==s;if(n===b){if(!l)return e;a.size>=v&&a.size>=2*o.size?(r=a.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=o.remove(t),r=s===a.size-1?a.pop():a.set(s,void 0))}else if(l){if(n===a.get(s)[1])return e;i=o,r=a.set(s,[t,n])}else i=o.set(t,a.size),r=a.set(a.size,[t,n]);return e.__ownerID?(e.size=i.size,e._map=i,e._list=r,e.__hash=void 0,e):qt(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===$){var i=e.__iterator(t,n);return new M((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 o=e.get(i,b);return o===b?r:t.call(n,o,i,e)},i.__iterateUncached=function(i,r){var o=this;return e.__iterate((function(e,r,a){return!1!==i(t.call(n,e,r,a),r,o)}),r)},i.__iteratorUncached=function(i,r){var o=e.__iterator($,r);return new M((function(){var r=o.next();if(r.done)return r;var a=r.value,s=a[0];return Q(i,s,t.call(n,a[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 o=e.get(i,b);return o!==b&&t.call(n,o,i,e)?o:r}),r.__iterateUncached=function(r,o){var a=this,s=0;return e.__iterate((function(e,o,l){if(t.call(n,e,o,l))return s++,r(e,i?o:s-1,a)}),o),s},r.__iteratorUncached=function(r,o){var a=e.__iterator($,o),s=0;return new M((function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return Q(r,i?u:s++,c,o)}}))},r}function tn(e,t,n){var i=qe().asMutable();return e.__iterate((function(r,o){i.update(t.call(n,r,o,e),0,(function(e){return e+1}))})),i.asImmutable()}function nn(e,t,n){var i=s(e),r=(c(e)?Ut():qe()).asMutable();e.__iterate((function(o,a){r.update(t.call(n,o,a,e),(function(e){return(e=e||[]).push(i?[a,o]:o),e}))}));var o=yn(e);return r.map((function(t){return mn(e,o(t))}))}function rn(e,t,n,i){var r=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),F(t,n,r))return e;var o=T(t,r),a=D(n,r);if(o!=o||a!=a)return rn(e.toSeq().cacheResult(),t,n,i);var s,l=a-o;l==l&&(s=l<0?0:l);var u=bn(e);return u.size=0===s?s:e.size&&s||void 0,!i&&oe(e)&&s>=0&&(u.get=function(t,n){return(t=E(this,t))>=0&&t<s?e.get(t+o,n):n}),u.__iterateUncached=function(t,n){var r=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,l=!0,u=0;return e.__iterate((function(e,n){if(!l||!(l=a++<o))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),a=0,l=0;return new M((function(){for(;a++<o;)r.next();if(++l>s)return N();var e=r.next();return i||t===L?e:Q(t,l-1,t===I?void 0:e.value[1],e)}))},u}function on(e,t,n){var i=bn(e);return i.__iterateUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterate(i,r);var a=0;return e.__iterate((function(e,r,s){return t.call(n,e,r,s)&&++a&&i(e,r,o)})),a},i.__iteratorUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterator(i,r);var a=e.__iterator($,r),s=!0;return new M((function(){if(!s)return N();var e=a.next();if(e.done)return e;var r=e.value,l=r[0],u=r[1];return t.call(n,u,l,o)?i===$?e:Q(i,l,u,e):(s=!1,N())}))},i}function an(e,t,n,i){var r=bn(e);return r.__iterateUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterate(r,o);var s=!0,l=0;return e.__iterate((function(e,o,u){if(!s||!(s=t.call(n,e,o,u)))return l++,r(e,i?o:l-1,a)})),l},r.__iteratorUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterator(r,o);var s=e.__iterator($,o),l=!0,u=0;return new M((function(){var e,o,c;do{if((e=s.next()).done)return i||r===L?e:Q(r,u++,r===I?void 0:e.value[1],e);var d=e.value;o=d[0],c=d[1],l&&(l=t.call(n,c,o,a))}while(l);return r===$?e:Q(r,o,c,e)}))},r}function sn(e,t){var n=s(e),r=[e].concat(t).map((function(e){return a(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 o=r[0];if(o===e||n&&s(o)||l(e)&&l(o))return o}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 o=0,s=!1;function l(e,u){var c=this;e.__iterate((function(e,r){return(!t||u<t)&&a(e)?l(e,u+1):!1===i(e,n?r:o++,c)&&(s=!0),!s}),r)}return l(e,0),o},i.__iteratorUncached=function(i,r){var o=e.__iterator(i,r),s=[],l=0;return new M((function(){for(;o;){var e=o.next();if(!1===e.done){var u=e.value;if(i===$&&(u=u[1]),t&&!(s.length<t)||!a(u))return n?e:Q(i,l++,u,e);s.push(o),o=u.__iterator(i,r)}else o=s.pop()}return N()}))},i}function un(e,t,n){var i=yn(e);return e.toSeq().map((function(r,o){return i(t.call(n,r,o,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,o=0;return e.__iterate((function(e,i){return(!o||!1!==n(t,o++,r))&&!1!==n(e,o++,r)}),i),o},n.__iteratorUncached=function(n,i){var r,o=e.__iterator(L,i),a=0;return new M((function(){return(!r||a%2)&&(r=o.next()).done?r:a%2?Q(n,a++,t):Q(n,a++,r.value,r)}))},n}function dn(e,t,n){t||(t=_n);var i=s(e),r=0,o=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),i?V(o):l(e)?Y(o):Z(o)}function pn(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 hn(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return hn(t,e,n)?n:e}))}function hn(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 o=i.map((function(e){return e=n(e),q(r?e.reverse():e)})),a=0,s=!1;return new M((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?N():Q(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function mn(e,t){return oe(e)?t:e.constructor(t)}function gn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function vn(e){return Be(e.size),P(e)}function yn(e){return s(e)?i:l(e)?r:o}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=q(e);if(!t){if(!W(e))throw new TypeError("Expected iterable or array-like: "+e);t=q(n(e))}return t}function xn(e,t){var n,i=function(o){if(o instanceof i)return o;if(!(this instanceof i))return new i(o);if(!n){n=!0;var a=Object.keys(e);En(r,a),r.size=a.length,r._name=t,r._keys=a,r._defaultValues=e}this._map=qe(o)},r=i.prototype=Object.create(kn);return r.constructor=i,i}t(Ut,qe),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?qt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Ut.isOrderedMap=Bt,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 M((function(){var r=n.next();return r.done?r:Q(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 M((function(){var t=n.next();return t.done?t:Q(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 M((function(){var t=n.next();return t.done?t:Q(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=a(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 M((function(){for(;;){var t=n.next();if(t.done)return t;var i=t.value;if(i){gn(i);var r=a(i);return Q(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(xn,xe),xn.prototype.toString=function(){return this.__toString(Pn(this)+" {","}")},xn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},xn.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},xn.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()))},xn.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)},xn.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)},xn.prototype.wasAltered=function(){return this._map.wasAltered()},xn.prototype.__iterator=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},xn.prototype.__iterate=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},xn.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 kn=xn.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(Cn.bind(void 0,e))}catch(e){}}function Cn(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 Fn(e){return null==e?zn():Tn(e)&&!c(e)?e:zn().withMutations((function(t){var n=o(e);Be(n.size),n.forEach((function(e){return t.add(e)}))}))}function Tn(e){return!(!e||!e[An])}kn[m]=kn.remove,kn.deleteIn=kn.removeIn=Ve.removeIn,kn.merge=Ve.merge,kn.mergeWith=Ve.mergeWith,kn.mergeIn=Ve.mergeIn,kn.mergeDeep=Ve.mergeDeep,kn.mergeDeepWith=Ve.mergeDeepWith,kn.mergeDeepIn=Ve.mergeDeepIn,kn.setIn=Ve.setIn,kn.update=Ve.update,kn.updateIn=Ve.updateIn,kn.withMutations=Ve.withMutations,kn.asMutable=Ve.asMutable,kn.asImmutable=Ve.asImmutable,t(Fn,Se),Fn.of=function(){return this(arguments)},Fn.fromKeys=function(e){return this(i(e).keySeq())},Fn.prototype.toString=function(){return this.__toString("Set {","}")},Fn.prototype.has=function(e){return this._map.has(e)},Fn.prototype.add=function(e){return Ln(this,this._map.set(e,!0))},Fn.prototype.remove=function(e){return Ln(this,this._map.remove(e))},Fn.prototype.clear=function(){return Ln(this,this._map.clear())},Fn.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++)o(t[n]).forEach((function(t){return e.add(t)}))})):this.constructor(t[0])},Fn.prototype.intersect=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return o(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.every((function(e){return e.includes(n)}))||e.remove(n)}))}))},Fn.prototype.subtract=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return o(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.some((function(e){return e.includes(n)}))&&e.remove(n)}))}))},Fn.prototype.merge=function(){return this.union.apply(this,arguments)},Fn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},Fn.prototype.sort=function(e){return Rn(dn(this,e))},Fn.prototype.sortBy=function(e,t){return Rn(dn(this,t,e))},Fn.prototype.wasAltered=function(){return this._map.wasAltered()},Fn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,i){return e(i,i,n)}),t)},Fn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Fn.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)},Fn.isSet=Tn;var Dn,An="@@__IMMUTABLE_SET__@@",In=Fn.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 $n(e,t){var n=Object.create(In);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function zn(){return Dn||(Dn=$n(rt()))}function Rn(e){return null==e?Un():jn(e)?e:Un().withMutations((function(t){var n=o(e);Be(n.size),n.forEach((function(e){return t.add(e)}))}))}function jn(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=zn,In.__make=$n,t(Rn,Fn),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=jn;var Mn,Qn=Rn.prototype;function Nn(e,t){var n=Object.create(Qn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Un(){return Mn||(Mn=Nn(Gt()))}function Bn(e){return null==e?Yn():qn(e)?e:Yn().unshiftAll(e)}function qn(e){return!(!e||!e[Wn])}Qn[f]=!0,Qn.__empty=Un,Qn.__make=Nn,t(Bn,ke),Bn.of=function(){return this(arguments)},Bn.prototype.toString=function(){return this.__toString("Stack [","]")},Bn.prototype.get=function(e,t){var n=this._head;for(e=E(this,e);n&&e--;)n=n.next;return n?n.value:t},Bn.prototype.peek=function(){return this._head&&this._head.value},Bn.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)},Bn.prototype.pushAll=function(e){if(0===(e=r(e)).size)return this;Be(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)},Bn.prototype.pop=function(){return this.slice(1)},Bn.prototype.unshift=function(){return this.push.apply(this,arguments)},Bn.prototype.unshiftAll=function(e){return this.pushAll(e)},Bn.prototype.shift=function(){return this.pop.apply(this,arguments)},Bn.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()},Bn.prototype.slice=function(e,t){if(F(e,t,this.size))return this;var n=T(e,this.size);if(D(t,this.size)!==this.size)return ke.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)},Bn.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)},Bn.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},Bn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,i=this._head;return new M((function(){if(i){var t=i.value;return i=i.next,Q(e,n++,t)}return N()}))},Bn.isStack=qn;var Gn,Wn="@@__IMMUTABLE_STACK__@@",Xn=Bn.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=M,Zn(n,{toArray:function(){Be(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 qe(this.toKeyedSeq())},toObject:function(){Be(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 Fn(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 Bn(s(this)?this.valueSeq():this)},toList:function(){return kt(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($)},every:function(e,t){Be(this.size);var n=!0;return this.__iterate((function(i,r,o){if(!e.call(t,i,r,o))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,o){if(e.call(t,i,r,o))return n=[r,i],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return Be(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Be(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 Be(this.size),arguments.length<2?r=!0:i=t,this.__iterate((function(t,o,a){r?(r=!1,i=t):i=e.call(n,i,t,o,a)})),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(C)},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 o=n.value;if((i=i&&i.get?i.get(o,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 pn(this,e)},maxBy:function(e,t){return pn(this,t,e)},min:function(e){return pn(this,e?ni(e):oi)},minBy:function(e,t){return pn(this,t?ni(t):oi,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,an(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,on(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=ai(this))}});var Hn=n.prototype;Hn[d]=!0,Hn[j]=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,o){return e.call(t,[o,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 oi(e,t){return e<t?1:e>t?-1:0}function ai(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(Ce(e),Ce(t))|0}:function(e,t){i=i+li(Ce(e),Ce(t))|0}:t?function(e){i=31*i+Ce(e)|0}:function(e){i=i+Ce(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[p]=!0,Kn[j]=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,an(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[h]=!0,r.prototype[f]=!0,Zn(o,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=Hn.includes,Zn(V,i.prototype),Zn(Y,r.prototype),Zn(Z,o.prototype),Zn(xe,i.prototype),Zn(ke,r.prototype),Zn(Se,o.prototype),{Iterable:n,Seq:X,Collection:we,Map:qe,OrderedMap:Ut,List:kt,Stack:Bn,Set:Fn,OrderedSet:Rn,Record:xn,Range:_e,Repeat:be,is:ve,fromJS:he}}()}(m3e);var g3e=m3e.exports.OrderedMap,v3e={createFromArray:function(e){return g3e(e.map((function(e){return[e.getKey(),e]})))}},y3e=v3e;var b3e=m3e.exports,O3e=b3e.Map,_3e=b3e.OrderedSet,w3e=b3e.Record,x3e=_3e(),k3e={style:x3e,entity:null},S3e=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 P3e;var t=O3e({style:x3e,entity:null}).merge(e),n=E3e.get(t);if(n)return n;var r=new i(t);return E3e=E3e.set(t,r),r},i.fromJS=function(e){var t=e.style,n=e.entity;return new i({style:Array.isArray(t)?_3e(t):t,entity:Array.isArray(n)?_3e(n):n})},i}(w3e(k3e)),P3e=new S3e,E3e=O3e([[O3e(k3e),P3e]]);S3e.EMPTY=P3e;var C3e=S3e;var F3e=function(e,t,n,i){if(e.size){var r=0;e.reduce((function(e,o,a){return t(e,o)||(n(e)&&i(r,a),r=a),o})),n(e.last())&&i(r,e.count())}};var T3e=C3e,D3e=F3e,A3e=m3e.exports,I3e=A3e.List,L3e=A3e.Map,$3e=A3e.OrderedSet,z3e=A3e.Record,R3e=A3e.Repeat,j3e=$3e(),M3e=z3e({key:"",type:"unstyled",text:"",characterList:I3e(),depth:0,data:L3e()}),Q3e=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=I3e(R3e(T3e.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():j3e},r.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},r.findStyleRanges=function(e,t){D3e(this.getCharacterList(),N3e,e,t)},r.findEntityRanges=function(e,t){D3e(this.getCharacterList(),U3e,e,t)},i}(M3e);function N3e(e,t){return e.getStyle()===t.getStyle()}function U3e(e,t){return e.getEntity()===t.getEntity()}var B3e=Q3e;var q3e=C3e,G3e=F3e,W3e=m3e.exports,X3e=W3e.List,V3e=W3e.Map,Y3e=W3e.OrderedSet,Z3e=W3e.Record,H3e=W3e.Repeat,K3e=Y3e(),J3e={parent:null,characterList:X3e(),data:V3e(),depth:0,key:"",text:"",type:"unstyled",children:X3e(),prevSibling:null,nextSibling:null},e4e=function(e,t){return e.getStyle()===t.getStyle()},t4e=function(e,t){return e.getEntity()===t.getEntity()},n4e=function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=X3e(H3e(q3e.EMPTY,n.length))),e},i4e=function(e){var t,n;function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:J3e;return e.call(this,n4e(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():K3e},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){G3e(this.getCharacterList(),e4e,e,t)},r.findEntityRanges=function(e,t){G3e(this.getCharacterList(),t4e,e,t)},i}(Z3e(J3e)),r4e=i4e,o4e=C3e,a4e=m3e.exports.Map;function s4e(e,t,n,i){var r=e.getBlockMap(),o=t.getStartKey(),a=t.getStartOffset(),s=t.getEndKey(),l=t.getEndOffset(),u=r.skipUntil((function(e,t){return t===o})).takeUntil((function(e,t){return t===s})).concat(a4e([[s,r.get(s)]])).map((function(e,t){var r,u;o===s?(r=a,u=l):(r=t===o?a:0,u=t===s?l:e.getLength());for(var c,d=e.getCharacterList();r<u;)c=d.get(r),d=d.set(r,i?o4e.applyStyle(c,n):o4e.removeStyle(c,n)),r++;return e.set("characterList",d)}));return e.merge({blockMap:r.merge(u),selectionBefore:t,selectionAfter:t})}var l4e={add:function(e,t,n){return s4e(e,t,n,!0)},remove:function(e,t,n){return s4e(e,t,n,!1)}},u4e=C3e;var c4e=function(e,t,n,i){for(var r=t,o=e.getCharacterList();r<n;)o=o.set(r,u4e.applyEntity(o.get(r),i)),r++;return e.set("characterList",o)},d4e=c4e,p4e=m3e.exports;var h4e=function(e,t,n){var i=e.getBlockMap(),r=t.getStartKey(),o=t.getStartOffset(),a=t.getEndKey(),s=t.getEndOffset(),l=i.skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===a})).toOrderedMap().merge(p4e.OrderedMap([[a,i.get(a)]])).map((function(e,t){var i=t===r?o:0,l=t===a?s:e.getLength();return d4e(e,i,l,n)}));return e.merge({blockMap:i.merge(l),selectionBefore:t,selectionAfter:t})},f4e={getRemovalRange:function(e,t,n,i,r){var o=n.split(" ");o=o.map((function(e,t){if("forward"===r){if(t>0)return" "+e}else if(t<o.length-1)return e+" ";return e}));for(var a,s=i,l=null,u=null,c=0;c<o.length;c++){if(e<(a=s+o[c].length)&&s<t)null!==l||(l=s),u=a;else if(null!==l)break;s=a}var d=i+n.length,p=l===i,h=u===d;return(!p&&h||p&&!h)&&("forward"===r?u!==d&&u++:l!==i&&l--),{start:l,end:u}}},m4e="production"!==ga.env.NODE_ENV?function(e){}:function(e){if(void 0===e)throw new Error("invariant(...): Second argument must be a string.")};var g4e=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(m4e(t),!e){var o;if(void 0===t)o=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var a=0;(o=new Error(t.replace(/%s/g,(function(){return String(i[a++])})))).name="Invariant Violation"}throw o.framesToPop=1,o}},v4e=g4e;var y4e=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"!==ga.env.NODE_ENV?v4e(!1,"Entity key not found in this range."):v4e(!1)),n},b4e=f4e,O4e=y4e,_4e=g4e;function w4e(e,t,n,i,r,o,a){var s=n.getStartOffset(),l=n.getEndOffset(),u=e.__get(r).getMutability(),c=a?s:l;if("MUTABLE"===u)return n;var d=O4e(t,r).filter((function(e){return c<=e.end&&c>=e.start}));1!=d.length&&("production"!==ga.env.NODE_ENV?_4e(!1,"There should only be one entity range within this removal range."):_4e(!1));var p=d[0];if("IMMUTABLE"===u)return n.merge({anchorOffset:p.start,focusOffset:p.end,isBackward:!1});o||(a?l=p.end:s=p.start);var h=b4e.getRemovalRange(s,l,t.getText().slice(p.start,p.end),p.start,i);return n.merge({anchorOffset:h.start,focusOffset:h.end,isBackward:!1})}var x4e=function(e,t,n,i,r){var o=i.getStartOffset(),a=i.getEndOffset(),s=t.getEntityAt(o),l=n.getEntityAt(a-1);if(!s&&!l)return i;var u=i;if(s&&s===l)u=w4e(e,t,u,r,s,!0,!0);else if(s&&l){var c=w4e(e,t,u,r,s,!1,!0),d=w4e(e,n,u,r,l,!1,!1);u=u.merge({anchorOffset:c.getAnchorOffset(),focusOffset:d.getFocusOffset(),isBackward:!1})}else if(s){var p=w4e(e,t,u,r,s,!1,!0);u=u.merge({anchorOffset:p.getStartOffset(),isBackward:!1})}else if(l){var h=w4e(e,n,u,r,l,!1,!1);u=u.merge({focusOffset:h.getEndOffset(),isBackward:!1})}return u},k4e={},S4e=Math.pow(2,24);var P4e=function(){for(var e;void 0===e||k4e.hasOwnProperty(e)||!isNaN(+e);)e=Math.floor(Math.random()*S4e).toString(32);return k4e[e]=!0,e},E4e=r4e,C4e=P4e,F4e=m3e.exports.OrderedMap,T4e=function(e){return e.first()instanceof E4e?function(e){var t,n={};return F4e(e.withMutations((function(e){e.forEach((function(i,r){var o=i.getKey(),a=i.getNextSiblingKey(),s=i.getPrevSiblingKey(),l=i.getChildKeys(),u=i.getParentKey(),c=C4e();if(n[o]=c,a&&(e.get(a)?e.setIn([a,"prevSibling"],c):e.setIn([o,"nextSibling"],null)),s&&(e.get(s)?e.setIn([s,"nextSibling"],c):e.setIn([o,"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([o,"parent"],null),t&&(e.setIn([t.getKey(),"nextSibling"],c),e.setIn([o,"prevSibling"],n[t.getKey()])),t=e.get(o);l.forEach((function(t){e.get(t)?e.setIn([t,"parent"],c):e.setIn([o,"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 F4e(e.toArray().map((function(e){var t=C4e();return[t,e.set("key",t)]})))}(e)},D4e=C3e,A4e=F3e,I4e=g4e;function L4e(e,t,n){var i=t.getCharacterList(),r=n>0?i.get(n-1):void 0,o=n<i.count()?i.get(n):void 0,a=r?r.getEntity():void 0,s=o?o.getEntity():void 0;if(s&&s===a&&"MUTABLE"!==e.__get(s).getMutability()){for(var l,u=function(e,t,n){var i;return A4e(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"!==ga.env.NODE_ENV?I4e(!1,"Removal range must exist within character list."):I4e(!1)),i}(i,s,n),c=u.start,d=u.end;c<d;)l=i.get(c),i=i.set(c,D4e.applyEntity(l,null)),c++;return t.set("characterList",i)}return t}var $4e=function(e,t){var n=e.getBlockMap(),i=e.getEntityMap(),r={},o=t.getStartKey(),a=t.getStartOffset(),s=n.get(o),l=L4e(i,s,a);l!==s&&(r[o]=l);var u=t.getEndKey(),c=t.getEndOffset(),d=n.get(u);o===u&&(d=l);var p=L4e(i,d,c);return p!==d&&(r[u]=p),Object.keys(r).length?e.merge({blockMap:n.merge(r),selectionAfter:t}):e.set("selectionAfter",t)},z4e=T4e,R4e=$4e,j4e=function(e,t){var n=t.getStartKey(),i=t.getStartOffset(),r=t.getEndKey(),o=t.getEndOffset(),a=R4e(e,t).getBlockMap(),s=a.keySeq(),l=s.indexOf(n),u=s.indexOf(r)+1;return z4e(a.slice(l,u).map((function(e,t){var a=e.getText(),s=e.getCharacterList();return n===r?e.merge({text:a.slice(i,o),characterList:s.slice(i,o)}):t===n?e.merge({text:a.slice(i),characterList:s.slice(i)}):t===r?e.merge({text:a.slice(0,o),characterList:s.slice(0,o)}):e})))};var M4e=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),o=i.slice(n);i=r.concat(t,o).toList()}return i},Q4e=y3e,N4e=r4e,U4e=M4e,B4e=g4e,q4e=T4e,G4e=m3e.exports.List,W4e=function(e,t,n,i,r,o){var a=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=o+i.getText().length,p=null;switch(a){case"MERGE_OLD_DATA_TO_NEW_DATA":p=i.getData().merge(s.getData());break;case"REPLACE_WITH_NEW_DATA":p=i.getData()}var h=s.getType();l&&"unstyled"===h&&(h=i.getType());var f=s.merge({text:l.slice(0,o)+i.getText()+l.slice(o),characterList:U4e(u,i.getCharacterList(),o),type:h,data:p});return e.merge({blockMap:n.set(r,f),selectionBefore:t,selectionAfter:t.merge({anchorKey:c,anchorOffset:d,focusKey:c,focusOffset:d,isBackward:!1})})},X4e=function(e,t,n,i,r,o){var a=n.first()instanceof N4e,s=[],l=i.size,u=n.get(r),c=i.first(),d=i.last(),p=d.getLength(),h=d.getKey(),f=a&&(!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(),o=i.slice(0,t),a=r.slice(0,t),s=n.first();return e.merge({text:o+s.getText(),characterList:a.concat(s.getCharacterList()),type:o?e.getType():s.getType(),data:s.getData()})}(e,o,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(),o=i.length,a=i.slice(t,o),s=r.slice(t,o),l=n.last();return l.merge({text:l.getText()+a,characterList:l.getCharacterList().concat(s),data:l.getData()})}(e,o,i))):s.push(e)}));var m=Q4e.createFromArray(s);return a&&(m=function(e,t,n,i){return e.withMutations((function(t){var r=n.getKey(),o=i.getKey(),a=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 o=i.getNextSiblingKey();if(!o)break;r.push(o),i=t.get(o)}return r}(i,e),u=l[l.length-1];if(t.get(o)?(t.setIn([r,"nextSibling"],o),t.setIn([o,"prevSibling"],r)):(t.setIn([r,"nextSibling"],i.getNextSiblingKey()),t.setIn([i.getNextSiblingKey(),"prevSibling"],r)),t.setIn([u,"nextSibling"],a),a&&t.setIn([a,"prevSibling"],u),l.forEach((function(e){return t.setIn([e,"parent"],s)})),s){var c=e.get(s).getChildKeys(),d=c.indexOf(r)+1,p=c.toArray();p.splice.apply(p,[d,0].concat(l)),t.setIn([s,"children"],G4e(p))}}))}(m,0,u,c)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:h,anchorOffset:p,focusKey:h,focusOffset:p,isBackward:!1})})},V4e=function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";t.isCollapsed()||("production"!==ga.env.NODE_ENV?B4e(!1,"`insertFragment` should only be called with a collapsed selection state."):B4e(!1));var r=e.getBlockMap(),o=q4e(n),a=t.getStartKey(),s=t.getStartOffset(),l=r.get(a);return l instanceof N4e&&(l.getChildKeys().isEmpty()||("production"!==ga.env.NODE_ENV?B4e(!1,"`insertFragment` should not be called when a container node is selected."):B4e(!1))),1===o.size?W4e(e,t,r,o.first(),a,s,i):X4e(e,t,r,o,a,s)},Y4e=M4e,Z4e=g4e,H4e=m3e.exports.Repeat;var K4e=function(e,t,n,i){t.isCollapsed()||("production"!==ga.env.NODE_ENV?Z4e(!1,"`insertText` should only be called with a collapsed range."):Z4e(!1));var r=null;if(null!=n&&(r=n.length),null==r||0===r)return e;var o=e.getBlockMap(),a=t.getStartKey(),s=t.getStartOffset(),l=o.get(a),u=l.getText(),c=l.merge({text:u.slice(0,s)+n+u.slice(s,l.getLength()),characterList:Y4e(l.getCharacterList(),H4e(i,r).toList(),s)}),d=s+r;return e.merge({blockMap:o.set(a,c),selectionAfter:t.merge({anchorOffset:d,focusOffset:d})})},J4e=m3e.exports.Map;var e6e=function(e,t,n){var i=t.getStartKey(),r=t.getEndKey(),o=e.getBlockMap(),a=o.toSeq().skipUntil((function(e,t){return t===i})).takeUntil((function(e,t){return t===r})).concat(J4e([[r,o.get(r)]])).map(n);return e.merge({blockMap:o.merge(a),selectionBefore:t,selectionAfter:t})},t6e=r4e,n6e=function(e,t){if(!(e instanceof t6e))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 o=r.getParentKey();r=o?t.get(o):null}return r?r.getNextSiblingKey():null},i6e=r4e,r6e=n6e,o6e=m3e.exports;o6e.List;var a6e=o6e.Map,s6e=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},l6e=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},u6e=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},c6e=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},d6e=function(e,t,n,i){return e.withMutations((function(r){if(s6e(t.getKey(),r,(function(e){return e.merge({nextSibling:u6e(e,r,i),prevSibling:c6e(e,r,i)})})),s6e(n.getKey(),r,(function(e){return e.merge({nextSibling:u6e(e,r,i),prevSibling:c6e(e,r,i)})})),l6e(t.getKey(),i).forEach((function(e){return s6e(e,r,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return r.get(e)})),nextSibling:u6e(e,r,i),prevSibling:c6e(e,r,i)})}))})),s6e(t.getNextSiblingKey(),r,(function(e){return e.merge({prevSibling:t.getPrevSiblingKey()})})),s6e(t.getPrevSiblingKey(),r,(function(e){return e.merge({nextSibling:u6e(e,r,i)})})),s6e(n.getNextSiblingKey(),r,(function(e){return e.merge({prevSibling:c6e(e,r,i)})})),s6e(n.getPrevSiblingKey(),r,(function(e){return e.merge({nextSibling:n.getNextSiblingKey()})})),l6e(n.getKey(),i).forEach((function(e){s6e(e,r,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return r.get(e)})),nextSibling:u6e(e,r,i),prevSibling:c6e(e,r,i)})}))})),function(e,t){var n=[];if(!e)return n;for(var i=r6e(e,t);i&&t.get(i);){var r=t.get(i);n.push(i),i=r.getParentKey()?r6e(r,t):null}return n}(n,i).forEach((function(e){return s6e(e,r,(function(e){return e.merge({nextSibling:u6e(e,r,i),prevSibling:c6e(e,r,i)})}))})),null==e.get(t.getKey())&&null!=e.get(n.getKey())&&n.getParentKey()===t.getKey()&&null==n.getPrevSiblingKey()){var o=t.getPrevSiblingKey();s6e(n.getKey(),r,(function(e){return e.merge({prevSibling:o})})),s6e(o,r,(function(e){return e.merge({nextSibling:n.getKey()})}));var a=o?e.get(o):null,s=a?a.getParentKey():null;if(t.getChildKeys().forEach((function(e){s6e(e,r,(function(e){return e.merge({parent:s})}))})),null!=s){var l=e.get(s);s6e(s,r,(function(e){return e.merge({children:l.getChildKeys().concat(t.getChildKeys())})}))}s6e(t.getChildKeys().find((function(t){return null===e.get(t).getNextSiblingKey()})),r,(function(e){return e.merge({nextSibling:t.getNextSiblingKey()})}))}}))},p6e=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},h6e=function(e,t){if(t.isCollapsed())return e;var n,i=e.getBlockMap(),r=t.getStartKey(),o=t.getStartOffset(),a=t.getEndKey(),s=t.getEndOffset(),l=i.get(r),u=i.get(a),c=l instanceof i6e,d=[];if(c){var p=u.getChildKeys(),h=l6e(a,i);u.getNextSiblingKey()&&(d=d.concat(h)),p.isEmpty()||(d=d.concat(h.concat([a]))),d=d.concat(l6e(r6e(u,i),i))}n=l===u?p6e(l.getCharacterList(),o,s):l.getCharacterList().slice(0,o).concat(u.getCharacterList().slice(s));var f=l.merge({text:l.getText().slice(0,o)+u.getText().slice(s),characterList:n}),m=c&&0===o&&0===s&&u.getParentKey()===r&&null==u.getPrevSiblingKey()?a6e([[r,null]]):i.toSeq().skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===a})).filter((function(e,t){return-1===d.indexOf(t)})).concat(a6e([[a,null]])).map((function(e,t){return t===r?f:null})),g=i.merge(m).filter((function(e){return!!e}));return c&&l!==u&&(g=d6e(g,l,u,i)),e.merge({blockMap:g,selectionBefore:t,selectionAfter:t.merge({anchorKey:r,anchorOffset:o,focusKey:r,focusOffset:o,isBackward:!1})})},f6e=r4e,m6e=P4e,g6e=m3e.exports,v6e=g4e,y6e=e6e,b6e=g6e.List,O6e=g6e.Map,_6e=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},w6e=function(e,t){t.isCollapsed()||("production"!==ga.env.NODE_ENV?v6e(!1,"Selection range must be collapsed."):v6e(!1));var n=t.getAnchorKey(),i=e.getBlockMap(),r=i.get(n),o=r.getText();if(!o){var a=r.getType();if("unordered-list-item"===a||"ordered-list-item"===a)return y6e(e,t,(function(e){return e.merge({type:"unstyled",depth:0})}))}var s=t.getAnchorOffset(),l=r.getCharacterList(),u=m6e(),c=r instanceof f6e,d=r.merge({text:o.slice(0,s),characterList:l.slice(0,s)}),p=d.merge({key:u,text:o.slice(s),characterList:l.slice(s),data:O6e()}),h=i.toSeq().takeUntil((function(e){return e===r})),f=i.toSeq().skipUntil((function(e){return e===r})).rest(),m=h.concat([[n,d],[u,p]],f).toOrderedMap();return c&&(r.getChildKeys().isEmpty()||("production"!==ga.env.NODE_ENV?v6e(!1,"ContentBlockNode must not have children"):v6e(!1)),m=function(e,t,n){return e.withMutations((function(e){var i=t.getKey(),r=n.getKey();_6e(t.getParentKey(),e,(function(e){var t=e.getChildKeys(),n=t.indexOf(i)+1,o=t.toArray();return o.splice(n,0,r),e.merge({children:b6e(o)})})),_6e(t.getNextSiblingKey(),e,(function(e){return e.merge({prevSibling:r})})),_6e(i,e,(function(e){return e.merge({nextSibling:r})})),_6e(r,e,(function(e){return e.merge({prevSibling:i})}))}))}(m,d,p)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:u,anchorOffset:0,focusKey:u,focusOffset:0,isBackward:!1})})},x6e=C3e,k6e=l4e,S6e=h4e,P6e=x4e,E6e=j4e,C6e=V4e,F6e=K4e,T6e=g4e,D6e=e6e,A6e=$4e,I6e=h6e,L6e=w6e,$6e=m3e.exports.OrderedSet,z6e={replaceText:function(e,t,n,i,r){var o=A6e(e,t),a=I6e(o,t),s=x6e.create({style:i||$6e(),entity:r||null});return F6e(a,a.getSelectionAfter(),n,s)},insertText:function(e,t,n,i,r){return t.isCollapsed()||("production"!==ga.env.NODE_ENV?T6e(!1,"Target range must be collapsed for `insertText`."):T6e(!1)),z6e.replaceText(e,t,n,i,r)},moveText:function(e,t,n){var i=E6e(e,t),r=z6e.removeRange(e,t,"backward");return z6e.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=A6e(e,t),o=I6e(r,t);return C6e(o,o.getSelectionAfter(),n,i)},removeRange:function(e,t,n){var i,r,o,a;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(),o=e.getBlockForKey(i),a=e.getBlockForKey(r);var s=t.getStartOffset(),l=t.getEndOffset(),u=o.getEntityAt(s),c=a.getEntityAt(l-1);if(i===r&&u&&u===c){var d=P6e(e.getEntityMap(),o,a,t,n);return I6e(e,d)}var p=A6e(e,t);return I6e(p,t)},splitBlock:function(e,t){var n=A6e(e,t),i=I6e(n,t);return L6e(i,i.getSelectionAfter())},applyInlineStyle:function(e,t,n){return k6e.add(e,t,n)},removeInlineStyle:function(e,t,n){return k6e.remove(e,t,n)},setBlockType:function(e,t,n){return D6e(e,t,(function(e){return e.merge({type:n,depth:0})}))},setBlockData:function(e,t,n){return D6e(e,t,(function(e){return e.merge({data:n})}))},mergeBlockData:function(e,t,n){return D6e(e,t,(function(e){return e.merge({data:e.getData().merge(n)})}))},applyEntity:function(e,t,n){var i=A6e(e,t);return S6e(i,t,n)}},R6e=z6e;var j6e=function(e){return Object.keys(e).map((function(t){return e[t]}))};function M6e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Q6e=F3e,N6e=j6e,U6e=m3e.exports,B6e=U6e.List,q6e=U6e.Repeat,G6e=U6e.Record,W6e=function(){return!0},X6e=G6e({start:null,end:null}),V6e=G6e({start:null,end:null,decoratorKey:null,leaves:null}),Y6e={generate:function(e,t,n){var i=t.getLength();if(!i)return B6e.of(new V6e({start:0,end:0,decoratorKey:null,leaves:B6e.of(new X6e({start:0,end:0}))}));var r=[],o=n?n.getDecorations(t,e):B6e(q6e(null,i)),a=t.getCharacterList();return Q6e(o,H6e,W6e,(function(e,t){r.push(new V6e({start:e,end:t,decoratorKey:o.get(e),leaves:Z6e(a.slice(e,t).toList(),e)}))})),B6e(r)},fromJS:function(e){var t=e.leaves,n=function(e,t){if(null==e)return{};var n,i,r={},o=Object.keys(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,["leaves"]);return new V6e(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){M6e(e,t,n[t])}))}return e}({},n,{leaves:null!=t?B6e(Array.isArray(t)?t:N6e(t)).map((function(e){return X6e(e)})):null}))}};function Z6e(e,t){var n=[],i=e.map((function(e){return e.getStyle()})).toList();return Q6e(i,H6e,W6e,(function(e,i){n.push(new X6e({start:e+t,end:i+t}))})),B6e(n)}function H6e(e,t){return e===t}var K6e=Y6e;var J6e=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,m3e.exports.Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object})),e5e=J6e;var t5e=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 n5e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i5e=e5e,r5e=g4e,o5e=t5e,a5e=(0,m3e.exports.Map)(),s5e=o5e();function l5e(e,t){console.warn("WARNING: "+e+' will be deprecated soon!\nPlease use "'+t+'" instead.')}var u5e={getLastCreatedEntityKey:function(){return l5e("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),u5e.__getLastCreatedEntityKey()},create:function(e,t,n){return l5e("DraftEntity.create","contentState.createEntity"),u5e.__create(e,t,n)},add:function(e){return l5e("DraftEntity.add","contentState.addEntity"),u5e.__add(e)},get:function(e){return l5e("DraftEntity.get","contentState.getEntity"),u5e.__get(e)},__getAll:function(){return a5e},__loadWithEntities:function(e){a5e=e,s5e=o5e()},mergeData:function(e,t){return l5e("DraftEntity.mergeData","contentState.mergeEntityData"),u5e.__mergeData(e,t)},replaceData:function(e,t){return l5e("DraftEntity.replaceData","contentState.replaceEntityData"),u5e.__replaceData(e,t)},__getLastCreatedEntityKey:function(){return s5e},__create:function(e,t,n){return u5e.__add(new i5e({type:e,mutability:t,data:n||{}}))},__add:function(e){return s5e=o5e(),a5e=a5e.set(s5e,e),s5e},__get:function(e){var t=a5e.get(e);return t||("production"!==ga.env.NODE_ENV?r5e(!1,"Unknown DraftEntity key: %s.",e):r5e(!1)),t},__mergeData:function(e,t){var n=u5e.__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){n5e(e,t,n[t])}))}return e}({},n.getData(),t),r=n.set("data",i);return a5e=a5e.set(e,r),r},__replaceData:function(e,t){var n=u5e.__get(e).set("data",t);return a5e=a5e.set(e,n),n}},c5e=u5e;var d5e=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 o=this.getStartOffset(),a=this.getEndOffset();return t<=o&&o<=n||t<=a&&a<=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,m3e.exports.Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1})),p5e=d5e,h5e=function(e){return!("undefined"==typeof window||!window.__DRAFT_GKX)&&!!window.__DRAFT_GKX[e]},f5e=new RegExp("\r","g");var m5e=function(e){return e.replace(f5e,"")};function g5e(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){v5e(e,t,n[t])}))}return e}function v5e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y5e=y3e,b5e=C3e,O5e=B3e,_5e=r4e,w5e=c5e,x5e=p5e,k5e=P4e,S5e=j6e,P5e=h5e,E5e=m3e.exports,C5e=m5e,F5e=E5e.List,T5e=E5e.Record,D5e=E5e.Repeat,A5e=E5e.Map,I5e=E5e.OrderedMap,L5e=T5e({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),$5e=P5e("draft_tree_data_support")?_5e:O5e,z5e=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 w5e},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 w5e.__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 w5e.__create(e,t,n),this},r.mergeEntityData=function(e,t){return w5e.__mergeData(e,t),this},r.replaceEntityData=function(e,t){return w5e.__replaceData(e,t),this},r.addEntity=function(e){return w5e.__add(e),this},r.getEntity=function(e){return w5e.__get(e)},r.getAllEntities=function(){return w5e.__getAll()},r.loadWithEntities=function(e){return w5e.__loadWithEntities(e)},i.createFromBlockArray=function(e,t){var n=Array.isArray(e)?e:e.contentBlocks,r=y5e.createFromArray(n),o=r.isEmpty()?new x5e:x5e.createEmpty(r.first().getKey());return new i({blockMap:r,entityMap:t||w5e,selectionBefore:o,selectionAfter:o})},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=C5e(e),new $5e({key:k5e(),text:e,type:"unstyled",characterList:F5e(D5e(b5e.EMPTY,e.length))})}));return i.createFromBlockArray(r)},i.fromJS=function(e){return new i(g5e({},e,{blockMap:I5e(e.blockMap).map(i.createContentBlockFromJS),selectionBefore:new x5e(e.selectionBefore),selectionAfter:new x5e(e.selectionAfter)}))},i.createContentBlockFromJS=function(e){var t=e.characterList;return new $5e(g5e({},e,{data:A5e(e.data),characterList:null!=t?F5e((Array.isArray(t)?t:S5e(t)).map((function(e){return b5e.fromJS(e)}))):void 0}))},i}(L5e),R5e=z5e,j5e=g4e,M5e="LTR",Q5e=null;function N5e(e){return e===M5e||"RTL"===e}function U5e(e){return N5e(e)||("production"!==ga.env.NODE_ENV?j5e(!1,"`dir` must be a strong direction to be converted to HTML Direction"):j5e(!1)),e===M5e?"ltr":"rtl"}function B5e(e){Q5e=e}var q5e={NEUTRAL:"NEUTRAL",LTR:M5e,RTL:"RTL",isStrong:N5e,getHTMLDir:U5e,getHTMLDirIfDifferent:function(e,t){return N5e(e)||("production"!==ga.env.NODE_ENV?j5e(!1,"`dir` must be a strong direction to be converted to HTML Direction"):j5e(!1)),N5e(t)||("production"!==ga.env.NODE_ENV?j5e(!1,"`otherDir` must be a strong direction to be converted to HTML Direction"):j5e(!1)),e===t?null:U5e(e)},setGlobalDir:B5e,initGlobalDir:function(){B5e(M5e)},getGlobalDir:function(){return Q5e||this.initGlobalDir(),Q5e||("production"!==ga.env.NODE_ENV?j5e(!1,"Global direction not set."):j5e(!1)),Q5e}},G5e=q5e,W5e=g4e,X5e="֐־׀׃׆׈-׏א-ת׫-ׯװ-ײ׳-״׵-׿߀-߉ߊ-ߪߴ-ߵߺ߻-߿ࠀ-ࠕࠚࠤࠨ࠮-࠯࠰-࠾࠿ࡀ-ࡘ࡜-࡝࡞࡟-࢟‏יִײַ-ﬨשׁ-זּ﬷טּ-לּ﬽מּ﬿נּ-סּ﭂ףּ-פּ﭅צּ-ﭏ",V5e="؈؋؍؛؜؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍܎܏ܐܒ-ܯ݋-݌ݍ-ޥޱ޲-޿ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-﯒ﯓ-ﴽ﵀-﵏ﵐ-ﶏ﶐-﶑ﶒ-ﷇ﷈-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴ﹵ﹶ-ﻼ﻽-﻾",Y5e=new RegExp("["+"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‎ⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+X5e+V5e+"]"),Z5e=new RegExp("["+X5e+V5e+"]");function H5e(e){var t=Y5e.exec(e);return null==t?null:t[0]}function K5e(e){var t=H5e(e);return null==t?G5e.NEUTRAL:Z5e.exec(t)?G5e.RTL:G5e.LTR}function J5e(e,t){if(t=t||G5e.NEUTRAL,!e.length)return t;var n=K5e(e);return n===G5e.NEUTRAL?t:n}function e9e(e,t){return t||(t=G5e.getGlobalDir()),G5e.isStrong(t)||("production"!==ga.env.NODE_ENV?W5e(!1,"Fallback direction must be a strong direction"):W5e(!1)),J5e(e,t)}var t9e={firstStrongChar:H5e,firstStrongCharDir:K5e,resolveBlockDir:J5e,getDirection:e9e,isDirectionLTR:function(e,t){return e9e(e,t)===G5e.LTR},isDirectionRTL:function(e,t){return e9e(e,t)===G5e.RTL}},n9e=t9e;function i9e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var r9e,o9e=n9e,a9e=q5e,s9e=g4e,l9e=function(){function e(e){i9e(this,"_defaultDir",void 0),i9e(this,"_lastDir",void 0),e?a9e.isStrong(e)||("production"!==ga.env.NODE_ENV?s9e(!1,"Default direction must be a strong direction (LTR or RTL)"):s9e(!1)):e=a9e.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=o9e.getDirection(e,this._lastDir),this._lastDir},e}(),u9e=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")},c9e=l9e,d9e=m3e.exports,p9e=u9e,h9e=d9e.OrderedMap,f9e={getDirectionMap:function(e,t){r9e?r9e.reset():r9e=new c9e;var n=e.getBlockMap(),i=n.valueSeq().map((function(e){return p9e(r9e).getDirection(e.getText())})),r=h9e(n.keySeq().zip(i));return null!=t&&d9e.is(t,r)?t:r}};function m9e(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){g9e(e,t,n[t])}))}return e}function g9e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v9e=K6e,y9e=R5e,b9e=f9e,O9e=p5e,_9e=m3e.exports,w9e=_9e.OrderedSet,x9e=_9e.Record,k9e=_9e.Stack,S9e=_9e.OrderedMap,P9e=_9e.List,E9e=x9e({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:k9e(),selection:null,treeMap:null,undoStack:k9e()}),C9e=function(){t.createEmpty=function(e){return t.createWithContent(y9e.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:k9e(),redoStack:k9e(),decorator:n||null,selection:O9e.createEmpty(i)})},t.create=function(e){var n=e.currentContent,i=m9e({},e,{treeMap:T9e(n,e.decorator),directionMap:b9e.getDirectionMap(n)});return new t(new E9e(i))},t.fromJS=function(e){return new t(new E9e(m9e({},e,{directionMap:null!=e.directionMap?S9e(e.directionMap):e.directionMap,inlineStyleOverride:null!=e.inlineStyleOverride?w9e(e.inlineStyleOverride):e.inlineStyleOverride,nativelyRenderedContent:null!=e.nativelyRenderedContent?y9e.fromJS(e.nativelyRenderedContent):e.nativelyRenderedContent,redoStack:null!=e.redoStack?k9e(e.redoStack.map((function(e){return y9e.fromJS(e)}))):e.redoStack,selection:null!=e.selection?new O9e(e.selection):e.selection,treeMap:null!=e.treeMap?S9e(e.treeMap).map((function(e){return P9e(e).map((function(e){return v9e.fromJS(e)}))})):e.treeMap,undoStack:null!=e.undoStack?k9e(e.undoStack.map((function(e){return y9e.fromJS(e)}))):e.undoStack,currentContent:y9e.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 o=n.currentContent||e.getCurrentContent();if(r!==i){var a,s=t.get("treeMap");return a=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 v9e.generate(e,t,i)})))}(o,o.getBlockMap(),s,r,i):T9e(o,r),void t.merge({decorator:r,treeMap:a,nativelyRenderedContent:null})}o!==e.getCurrentContent()&&t.set("treeMap",function(e,t,n,i){var r=e.getCurrentContent().set("entityMap",n),o=r.getBlockMap();return e.getImmutable().get("treeMap").merge(t.toSeq().filter((function(e,t){return e!==o.get(t)})).map((function(e){return v9e.generate(r,e,i)})))}(e,o.getBlockMap(),o.getEntityMap(),r)),t.merge(n)}));return new t(i)};var e=t.prototype;function t(e){g9e(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 A9e(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 A9e(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 F9e(e,t,!1)},t.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),F9e(e,t,!0)},t.moveSelectionToEnd=function(e){var n=e.getCurrentContent().getLastBlock(),i=n.getKey(),r=n.getLength();return t.acceptSelection(e,new O9e({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 o=b9e.getDirectionMap(n,e.getDirectionMap());if(!e.getAllowUndo())return t.set(e,{currentContent:n,directionMap:o,lastChangeType:i,selection:n.getSelectionAfter(),forceSelection:r,inlineStyleOverride:null});var a=e.getSelection(),s=e.getCurrentContent(),l=e.getUndoStack(),u=n;a!==s.getSelectionAfter()||D9e(e,i)?(l=l.push(s),u=u.set("selectionBefore",a)):"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 p={currentContent:u,directionMap:o,undoStack:l,redoStack:k9e(),lastChangeType:i,selection:n.getSelectionAfter(),forceSelection:r,inlineStyleOverride:c};return t.set(e,p)},t.undo=function(e){if(!e.getAllowUndo())return e;var n=e.getUndoStack(),i=n.peek();if(!i)return e;var r=e.getCurrentContent(),o=b9e.getDirectionMap(i,e.getDirectionMap());return t.set(e,{currentContent:i,directionMap:o,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(),o=b9e.getDirectionMap(i,e.getDirectionMap());return t.set(e,{currentContent:i,directionMap:o,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 F9e(e,t,n){return C9e.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function T9e(e,t){return e.getBlockMap().map((function(n){return v9e.generate(e,n,t)})).toOrderedMap()}function D9e(e,t){return t!==e.getLastChangeType()||"insert-characters"!==t&&"backspace-character"!==t&&"delete-character"!==t}function A9e(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):w9e()}var I9e=C9e,L9e=r4e,$9e=n6e,z9e=m3e.exports,R9e=g4e,j9e=z9e.OrderedMap,M9e=z9e.List,Q9e=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},N9e=function(e,t,n,i,r){if(!r)return e;var o="after"===i,a=t.getKey(),s=n.getKey(),l=t.getParentKey(),u=t.getNextSiblingKey(),c=t.getPrevSiblingKey(),d=n.getParentKey(),p=o?n.getNextSiblingKey():s,h=o?s:n.getPrevSiblingKey();return e.withMutations((function(e){Q9e(l,e,(function(e){var t=e.getChildKeys();return e.merge({children:t.delete(t.indexOf(a))})})),Q9e(c,e,(function(e){return e.merge({nextSibling:u})})),Q9e(u,e,(function(e){return e.merge({prevSibling:c})})),Q9e(p,e,(function(e){return e.merge({prevSibling:a})})),Q9e(h,e,(function(e){return e.merge({nextSibling:a})})),Q9e(d,e,(function(e){var t=e.getChildKeys(),n=t.indexOf(s),i=o?n+1:0!==n?n-1:0,r=t.toArray();return r.splice(i,0,a),e.merge({children:M9e(r)})})),Q9e(a,e,(function(e){return e.merge({nextSibling:p,prevSibling:h,parent:d})}))}))},U9e=function(e,t,n,i){"replace"===i&&("production"!==ga.env.NODE_ENV?R9e(!1,"Replacing blocks is not supported."):R9e(!1));var r=n.getKey(),o=t.getKey();o===r&&("production"!==ga.env.NODE_ENV?R9e(!1,"Block cannot be moved next to itself."):R9e(!1));var a=e.getBlockMap(),s=t instanceof L9e,l=[t],u=a.delete(o);s&&(l=[],u=a.withMutations((function(e){var n=t.getNextSiblingKey(),i=$9e(t,e);e.toSeq().skipUntil((function(e){return e.getKey()===o})).takeWhile((function(e){var t=e.getKey(),r=t===o,a=n&&t!==n,s=!n&&e.getParentKey()&&(!i||t!==i);return!!(r||a||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),p=l.map((function(e){return[e.getKey(),e]})),h=j9e();if("before"===i){var f=e.getBlockBefore(r);f&&f.getKey()===t.getKey()&&("production"!==ga.env.NODE_ENV?R9e(!1,"Block cannot be moved next to itself."):R9e(!1)),h=c.concat([].concat(p,[[r,n]]),d).toOrderedMap()}else if("after"===i){var m=e.getBlockAfter(r);m&&m.getKey()===o&&("production"!==ga.env.NODE_ENV?R9e(!1,"Block cannot be moved next to itself."):R9e(!1)),h=c.concat([[r,n]].concat(p),d).toOrderedMap()}return e.merge({blockMap:N9e(h,t,n,i,s),selectionBefore:e.getSelectionAfter(),selectionAfter:e.getSelectionAfter().merge({anchorKey:o,focusKey:o})})};function B9e(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){q9e(e,t,n[t])}))}return e}function q9e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var G9e=y3e,W9e=C3e,X9e=B3e,V9e=r4e,Y9e=R6e,Z9e=I9e,H9e=P4e,K9e=m3e.exports,J9e=U9e,e8e=h5e("draft_tree_data_support"),t8e=e8e?V9e:X9e,n8e=K9e.List,i8e=K9e.Repeat,r8e={insertAtomicBlock:function(e,t,n){var i=e.getCurrentContent(),r=e.getSelection(),o=Y9e.removeRange(i,r,"backward"),a=o.getSelectionAfter(),s=Y9e.splitBlock(o,a),l=s.getSelectionAfter(),u=Y9e.setBlockType(s,l,"atomic"),c=W9e.create({entity:t}),d={key:H9e(),type:"atomic",text:n,characterList:n8e(i8e(c,n.length))},p={key:H9e(),type:"unstyled"};e8e&&(d=B9e({},d,{nextSibling:p.key}),p=B9e({},p,{prevSibling:d.key}));var h=[new t8e(d),new t8e(p)],f=G9e.createFromArray(h),m=Y9e.replaceWithFragment(u,l,f),g=m.merge({selectionBefore:r,selectionAfter:m.getSelectionAfter().set("hasFocus",!0)});return Z9e.push(e,g,"insert-fragment")},moveAtomicBlock:function(e,t,n,i){var r,o=e.getCurrentContent(),a=e.getSelection();if("before"===i||"after"===i){var s=o.getBlockForKey("before"===i?n.getStartKey():n.getEndKey());r=J9e(o,t,s,i)}else{var l=Y9e.removeRange(o,n,"backward"),u=l.getSelectionAfter(),c=l.getBlockForKey(u.getFocusKey());if(0===u.getStartOffset())r=J9e(l,t,c,"before");else if(u.getEndOffset()===c.getLength())r=J9e(l,t,c,"after");else{var d=Y9e.splitBlock(l,u),p=d.getSelectionAfter(),h=d.getBlockForKey(p.getFocusKey());r=J9e(d,t,h,"before")}}var f=r.merge({selectionBefore:a,selectionAfter:r.getSelectionAfter().set("hasFocus",!0)});return Z9e.push(e,f,"move-block")}};var o8e=m3e.exports.List,a8e=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 o=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+"."+o),o++)}),t)})),o8e(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 s8e=a8e;function l8e(e){return e.replace(/\//g,"-")}var u8e=function(e){return"object"==typeof e?Object.keys(e).filter((function(t){return e[t]})).map(l8e).join(" "):Array.prototype.map.call(arguments,l8e).join(" ")},c8e=g.default,d8e=u8e,p8e=(0,m3e.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:c8e.createElement("ul",{className:d8e("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:c8e.createElement("ol",{className:d8e("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:c8e.createElement("pre",{className:d8e("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}}),h8e={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}},f8e={exports:{}};!function(e,t){!function(n,i){var r="function",o="undefined",a="object",s="string",l="model",u="name",c="type",d="vendor",p="version",h="architecture",f="console",m="mobile",g="tablet",v="smarttv",y="wearable",b="embedded",O="Amazon",_="Apple",w="ASUS",x="BlackBerry",k="Firefox",S="Google",P="Huawei",E="LG",C="Microsoft",F="Motorola",T="Opera",D="Samsung",A="Sony",I="Xiaomi",L="Zebra",$="Facebook",z=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!==j(t).indexOf(j(e))},j=function(e){return e.toLowerCase()},M=function(e,t){if(typeof e===s)return e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,""),typeof t===o?e:e.substring(0,255)},Q=function(e,t){for(var n,o,s,l,u,c,d=0;d<t.length&&!u;){var p=t[d],h=t[d+1];for(n=o=0;n<p.length&&!u;)if(u=p[n++].exec(e))for(s=0;s<h.length;s++)c=u[++o],typeof(l=h[s])===a&&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]===a&&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"},B={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[p,[u,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[p,[u,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[u,p],[/opios[\/ ]+([\w\.]+)/i],[p,[u,"Opera Mini"]],[/\bopr\/([\w\.]+)/i],[p,[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,p],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[p,[u,"UCBrowser"]],[/\bqbcore\/([\w\.]+)/i],[p,[u,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[p,[u,"WeChat"]],[/konqueror\/([\w\.]+)/i],[p,[u,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[p,[u,"IE"]],[/yabrowser\/([\w\.]+)/i],[p,[u,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[u,/(.+)/,"$1 Secure Browser"],p],[/\bfocus\/([\w\.]+)/i],[p,[u,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[p,[u,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[p,[u,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[p,[u,"Dolphin"]],[/coast\/([\w\.]+)/i],[p,[u,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[p,[u,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[p,[u,k]],[/\bqihu|(qi?ho?o?|360)browser/i],[[u,"360 Browser"]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[u,/(.+)/,"$1 Browser"],p],[/(comodo_dragon)\/([\w\.]+)/i],[[u,/_/g," "],p],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[u,p],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i],[u],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[u,$],p],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[u,p],[/\bgsa\/([\w\.]+) .*safari\//i],[p,[u,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[p,[u,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[u,"Chrome WebView"],p],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[p,[u,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[u,p],[/version\/([\w\.]+) .*mobile\/\w+ (safari)/i],[p,[u,"Mobile Safari"]],[/version\/([\w\.]+) .*(mobile ?safari|safari)/i],[p,u],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[u,[p,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,p],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[u,"Netscape"],p],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[p,[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,p]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[h,"amd64"]],[/(ia32(?=;))/i],[[h,j]],[/((?:i[346]|x)86)[;\)]/i],[[h,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[h,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[h,"armhf"]],[/windows (ce|mobile); ppc;/i],[[h,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[h,/ower/,"",j]],[/(sun4\w)[;\)]/i],[[h,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[h,j]]],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,F],[c,m]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[l,[d,F],[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,x],[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,C],[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,C],[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,C],[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,M],[l,M],[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,$],[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],[p,[u,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[p,[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,p],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[p,u]],os:[[/microsoft (windows) (vista|xp)/i],[u,p],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[u,[p,N,U]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[u,"Windows"],[p,N,U]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[p,/_/g,"."],[u,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[u,"Mac OS"],[p,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[p,u],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[u,p],[/\(bb(10);/i],[p,[u,x]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[p,[u,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[p,[u,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[p,[u,"webOS"]],[/crkey\/([\d\.]+)/i],[p,[u,"Chromecast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[u,"Chromium OS"],p],[/(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,p],[/(sunos) ?([\w\.\d]*)/i],[[u,"Solaris"],p],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[u,p]]},q=function(e,t){if(typeof e===a&&(t=e,e=i),!(this instanceof q))return new q(e,t).getResult();var r=e||(typeof n!==o&&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}(B,t):B;return this.getBrowser=function(){var e={};return e.name=i,e.version=i,Q.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,Q.call(e,r,l.cpu),e},this.getDevice=function(){var e={};return e.vendor=i,e.model=i,e.type=i,Q.call(e,r,l.device),e},this.getEngine=function(){var e={};return e.name=i,e.version=i,Q.call(e,r,l.engine),e},this.getOS=function(){var e={};return e.name=i,e.version=i,Q.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?M(e,255):e,this},this.setUA(r),this};q.VERSION="0.7.31",q.BROWSER=z([u,p,"major"]),q.CPU=z([h]),q.DEVICE=z([l,d,c,f,m,v,g,y,b]),q.ENGINE=q.OS=z([u,p]),e.exports&&(t=e.exports=q),t.UAParser=q;var G=typeof n!==o&&(n.jQuery||n.Zepto);if(G&&!G.ua){var W=new q;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:k)}(f8e,f8e.exports);var m8e="Unknown",g8e={"Mac OS":"Mac OS X"};var v8e=(new(0,f8e.exports)).getResult(),y8e=function(e){if(!e)return{major:"",minor:""};var t=e.split(".");return{major:t[0],minor:t[1]}}(v8e.browser.version),b8e={browserArchitecture:v8e.cpu.architecture||m8e,browserFullVersion:v8e.browser.version||m8e,browserMinorVersion:y8e.minor||m8e,browserName:v8e.browser.name||m8e,browserVersion:v8e.browser.major||m8e,deviceName:v8e.device.model||m8e,engineName:v8e.engine.name||m8e,engineVersion:v8e.engine.version||m8e,platformArchitecture:v8e.cpu.architecture||m8e,platformName:function(e){return g8e[e]||e}(v8e.os.name)||m8e,platformVersion:v8e.os.version||m8e,platformFullVersion:v8e.os.version||m8e},O8e=b8e,_8e=g4e,w8e=/\./,x8e=/\|\|/,k8e=/\s+\-\s+/,S8e=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,P8e=/^(\d*)(.*)/;function E8e(e,t){var n=e.split(x8e);return n.length>1?n.some((function(e){return j8e.contains(e,t)})):function(e,t){var n=e.split(k8e);if(n.length>0&&n.length<=2||("production"!==ga.env.NODE_ENV?_8e(!1,'the "-" operator expects exactly 2 operands'):_8e(!1)),1===n.length)return C8e(n[0],t);var i=n[0],r=n[1];return I8e(i)&&I8e(r)||("production"!==ga.env.NODE_ENV?_8e(!1,'operands to the "-" operator must be simple (no modifiers)'):_8e(!1)),C8e(">="+i,t)&&C8e("<="+r,t)}(e=n[0].trim(),t)}function C8e(e,t){if(""===(e=e.trim()))return!0;var n=t.split(w8e),i=D8e(e),r=i.modifier,o=i.rangeComponents;switch(r){case"<":return F8e(n,o);case"<=":return function(e,t){var n=R8e(e,t);return-1===n||0===n}(n,o);case">=":return T8e(n,o);case">":return function(e,t){return 1===R8e(e,t)}(n,o);case"~":case"~>":return function(e,t){var n=t.slice(),i=t.slice();i.length>1&&i.pop();var r=i.length-1,o=parseInt(i[r],10);A8e(o)&&(i[r]=o+1+"");return T8e(e,n)&&F8e(e,i)}(n,o);default:return function(e,t){return 0===R8e(e,t)}(n,o)}}function F8e(e,t){return-1===R8e(e,t)}function T8e(e,t){var n=R8e(e,t);return 1===n||0===n}function D8e(e){var t=e.split(w8e),n=t[0].match(S8e);return n||("production"!==ga.env.NODE_ENV?_8e(!1,"expected regex to match but it did not"):_8e(!1)),{modifier:n[1],rangeComponents:[n[2]].concat(t.slice(1))}}function A8e(e){return!isNaN(e)&&isFinite(e)}function I8e(e){return!D8e(e).modifier}function L8e(e,t){for(var n=e.length;n<t;n++)e[n]="0"}function $8e(e,t){var n=e.match(P8e)[1],i=t.match(P8e)[1],r=parseInt(n,10),o=parseInt(i,10);return A8e(r)&&A8e(o)&&r!==o?z8e(r,o):z8e(e,t)}function z8e(e,t){return typeof e!=typeof t&&("production"!==ga.env.NODE_ENV?_8e(!1,'"a" and "b" must be of the same type'):_8e(!1)),e>t?1:e<t?-1:0}function R8e(e,t){for(var n=function(e,t){L8e(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 L8e(t,e.length),[e,t]}(e,t),i=n[0],r=n[1],o=0;o<r.length;o++){var a=$8e(i[o],r[o]);if(a)return a}return 0}var j8e={contains:function(e,t){return E8e(e.trim(),t.trim())}},M8e=j8e,Q8e=Object.prototype.hasOwnProperty;var N8e=function(e,t,n){if(!e)return null;var i={};for(var r in e)Q8e.call(e,r)&&(i[r]=t.call(n,e[r],r,e));return i};var U8e=function(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}},B8e=O8e,q8e=M8e;function G8e(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,q8e.contains(r,t))}function W8e(e){return"Windows"===B8e.platformName?e.replace(/^\s*NT/,""):e}var X8e=N8e({isBrowser:function(e){return G8e(B8e.browserName,B8e.browserFullVersion,e)},isBrowserArchitecture:function(e){return G8e(B8e.browserArchitecture,null,e)},isDevice:function(e){return G8e(B8e.deviceName,null,e)},isEngine:function(e){return G8e(B8e.engineName,B8e.engineVersion,e)},isPlatform:function(e){return G8e(B8e.platformName,B8e.platformFullVersion,e,W8e)},isPlatformArchitecture:function(e){return G8e(B8e.platformArchitecture,null,e)}},U8e);var V8e=function(e){return e&&e.ownerDocument?e.ownerDocument:document};var Y8e=function(e){return!(!e||!e.ownerDocument)&&e.nodeType===Node.ELEMENT_NODE},Z8e=Y8e;var H8e=function e(t){if(Z8e(t)){var n=t,i=n.getAttribute("data-offset-key");if(i)return i;for(var r=0;r<n.childNodes.length;r++){var o=e(n.childNodes[r]);if(o)return o}}return null},K8e=V8e,J8e=H8e;var e7e=function(e){for(var t=e;t&&t!==K8e(e).documentElement;){var n=J8e(t);if(null!=n)return n;t=t.parentNode}return null};var t7e=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window};function n7e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i7e=X8e,r7e=e7e,o7e=t7e,a7e=g4e,s7e=u9e,l7e=m3e.exports.Map,u7e={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},c7e=i7e.isBrowser("IE <= 11"),d7e=function(){function e(e){var t=this;n7e(this,"observer",void 0),n7e(this,"container",void 0),n7e(this,"mutations",void 0),n7e(this,"onCharData",void 0),this.container=e,this.mutations=l7e();var n=o7e(e);n.MutationObserver&&!c7e?this.observer=new n.MutationObserver((function(e){return t.registerMutations(e)})):this.onCharData=function(e){e.target instanceof Node||("production"!==ga.env.NODE_ENV?a7e(!1,"Expected target to be an instance of Node"):a7e(!1)),t.registerMutation({type:"characterData",target:e.target})}}var t=e.prototype;return t.start=function(){this.observer?this.observer.observe(this.container,u7e):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=l7e(),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 c7e?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=s7e(r7e(e.target));this.mutations=this.mutations.set(n,t)}},e}(),p7e="-",h7e={encode:function(e,t,n){return e+p7e+t+p7e+n},decode:function(e){var t=e.split(p7e).reverse(),n=t[0],i=t[1];return{blockKey:t.slice(2).reverse().join(p7e),decoratorKey:parseInt(i,10),leafKey:parseInt(n,10)}}},f7e={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},m7e={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}};var g7e=function(e){return!(!e||!e.ownerDocument)&&(e.ownerDocument.defaultView?e instanceof e.ownerDocument.defaultView.HTMLElement:e instanceof HTMLElement)},v7e=g4e,y7e=g7e;var b7e=function(e){var t=e.editorContainer;return t||("production"!==ga.env.NODE_ENV?v7e(!1,"Missing editorNode"):v7e(!1)),y7e(t.firstChild)||("production"!==ga.env.NODE_ENV?v7e(!1,"editorNode.firstChild is not an HTMLElement"):v7e(!1)),t.firstChild},O7e=h7e,_7e=u9e;var w7e=function(e,t,n,i,r){var o=_7e(e.getSelection());if(!t||!i)return"production"!==ga.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var a=O7e.decode(t),s=a.blockKey,l=e.getBlockTree(s),u=l&&l.getIn([a.decoratorKey,"leaves",a.leafKey]),c=O7e.decode(i),d=c.blockKey,p=e.getBlockTree(d),h=p&&p.getIn([c.decoratorKey,"leaves",c.leafKey]);if(!u||!h)return"production"!==ga.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var f=u.get("start"),m=h.get("start"),g=u?f+n:null,v=h?m+r:null,y=o.getAnchorKey()===s&&o.getAnchorOffset()===g&&o.getFocusKey()===d&&o.getFocusOffset()===v;if(y)return o;var b=!1;if(s===d){var O=u.get("end"),_=h.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 o.merge({anchorKey:s,anchorOffset:g,focusKey:d,focusOffset:v,isBackward:b})},x7e=e7e,k7e=H8e,S7e=w7e,P7e=g4e,E7e=Y8e,C7e=u9e;function F7e(e,t,n){var i=t,r=x7e(i);(null!=r||e&&(e===i||e.firstChild===i)||("production"!==ga.env.NODE_ENV?P7e(!1,"Unknown node in selection range."):P7e(!1)),e===i)&&(i=i.firstChild,E7e(i)||("production"!==ga.env.NODE_ENV?P7e(!1,"Invalid DraftEditorContents node."):P7e(!1)),"true"!==(i=i).getAttribute("data-contents")&&("production"!==ga.env.NODE_ENV?P7e(!1,"Invalid DraftEditorContents structure."):P7e(!1)),n>0&&(n=i.childNodes.length));if(0===n){var o=null;if(null!=r)o=r;else{var a=function(e){for(;e.firstChild&&(E7e(e.firstChild)&&"true"===e.firstChild.getAttribute("data-blocks")||k7e(e.firstChild));)e=e.firstChild;return e}(i);o=C7e(k7e(a))}return{key:o,offset:0}}var s=i.childNodes[n-1],l=null,u=null;if(k7e(s)){var c=function(e){for(;e.lastChild&&(E7e(e.lastChild)&&"true"===e.lastChild.getAttribute("data-blocks")||k7e(e.lastChild));)e=e.lastChild;return e}(s);l=C7e(k7e(c)),u=T7e(c)}else l=C7e(r),u=T7e(s);return{key:l,offset:u}}function T7e(e){var t=e.textContent;return"\n"===t?0:t.length}var D7e=function(e,t,n,i,r,o){var a=n.nodeType===Node.TEXT_NODE,s=r.nodeType===Node.TEXT_NODE;if(a&&s)return{selectionState:S7e(e,C7e(x7e(n)),i,C7e(x7e(r)),o),needsRecovery:!1};var l=null,u=null,c=!0;return a?(l={key:C7e(x7e(n)),offset:i},u=F7e(t,r,o)):s?(u={key:C7e(x7e(r)),offset:o},l=F7e(t,n,i)):(l=F7e(t,n,i),u=F7e(t,r,o),n===r&&i===o&&(c=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:S7e(e,l.key,l.offset,u.key,u.offset),needsRecovery:c}},A7e=D7e;var I7e=function(e,t){var n=t.ownerDocument.defaultView.getSelection(),i=n.anchorNode,r=n.anchorOffset,o=n.focusNode,a=n.focusOffset;return 0===n.rangeCount||null==i||null==o?{selectionState:e.getSelection().set("hasFocus",!1),needsRecovery:!1}:A7e(e,t,i,r,o,a)},L7e=m7e,$7e=I9e,z7e=b7e,R7e=I7e;var j7e=function(e){if(e._blockSelectEvents||e._latestEditorState!==e.props.editorState){if(e._blockSelectEvents){var t=e.props.editorState.getSelection();L7e.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(t.toJS())})}}else{var n=e.props.editorState,i=R7e(n,z7e(e)),r=i.selectionState;r!==n.getSelection()&&(n=i.needsRecovery?$7e.forceSelection(n,r):$7e.acceptSelection(n,r),e.update(n))}};var M7e={notEmptyKey:function(e){return null!=e&&""!=e}},Q7e=M7e.notEmptyKey;function N7e(e,t){return Q7e(t)&&"MUTABLE"===e.__get(t).getMutability()?t:null}var U7e=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:N7e(e.getEntityMap(),n):null}var o=t.getStartKey(),a=t.getStartOffset(),s=e.getBlockForKey(o);return n=a===s.getLength()?null:s.getEntityAt(a),N7e(e.getEntityMap(),n)},B7e=d7e,q7e=R6e,G7e=h7e,W7e=I9e,X7e=f7e,V7e=b7e,Y7e=I7e,Z7e=U7e,H7e=u9e,K7e=!1,J7e=!1,eet=null;var tet={onCompositionStart:function(e){J7e=!0,function(e){eet||(eet=new B7e(V7e(e))).start()}(e)},onCompositionEnd:function(e){K7e=!1,J7e=!1,setTimeout((function(){K7e||tet.resolveComposition(e)}),20)},onSelect:j7e,onKeyDown:function(e,t){if(!J7e)return tet.resolveComposition(e),void e._onKeyDown(t);t.which!==X7e.RIGHT&&t.which!==X7e.LEFT||t.preventDefault()},onKeyPress:function(e,t){t.which===X7e.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!J7e){var t=H7e(eet).stopAndFlushMutations();eet=null,K7e=!0;var n=W7e.set(e._latestEditorState,{inCompositionMode:!1});if(e.exitCurrentMode(),t.size){var i=n.getCurrentContent();t.forEach((function(e,t){var r=G7e.decode(t),o=r.blockKey,a=r.decoratorKey,s=r.leafKey,l=n.getBlockTree(o).getIn([a,"leaves",s]),u=l.start,c=l.end,d=n.getSelection().merge({anchorKey:o,focusKey:o,anchorOffset:u,focusOffset:c,isBackward:!1}),p=Z7e(i,d),h=i.getBlockForKey(o).getInlineStyleAt(u);i=q7e.replaceText(i,d,e,h,p),n=W7e.set(n,{currentContent:i})}));var r=Y7e(n,V7e(e)).selectionState;e.restoreEditorDOM();var o=W7e.acceptSelection(n,r);e.update(W7e.push(o,i,"insert-characters"))}else e.update(n)}}},net=tet,iet=hW;function ret(){return ret=iet||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},ret.apply(this,arguments)}var oet=h7e,aet=g.default,set=n9e,uet=q5e,cet=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,o=e.decoratorKey,a=e.direction,s=e.leafSet,l=e.text,u=t.getKey(),c=s.get("leaves"),d=r.getComponentForKey(o),p=r.getPropsForKey(o),h=oet.encode(u,parseInt(o,10),0),f=l.slice(c.first().get("start"),c.last().get("end")),m=uet.getHTMLDirIfDifferent(set.getDirection(f),a);return aet.createElement(d,ret({},p,{contentState:i,decoratedText:f,dir:m,key:h,entityKey:t.getEntityAt(s.get("start")),offsetKey:h}),n)},i}(aet.Component),det=cet;function pet(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function het(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var fet=g.default,met=g4e,get=Y8e,vet=X8e.isBrowser("IE <= 11");var yet=function(e){var t,n;function i(t){var n;return het(pet(n=e.call(this,t)||this),"_forceFlag",void 0),het(pet(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;get(t)||("production"!==ga.env.NODE_ENV?met(!1,"node is not an Element"):met(!1));var i=t;return n?!function(e){return vet?"\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},vet?fet.createElement("span",{key:"A","data-text":"true",ref:e},"\n"):fet.createElement("br",{key:"A","data-text":"true",ref:e})):function(e){return vet?fet.createElement("span",{key:"B","data-text":"true",ref:e},"\n"):fet.createElement("br",{key:"B","data-text":"true",ref:e})}((function(e){return t._node=e})):fet.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(e){return t._node=e}},this.props.children)},i}(fet.Component),bet=yet,Oet=Y8e;var _et=function(e){return!(!e||!e.ownerDocument)&&(Oet(e)&&"BR"===e.nodeName)};var wet=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 xet=function(e){return wet(e)&&3==e.nodeType};var ket=function e(t,n){return!(!t||!n)&&(t===n||!xet(t)&&(xet(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))};var Pet=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}},Eet=m7e,Cet=ket,Fet=Pet,Tet=V8e,Det=g4e,Aet=Y8e,Iet=X8e.isBrowser("IE");function Let(e,t){if(!e)return"[empty]";var n=$et(e,t);return n.nodeType===Node.TEXT_NODE?n.textContent:(Aet(n)||("production"!==ga.env.NODE_ENV?Det(!1,"Node must be an Element if it is not a text node."):Det(!1)),n.outerHTML)}function $et(e,t){var n=void 0!==t?t(e):[];if(e.nodeType===Node.TEXT_NODE){var i=e.textContent.length;return Tet(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 o=e.childNodes,a=0;a<o.length;a++)r.appendChild($et(o[a],t));return r}function zet(e,t){for(var n=e,i=n;n;){if(Aet(n)&&i.hasAttribute("contenteditable"))return Let(n,t);i=n=n.parentNode}return"Could not find contentEditable parent of node"}function Ret(e){return null===e.nodeValue?e.childNodes.length:e.nodeValue.length}function jet(e,t,n,i){var r=Fet();if(e.extend&&null!=t&&Cet(r,t)){n>Ret(t)&&Eet.logSelectionStateFailure({anonymizedDom:zet(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(i.toJS())});var o=t===e.focusNode;try{e.rangeCount>0&&e.extend&&e.extend(t,n)}catch(a){throw Eet.logSelectionStateFailure({anonymizedDom:zet(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:o,selectionRangeCount:e.rangeCount,selectionAnchorNodeName:e.anchorNode?e.anchorNode.nodeName:null,selectionAnchorOffset:e.anchorOffset,selectionFocusNodeName:e.focusNode?e.focusNode.nodeName:null,selectionFocusOffset:e.focusOffset,message:a?""+a:null,offset:n},null,2),selectionState:JSON.stringify(i.toJS(),null,2)}),a}}else if(t&&e.rangeCount>0){var a=e.getRangeAt(0);a.setEnd(t,n),e.addRange(a.cloneRange())}}function Met(e,t,n,i){var r=Tet(t).createRange();if(n>Ret(t)&&Eet.logSelectionStateFailure({anonymizedDom:zet(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(i.toJS())}),r.setStart(t,n),Iet)try{e.addRange(r)}catch(e){"production"!==ga.env.NODE_ENV&&console.warn("Call to selection.addRange() threw exception: ",e)}else e.addRange(r)}var Qet=function(e,t,n,i,r){var o=Tet(t);if(Cet(o.documentElement,t)){var a=o.defaultView.getSelection(),s=e.getAnchorKey(),l=e.getAnchorOffset(),u=e.getFocusKey(),c=e.getFocusOffset(),d=e.getIsBackward();if(!a.extend&&d){var p=s,h=l;s=u,l=c,u=p,c=h,d=!1}var f=s===n&&i<=l&&r>=l,m=u===n&&i<=c&&r>=c;if(f&&m)return a.removeAllRanges(),Met(a,t,l-i,e),void jet(a,t,c-i,e);if(d){if(m&&(a.removeAllRanges(),Met(a,t,c-i,e)),f){var g=a.focusNode,v=a.focusOffset;a.removeAllRanges(),Met(a,t,l-i,e),jet(a,g,v,e)}}else f&&(a.removeAllRanges(),Met(a,t,l-i,e)),m&&jet(a,t,c-i,e)}},Net=hW;function Uet(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bet(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var qet=bet,Get=g.default,Wet=g4e,Xet=_et,Vet=Qet,Yet=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 Bet(Uet(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,o=n.getKey(),a=i+r.length;if(e.hasEdgeWithin(o,i,a)){var s=this.leaf;s||("production"!==ga.env.NODE_ENV?Wet(!1,"Missing node"):Wet(!1));var l,u=s.firstChild;u||("production"!==ga.env.NODE_ENV?Wet(!1,"Missing child"):Wet(!1)),u.nodeType===Node.TEXT_NODE?l=u:Xet(u)?l=s:(l=u.firstChild)||("production"!==ga.env.NODE_ENV?Wet(!1,"Missing targetNode"):Wet(!1)),Vet(e,l,o,i,a)}}},r.shouldComponentUpdate=function(e){var t=this.leaf;return t||("production"!==ga.env.NODE_ENV?Wet(!1,"Missing leafNode"):Wet(!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,o=i.customStyleFn,a=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()),Net(e,i,n)}),{});if(o){var u=o(s,t);l=Net(l,u)}return Get.createElement("span",{"data-offset-key":a,ref:function(t){return e.leaf=t},style:l},Get.createElement(qet,null,n))},i}(Get.Component),Zet=Yet;var Het=det,Ket=Zet,Jet=h7e,ett=m3e.exports,ttt=g.default,ntt=u8e;ett.List;var itt=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,o=e.decorator,a=e.direction,s=e.forceSelection,l=e.hasSelection,u=e.selection,c=e.tree,d=t.getKey(),p=t.getText(),h=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 o=Jet.encode(d,c,n),a=e.get("start"),m=e.get("end");return ttt.createElement(Ket,{key:o,offsetKey:o,block:t,start:a,selection:l?u:null,forceSelection:s,text:p.slice(a,m),styleSet:t.getInlineStyleAt(a),customStyleMap:r,customStyleFn:i,isLast:f===h&&n===g})})).toArray();return f&&o?ttt.createElement(Het,{block:t,children:v,contentState:n,decorator:o,decoratorKey:f,direction:a,leafSet:e,text:p,key:c}):v})).toArray();return ttt.createElement("div",{"data-offset-key":Jet.encode(d,0,0),className:ntt({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===a,"public/DraftStyleDefault/rtl":"RTL"===a})},f)},i}(ttt.Component),rtt=itt;function ott(e,t){return!!t&&(e===t.documentElement||e===t.body)}var att={getTop:function(e){var t=e.ownerDocument;return ott(e,t)?t.body.scrollTop||t.documentElement.scrollTop:e.scrollTop},setTop:function(e,t){var n=e.ownerDocument;ott(e,n)?n.body.scrollTop=n.documentElement.scrollTop=t:e.scrollTop=t},getLeft:function(e){var t=e.ownerDocument;return ott(e,t)?t.body.scrollLeft||t.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,t){var n=e.ownerDocument;ott(e,n)?n.body.scrollLeft=n.documentElement.scrollLeft=t:e.scrollLeft=t}},stt=att,ltt=/-(.)/g;var utt=function(e){return e.replace(ltt,(function(e,t){return t.toUpperCase()}))},ctt=/([A-Z])/g;var dtt=function(e){return e.replace(ctt,"-$1").toLowerCase()},ptt=utt,htt=dtt;function ftt(e){return null==e?e:String(e)}var mtt=function(e,t){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(e,null)))return ftt(n.getPropertyValue(htt(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(e,null))return ftt(n.getPropertyValue(htt(t)));if("display"===t)return"none"}return e.currentStyle?ftt("float"===t?e.currentStyle.cssFloat||e.currentStyle.styleFloat:e.currentStyle[ptt(t)]):ftt(e.style&&e.style[ptt(t)])};function gtt(e,t){var n=vtt.get(e,t);return"auto"===n||"scroll"===n}var vtt={get:mtt,getScrollParent:function(e){if(!e)return null;for(var t=e.ownerDocument;e&&e!==t.body;){if(gtt(e,"overflow")||gtt(e,"overflowY")||gtt(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}},ytt=vtt,btt=ket;var Ott=function(e){var t=e.ownerDocument.documentElement;if(!("getBoundingClientRect"in e)||!btt(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 _tt=function(e){var t=Ott(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}},wtt="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;var xtt=function(e){return(e=e||document).scrollingElement?e.scrollingElement:wtt||"CSS1Compat"!==e.compatMode?e.body:e.documentElement};var ktt=xtt,Stt=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 Ptt=function(e){var t=ktt(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var n=Stt(e),i=e===t?e.ownerDocument.documentElement:e,r=e.scrollWidth-i.clientWidth,o=e.scrollHeight-i.clientHeight;return n.x=Math.max(0,Math.min(n.x,r)),n.y=Math.max(0,Math.min(n.y,o)),n};function Ett(){var e;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function Ctt(){var e;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function Ftt(){return{width:window.innerWidth||Ett(),height:window.innerHeight||Ctt()}}Ftt.withoutScrollbars=function(){return{width:Ett(),height:Ctt()}};var Ttt=Ftt,Dtt=hW;function Att(){return Att=Dtt||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},Att.apply(this,arguments)}function Itt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ltt(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){$tt(e,t,n[t])}))}return e}function $tt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ztt=rtt,Rtt=h7e,jtt=g.default,Mtt=stt,Qtt=ytt,Ntt=_tt,Utt=Ptt,Btt=Ttt,qtt=g4e,Gtt=g7e;m3e.exports.List;var Wtt=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},Xtt=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}},Vtt=function(e,t){var n=t(e);return n?{CustomComponent:n.component,customProps:n.props,customEditable:n.editable}:{}},Ytt=function(e,t,n,i,r,o){var a={"data-block":!0,"data-editor":t,"data-offset-key":n,key:e.getKey(),ref:o},s=i(e);return s&&(a.className=s),void 0!==r.customEditable&&(a=Ltt({},a,{contentEditable:r.customEditable,suppressContentEditableWarning:!0})),a},Ztt=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 $tt(Itt(t=e.call.apply(e,[this].concat(i))||this),"wrapperRef",jtt.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,o=!n.getChildKeys().isEmpty(),a=n!==e.block||r!==e.tree||i!==e.direction||Wtt(e.selection,e.block.getKey())&&e.forceSelection;return o||a},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=Qtt.getScrollParent(n),o=Utt(r);if(r===window){var a=Ntt(n);(i=a.y+a.height-Btt().height)>0&&window.scrollTo(o.x,o.y+i+10)}else{Gtt(n)||("production"!==ga.env.NODE_ENV?qtt(!1,"blockNode is not an HTMLElement"):qtt(!1));var s=n;(i=s.offsetHeight+s.offsetTop-(r.offsetHeight+o.y))>0&&Mtt.setTop(r,Mtt.getTop(r)+i+10)}}}},r.render=function(){var e=this,t=this.props,n=t.block,r=t.blockRenderMap,o=t.blockRendererFn,a=t.blockStyleFn,s=t.contentState,l=t.decorator,u=t.editorKey,c=t.editorState,d=t.customStyleFn,p=t.customStyleMap,h=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=Rtt.encode(n,0,0),d=s.getBlockForKey(n),p=Vtt(d,o),h=p.CustomComponent||i,f=Xtt(d,r),m=f.Element,g=f.wrapperTemplate,v=Ytt(d,u,l,a,p,null),y=Ltt({},e.props,{tree:c.getBlockTree(n),blockProps:p.customProps,offsetKey:l,block:d});return t.push(jtt.createElement(m,v,jtt.createElement(h,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,o=!1,a=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){o=!0,a=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw a}}n.splice(n.indexOf(i[0]),i.length+1);var c=i.reverse(),d=c[0].key;n.push(jtt.cloneElement(e,{key:"".concat(d,"-wrap"),"data-offset-key":Rtt.encode(d,0,0)},c))}(g,m,t),t}),[]));var y=n.getKey(),b=Rtt.encode(y,0,0),O=Vtt(n,o),_=O.CustomComponent,w=null!=_?jtt.createElement(_,Att({},this.props,{tree:c.getBlockTree(y),blockProps:O.customProps,offsetKey:b,block:n})):jtt.createElement(ztt,{block:n,children:v,contentState:s,customStyleFn:d,customStyleMap:p,decorator:l,direction:h,forceSelection:f,hasSelection:Wtt(m,y),selection:m,tree:g});if(n.getParentKey())return w;var x=Xtt(n,r).Element,k=Ytt(n,u,b,a,O,this.wrapperRef);return jtt.createElement(x,k,w)},i}(jtt.Component),Htt=hW;function Ktt(){return Ktt=Htt||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},Ktt.apply(this,arguments)}var Jtt=Ztt,ent=h7e,tnt=g.default,nnt=u9e,int=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(),o=n.isInCompositionMode();if(t===n||null!==i&&n.getCurrentContent()===i||r&&o)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),l=t.getDecorator(),u=n.getDecorator();return r!==o||a!==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,o=e.customStyleFn,a=e.editorState,s=e.editorKey,l=e.textDirectionality,u=a.getCurrentContent(),c=a.getSelection(),d=a.mustForceSelection(),p=a.getDecorator(),h=nnt(a.getDirectionMap()),f=[],m=u.getBlocksAsArray()[0];m;){var g=m.getKey(),v={blockRenderMap:t,blockRendererFn:n,blockStyleFn:i,contentState:u,customStyleFn:o,customStyleMap:r,decorator:p,editorKey:s,editorState:a,forceSelection:d,selection:c,block:m,direction:l||h.get(g),tree:a.getBlockTree(g)},y=(t.get(m.getType())||t.get("unstyled")).wrapper;f.push({block:tnt.createElement(Jtt,Ktt({key:g},v)),wrapperTemplate:y,key:g,offsetKey:ent.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 x=[];do{x.push(f[_].block),_++}while(_<f.length&&f[_].wrapperTemplate===w.wrapperTemplate);var k=tnt.cloneElement(w.wrapperTemplate,{key:w.key+"-wrap","data-offset-key":w.offsetKey},x);O.push(k)}else O.push(w.block),_++}return tnt.createElement("div",{"data-contents":"true"},O)},i}(tnt.Component),rnt=int,ont=hW;function ant(){return ant=ont||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},ant.apply(this,arguments)}function snt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lnt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var unt=Zet,cnt=h7e,dnt=g.default,pnt=stt,hnt=ytt,fnt=n9e,mnt=q5e,gnt=u8e,vnt=_tt,ynt=Ptt,bnt=Ttt,Ont=g4e,_nt=g7e,wnt=u9e,xnt=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},knt=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 lnt(snt(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||xnt(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=hnt.getScrollParent(n),o=ynt(r);if(r===window){var a=vnt(n);(i=a.y+a.height-bnt().height)>0&&window.scrollTo(o.x,o.y+i+10)}else{_nt(n)||("production"!==ga.env.NODE_ENV?Ont(!1,"blockNode is not an HTMLElement"):Ont(!1)),(i=n.offsetHeight+n.offsetTop-(r.offsetTop+r.offsetHeight+o.y))>0&&pnt.setTop(r,pnt.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,o=xnt(this.props.selection,n);return this.props.tree.map((function(a,s){var l=a.get("leaves");if(0===l.size)return null;var u=l.size-1,c=l.map((function(a,l){var c=cnt.encode(n,s,l),d=a.get("start"),p=a.get("end");return dnt.createElement(unt,{key:c,offsetKey:c,block:t,start:d,selection:o?e.props.selection:null,forceSelection:e.props.forceSelection,text:i.slice(d,p),styleSet:t.getInlineStyleAt(d),customStyleMap:e.props.customStyleMap,customStyleFn:e.props.customStyleFn,isLast:s===r&&l===u})})).toArray(),d=a.get("decoratorKey");if(null==d)return c;if(!e.props.decorator)return c;var p=wnt(e.props.decorator),h=p.getComponentForKey(d);if(!h)return c;var f=p.getPropsForKey(d),m=cnt.encode(n,s,0),g=l.first().get("start"),v=l.last().get("end"),y=i.slice(g,v),b=t.getEntityAt(a.get("start")),O=mnt.getHTMLDirIfDifferent(fnt.getDirection(y),e.props.direction),_={contentState:e.props.contentState,decoratedText:y,dir:O,start:g,end:v,blockKey:n,entityKey:b,offsetKey:m};return dnt.createElement(h,ant({},f,_,{key:m}),c)})).toArray()},r.render=function(){var e=this,t=this.props,n=t.direction,i=t.offsetKey,r=gnt({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return dnt.createElement("div",{"data-offset-key":i,className:r,ref:function(t){return e._node=t}},this._renderChildren())},i}(dnt.Component),Snt=knt;var Pnt=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},Ent=hW;function Cnt(){return Cnt=Ent||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},Cnt.apply(this,arguments)}function Fnt(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){Tnt(e,t,n[t])}))}return e}function Tnt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Dnt=Snt,Ant=h7e,Int=g.default,Lnt=u8e,$nt=Pnt,znt=u9e,Rnt=function(e,t,n,i){return Lnt({"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})},jnt=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(),o=n.isInCompositionMode();if(t===n||null!==i&&n.getCurrentContent()===i||r&&o)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),l=t.getDecorator(),u=n.getDecorator();return r!==o||a!==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,o=e.customStyleFn,a=e.editorState,s=e.editorKey,l=e.preventScroll,u=e.textDirectionality,c=a.getCurrentContent(),d=a.getSelection(),p=a.mustForceSelection(),h=a.getDecorator(),f=znt(a.getDirectionMap()),m=c.getBlocksAsArray(),g=[],v=null,y=null,b=0;b<m.length;b++){var O=m[b],_=O.getKey(),w=O.getType(),x=n(O),k=void 0,S=void 0,P=void 0;x&&(k=x.component,S=x.props,P=x.editable);var E=u||f.get(_),C=Ant.encode(_,0,0),F={contentState:c,block:O,blockProps:S,blockStyleFn:i,customStyleMap:r,customStyleFn:o,decorator:h,direction:E,forceSelection:p,offsetKey:C,preventScroll:l,selection:d,tree:a.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=$nt(L,Rnt(w,I,y!==D||null===v||I>v,E));var $=k||Dnt,z={className:L,"data-block":!0,"data-editor":s,"data-offset-key":C,key:_};void 0!==P&&(z=Fnt({},z,{contentEditable:P,suppressContentEditableWarning:!0}));var R=Int.createElement(A,z,Int.createElement($,Cnt({},F,{key:_})));g.push({block:R,wrapperTemplate:D,key:_,offsetKey:C}),v=D?O.getDepth():null,y=D}for(var j=[],M=0;M<g.length;){var Q=g[M];if(Q.wrapperTemplate){var N=[];do{N.push(g[M].block),M++}while(M<g.length&&g[M].wrapperTemplate===Q.wrapperTemplate);var U=Int.cloneElement(Q.wrapperTemplate,{key:Q.key+"-wrap","data-offset-key":Q.offsetKey},N);j.push(U)}else j.push(Q.block),M++}return Int.createElement("div",{"data-contents":"true"},j)},i}(Int.Component),Mnt=jnt,Qnt=h5e("draft_tree_data_support")?rnt:Mnt,Nnt={isImage:function(e){return"image"===Unt(e)[0]},isJpeg:function(e){var t=Unt(e);return Nnt.isImage(e)&&("jpeg"===t[1]||"pjpeg"===t[1])}};function Unt(e){return e.split("/")}var Bnt=Nnt,qnt=g4e;var Gnt=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"!==ga.env.NODE_ENV?qnt(!1,"toArray: Array-like object expected"):qnt(!1)),"number"!=typeof t&&("production"!==ga.env.NODE_ENV?qnt(!1,"toArray: Object needs a length property"):qnt(!1)),0===t||t-1 in e||("production"!==ga.env.NODE_ENV?qnt(!1,"toArray: Object should have keys for indices"):qnt(!1)),"function"==typeof e.callee&&("production"!==ga.env.NODE_ENV?qnt(!1,"toArray: Object can't be `arguments`. Use rest params (function(...args) {}) or Array.from() instead."):qnt(!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 Wnt(e){return function(){return e}}var Xnt=function(){};Xnt.thatReturns=Wnt,Xnt.thatReturnsFalse=Wnt(!1),Xnt.thatReturnsTrue=Wnt(!0),Xnt.thatReturnsNull=Wnt(null),Xnt.thatReturnsThis=function(){return this},Xnt.thatReturnsArgument=function(e){return e};var Vnt=Xnt,Ynt=Bnt,Znt=Gnt,Hnt=Vnt,Knt=new RegExp("\r\n","g"),Jnt={"text/rtf":1,"text/html":1};function eit(e){if("file"==e.kind)return e.getAsFile()}var tit=function(){function e(e){this.data=e,this.types=e.types?Znt(e.types):[]}var t=e.prototype;return t.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(e){return Jnt[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(Knt,"\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(!Ynt.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(eit).filter(Hnt.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},t.hasFiles=function(){return this.getFiles().length>0},e}(),nit=tit,iit=g4e,rit=/\.textClipping$/,oit={"text/plain":!0,"text/html":!0,"text/rtf":!0};var ait=function(e,t){var n=0,i=[];e.forEach((function(r){!function(e,t){if(!k.FileReader||e.type&&!(e.type in oit))return void t("");if(""===e.type){var n="";return rit.test(e.name)&&(n=e.name.replace(rit,"")),void t(n)}var i=new FileReader;i.onload=function(){var e=i.result;"string"!=typeof e&&("production"!==ga.env.NODE_ENV?iit(!1,'We should be calling "FileReader.readAsText" which returns a string'):iit(!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 sit=function(e){return"handled"===e||!0===e},lit=nit,uit=R6e,cit=I9e,dit=e7e,pit=V8e,hit=ait,fit=w7e,mit=t7e,git=sit,vit=u9e;var yit={onDragEnd:function(e){e.exitCurrentMode(),bit(e)},onDrop:function(e,t){var n=new lit(t.nativeEvent.dataTransfer),i=e._latestEditorState,r=function(e,t){var n=null,i=null,r=pit(e.currentTarget);if("function"==typeof r.caretRangeFromPoint){var o=r.caretRangeFromPoint(e.x,e.y);n=o.startContainer,i=o.startOffset}else{if(!e.rangeParent)return null;n=e.rangeParent,i=e.rangeOffset}n=vit(n),i=vit(i);var a=vit(dit(n));return fit(t,a,i,a,i)}(t.nativeEvent,i);if(t.preventDefault(),e._dragCount=0,e.exitCurrentMode(),null!=r){var o=n.getFiles();if(o.length>0){if(e.props.handleDroppedFiles&&git(e.props.handleDroppedFiles(r,o)))return;hit(o,(function(t){t&&e.update(Oit(i,r,t))}))}else{var a=e._internalDrag?"internal":"external";e.props.handleDrop&&git(e.props.handleDrop(r,n,a))||(e._internalDrag?e.update(function(e,t){var n=uit.moveText(e.getCurrentContent(),e.getSelection(),t);return cit.push(e,n,"insert-fragment")}(i,r)):e.update(Oit(i,r,n.getText()))),bit(e)}}}};function bit(e){e._internalDrag=!1;var t=e.editorContainer;if(t){var n=new MouseEvent("mouseup",{view:mit(t),bubbles:!0,cancelable:!0});t.dispatchEvent(n)}}function Oit(e,t,n){var i=uit.insertText(e.getCurrentContent(),t,n,e.getCurrentInlineStyle());return cit.push(e,i,"insert-fragment")}var _it=yit;var wit=function(e){var t=e.getSelection(),n=t.getAnchorKey(),i=e.getBlockTree(n),r=t.getStartOffset(),o=!1;return i.some((function(e){return r===e.get("start")?(o=!0,!0):r<e.get("end")&&e.get("leaves").some((function(e){var t=e.get("start");return r===t&&(o=!0,!0)}))})),o};!function(e,t){if(!e.setImmediate){var n,i,r,o=1,a={},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){ga.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 a[o]=r,n(o),o++},u.clearImmediate=c}function c(e){delete a[e]}function d(e){if(s)setTimeout(d,0,e);else{var t=a[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?k:self);var xit=k.setImmediate,kit=R6e,Sit=I9e,Pit=U7e,Eit=sit,Cit=wit,Fit=u9e,Tit=xit,Dit=X8e.isBrowser("Firefox");function Ait(e,t,n,i,r){var o=kit.replaceText(e.getCurrentContent(),e.getSelection(),t,n,i);return Sit.push(e,o,"insert-characters",r)}var Iit=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&&Eit(e.props.handleBeforeInput(i,n,t.timeStamp)))t.preventDefault();else{var r=n.getSelection(),o=r.getStartOffset(),a=r.getAnchorKey();if(!r.isCollapsed())return t.preventDefault(),void e.update(Ait(n,i,n.getCurrentInlineStyle(),Pit(n.getCurrentContent(),n.getSelection()),!0));var s,l=Ait(n,i,n.getCurrentInlineStyle(),Pit(n.getCurrentContent(),n.getSelection()),!1),u=!1;if(u||(u=Cit(e._latestCommittedEditorState)),!u){var c=n.getBlockTree(a),d=l.getBlockTree(a);u=c.size!==d.size||c.zip(d).some((function(e){var t=e[0],n=e[1],r=t.get("start"),a=r+(r>=o?i.length:0),s=t.get("end"),l=s+(s>=o?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||a!==u||l!==c||null!=d&&c-u!=s-r}))}if(u||(s=i,u=Dit&&("'"==s||"/"==s)),u||(u=Fit(l.getDirectionMap()).get(a)!==Fit(n.getDirectionMap()).get(a)),u)return t.preventDefault(),l=Sit.set(l,{forceSelection:!0}),void e.update(l);l=Sit.set(l,{nativelyRenderedContent:l.getCurrentContent()}),e._pendingStateFromBeforeInput=l,Tit((function(){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)}))}},Lit=I9e,$it=ket,zit=Pet;var Rit=function(e,t){var n=t.currentTarget.ownerDocument;if(!Boolean(e.props.preserveSelectionOnBlur)&&zit(n)===n.body){var i=n.defaultView.getSelection(),r=e.editor;1===i.rangeCount&&$it(r,i.anchorNode)&&$it(r,i.focusNode)&&i.removeAllRanges()}var o=e._latestEditorState,a=o.getSelection();if(a.getHasFocus()){var s=a.set("hasFocus",!1);e.props.onBlur&&e.props.onBlur(t),e.update(Lit.acceptSelection(o,s))}},jit=I9e;var Mit=function(e,t){e.setMode("composite"),e.update(jit.set(e._latestEditorState,{inCompositionMode:!0})),e._onCompositionStart(t)},Qit=j4e;var Nit=function(e){var t=e.getSelection();return t.isCollapsed()?null:Qit(e.getCurrentContent(),t)},Uit=Nit;var Bit=function(e,t){e._latestEditorState.getSelection().isCollapsed()?t.preventDefault():e.setClipboard(Uit(e._latestEditorState))};var qit=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},Git=R6e,Wit=I9e,Xit=ytt,Vit=Nit,Yit=Ptt,Zit=qit;var Hit=function(e,t){var n,i=e._latestEditorState,r=i.getSelection(),o=t.target;if(r.isCollapsed())t.preventDefault();else{if(Zit(o)){var a=o;n=Yit(Xit.getScrollParent(a))}var s=Vit(i);e.setClipboard(s),e.setMode("cut"),setTimeout((function(){e.restoreEditorDOM(n),e.exitCurrentMode(),e.update(function(e){var t=Git.removeRange(e.getCurrentContent(),e.getSelection(),"forward");return Wit.push(e,t,"remove-range")}(i))}),0)}};var Kit=function(e,t){e.setMode("drag"),t.preventDefault()};var Jit=function(e){e._internalDrag=!0,e.setMode("drag")},ert=I9e,trt=X8e;var nrt=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),trt.isBrowser("Chrome < 60.0.3081.0")?e.update(ert.forceSelection(n,r)):e.update(ert.acceptSelection(n,r))}},irt=g4e,rrt=/[\uD800-\uDFFF]/;function ort(e){return 55296<=e&&e<=57343}function art(e){return rrt.test(e)}function srt(e,t){return 1+ort(e.charCodeAt(t))}function lrt(e,t,n){if(t=t||0,n=void 0===n?1/0:n||0,!art(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+=srt(e,r);if(r>=i)return""}else if(t<0){for(r=i;t<0&&0<r;t++)r-=srt(e,r-1);r<0&&(r=0)}var o=i;if(n<i)for(o=r;n>0&&o<i;n--)o+=srt(e,o);return e.substring(r,o)}var urt={getCodePoints:function(e){for(var t=[],n=0;n<e.length;n+=srt(e,n))t.push(e.codePointAt(n));return t},getUTF16Length:srt,hasSurrogateUnit:art,isCodeUnitInSurrogateRange:ort,isSurrogatePair:function(e,t){if(0<=t&&t<e.length||("production"!==ga.env.NODE_ENV?irt(!1,"isSurrogatePair: Invalid index %s for string length %s.",t,e.length):irt(!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(!art(e))return e.length;for(var t=0,n=0;n<e.length;n+=srt(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 lrt(e,t=t<n?t:n,i)},substr:lrt},crt=urt,drt=Vnt;function prt(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,o="Warning: "+e.replace(/%s/g,(function(){return n[r++]}));"undefined"!=typeof console&&console.error(o);try{throw new Error(o)}catch(e){}}var hrt="production"!==ga.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];prt.apply(void 0,[t].concat(i))}}:drt,frt=hrt,mrt=frt;var grt=function(e,t){var n=e.getSelection();"production"!==ga.env.NODE_ENV&&mrt(n.isCollapsed(),"moveSelectionBackward should only be called with a collapsed SelectionState");var i=e.getCurrentContent(),r=n.getStartKey(),o=n.getStartOffset(),a=r,s=0;if(t>o){var l=i.getKeyBefore(r);if(null==l)a=r;else a=l,s=i.getBlockForKey(l).getText().length}else s=o-t;return n.merge({focusKey:a,focusOffset:s,isBackward:!0})},vrt=R6e,yrt=h5e("draft_tree_data_support");var brt=function(e,t,n){var i=e.getSelection(),r=e.getCurrentContent(),o=i,a=i.getAnchorKey(),s=i.getFocusKey(),l=r.getBlockForKey(a);if(yrt&&"forward"===n&&a!==s)return r;if(i.isCollapsed()){if("forward"===n){if(e.isSelectionAtEndOfContent())return r;if(yrt)if(i.getAnchorOffset()===r.getBlockForKey(a).getLength()){var u=r.getBlockForKey(l.nextSibling);if(!u||0===u.getLength())return r}}else if(e.isSelectionAtStartOfContent())return r;if((o=t(e))===i)return r}return vrt.removeRange(r,o,n)},Ort=I9e,_rt=crt,wrt=grt,xrt=brt;var krt=function(e){var t=xrt(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),i=t.getAnchorKey(),r=t.getAnchorOffset(),o=n.getBlockForKey(i).getText()[r-1];return wrt(e,o?_rt.getUTF16Length(o,0):1)}),"backward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return Ort.push(e,t.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")},Srt=R6e,Prt=h7e,Ert=I9e,Crt=M7e.notEmptyKey,Frt=e7e,Trt=krt,Drt=u9e,Art=X8e.isEngine("Gecko");var Irt=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,o=(null==i?void 0:i.nodeType)!==Node.TEXT_NODE&&(null==i?void 0:i.nodeType)!==Node.ELEMENT_NODE;if(null!=i&&!o){if(i.nodeType===Node.TEXT_NODE&&(null!==i.previousSibling||null!==i.nextSibling)){var a=i.parentNode;if(null==a)return;i.nodeValue=a.textContent;for(var s=a.firstChild;null!=s;s=s.nextSibling)s!==i&&a.removeChild(s)}var l=i.textContent,u=e._latestEditorState,c=Drt(Frt(i)),d=Prt.decode(c),p=d.blockKey,h=d.decoratorKey,f=d.leafKey,m=u.getBlockTree(p).getIn([h,"leaves",f]),g=m.start,v=m.end,y=u.getCurrentContent(),b=y.getBlockForKey(p),O=b.getText().slice(g,v);if(l.endsWith("\n\n")&&(l=l.slice(0,-1)),l!==O){var _,w,x,k,S=u.getSelection(),P=S.merge({anchorOffset:g,focusOffset:v,isBackward:!1}),E=b.getEntityAt(g),C=Crt(E)?y.getEntity(E):null,F="MUTABLE"===(null!=C?C.getMutability():null),T=F?"spellcheck-change":"apply-entity",D=Srt.replaceText(y,P,l,b.getInlineStyleAt(g),F?b.getEntityAt(g):null);if(Art)_=n.anchorOffset,w=n.focusOffset,k=(x=g+Math.min(_,w))+Math.abs(_-w),_=x,w=k;else{var A=l.length-O.length;x=S.getStartOffset(),k=S.getEndOffset(),_=r?k+A:x,w=k+A}var I=D.merge({selectionBefore:y.getSelectionAfter(),selectionAfter:S.merge({anchorOffset:_,focusOffset:w})});e.update(Ert.push(u,I,T))}else{var L=t.nativeEvent.inputType;if(L){var $=function(e,t){return"deleteContentBackward"===e?Trt(t):t}(L,u);if($!==u)return e.restoreEditorDOM(),void e.update($)}}}},Lrt=f7e;var $rt=function(e){return e.which===Lrt.RETURN&&(e.getModifierState("Shift")||e.getModifierState("Alt")||e.getModifierState("Control"))},zrt=$rt,Rrt=X8e.isPlatform("Mac OS X"),jrt={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return Rrt&&e.altKey},usesMacOSHeuristics:function(){return Rrt},hasCommandModifier:function(e){return Rrt?!!e.metaKey&&!e.altKey:jrt.isCtrlKeyCommand(e)},isSoftNewlineEvent:zrt},Mrt=jrt,Qrt=R6e,Nrt=I9e,Urt=j4e,Brt=u9e,qrt=null,Grt={cut:function(e){var t=e.getCurrentContent(),n=e.getSelection(),i=null;if(n.isCollapsed()){var r=n.getAnchorKey(),o=t.getBlockForKey(r).getLength();if(o===n.getAnchorOffset()){var a=t.getKeyAfter(r);if(null==a)return e;i=n.set("focusKey",a).set("focusOffset",0)}else i=n.set("focusOffset",o)}else i=n;i=Brt(i),qrt=Urt(t,i);var s=Qrt.removeRange(t,i,"forward");return s===t?e:Nrt.push(e,s,"remove-range")},paste:function(e){if(!qrt)return e;var t=Qrt.replaceWithFragment(e.getCurrentContent(),e.getSelection(),qrt);return Nrt.push(e,t,"insert-fragment")}},Wrt=Grt,Xrt=g4e;var Vrt=X8e.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 o,a=Array.from(t.getClientRects());if(n.push(a),r)return n.reverse(),(o=[]).concat.apply(o,n);t.setEndBefore(i)}"production"!==ga.env.NODE_ENV?Xrt(!1,"Found an unexpected detached subtree when getting range client rects."):Xrt(!1)}:function(e){return Array.from(e.getClientRects())},Yrt=crt,Zrt=V8e,Hrt=Vrt,Krt=g4e;function Jrt(e,t){for(var n=1/0,i=1/0,r=-1/0,o=-1/0,a=0;a<e.length;a++){var s=e[a];0!==s.width&&1!==s.width&&(n=Math.min(n,s.top),i=Math.min(i,s.bottom),r=Math.max(r,s.top),o=Math.max(o,s.bottom))}return r<=i&&r-n<t&&o-i<t}function eot(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 tot=function(e){e.collapsed||("production"!==ga.env.NODE_ENV?Krt(!1,"expandRangeToStartOfLine: Provided range is not collapsed."):Krt(!1));var t=(e=e.cloneRange()).startContainer;1!==t.nodeType&&(t=t.parentNode);var n=function(e){var t=getComputedStyle(e),n=Zrt(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"!==ga.env.NODE_ENV?Krt(!1,"Missing document.body"):Krt(!1)),r.appendChild(i);var o=i.getBoundingClientRect();return r.removeChild(i),o.height}(t),i=e.endContainer,r=e.endOffset;for(e.setStart(e.startContainer,0);Jrt(Hrt(e),n)&&(i=e.startContainer,r=e.startOffset,i.parentNode||("production"!==ga.env.NODE_ENV?Krt(!1,"Found unexpected detached subtree when traversing."):Krt(!1)),e.setStartBefore(i),1!==i.nodeType||"inline"===getComputedStyle(i).display););for(var o=i,a=r-1;;){for(var s=o.nodeValue,l=a;l>=0;l--)if(!(null!=s&&l>0&&Yrt.isSurrogatePair(s,l-1))){if(e.setStart(o,l),!Jrt(Hrt(e),n))break;i=o,r=l}if(-1===l||0===o.childNodes.length)break;a=eot(o=o.childNodes[l])}return e.setStart(i,r),e},not=I9e,iot=tot,rot=D7e,oot=grt,aot=brt;var sot=function(e,t){var n=aot(e,(function(e){var n=e.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return oot(e,1);var i=t.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return i=iot(i),rot(e,null,i.endContainer,i.endOffset,i.startContainer,i.startOffset).selectionState}),"backward");return n===e.getCurrentContent()?e:not.push(e,n,"remove-range")},lot="\\s|(?![_])"+{getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}.getPunctuation(),uot=new RegExp("^(?:"+lot+")*(?:"+"['‘’]|(?!"+lot+").)*(?:(?!"+lot+").)"),cot=new RegExp("(?:(?!"+lot+").)(?:"+"['‘’]|(?!"+lot+").)*(?:"+lot+")*$");function dot(e,t){var n=t?cot.exec(e):uot.exec(e);return n?n[0]:e}var pot={getBackward:function(e){return dot(e,!0)},getForward:function(e){return dot(e,!1)}},hot=pot,fot=I9e,mot=grt,got=brt;var vot=function(e){var t=got(e,(function(e){var t=e.getSelection(),n=t.getStartOffset();if(0===n)return mot(e,1);var i=t.getStartKey(),r=e.getCurrentContent().getBlockForKey(i).getText().slice(0,n),o=hot.getBackward(r);return mot(e,o.length||1)}),"backward");return t===e.getCurrentContent()?e:fot.push(e,t,"remove-range")},yot=frt;var bot=function(e,t){var n=e.getSelection();"production"!==ga.env.NODE_ENV&&yot(n.isCollapsed(),"moveSelectionForward should only be called with a collapsed SelectionState");var i,r=n.getStartKey(),o=n.getStartOffset(),a=e.getCurrentContent(),s=r;return t>a.getBlockForKey(r).getText().length-o?(s=a.getKeyAfter(r),i=0):i=o+t,n.merge({focusKey:s,focusOffset:i})},Oot=pot,_ot=I9e,wot=bot,xot=brt;var kot=function(e){var t=xot(e,(function(e){var t=e.getSelection(),n=t.getStartOffset(),i=t.getStartKey(),r=e.getCurrentContent().getBlockForKey(i).getText().slice(n),o=Oot.getForward(r);return wot(e,o.length||1)}),"forward");return t===e.getCurrentContent()?e:_ot.push(e,t,"remove-range")},Sot=R6e,Pot=I9e;var Eot=I9e;var Cot=function(e){var t=e.getSelection(),n=t.getEndKey(),i=e.getCurrentContent().getBlockForKey(n).getLength();return Eot.set(e,{selection:t.merge({anchorKey:n,anchorOffset:i,focusKey:n,focusOffset:i,isBackward:!1}),forceSelection:!0})},Fot=I9e;var Tot=function(e){var t=e.getSelection(),n=t.getStartKey();return Fot.set(e,{selection:t.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})},Dot=I9e,Aot=crt,Iot=bot,Lot=brt;var $ot=function(e){var t=Lot(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),i=t.getAnchorKey(),r=t.getAnchorOffset(),o=n.getBlockForKey(i).getText()[r];return Iot(e,o?Aot.getUTF16Length(o,0):1)}),"forward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return Dot.push(e,t.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")},zot=R6e,Rot=I9e,jot=j4e;var Mot=function(e){var t=e.getSelection();if(!t.isCollapsed())return e;var n=t.getAnchorOffset();if(0===n)return e;var i,r,o=t.getAnchorKey(),a=e.getCurrentContent(),s=a.getBlockForKey(o).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=jot(a,i),u=zot.removeRange(a,i,"backward"),c=u.getSelectionAfter(),d=c.getAnchorOffset()-1,p=c.merge({anchorOffset:d,focusOffset:d}),h=zot.replaceWithFragment(u,p,l),f=Rot.push(e,h,"insert-fragment");return Rot.acceptSelection(f,r)},Qot=I9e;var Not=function(e,t,n){var i=Qot.undo(t);if("spellcheck-change"!==t.getLastChangeType())e.preventDefault(),t.getNativelyRenderedContent()?(n(Qot.set(t,{nativelyRenderedContent:null})),setTimeout((function(){n(i)}),0)):n(i);else{var r=i.getCurrentContent();n(Qot.set(i,{nativelyRenderedContent:r}))}},Uot=R6e,Bot=I9e,qot=f7e,Got=Wrt,Wot=X8e,Xot=sit,Vot=sot,Yot=vot,Zot=kot,Hot=function(e){var t=Sot.splitBlock(e.getCurrentContent(),e.getSelection());return Pot.push(e,t,"split-block")},Kot=Cot,Jot=Tot,eat=krt,tat=$ot,nat=Mot,iat=Not,rat=Mrt.isOptionKeyCommand,oat=Wot.isBrowser("Chrome");var aat=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 qot.RETURN:if(t.preventDefault(),e.props.handleReturn&&Xot(e.props.handleReturn(t,i)))return;break;case qot.ESC:if(t.preventDefault(),r("onEscape"))return;break;case qot.TAB:if(r("onTab"))return;break;case qot.UP:if(r("onUpArrow"))return;break;case qot.RIGHT:if(r("onRightArrow"))return;break;case qot.DOWN:if(r("onDownArrow"))return;break;case qot.LEFT:if(r("onLeftArrow"))return;break;case qot.SPACE:oat&&rat(t)&&t.preventDefault()}var o=e.props.keyBindingFn(t);if(null!=o&&""!==o)if("undo"!==o){if(t.preventDefault(),!e.props.handleKeyCommand||!Xot(e.props.handleKeyCommand(o,i,t.timeStamp))){var a=function(e,t,n){switch(e){case"redo":return Bot.redo(t);case"delete":return tat(t);case"delete-word":return Zot(t);case"backspace":return eat(t);case"backspace-word":return Yot(t);case"backspace-to-start-of-line":return Vot(t,n);case"split-block":return Hot(t);case"transpose-characters":return nat(t);case"move-selection-to-start-of-block":return Jot(t);case"move-selection-to-end-of-block":return Kot(t);case"secondary-cut":return Got.cut(t);case"secondary-paste":return Got.paste(t);default:return t}}(o,i,t);a!==i&&e.update(a)}}else iat(t,i,e.update);else if(n===qot.SPACE&&oat&&rat(t)){var s=Uot.replaceText(i.getCurrentContent(),i.getSelection()," ");e.update(Bot.push(i,s,"insert-characters"))}};var sat=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}(),lat=sat,uat=g4e,cat=X8e.isBrowser("IE <= 9");var dat=function(e){var t,n=null;return!cat&&document.implementation&&document.implementation.createHTMLDocument&&((t=document.implementation.createHTMLDocument("foo")).documentElement||("production"!==ga.env.NODE_ENV?uat(!1,"Missing doc.documentElement"):uat(!1)),t.documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n},pat=Y8e;var hat=function(e){return!(!e||!e.ownerDocument)&&(pat(e)&&"A"===e.nodeName)},fat=Y8e;var mat,gat=function(e){return!(!e||!e.ownerDocument)&&(fat(e)&&"IMG"===e.nodeName)};function vat(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){yat(e,t,n[t])}))}return e}function yat(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var bat=C3e,Oat=B3e,_at=r4e,wat=p8e,xat=c5e,kat=lat,Sat=u8e,Pat=P4e,Eat=dat,Cat=h5e,Fat=m3e.exports,Tat=Fat.List,Dat=Fat.Map,Aat=Fat.OrderedSet,Iat=hat,Lat=_et,$at=g7e,zat=gat,Rat=Cat("draft_tree_data_support"),jat=new RegExp("\r","g"),Mat=new RegExp("\n","g"),Qat=new RegExp("^\n","g"),Nat=new RegExp("&nbsp;","g"),Uat=new RegExp("&#13;?","g"),Bat=new RegExp("&#8203;?","g"),qat=["bold","bolder","500","600","700","800","900"],Gat=["light","lighter","normal","100","200","300","400"],Wat=["className","href","rel","target","title"],Xat=["alt","className","height","src","width"],Vat=(yat(mat={},Sat("public/DraftStyleDefault/depth0"),0),yat(mat,Sat("public/DraftStyleDefault/depth1"),1),yat(mat,Sat("public/DraftStyleDefault/depth2"),2),yat(mat,Sat("public/DraftStyleDefault/depth3"),3),yat(mat,Sat("public/DraftStyleDefault/depth4"),4),mat),Yat=Dat({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),Zat=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)}))})),Dat(t)},Hat=function(e){if($at(e)&&e.style.fontFamily.includes("monospace"))return"CODE";return null},Kat=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(Vat).some((function(n){e.classList.contains(n)&&(t=Vat[n])})),t},Jat=function(e){if(!Iat(e))return!1;var t=e;return!(!t.href||"http:"!==t.protocol&&"https:"!==t.protocol&&"mailto:"!==t.protocol&&"tel:"!==t.protocol)},est=function(e){if(!zat(e))return!1;var t=e;return!(!t.attributes.getNamedItem("src")||!t.attributes.getNamedItem("src").value)},tst=function(e,t){if(!$at(e))return t;var n=e,i=n.style.fontWeight,r=n.style.fontStyle,o=n.style.textDecoration;return t.withMutations((function(e){qat.indexOf(i)>=0?e.add("BOLD"):Gat.indexOf(i)>=0&&e.remove("BOLD"),"italic"===r?e.add("ITALIC"):"normal"===r&&e.remove("ITALIC"),"underline"===o&&e.add("UNDERLINE"),"line-through"===o&&e.add("STRIKETHROUGH"),"none"===o&&(e.remove("UNDERLINE"),e.remove("STRIKETHROUGH"))}))},nst=function(e){return"ul"===e||"ol"===e},ist=function(){function e(e,t){yat(this,"characterList",Tat()),yat(this,"currentBlockType","unstyled"),yat(this,"currentDepth",0),yat(this,"currentEntity",null),yat(this,"currentText",""),yat(this,"wrapper",null),yat(this,"blockConfigs",[]),yat(this,"contentBlocks",[]),yat(this,"entityMap",xat),yat(this,"blockTypeMap",void 0),yat(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=e,this.disambiguate=t}var t=e.prototype;return t.clear=function(){this.characterList=Tat(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=xat,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],Aat())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},t.getContentBlocks=function(){return 0===this.contentBlocks.length&&(Rat?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||Pat(),n=vat({key:t,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:Tat(),prevSibling:null,nextSibling:null,childConfigs:[]},e);return this.characterList=Tat(),this.currentBlockType="unstyled",this.currentText="",n},t._toBlockConfigs=function(e,t){for(var n=[],i=0;i<e.length;i++){var r=e[i],o=r.nodeName.toLowerCase();if("body"===o||nst(o)){this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var a=this.currentDepth,s=this.wrapper;nst(o)&&(this.wrapper=o,nst(s)&&this.currentDepth++),n.push.apply(n,this._toBlockConfigs(Array.from(r.childNodes),t)),this.currentDepth=a,this.wrapper=s}else{var l=this.blockTypeMap.get(o);if(void 0===l)if("#text"!==o)if("br"!==o)if(est(r))this._addImgNode(r,t);else if(Jat(r))this._addAnchorNode(r,n,t);else{var u=t;Yat.has(o)&&(u=u.add(Yat.get(o))),u=tst(r,u);var c=Hat(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,p=this.wrapper;if(this.wrapper="pre"===o?"pre":this.wrapper,"string"!=typeof l&&(l=this.disambiguate(o,this.wrapper)||l[0]||"unstyled"),!Rat&&$at(r)&&("unordered-list-item"===l||"ordered-list-item"===l)){var h=r;this.currentDepth=Kat(h,this.currentDepth)}var f=Pat(),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=p}}}return n},t._appendText=function(e,t){var n;this.currentText+=e;var i=bat.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=Tat()):(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(Qat,"")).replace(Mat," ")),this._appendText(n,t)},t._addBreakNode=function(e,t){Lat(e)&&this._appendText("\n",t)},t._addImgNode=function(e,t){if(zat(e)){var n=e,i={};Xat.forEach((function(e){var t=n.getAttribute(e);t&&(i[e]=t)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",i),Cat("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(Iat(e)){var i=e,r={};Wat.forEach((function(e){var t=i.getAttribute(e);t&&(r[e]=t)})),r.url=new kat(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=Tat(r.childConfigs.map((function(e){return e.key}))),this.contentBlocks.push(new _at(vat({},r))),this._toContentBlocks(r.childConfigs,r.key)}},t._hoistContainersInBlockConfigs=function(e){var t=this;return Tat(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 Oat(vat({},e,{text:e.text+i,characterList:e.characterList.concat(r)})))}))},t._extractTextFromBlockConfigs=function(e){for(var t=e.length-1,n="",i=Tat(),r=0;r<=t;r++){var o=e[r];n+=o.text,i=i.concat(o.characterList),""!==n&&"unstyled"!==o.type&&(n+="\n",i=i.push(i.last()));var a=this._extractTextFromBlockConfigs(o.childConfigs);n+=a.text,i=i.concat(a.characterList)}return{text:n,characterList:i}},e}(),rst=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Eat,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:wat,i=t(e=e.trim().replace(jat,"").replace(Nat," ").replace(Uat,"").replace(Bat,""));if(!i)return null;var r=Zat(n),o=function(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null};return new ist(r,o).addDOMNode(i).getContentBlocks()};function ost(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ast=B3e,sst=r4e,lst=rst,ust=P4e,cst=dat,dst=h5e,pst=m3e.exports,hst=m5e,fst=pst.List,mst=pst.Repeat,gst=dst("draft_tree_data_support"),vst=gst?sst:ast,yst={processHTML:function(e,t){return lst(e,cst,t)},processText:function(e,t,n){return e.reduce((function(e,i,r){i=hst(i);var o=ust(),a={key:o,type:n,text:i,characterList:fst(mst(t,i.length))};if(gst&&0!==r){var s=r-1;a=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){ost(e,t,n[t])}))}return e}({},a,{prevSibling:(e[s]=e[s].merge({nextSibling:o})).getKey()})}return e.push(new vst(a)),e}),[])}};var bst=function(e,t,n,i){var r=t.getStartKey(),o=t.getEndKey(),a=e.getBlockMap(),s=a.toSeq().skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===o})).concat([[o,a.get(o)]]).map((function(e){var t=e.getDepth()+n;return t=Math.max(0,Math.min(t,i)),e.set("depth",t)}));return a=a.merge(s),e.merge({blockMap:a,selectionBefore:t,selectionAfter:t})},Ost=R6e,_st=I9e,wst=bst,xst=u9e,kst={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 kst.toggleInlineStyle(e,"BOLD");case"italic":return kst.toggleInlineStyle(e,"ITALIC");case"underline":return kst.toggleInlineStyle(e,"UNDERLINE");case"code":return kst.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return kst.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return kst.onDelete(e);default:return null}},insertSoftNewline:function(e){var t=Ost.insertText(e.getCurrentContent(),e.getSelection(),"\n",e.getCurrentInlineStyle(),null),n=_st.push(e,t,"insert-characters");return _st.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 o=n.getBlockMap().delete(r.getKey()),a=n.merge({blockMap:o,selectionAfter:t});if(a!==n)return _st.push(e,a,"remove-range")}var s=kst.tryToRemoveBlockStyle(e);return s?_st.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 o=n.getBlockAfter(i);if(!o||"atomic"!==o.getType())return null;var a=t.merge({focusKey:o.getKey(),focusOffset:o.getLength()}),s=Ost.removeRange(n,a,"forward");return s!==n?_st.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 o=t.getCurrentContent(),a=o.getBlockForKey(r),s=a.getType();if("unordered-list-item"!==s&&"ordered-list-item"!==s)return t;e.preventDefault();var l=a.getDepth();if(!e.shiftKey&&l===n)return t;var u=wst(o,i,e.shiftKey?-1:1,n);return _st.push(t,u,"adjust-depth")},toggleBlockType:function(e,t){var n=e.getSelection(),i=n.getStartKey(),r=n.getEndKey(),o=e.getCurrentContent(),a=n;if(i!==r&&0===n.getEndOffset()){var s=xst(o.getBlockBefore(r));r=s.getKey(),a=a.merge({anchorKey:i,anchorOffset:n.getStartOffset(),focusKey:r,focusOffset:s.getLength(),isBackward:!1})}var l=o.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=o.getBlockForKey(i).getType()===t?"unstyled":t;return _st.push(e,Ost.setBlockType(o,a,u),"change-block-type")},toggleCode:function(e){var t=e.getSelection(),n=t.getAnchorKey(),i=t.getFocusKey();return t.isCollapsed()||n!==i?kst.toggleBlockType(e,"code-block"):kst.toggleInlineStyle(e,"CODE")},toggleInlineStyle:function(e,t){var n=e.getSelection(),i=e.getCurrentInlineStyle();if(n.isCollapsed())return _st.setInlineStyleOverride(e,i.has(t)?i.remove(t):i.add(t));var r,o=e.getCurrentContent();return r=i.has(t)?Ost.removeInlineStyle(o,n,t):Ost.applyInlineStyle(o,n,t),_st.push(e,r,"change-inline-style")},toggleLink:function(e,t,n){var i=Ost.applyEntity(e.getCurrentContent(),t,n);return _st.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(),o=r.getBlockForKey(i).getType(),a=r.getBlockBefore(i);if("code-block"===o&&a&&"code-block"===a.getType()&&0!==a.getLength())return null;if("unstyled"!==o)return Ost.setBlockType(r,t,"unstyled")}return null}},Sst=kst,Pst=/\r\n?|\n/g;var Est=function(e){return e.split(Pst)},Cst=y3e,Fst=C3e,Tst=nit,Dst=R6e,Ast=yst,Ist=I9e,Lst=Sst,$st=U7e,zst=ait,Rst=sit,jst=Est;function Mst(e,t,n){var i=Dst.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return Ist.push(e,i.set("entityMap",n),"insert-fragment")}var Qst=function(e,t){t.preventDefault();var n=new Tst(t.clipboardData);if(!n.isRichText()){var i=n.getFiles(),r=n.getText();if(i.length>0){if(e.props.handlePastedFiles&&Rst(e.props.handlePastedFiles(i)))return;return void zst(i,(function(t){if(t=t||r){var n=e._latestEditorState,i=jst(t),o=Fst.create({style:n.getCurrentInlineStyle(),entity:$st(n.getCurrentContent(),n.getSelection())}),a=Lst.getCurrentBlockType(n),s=Ast.processText(i,o,a),l=Cst.createFromArray(s),u=Dst.replaceWithFragment(n.getCurrentContent(),n.getSelection(),l);e.update(Ist.push(n,u,"insert-fragment"))}}))}}var o=[],a=n.getText(),s=n.getHTML(),l=e._latestEditorState;if(!e.props.handlePastedText||!Rst(e.props.handlePastedText(a,s,l))){if(a&&(o=jst(a)),!e.props.stripPastedStyles){var u=e.getClipboard();if(n.isRichText()&&u){if(-1!==s.indexOf(e.getEditorKey())||1===o.length&&1===u.size&&u.first().getText()===a)return void e.update(Mst(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]}))}(o,u))return void e.update(Mst(e._latestEditorState,u));if(s){var c=Ast.processHTML(s,e.props.blockRenderMap);if(c){var d=c.contentBlocks,p=c.entityMap;if(d){var h=Cst.createFromArray(d);return void e.update(Mst(e._latestEditorState,h,p))}}}e.setClipboard(null)}if(o.length){var f=Fst.create({style:l.getCurrentInlineStyle(),entity:$st(l.getCurrentContent(),l.getSelection())}),m=Lst.getCurrentBlockType(l),g=Ast.processText(o,f,m),v=Cst.createFromArray(g);e.update(Mst(e._latestEditorState,v))}}},Nst=X8e,Ust=Iit,Bst=Rit,qst=Mit,Gst=Bit,Wst=Hit,Xst=Kit,Vst=Jit,Yst=nrt,Zst=Irt,Hst=aat,Kst=Qst,Jst=j7e,elt=Nst.isBrowser("Chrome"),tlt=Nst.isBrowser("Firefox"),nlt=elt||tlt?Jst:function(e){},ilt={onBeforeInput:Ust,onBlur:Bst,onCompositionStart:qst,onCopy:Gst,onCut:Wst,onDragOver:Xst,onDragStart:Vst,onFocus:Yst,onInput:Zst,onKeyDown:Hst,onPaste:Kst,onSelect:Jst,onMouseUp:nlt,onKeyUp:nlt},rlt=b.default.unstable_flushControlled;var olt=g.default,alt=u8e,slt=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=alt({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":e});return olt.createElement("div",{className:t},olt.createElement("div",{className:alt("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},i}(olt.Component),llt=slt,ult=Mrt,clt=f7e,dlt=X8e,plt=dlt.isPlatform("Mac OS X"),hlt=plt&&dlt.isBrowser("Firefox < 29"),flt=ult.hasCommandModifier,mlt=ult.isCtrlKeyCommand;function glt(e){return plt&&e.altKey||mlt(e)}var vlt=function(e){switch(e.keyCode){case 66:return flt(e)?"bold":null;case 68:return mlt(e)?"delete":null;case 72:return mlt(e)?"backspace":null;case 73:return flt(e)?"italic":null;case 74:return flt(e)?"code":null;case 75:return plt&&mlt(e)?"secondary-cut":null;case 77:case 79:return mlt(e)?"split-block":null;case 84:return plt&&mlt(e)?"transpose-characters":null;case 85:return flt(e)?"underline":null;case 87:return plt&&mlt(e)?"backspace-word":null;case 89:return mlt(e)?plt?"secondary-paste":"redo":null;case 90:return function(e){return flt(e)?e.shiftKey?"redo":"undo":null}(e)||null;case clt.RETURN:return"split-block";case clt.DELETE:return function(e){return!plt&&e.shiftKey?null:glt(e)?"delete-word":"delete"}(e);case clt.BACKSPACE:return function(e){return flt(e)&&plt?"backspace-to-start-of-line":glt(e)?"backspace-word":"backspace"}(e);case clt.LEFT:return hlt&&flt(e)?"move-selection-to-start-of-block":null;case clt.RIGHT:return hlt&&flt(e)?"move-selection-to-end-of-block":null;default:return null}},ylt=hW;function blt(){return blt=ylt||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},blt.apply(this,arguments)}function Olt(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){wlt(e,t,n[t])}))}return e}function _lt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wlt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xlt(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var klt=p8e,Slt=h8e,Plt=net,Elt=Qnt,Clt=_it,Flt=ilt,Tlt=rlt,Dlt=llt,Alt=I9e,Ilt=g.default,Llt=stt,$lt=ytt,zlt=u8e,Rlt=P4e,jlt=vlt,Mlt=Ptt,Qlt=h5e,Nlt=g4e,Ult=g7e,Blt=u9e,qlt=X8e.isBrowser("IE"),Glt=!qlt,Wlt={edit:Flt,composite:Plt,drag:Clt,cut:null,render:null},Xlt=!1,Vlt=function(e){function t(){return e.apply(this,arguments)||this}xlt(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}(Ilt.Component),Ylt=function(e){function t(t){var n;return wlt(_lt(n=e.call(this,t)||this),"_blockSelectEvents",void 0),wlt(_lt(n),"_clipboard",void 0),wlt(_lt(n),"_handler",void 0),wlt(_lt(n),"_dragCount",void 0),wlt(_lt(n),"_internalDrag",void 0),wlt(_lt(n),"_editorKey",void 0),wlt(_lt(n),"_placeholderAccessibilityID",void 0),wlt(_lt(n),"_latestEditorState",void 0),wlt(_lt(n),"_latestCommittedEditorState",void 0),wlt(_lt(n),"_pendingStateFromBeforeInput",void 0),wlt(_lt(n),"_onBeforeInput",void 0),wlt(_lt(n),"_onBlur",void 0),wlt(_lt(n),"_onCharacterData",void 0),wlt(_lt(n),"_onCompositionEnd",void 0),wlt(_lt(n),"_onCompositionStart",void 0),wlt(_lt(n),"_onCopy",void 0),wlt(_lt(n),"_onCut",void 0),wlt(_lt(n),"_onDragEnd",void 0),wlt(_lt(n),"_onDragOver",void 0),wlt(_lt(n),"_onDragStart",void 0),wlt(_lt(n),"_onDrop",void 0),wlt(_lt(n),"_onInput",void 0),wlt(_lt(n),"_onFocus",void 0),wlt(_lt(n),"_onKeyDown",void 0),wlt(_lt(n),"_onKeyPress",void 0),wlt(_lt(n),"_onKeyUp",void 0),wlt(_lt(n),"_onMouseDown",void 0),wlt(_lt(n),"_onMouseUp",void 0),wlt(_lt(n),"_onPaste",void 0),wlt(_lt(n),"_onSelect",void 0),wlt(_lt(n),"editor",void 0),wlt(_lt(n),"editorContainer",void 0),wlt(_lt(n),"focus",void 0),wlt(_lt(n),"blur",void 0),wlt(_lt(n),"setMode",void 0),wlt(_lt(n),"exitCurrentMode",void 0),wlt(_lt(n),"restoreEditorDOM",void 0),wlt(_lt(n),"setClipboard",void 0),wlt(_lt(n),"getClipboard",void 0),wlt(_lt(n),"getEditorKey",void 0),wlt(_lt(n),"update",void 0),wlt(_lt(n),"onDragEnter",void 0),wlt(_lt(n),"onDragLeave",void 0),wlt(_lt(n),"_handleEditorContainerRef",(function(e){n.editorContainer=e,n.editor=null!==e?e.firstChild:null})),wlt(_lt(n),"focus",(function(e){var t=n.props.editorState,i=t.getSelection().getHasFocus(),r=n.editor;if(r){var o=$lt.getScrollParent(r),a=e||Mlt(o),s=a.x,l=a.y;Ult(r)||("production"!==ga.env.NODE_ENV?Nlt(!1,"editorNode is not an HTMLElement"):Nlt(!1)),r.focus(),o===window?window.scrollTo(s,l):Llt.setTop(o,l),i||n.update(Alt.forceSelection(t,t.getSelection()))}})),wlt(_lt(n),"blur",(function(){var e=n.editor;e&&(Ult(e)||("production"!==ga.env.NODE_ENV?Nlt(!1,"editorNode is not an HTMLElement"):Nlt(!1)),e.blur())})),wlt(_lt(n),"setMode",(function(e){var t=n.props,i=t.onPaste,r=t.onCut,o=t.onCopy,a=Olt({},Wlt.edit);i&&(a.onPaste=i),r&&(a.onCut=r),o&&(a.onCopy=o);var s=Olt({},Wlt,{edit:a});n._handler=s[e]})),wlt(_lt(n),"exitCurrentMode",(function(){n.setMode("edit")})),wlt(_lt(n),"restoreEditorDOM",(function(e){n.setState({contentsKey:n.state.contentsKey+1},(function(){n.focus(e)}))})),wlt(_lt(n),"setClipboard",(function(e){n._clipboard=e})),wlt(_lt(n),"getClipboard",(function(){return n._clipboard})),wlt(_lt(n),"update",(function(e){n._latestEditorState=e,n.props.onChange(e)})),wlt(_lt(n),"onDragEnter",(function(){n._dragCount++})),wlt(_lt(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||Rlt(),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"!==ga.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}xlt(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&&(Tlt?Tlt((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:Blt(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return Ilt.createElement(Dlt,e)}return null},n.render=function(){var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,i=e.blockStyleFn,r=e.customStyleFn,o=e.customStyleMap,a=e.editorState,s=e.preventScroll,l=e.readOnly,u=e.textAlignment,c=e.textDirectionality,d=zlt({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===u,"DraftEditor/alignRight":"right"===u,"DraftEditor/alignCenter":"center"===u}),p=this.props.role||"textbox",h="combobox"===p?!!this.props.ariaExpanded:null,f={blockRenderMap:t,blockRendererFn:n,blockStyleFn:i,customStyleMap:Olt({},Slt,o),customStyleFn:r,editorKey:this._editorKey,editorState:a,preventScroll:s,textDirectionality:c};return Ilt.createElement("div",{className:d},this._renderPlaceholder(),Ilt.createElement("div",{className:zlt("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},Ilt.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:h,"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:zlt({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:p,spellCheck:Glt&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},Ilt.createElement(Vlt,{editor:this,editorState:a}),Ilt.createElement(Elt,blt({},f,{key:"contents"+this.state.contentsKey})))))},n.componentDidMount=function(){this._blockSelectEvents=!1,!Xlt&&Qlt("draft_ods_enabled")&&(Xlt=!0),this.setMode("edit"),qlt&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):k.execCommand("AutoUrlDetect",!1,!1))},n.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},t}(Ilt.Component);wlt(Ylt,"defaultProps",{blockRenderMap:klt,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:jlt,readOnly:!1,spellCheck:!1,stripPastedStyles:!1});var Zlt=Ylt,Hlt=P(Object.freeze({__proto__:null})),Klt={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}},Jlt=Klt,eut=crt.strlen;var tut=function(e,t){var n=[];return e.findEntityRanges((function(e){return!!e.getEntity()}),(function(i,r){var o=e.getText(),a=e.getEntityAt(i);n.push({offset:eut(o.slice(0,i)),length:eut(o.slice(i,r)),key:Number(t[Jlt.stringify(a)])})})),n},nut=crt,iut=F3e,rut=function(e,t){return e===t},out=function(e){return!!e},aut=[];var sut=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 iut(r,rut,out,(function(t,r){var o=e.getText();i.push({offset:nut.strlen(o.slice(0,t)),length:nut.strlen(o.slice(t,r)),style:n})})),i}(e,t,n)}));return Array.prototype.concat.apply(aut,n.toJS())};function lut(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var uut=B3e,cut=r4e,dut=Klt,put=tut,hut=sut,fut=g4e,mut=function(e,t){return{key:e.getKey(),text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:hut(e),entityRanges:put(e,t),data:e.getData().toObject()}},gut=function(e,t,n,i){if(e instanceof uut)n.push(mut(e,t));else{e instanceof cut||("production"!==ga.env.NODE_ENV?fut(!1,"block is not a BlockNode"):fut(!1));var r=e.getParentKey(),o=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){lut(e,t,n[t])}))}return e}({},mut(e,t),{children:[]});r?i[r].children.push(o):n.push(o)}},vut=function(e){var t={entityMap:{},blocks:[]};return t=function(e,t){var n=t.entityMap,i=[],r={},o={},a=0;return e.getBlockMap().forEach((function(e){e.findEntityRanges((function(e){return null!==e.getEntity()}),(function(t){var i=e.getEntityAt(t),r=dut.stringify(i);o[r]||(o[r]=i,n[r]="".concat(a),a++)})),gut(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(dut.unstringify(t));r[n]={type:i.getType(),mutability:i.getMutability(),data:i.getData()}})),{blocks:n,entityMap:r}}(e,t),t};function yut(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){but(e,t,n[t])}))}return e}function but(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Out=P4e,_ut=g4e,wut=function(e){if(!e||!e.type)return!1;var t=e.type;return"unordered-list-item"===t||"ordered-list-item"===t},xut={fromRawTreeStateToRawState:function(e){var t=e.blocks,n=[];return Array.isArray(t)||("production"!==ga.env.NODE_ENV?_ut(!1,"Invalid raw state"):_ut(!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"!==ga.env.NODE_ENV?_ut(!1,"Invalid tree raw block"):_ut(!1)),n=n.concat([].concat(r.reverse()))}}(t,(function(e){var t=yut({},e);wut(e)&&(t.depth=t.depth||0,function(e){Array.isArray(e.children)&&(e.children=e.children.map((function(t){return t.type===e.type?yut({},t,{depth:(e.depth||0)+1}):t})))}(e),null!=e.children&&e.children.length>0)||(delete t.children,n.push(t))})),e.blocks=n,yut({},e,{blocks:n})):e},fromRawStateToRawTreeState:function(e){var t=[],n=[];return e.blocks.forEach((function(e){var i=wut(e),r=e.depth||0,o=yut({},e,{children:[]});if(i){var a=n[0];if(null==a&&0===r)t.push(o);else if(null==a||a.depth<r-1){var s={key:Out(),text:"",depth:r-1,type:e.type,children:[],entityRanges:[],inlineStyleRanges:[]};n.unshift(s),1===r?t.push(s):null!=a&&a.children.push(s),s.children.push(o)}else if(a.depth===r-1)a.children.push(o);else{for(;null!=a&&a.depth>=r;)n.shift(),a=n[0];r>0?a.children.push(o):t.push(o)}}else t.push(o)})),yut({},e,{blocks:t})}},kut=xut,Sut=frt,Put={isValidBlock:function(e,t){var n=e.getKey(),i=e.getParentKey();if(null!=i&&!t.get(i).getChildKeys().includes(n))return"production"!==ga.env.NODE_ENV&&Sut(!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"!==ga.env.NODE_ENV&&Sut(!0,"Tree is missing child -> parent pointer on %s",n),!1;var o=e.getPrevSiblingKey();if(null!=o&&t.get(o).getNextSiblingKey()!==n)return"production"!==ga.env.NODE_ENV&&Sut(!0,"Tree is missing nextSibling pointer on %s's prevSibling",n),!1;var a=e.getNextSiblingKey();if(null!=a&&t.get(a).getPrevSiblingKey()!==n)return"production"!==ga.env.NODE_ENV&&Sut(!0,"Tree is missing prevSibling pointer on %s's nextSibling",n),!1;return null!==a&&null!==o&&o===a?("production"!==ga.env.NODE_ENV&&Sut(!0,"Tree has a two-node cycle at %s",n),!1):!(""!=e.text&&e.getChildKeys().size>0)||("production"!==ga.env.NODE_ENV&&Sut(!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"!==ga.env.NODE_ENV&&Sut(!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 o=e.get(i),a=o.getChildKeys(),s=o.getNextSiblingKey();if(a.size>0){null!=s&&r.unshift(s);var l=a.map((function(t){return e.get(t)})),u=l.find((function(e){return null==e.getPrevSiblingKey()}));if(null==u)return"production"!==ga.env.NODE_ENV&&Sut(!0,"%s has no first child",i),!1;i=u.getKey()}else i=null!=o.getNextSiblingKey()?o.getNextSiblingKey():r.shift();n++}return n===e.size||("production"!==ga.env.NODE_ENV&&Sut(!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)}},Eut=Put,Cut=C3e,Fut=m3e.exports.List;var Tut=function(e,t){var n=e.map((function(e,n){var i=t[n];return Cut.create({style:e,entity:i})}));return Fut(n)},Dut=crt.substr;var Aut=function(e,t){var n=Array(e.length).fill(null);return t&&t.forEach((function(t){for(var i=Dut(e,0,t.offset).length,r=i+Dut(e,t.offset,t.length).length,o=i;o<r;o++)n[o]=t.key})),n},Iut=crt,Lut=m3e.exports.OrderedSet,$ut=Iut.substr,zut=Lut();var Rut=function(e,t){var n=Array(e.length).fill(zut);return t&&t.forEach((function(t){for(var i=$ut(e,0,t.offset).length,r=i+$ut(e,t.offset,t.length).length;i<r;)n[i]=n[i].add(t.style),i++})),n};function jut(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){Mut(e,t,n[t])}))}return e}function Mut(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Qut=B3e,Nut=r4e,Uut=R5e,But=c5e,qut=kut,Gut=Eut,Wut=p5e,Xut=Tut,Vut=Aut,Yut=Rut,Zut=P4e,Hut=m3e.exports,Kut=g4e,Jut=h5e("draft_tree_data_support"),ect=Hut.List,tct=Hut.Map,nct=Hut.OrderedMap,ict=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||Zut(),data:tct(r),characterList:rct(e,t)}},rct=function(e,t){var n=e.text,i=e.entityRanges,r=e.inlineStyleRanges,o=i||[];return Xut(Yut(n,r||[]),Vut(n,o.filter((function(e){return t.hasOwnProperty(e.key)})).map((function(e){return jut({},e,{key:t[e.key]})}))))},oct=function(e){return jut({},e,{key:e.key||Zut()})},act=function(e,t,n){var i=t.map((function(e){return jut({},e,{parentRef:n})}));return e.concat(i.reverse())},sct=function(e,t){var n=e.blocks.find((function(e){return Array.isArray(e.children)&&e.children.length>0})),i=Jut&&!n?qut.fromRawStateToRawTreeState(e).blocks:e.blocks;if(!Jut)return function(e,t){return nct(e.map((function(e){var n=new Qut(ict(e,t));return[n.getKey(),n]})))}(n?qut.fromRawTreeStateToRawState(e).blocks:i,t);var r=function(e,t){return e.map(oct).reduce((function(n,i,r){Array.isArray(i.children)||("production"!==ga.env.NODE_ENV?Kut(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):Kut(!1));var o=i.children.map(oct),a=new Nut(jut({},ict(i,t),{prevSibling:0===r?null:e[r-1].key,nextSibling:r===e.length-1?null:e[r+1].key,children:ect(o.map((function(e){return e.key})))}));n=n.set(a.getKey(),a);for(var s=act([],o,a);s.length>0;){var l=s.pop(),u=l.parentRef,c=u.getChildKeys(),d=c.indexOf(l.key),p=Array.isArray(l.children);if(!p){p||("production"!==ga.env.NODE_ENV?Kut(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):Kut(!1));break}var h=l.children.map(oct),f=new Nut(jut({},ict(l,t),{parent:u.getKey(),children:ect(h.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=act(s,h,f)}return n}),nct())}(i,t);return"production"!==ga.env.NODE_ENV&&(Gut.isValidTree(r)||("production"!==ga.env.NODE_ENV?Kut(!1,"Should be a valid tree"):Kut(!1))),r},lct=function(e){Array.isArray(e.blocks)||("production"!==ga.env.NODE_ENV?Kut(!1,"invalid RawDraftContentState"):Kut(!1));var t=function(e){var t=e.entityMap,n={};return Object.keys(t).forEach((function(e){var i=t[e],r=i.type,o=i.mutability,a=i.data;n[e]=But.__create(r,o,a||{})})),n}(e),n=sct(e,t),i=n.isEmpty()?new Wut:Wut.createEmpty(n.first().getKey());return new Uut({blockMap:n,entityMap:t,selectionBefore:i,selectionAfter:i})},uct=Vrt;var cct=function(e){var t=uct(e),n=0,i=0,r=0,o=0;if(t.length){if(t.length>1&&0===t[0].width){var a=t[1];n=a.top,i=a.right,r=a.bottom,o=a.left}else{var s=t[0];n=s.top,i=s.right,r=s.bottom,o=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),o=Math.min(o,u.left))}}return{top:n,right:i,bottom:r,left:o,width:i-o,height:r-n}},dct=cct;var pct=function(e){var t=e.getSelection();if(!t.rangeCount)return null;var n=t.getRangeAt(0),i=dct(n),r=i.top,o=i.right,a=i.bottom,s=i.left;return 0===r&&0===o&&0===a&&0===s?null:i},hct={Editor:Zlt,EditorBlock:Snt,EditorState:I9e,CompositeDecorator:s8e,Entity:c5e,EntityInstance:e5e,BlockMapBuilder:y3e,CharacterMetadata:C3e,ContentBlock:B3e,ContentState:R5e,RawDraftContentState:Hlt,SelectionState:p5e,AtomicBlockUtils:r8e,KeyBindingUtil:Mrt,Modifier:R6e,RichUtils:Sst,DefaultDraftBlockRenderMap:p8e,DefaultDraftInlineStyle:h8e,convertFromHTML:rst,convertFromRaw:lct,convertToRaw:vut,genKey:P4e,getDefaultKeyBinding:vlt,getVisibleSelectionRect:pct};function fct(e,t,n,i,r,o){var a=i-n;return t+n<=e.offset?Object.assign({},e,{offset:e.offset+a}):t>=e.offset&&t+n<=e.offset+e.length?Object.assign({},e,{length:e.length+a}):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&&o>0?[Object.assign({},e,{offset:e.offset+r,length:t+n-e.offset}),Object.assign({},e,{offset:t+n+r+o,length:e.offset+e.length-(t+n)})]:e}var mct=function(e,t){return e.offset===t.offset?t.length-e.length:e.offset-t.offset},gct={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","\n":"<br/>"};function vct(e){return vct="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},vct(e)}var yct=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function bct(e){if(-1!==yct.indexOf(e.type))return w.default.renderToStaticMarkup(e);var t=w.default.renderToStaticMarkup(g.default.cloneElement(e,{},"\r")).split("\r");return nwe(t.length>1,"convertToHTML: Element of type ".concat(e.type," must render children")),nwe(t.length<3,"convertToHTML: Element of type ".concat(e.type," cannot use carriage return character")),{start:t[0],end:t[1]}}function Oct(e){return g.default.isValidElement(e)&&g.default.Children.count(e.props.children)>0}function _ct(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(Oct(e))return w.default.renderToStaticMarkup(e);var n=bct(e);if(null!==t&&"object"===vct(n)){var i=n.start,r=n.end;return i+t+r}return n}if(nwe(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 o=e.start,a=e.end;return o+t+a}return e}var wct=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"start";if(g.default.isValidElement(t)){var i=bct(t);if("string"==typeof i)return 0;var r=i[n].length,o=g.default.Children.toArray(t.props.children)[0];return r+(o&&g.default.isValidElement(o)?e(o,n):0)}return"object"===vct(t)&&t[n]?t[n].length:0},xct=function(){var e=arguments.length>1?arguments[1]:void 0;return e},kct=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:xct,i=p1e(e.text),r=n;if(n.__isMiddleware&&(r=n(xct)),Object.prototype.hasOwnProperty.call(e,"entityRanges")&&e.entityRanges.length>0){for(var o=e.entityRanges.sort(mct),a=e.inlineStyleRanges,s=function(e){var n=o[e],s=t[n.key],l=i.slice(n.offset,n.offset+n.length).join(""),u=r(s,l),c=p1e(_ct(u,l)||l),d=wct(u,"start"),p=wct(u,"end"),h=function(t){return t.reduce((function(t,i,r){var o=function(t,i){return i>e||Object.prototype.hasOwnProperty.call(t,"style")?fct(t,n.offset,n.length,c.length,d,p):t}(i,r);return Array.isArray(o)?t.concat(o):t.concat([o])}),[])};o=h(o),a=h(a),i=[].concat(p1e(i.slice(0,n.offset)),p1e(c),p1e(i.slice(n.offset+n.length)))},l=0;l<o.length;l++)s(l);return Object.assign({},e,{text:i.join(""),inlineStyleRanges:a,entityRanges:o})}return e},Sct=function(e){return function(t){return"function"==typeof e?e(t):e[t]}},Pct=function(e,t){return function(){var n=e.apply(void 0,arguments);return null!=n?n:t.apply(void 0,arguments)}};function Ect(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 Cct=function(e,t){return e.filter((function(e){return!t.some((function(t){return t.style===e.style}))}))},Fct=function(e,t){return t.reduceRight((function(e,t){var n=e[e.length-1];return nwe(n.style===t.style,"Style ".concat(n.style," to be removed doesn't match expected ").concat(t.style)),e.slice(0,-1)}),e)},Tct=function(e,t){return t.filter((function(t){return e>=t.offset&&e<t.offset+t.length}))},Dct=function(e,t){var n=e.offset<=t.offset,i=e.offset+e.length>=t.offset+t.length;return n&&i},Act=function(e,t){return t.offset+t.length-(e.offset+e.length)},Ict=function(e,t){for(var n=0;n<e.length;){if(!t.every(Dct.bind(null,e[n])))return e.slice(n);n++}return[]},Lct=function(e,t,n){return t+_ct(e(n.style)).start},$ct=function(e,t,n){return _ct(e(n.style)).end+t},zct=function(e){return function(t){return e(t)}};zct.__isMiddleware=!0;var Rct=function(e){return function(t){return"function"==typeof e?e(t):e[t.type]}};function jct(e){return nwe(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):bct(e):Object.prototype.hasOwnProperty.call(e,"element")&&g.default.isValidElement(e.element)?Object.assign({},e,bct(e.element)):(nwe(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 Mct(e,t){if(nwe(null!=e,"Expected block HTML value to be non-null"),"function"==typeof e.nest){var n=bct(e.nest(t)),i=n.start,r=n.end;return Object.assign({},e,{nestStart:i,nestEnd:r})}if(g.default.isValidElement(e.nest)){var o=bct(e.nest),a=o.start,s=o.end;return Object.assign({},e,{nestStart:a,nestEnd:s})}return nwe(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 Qct=["1","a","i"],Nct={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=Qct[e%3];return g.default.createElement("ol",{type:t})}},media:g.default.createElement("figure",null),atomic:g.default.createElement("figure",null)},Uct=function(e,t){return t},Bct=function(e){var t=e.styleToHTML,n=void 0===t?{}:t,i=e.blockToHTML,r=void 0===i?{}:i,o=e.entityToHTML,a=void 0===o?Uct:o;return function(e){var t;nwe(null!=e,"Expected contentState to be non-null"),t=!0===r.__isMiddleware?r(Rct(Nct)):Pct(Rct(r),Rct(Nct));var i=hct.convertToRaw(e),o=[],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!==o.length||r!==o[s].type;)if(s+1===o.length){var d=o[s];l+=Mct(t(d),s).nestEnd,u+=Mct(t(e),s).nestStart,o[s]=e}else if(s+1<o.length){var p=o[o.length-1];l+=Mct(t(p),s).nestEnd,o=o.slice(0,-1)}else u+=Mct(t(e),s).nestStart,o.push(e);else l=o.reduceRight((function(e,n){return e+Mct(t(n),s).nestEnd}),""),o=[];var h,f=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:zct;nwe(null!=e,"Expected raw block to be non-null"),t=!0===n.__isMiddleware?n(Ect):Pct(Sct(n),Sct(Ect));for(var i="",r=[],o=e.inlineStyleRanges.sort(mct),a=p1e(e.text),s=0;s<a.length;s++){var l=Tct(s,o),u=Cct(r,l),c=Cct(l,r),d=Cct(r,u),p=Ict(d,c),h=p.concat(c).sort(Act),f=h.reduce(Lct.bind(null,t),"");i+=u.concat(p).reduce($ct.bind(null,t),"")+f+a[s],r=(r=Fct(r,p.concat(u))).concat(h),nwe(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+_ct(t(n.style)).end}),i)}(kct(function(e){for(var t=p1e(e.text),n=e.entityRanges.sort(mct),i=e.inlineStyleRanges.sort(mct),r="",o=function(e){var o=t[e];if(void 0!==gct[o]){var a=gct[o],s=p1e(r).length;r+=a;var l=function(e){return fct(e,s,o.length,a.length,0,0)};n=n.map(l),i=i.map(l)}else r+=o},a=0;a<t.length;a++)o(a);return Object.assign({},e,{text:r,inlineStyleRanges:i,entityRanges:n})}(e),i.entityMap,a),n),m=jct(t(e));return h="string"==typeof m?m:m.start+f+m.end,0===f.length&&Object.prototype.hasOwnProperty.call(m,"empty")&&(h=g.default.isValidElement(m.empty)?w.default.renderToStaticMarkup(m.empty):m.empty),l+u+h})).join("");return s=o.reduce((function(e,n){return e+Mct(t(n),n.depth).nestEnd}),s)}},qct={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 a(e)?e:X(e)}function i(e){return s(e)?e:V(e)}function r(e){return l(e)?e:Y(e)}function o(e){return a(e)&&!u(e)?e:Z(e)}function a(e){return!(!e||!e[d])}function s(e){return!(!e||!e[p])}function l(e){return!(!e||!e[h])}function u(e){return s(e)||l(e)}function c(e){return!(!e||!e[f])}t(i,n),t(r,n),t(o,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=l,n.isAssociative=u,n.isOrdered=c,n.Keyed=i,n.Indexed=r,n.Set=o;var d="@@__IMMUTABLE_ITERABLE__@@",p="@@__IMMUTABLE_KEYED__@@",h="@@__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 x(e){e&&(e.value=!0)}function k(){}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(C)),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 C(){return!0}function F(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,$=2,z="function"==typeof Symbol&&Symbol.iterator,R="@@iterator",j=z||R;function M(e){this.next=e}function Q(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 B(e){return e&&"function"==typeof e.next}function q(e){var t=G(e);return t&&t.call(e)}function G(e){var t=e&&(z&&e[z]||e[R]);if("function"==typeof t)return t}function W(e){return e&&"number"==typeof e.length}function X(e){return null==e?ae():a(e)?e.toSeq():ue(e)}function V(e){return null==e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function Y(e){return null==e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function Z(e){return(null==e?ae():a(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}M.prototype.toString=function(){return"[Iterator]"},M.KEYS=I,M.VALUES=L,M.ENTRIES=$,M.prototype.inspect=M.prototype.toSource=function(){return this.toString()},M.prototype[j]=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 pe(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 pe(this,e,t,!1)},t(Z,X),Z.of=function(){return Z(arguments)},Z.prototype.toSetSeq=function(){return this},X.isSeq=oe,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 oe(e){return!(!e||!e[ee])}function ae(){return H||(H=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():B(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):B(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 o=r.length-1,a=0;a<=o;a++){var s=r[n?o-a:a];if(!1===t(s[1],i?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function pe(e,t,n,i){var r=e._cache;if(r){var o=r.length-1,a=0;return new M((function(){var e=r[n?o-a:a];return a++>o?N():Q(t,i?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function he(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(!a(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 o=e;e=t,t=o}var d=!0,p=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===p}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 xe(){}function ke(){}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 M((function(){return r>i?N():Q(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,o=0;o<=r;o++){var a=i[t?r-o:o];if(!1===e(n[a],a,this))return o+1}return o},ne.prototype.__iterator=function(e,t){var n=this._object,i=this._keys,r=i.length-1,o=0;return new M((function(){var a=i[t?r-o:o];return o++>r?N():Q(e,a,n[a])}))},ne.prototype[f]=!0,t(ie,Y),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=q(this._iterable),i=0;if(B(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=q(this._iterable);if(!B(n))return new M(N);var i=0;return new M((function(){var t=n.next();return t.done?t:Q(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,o=0;o<r.length;)if(!1===e(r[o],o++,this))return o;for(;!(n=i.next()).done;){var a=n.value;if(r[o]=a,!1===e(a,o++,this))break}return o},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 M((function(){if(r>=i.length){var t=n.next();if(t.done)return t;i[r]=t.value}return Q(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 F(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 M((function(){return i<n.size?Q(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 F(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,o=0;o<=n;o++){if(!1===e(r,o,this))return o+1;r+=t?-i:i}return o},_e.prototype.__iterator=function(e,t){var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,o=0;return new M((function(){var a=r;return r+=t?-i:i,o>n?N():Q(e,o++,a)}))},_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(xe,we),t(ke,we),t(Se,we),we.Keyed=xe,we.Indexed=ke,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 Ce(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>Me?Fe(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 Fe(e){var t=Ue[e];return void 0===t&&(t=Te(e),Ne===Qe&&(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(ze&&void 0!==(t=$e.get(e)))return t;if(void 0!==(t=e[je]))return t;if(!Ie){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[je]))return t;if(void 0!==(t=Le(e)))return t}if(t=++Re,1073741824&Re&&(Re=0),ze)$e.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,je,{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[je]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[je]=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 $e,ze="function"==typeof WeakMap;ze&&($e=new WeakMap);var Re=0,je="__immutablehash__";"function"==typeof Symbol&&(je=Symbol(je));var Me=16,Qe=255,Ne=0,Ue={};function Be(e){Oe(e!==1/0,"Cannot perform this action with an infinite size.")}function qe(e){return null==e?rt():Ge(e)&&!c(e)?e:rt().withMutations((function(t){var n=i(e);Be(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Ge(e){return!(!e||!e[Xe])}t(qe,xe),qe.prototype.toString=function(){return this.__toString("Map {","}")},qe.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},qe.prototype.set=function(e,t){return ot(this,e,t)},qe.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},qe.prototype.remove=function(e){return ot(this,e,b)},qe.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},qe.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},qe.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},qe.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()},qe.prototype.merge=function(){return pt(this,void 0,arguments)},qe.prototype.mergeWith=function(t){return pt(this,t,e.call(arguments,1))},qe.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]}))},qe.prototype.mergeDeep=function(){return pt(this,ht,arguments)},qe.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return pt(this,ft(t),n)},qe.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]}))},qe.prototype.sort=function(e){return Ut(dn(this,e))},qe.prototype.sortBy=function(e,t){return Ut(dn(this,t,e))},qe.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},qe.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new k)},qe.prototype.asImmutable=function(){return this.__ensureOwner()},qe.prototype.wasAltered=function(){return this.__altered},qe.prototype.__iterator=function(e,t){return new et(this,e,t)},qe.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},qe.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)},qe.isMap=Ge;var We,Xe="@@__IMMUTABLE_MAP__@@",Ve=qe.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 Q(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 ot(e,t,n){var i,r;if(e._root){var o=w(O),a=w(_);if(i=at(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;r=e.size+(o.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 at(e,t,n,i,r,o,a,s){return e?e.update(t,n,i,r,o,a,s):o===b?e:(x(s),x(a),new Je(t,i,[r,o]))}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 o,a=(0===n?e.keyHash:e.keyHash>>>n)&y,s=(0===n?i:i>>>n)&y;return new Ze(t,1<<a|1<<s,a===s?[lt(e,t,n+g,i,r)]:(o=new Je(t,i,r),a<s?[e,o]:[o,e]))}function ut(e,t,n,i){e||(e=new k);for(var r=new Je(e,Ce(n),[n,i]),o=0;o<t.length;o++){var a=t[o];r=r.update(e,0,void 0,a[0],a[1])}return r}function ct(e,t,n,i){for(var r=0,o=0,a=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,a[o++]=c)}return new Ze(e,r,a)}function dt(e,t,n,i,r){for(var o=0,a=new Array(v),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[i]=r,new He(e,o+1,a)}function pt(e,t,n){for(var r=[],o=0;o<n.length;o++){var s=n[o],l=i(s);a(s)||(l=l.map((function(e){return he(e)}))),r.push(l)}return mt(e,t,r)}function ht(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):ve(e,t)?e:t}function ft(e){return function(t,n,i){if(t&&t.mergeDeepWith&&a(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,o=t.next();if(o.done){var a=r?n:e,s=i(a);return s===a?e:s}Oe(r||e&&e.set,"invalid keyPath");var l=o.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 o=new Array(r),a=0,s=0;s<r;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}function Ot(e,t,n){var i=e.length-1;if(n&&t===i)return e.pop(),e;for(var r=new Array(i),o=0,a=0;a<i;a++)a===t&&(o=1),r[a]=e[a+o];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,o=0,a=r.length;o<a;o++)if(ve(n,r[o][0]))return r[o][1];return i},Ye.prototype.update=function(e,t,n,i,r,o,a){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(x(a),(s||!d)&&x(o),!s||1!==l.length){if(!d&&!s&&l.length>=_t)return ut(e,l,i,r);var p=e&&e===this.ownerID,h=p?l:S(l);return d?s?u===c-1?h.pop():h[u]=h.pop():h[u]=[i,r]:h.push([i,r]),p?(this.entries=h,this):new Ye(e,h)}},Ze.prototype.get=function(e,t,n,i){void 0===t&&(t=Ce(n));var r=1<<((0===e?t:t>>>e)&y),o=this.bitmap;return 0==(o&r)?i:this.nodes[vt(o&r-1)].get(e+g,t,n,i)},Ze.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Ce(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),p=this.nodes,h=c?p[d]:void 0,f=at(h,e,t+g,n,i,r,o,a);if(f===h)return this;if(!c&&f&&p.length>=wt)return dt(e,p,u,s,f);if(c&&!f&&2===p.length&&st(p[1^d]))return p[1^d];if(c&&f&&1===p.length&&st(f))return f;var m=e&&e===this.ownerID,v=c?f?u:u^l:u|l,O=c?f?yt(p,d,f,m):Ot(p,d,m):bt(p,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=Ce(n));var r=(0===e?t:t>>>e)&y,o=this.nodes[r];return o?o.get(e+g,t,n,i):i},He.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Ce(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=at(c,e,t+g,n,i,r,o,a);if(d===c)return this;var p=this.count;if(c){if(!d&&--p<xt)return ct(e,u,p,s)}else p++;var h=e&&e===this.ownerID,f=yt(u,s,d,h);return h?(this.count=p,this.nodes=f,this):new He(e,p,f)},Ke.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(ve(n,r[o][0]))return r[o][1];return i},Ke.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Ce(i));var s=r===b;if(n!==this.keyHash)return s?this:(x(a),x(o),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(x(a),(s||!d)&&x(o),s&&2===c)return new Je(e,this.keyHash,l[1^u]);var p=e&&e===this.ownerID,h=p?l:S(l);return d?s?u===c-1?h.pop():h[u]=h.pop():h[u]=[i,r]:h.push([i,r]),p?(this.entries=h,this):new Ke(e,this.keyHash,h)},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,o,a){var s=r===b,l=ve(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(x(a),s?void x(o):l?e&&e===this.ownerID?(this.entry[1]=r,this):new Je(e,this.keyHash,[i,r]):(x(o),lt(this,e,t,Ce(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 o=n[t?r-i:i];if(o&&!1===o.iterate(e,t))return!1}},Je.prototype.iterate=function(e,t){return e(this.entry)},t(et,M),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 o=i.nodes[this._reverse?n-r:r];if(o){if(o.entry)return tt(e,o.entry);t=this._stack=nt(o,t)}continue}t=this._stack=this._stack.__prev}return N()};var _t=v/4,wt=v/2,xt=v/4;function kt(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:(Be(i),i>0&&i<v?It(0,i,g,null,new Ct(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(kt,ke),kt.of=function(){return this(arguments)},kt.prototype.toString=function(){return this.__toString("List [","]")},kt.prototype.get=function(e,t){if((e=E(this,e))>=0&&e<this.size){var n=jt(this,e+=this._origin);return n&&n.array[e&y]}return t},kt.prototype.set=function(e,t){return $t(this,e,t)},kt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},kt.prototype.insert=function(e,t){return this.splice(e,0,t)},kt.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()},kt.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){Mt(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},kt.prototype.pop=function(){return Mt(this,0,-1)},kt.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){Mt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},kt.prototype.shift=function(){return Mt(this,1)},kt.prototype.merge=function(){return Qt(this,void 0,arguments)},kt.prototype.mergeWith=function(t){return Qt(this,t,e.call(arguments,1))},kt.prototype.mergeDeep=function(){return Qt(this,ht,arguments)},kt.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Qt(this,ft(t),n)},kt.prototype.setSize=function(e){return Mt(this,0,e)},kt.prototype.slice=function(e,t){var n=this.size;return F(e,t,n)?this:Mt(this,T(e,n),D(t,n))},kt.prototype.__iterator=function(e,t){var n=0,i=At(this,t);return new M((function(){var t=i();return t===Dt?N():Q(e,n++,t)}))},kt.prototype.__iterate=function(e,t){for(var n,i=0,r=At(this,t);(n=r())!==Dt&&!1!==e(n,i++,this););return i},kt.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)},kt.isList=St;var Pt="@@__IMMUTABLE_LIST__@@",Et=kt.prototype;function Ct(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,Ct.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 Ct([],e);var r,o=0===i;if(t>0){var a=this.array[i];if((r=a&&a.removeBefore(e,t-g,n))===a&&o)return this}if(o&&!r)return this;var s=Rt(this,e);if(!o)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},Ct.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 o=this.array[r];if((i=o&&o.removeAfter(e,t-g,n))===o&&r===this.array.length-1)return this}var a=Rt(this,e);return a.array.splice(r+1),i&&(a.array[r]=i),a};var Ft,Tt,Dt={};function At(e,t){var n=e._origin,i=e._capacity,r=Nt(i),o=e._tail;return a(e._root,e._level,0);function a(e,t,n){return 0===t?s(e,n):l(e,t,n)}function s(e,a){var s=a===r?o&&o.array:e&&e.array,l=a>n?0:n-a,u=i-a;return u>v&&(u=v),function(){if(l===u)return Dt;var e=t?--u:l++;return s&&s[e]}}function l(e,r,o){var s,l=e&&e.array,u=o>n?0:n-o>>r,c=1+(i-o>>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=a(l&&l[n],r-g,o+(n<<r))}}}}function It(e,t,n,i,r,o,a){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=o,s.__hash=a,s.__altered=!1,s}function Lt(){return Ft||(Ft=It(0,0,g))}function $t(e,t,n){if((t=E(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?Mt(e,t).set(0,n):Mt(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,o=w(_);return t>=Nt(e._capacity)?i=zt(i,e.__ownerID,0,t,n,o):r=zt(r,e.__ownerID,e._level,t,n,o),o.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 zt(e,t,n,i,r,o){var a,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=zt(u,t,n-g,i,r,o);return c===u?e:((a=Rt(e,t)).array[s]=c,a)}return l&&e.array[s]===r?e:(x(o),a=Rt(e,t),void 0===r&&s===a.array.length-1?a.array.pop():a.array[s]=r,a)}function Rt(e,t){return t&&e&&t===e.ownerID?e:new Ct(e?e.array.slice():[],t)}function jt(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 Mt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new k,r=e._origin,o=e._capacity,a=r+t,s=void 0===n?o:n<0?o+n:r+n;if(a===r&&s===o)return e;if(a>=s)return e.clear();for(var l=e._level,u=e._root,c=0;a+c<0;)u=new Ct(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=g);c&&(a+=c,r+=c,s+=c,o+=c);for(var d=Nt(o),p=Nt(s);p>=1<<l+g;)u=new Ct(u&&u.array.length?[u]:[],i),l+=g;var h=e._tail,f=p<d?jt(e,s-1):p>d?new Ct([],i):h;if(h&&p>d&&a<o&&h.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]=h}if(s<o&&(f=f&&f.removeAfter(i,0,s)),a>=p)a-=p,s-=p,l=g,u=null,f=f&&f.removeBefore(i,0,a);else if(a>r||p<d){for(c=0;u;){var O=a>>>l&y;if(O!==p>>>l&y)break;O&&(c+=(1<<l)*O),l-=g,u=u.array[O]}u&&a>r&&(u=u.removeBefore(i,l,a-c)),u&&p<d&&(u=u.removeAfter(i,l,p-c)),c&&(a-=c,s-=c)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=l,e._root=u,e._tail=f,e.__hash=void 0,e.__altered=!0,e):It(a,s,l,u,f)}function Qt(e,t,n){for(var i=[],o=0,s=0;s<n.length;s++){var l=n[s],u=r(l);u.size>o&&(o=u.size),a(l)||(u=u.map((function(e){return he(e)}))),i.push(u)}return o>e.size&&(e=e.setSize(o)),mt(e,t,i)}function Nt(e){return e<v?0:e-1>>>g<<g}function Ut(e){return null==e?Gt():Bt(e)?e:Gt().withMutations((function(t){var n=i(e);Be(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Bt(e){return Ge(e)&&c(e)}function qt(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=qt(rt(),Lt()))}function Wt(e,t,n){var i,r,o=e._map,a=e._list,s=o.get(t),l=void 0!==s;if(n===b){if(!l)return e;a.size>=v&&a.size>=2*o.size?(r=a.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=o.remove(t),r=s===a.size-1?a.pop():a.set(s,void 0))}else if(l){if(n===a.get(s)[1])return e;i=o,r=a.set(s,[t,n])}else i=o.set(t,a.size),r=a.set(a.size,[t,n]);return e.__ownerID?(e.size=i.size,e._map=i,e._list=r,e.__hash=void 0,e):qt(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===$){var i=e.__iterator(t,n);return new M((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 o=e.get(i,b);return o===b?r:t.call(n,o,i,e)},i.__iterateUncached=function(i,r){var o=this;return e.__iterate((function(e,r,a){return!1!==i(t.call(n,e,r,a),r,o)}),r)},i.__iteratorUncached=function(i,r){var o=e.__iterator($,r);return new M((function(){var r=o.next();if(r.done)return r;var a=r.value,s=a[0];return Q(i,s,t.call(n,a[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 o=e.get(i,b);return o!==b&&t.call(n,o,i,e)?o:r}),r.__iterateUncached=function(r,o){var a=this,s=0;return e.__iterate((function(e,o,l){if(t.call(n,e,o,l))return s++,r(e,i?o:s-1,a)}),o),s},r.__iteratorUncached=function(r,o){var a=e.__iterator($,o),s=0;return new M((function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return Q(r,i?u:s++,c,o)}}))},r}function tn(e,t,n){var i=qe().asMutable();return e.__iterate((function(r,o){i.update(t.call(n,r,o,e),0,(function(e){return e+1}))})),i.asImmutable()}function nn(e,t,n){var i=s(e),r=(c(e)?Ut():qe()).asMutable();e.__iterate((function(o,a){r.update(t.call(n,o,a,e),(function(e){return(e=e||[]).push(i?[a,o]:o),e}))}));var o=yn(e);return r.map((function(t){return mn(e,o(t))}))}function rn(e,t,n,i){var r=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),F(t,n,r))return e;var o=T(t,r),a=D(n,r);if(o!=o||a!=a)return rn(e.toSeq().cacheResult(),t,n,i);var s,l=a-o;l==l&&(s=l<0?0:l);var u=bn(e);return u.size=0===s?s:e.size&&s||void 0,!i&&oe(e)&&s>=0&&(u.get=function(t,n){return(t=E(this,t))>=0&&t<s?e.get(t+o,n):n}),u.__iterateUncached=function(t,n){var r=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,l=!0,u=0;return e.__iterate((function(e,n){if(!l||!(l=a++<o))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),a=0,l=0;return new M((function(){for(;a++<o;)r.next();if(++l>s)return N();var e=r.next();return i||t===L?e:Q(t,l-1,t===I?void 0:e.value[1],e)}))},u}function on(e,t,n){var i=bn(e);return i.__iterateUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterate(i,r);var a=0;return e.__iterate((function(e,r,s){return t.call(n,e,r,s)&&++a&&i(e,r,o)})),a},i.__iteratorUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterator(i,r);var a=e.__iterator($,r),s=!0;return new M((function(){if(!s)return N();var e=a.next();if(e.done)return e;var r=e.value,l=r[0],u=r[1];return t.call(n,u,l,o)?i===$?e:Q(i,l,u,e):(s=!1,N())}))},i}function an(e,t,n,i){var r=bn(e);return r.__iterateUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterate(r,o);var s=!0,l=0;return e.__iterate((function(e,o,u){if(!s||!(s=t.call(n,e,o,u)))return l++,r(e,i?o:l-1,a)})),l},r.__iteratorUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterator(r,o);var s=e.__iterator($,o),l=!0,u=0;return new M((function(){var e,o,c;do{if((e=s.next()).done)return i||r===L?e:Q(r,u++,r===I?void 0:e.value[1],e);var d=e.value;o=d[0],c=d[1],l&&(l=t.call(n,c,o,a))}while(l);return r===$?e:Q(r,o,c,e)}))},r}function sn(e,t){var n=s(e),r=[e].concat(t).map((function(e){return a(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 o=r[0];if(o===e||n&&s(o)||l(e)&&l(o))return o}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 o=0,s=!1;function l(e,u){var c=this;e.__iterate((function(e,r){return(!t||u<t)&&a(e)?l(e,u+1):!1===i(e,n?r:o++,c)&&(s=!0),!s}),r)}return l(e,0),o},i.__iteratorUncached=function(i,r){var o=e.__iterator(i,r),s=[],l=0;return new M((function(){for(;o;){var e=o.next();if(!1===e.done){var u=e.value;if(i===$&&(u=u[1]),t&&!(s.length<t)||!a(u))return n?e:Q(i,l++,u,e);s.push(o),o=u.__iterator(i,r)}else o=s.pop()}return N()}))},i}function un(e,t,n){var i=yn(e);return e.toSeq().map((function(r,o){return i(t.call(n,r,o,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,o=0;return e.__iterate((function(e,i){return(!o||!1!==n(t,o++,r))&&!1!==n(e,o++,r)}),i),o},n.__iteratorUncached=function(n,i){var r,o=e.__iterator(L,i),a=0;return new M((function(){return(!r||a%2)&&(r=o.next()).done?r:a%2?Q(n,a++,t):Q(n,a++,r.value,r)}))},n}function dn(e,t,n){t||(t=_n);var i=s(e),r=0,o=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),i?V(o):l(e)?Y(o):Z(o)}function pn(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 hn(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return hn(t,e,n)?n:e}))}function hn(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 o=i.map((function(e){return e=n(e),q(r?e.reverse():e)})),a=0,s=!1;return new M((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?N():Q(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function mn(e,t){return oe(e)?t:e.constructor(t)}function gn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function vn(e){return Be(e.size),P(e)}function yn(e){return s(e)?i:l(e)?r:o}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=q(e);if(!t){if(!W(e))throw new TypeError("Expected iterable or array-like: "+e);t=q(n(e))}return t}function xn(e,t){var n,i=function(o){if(o instanceof i)return o;if(!(this instanceof i))return new i(o);if(!n){n=!0;var a=Object.keys(e);En(r,a),r.size=a.length,r._name=t,r._keys=a,r._defaultValues=e}this._map=qe(o)},r=i.prototype=Object.create(kn);return r.constructor=i,i}t(Ut,qe),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?qt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Ut.isOrderedMap=Bt,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 M((function(){var r=n.next();return r.done?r:Q(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 M((function(){var t=n.next();return t.done?t:Q(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 M((function(){var t=n.next();return t.done?t:Q(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=a(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 M((function(){for(;;){var t=n.next();if(t.done)return t;var i=t.value;if(i){gn(i);var r=a(i);return Q(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(xn,xe),xn.prototype.toString=function(){return this.__toString(Pn(this)+" {","}")},xn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},xn.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},xn.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()))},xn.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)},xn.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)},xn.prototype.wasAltered=function(){return this._map.wasAltered()},xn.prototype.__iterator=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},xn.prototype.__iterate=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},xn.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 kn=xn.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(Cn.bind(void 0,e))}catch(e){}}function Cn(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 Fn(e){return null==e?zn():Tn(e)&&!c(e)?e:zn().withMutations((function(t){var n=o(e);Be(n.size),n.forEach((function(e){return t.add(e)}))}))}function Tn(e){return!(!e||!e[An])}kn[m]=kn.remove,kn.deleteIn=kn.removeIn=Ve.removeIn,kn.merge=Ve.merge,kn.mergeWith=Ve.mergeWith,kn.mergeIn=Ve.mergeIn,kn.mergeDeep=Ve.mergeDeep,kn.mergeDeepWith=Ve.mergeDeepWith,kn.mergeDeepIn=Ve.mergeDeepIn,kn.setIn=Ve.setIn,kn.update=Ve.update,kn.updateIn=Ve.updateIn,kn.withMutations=Ve.withMutations,kn.asMutable=Ve.asMutable,kn.asImmutable=Ve.asImmutable,t(Fn,Se),Fn.of=function(){return this(arguments)},Fn.fromKeys=function(e){return this(i(e).keySeq())},Fn.prototype.toString=function(){return this.__toString("Set {","}")},Fn.prototype.has=function(e){return this._map.has(e)},Fn.prototype.add=function(e){return Ln(this,this._map.set(e,!0))},Fn.prototype.remove=function(e){return Ln(this,this._map.remove(e))},Fn.prototype.clear=function(){return Ln(this,this._map.clear())},Fn.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++)o(t[n]).forEach((function(t){return e.add(t)}))})):this.constructor(t[0])},Fn.prototype.intersect=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return o(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.every((function(e){return e.includes(n)}))||e.remove(n)}))}))},Fn.prototype.subtract=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return o(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.some((function(e){return e.includes(n)}))&&e.remove(n)}))}))},Fn.prototype.merge=function(){return this.union.apply(this,arguments)},Fn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},Fn.prototype.sort=function(e){return Rn(dn(this,e))},Fn.prototype.sortBy=function(e,t){return Rn(dn(this,t,e))},Fn.prototype.wasAltered=function(){return this._map.wasAltered()},Fn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,i){return e(i,i,n)}),t)},Fn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Fn.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)},Fn.isSet=Tn;var Dn,An="@@__IMMUTABLE_SET__@@",In=Fn.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 $n(e,t){var n=Object.create(In);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function zn(){return Dn||(Dn=$n(rt()))}function Rn(e){return null==e?Un():jn(e)?e:Un().withMutations((function(t){var n=o(e);Be(n.size),n.forEach((function(e){return t.add(e)}))}))}function jn(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=zn,In.__make=$n,t(Rn,Fn),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=jn;var Mn,Qn=Rn.prototype;function Nn(e,t){var n=Object.create(Qn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Un(){return Mn||(Mn=Nn(Gt()))}function Bn(e){return null==e?Yn():qn(e)?e:Yn().unshiftAll(e)}function qn(e){return!(!e||!e[Wn])}Qn[f]=!0,Qn.__empty=Un,Qn.__make=Nn,t(Bn,ke),Bn.of=function(){return this(arguments)},Bn.prototype.toString=function(){return this.__toString("Stack [","]")},Bn.prototype.get=function(e,t){var n=this._head;for(e=E(this,e);n&&e--;)n=n.next;return n?n.value:t},Bn.prototype.peek=function(){return this._head&&this._head.value},Bn.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)},Bn.prototype.pushAll=function(e){if(0===(e=r(e)).size)return this;Be(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)},Bn.prototype.pop=function(){return this.slice(1)},Bn.prototype.unshift=function(){return this.push.apply(this,arguments)},Bn.prototype.unshiftAll=function(e){return this.pushAll(e)},Bn.prototype.shift=function(){return this.pop.apply(this,arguments)},Bn.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()},Bn.prototype.slice=function(e,t){if(F(e,t,this.size))return this;var n=T(e,this.size);if(D(t,this.size)!==this.size)return ke.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)},Bn.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)},Bn.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},Bn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,i=this._head;return new M((function(){if(i){var t=i.value;return i=i.next,Q(e,n++,t)}return N()}))},Bn.isStack=qn;var Gn,Wn="@@__IMMUTABLE_STACK__@@",Xn=Bn.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=M,Zn(n,{toArray:function(){Be(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 qe(this.toKeyedSeq())},toObject:function(){Be(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 Fn(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 Bn(s(this)?this.valueSeq():this)},toList:function(){return kt(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($)},every:function(e,t){Be(this.size);var n=!0;return this.__iterate((function(i,r,o){if(!e.call(t,i,r,o))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,o){if(e.call(t,i,r,o))return n=[r,i],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return Be(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Be(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 Be(this.size),arguments.length<2?r=!0:i=t,this.__iterate((function(t,o,a){r?(r=!1,i=t):i=e.call(n,i,t,o,a)})),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(C)},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 o=n.value;if((i=i&&i.get?i.get(o,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 pn(this,e)},maxBy:function(e,t){return pn(this,t,e)},min:function(e){return pn(this,e?ni(e):oi)},minBy:function(e,t){return pn(this,t?ni(t):oi,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,an(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,on(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=ai(this))}});var Hn=n.prototype;Hn[d]=!0,Hn[j]=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,o){return e.call(t,[o,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 oi(e,t){return e<t?1:e>t?-1:0}function ai(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(Ce(e),Ce(t))|0}:function(e,t){i=i+li(Ce(e),Ce(t))|0}:t?function(e){i=31*i+Ce(e)|0}:function(e){i=i+Ce(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[p]=!0,Kn[j]=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,an(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[h]=!0,r.prototype[f]=!0,Zn(o,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=Hn.includes,Zn(V,i.prototype),Zn(Y,r.prototype),Zn(Z,o.prototype),Zn(xe,i.prototype),Zn(ke,r.prototype),Zn(Se,o.prototype),{Iterable:n,Seq:X,Collection:we,Map:qe,OrderedMap:Ut,List:kt,Stack:Bn,Set:Fn,OrderedSet:Rn,Record:xn,Range:_e,Repeat:be,is:ve,fromJS:he}}()}(qct);var Gct=function(e){var t=document.implementation.createHTMLDocument("");return t.documentElement.innerHTML=e,t};function Wct(e){var t;"undefined"!=typeof DOMParser?null!==(t=(new DOMParser).parseFromString(e,"text/html"))&&null!==t.body||(t=Gct(e)):t=Gct(e);return t.body}var Xct=" ",Vct=new RegExp("\r","g"),Yct=new RegExp("\n","g"),Zct=new RegExp("&nbsp;","g"),Hct=new RegExp("\r","g"),Kct=["p","h1","h2","h3","h4","h5","h6","li","blockquote","pre"],Jct={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},edt=function(e,t){return e&&!0===e.__isMiddleware?e(t):e},tdt=function(e,t,n){},ndt=function(e,t,n){return n},idt=function(e,t){},rdt=function(e){return[]},odt=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")};function adt(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:qct.exports.Map();return!0===n?{text:"\r",inlines:[qct.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:i,depth:Math.max(0,Math.min(4,t))}],isNewline:!0}:{text:"\n",inlines:[qct.exports.OrderedSet()],entities:new Array(1),blocks:[]}}function sdt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:qct.exports.Map();return{text:"\r",inlines:[qct.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:n,depth:Math.max(0,Math.min(4,t))}]}}function ldt(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 udt(e,t,n){return ldt(e,n)}function cdt(e,t,n){var i=Jct[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 ddt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:qct.exports.OrderedSet();return cdt(e,t,n)}function pdt(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=t.text.slice(0,1),r=e.text.slice(-1),o="\r"===r&&"\r"===i,a="\r"!==e.text&&"\r"!==t.text,s="\r"===e.text&&!e.isNewline&&t.isNewline;if(o&&(a||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===Xct||"\n"===t.text)return e;i!==Xct&&"\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 hdt(e,t,n,i,r,o,a,s,l,u,c,d,p,h,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:Xct,inlines:[qct.exports.OrderedSet()],entities:t,blocks:[]}}(m);"code-block"!==i&&(b=b.replace(Yct,Xct));var O=Array(b.length).fill(m),_=0;return l(b,c,d,p,h).sort(mct).forEach((function(e){var t=e.entity,n=e.offset,i=e.length,r=e.result,o=n+_;null==r&&(r=b.substr(o,i));var a=b.split("");a.splice.bind(a,o,i).apply(a,r.split("")),b=a.join(""),O.splice.bind(O,o,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?adt("unstyled",o,!0):adt(w||"unstyled",o,f.flat)}var x={text:"",inlines:[],entities:[],blocks:[]};t=a(g,e,t=cdt(g,e,t)),"ul"!==g&&"ol"!==g||(n&&(o+=1),n=g,i=null);var k,S,P=u(g,e,n,i);if(!1===P)return{text:"",inlines:[],entities:[],blocks:[]};if("string"==typeof(P=P||{})?(k=P,S=qct.exports.Map()):(k="string"==typeof P?P:P.type,S=P.data?qct.exports.Map(P.data):qct.exports.Map()),i||-1===r.indexOf(g)&&!k)if(!n||"ordered-list-item"!==i&&"unordered-list-item"!==i||"li"!==g)i&&"atomic"!==i&&"atomic"===k&&(i=k,v=!0,x=adt(k,o,!0,S));else{var E=ldt(g,n);x=sdt(E,o),i=E,v=!0,y="ul"===n?"unordered-list-item":"ordered-list-item"}else x=sdt(k||ldt(g,n),o,S),i=k||ldt(g,n),v=!0;var C=e.firstChild;null!=C||!m||"atomic"!==k&&"atomic"!==i||(C=document.createTextNode("a")),null!=C&&(g=C.nodeName.toLowerCase());for(var F=null;C;){F=s(g,C,c,d,p,h),x=pdt(x,hdt(C,t,n,i,r,o,a,s,l,u,c,d,p,h,f,F||m),f.flat);var T=C.nextSibling;if(T&&r.indexOf(g)>=0&&i){var D=u(g,C,n,i),A=void 0,I=void 0;!1!==D&&("string"==typeof(D=D||{})?(A=D,I=qct.exports.Map()):(A=D.type||ldt(g,n),I=D.data?qct.exports.Map(D.data):qct.exports.Map()),x=pdt(x,adt(A,o,f.flat,I),f.flat))}T&&(g=T.nodeName.toLowerCase()),C=T}return v&&(x=pdt(x,sdt(y,o,qct.exports.Map()),f.flat)),x}function fdt(e,t,n,i,r,o,a,s,l,u,c){var d=c(e=e.trim().replace(Vct,"").replace(Zct,Xct));if(!d)return null;var p=function(e){return Kct.some((function(t){return-1!==e.indexOf("<".concat(t))}))}(e)?Kct.concat(["div"]):["div"],h=hdt(d,qct.exports.OrderedSet(),"ul",null,p,-1,t,n,i,r,o,a,s,l,u);return 0===h.text.indexOf("\r")&&(h={text:h.text.slice(1),inlines:h.inlines.slice(1),entities:h.entities.slice(1),blocks:h.blocks}),"\r"===h.text.slice(-1)&&(h.text=h.text.slice(0,-1),h.inlines=h.inlines.slice(0,-1),h.entities=h.entities.slice(0,-1),h.blocks.pop()),0===h.blocks.length&&h.blocks.push({type:"unstyled",data:qct.exports.Map(),depth:0}),h.text.split("\r").length===h.blocks.length+1&&h.blocks.unshift({type:"unstyled",data:qct.exports.Map(),depth:0}),h}function mdt(e,t,n,i,r,o,a,s,l,u,c,d){var p=fdt(e,t,n,i,r,o,a,s,l,u,c);if(null==p)return[];var h=0;return p.text.split("\r").map((function(e,t){e=e.replace(Hct,"");var n=h+e.length,i=odt(p).inlines.slice(h,n),r=odt(p).entities.slice(h,n),o=qct.exports.List(i.map((function(e,t){var n={style:e,entity:null};return r[t]&&(n.entity=r[t]),hct.CharacterMetadata.create(n)})));return h=n+1,new hct.ContentBlock({key:d(),type:odt(p).blocks[t].type,data:odt(p).blocks[t].data,depth:odt(p).blocks[t].depth,text:e,characterList:o})}))}var gdt=function(e){var t=e.htmlToStyle,n=void 0===t?ndt:t,i=e.htmlToEntity,r=void 0===i?idt:i,o=e.textToEntity,a=void 0===o?rdt:o,s=e.htmlToBlock,l=void 0===s?tdt: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]:Wct,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:hct.genKey,s=hct.ContentState.createFromText(""),u=function(){var e;return s.createEntity?(s=(e=s).createEntity.apply(e,arguments)).getLastCreatedEntityKey():hct.Entity.create.apply(hct.Entity,arguments)},c=function(){var e;return s.getEntity?(e=s).getEntity.apply(e,arguments):hct.Entity.get.apply(hct.Entity,arguments)},d=function(){var e;s.mergeEntityData?s=(e=s).mergeEntityData.apply(e,arguments):hct.Entity.mergeData.apply(hct.Entity,arguments)},p=function(){var e;s.replaceEntityData?s=(e=s).replaceEntityData.apply(e,arguments):hct.Entity.replaceData.apply(hct.Entity,arguments)},h=mdt(e,edt(n,ddt),edt(r,idt),edt(a,rdt),edt(l,udt),u,c,d,p,t,i,o),f=hct.BlockMapBuilder.createFromArray(h),m=h[0].getKey();return s.merge({blockMap:f,selectionBefore:hct.SelectionState.createEmpty(m),selectionAfter:hct.SelectionState.createEmpty(m)})}},vdt=function(){return arguments.length>=1&&"string"==typeof(arguments.length<=0?void 0:arguments[0])?gdt({}).apply(void 0,arguments):gdt.apply(void 0,arguments)};$X('/**\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 ydt=32,bdt=31,Odt={};function _dt(e){e&&(e.value=!0)}function wdt(){}function xdt(e){return void 0===e.size&&(e.size=e.__iterate(Sdt)),e.size}function kdt(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?xdt(e)+t:t}function Sdt(){return!0}function Pdt(e,t,n){return(0===e&&!Tdt(e)||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function Edt(e,t){return Fdt(e,t,0)}function Cdt(e,t){return Fdt(e,t,t)}function Fdt(e,t,n){return void 0===e?n:Tdt(e)?t===1/0?t:0|Math.max(0,t+e):void 0===t||t===e?e:0|Math.min(t,e)}function Tdt(e){return e<0||0===e&&1/e==-1/0}var Ddt="@@__IMMUTABLE_ITERABLE__@@";function Adt(e){return Boolean(e&&e[Ddt])}var Idt="@@__IMMUTABLE_KEYED__@@";function Ldt(e){return Boolean(e&&e[Idt])}var $dt="@@__IMMUTABLE_INDEXED__@@";function zdt(e){return Boolean(e&&e[$dt])}function Rdt(e){return Ldt(e)||zdt(e)}var jdt=function(e){return Adt(e)?e:apt(e)},Mdt=function(e){function t(e){return Ldt(e)?e:spt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(jdt),Qdt=function(e){function t(e){return zdt(e)?e:lpt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(jdt),Ndt=function(e){function t(e){return Adt(e)&&!Rdt(e)?e:upt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(jdt);jdt.Keyed=Mdt,jdt.Indexed=Qdt,jdt.Set=Ndt;var Udt="@@__IMMUTABLE_SEQ__@@";function Bdt(e){return Boolean(e&&e[Udt])}function qdt(e){return Boolean(e&&e["@@__IMMUTABLE_RECORD__@@"])}function Gdt(e){return Adt(e)||qdt(e)}var Wdt="@@__IMMUTABLE_ORDERED__@@";function Xdt(e){return Boolean(e&&e[Wdt])}var Vdt="function"==typeof Symbol&&Symbol.iterator,Ydt="@@iterator",Zdt=Vdt||Ydt,Hdt=function(e){this.next=e};function Kdt(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 Jdt(){return{value:void 0,done:!0}}function ept(e){return!!ipt(e)}function tpt(e){return e&&"function"==typeof e.next}function npt(e){var t=ipt(e);return t&&t.call(e)}function ipt(e){var t=e&&(Vdt&&e[Vdt]||e["@@iterator"]);if("function"==typeof t)return t}Hdt.prototype.toString=function(){return"[Iterator]"},Hdt.KEYS=0,Hdt.VALUES=1,Hdt.ENTRIES=2,Hdt.prototype.inspect=Hdt.prototype.toSource=function(){return this.toString()},Hdt.prototype[Zdt]=function(){return this};var rpt=Object.prototype.hasOwnProperty;function opt(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 apt=function(e){function t(e){return null==e?fpt():Gdt(e)?e.toSeq():function(e){var t=vpt(e);if(t)return t;if("object"==typeof e)return new dpt(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 o=n[t?i-++r:r++];if(!1===e(o[1],o[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 Hdt((function(){if(r===i)return{value:void 0,done:!0};var o=n[t?i-++r:r++];return Kdt(e,o[0],o[1])}))}return this.__iteratorUncached(e,t)},t}(jdt),spt=function(e){function t(e){return null==e?fpt().toKeyedSeq():Adt(e)?Ldt(e)?e.toSeq():e.fromEntrySeq():qdt(e)?e.toSeq():mpt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toKeyedSeq=function(){return this},t}(apt),lpt=function(e){function t(e){return null==e?fpt():Adt(e)?Ldt(e)?e.entrySeq():e.toIndexedSeq():qdt(e)?e.toSeq().entrySeq():gpt(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}(apt),upt=function(e){function t(e){return(Adt(e)&&!Rdt(e)?e:lpt(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}(apt);apt.isSeq=Bdt,apt.Keyed=spt,apt.Set=upt,apt.Indexed=lpt,apt.prototype[Udt]=!0;var cpt=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[kdt(this,e)]:t},t.prototype.__iterate=function(e,t){for(var n=this._array,i=n.length,r=0;r!==i;){var o=t?i-++r:r++;if(!1===e(n[o],o,this))break}return r},t.prototype.__iterator=function(e,t){var n=this._array,i=n.length,r=0;return new Hdt((function(){if(r===i)return{value:void 0,done:!0};var o=t?i-++r:r++;return Kdt(e,o,n[o])}))},t}(lpt),dpt=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 rpt.call(this._object,e)},t.prototype.__iterate=function(e,t){for(var n=this._object,i=this._keys,r=i.length,o=0;o!==r;){var a=i[t?r-++o:o++];if(!1===e(n[a],a,this))break}return o},t.prototype.__iterator=function(e,t){var n=this._object,i=this._keys,r=i.length,o=0;return new Hdt((function(){if(o===r)return{value:void 0,done:!0};var a=i[t?r-++o:o++];return Kdt(e,a,n[a])}))},t}(spt);dpt.prototype[Wdt]=!0;var ppt,hpt=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=npt(this._collection),i=0;if(tpt(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=npt(this._collection);if(!tpt(n))return new Hdt(Jdt);var i=0;return new Hdt((function(){var t=n.next();return t.done?t:Kdt(e,i++,t.value)}))},t}(lpt);function fpt(){return ppt||(ppt=new cpt([]))}function mpt(e){var t=Array.isArray(e)?new cpt(e):ept(e)?new hpt(e):void 0;if(t)return t.fromEntrySeq();if("object"==typeof e)return new dpt(e);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+e)}function gpt(e){var t=vpt(e);if(t)return t;throw new TypeError("Expected Array or collection object of values: "+e)}function vpt(e){return opt(e)?new cpt(e):ept(e)?new hpt(e):void 0}var ypt="@@__IMMUTABLE_MAP__@@";function bpt(e){return Boolean(e&&e[ypt])}function Opt(e){return bpt(e)&&Xdt(e)}function _pt(e){return Boolean(e&&"function"==typeof e.equals&&"function"==typeof e.hashCode)}function wpt(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!!(_pt(e)&&_pt(t)&&e.equals(t))}var xpt="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 kpt(e){return e>>>1&1073741824|3221225471&e}var Spt=Object.prototype.valueOf;function Ppt(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 kpt(t)}(e);case"string":return e.length>Lpt?function(e){var t=Rpt[e];void 0===t&&(t=Ept(e),zpt===$pt&&(zpt=0,Rpt={}),zpt++,Rpt[e]=t);return t}(e):Ept(e);case"object":case"function":return null===e?1108378658:"function"==typeof e.hashCode?kpt(e.hashCode(e)):(e.valueOf!==Spt&&"function"==typeof e.valueOf&&(e=e.valueOf(e)),function(e){var t;if(Dpt&&void 0!==(t=Tpt.get(e)))return t;if(void 0!==(t=e[Ipt]))return t;if(!Fpt){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Ipt]))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=++Apt,1073741824&Apt&&(Apt=0);if(Dpt)Tpt.set(e,t);else{if(void 0!==Cpt&&!1===Cpt(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Fpt)Object.defineProperty(e,Ipt,{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[Ipt]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Ipt]=t}}return t}(e));case"undefined":return 1108378659;default:if("function"==typeof e.toString)return Ept(e.toString());throw new Error("Value type "+typeof e+" cannot be hashed.")}}function Ept(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return kpt(t)}var Cpt=Object.isExtensible,Fpt=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();var Tpt,Dpt="function"==typeof WeakMap;Dpt&&(Tpt=new WeakMap);var Apt=0,Ipt="__immutablehash__";"function"==typeof Symbol&&(Ipt=Symbol(Ipt));var Lpt=16,$pt=255,zpt=0,Rpt={},jpt=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=qpt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},t.prototype.map=function(e,t){var n=this,i=Bpt(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}(spt);jpt.prototype[Wdt]=!0;var Mpt=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&&xdt(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&&xdt(this),new Hdt((function(){var o=i.next();return o.done?o:Kdt(e,t?n.size-++r:r++,o.value,o)}))},t}(lpt),Qpt=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 Hdt((function(){var t=n.next();return t.done?t:Kdt(e,t.value,t.value,t)}))},t}(upt),Npt=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){tht(t);var i=Adt(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 Hdt((function(){for(;;){var t=n.next();if(t.done)return t;var i=t.value;if(i){tht(i);var r=Adt(i);return Kdt(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},t}(spt);function Upt(e){var t=iht(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=rht,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 Hdt((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 Bpt(e,t,n){var i=iht(e);return i.size=e.size,i.has=function(t){return e.has(t)},i.get=function(i,r){var o=e.get(i,Odt);return o===Odt?r:t.call(n,o,i,e)},i.__iterateUncached=function(i,r){var o=this;return e.__iterate((function(e,r,a){return!1!==i(t.call(n,e,r,a),r,o)}),r)},i.__iteratorUncached=function(i,r){var o=e.__iterator(2,r);return new Hdt((function(){var r=o.next();if(r.done)return r;var a=r.value,s=a[0];return Kdt(i,s,t.call(n,a[1],s,e),r)}))},i}function qpt(e,t){var n=this,i=iht(e);return i._iter=e,i.size=e.size,i.reverse=function(){return e},e.flip&&(i.flip=function(){var t=Upt(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=rht,i.__iterate=function(n,i){var r=this,o=0;return i&&xdt(e),e.__iterate((function(e,a){return n(e,t?a:i?r.size-++o:o++,r)}),!i)},i.__iterator=function(i,r){var o=0;r&&xdt(e);var a=e.__iterator(2,!r);return new Hdt((function(){var e=a.next();if(e.done)return e;var s=e.value;return Kdt(i,t?s[0]:r?n.size-++o:o++,s[1],e)}))},i}function Gpt(e,t,n,i){var r=iht(e);return i&&(r.has=function(i){var r=e.get(i,Odt);return r!==Odt&&!!t.call(n,r,i,e)},r.get=function(i,r){var o=e.get(i,Odt);return o!==Odt&&t.call(n,o,i,e)?o:r}),r.__iterateUncached=function(r,o){var a=this,s=0;return e.__iterate((function(e,o,l){if(t.call(n,e,o,l))return s++,r(e,i?o:s-1,a)}),o),s},r.__iteratorUncached=function(r,o){var a=e.__iterator(2,o),s=0;return new Hdt((function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return Kdt(r,i?u:s++,c,o)}}))},r}function Wpt(e,t,n,i){var r=e.size;if(Pdt(t,n,r))return e;var o=Edt(t,r),a=Cdt(n,r);if(o!=o||a!=a)return Wpt(e.toSeq().cacheResult(),t,n,i);var s,l=a-o;l==l&&(s=l<0?0:l);var u=iht(e);return u.size=0===s?s:e.size&&s||void 0,!i&&Bdt(e)&&s>=0&&(u.get=function(t,n){return(t=kdt(this,t))>=0&&t<s?e.get(t+o,n):n}),u.__iterateUncached=function(t,n){var r=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,l=!0,u=0;return e.__iterate((function(e,n){if(!l||!(l=a++<o))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 Hdt(Jdt);var r=e.__iterator(t,n),a=0,l=0;return new Hdt((function(){for(;a++<o;)r.next();if(++l>s)return{value:void 0,done:!0};var e=r.next();return i||1===t||e.done?e:Kdt(t,l-1,0===t?void 0:e.value[1],e)}))},u}function Xpt(e,t,n,i){var r=iht(e);return r.__iterateUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterate(r,o);var s=!0,l=0;return e.__iterate((function(e,o,u){if(!s||!(s=t.call(n,e,o,u)))return l++,r(e,i?o:l-1,a)})),l},r.__iteratorUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterator(r,o);var s=e.__iterator(2,o),l=!0,u=0;return new Hdt((function(){var e,o,c;do{if((e=s.next()).done)return i||1===r?e:Kdt(r,u++,0===r?void 0:e.value[1],e);var d=e.value;o=d[0],c=d[1],l&&(l=t.call(n,c,o,a))}while(l);return 2===r?e:Kdt(r,o,c,e)}))},r}function Vpt(e,t){var n=Ldt(e),i=[e].concat(t).map((function(e){return Adt(e)?n&&(e=Mdt(e)):e=n?mpt(e):gpt(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&&Ldt(r)||zdt(e)&&zdt(r))return r}var o=new cpt(i);return n?o=o.toKeyedSeq():zdt(e)||(o=o.toSetSeq()),(o=o.flatten(!0)).size=i.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),o}function Ypt(e,t,n){var i=iht(e);return i.__iterateUncached=function(r,o){if(o)return this.cacheResult().__iterate(r,o);var a=0,s=!1;return function e(l,u){l.__iterate((function(o,l){return(!t||u<t)&&Adt(o)?e(o,u+1):(a++,!1===r(o,n?l:a-1,i)&&(s=!0)),!s}),o)}(e,0),a},i.__iteratorUncached=function(i,r){if(r)return this.cacheResult().__iterator(i,r);var o=e.__iterator(i,r),a=[],s=0;return new Hdt((function(){for(;o;){var e=o.next();if(!1===e.done){var l=e.value;if(2===i&&(l=l[1]),t&&!(a.length<t)||!Adt(l))return n?e:Kdt(i,s++,l,e);a.push(o),o=l.__iterator(i,r)}else o=a.pop()}return{value:void 0,done:!0}}))},i}function Zpt(e,t,n){t||(t=oht);var i=Ldt(e),r=0,o=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).valueSeq().toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),i?spt(o):zdt(e)?lpt(o):upt(o)}function Hpt(e,t,n){if(t||(t=oht),n){var i=e.toSeq().map((function(t,i){return[t,n(t,i,e)]})).reduce((function(e,n){return Kpt(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return Kpt(t,e,n)?n:e}))}function Kpt(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function Jpt(e,t,n,i){var r=iht(e),o=new cpt(n).map((function(e){return e.size}));return r.size=i?o.max():o.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 o=n.map((function(e){return e=jdt(e),npt(r?e.reverse():e)})),a=0,s=!1;return new Hdt((function(){var n;return s||(n=o.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}:Kdt(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function eht(e,t){return e===t?e:Bdt(e)?t:e.constructor(t)}function tht(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function nht(e){return Ldt(e)?Mdt:zdt(e)?Qdt:Ndt}function iht(e){return Object.create((Ldt(e)?spt:zdt(e)?lpt:upt).prototype)}function rht(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):apt.prototype.cacheResult.call(this)}function oht(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 aht(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 sht(e,t){if(!e)throw new Error(t)}function lht(e){sht(e!==1/0,"Cannot perform this action with an infinite size.")}function uht(e){if(opt(e)&&"string"!=typeof e)return e;if(Xdt(e))return e.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+e)}function cht(e){return"object"==typeof e&&(Gdt(e)||Array.isArray(e)||function(e){return e&&("function"!=typeof e.constructor||"Object"===e.constructor.name)}(e))}function dht(e){try{return"string"==typeof e?JSON.stringify(e):String(e)}catch(t){return JSON.stringify(e)}}function pht(e,t,n){return Gdt(e)?e.get(t,n):function(e,t){return Gdt(e)?e.has(t):cht(e)&&rpt.call(e,t)}(e,t)?"function"==typeof e.get?e.get(t):e[t]:n}function hht(e){if(Array.isArray(e))return aht(e);var t={};for(var n in e)rpt.call(e,n)&&(t[n]=e[n]);return t}function fht(e,t,n,i){i||(i=n,n=void 0);var r=mht(Gdt(e),e,uht(t),0,n,i);return r===Odt?n:r}function mht(e,t,n,i,r,o){var a=t===Odt;if(i===n.length){var s=a?r:t,l=o(s);return l===s?t:l}if(!a&&!cht(t))throw new TypeError("Cannot update within non-data-structure value in path ["+n.slice(0,i).map(dht)+"]: "+t);var u=n[i],c=a?Odt:pht(t,u,Odt),d=mht(c===Odt?e:Gdt(c),c,n,i+1,r,o);return d===c?t:d===Odt?function(e,t){if(!cht(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(Gdt(e)){if(!e.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+e);return e.remove(t)}if(!rpt.call(e,t))return e;var n=hht(e);return Array.isArray(n)?n.splice(t,1):delete n[t],n}(t,u):function(e,t,n){if(!cht(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(Gdt(e)){if(!e.set)throw new TypeError("Cannot update immutable value without .set() method: "+e);return e.set(t,n)}if(rpt.call(e,t)&&n===e[t])return e;var i=hht(e);return i[t]=n,i}(a?e?Uht():{}:t,u,d)}function ght(e,t){return function(e,t,n){return fht(e,t,Odt,(function(){return n}))}(this,e,t)}function vht(e){return function(e,t){return fht(e,t,(function(){return Odt}))}(this,e)}function yht(e,t,n,i){return fht(e,[t],n,i)}function bht(e,t,n){return 1===arguments.length?e(this):yht(this,e,t,n)}function Oht(e,t,n){return fht(this,e,t,n)}function _ht(e,t,n){for(var i=[],r=0;r<t.length;r++){var o=Mdt(t[r]);0!==o.size&&i.push(o)}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){yht(e,i,Odt,(function(e){return e===Odt?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 wht(e,t,n){return xht(e,t,function(e){function t(n,i,r){return cht(n)&&cht(i)?xht(n,[i],t):e?e(n,i,r):i}return t}(n))}function xht(e,t,n){if(!cht(e))throw new TypeError("Cannot merge into non-data-structure value: "+e);if(Gdt(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,o=i?Qdt:Mdt,a=i?function(t){r===e&&(r=hht(r)),r.push(t)}:function(t,i){var o=rpt.call(r,i),a=o&&n?n(r[i],t,i):t;o&&a===r[i]||(r===e&&(r=hht(r)),r[i]=a)},s=0;s<t.length;s++)o(t[s]).forEach(a);return r}function kht(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return fht(this,e,Uht(),(function(e){return xht(e,t)}))}function Sht(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return fht(this,e,Uht(),(function(e){return wht(e,t)}))}function Pht(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this}function Eht(){return this.__ownerID?this:this.__ensureOwner(new wdt)}function Cht(){return this.__ensureOwner()}function Fht(){return this.__altered}Mpt.prototype.cacheResult=jpt.prototype.cacheResult=Qpt.prototype.cacheResult=Npt.prototype.cacheResult=rht;var Tht=function(e){function t(t){return null==t?Uht():bpt(t)&&!Xdt(t)?t:Uht().withMutations((function(n){var i=e(t);lht(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 Uht().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 Bht(this,e,t)},t.prototype.remove=function(e){return Bht(this,e,Odt)},t.prototype.deleteAll=function(e){var t=jdt(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):Uht()},t.prototype.sort=function(e){return fft(Zpt(this,e))},t.prototype.sortBy=function(e,t){return fft(Zpt(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 jht(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?Nht(this.size,this._root,e,this.__hash):0===this.size?Uht():(this.__ownerID=e,this.__altered=!1,this)},t}(Mdt);Tht.isMap=bpt;var Dht=Tht.prototype;Dht[ypt]=!0,Dht.delete=Dht.remove,Dht.removeAll=Dht.deleteAll,Dht.setIn=ght,Dht.removeIn=Dht.deleteIn=vht,Dht.update=bht,Dht.updateIn=Oht,Dht.merge=Dht.concat=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return _ht(this,e)},Dht.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 _ht(this,t,e)},Dht.mergeDeep=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return wht(this,e)},Dht.mergeDeepWith=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return wht(this,t,e)},Dht.mergeIn=kht,Dht.mergeDeepIn=Sht,Dht.withMutations=Pht,Dht.wasAltered=Fht,Dht.asImmutable=Cht,Dht["@@transducer/init"]=Dht.asMutable=Eht,Dht["@@transducer/step"]=function(e,t){return e.set(t[0],t[1])},Dht["@@transducer/result"]=function(e){return e.asImmutable()};var Aht=function(e,t){this.ownerID=e,this.entries=t};Aht.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(wpt(n,r[o][0]))return r[o][1];return i},Aht.prototype.update=function(e,t,n,i,r,o,a){for(var s=r===Odt,l=this.entries,u=0,c=l.length;u<c&&!wpt(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(_dt(a),(s||!d)&&_dt(o),!s||1!==l.length){if(!d&&!s&&l.length>=Yht)return function(e,t,n,i){e||(e=new wdt);for(var r=new zht(e,Ppt(n),[n,i]),o=0;o<t.length;o++){var a=t[o];r=r.update(e,0,void 0,a[0],a[1])}return r}(e,l,i,r);var p=e&&e===this.ownerID,h=p?l:aht(l);return d?s?u===c-1?h.pop():h[u]=h.pop():h[u]=[i,r]:h.push([i,r]),p?(this.entries=h,this):new Aht(e,h)}};var Iht=function(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n};Iht.prototype.get=function(e,t,n,i){void 0===t&&(t=Ppt(n));var r=1<<((0===e?t:t>>>e)&bdt),o=this.bitmap;return 0==(o&r)?i:this.nodes[Xht(o&r-1)].get(e+5,t,n,i)},Iht.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Ppt(i));var s=(0===t?n:n>>>t)&bdt,l=1<<s,u=this.bitmap,c=0!=(u&l);if(!c&&r===Odt)return this;var d=Xht(u&l-1),p=this.nodes,h=c?p[d]:void 0,f=qht(h,e,t+5,n,i,r,o,a);if(f===h)return this;if(!c&&f&&p.length>=Zht)return function(e,t,n,i,r){for(var o=0,a=new Array(ydt),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[i]=r,new Lht(e,o+1,a)}(e,p,u,s,f);if(c&&!f&&2===p.length&&Ght(p[1^d]))return p[1^d];if(c&&f&&1===p.length&&Ght(f))return f;var m=e&&e===this.ownerID,g=c?f?u:u^l:u|l,v=c?f?Vht(p,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),o=0,a=0;a<i;a++)a===t&&(o=1),r[a]=e[a+o];return r}(p,d,m):function(e,t,n,i){var r=e.length+1;if(i&&t+1===r)return e[t]=n,e;for(var o=new Array(r),a=0,s=0;s<r;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}(p,d,f,m);return m?(this.bitmap=g,this.nodes=v,this):new Iht(e,g,v)};var Lht=function(e,t,n){this.ownerID=e,this.count=t,this.nodes=n};Lht.prototype.get=function(e,t,n,i){void 0===t&&(t=Ppt(n));var r=(0===e?t:t>>>e)&bdt,o=this.nodes[r];return o?o.get(e+5,t,n,i):i},Lht.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Ppt(i));var s=(0===t?n:n>>>t)&bdt,l=r===Odt,u=this.nodes,c=u[s];if(l&&!c)return this;var d=qht(c,e,t+5,n,i,r,o,a);if(d===c)return this;var p=this.count;if(c){if(!d&&--p<Hht)return function(e,t,n,i){for(var r=0,o=0,a=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,a[o++]=c)}return new Iht(e,r,a)}(e,u,p,s)}else p++;var h=e&&e===this.ownerID,f=Vht(u,s,d,h);return h?(this.count=p,this.nodes=f,this):new Lht(e,p,f)};var $ht=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n};$ht.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(wpt(n,r[o][0]))return r[o][1];return i},$ht.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Ppt(i));var s=r===Odt;if(n!==this.keyHash)return s?this:(_dt(a),_dt(o),Wht(this,e,t,n,[i,r]));for(var l=this.entries,u=0,c=l.length;u<c&&!wpt(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(_dt(a),(s||!d)&&_dt(o),s&&2===c)return new zht(e,this.keyHash,l[1^u]);var p=e&&e===this.ownerID,h=p?l:aht(l);return d?s?u===c-1?h.pop():h[u]=h.pop():h[u]=[i,r]:h.push([i,r]),p?(this.entries=h,this):new $ht(e,this.keyHash,h)};var zht=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n};zht.prototype.get=function(e,t,n,i){return wpt(n,this.entry[0])?this.entry[1]:i},zht.prototype.update=function(e,t,n,i,r,o,a){var s=r===Odt,l=wpt(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(_dt(a),s?void _dt(o):l?e&&e===this.ownerID?(this.entry[1]=r,this):new zht(e,this.keyHash,[i,r]):(_dt(o),Wht(this,e,t,Ppt(i),[i,r])))},Aht.prototype.iterate=$ht.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},Iht.prototype.iterate=Lht.prototype.iterate=function(e,t){for(var n=this.nodes,i=0,r=n.length-1;i<=r;i++){var o=n[t?r-i:i];if(o&&!1===o.iterate(e,t))return!1}},zht.prototype.iterate=function(e,t){return e(this.entry)};var Rht,jht=function(e){function t(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&Qht(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 Mht(e,n.entry)}else if(n.entries){if(i<=(r=n.entries.length-1))return Mht(e,n.entries[this._reverse?r-i:i])}else if(i<=(r=n.nodes.length-1)){var o=n.nodes[this._reverse?r-i:i];if(o){if(o.entry)return Mht(e,o.entry);t=this._stack=Qht(o,t)}continue}t=this._stack=this._stack.__prev}return{value:void 0,done:!0}},t}(Hdt);function Mht(e,t){return Kdt(e,t[0],t[1])}function Qht(e,t){return{node:e,index:0,__prev:t}}function Nht(e,t,n,i){var r=Object.create(Dht);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function Uht(){return Rht||(Rht=Nht(0))}function Bht(e,t,n){var i,r;if(e._root){var o={value:!1},a={value:!1};if(i=qht(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;r=e.size+(o.value?n===Odt?-1:1:0)}else{if(n===Odt)return e;r=1,i=new Aht(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=r,e._root=i,e.__hash=void 0,e.__altered=!0,e):i?Nht(r,i):Uht()}function qht(e,t,n,i,r,o,a,s){return e?e.update(t,n,i,r,o,a,s):o===Odt?e:(_dt(s),_dt(a),new zht(t,i,[r,o]))}function Ght(e){return e.constructor===zht||e.constructor===$ht}function Wht(e,t,n,i,r){if(e.keyHash===i)return new $ht(t,i,[e.entry,r]);var o,a=(0===n?e.keyHash:e.keyHash>>>n)&bdt,s=(0===n?i:i>>>n)&bdt,l=a===s?[Wht(e,t,n+5,i,r)]:(o=new zht(t,i,r),a<s?[e,o]:[o,e]);return new Iht(t,1<<a|1<<s,l)}function Xht(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function Vht(e,t,n,i){var r=i?e:aht(e);return r[t]=n,r}var Yht=8,Zht=16,Hht=8,Kht="@@__IMMUTABLE_LIST__@@";function Jht(e){return Boolean(e&&e[Kht])}var eft=function(e){function t(t){var n=sft();if(null==t)return n;if(Jht(t))return t;var i=e(t),r=i.size;return 0===r?n:(lht(r),r>0&&r<ydt?aft(0,r,5,null,new nft(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=kdt(this,e))>=0&&e<this.size){var n=cft(this,e+=this._origin);return n&&n.array[e&bdt]}return t},t.prototype.set=function(e,t){return function(e,t,n){if((t=kdt(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?dft(e,t).set(0,n):dft(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,o={value:!1};t>=pft(e._capacity)?i=lft(i,e.__ownerID,0,t,n,o):r=lft(r,e.__ownerID,e._level,t,n,o);if(!o.value)return e;if(e.__ownerID)return e._root=r,e._tail=i,e.__hash=void 0,e.__altered=!0,e;return aft(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):sft()},t.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){dft(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},t.prototype.pop=function(){return dft(this,0,-1)},t.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){dft(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},t.prototype.shift=function(){return dft(this,1)},t.prototype.concat=function(){for(var t=arguments,n=[],i=0;i<arguments.length;i++){var r=t[i],o=e("string"!=typeof r&&ept(r)?r:[r]);0!==o.size&&n.push(o)}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 dft(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 Pdt(e,t,n)?this:dft(this,Edt(e,n),Cdt(t,n))},t.prototype.__iterator=function(e,t){var n=t?this.size:0,i=oft(this,t);return new Hdt((function(){var r=i();return r===rft?{value:void 0,done:!0}:Kdt(e,t?--n:n++,r)}))},t.prototype.__iterate=function(e,t){for(var n,i=t?this.size:0,r=oft(this,t);(n=r())!==rft&&!1!==e(n,t?--i:i++,this););return i},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?aft(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):0===this.size?sft():(this.__ownerID=e,this.__altered=!1,this)},t}(Qdt);eft.isList=Jht;var tft=eft.prototype;tft[Kht]=!0,tft.delete=tft.remove,tft.merge=tft.concat,tft.setIn=ght,tft.deleteIn=tft.removeIn=vht,tft.update=bht,tft.updateIn=Oht,tft.mergeIn=kht,tft.mergeDeepIn=Sht,tft.withMutations=Pht,tft.wasAltered=Fht,tft.asImmutable=Cht,tft["@@transducer/init"]=tft.asMutable=Eht,tft["@@transducer/step"]=function(e,t){return e.push(t)},tft["@@transducer/result"]=function(e){return e.asImmutable()};var nft=function(e,t){this.array=e,this.ownerID=t};nft.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var i=n>>>t&bdt;if(i>=this.array.length)return new nft([],e);var r,o=0===i;if(t>0){var a=this.array[i];if((r=a&&a.removeBefore(e,t-5,n))===a&&o)return this}if(o&&!r)return this;var s=uft(this,e);if(!o)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},nft.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var i,r=n-1>>>t&bdt;if(r>=this.array.length)return this;if(t>0){var o=this.array[r];if((i=o&&o.removeAfter(e,t-5,n))===o&&r===this.array.length-1)return this}var a=uft(this,e);return a.array.splice(r+1),i&&(a.array[r]=i),a};var ift,rft={};function oft(e,t){var n=e._origin,i=e._capacity,r=pft(i),o=e._tail;return a(e._root,e._level,0);function a(e,s,l){return 0===s?function(e,a){var s=a===r?o&&o.array:e&&e.array,l=a>n?0:n-a,u=i-a;u>ydt&&(u=ydt);return function(){if(l===u)return rft;var e=t?--u:l++;return s&&s[e]}}(e,l):function(e,r,o){var s,l=e&&e.array,u=o>n?0:n-o>>r,c=1+(i-o>>r);c>ydt&&(c=ydt);return function(){for(;;){if(s){var e=s();if(e!==rft)return e;s=null}if(u===c)return rft;var n=t?--c:u++;s=a(l&&l[n],r-5,o+(n<<r))}}}(e,s,l)}}function aft(e,t,n,i,r,o,a){var s=Object.create(tft);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=i,s._tail=r,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function sft(){return ift||(ift=aft(0,0,5))}function lft(e,t,n,i,r,o){var a,s=i>>>n&bdt,l=e&&s<e.array.length;if(!l&&void 0===r)return e;if(n>0){var u=e&&e.array[s],c=lft(u,t,n-5,i,r,o);return c===u?e:((a=uft(e,t)).array[s]=c,a)}return l&&e.array[s]===r?e:(o&&_dt(o),a=uft(e,t),void 0===r&&s===a.array.length-1?a.array.pop():a.array[s]=r,a)}function uft(e,t){return t&&e&&t===e.ownerID?e:new nft(e?e.array.slice():[],t)}function cft(e,t){if(t>=pft(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&bdt],i-=5;return n}}function dft(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new wdt,r=e._origin,o=e._capacity,a=r+t,s=void 0===n?o:n<0?o+n:r+n;if(a===r&&s===o)return e;if(a>=s)return e.clear();for(var l=e._level,u=e._root,c=0;a+c<0;)u=new nft(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=5);c&&(a+=c,r+=c,s+=c,o+=c);for(var d=pft(o),p=pft(s);p>=1<<l+5;)u=new nft(u&&u.array.length?[u]:[],i),l+=5;var h=e._tail,f=p<d?cft(e,s-1):p>d?new nft([],i):h;if(h&&p>d&&a<o&&h.array.length){for(var m=u=uft(u,i),g=l;g>5;g-=5){var v=d>>>g&bdt;m=m.array[v]=uft(m.array[v],i)}m.array[d>>>5&bdt]=h}if(s<o&&(f=f&&f.removeAfter(i,0,s)),a>=p)a-=p,s-=p,l=5,u=null,f=f&&f.removeBefore(i,0,a);else if(a>r||p<d){for(c=0;u;){var y=a>>>l&bdt;if(y!==p>>>l&bdt)break;y&&(c+=(1<<l)*y),l-=5,u=u.array[y]}u&&a>r&&(u=u.removeBefore(i,l,a-c)),u&&p<d&&(u=u.removeAfter(i,l,p-c)),c&&(a-=c,s-=c)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=l,e._root=u,e._tail=f,e.__hash=void 0,e.__altered=!0,e):aft(a,s,l,u,f)}function pft(e){return e<ydt?0:e-1>>>5<<5}var hft,fft=function(e){function t(e){return null==e?gft():Opt(e)?e:gft().withMutations((function(t){var n=Mdt(e);lht(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):gft()},t.prototype.set=function(e,t){return vft(this,e,t)},t.prototype.remove=function(e){return vft(this,e,Odt)},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?mft(t,n,e,this.__hash):0===this.size?gft():(this.__ownerID=e,this._map=t,this._list=n,this)},t}(Tht);function mft(e,t,n,i){var r=Object.create(fft.prototype);return r.size=e?e.size:0,r._map=e,r._list=t,r.__ownerID=n,r.__hash=i,r}function gft(){return hft||(hft=mft(Uht(),sft()))}function vft(e,t,n){var i,r,o=e._map,a=e._list,s=o.get(t),l=void 0!==s;if(n===Odt){if(!l)return e;a.size>=ydt&&a.size>=2*o.size?(r=a.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=o.remove(t),r=s===a.size-1?a.pop():a.set(s,void 0))}else if(l){if(n===a.get(s)[1])return e;i=o,r=a.set(s,[t,n])}else i=o.set(t,a.size),r=a.set(a.size,[t,n]);return e.__ownerID?(e.size=i.size,e._map=i,e._list=r,e.__hash=void 0,e):mft(i,r)}fft.isOrderedMap=Opt,fft.prototype[Wdt]=!0,fft.prototype.delete=fft.prototype.remove;var yft="@@__IMMUTABLE_STACK__@@";function bft(e){return Boolean(e&&e[yft])}var Oft=function(e){function t(e){return null==e?kft():bft(e)?e:kft().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=kdt(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):xft(t,n)},t.prototype.pushAll=function(t){if(0===(t=e(t)).size)return this;if(0===this.size&&bft(t))return t;lht(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):xft(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):kft()},t.prototype.slice=function(t,n){if(Pdt(t,n,this.size))return this;var i=Edt(t,this.size);if(Cdt(n,this.size)!==this.size)return e.prototype.slice.call(this,t,n);for(var r=this.size-i,o=this._head;i--;)o=o.next;return this.__ownerID?(this.size=r,this._head=o,this.__hash=void 0,this.__altered=!0,this):xft(r,o)},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?xft(this.size,this._head,e,this.__hash):0===this.size?kft():(this.__ownerID=e,this.__altered=!1,this)},t.prototype.__iterate=function(e,t){var n=this;if(t)return new cpt(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 cpt(this.toArray()).__iterator(e,t);var n=0,i=this._head;return new Hdt((function(){if(i){var t=i.value;return i=i.next,Kdt(e,n++,t)}return{value:void 0,done:!0}}))},t}(Qdt);Oft.isStack=bft;var _ft,wft=Oft.prototype;function xft(e,t,n,i){var r=Object.create(wft);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function kft(){return _ft||(_ft=xft(0))}wft[yft]=!0,wft.shift=wft.pop,wft.unshift=wft.push,wft.unshiftAll=wft.pushAll,wft.withMutations=Pht,wft.wasAltered=Fht,wft.asImmutable=Cht,wft["@@transducer/init"]=wft.asMutable=Eht,wft["@@transducer/step"]=function(e,t){return e.unshift(t)},wft["@@transducer/result"]=function(e){return e.asImmutable()};var Sft="@@__IMMUTABLE_SET__@@";function Pft(e){return Boolean(e&&e[Sft])}function Eft(e){return Pft(e)&&Xdt(e)}function Cft(e,t){if(e===t)return!0;if(!Adt(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||Ldt(e)!==Ldt(t)||zdt(e)!==zdt(t)||Xdt(e)!==Xdt(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!Rdt(e);if(Xdt(e)){var i=e.entries();return t.every((function(e,t){var r=i.next().value;return r&&wpt(r[1],e)&&(n||wpt(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 o=e;e=t,t=o}var a=!0,s=t.__iterate((function(t,i){if(n?!e.has(t):r?!wpt(t,e.get(i,Odt)):!wpt(e.get(i,Odt),t))return a=!1,!1}));return a&&e.size===s}function Fft(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 Tft(e){if(!e||"object"!=typeof e)return e;if(!Adt(e)){if(!cht(e))return e;e=apt(e)}if(Ldt(e)){var t={};return e.__iterate((function(e,n){t[n]=Tft(e)})),t}var n=[];return e.__iterate((function(e){n.push(Tft(e))})),n}var Dft=function(e){function t(t){return null==t?zft():Pft(t)&&!Xdt(t)?t:zft().withMutations((function(n){var i=e(t);lht(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(Mdt(e).keySeq())},t.intersect=function(e){return(e=jdt(e).toArray()).length?Ift.intersect.apply(t(e.pop()),e):zft()},t.union=function(e){return(e=jdt(e).toArray()).length?Ift.union.apply(t(e.pop()),e):zft()},t.prototype.toString=function(){return this.__toString("Set {","}")},t.prototype.has=function(e){return this._map.has(e)},t.prototype.add=function(e){return Lft(this,this._map.set(e,e))},t.prototype.remove=function(e){return Lft(this,this._map.remove(e))},t.prototype.clear=function(){return Lft(this,this._map.clear())},t.prototype.map=function(e,t){var n=this,i=[],r=[];return this.forEach((function(o){var a=e.call(t,o,o,n);a!==o&&(i.push(o),r.push(a))})),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 Kft(Zpt(this,e))},t.prototype.sortBy=function(e,t){return Kft(Zpt(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}(Ndt);Dft.isSet=Pft;var Aft,Ift=Dft.prototype;function Lft(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 $ft(e,t){var n=Object.create(Ift);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function zft(){return Aft||(Aft=$ft(Uht()))}Ift[Sft]=!0,Ift.delete=Ift.remove,Ift.merge=Ift.concat=Ift.union,Ift.withMutations=Pht,Ift.asImmutable=Cht,Ift["@@transducer/init"]=Ift.asMutable=Eht,Ift["@@transducer/step"]=function(e,t){return e.add(t)},Ift["@@transducer/result"]=function(e){return e.asImmutable()},Ift.__empty=zft,Ift.__make=$ft;var Rft,jft=function(e){function t(e,n,i){if(!(this instanceof t))return new t(e,n,i);if(sht(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(Rft)return Rft;Rft=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+kdt(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 Pdt(e,n,this.size)?this:(e=Edt(e,this.size),(n=Cdt(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,o=0;o!==n&&!1!==e(r,t?n-++o:o++,this);)r+=t?-i:i;return o},t.prototype.__iterator=function(e,t){var n=this.size,i=this._step,r=t?this._start+(n-1)*i:this._start,o=0;return new Hdt((function(){if(o===n)return{value:void 0,done:!0};var a=r;return r+=t?-i:i,Kdt(e,t?n-++o:o++,a)}))},t.prototype.equals=function(e){return e instanceof t?this._start===e._start&&this._end===e._end&&this._step===e._step:Cft(this,e)},t}(lpt);function Mft(e,t,n){for(var i=uht(t),r=0;r!==i.length;)if((e=pht(e,i[r++],Odt))===Odt)return n;return e}function Qft(){lht(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e}jdt.isIterable=Adt,jdt.isKeyed=Ldt,jdt.isIndexed=zdt,jdt.isAssociative=Rdt,jdt.isOrdered=Xdt,jdt.Iterator=Hdt,Fft(jdt,{toArray:function(){lht(this.size);var e=new Array(this.size||0),t=Ldt(this),n=0;return this.__iterate((function(i,r){e[n++]=t?[r,i]:i})),e},toIndexedSeq:function(){return new Mpt(this)},toJS:function(){return Tft(this)},toKeyedSeq:function(){return new jpt(this,!0)},toMap:function(){return Tht(this.toKeyedSeq())},toObject:Qft,toOrderedMap:function(){return fft(this.toKeyedSeq())},toOrderedSet:function(){return Kft(Ldt(this)?this.valueSeq():this)},toSet:function(){return Dft(Ldt(this)?this.valueSeq():this)},toSetSeq:function(){return new Qpt(this)},toSeq:function(){return zdt(this)?this.toIndexedSeq():Ldt(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Oft(Ldt(this)?this.valueSeq():this)},toList:function(){return eft(Ldt(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 eht(this,Vpt(this,e))},includes:function(e){return this.some((function(t){return wpt(t,e)}))},entries:function(){return this.__iterator(2)},every:function(e,t){lht(this.size);var n=!0;return this.__iterate((function(i,r,o){if(!e.call(t,i,r,o))return n=!1,!1})),n},filter:function(e,t){return eht(this,Gpt(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 lht(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){lht(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 eht(this,Bpt(this,e,t))},reduce:function(e,t,n){return qft(this,e,t,n,arguments.length<2,!1)},reduceRight:function(e,t,n){return qft(this,e,t,n,arguments.length<2,!0)},reverse:function(){return eht(this,qpt(this,!0))},slice:function(e,t){return eht(this,Wpt(this,e,t,!0))},some:function(e,t){return!this.every(Xft(e),t)},sort:function(e){return eht(this,Zpt(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 xdt(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return function(e,t,n){var i=Tht().asMutable();return e.__iterate((function(r,o){i.update(t.call(n,r,o,e),0,(function(e){return e+1}))})),i.asImmutable()}(this,e,t)},equals:function(e){return Cft(this,e)},entrySeq:function(){var e=this;if(e._cache)return new cpt(e._cache);var t=e.toSeq().map(Wft).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(Xft(e),t)},findEntry:function(e,t,n){var i=n;return this.__iterate((function(n,r,o){if(e.call(t,n,r,o))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(Sdt,null,e)},flatMap:function(e,t){return eht(this,function(e,t,n){var i=nht(e);return e.toSeq().map((function(r,o){return i(t.call(n,r,o,e))})).flatten(!0)}(this,e,t))},flatten:function(e){return eht(this,Ypt(this,e,!0))},fromEntrySeq:function(){return new Npt(this)},get:function(e,t){return this.find((function(t,n){return wpt(n,e)}),void 0,t)},getIn:function(e,t){return Mft(this,e,t)},groupBy:function(e,t){return function(e,t,n){var i=Ldt(e),r=(Xdt(e)?fft():Tht()).asMutable();e.__iterate((function(o,a){r.update(t.call(n,o,a,e),(function(e){return(e=e||[]).push(i?[a,o]:o),e}))}));var o=nht(e);return r.map((function(t){return eht(e,o(t))})).asImmutable()}(this,e,t)},has:function(e){return this.get(e,Odt)!==Odt},hasIn:function(e){return function(e,t){return Mft(e,t,Odt)!==Odt}(this,e)},isSubset:function(e){return e="function"==typeof e.includes?e:jdt(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:jdt(e)).isSubset(this)},keyOf:function(e){return this.findKey((function(t){return wpt(t,e)}))},keySeq:function(){return this.toSeq().map(Gft).toIndexedSeq()},last:function(e){return this.toSeq().reverse().first(e)},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return Hpt(this,e)},maxBy:function(e,t){return Hpt(this,t,e)},min:function(e){return Hpt(this,e?Vft(e):Zft)},minBy:function(e,t){return Hpt(this,t?Vft(t):Zft,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 eht(this,Xpt(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(Xft(e),t)},sortBy:function(e,t){return eht(this,Zpt(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 eht(this,function(e,t,n){var i=iht(e);return i.__iterateUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterate(i,r);var a=0;return e.__iterate((function(e,r,s){return t.call(n,e,r,s)&&++a&&i(e,r,o)})),a},i.__iteratorUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterator(i,r);var a=e.__iterator(2,r),s=!0;return new Hdt((function(){if(!s)return{value:void 0,done:!0};var e=a.next();if(e.done)return e;var r=e.value,l=r[0],u=r[1];return t.call(n,u,l,o)?2===i?e:Kdt(i,l,u,e):(s=!1,{value:void 0,done:!0})}))},i}(this,e,t))},takeUntil:function(e,t){return this.takeWhile(Xft(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=Xdt(e),n=Ldt(e),i=t?1:0,r=e.__iterate(n?t?function(e,t){i=31*i+Hft(Ppt(e),Ppt(t))|0}:function(e,t){i=i+Hft(Ppt(e),Ppt(t))|0}:t?function(e){i=31*i+Ppt(e)|0}:function(e){i=i+Ppt(e)|0});return function(e,t){return t=xpt(t,3432918353),t=xpt(t<<15|t>>>-15,461845907),t=xpt(t<<13|t>>>-13,5),t=xpt((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=kpt((t=xpt(t^t>>>13,3266489909))^t>>>16)}(r,i)}(this))}});var Nft=jdt.prototype;Nft[Ddt]=!0,Nft[Zdt]=Nft.values,Nft.toJSON=Nft.toArray,Nft.__toStringMapper=dht,Nft.inspect=Nft.toSource=function(){return this.toString()},Nft.chain=Nft.flatMap,Nft.contains=Nft.includes,Fft(Mdt,{flip:function(){return eht(this,Upt(this))},mapEntries:function(e,t){var n=this,i=0;return eht(this,this.toSeq().map((function(r,o){return e.call(t,[o,r],i++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return eht(this,this.toSeq().flip().map((function(i,r){return e.call(t,i,r,n)})).flip())}});var Uft=Mdt.prototype;Uft[Idt]=!0,Uft[Zdt]=Nft.entries,Uft.toJSON=Qft,Uft.__toStringMapper=function(e,t){return dht(t)+": "+dht(e)},Fft(Qdt,{toKeyedSeq:function(){return new jpt(this,!1)},filter:function(e,t){return eht(this,Gpt(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 eht(this,qpt(this,!1))},slice:function(e,t){return eht(this,Wpt(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=Edt(e,e<0?this.count():this.size);var i=this.slice(0,e);return eht(this,1===n?i:i.concat(aht(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 eht(this,Ypt(this,e,!1))},get:function(e,t){return(e=kdt(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=kdt(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return eht(this,function(e,t){var n=iht(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,i){var r=this,o=0;return e.__iterate((function(e){return(!o||!1!==n(t,o++,r))&&!1!==n(e,o++,r)}),i),o},n.__iteratorUncached=function(n,i){var r,o=e.__iterator(1,i),a=0;return new Hdt((function(){return(!r||a%2)&&(r=o.next()).done?r:a%2?Kdt(n,a++,t):Kdt(n,a++,r.value,r)}))},n}(this,e))},interleave:function(){var e=[this].concat(aht(arguments)),t=Jpt(this.toSeq(),lpt.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),eht(this,n)},keySeq:function(){return jft(0,this.size)},last:function(e){return this.get(-1,e)},skipWhile:function(e,t){return eht(this,Xpt(this,e,t,!1))},zip:function(){var e=[this].concat(aht(arguments));return eht(this,Jpt(this,Yft,e))},zipAll:function(){var e=[this].concat(aht(arguments));return eht(this,Jpt(this,Yft,e,!0))},zipWith:function(e){var t=aht(arguments);return t[0]=this,eht(this,Jpt(this,e,t))}});var Bft=Qdt.prototype;function qft(e,t,n,i,r,o){return lht(e.size),e.__iterate((function(e,o,a){r?(r=!1,n=e):n=t.call(i,n,e,o,a)}),o),n}function Gft(e,t){return t}function Wft(e,t){return[t,e]}function Xft(e){return function(){return!e.apply(this,arguments)}}function Vft(e){return function(){return-e.apply(this,arguments)}}function Yft(){return aht(arguments)}function Zft(e,t){return e<t?1:e>t?-1:0}function Hft(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}Bft[$dt]=!0,Bft[Wdt]=!0,Fft(Ndt,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),Ndt.prototype.has=Nft.includes,Ndt.prototype.contains=Ndt.prototype.includes,Fft(spt,Mdt.prototype),Fft(lpt,Qdt.prototype),Fft(upt,Ndt.prototype);var Kft=function(e){function t(e){return null==e?nmt():Eft(e)?e:nmt().withMutations((function(t){var n=Ndt(e);lht(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(Mdt(e).keySeq())},t.prototype.toString=function(){return this.__toString("OrderedSet {","}")},t}(Dft);Kft.isOrderedSet=Eft;var Jft,emt=Kft.prototype;function tmt(e,t){var n=Object.create(emt);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function nmt(){return Jft||(Jft=tmt(gft()))}emt[Wdt]=!0,emt.zip=Bft.zip,emt.zipWith=Bft.zipWith,emt.__empty=nmt,emt.__make=tmt;var imt={exports:{}};
254
254
  /*!
255
255
  Copyright (c) 2015 Jed Watson.
256
256
  Based on code that is Copyright 2013-2015, Facebook, Inc.